]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
9eab00a653e256add185d8db99eff81d2b49036c
[lyx.git] / src / ChangeLog
1
2 2004-02-25  André Pönitz  <poenitz@gmx.net>
3
4         * text3.C:
5         * cursor.[Ch]: move some mathed specific code to mathed
6
7 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
8
9         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
10         use_tempdir in preferences
11         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
12         tempfile creation
13         * lyx_main.C: ensure that tempdir is valid
14         * lyxlex.h: correct typo
15         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
16         * paragraph.[Ch] (isMultiLingual): make const
17         * cursor.[Ch] (openable): make const
18
19 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
20
21         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
22
23 2004-02-20  André Pönitz  <poenitz@gmx.net>
24
25         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
26
27         * cursor.[Ch]: prepare for localized getStatus()
28
29         * lyxtext.h:
30         * tabular.C:
31         * text.C:
32         * text2.C:
33         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
34
35
36 2004-02-20  André Pönitz  <poenitz@gmx.net>
37
38         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
39
40 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
41
42         * text2.C (setCursorFromCoordinates): switch to absolute coords
43         (cursorUp): adjust
44         (cursorDown): adjust
45         * text3.C (dispatch): adjust
46
47 2004-02-16  André Pönitz  <poenitz@gmx.net>
48
49         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
50           insets/ChangeLog)
51
52         * cursor_slice.[Ch]: remove unneeded acessor function
53
54         * lyxtext.h: rename rtl() to isRTL()
55
56         * rowpainter.C:
57         * tabular.C:
58         * text.C:
59         * text2.C:
60         * text3.C: adjust
61
62
63 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
64
65         * rowpainter.C (paintSelection): coord fix
66
67 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
68
69         * Spacing.C: compile fix
70
71 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
72
73         * cursor.C (dispatch): restore current_ before returning
74
75 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
76
77         * text2.C (cursorUp, cursorDown): fix coords
78         (moveUp): fix crash
79
80 2004-02-12  André Pönitz  <poenitz@gmx.net>
81
82         * lyxtext.h:
83         * text.C:
84         * text2.C:
85         * text3.C: add LCursor & parameter to most cursor movement functions
86           remove usage of LyXText::cursorRow() and cursorPar()
87
88         * cursor.[Ch]: add textRow() needed members
89
90         * BufferView.C:
91         * BufferView_pimpl.C:
92         * paragraph.[Ch]:
93         * BufferView.C:
94         * BufferView_pimpl.C: adjust
95
96 2004-02-11  André Pönitz  <poenitz@gmx.net>
97
98         * lyxfunc.C:
99         * BufferView.[Ch]:
100         * BufferView_pimpl.C: shift undo/redo handling
101
102         * cursor.[Ch]: fix mathed crash
103
104         * lyxfind.C:
105         * lyxtext.h: move selectionAsText to LCursor
106
107         * output_latex.C:
108         * paragraph.C:
109         * text.C:
110         * text2.C:
111         * text3.C: adjust
112
113         * rowpainter.C: fix excessive drawing
114
115 2004-02-06  André Pönitz  <poenitz@gmx.net>
116
117         * BufferView.[Ch]:
118         * BufferView_pimpl.[Ch]:
119         * text3.C: move some text specific LFUN handling
120
121 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
122
123         * text3.C (checkInsetHit): adjust coords
124         * text2.C (getColumnNearX): adjust coords
125         (edit): adjust coords
126         * text.C (getRowNearY): add two asserts
127
128 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
129
130         * converter.C:
131         * format.C: add using std::distance to compile on gcc 2.95/stlport
132
133 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
134
135         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
136
137 2004-02-04  André Pönitz  <poenitz@gmx.net>
138
139         * BufferView.[Ch] (insertInset):
140         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value 
141
142         * text2.C:
143         * text3.C: adjust
144
145 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
146
147         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch 
148         on the default clause of the switch
149         * lyxfunc.C (dispatch): call BufferView::dispatch if the event 
150         wasn't catched by LCursor::dispatch
151
152 2004-02-03  André Pönitz  <poenitz@gmx.net>
153
154         * BufferView.C:
155         * cursor.[Ch]: some additional asserts
156
157         * undo.[Ch]: remove LyXText dependency in interface
158
159         * lyxfunc.C: adjust
160
161         * lyxtext.h (firstPar, lastPar): remove dead functions 
162
163         * text.C:
164         * text2.C:
165         * text3.C:
166         * paragraph.[Ch]: adjust
167
168 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
169
170         * lyxfind.C (find): fix argument order in call to ::find
171
172 2004-02-02  André Pönitz  <poenitz@gmx.net>
173
174         * cursor.[Ch]: remove direct access to anchor
175
176         * text.C: remove findText() hack
177
178 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
179
180         * iterators.[Ch] (lockPath): remove in favour of...
181         * BufferView.[Ch] (setCursor): this addition
182         * BufferView.C (putSelectionAt): adjust
183         * undo.C (performUndoOrRedo): adjust
184         * lyxfunc.C (dispatch): adjust
185
186 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
187
188         * iterators.C (lockPath): add a missing slice
189         * undo.C (performUndoOrRedo): remove redundant positioning code
190
191 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
192
193         * vc-backend.C (scanMaster): ";" -> ';'
194
195 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
196
197         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
198         std::binary_function
199
200         * lyxtextclass.C (compare_name): rename to...
201         (LayoutNamesEqual): ...this
202
203         * lyxlex_pimpl.C (compare_tags): inherit from
204         std::binary_function, put back into anon namespace
205
206         * lyxfind.C (MatchString): inherig from std::binary_function
207         (findChange): use empty() istead of !size()
208
209         * format.C (FormatNamesEqual): new functor
210         (getFormat): use it
211         (getNumber): use it
212         (add): use it
213         (erase): use it
214         (setViewer): use it
215
216         * converter.C (compare_Converter): rename to...
217         (ConverterEqual): ...this, and fixup a bit.
218         (getConverter): use it, and make function const
219         (getNumber): use it, and make function const
220         (add): use it
221         (erase): use it:
222
223         * bufferlist.C: add using boost::bind
224
225         * MenuBackend.C (MenuNamesEqual): new functor
226         (hasMenu): use it, and make function const
227         (hasSubmenu): use nested bind to get rid of compare_memfun.
228
229 2004-01-30  André Pönitz  <poenitz@gmx.net>
230
231         * BufferView_pimpl.C:
232         * cursor.C:
233         * cursor.h:
234         * cursor_slice.[Ch]:
235         * lyxfunc.C:
236         * lyxtext.h:
237         * paragraph_funcs.C:
238         * paragraph_funcs.h:
239         * rowpainter.C:
240         * text.C:
241         * text2.C:
242         * text3.C: move some of the edit(x,y) handling to the insets
243         some coordinate changes.
244
245 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
246
247         * text.C: add using statements for std::advance and std::distance
248
249         * paragraph.C: add using statement for std::distance
250
251         * lyxfind.C: add using statement for std::advance
252
253         * cursor.C (region): remove std:: from swap
254         (openable): use nucleus in stead of operator->
255
256         * BufferView.C: add using statements for std::distance and std::swap
257
258 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
259
260         * iterators.C: Remove the pimple, move the needed structures to
261         the header file. Create accessor for the positions stack.
262         (asPosIterator): remove function
263
264         * PosIterator.C (PosIterator): move constructors to top of file
265         (PosIterator): reimplement the constructor taking a ParIterator in
266         terms of setFrom.
267         (setFrom): new function
268         (operator!=): inline it
269
270 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
271
272         * lyxfind.C (replaceAll): use std::advance
273
274         * iterators.h: inherit from std::iterator.
275
276         * PosIterator.C (advance, distance): remove
277         * PosIterator.h: interit from std::iterator.
278
279 2004-01-26  André Pönitz  <poenitz@gmx.net>
280
281         * BufferView.[Ch]:
282         * BufferView_pimpl.[Ch]:
283         * InsetList.[Ch]:
284         * PosIterator.[Ch]:
285         * buffer.h:
286         * bufferview_funcs.C:
287         * cursor.[Ch]:
288         * cursor_slice.h:
289         * factory.[Ch]:
290         * iterators.[Ch]:
291         * lyxfind.C:
292         * lyxfunc.C:
293         * lyxtext.h:
294         * output_docbook.C:
295         * output_latex.C:
296         * output_linuxdoc.C:
297         * output_plaintext.C:
298         * paragraph.[Ch]:
299         * paragraph_funcs.[Ch]:
300         * paragraph_pimpl.[Ch]:
301         * rowpainter.C:
302         * tabular.C:
303         * tabular.h:
304         * text.C:
305         * text2.C:
306         * text3.C: more IU:  dumps most of the rest of the mathcursor
307     implementation into cursor.[Ch]; "globalize" a bit of it.
308
309 2004-01-25  Angus Leeming  <leeming@lyx.org>
310
311         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
312
313 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
314
315         * LaTeXFeatures.h: add nice_ and nice() const
316         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
317
318 2004-01-20  André Pönitz  <poenitz@gmx.net>
319
320         * BufferView.[Ch]:
321         * BufferView_pimpl.C:
322         * PosIterator.C:
323         * bufferview_funcs.C:
324         * cursor.[Ch]:
325         * cursor_slice.[Ch]:
326         * factory.C:
327         * iterators.C:
328         * lyx_cb.C:
329         * lyxfind.C:
330         * lyxfunc.C:
331         * lyxtext.h:
332         * rowpainter.C:
333         * text.C:
334         * text2.C:
335         * text3.C:
336         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
337           LCursor and mathcursor parts to LCursor and InsetBase.
338
339 2004-01-15  André Pönitz  <poenitz@gmx.net>
340
341         * cursor_slice.[Ch]: add a few covienience functions
342
343         * funcrequest.[Ch]: remove BufferView * member
344
345         * BufferView_pimpl.C:
346         * cursor.C:
347         * factory.[Ch]:
348         * lyxfind.[Ch]:
349         * lyxfunc.C:
350         * lyxtext.h:
351         * text3.C:
352         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
353
354 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
355
356         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
357         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
358
359 2004-01-13  André Pönitz  <poenitz@gmx.net>
360
361         * textcursor.[Ch]:
362         * lyxtext.h: hide cursor and selection anchor behind accessor function
363
364         * BufferView.C:
365         * BufferView_pimpl.[Ch]:
366         * PosIterator.C:
367         * bufferview_funcs.C:
368         * cursor.h:
369         * lyxfind.C:
370         * lyxfunc.C:
371         * text.C:
372         * text2.C:
373         * text3.C:
374         * undo.C: adjust
375
376         * cursor.h:
377         * cursor_slice.[Ch]: some integer type changes for inset unification
378
379         * lyxcursor.[hC]: remove, it's CursorSlice now.
380
381         * Makefile.am:
382         * BufferView_pimpl.[Ch]:
383         * bufferview_funcs.C:
384         * cursor_slice.C:
385         * lyxtext.h:
386         * text.C:
387         * text2.C:
388         * text3.C:
389         * textcursor.[Ch]: adjust
390
391 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
392
393         * text2.C (undoSpan): add and use
394         * text.C (breakParagraph): use undoSpan (fix bug 578)
395         * lyxtext.h: adjust
396
397 2004-01-08  Angus Leeming  <leeming@lyx.org>
398
399         * BufferView_pimpl.C (MenuInsertLyXFile):
400         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
401         * lyxfunc.C (menuNew, open, doImport):
402         FileFilterList change to the FileDialog open and save functions.
403
404 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
405
406         * ShareContainer.h: make isEqual and isUnique adaptable
407
408         * CutAndPaste.C: make resetOwnerAndChanges adaptable
409
410 2004-01-07  Angus Leeming  <leeming@lyx.org>
411
412         * LyXAction.C:
413         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
414
415         * BufferView_pimpl.C (dispatch): act on these LFUNs.
416
417         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
418         functions replacing find, replace and replaceAll.
419
420         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
421         LFUN_WORDFIND(FORWARD|BACKWARD).
422
423 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
424
425         * text.C (breakParagraph): remove an outdated #warning
426
427 2004-01-07  André Pönitz  <poenitz@gmx.net>
428
429         * lyxfind.C: somewhat clearer logic
430
431         * text.C: prevent crash in cursorX on unitialized row cache
432
433 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
434
435         * lyxcursor.[Ch] (operator>): add
436         * textcursor.C (selStart, selEnd): use std::min and std::max
437
438 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
439
440         * Chktex.C: include boost/format.hpp
441
442 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
443
444         * InsetList.C: replace functor MathcIt with adaptable functor
445         InsetTablePosLess
446         (insetIterator): modify accordingly
447
448         * BranchList.h: move the BranchNamesEqual functor here from...
449         * BranchList.C: ... to here
450
451         * BranchList.C: new BranchListEqual fuctor, use it. Remove
452         SameName and match.
453         (add): replace a finding loop with std::find_if.
454
455 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
456
457         * output_docbook.C: moving LatexParam functionality into
458         .layout files
459
460 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
461
462         * buffer.C: increment format to 229.
463
464 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
465
466         * LaTeXFeatures.C:
467         * lyx_sty.[Ch]: remove minipageindent_def
468
469         * LyXAction.C:
470         * factory.C:
471         * lfuns.h:
472         * lyxfunc.C:
473         * text3.C: remove LFUN_INSET_MINIPAGE
474
475 2003-12-28  Angus Leeming  <leeming@lyx.org>
476
477         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
478
479 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
480
481         * text2.C (setParagraph): fix off-by-one crash
482
483 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
484
485         * output_docbook.C: header stuff for AGU
486
487 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
488
489         * text2.C (redoCursor): remove
490         * text.C:
491         * text3.C:
492         * BufferView_pimpl.C: remove calls to redoCursor and
493         setCursor(cursor.par(), cursor.pos()) all around
494
495 2003-12-15  Angus Leeming  <leeming@lyx.org>
496
497         * buffer.C: up the format to 228.
498
499 2003-12-15  André Pönitz  <poenitz@gmx.net>
500
501         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
502         slices
503
504         * Makefile.am:
505
506         * BufferView_pimpl.C:
507         * cursor.[Ch]:
508         * lyxcursor.[Ch]:
509         * rowpainter.[Ch]:
510         * lyxtext.h:
511         * text.C:
512         * text2.C:
513         * text3.C: adjust
514
515 2003-12-15  Angus Leeming  <leeming@lyx.org>
516
517         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
518         than getFromGUIName to manipulate the color.
519
520 2003-12-14  Angus Leeming  <leeming@lyx.org>
521
522         * BranchList.[Ch]: minimize the API.
523         (Branch::getBranch, getColor): now return a 'const &'.
524         (Branch::setSelected) now returns a bool set to true if the
525         selection status changes.
526         (BranchList::clear, size, getColor, setColor, setSelected,
527         allBranches, allSelected, separator): removed.
528         (BranchList::find): new functions, returning the Branch with
529         the given name.
530         (BranchList::add, remove): return a bool indicating that
531         the operation was successful.
532
533         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
534         new InsetBranch::isBranchSlected member function.
535
536         * LColor.[Ch]: mimimize the API.
537         (fill): renamed as addColor and made private.
538         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
539         versions of these functions taking a string arg have been removed.
540
541         * bufferparams.C (readToken):
542         * lyxfunc.C (dispatch):
543         * lyxrc.C (read): changes due to the altered BranchList and
544         LColor APIs.
545
546         * factory.C (createInset, readInset): changes due to altered
547         InsetBranch c-tor.
548
549 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
550
551         * factory.C:
552         * lyxfunc.C: remove insetminipage. "minipage-insert"
553         now produces a frameless minipage box inset.
554
555 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
556
557         * textcursor.[Ch] (selStart,selEnd): add new methods
558         remove selection::start, end, use LyXCursor::operator<
559         * lyxcursor.[Ch] (operator<): add
560         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
561         * BufferView.[Ch] (unsetXSel): add
562         * text2.C (clearSelection): use unsetXSel,adjust
563         * text.C: adjust
564         * text3.C: adjust
565         * rowpainter.C: adjust
566         * bufferview_funcs.C (put_selection_at): adjust
567
568 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
569
570         * BufferView_pimpl.C: small coord. correction
571
572 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
573
574         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
575         dragging over the splash screen.
576
577 2003-12-11  Angus Leeming  <leeming@lyx.org>
578
579         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
580         as it is now handled in LyXText::dispatch.
581
582         * text3.C (doInsertInset): remove a level of nesting.
583
584 2003-12-11  Angus Leeming  <leeming@lyx.org>
585
586         * factory.C (createInset): changes due to the changed interface to
587         InsetCommandMailer::string2params.
588
589 2003-12-10  Angus Leeming  <leeming@lyx.org>
590
591         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
592         'dialog-show-new-inset <inset name>'
593
594 2003-12-10  Angus Leeming  <leeming@lyx.org>
595
596         * buffer.C: up the format to 227.
597
598         * factory.C: the box inset is now identified simply by 'Box'.
599
600 2003-12-10  Angus Leeming  <leeming@lyx.org>
601
602         * buffer.C: up the format to 226.
603
604         * factory.C: the note inset is now identified simply by 'Note'.
605
606 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
607
608         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
609         when a pit is enough. Standarize a couple of loops.
610
611 2003-12-05  Angus Leeming  <leeming@lyx.org>
612
613         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
614         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
615         data to the re-worked "log" dialog.
616
617 2003-12-03  André Pönitz  <poenitz@gmx.net>
618
619         * PosIterator.C:
620         * iterators.C:
621         * lyxtext.h:
622         * output_latex.C:
623         * paragraph_funcs.C:
624         * text.C:
625         * text2.C: use Inset::getText instead of Inset::getParagraph
626
627 2003-12-03  André Pönitz  <poenitz@gmx.net>
628
629         * buffer.[Ch]:
630         * lyxtext.h:
631         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
632         InsetText::read() as LyXText::read()
633
634 2003-12-02  Angus Leeming  <leeming@lyx.org>
635
636         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
637         type. Add a comment in the implementation that the function uses
638         the stream's bad() function rather than fail() as the std::streams
639         would do.
640
641 2003-12-02  André Pönitz  <poenitz@gmx.net>
642
643         * lyxlex.[Ch]: make interface more similar to std::stream
644
645         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
646
647 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
648
649         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
650
651 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
652
653         * vspace.[Ch]: remove VSpace::NONE
654
655 2003-12-01  André Pönitz  <poenitz@gmx.net>
656
657         * buffer.[Ch]:
658         * lyxtext.h: move ParagraphList member to LyXText
659         rename LyXText::ownerParagraphs to LyXText::paragraph
660
661         * CutAndPaste.C:
662         * bufferview_funcs.C:
663         * iterators.[Ch]:
664         * lyx_cb.C:
665         * paragraph.C:
666         * rowpainter.C:
667         * tabular.C:
668         * text.C:
669         * text2.C:
670         * text3.C: adjust
671
672         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
673
674         * undo.C: fix cursor positioning
675
676 2003-12-01  John Levon  <levon@movementarian.org>
677
678         * BufferView_pimpl.C: fix a crash on exit with
679         a buffer open
680
681 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
682
683         * BranchList.C: fix setSelected() method.
684
685 2003-11-28  André Pönitz  <poenitz@gmx.net>
686
687         * ParagraphParameters.[Ch]:
688         * ParameterStruct.h: remove space above/below from Paragraph to
689          InsetVSpace
690
691         * BufferView_pimpl.C:
692         * factory.C:
693         * lyxfunc.C:
694         * lyxtext.h:
695         * output_latex.C:
696         * paragraph.C:
697         * paragraph_funcs.C:
698         * rowpainter.[Ch]:
699         * text.C:
700         * text2.C:
701         * text3.C: adjust
702
703 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
704
705         * factory.C: Syntax change for CharStyles
706
707 2003-11-28  André Pönitz  <poenitz@gmx.net>
708
709         * BufferView.[Ch]:
710         * BufferView.[Ch]:
711         * buffer.[Ch]:
712         * buffer.[Ch]: move LyXText member
713
714 2003-11-28  André Pönitz  <poenitz@gmx.net>
715
716         * BufferView.[Ch]: make LyXText * text a private member
717
718         * BufferView_pimpl.C:
719         * cursor.C:
720         * iterators.C:
721         * lyx_cb.C:
722         * lyxfind.C:
723         * lyxtext.h:
724         * rowpainter.[Ch]:
725         * text.C:
726         * text2.C:
727         * undo.C: adjust
728
729         * output_plaintext.C: cleanup
730
731 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
732
733         * buffer.C:
734         * lyxtextclass.[Ch]: parametrize SGML document header
735
736 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
737
738         * converter.[Ch]:
739         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
740         getFlavor().
741
742 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
743
744         * text2.C (setFont): rework using PosIterator (no more recursive)
745         (setCharFont): no more needed
746         (setLayout): no more selection cursors fiddling (done by redoCursor)
747         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
748         destroy remaining ones)
749
750 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
751
752         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
753         * lyxtext.h: ditto
754         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
755         selection cursors
756         * lyxfunc.C: adjust
757         * text3.C: adjust + re-allow multi par depth changes
758         * textcursor.C: simplify a bit
759
760 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
761
762         * src/buffer.C:
763         * src/lyxlayout.C:
764         * src/lyxlayout.h:
765         * src/lyxtext.h:
766         * src/output_docbook.C:
767         * src/output_latex.C:
768         * src/paragraph.C:
769         * src/paragraph.h:
770         * src/sgml.C:
771         * src/sgml.h:
772         * src/text2.C: Introducing a number of tags parametrizing various
773         XML formats that we may want to support
774
775 2003-11-25  André Pönitz  <poenitz@gmx.net>
776
777         * InsetList.[Ch] (begein, end): inline as suggested by profiler
778
779         * lyxtext.h (leftMargin/rightMargin): simplify interface
780
781         * rowpainter.C:
782         * text.C:
783         * text2.C:
784         * text3.C: adjust
785
786 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
787
788         * lyxfunc.C (dispatch): propogate the bibtex databases from the
789         master file to any child files. Fixes bug 546.
790
791 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
792
793         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
794
795 2003-11-24  André Pönitz  <poenitz@gmx.net>
796
797         * rowpainter.C: simplification
798
799         * text2.C (updateCounters): remove call to redoParagraph on
800         changed labels as this is far too expensive.
801
802 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
803
804         * converter.C (convert): fix a crash: this function gets
805         called with buffer == 0 from importer code.
806
807 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
808
809         * text3.C (cursorPrevious): make sure that we do not compare
810         iterators form different containers.
811         (cursorNext): ditto
812
813         * rowpainter.C (paintSelection): make sure that we do not compare
814         iterators from different containers.
815
816         * text3.C (dispatch): [PRIOR] make sure that we do not compare
817         iterators from different ParagraphList containers.
818         [NEXT] ditto
819
820         * text2.C (LyXText): change order of initialization slightly
821         (operator=): new function. copy all variables except cache_par_
822         (moveUp): make sure that we do not compare iterators from
823         different ParagraphList constainers.
824         (moveDown): ditto
825
826         * text.C (firstPar): new function
827         (lastPar): new function
828         (endPar): new function
829
830         * lyxtext.h: move things around and group public functions, public
831         variables, private functions, private variables
832
833 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
834
835         * factory.C: change call to InsetERT constructor to avoid
836         additional invocation of method status
837         * text2.C (toggleInset): remove redundant update() call
838         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
839         instead of a Bufferview pointer
840
841 2003-11-21  André Pönitz  <poenitz@gmx.net>
842
843         * rowpainter.C: simplification
844
845 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
846
847         * text3.C (dispatch): make possible to extend a word/row selection
848         with the mouse
849
850 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
851
852         * lyxtext.h: x0_,y0_ -> xo_,yo_
853         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
854         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
855         * rowpainter.C (paintRows): paint full paragraphs
856
857 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
858
859         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
860         screen coordinates)
861
862 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
863
864         * lyxtext.h: add x0_, y0_
865         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
866         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
867
868 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
869
870         * text2.C (setCursorIntern): move the x_target update here *
871         * text3.C: change some bv() to true/false in calls to
872         cursorUp/Down/Right/Left
873         * cursor.C: use helper function.
874
875 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
876
877         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
878         * paragraph_funcs.[Ch]: correct comment
879         * rowpainter.C: do not paint selections away from bv->cursor()
880         Fix a long standing selection painting bug.
881         * text3.C: generalize mouse-selection code to LyXTexts other that
882         top one
883         * textcursor.C: do not use y coords if we can use par offsets
884
885 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
886
887         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
888         cursor position after e.g. inset insert)
889
890 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
891
892         * lyxfind.C (replace): adjust to locking removal + some
893         code simplification
894
895 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
896
897         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
898         of the path
899
900 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
901
902         * lyxlayout.[Ch]:
903         * output_docbook.C: XML sanitation: new layout
904         parameters InnerTag and CommandDepth
905
906 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
907
908         * BufferView_pimpl.C:
909         * factory.C:
910         * text3.C: Fix the insertion and modification of button-style
911         insets
912
913 2003-11-13  André Pönitz  <poenitz@gmx.net>
914
915         * InsetList.[Ch]: remove deleteLyXText
916
917         * paragraph.[Ch]: cache beginOfBody position
918
919         * Bidi.C:
920         * text.C:
921         * text2.C:
922         * text3.C: remove superfluous update() calls
923
924         * vspace.C: cleanup
925
926 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
927
928         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
929         * BufferView.C (fitLockedInsetCursor): remove
930         * cursor.[Ch] (getDim): add
931         * text.C (getRowNearY): add faster version
932         * text3.C: remove some update calls
933
934 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
935
936         * LaTeXFeatures.C:
937         * LyXAction.C:
938         * MenuBackend.C:
939         * MenuBackend.h:
940         * dispatchresult.h:
941         * factory.C:
942         * lfuns.h:
943         * lyxfunc.C:
944         * lyxtextclass.C:
945         * lyxtextclass.h:
946         * text3.C: The Character Style /XML short element patch.
947
948 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
949
950         * text3.C:
951         * factory.C: Small step to solving 'unable to insert some insets'
952         problem
953
954 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
955
956         * cursor.[Ch] (updatePos): new function for updating the y
957         position of the tip inset
958         * bufferview_funcs.C (put_selection_at):
959         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
960
961 2003-11-11  André Pönitz  <poenitz@gmx.net>
962
963         * text.C: remove big comment on invalid Paragraph pointers as it is
964         not valid anymore
965
966 2003-11-11  André Pönitz  <poenitz@gmx.net>
967
968         * text_funcs.[Ch]: merge with ...
969
970         * text.C: ... this
971
972         * lyxtext.h:
973         * text2.C:
974         * text3.C: adjust
975
976         * Makefile.am: remove text_funcs.[Ch]
977
978 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
979
980         * cursor.C (getPos): return absolute cached y coord
981
982         * BufferView_pimpl.C (fitCursor): new simplistic code
983         (workAreaDispatch): add a fitCursor call
984
985 2003-11-10  André Pönitz  <poenitz@gmx.net>
986
987         * BufferView.[Ch]:
988         * BufferView_pimpl.[Ch]: merge update() and updateInset()
989
990 2003-11-10  André Pönitz  <poenitz@gmx.net>
991
992         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
993         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
994         indicate that the cursor needs to leave an inset
995
996         * lyxtext.h: remove inset locking
997
998         * cursor.[Ch]: re-implement functionality provided by inset locking
999
1000         * BufferView.[Ch]:
1001         * BufferView_pimpl.[Ch]:
1002         * LyXAction.C:
1003         * bufferview_funcs.[Ch]:
1004         * factory.C:
1005         * funcrequest.[Ch]:
1006         * iterators.C:
1007         * lyx_cb.C:
1008         * lyxfind.C:
1009         * lyxfunc.C:
1010         * text.C:
1011         * text2.C:
1012         * text3.C:
1013         * undo.C: adjust
1014
1015 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
1016
1017         * PosIterator.[Ch]: replace the stack with a vector, add inset
1018         accesor
1019         * iterators.[C]: adjust
1020
1021 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1022
1023         * lyxfind.C (replaceAll): mark the buffer dirty if something was
1024         replaced
1025         * paragraph_funcs.C (readParToken): put the correct id in the
1026         error item, not the id of the top paragraph
1027
1028 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1029
1030         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1031         * bufferview_funcs.C (put_selection_at): use the above
1032
1033 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1034
1035         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1036
1037 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1038
1039         * output_linuxdoc.h:
1040         * output_plaintext.h:
1041         * output.h:
1042         * output_docbook.h: add #include statements
1043
1044 2003-11-05  José Matos  <jamatos@lyx.org>
1045
1046         * output_docbook.[Ch]:
1047         * output_latex.[Ch]:
1048         * output_linuxdoc.[Ch]:
1049         * output_plaintext.[Ch]: New files for output formats.
1050         * output.[Ch]: New file for helper functions.
1051
1052         * buffer.[Ch]:
1053         * paragraph_funcs.[Ch]: output functions moved to new files.
1054
1055         * outputparams.h: rename of latexrunparams.h
1056
1057         * LaTeX.[Ch]:
1058         * buffer.[Ch]:
1059         * bufferlist.[Ch]:
1060         * converter.[Ch]:
1061         * exporter.C:
1062         * paragraph.[Ch]:
1063         * paragraph_funcs.[Ch]:
1064         * paragraph_pimpl.[Ch]:
1065         * tabular.[Ch]: rename ascii to plaintext
1066         and LatexRunParams to OutputParams.
1067
1068 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1069
1070         * iterators.[Ch] (text): require bv argument
1071         * undo.C (recordUndo):
1072         * lyxfunc.C (dispatch):
1073         * bufferview_funcs.C (put_selection_at): adjust
1074
1075 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
1076
1077         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1078
1079 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1080
1081         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1082         nestings
1083
1084 2003-11-04  André Pönitz  <poenitz@gmx.net>
1085
1086         * cursor.[Ch]: restructure
1087
1088         * BufferView.[Ch]:
1089         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1090
1091         * iterators.[Ch] (asCursor): remove
1092
1093         * lfuns.h: remove LFUN_INSET_EDIT
1094
1095         * lyxfunc.C:
1096         * tabular.C:
1097         * text.C:
1098         * text2.C:
1099         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1100
1101 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1102
1103         * lyxfind.[Ch]: complete overhaul
1104         * BufferView_pimpl.C:
1105         * lyxfunc.C: adjust
1106         * paragraph.[Ch] (insert): add
1107
1108 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1109
1110         * BufferView.[Ch]:
1111         * lyxtext.h:
1112         * text.C: remove dead spellcheck code
1113
1114 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1115
1116         * dispatchresult.h: add a val setter
1117
1118         * cursor.C (dispatch): use a tempvar for data_[i]
1119
1120 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1121
1122         * PosIterator.[Ch]: compile fix
1123
1124 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1125
1126         * text.C (cursorPar): deactivate the cursor cache
1127
1128 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1129
1130         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1131
1132 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1133
1134         * text3.C (dispatch): adjust for new DisptchResult semantics.
1135
1136         * lyxfunc.C (dispatch): handle update when return from
1137         Cursor::dispatch, adjust for new DispatchResult semantics.
1138
1139         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1140         DispatchResult(true) mean to not update. Add class functions for
1141         setting dispatched and update, as well as reading.
1142
1143         * cursor.C (dispatch): don't handle update here
1144
1145 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1146
1147         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1148         * trans_mgr.C: adjust
1149
1150         * paragraph_funcs.C (readParToken): exception safety
1151
1152         * lyxvc.h: store the vcs pointer in a scoped_ptr
1153         * lyxvc.C: adjust
1154
1155         * lyxsocket.C (serverCallback): exception safety
1156
1157         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1158
1159         * ispell.C (clone): make it return a auto_ptr
1160
1161         * factory.C (createInset): exception safety
1162         (readInset): exception safety
1163
1164         * bufferlist.C (newBuffer): exception safety
1165
1166         * Thesaurus.C (Thesaurus): use initialization for aik_
1167
1168         * MenuBackend.C (expandToc): exception safety.
1169
1170 2003-11-03  André Pönitz  <poenitz@gmx.net>
1171
1172         * buffer.C:
1173         * buffer.h:
1174         * bufferview_funcs.C: remove getInsetFromId()
1175
1176         * lyxcursor.[Ch]:
1177         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1178
1179         * lyxfunc.C:
1180         * text2.C:
1181         * text3.C: adjust
1182
1183 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1184
1185         * PosIterator.C (distance, advance): new
1186         * bufferview_funcs.[Ch] (put_selection_at): new
1187         * iterators.[Ch] (lockPath): new
1188
1189 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
1190
1191         * iterators.[Ch] (asPosIterator): added
1192         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1193         * PosIterator.[Ch]: added
1194
1195 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1196
1197         * text3.C:
1198         * lyxfunc.C:
1199         * cursor.C (dispatch):
1200         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1201
1202         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1203         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1204         contructor, add a class function dispatched. Remove operator>=
1205
1206 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1207
1208         * debug.C: only use the default constructor for debugstream
1209         (lyxerr) here.
1210
1211         * main.C (main): include debug.h and setup the lyxerr streambuf
1212         here.
1213
1214 2003-10-31  José Matos  <jamatos@lyx.org>
1215
1216         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1217
1218         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1219         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1220         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1221         * paragraph_pimpl.C (simpleTeXSpecialC):
1222         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1223         add LatexRunParams argument.
1224
1225         * exporter.C (Export): change call accordingly.
1226
1227         * latexrunparams.h: add new member to take care of the other backends.
1228 2003-10-30  José Matos  <jamatos@lyx.org>
1229
1230         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1231         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1232         factorise code for paragraph output.
1233         * buffer.[Ch]:
1234         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1235         move functions.
1236
1237 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1238
1239         * text3.C (dispatch):
1240         * lyxfunc.C (dispatch):
1241         * cursor.C (dispatch):
1242         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1243
1244         * dispatchresult.h: make the dispatch_result_t ctor explicit
1245
1246 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
1247
1248         * sgml.[Ch]:
1249         * buffer.C: small refactoring of docbook stuff
1250
1251 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1252
1253         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1254         meaning.
1255
1256 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1257
1258         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1259         operator dispatch_result_t, and operators for == != and >=
1260
1261         * cursor.C (dispatch): adjust for operator dispatch_result_t
1262         removal. comment out call to update
1263
1264         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1265
1266 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1267
1268         * text3.C:
1269         * text2.C:
1270         * text.C:
1271         * lyxtext.h:
1272         * lyxfunc.C:
1273         * cursor.C:
1274         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1275         (dispatch):
1276
1277         * dispatchresult.h: new file, DispatchResult broken out of
1278         insets/insetbase.h
1279
1280         * Makefile.am (lyx_SOURCES): add dispatchresult.h
1281
1282 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1283
1284         * text.C (rowBreakPoint): put a hack inside #if 0
1285
1286 2003-10-28  André Pönitz  <poenitz@gmx.net>
1287
1288         * lyxtext.h:
1289         * metricsinfo.C:
1290         * paragraph_funcs.C:
1291         * rowpainter.C:
1292         * text.C:
1293         * text2.C: general cleanup (lots of small stuff)
1294
1295 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1296
1297         * text2.C (cursorEnd): simple fix to the "end key goes to one
1298         before the end on last row" bug
1299
1300 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1301
1302         * text.C (backspace): fix the "zombie characters"
1303
1304 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1305
1306         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1307
1308 2003-10-27  André Pönitz  <poenitz@gmx.net>
1309
1310         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1311
1312         * factory.C: handle new InsetPagebreak, InsetLine
1313
1314         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1315         and move handling into new InsetPagebreak, InsetLine
1316
1317         * BufferView_pimpl.C:
1318         * LyXAction.C:
1319         * ParagraphParameters.C:
1320         * ParameterStruct.h:
1321         * lyxfunc.C:
1322         * lyxtext.h:
1323         * paragraph.C:
1324         * paragraph.h:
1325         * paragraph_funcs.C:
1326         * paragraph_pimpl.C:
1327         * rowpainter.C:
1328         * text.C:
1329         * text2.C:
1330         * text3.C: adjust
1331
1332 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1333
1334         * text.C:
1335         * lyxrow_funcs.[Ch]:
1336         * Bidi.C:
1337         * paragraph.C:
1338         * lyxtext.h:
1339         * rowpainter.C:
1340         * text2.C:
1341         * text3.C: remove lastPos uses in favour of Row::endpos
1342
1343 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1344
1345         * undo.C (performUndoOrRedo): fix two crashes by setting a
1346         cursor by hand and reordering some calls. Use bv->lockInset instead
1347         of inset->edit because the latter loses cursor information
1348
1349 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
1350
1351         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1352         by Martin
1353         (rowBreakPoint): fix width. change point to point + 1.
1354         Add a missing check.
1355
1356 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
1357
1358         * MenuBackend.C:
1359         * lyxfunc.C: fix (at least partly) the problems
1360         with the Nav menu and headers inside branch insets
1361         reported by Kayvan
1362
1363 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
1364
1365         * paragraph.C (getChar): add strong asserts
1366
1367         * lyxrow_funcs.C (lastPos): remove hideous hack
1368
1369         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1370         (fill): adjust to that (avoid an infinite loop)
1371
1372 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1373
1374         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1375
1376 2003-10-23  André Pönitz  <poenitz@gmx.net>
1377
1378         * RowList_fwd.h: change list<> to vector<> to gain speed
1379         after suggestion from Alfredo
1380
1381 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1382
1383         * lyxtext.h: move the bidi stuff from here...
1384         * text.C: and here
1385         * text2.C: and here
1386         * Bidi.[Ch]: ... to here
1387
1388 2003-10-23  André Pönitz  <poenitz@gmx.net>
1389
1390         * lyxtext.h:
1391         * text.C (isLastRow, isFirstRow): new functions
1392
1393         * paragraph.h: new width cache member
1394
1395         * rowpainter.C: replace RowList::iterator with Row & where possible
1396
1397         * lyxfunc.C: replace several view()->text with a single call
1398
1399         * toc.C: fix 'unused' warning
1400
1401 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1402
1403         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1404         when woring with stream::pos_type
1405         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1406
1407 2003-10-22  André Pönitz  <poenitz@gmx.net>
1408
1409         * lyxtext.h:
1410         * text.C: use Row & instead of RowList::iterator
1411
1412         * lyxrow.h: rename end() to endpos()
1413
1414         * rowpainter.C:
1415         * text.C:
1416         * text2.C: adjust
1417
1418 2003-10-22  Angus Leeming  <leeming@lyx.org>
1419
1420         * buffer.[Ch] (fully_loaded): new member function, returning true
1421         only when the file has been loaded fully.
1422         Used to prevent the premature generation of previews and by the
1423         citation inset to prevent computation of the natbib-style label.
1424
1425         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1426         templates are all set up.
1427
1428         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1429
1430 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
1431
1432         * text.C: fixed an "oops" in the "is a bit silly"
1433         bug fix
1434
1435 2003-10-21  André Pönitz  <poenitz@gmx.net>
1436
1437         * FuncStatus.[Ch]: small stuff, whitespace
1438
1439         * lyxfont.[Ch]: operator<<() for debug reasons
1440
1441         * lyxfunc.C:
1442         * lyxrow_funcs.C:
1443         * lyxtext.h: whitespace, spelling
1444
1445         * paragraph.C: naming of variables
1446
1447         * text.C:
1448         * text2.C: small stuff
1449
1450
1451 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
1452
1453         * text.C: (1) finish off the inset display() work;
1454         (2) fix the "is a bit silly" bug (accessing char
1455         past end of par).
1456
1457 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
1458
1459         * text.C: re-introduce display() for insets, fixing the
1460         various bugs (stretch of line above, math inset
1461         positioning, ...)
1462
1463 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1464
1465         * text.C (rightMargin): remove spurious semicolon
1466
1467         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1468         1415)
1469
1470 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
1471
1472         * text3.C: fix one crash due to wrong cursor def
1473
1474 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1475
1476         * vc-backend.C (scanMaster): make the regex static
1477
1478         * LaTeX.C (scanAuxFile): make the regexs static
1479
1480         * text3.C (doInsertInset, dispatch, dispatch):
1481         * text2.C (cursorUp, cursorDown):
1482         * text.C (selectNextWordToSpellcheck):
1483         * BufferView_pimpl.C (dispatch):
1484         * lyxfunc.C (dispatch):  localDispatch -> dispatch
1485
1486 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1487
1488         * lyxsocket.C: include <cerrno>
1489
1490 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1491
1492         * lyxfunc.C (dispatch): remove textcache stuff
1493
1494         * bufferlist.C (release): remove textcache stuff
1495         (closeAll): ditto
1496
1497         * TextCache.C: delete file
1498         * TextCache.h: delete file
1499
1500         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1501
1502         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1503         delete of the bv_->text.
1504         (resizeCurrentBuffer): remove texcache stuff
1505         (workAreaResize): ditto
1506
1507 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1508
1509         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1510         action.
1511
1512 2003-10-16  André Pönitz  <poenitz@gmx.net>
1513
1514         * lyxrow.[Ch]:
1515         * paragraph.h:
1516         * rowpainter.C:
1517         * text.C:
1518         * text2.C:
1519         * text3.C: speed up by storing y positions per paragraph plus per-row
1520         offset instead of having a 'full' y position in the row.
1521
1522 2003-10-15  André Pönitz  <poenitz@gmx.net>
1523
1524         * iterators.[Ch]:
1525         * iterators.[Ch]:
1526         * undo.[Ch]: make undo aware of inner insets
1527
1528 2003-10-14  Angus Leeming  <leeming@lyx.org>
1529
1530         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1531         static member functions LyX::ref() and LyX::cref.
1532         (lastfiles): new accessor functions for the new lastfiles_ member var.
1533         (addLyXView, views_): add a new LyXView to the list of views_.
1534         (updateInset): loop over all LyXViews to call their own updateInset
1535         member function, returning a pointer to the Buffer owning the inset.
1536
1537         * BufferView_pimpl.C (loadLyXFile):
1538         * MenuBackend.C (expandLastfiles):
1539         * bufferlist.C (MenuWrite, QuitLyX):
1540         lastfiles is no longer a global variable.
1541         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1542
1543         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1544         static function. Access through LyX::cref().emergencyCleanup().
1545
1546 2003-10-14  André Pönitz  <poenitz@gmx.net>
1547
1548         * iterators.[Ch]: new direct access to innermost LyXText and Inset
1549
1550         * undo.[Ch]: restoring part of 'undo in insets'
1551
1552         * Makefile.am:
1553         * undo_funcs.[Ch]: merge with undo.[Ch]
1554
1555         * tabular.C: small cleansing stuff
1556
1557 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
1558
1559         * paragraph_funcs.C (readParToken): report unknown insets as error
1560         boxes. Use the outer paragraph as location (also for unknown
1561         tokens).
1562
1563         * factory.C (readInset): do not abort on reading an unknown inset.
1564         Eat it and return 0.
1565
1566 2003-10-13  Angus Leeming  <leeming@lyx.org>
1567
1568         * lyx_main.C (LyX): remove call to setDisplayTranslator().
1569
1570         * lyxrc.C: displayTranslator is now a function,
1571         declared in GraphicsTypes.h.
1572
1573 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1574
1575         * format.C: new placeholder $$a to pass the socket address.
1576
1577         * bufferlist.[Ch]: new function getBufferFromTmp.
1578
1579         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1580           files in the temporary dir.
1581
1582 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1583
1584         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1585
1586         * Makefile.am: add lyxsocket.[Ch].
1587
1588         * lyx_main.C (error_handler): handle SIGPIPE.
1589
1590 2003-10-13  André Pönitz  <poenitz@gmx.net>
1591
1592         * BufferView_pimpl.C:
1593         * lyxtext.h:
1594         * text.C:
1595         * text2.C:
1596         * text3.C:
1597         * undo_funcs.[Ch]: use paroffset_type instead of
1598           ParagraphList::iterators to prevent multiple conversion
1599           (and get a more robust interface)
1600
1601 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1602
1603         * lyxfunc.C (dispatch): RESULT -> dispatch_result
1604         * lyxtext.h: ditto
1605         * text3.C (dispatch): ditto
1606
1607 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1608
1609         * LaTeX.C (handleFoundFile): move the static to smaller scope,
1610         move the onlyfile, use onlyfile instead of foundfile in a couple
1611         of places.
1612
1613         * DepTable.C (update): flush the error stream a bit more
1614
1615 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1616
1617         * lyxserver.C (callback): adjust
1618
1619         * lyxfunc.C (getStatus): add a missing brace in commented code
1620         (ensureBufferClean): reindent
1621         (dispatch): delete version taking a string
1622
1623 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1624
1625         * LaTeX.C (deplog): move found file handlig from here...
1626         (handleFoundFile): .. to new function here.
1627         (deplog): make sure to discover several files mentioned on the
1628         same log line.
1629
1630 2003-10-10  André Pönitz  <poenitz@gmx.net>
1631
1632         * lyxfunc.C:
1633         * lyxtext.h:
1634         * tabular.C:
1635         * text.C:
1636         * text2.C:
1637         * text3.C: fix some of the tabular crashes
1638
1639 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1640
1641         * MenuBackend.C (binding): put debug message into Debug::KBMAP
1642
1643         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1644
1645 2003-10-09  André Pönitz  <poenitz@gmx.net>
1646
1647         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1648
1649         * BufferView.C:
1650         * BufferView_pimpl.C:
1651         * bufferview_funcs.C:
1652         * lyx_cb.C:
1653         * lyxcursor.C:
1654         * lyxfind.C:
1655         * lyxfunc.C:
1656         * lyxtext.h:
1657         * text.C:
1658         * text2.C:
1659         * text3.C:
1660         * text_funcs.[Ch]:
1661         * textcursor.[Ch]:
1662         * undo_funcs.C: adjust
1663
1664 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1665
1666         * text2.C (incrementItemDepth): new function, use a backtracking
1667         algorithm to discover the correct item depth.
1668         (resetEnumCounterIfNeeded): new function, use a backtracking
1669         algorithm to discover if counter reset is needed.
1670         (setCounter): use them. Simplify a bit. Add different labels for
1671         different item depths for itemize.
1672
1673         * paragraph.C (Paragraph): remove initialization of enumdepth
1674         (operator=): ditto
1675
1676         * paragraph.h: get rid of enumdepth, and use itemdepth both for
1677         enumerate and itemize. Change the type of itemdepth to signed char.
1678
1679 2003-10-08  André Pönitz  <poenitz@gmx.net>
1680
1681         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1682           thing assignable.
1683         * text.C:
1684         * text2.C: adjust
1685
1686         * tabular.[Ch]: fix crash after 'row-insert'
1687
1688 2003-10-08  Angus Leeming  <leeming@lyx.org>
1689
1690         Fix doxygen warnings.
1691
1692         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1693         Remove CutAndPaste:: prefix from header file declaration.
1694
1695         * LColor.h (fill): remove LColor:: prefix from declaration.
1696
1697         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1698         use lyx::depth_type rather than Paragraph::depth_type so that
1699         header file and .C file match.
1700
1701         * converter.h (intToFormat): remove Converters:: prefix from declaration.
1702
1703         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1704         * aspell.C: \file aspell_local.C -> \file aspell.C
1705         * gettext.C: \file gettext.C -> \file src/gettext.C
1706         * gettext.h: \file gettext.h -> \file src/gettext.h
1707         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1708         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1709         * text.C: \file text.C -> \file src/text.C
1710
1711         * toc.C: move comment so that doxygen is not confused.
1712
1713 2003-10-07  Angus Leeming  <leeming@lyx.org>
1714
1715         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1716
1717 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1718
1719         * aspell.C:
1720         * aspell_local.h: add forgotten std::string's.
1721
1722 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1723
1724         * LaTeXFeatures.C:
1725         * LyXAction.C:
1726         * factory.C:
1727         * lfuns.h:
1728         * lyxfunc.C:
1729         * text3.C: The Box patch. Fancybox support, minipage, parbox
1730
1731 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1732
1733         * CutAndPaste.h:
1734         * DepTable.h:
1735         * FloatList.h:
1736         * LaTeXFeatures.h:
1737         * ParagraphParameters.h:
1738         * TextCache.h:
1739         * Thesaurus.h:
1740         * bufferlist.h:
1741         * exporter.h:
1742         * importer.h:
1743         * lastfiles.h:
1744         * lyxfind.h:
1745         * lyxfont.h:
1746         * lyxlex.h:
1747         * lyxtextclasslist.h:
1748         * messages.h:
1749         * paragraph.h:
1750         * paragraph_pimpl.C:
1751         * textcursor.h: add <string> and other small fixes to make Lars'
1752         std::string patch compile with STLport.
1753
1754 2003-10-06  Angus Leeming  <leeming@lyx.org>
1755
1756         * LColor.h: Add missing #include <string>.
1757
1758 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1759
1760         * All most all file in all subdirs: Make <string> be the prefered
1761         way of getting to std::string, add using declarations.
1762
1763 2003-10-06  André Pönitz  <poenitz@gmx.net>
1764
1765         * metricsinfo.C: initialize LyXFont before changing attribute.
1766         (fixes the 'math in \emph is upright' bug)
1767
1768 2003-10-06  André Pönitz  <poenitz@gmx.net>
1769
1770         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1771
1772 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1773
1774         * graph.C:
1775         * paragraph_pimpl.C: Small fixes to build using STLport
1776
1777 2003-10-02  André Pönitz  <poenitz@gmx.net>
1778
1779         * lyxfunc.C:
1780         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1781
1782 2003-10-01  André Pönitz  <poenitz@gmx.net>
1783
1784         * factory.C: assert early
1785
1786 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1787
1788         * lyx_main.C: remove the global debug object
1789
1790         * debug.h: adjust for new debugstream
1791
1792         * debug.C: adjust for new debugstream and keep the global debug
1793         object here.
1794
1795 2003-09-22  Angus Leeming  <leeming@lyx.org>
1796
1797         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1798         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1799         an incomplete class LyXFont.
1800
1801 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1802
1803         * factory.C: bug fix in branches
1804
1805 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1806
1807         * lyxfunc.C (processKeySym): adjust
1808         (dispatch): adjust
1809         (dispatch): change arg name from ev to func, adjust
1810         (sendDispatchMessage): ditto
1811
1812         * lyx_main.C (defaultKeyBindings): adjust keybindings
1813         (deadKeyBindings): ditto
1814
1815         * kbsequence.C (addkey): return a FuncRequest
1816
1817         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1818
1819         * kbmap.C (bind): take a FuncRequest as arg, adjust
1820         (read): adjust
1821         (lookup): adjust
1822         (defkey): change to take a FuncRequest as arg, adjust
1823         (findbinding): take a FuncRequest as arg, adjust.
1824
1825         * funcrequest.h (operator=): added
1826
1827         * funcrequest.C (FuncRequest): default kb_action changed from
1828         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1829
1830         * buffer.C (dispatch): simplify
1831         (dispatch): adjust to take a FuncRequest as arg, adjust
1832
1833         * boost.C (assertion_failed): change assertion message slightly
1834
1835         * ToolbarBackend.C (read): simplify
1836
1837         * MenuBackend.C (binding): adjust call to findbinding, add a
1838         message if no binding is found.
1839         (read): simplify
1840         (expandToc): correct by adding a empty FuncRequest
1841
1842         * LyXAction.C: include <boost/assert.hpp>
1843         (isPseudoAction): delete function
1844         (LookupFunc): change name to...
1845         (lookupFunc): this. change return type to FuncRequest.
1846         (getActionName): take kb_action as arg, simplify
1847         (funcHasFlag): add an assert, simplify.
1848
1849 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1850
1851         * toc.C (action): return a FuncRequest, simplify
1852
1853         * lyxfunc.C (processKeySym): adjust
1854         (getStatus): delete version that takes an int.
1855         (getStatus): adjust
1856         (dispatch): delete version that takes action as int
1857         (dispatch): adjust
1858         (sendDispatchMessage): simplify and adjust
1859
1860         * funcrequest.C (getArg): take unsigned int as arg
1861
1862         * ToolbarBackend.C (read): adjust
1863         (add): delete version that takes func as a string.
1864         (getIton): take a FuncRequest as arg
1865
1866         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1867         action.
1868
1869         * MenuBackend.C (MenuItem): add a new construct that only takes a
1870         Kind, simplify the constructor use for submenus.
1871         (add): adjust
1872         (expandLastfiles): adjust
1873         (expandDocuments): adjust
1874         (expandFormats): adjust
1875         (expandFloatListInsert): adjust
1876         (expandFloatInsert): adjust
1877         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1878
1879         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1880         Remove class variables lyx_pseudo_map and lyx_arg_map
1881
1882         * LyXAction.C (searchActionArg): delete function
1883         (getPseudoAction): delete function
1884         (retrieveActionArg): delete function
1885         (LookupFunc): make it return kb_action, simplify.
1886         (getActionName): simplify
1887
1888         * factory.C (createInset): fix new bug
1889
1890 2003-09-19  Angus Leeming  <leeming@lyx.org>
1891
1892         * CutAndPaste.C (pasteSelection): remove fudge used to set the
1893         masterFilename_ parameter in the include inset.
1894
1895         * factory.C (createInset): changes due to the changes to InsetInclude.
1896
1897 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1898
1899         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1900
1901 2003-09-18  Angus Leeming  <leeming@lyx.org>
1902
1903         * buffer.C:
1904         * BufferView.C: pass the buffer when calling Inset::getLabelList,
1905         Inset::fillWithBibKeys.
1906         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1907
1908 2003-09-18  Angus Leeming  <leeming@lyx.org>
1909
1910         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1911         variables.
1912         (ctor): pass and store a 'Buffer const &'
1913         (buffer): new member function.
1914
1915         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1916         '*this' to the LaTeXFeatures ctor.
1917
1918 2003-09-18  Angus Leeming  <leeming@lyx.org>
1919
1920         * LColor.h:
1921         * lyxfont.C:
1922         * lyxfont.h:
1923         * lyxtext.h:
1924         * text.C: rename EnumLColor as LColor_color.
1925
1926 2003-09-18  Angus Leeming  <leeming@lyx.org>
1927
1928         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1929         remove #include "insets/insetbase.h" from cursor.h.
1930
1931 2003-09-18  Angus Leeming  <leeming@lyx.org>
1932
1933         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1934         InsetOld_code to remove #include "inset.h".
1935
1936         * iterators.C: add #include "insets/inset.h"
1937
1938 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
1939
1940         * BufferView.C: remove more locking stuff that apparently doesn't
1941         do anything sensible.
1942
1943 2003-09-16  André Pönitz  <poenitz@gmx.net>
1944
1945         * paragraph.[Ch]:
1946         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1947           performance boost.
1948
1949 2003-09-16  Angus Leeming  <leeming@lyx.org>
1950
1951         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1952
1953         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1954         arg/return type.
1955
1956         * paragraph.h: remove #include "lyxfont.h". Forward declare
1957         LyXFont_size.
1958
1959 2003-09-16  Angus Leeming  <leeming@lyx.org>
1960
1961         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1962         of support/textutils.h.
1963         (isWord): move the contents of support/textutils.h's IsWordChar here.
1964
1965         * buffer.C:
1966         * lyxfind.C:
1967         * rowpainter.C:
1968         * text.C:
1969         * text2.C: add #include "paragraph.h".
1970
1971         * rowpainter.C:
1972         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1973
1974 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1975
1976         * main.C:
1977         * lyx_main.C:
1978         * lyx_cb.C:
1979         * buffer.C:
1980         * LaTeX.C: use namespace alias for lyx::support::os
1981
1982 2003-09-16  Angus Leeming  <leeming@lyx.org>
1983
1984         * bufferparams.C:
1985         * bufferview_funcs.C:
1986         * factory.C:
1987         * lyxfunc.C:
1988         * paragraph_pimpl.C:
1989         * rowpainter.C:
1990         * text.C: add #include "LColor.h".
1991
1992 2003-09-16  Angus Leeming  <leeming@lyx.org>
1993
1994         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1995         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1996         return LyXFont &.
1997         Store the FontBits::color variable as an int rather than as an
1998         LColor::colorso that we can move LColor.h out of the lyxfont.h header
1999         file.
2000
2001         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2002         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2003         string calls together.
2004
2005         * lyxrc.C: add #include "LColor.h".
2006
2007 2003-09-15  Angus Leeming  <leeming@lyx.org>
2008
2009         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2010         a cow_ptr.
2011
2012 2003-09-15  Angus Leeming  <leeming@lyx.org>
2013
2014         * LColor.h: add an EnumLColor wrapper for LColor::color.
2015
2016         * lyxfont.[Ch] (color, setColor, realColor):
2017         * lyxtext.h, text.C (backgroundColor):
2018         pass EnumLColor args to/from the functions, rather than LColor::color
2019         ones.
2020
2021         * lyxfont.h:
2022         * lyxtext.h: forward declare EnumLColor.
2023
2024         * lyx_main.C: add #include "LColor.h".
2025
2026 2003-09-15  Angus Leeming  <leeming@lyx.org>
2027
2028         * .cvsignore: add lyx-gtk.
2029
2030 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2031
2032         * Chktex.C
2033         * LaTeX.C
2034         * LaTeXFeatures.C
2035         * ParagraphParameters.C
2036         * Spacing.C
2037         * buffer.C
2038         * bufferparams.C
2039         * bufferview_funcs.C
2040         * chset.C
2041         * counters.C
2042         * funcrequest.C
2043         * lyxfont.C
2044         * lyxgluelength.C
2045         * lyxlength.C
2046         * paragraph.C
2047         * paragraph_funcs.C
2048         * text3.C
2049         * vc-backend.C: remove usage of STRCONV
2050
2051 2003-09-15  Angus Leeming  <leeming@lyx.org>
2052
2053         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2054         explicitly define the color passed to the painter.
2055
2056 2003-09-15  Angus Leeming  <leeming@lyx.org>
2057
2058         * bufferparams.C (BufferParams): reorder member initializers to avoid
2059         compiler warning.
2060
2061 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
2062
2063         * CutAndPaste.C (pasteSelection): remove an outdated #warning
2064         * text.C (updateRowPositions): remove an unusual nop
2065
2066 2003-09-12  André Pönitz  <poenitz@gmx.net>
2067
2068         * BufferView_pimpl.C:
2069         * Bullet.C:
2070         * layout.h:
2071         * lyxfunc.C:
2072         * lyxlayout.[Ch]:
2073         * lyxtextclass.C:
2074         * rowpainter.C:
2075         * text.C:
2076         * text2.C:
2077         * Counters.[Ch]: finish the 'automatic counters' job
2078
2079 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2080
2081         * aspell.C: include <boost/assert.cpp> (compile fix)
2082
2083 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
2084
2085         * boost.C (assertion_failed): use lyx::support::abort instead of
2086         assert.
2087
2088 2003-09-10  Angus Leeming  <leeming@lyx.org>
2089
2090         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2091         with their _fwd progeny.
2092
2093 2003-09-09  Angus Leeming  <leeming@lyx.org>
2094
2095         134 files throughtout the source tree: replace 'using namespace abc;'
2096         directives with the appropriate 'using abc::xyz;' declarations.
2097
2098 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2099
2100         * boost.C (emergencyCleanup): moved here from LAssert.c
2101         (assertion_failed): new function, called by BOOST_ASSERT
2102
2103         * several files: change Assert to BOOST_ASSERT
2104
2105 2003-09-09  Angus Leeming  <leeming@lyx.org>
2106
2107         * buffer.[Ch]: Add an Impl class and move Buffer's member
2108         variables into it. As a result move several header files out of
2109         buffer.h.
2110
2111         Add header files to lots of .C files all over the tree as a result.
2112
2113 2003-09-09  Angus Leeming  <leeming@lyx.org>
2114
2115         * buffer.[Ch]: make Buffer's member variables private. Add
2116         accessor functions.
2117
2118         Lots of changes all over the tree as a result.
2119
2120 2003-09-08  Angus Leeming  <leeming@lyx.org>
2121
2122         * graph.C: #include <config.h>.
2123
2124 2003-09-08  Angus Leeming  <leeming@lyx.org>
2125
2126         * BranchList.C:
2127         * BufferView.C:
2128         * BufferView_pimpl.C:
2129         * CutAndPaste.C:
2130         * DepTable.C:
2131         * LaTeX.C:
2132         * LaTeXFeatures.C:
2133         * LyXAction.C:
2134         * MenuBackend.C:
2135         * TextCache.C:
2136         * aspell.C:
2137         * buffer.C:
2138         * bufferlist.C:
2139         * changes.C:
2140         * chset.C:
2141         * converter.C:
2142         * counters.C:
2143         * debug.C:
2144         * graph.C:
2145         * ispell.C:
2146         * lyx_cb.C:
2147         * lyxfind.C:
2148         * lyxfunc.C:
2149         * lyxlex_pimpl.C:
2150         * lyxrc.C:
2151         * lyxrow.C:
2152         * paragraph.C:
2153         * rowpainter.C:
2154         * texrow.C:
2155         * text.C:
2156         * text2.C:
2157         * toc.C: remove redundant using directives.
2158
2159 2003-09-07  Angus Leeming  <leeming@lyx.org>
2160
2161         * LaTeXFeatures.h: remove #include "support/types.h".
2162         * ToolbarBackend.h: remove #include <algorithm>.
2163         * changes.h: remove #include <ctime>.
2164         * debug.h: remove #include <iosfwd>.
2165         * graph.h: remove #include "support/std_string.h".
2166         * lyx_main.h: remove #include <csignal>.
2167         * lyxlex_pimpl.h: remove #include <fstream>.
2168         * sgml.h: remove #include <algorithm>, <utility>.
2169         * toc.h: remove #include "support/std_ostream.h".
2170         Add #include <iosfwd>.
2171
2172 2003-09-07  Angus Leeming  <leeming@lyx.org>
2173
2174         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2175
2176         * converter.h: forward declare LatexRunParams.
2177         * encoding.h: remove #include "lyxrc.h".
2178         * lyxtext.h: remove #include "LColor.h".
2179         * lyxtextclass.h: remove #include "support/types.h".
2180         * trans.h: remove #include "tex-accent.h".
2181         * trans_mgr.h: remove #include "tex-accent.h".
2182         * insets/inset.h: remove #include "support/types.h", <vector>.
2183         * insets/insetcollapsable.h: remove #include "LColor.h".
2184         * insets/insetinclude.h: remove #include "dimension.h".
2185         * insets/insetlatexaccent.h: remove #include "dimension.h".
2186         * insets/insetoptarg.h:: remove #include "insettext.h".
2187         * insets/insettext.h: remove #include "dimension.h",
2188         <boost/shared_ptr.hpp>
2189
2190         * insets/renderers.h: add #include "dimension.h".
2191         * insets/updatableinset.h: add #include "support/types.h".
2192
2193         * many .C files: Associated changes.
2194
2195 2003-09-06  Angus Leeming  <leeming@lyx.org>
2196
2197         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2198         one, inside testInvariant.
2199
2200         * PrinterParams.C: new file.
2201         * PrinterParams.[Ch]: move the function bodies out of line.
2202
2203 2003-09-06  Angus Leeming  <leeming@lyx.org>
2204
2205         * ParagraphParameters.h: forward declare ParameterStruct rather than
2206         including its header file.
2207         (depth): moved out-of-line.
2208
2209 2003-09-06  Angus Leeming  <leeming@lyx.org>
2210
2211         * BufferView_pimpl.h:
2212         * kbmap.h:
2213         * kbsequence.h:
2214         * lyxfunc.h: forward declare LyXKeySym rather than
2215         #include "frontends/LyXKeySym.h".
2216
2217         * BufferView_pimpl.C:
2218         * kbmap.C:
2219         * kbsequence.C:
2220         * lyxfunc.C: associated changes.
2221
2222 2003-09-06  Angus Leeming  <leeming@lyx.org>
2223
2224         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2225         As a result, can remove the #include "insets/inset.h" from BufferView.h
2226
2227 2003-09-06  Angus Leeming  <leeming@lyx.org>
2228
2229         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2230         As a result, can remove the #include "insets/inset.h" from BufferView.h
2231
2232 2003-09-06  Angus Leeming  <leeming@lyx.org>
2233
2234         * buffer_funcs.C:
2235         * buffer.h:
2236         * bufferlist.C:
2237         * BufferView.C:
2238         * bufferview_funcs.C:
2239         * BufferView_pimpl.C:
2240         * CutAndPaste.C:
2241         * lyx_cb.C:
2242         * lyxfunc.C:
2243         * paragraph.h:
2244         * ParagraphParameters.C:
2245         * tabular.C:
2246         * text3.C:
2247         * toc.C:
2248         * undo_funcs.C:
2249         * frontends/controllers/ControlDocument.C:
2250         * insets/insetcaption.C: rearrange the #includes into some sort of
2251         coherent order.
2252
2253         * buffer.h: remove #includes ErrorList.h, undo.h
2254
2255 2003-09-06  Angus Leeming  <leeming@lyx.org>
2256
2257         * support/types.h: add a 'depth_type' typedef, used to store the
2258         nesting depth of a paragraph.
2259
2260         * paragraph.h:
2261         * ParameterStruct.h: use this lyx::depth_type typedef rather than
2262         defining explicitly.
2263
2264         * buffer.h:
2265         * paragraph_funcs.h:
2266         * ParagraphParameters.h:
2267         * sgml.h: use lyx::depth_type rather than Paragraph or
2268         ParameterStruct's depth_type.
2269
2270         * buffer.h
2271         * paragraph_funcs.h: no need to #include paragraph.h anymore.
2272
2273         * BufferView.C:
2274         * BufferView_pimpl.C:
2275         * CutAndPaste.C:
2276         * ParagraphParameters.C:
2277         * buffer_funcs.C:
2278         * bufferlist.C:
2279         * bufferview_funcs.C:
2280         * lyx_cb.C:
2281         * lyxfunc.C:
2282         * tabular.C:
2283         * text3.C:
2284         * toc.C:
2285         * undo_funcs.C:
2286         * frontends/LyXView.C:
2287         * frontends/controllers/ControlDocument.C:
2288         * frontends/controllers/ControlErrorList.C:
2289         * insets/insetbibitem.C:
2290         * insets/insetbranch.C:
2291         * insets/insetcaption.C:
2292         * insets/insetcollapsable.C:
2293         * insets/insetenv.C:
2294         * insets/insetert.C:
2295         * insets/insetfloat.C:
2296         * insets/insetfoot.C:
2297         * insets/insetfootlike.C:
2298         * insets/insetnewline.C:
2299         * insets/insetquotes.C:
2300         * insets/insettabular.C:
2301         * insets/insettext.C:
2302         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2303
2304         * frontends/controllers/ControlChanges.C: #include "changes.h".
2305
2306 2003-09-06  Angus Leeming  <leeming@lyx.org>
2307
2308         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2309         than #including paragraph.h.
2310
2311         * ParagraphList.h:
2312         * RowList.h: deleted. Superfluous.
2313
2314         * CutAndPaste.h:
2315         * iterators.h:
2316         * lyxcursor.h:
2317         * lyxtext.h:
2318         * text_funcs.h:
2319         * undo.h:
2320         * undo_funcs.h:
2321         * insets/inset.h:
2322         * insets/insettext.h: use ParagraphList_fwd.h rather than
2323         ParagraphList.h.
2324
2325         * paragraph.h: don't forward declare ParagraphList.
2326
2327         * buffer.h:
2328         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2329         rather than ParagraphList.h. paragraph.h is still needed for the
2330         Paragraph::depth_type parameters.
2331
2332         * textcursor.h: enable it to compile stand-alone in light of the
2333         above changes.
2334
2335         * bufferview_funcs.C:
2336         * iterators.C:
2337         * lyxfunc.C:
2338         * lyxrow_funcs.C:
2339         * paragraph.C:
2340         * rowpainter.C:
2341         * text.C:
2342         * text2.C:
2343         * text3.C:
2344         * text_funcs.C:
2345         * textcursor.C:
2346         * undo.C:
2347         * frontends/controllers/ControlParagraph.C:
2348         * frontends/controllers/ControlTabular.C:
2349         * insets/insetmarginal.C:
2350         * insets/insetminipage.C:
2351         * insets/insetnote.C:
2352         * insets/insetoptarg.C: add header files needed to compile again.
2353
2354 2003-09-06  Angus Leeming  <leeming@lyx.org>
2355
2356         * RowList_fwd.h: new file, forward-declaring Row rather than
2357         #including lyxrow.h.
2358
2359         * lyxrow_funcs.h:
2360         * lyxtext.h:
2361         * paragraph.h:
2362         * insets/insettext.h: use it instead of RowList.h
2363
2364         * bufferview_funcs.C:
2365         * lyxfunc.C:
2366         * lyxrow_funcs.C:
2367         * paragraph.C:
2368         * rowpainter.C:
2369         * text.C:
2370         * text2.C:
2371         * text3.C: #include "RowList.h".
2372
2373 2003-09-05  Angus Leeming  <leeming@lyx.org>
2374
2375         * factory.C (createInset):
2376         * vspace.C (c-tor): replace sscanf call with an istringstream.
2377         * ispell.C: re-add missing HP/UX headers.
2378         * lyxserver.C: re-add missing  os2 headers.
2379
2380 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
2381
2382         * BranchList.C:
2383         * graph.C:
2384         * ispell.C:
2385         * lastfiles.C:
2386         * lyx_cb.C:
2387         * lyxserver.C:
2388         * texrow.C:
2389         * text3.C: re-add missing system headers, needed for 2.95.2.
2390
2391 2003-09-05  Angus Leeming  <leeming@lyx.org>
2392
2393         Changes most place everywhere due to the removal of using directives
2394         from support/std_sstream.h.
2395
2396 2003-09-05  Angus Leeming  <leeming@lyx.org>
2397
2398         Replace LString.h with support/std_string.h,
2399         Lsstream.h with support/std_sstream.h,
2400         support/LIstream.h with support/std_istream.h,
2401         support/LOstream.h with support/std_ostream.h.
2402
2403         Changes resulting throughout the tree.
2404
2405 2003-09-05  Angus Leeming  <leeming@lyx.org>
2406
2407         * sgml.h: ensure that the header file can be compiled stand-alone.
2408         * *.C: strip out redundant #includes. (320 in total.)
2409
2410 2003-09-04  Angus Leeming  <leeming@lyx.org>
2411
2412         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2413         here (from getPackages).
2414
2415         * debug.[Ch]: add a new EXTERNAL tag.
2416
2417 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2418
2419         * text2.C (cursorEnd): simplify
2420         (setCursor): adjust
2421         (getColumnNearX): adjust
2422
2423         * text.C (computeBidiTables): adjust
2424         (fill): adjust
2425
2426         * rowpainter.C (paintChars): adjust
2427         (paintSelection): adjust
2428         (paintChangeBar): adjust
2429         (paintText): adjust
2430
2431         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2432         lastPos instead.
2433         (numberOfSeparators): adjust
2434
2435 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2436
2437         * LyXAction.C:
2438         * box.[Ch]:
2439         * lfuns.h:
2440         * lyxfunc.C:
2441         * text3.C: Restricts the mouse click functionality
2442         of insets like bibtex, include, toc and floatlist to the visible
2443         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2444         up the dialogs. Cursor has to be in front of the inset (i.e.
2445         start of row) for this to function.
2446
2447 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2448
2449         * bufferview_funcs.C (currentState): output row information
2450
2451 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2452
2453         * bufferview_funcs.C (currentState): output paragraph position
2454
2455 2003-09-04  Angus Leeming  <leeming@lyx.org>
2456
2457         * FloatList.h: move out #include "Floating.h".
2458         * LaTeX.h: move out #include "DepTable.h".
2459         * LyXAction.h: move out #include "funcrequest.h".
2460         * buffer.h: move out #include "author.h", "iterators.h".
2461         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2462         * lyx_main.h: move out #include "errorlist.h".
2463         * lyxfunc.h: move out #include "FuncStatus.h".
2464         * lyxtext: move out #include "lyxcursor.h".
2465         * paragraph_pimpl.h: move out #include "counters.h".
2466
2467 2003-09-03  Angus Leeming  <leeming@lyx.org>
2468
2469         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2470         preamble_snippets list, enabling us to add snippets to the preamble
2471         only if the snippet was not there already.
2472
2473 2003-09-04  Angus Leeming  <leeming@lyx.org>
2474
2475         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2476
2477 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2478
2479         * lyxfunc.C (dispatch): if fitCursor did something be sure to
2480         update
2481
2482 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2483
2484         * BranchList.C: point fix, earlier forgotten
2485
2486 2003-09-02  Angus Leeming  <leeming@lyx.org>
2487
2488         * box.C (contains): renamed from 'contained' after a fantastic
2489         amount of hot air.
2490
2491 2003-09-02  John Levon  <levon@movementarian.org>
2492
2493         * BufferView.C:
2494         * lyxcursor.h:
2495         * lyxcursor.C:
2496         * lyxfunc.C:
2497         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2498
2499 2003-09-02  John Levon  <levon@movementarian.org>
2500
2501         * text2.C: simplification of cursorEnd(), including partial
2502         fix for bug 1376
2503
2504 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2505
2506         * buffer.C (readFile): add a space
2507
2508 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
2509
2510         * BufferView_pimpl.C (update): remove bogus fitCursor() call
2511
2512 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2513
2514         * buffer.C (readFile): new function, take a filename and a
2515         ParagraphList::iterator
2516         (readFile): adjust
2517         (readFile): adjust, make it private. don't use setStream, make
2518         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2519         always contain the filename.
2520
2521         * BufferView.C (insertLyXFile): simplify and make it work for
2522         gzipped files.
2523
2524 2003-08-30  John Levon  <levon@movementarian.org>
2525
2526         * Makefile.am: fix dist (from Kayvan)
2527
2528 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2529
2530         * most files: change to use const Buffer refs
2531
2532 2003-08-27  André Pönitz  <poenitz@gmx.net>
2533
2534         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2535         on top of ownerPar().
2536
2537 2003-08-27  John Levon  <levon@movementarian.org>
2538
2539         * funcrequest.C: properly initialise POD members
2540
2541 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2542
2543         * lyxtext.h (top_y): move top_y from here
2544         * text.C:
2545         * text2.C:
2546         * text3.C:
2547         * BufferView.[Ch]:
2548         * BufferView_pimpl.[Ch]: to here
2549         * frontends/screen.C:
2550         * insets/insettabular.C:
2551         * insets/insettext.C: adjust
2552         * rowpainter.[Ch] (paintRows): remove LyXText & argument
2553
2554 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2555
2556         * BufferView.[Ch]:
2557         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2558
2559 2003-08-26  André Pönitz  <poenitz@gmx.net>
2560
2561         * paragraph_func.[Ch] (outerPar): new function
2562
2563         * paragraph.C:
2564         * paragraph_funcs.C:
2565         * paragraph_funcs.h:
2566         * paragraph_pimpl.C:
2567         * text2.C: remove Inset::par_owner
2568
2569 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
2570
2571         * lyxrow_funcs.C:
2572         * lyxtext.h:
2573         * text.C:
2574         * text2.C: eliminates the needFullRow/display() stuff
2575         altogether, putting the logic in metrics/draw in the insets.
2576
2577 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
2578
2579         * text2.C (redoParagraphInternal, redoParagraphs):
2580         * text.C (redoParagraph): add a call to updateRowPositions at the
2581         end of each 'metrics-like' call. Remove all others.
2582         (getRow): remove the 'y-computing' version.
2583         (getRowNearY): do not compute nor return the real y. Solve the
2584         'y < 0' problem and simplify.
2585
2586 2003-08-22  Angus Leeming  <leeming@lyx.org>
2587
2588         * *.[Ch]: clean-up of licence and author blurbs.
2589         Also move config.h out of a few .h files and into a few .C files.
2590
2591 2003-08-22  André Pönitz  <poenitz@gmx.net>
2592
2593         * lyxrow.[Ch]: add x_ and *fill_ members
2594
2595         * lyxtext.h:
2596         * text.C:
2597         * rowpainter.C:
2598         * text2.C: adjust/remove prepareToPrint() calls
2599
2600 2003-08-22  André Pönitz  <poenitz@gmx.net>
2601
2602         * lyxrow.[Ch]: add  end_ member
2603
2604         * lyxrow_funcs.C: use LyXRow::end_
2605
2606         * lyxtext.h (singleWidth): add LyXFont parameter
2607
2608         * rowpainter.C:
2609         * text2.C: adjust LyXText::singleWidth() calls
2610
2611         * text.C (redoParagraph): simplify row breaking logic
2612
2613
2614 2003-08-19  André Pönitz  <poenitz@gmx.net>
2615
2616         * funcrequest.C: initialize button_ member
2617
2618         * text3.C:
2619         * rowpainter.[Ch]: interface consolidation
2620
2621 2003-08-18  André Pönitz  <poenitz@gmx.net>
2622
2623         * BufferView.C:
2624         * BufferView_pimpl.C:
2625         * lyxfind.C:
2626         * paragraph_funcs.C:
2627         * rowpainter.C:
2628         * text3.C: remove LyXScreen::draw() and fitCursor calls
2629
2630         * BranchList.h: remove spurious semicolons
2631
2632         * MenuBackend.C: fix branchlist related crash
2633
2634 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
2635
2636         * BranchList.[Ch]:
2637         * InsetList.[Ch]:
2638         * LColor.[Ch]:
2639         * LyXAction.C:
2640         * Makefile.am:
2641         * MenuBackend.[Ch]:
2642         * bufferparams.[Ch]:
2643         * factory.C:
2644         * lfuns.h:
2645         * lyxfunc.C:
2646         * text3.C: implements the 'branch inset'
2647         idea. This allows the output of various versions of a document
2648         from a single source version, selectively outputing or suppressing
2649         output of parts of the text.
2650         This implementation contains a 'branch list editor' in a separate
2651         tab of the document settings dialog. Branches are user definable
2652         and have a "display colour" to distinguish them on-screen.
2653
2654         ColorHandler was somewhat cleaned up.
2655         (1) make possible a dynamically growing LColor list by allowing
2656         the graphic context cache to grow along (vector);
2657         (2) eliminate an IMHO unnecessary step in colour allocation.
2658
2659 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
2660
2661         * BufferView_pimpl.C: compile fix
2662
2663 2003-08-15  André Pönitz  <poenitz@gmx.net>
2664
2665         * rowpainter.C: remove extra metrics calls
2666
2667         * lyxtext.h: merge the two constructors into a single one,
2668           pass reference to owner's par list
2669
2670         * BufferView_pimpl.C:
2671         * text.C:
2672         * text2.C: adjust
2673
2674 2003-08-15  André Pönitz  <poenitz@gmx.net>
2675
2676         * lyxrow_funcs.[Ch]:
2677         * lyxtext.h:
2678         * paragraph.h:
2679         * paragraph_funcs.C:
2680         * rowpainter.C:
2681         * text.C:
2682         * text2.C:
2683         * text3.C:
2684         * text_funcs.C: split LyXText::rowlist_ into individual
2685         Paragraph::rows_ chunks
2686
2687         * BufferView.[Ch]:
2688         * BufferView_pimpl.[Ch]:
2689         * lyxfind.C:
2690         * lyxtext.h:
2691         * text3.C: remove toggleSelection()
2692
2693 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
2694
2695         * bufferlist.C: beautify two alerts (shorter text of buttons)
2696         * buffer.C: Remove redundant ' ' from message
2697         * tabular.h:
2698         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2699         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2700         rename VALIGN_CENTER to VALIGN_MIDDLE
2701
2702 2003-08-11  André Pönitz  <poenitz@gmx.net>
2703
2704         * lyxtext.h (getPar):
2705         * text.C: new function
2706
2707 2003-08-11  André Pönitz  <poenitz@gmx.net>
2708
2709         * Makefile.am:
2710         * tracer.[Ch]: remove unneeded files
2711
2712         * InsetList.[Ch]: remove resizeInsetsLyXText()
2713
2714         * lyxtext.h:
2715         * text.C:
2716         * text2.C:
2717         * text3.C: merge insertParagraphs() and appendParagraph()
2718         remove breakAgain(), update()
2719
2720         * BufferView_pimpl.[Ch]:
2721         * bufferview_funcs.[Ch]:
2722         * lyxfunc.C:
2723         * paragraph.[Ch]:
2724         * rowpainter.C:
2725         * tabular.C: adjust after text & InsetList changes.
2726
2727 2003-08-08  André Pönitz  <poenitz@gmx.net>
2728
2729         * text.C (insertChar, backspace): replace rowlist fiddling
2730         with rebreak of full par
2731
2732         * lyxtext.h:
2733         * text.C (breakAgainOneRow, redoHeightOfParagraph,
2734         checkParagraph, updateInset): removed
2735
2736 2003-08-07  André Pönitz  <poenitz@gmx.net>
2737
2738         * paragraph.C:
2739         * text3.C: merge some LFUN handlers, remove dead code
2740
2741 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2742
2743         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2744
2745 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
2746
2747         * text2.C (DEPM): fix part of bug 1255 and 1256
2748
2749 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2750
2751         * BufferView_pimpl.C (workAreaDispatch): change to use
2752         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2753         that are no mouse related.
2754
2755 2003-08-05  André Pönitz  <poenitz@gmx.net>
2756
2757         * BufferView.[Ch]:
2758         * BufferView_pimpl.[Ch]:
2759         * bufferview_funcs.C:
2760         * text2.C:
2761         * text3.C: rip out "deep update"
2762
2763         * textcursor.[Ch] (last_sel_cursor): remove unused member
2764
2765 2003-08-04  André Pönitz  <poenitz@gmx.net>
2766
2767         * BufferView.[Ch]:
2768         * BufferView_pimpl.[Ch]:
2769         * ParagraphParameters.C:
2770         * bufferview_funcs.C:
2771         * lyx_cb.C:
2772         * lyxfind.C:
2773         * lyxfunc.C:
2774         * text.C:
2775         * text2.C:
2776         * text3.C: replace "complicated" BufferView::update(...) calls with
2777         simpler ones.
2778
2779         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2780
2781 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2782
2783         * Makefile.am (lyx_SOURCES): add paper.h
2784
2785 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2786
2787         * Makefile.am: move things around so that both lyx-qt and
2788         lyx-xforms can be built (according to --with-frontend). Then lyx
2789         is a symbolic link to lyx-[firstfrontend]
2790
2791 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2792
2793         * Always use std::endl with lyxerr
2794
2795 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2796
2797         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2798
2799 2003-08-01  André Pönitz  <poenitz@gmx.net>
2800
2801         * BufferView.[Ch]:
2802         * BufferView_pimpl.[Ch]:
2803         * lyxfunc.C:
2804         * text3.C: merge BufferView::repaint() and BufferView::update()
2805
2806 2003-08-01  José Matos  <jamatos@lyx.org>
2807
2808         * buffer.[Ch]: file_format is no longer a buffer data element.
2809
2810 2003-08-01  André Pönitz  <poenitz@gmx.net>
2811
2812         * BufferView.C:
2813         * lyxtext.h:
2814         * text.C:
2815         * text2.C: make redoParagraph more independent of current cursor
2816
2817         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2818         * text.C:
2819         * text2.C: remove unneeded members
2820
2821 2003-07-30  André Pönitz  <poenitz@gmx.net>
2822
2823         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2824
2825         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2826           create a single function...
2827
2828         * paragraph_funcs.C (moveItem): ... here.
2829
2830         * text.C:
2831           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2832
2833 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2834
2835         * LColor.[Ch]: Add comment and greyedout logical colors.
2836
2837 2003-07-30  André Pönitz  <poenitz@gmx.net>
2838
2839         * tabular.C: don't use Assert too heavily. This crashes where it
2840           shouldn't
2841
2842 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2843
2844         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2845         is disabled (bug 1232)
2846
2847 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2848
2849         * factory.C: limited 'arg' scope
2850
2851 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2852
2853         * factory.C: fixed Note submenu issues
2854
2855 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2856
2857         * factory.C: submenu for Note/Comment/Greyedout
2858
2859 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2860
2861         * lyx_main.C (LyX):
2862         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2863
2864 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2865
2866         * LaTeXFeatures.C:
2867         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2868         greyedout. Patch provided by Jürgen Spitzmüller.
2869
2870 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2871
2872         * kbmap.C (read): fix error message when reading bind files
2873
2874 2003-07-29  Angus Leeming  <leeming@lyx.org>
2875
2876         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2877         certainly does not do what it purports to do. I am doing it, and
2878         us, a favour by killing it.
2879
2880 2003-07-28  José Matos  <jamatos@lyx.org>
2881
2882         * buffer.C (readBody, do_writeFile):
2883         * paragraph.C(readParagraph): \end_document replaces \the_end.
2884
2885 2003-07-29  André Pönitz  <poenitz@gmx.net>
2886
2887         * BufferView.[Ch]:
2888         * BufferView_pimpl.[Ch]:
2889         * lyxfunc.C:
2890         * text2.C:
2891         * text3.C:
2892         * textcursor.[Ch]: remove toggleToggle & Co
2893
2894 2003-07-28  José Matos  <jamatos@fep.up.pt>
2895
2896         * buffer.C (readParagraph):
2897         * params_func (readParToken, readParagraph):
2898         * paragraph.C (write): \layout -> \begin_layout.
2899
2900 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2901
2902         * lyxlex_pimpl.C (setFile): clean up slightly.
2903
2904         * bufferparams.h: add compressed var
2905
2906         * buffer_funcs.C (readFile): adjust for LyXLex change
2907         (newFile): ditto + simplify
2908
2909         * buffer.C (writeFile): handle writing of compressed files
2910
2911         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2912         Check if the file is compressed and set a bufferparm if so.
2913
2914         * Makefile.am (lyx_LDADD): remove explicit -lz
2915
2916 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2917
2918         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2919         makeDocBookFile): put the real LyX version in the first line of
2920         the file
2921
2922         * version.h:
2923         * version.C.in: remove lyx_docversion
2924
2925         * tabular.C (write_attribute): add a template-based version to
2926         write enums properly
2927
2928 2003-07-28  André Pönitz  <poenitz@gmx.net>
2929
2930         * lyxtext.h:
2931         * text.C:
2932         * text2.C:
2933         * text3.C: use doubles again for x-coordinates. They are needed.
2934
2935 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2936
2937         * messages.C (getLocaleDir): use lyx_localedir()
2938
2939         * lyxlex_pimpl.C (setFile): compress stuff
2940
2941         * buffer.C (writeFile): add some compression stuff
2942         (do_writeFile): new func, dont call expliti close... will this
2943         breake anything?
2944
2945         * Makefile.am (lyx_LDADD): add -lz
2946
2947 2003-07-28  José Matos  <jamatos@fep.up.pt>
2948
2949         * buffer.C: increment file format.
2950         * paragraph_funcs (readParagraph, readParToken):
2951         * paragraph.C (readParagraph): add \end_layout.
2952
2953 2003-07-27  Angus Leeming  <leeming@lyx.org>
2954
2955         * Makefile.am: remove special casing for configure-time setting of
2956         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2957
2958         * lyx_main.C (init): remove all Jean-Marc's magic setting of
2959         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2960
2961 2003-07-26  André Pönitz  <poenitz@gmx.net>
2962
2963         * paragraph_func.[Ch]:
2964         * paragraph.C (realizeFont): inline it whereever it is used
2965
2966         * rowpainter.C:
2967         * text.C:
2968         * text2.C:
2969         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2970
2971
2972 2003-07-26  André Pönitz  <poenitz@gmx.net>
2973
2974         *       lyxtext.h:
2975         * text.C:
2976         * text2.C: get rid of LyXText::need_break_row
2977
2978 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2979
2980         * toc.[Ch]: put namespace toc inside namespace lyx
2981
2982         * MenuBackend.C (expandToc2): adjust for lyx::toc
2983         (expandToc): ditto
2984
2985         * lyxfunc.C (dispatch): adjust for lyx::find
2986
2987         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2988         lyx::find instead. Reorganize a bit.
2989         (LyXReplace): rename to replace
2990         (LyXFind): rename to find
2991
2992         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2993         (dispatch): ditto
2994
2995 2003-07-26  André Pönitz  <poenitz@gmx.net>
2996
2997         * text.C (setHeightOfRow): restrict scope of temporary variable
2998
2999         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
3000           code (never has been used?)
3001
3002 2003-07-27  Asger Alstrup  <alstrup@local>
3003
3004         * text.C (fill): Optimise algorithm to exploit that we can reuse
3005         the LyXFont for many characters.
3006         (setHeightOfRow): Same thing.
3007         (rowBreakPoint): Same thing.
3008
3009 2003-07-26  Asger Alstrup  <alstrup@local>
3010
3011         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3012
3013         * text.C (singleWidth): Spurious font copying in hot-spot
3014         singleWidth avoided. Reorder tests for arabic for efficiency.
3015
3016         * text.C (fill): handle empty paragraphs better.
3017
3018 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3019
3020         * ispell.C:
3021         * encoding.h: add includes
3022
3023         * lyxrc.C: remove reading of bind files
3024
3025         * lyx_main.C (init): setup bindings and menus only if we have a
3026         gui.
3027
3028         * kbmap.C (read): new method. Do the actual reading of bind
3029         files.
3030
3031         * converter.C (dvipdfm_options):
3032         * bufferparams.C:
3033         * lyxrc.C (read):
3034         (output): adapt PAPER_* enums.
3035
3036         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3037
3038         * bufferparams.h: remove paper-related enums from there
3039
3040         * paper.h: New file. A trivial header file to hold paper-related
3041         enums. It should later expand to contain many paper-related
3042         horrors access.
3043
3044         * lyxrc.C: declare extern displayTranslator
3045
3046 2003-07-27  José Matos  <jamatos@fep.up.pt>
3047
3048         * tabular.[Ch] (linuxdoc): add support for tables and figures
3049         (linuxdoc).
3050
3051 2003-07-27  José Matos  <jamatos@fep.up.pt>
3052
3053         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3054         consistency in both functions.
3055         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3056
3057 2003-07-26  Asger Alstrup  <alstrup@local>
3058
3059         * rowpainter.C (paintRows): Change algorithm to work directly on
3060         the insets rather than asking every character in the document
3061         whether its an inset.
3062
3063 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
3064
3065         * buffer.C (openFileWrite): factorize some code
3066
3067 2003-07-26  Angus Leeming  <leeming@lyx.org>
3068
3069         * lyx_cb.C:
3070         * lyx_main.[Ch]: replace occurances of system_tempdir with
3071         os::getTmpDir().
3072
3073 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3074
3075         * rename Inset to InsetOld
3076
3077 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
3078
3079         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3080         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3081         which I think is a bit clearer. EDIT is gone, since it was
3082         premature optimisation, and broken for mathed anyway.
3083         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3084         with cursor positioning in insets as well (math insets still do not
3085         work, but that's a different story anyway.) It mysteriously
3086         crashes sometimes with undo in the first paragraph, but I'm fairly
3087         confident that this is a compiler bug.
3088
3089 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3090
3091         * paragraph.C (Paragraph): adjust for new clone return type
3092         (operator==): ditto
3093         (copyIntoMinibuffer): ditto
3094
3095 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
3096
3097         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3098         by not having a special case, and always doing a full rebreak of
3099         the document after undo.
3100
3101 2003-07-23  Angus Leeming  <leeming@lyx.org>
3102
3103         * factory.C (createInset): InsetExternal::setParams now takes a
3104         Buffer const * arg.
3105
3106 2003-07-23  Angus Leeming  <leeming@lyx.org>
3107
3108         * factory.C (createInset): changed interface to the external and
3109         graphics mailers' string2params functions.
3110
3111 2003-07-23  Angus Leeming  <leeming@lyx.org>
3112
3113         * factory.C (createInset): pass a
3114         Buffer const * parameter to InsetExternalMailer's string2params.
3115
3116 2003-07-22  John Levon  <levon@movementarian.org>
3117
3118         * Thesaurus.h: include the right aiksaurus header
3119
3120 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3121
3122         * MenuBackend.C (expand): check menu shortcuts unconditionally
3123
3124 2003-07-21  Angus Leeming  <leeming@lyx.org>
3125
3126         * factory.C (createInset): pass a
3127         buffer_path parameter to InsetGraphicsMailer's string2params.
3128
3129 2003-07-21  Angus Leeming  <leeming@lyx.org>
3130
3131         * BufferView_pimpl.C (buffer):
3132         * buffer.C (d-tor):
3133         * lyx_main.C (LyX):
3134         * lyxfunc.C (dispatch):
3135         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3136         rather than the grfx shortcut.
3137
3138 2003-07-21  André Pönitz  <poenitz@gmx.net>
3139
3140         * rowpainter.C: remove unused variables
3141
3142         * tabular_funcs.C:
3143         * tabular_funcs.h: move to tabular.C
3144         * Makefile.am: adjust
3145
3146         * tabular.[Ch]: basic optical cleaning
3147
3148         * author.h: pass references, not values
3149
3150 2003-07-18  André Pönitz  <poenitz@gmx.net>
3151
3152         * lyxtext.h:
3153         * metricsinfo.C:
3154         * metricsinfo.h:
3155         * rowpainter.C:
3156         * text.C:
3157         * text2.C:
3158         * text3.C: two-phase drawing for InsetText and InsetTabular
3159         some float -> int changes.
3160
3161 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3162
3163         * lyx_main.C: fix the fix
3164
3165 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3166
3167         * lyx_main.C: fix a crash in batch mode if no files specified
3168         * converter.C: ws
3169
3170 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
3171
3172         * format.[Ch] (papersize): moved to BufferParams
3173         * converter.[Ch] (dvips_options): moved to BufferParams
3174         (dvipdfm_options): moved to anon namespace
3175         * bufferparams.[Ch]: added above functions.
3176
3177 2003-07-17  André Pönitz  <poenitz@gmx.net>
3178
3179         * lyxtext.h:
3180         * rowpainter.C:
3181         * text2.C: don't call inset->update() anymore
3182
3183         * metricsinfo.[Ch]: add convenience constructor
3184
3185 2003-07-16  André Pönitz  <poenitz@gmx.net>
3186
3187         * lyxcursor.[Ch]:
3188         * lyxfunc.[Ch]:
3189         * text.C:
3190         * text2.C: replace the LyXCursor::irow_ member with
3191          on-demand computation of the value
3192
3193 2003-07-16  John Levon  <levon@movementarian.org>
3194
3195         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3196
3197 2003-07-15  André Pönitz  <poenitz@gmx.net>
3198
3199         * text.C:
3200         * text2.C: remove no more needed refresh_row
3201
3202 2003-07-15  André Pönitz  <poenitz@gmx.net>
3203
3204         * lyxtext.h:
3205         * rowpainter.C:
3206         * text2.C:
3207         * text3.C: refresh_status tristate -> need_update bool
3208
3209 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
3210
3211         * lyxtext.h (init): remove reinit argument (act as if always true)
3212         * text2.C: adjust to that
3213
3214 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3215
3216         * bufferview_funcs.[Ch]: introduce function replaceSelection()
3217         * text3.C: use it to delete selections in some cases
3218         (bugs 441, 673, 702, 954).
3219
3220 2003-07-14  André Pönitz  <poenitz@gmx.net>
3221
3222         * rowpainter.[Ch]: reduce interface
3223
3224 2003-07-14  André Pönitz  <poenitz@gmx.net>
3225
3226         * BufferView_pimpl.C:
3227         * text2.C: adjust after removing unused BufferView * argument
3228
3229 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
3230
3231         * text2.C (init): fix a crash fired on resize
3232
3233 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
3234
3235         * buffer.[Ch]: added new closing signal
3236         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3237         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3238         BufferView::Pimpl via the closing the signal
3239
3240 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
3241
3242         * buffer.[Ch]: take out all bv-related from buffer
3243         * BufferView.C:
3244         * BufferView_pimpl.[Ch]: connect to new signals
3245         * CutAndPaste.C: removed useless asserts
3246         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3247         * lyxvc.[Ch]:
3248         * vc-backend.[Ch]:
3249         * lyxfunc.C: moved view-related funciontality from vc here
3250         * paragraph.C: removed outdated comments
3251         * text.C: ws
3252
3253 2003-07-10  André Pönitz  <poenitz@gmx.net>
3254
3255         * BufferView_pimpl.C:
3256         * tabular.h:
3257         * tabular_funcs.C:
3258         * text.C:
3259         * text2.C: remove InsetText::InnerCache, clean up consequences
3260
3261 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
3262
3263         * ispell.C: fix two typos in error messages
3264
3265 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
3266
3267         * Extend Note inset to other forms of annotation like Comment
3268         and Greyedout. Right button click gives dialog.
3269
3270         Files modified or added (+):
3271
3272         * insetnote.[Ch]
3273         * FormNote.[Ch]      +
3274         * ControlNote.[Ch]   +
3275         * form_note.fd       +
3276         * Makefile.am in frontends/xforms, frontends/xforms/forms,
3277         frontends/controllers
3278         * xforms/Dialogs.C
3279         * factory.C
3280
3281 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3282
3283         * aspell.C: add missing namespace lyx::support
3284
3285 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
3286
3287         * BufferView.[Ch] (newFile): Add
3288         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3289         * LaTeX.[Ch] (message): added this signal and use it
3290         * buffer.[Ch] (busy, message): added these signals and use them
3291         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3292         * converter.C:
3293         * exporter.C:
3294         * format.C:
3295         * importer.C: use buffer signals instead of direct bv calling
3296         * lyx_cb.[Ch] (ShowMessage): removed
3297         * lyx_main.C:
3298         * lyxfunc.C:
3299         * paragraph_funcs.C:
3300         * text2.C: use buffer signals
3301
3302 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3303
3304         * introduce namespace lyx::graphics
3305
3306 2003-07-02  André Pönitz  <poenitz@gmx.net>
3307
3308         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3309
3310 2003-07-01  André Pönitz  <poenitz@gmx.net>
3311
3312         * text.C:
3313         * text2.C:
3314         * text3.C:
3315         * text_funcs.[Ch]:
3316         * textcursor.h:
3317         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3318           text*.C to text_func.C
3319
3320 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3321
3322         * introduce namespace lyx::support
3323
3324 2003-06-30  André Pönitz  <poenitz@gmx.net>
3325
3326         * Chktex.C:
3327         * funcrequest.C:
3328         * lyxtext.h:
3329         * text.C: re-enable --with-included-string
3330
3331 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3332
3333         * textcursor.C: add <config.h>
3334
3335         * text.C (getWord): remove const from word_location arg
3336
3337         * lyxvc.C (getLogFile): fix const type order
3338
3339         * lyxtext.h: remove const from word_location arg, add arg name
3340
3341         * lyxlayout.h: currect type on labeltype.
3342
3343         * importer.C: correct \file
3344
3345         * converter.C (intToFormat): use std:: on ret val, ws changes
3346
3347         * bufferlist.h: correct \file
3348
3349         * buffer.C (makeLinuxDocFile): fix const type order
3350         (makeDocBookFile): ditto
3351         (fillWithBibKeys): use std:: on stdlib args.
3352
3353         * CutAndPaste.C: fix authors.
3354         (availableSelections): use std:: on return vector
3355
3356 2003-06-27  André Pönitz  <poenitz@gmx.net>
3357
3358         * BufferView_pimpl.C:
3359         * bufferview_funcs.C:
3360         * lyxcursor.C:
3361         * lyxcursor.h:
3362         * lyxfunc.C:
3363         * lyxtext.h:
3364         * rowpainter.C:
3365         * text.C:
3366         * text2.C:
3367         * text3.C: remove LyXCursor::row_ member
3368
3369         * lyxtext.h:
3370         * text.C: rename fullRebreak() to partialRebreak() and implement
3371           a fullRebreak() that really bereks fully
3372
3373         * textcursor.h: new struct for cursor-related data
3374
3375 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
3376
3377         * lyx_main.C (LyX): get full path of document loaded on the
3378         command line
3379
3380 2003-06-26  André Pönitz  <poenitz@gmx.net>
3381
3382         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3383           remove unused/broken operator>,<,>=.
3384
3385         *       text.C: remove only use of broken operator<= in an Assert().
3386
3387 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3388
3389         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3390         moved errorlist_.clear to showErrorList
3391
3392 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3393
3394         * converter.C (scanLog, runLaTeX):
3395         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3396         move the bv->showErrorList call to the callers
3397         * lyxfunc.C: i.e. here...
3398         * text2.C: and here
3399         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3400         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3401         namespace, the second to...
3402         * buffer_funcs (BufferFormat, parseErrors): added
3403         * errorlist.C (ErrorList(TeXErrors const &)): removed
3404
3405 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3406
3407         * ToolbarBackend.C (getIcon): complain when icon cannot be found
3408
3409 2003-06-24  "Garst R. Reese" <reese@isn.net>
3410
3411         * debug.C: fix typo
3412
3413 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3414
3415         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3416
3417         * version.C.in: change docversion to 1.4
3418
3419 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
3420
3421         * buffer.C: fix a bug just introduced
3422
3423 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
3424
3425         * buffer.[Ch]: added the parseError signal and use it, removed
3426         sgmlError
3427         * BufferView.[Ch] (addError): moved to ...
3428         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3429         to the Buffer::parseError signal to catch (guess what) parse errors
3430         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3431
3432 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
3433
3434         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3435         ability to create a buffer and to return an existing one from
3436         the list. Moved these functions to...
3437         * buffer_funcs.[Ch]: added
3438         * BufferView.[Ch] (loadLyXFile): added
3439         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3440         job removed from bufferlist::loadLyXFile.
3441         * buffer.C (setReadOnly): make it work without view
3442         (i.e added an if (users))
3443
3444 2003-06-19  Angus Leeming  <leeming@lyx.org>
3445
3446         * lfuns.h:
3447         * LyXAction.C (init):
3448         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3449         with LFUN_DIALOG_SHOW <name> <data>.
3450
3451 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3452
3453         * CutAndPaste.C (availableSelections): small compilation fix for
3454         ancient (gcc 2.9x) compilers
3455
3456 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3457
3458         * text3.C (cursorNext): add tmp var
3459
3460         * text2.C (updateCounters): for function calling out of for clause
3461         (replaceSelectionWithString): ditto
3462         (insertStringAsParagraphs): ditto
3463         (getColumnNearX): add tmp var
3464         (setCursorFromCoordinates): add tmp var
3465         (cursorDownParagraph): add tmp var
3466         (deleteEmptyParagraphMechanism): add tmp var
3467
3468         * text.C (insertChar): add tmp var
3469
3470         * rowpainter.C (paintDepthBar): add tmp var
3471
3472         * CutAndPaste.C (availableSelections): potentially check all
3473         paragraphs in a cut to fill the shown strings.
3474
3475 2003-06-18  André Pönitz  <poenitz@gmx.net>
3476
3477         * kbmap.[Ch]: use vector<> instead of list<>
3478
3479 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
3480
3481         * text3.C (dispatch): handle arg to LFUN_PASTE, call
3482         pasteSelection with index
3483
3484         * text2.C (pasteSelection): modify, call pasteSelection with index
3485
3486         * paragraph.C (asString): reimplement version with no interval to
3487         call the one with interval.
3488
3489         * lyxtext.h: add index arg to pasteSelection
3490
3491         * MenuBackend.C (MenuItem): handle PasteRecent
3492         (Menu::read::Menutags): add md_pasterecent
3493         (read): handle it
3494         (expandPasteRecent): new function
3495         (expand): use it
3496
3497         * MenuBackend.h: add PasteRecent to MenuItem::Kind
3498
3499         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3500         the limited stack
3501         (availableSelections): new function
3502
3503 2003-06-17  Angus Leeming  <leeming@lyx.org>
3504
3505         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3506
3507 2003-06-17  Angus Leeming  <leeming@lyx.org>
3508
3509         * lfuns.h:
3510         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3511
3512         * lyxfunc.C (dispatch): invoke it.
3513
3514 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3515
3516         * iterators.C (operator++, ParPosition): reintroduce some
3517         const_cast for the benefit of older compilers.
3518
3519 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3520
3521         * text3.C (dispatch): do not modify clipboard when doing
3522         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3523         LFUN_DELETE_SKIP on a selection selection
3524
3525 2003-06-16  André Pönitz  <poenitz@gmx.net>
3526
3527         * BufferView.C:
3528         * buffer.C:
3529         * buffer.h:
3530         * paragraph.C:
3531         * tabular.[Ch]: IU of clone() and getLabelList();
3532
3533 2003-06-13  André Pönitz  <poenitz@gmx.net>
3534
3535         * tabular.h: compactification
3536
3537 2003-06-12  André Pönitz  <poenitz@gmx.net>
3538
3539         * tabular.C:
3540         * tabular.h:
3541         * tabular_funcs.h: some renaming plus whitespace
3542
3543 2003-06-12  André Pönitz  <poenitz@gmx.net>
3544
3545         * BufferView.C:
3546         * BufferView_pimpl.C:
3547         * CutAndPaste.C:
3548         * buffer.C:
3549         * iterators.[Ch]:
3550         * lyxfunc.C:
3551         * text.C:
3552         * toc.C: Return a Paragraph & for ParIterator::operator*()
3553
3554 2003-06-11  John Levon  <levon@movementarian.org>
3555
3556         * lyx_main.C:
3557         * ToolbarBackend.h:
3558         * ToolbarBackend.C: add "Toolbars" section and
3559         put the flags there
3560
3561 2003-06-10  Angus Leeming  <leeming@lyx.org>
3562
3563         * lfuns.h:
3564         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3565
3566         * lyxfunc.C (dispatch): invoke it.
3567
3568 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3569
3570         * main.C: protect <ios> with HAVE_IOS
3571         (main): protect sync_with_stdio with HAVE_IOS
3572
3573 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
3574
3575         * text2.C (cutSelection): adjust
3576         (pasteSelection): adjust
3577
3578         * messages.C: handle get of empty string
3579
3580         * main.C (main): use sync_with_stdio(false)
3581
3582         * lyxfunc.C (dispatch): adjust
3583
3584         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3585         (WriteAs): remove unneeded BufferView arg.
3586
3587         * bufferparams.h: use correct types on papersize, papersize2 and
3588         paperpackage.
3589
3590         * bufferparams.C (readToken): adjust for type
3591         (writeLaTeX): add missing cases to switch.
3592
3593         * bufferlist.C (quitWriteBuffer): adjust
3594         (close): adjust
3595
3596         * buffer.C (asciiParagraph): remove some commented code.
3597
3598         * CutAndPaste.C: remove current_view extern variable.
3599         (cutSelection): add BufferParams arg.
3600         (eraseSelection): add BufferParams arg.
3601         (pasteSelection): add Buffer const & arg
3602
3603 2003-06-07  John Levon  <levon@movementarian.org>
3604
3605         * buffer.C:
3606         * paragraph_funcs.C:
3607         * paragraph_pimpl.C:
3608         * text.C:
3609         * text2.C:
3610         * paragraph.h:
3611         * paragraph.C: allow InsetERT to freely space lines,
3612         and some consolidation of code
3613
3614 2003-06-06  José Matos  <jamatos@fep.up.pt>
3615
3616         * buffer.C (makeDocBookFile): fix bug #821
3617
3618 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
3619
3620         * BufferView_pimpl.C (dispatch): use Dialogs::visible
3621
3622 2003-06-04  Angus Leeming  <leeming@lyx.org>
3623
3624         * buffer.C: bump format to 224.
3625
3626 2003-06-05  André Pönitz  <poenitz@gmx.net>
3627
3628         * text2.C (redoParagraphs): remove two const_cast<>
3629
3630 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3631
3632         * ParagraphList.h: remove last remnants of NO_STD_LIST
3633
3634 2003-06-03  Angus Leeming  <leeming@lyx.org>
3635
3636         * factory.C (createInset): small change to the way InsetExternal's params
3637         are set.
3638
3639 2003-06-04  André Pönitz  <poenitz@gmx.net>
3640
3641         * buffer.h: use Undo directly instead of shared_ptr<Undo>
3642
3643         * paragraph_pimpl.h:
3644         * paragraph.[Ch]: some Inset -> UpdatableInset changes
3645
3646         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3647
3648         * undo_funcs.C: make some simple cases of undo work again
3649
3650 2003-06-03  John Levon  <levon@movementarian.org>
3651
3652         * ispell.C: HPUX doesn't have sys/select.h
3653         (from Albert Chin)
3654
3655 2003-06-03  John Levon  <levon@movementarian.org>
3656
3657         * CutAndPaste.C: update tabular and include inset
3658         buffer references
3659
3660         * buffer.h:
3661         * paragraph.h:
3662         * paragraph.C: remove owningBuffer(), don't pass Buffer
3663         to clone()
3664
3665         * factory.C: insetGraphicsParams changed
3666
3667 2003-06-02  John Levon  <levon@movementarian.org>
3668
3669         * LyXAction.C:
3670         * factory.C:
3671         * lfuns.h:
3672         * lyxfunc.C:
3673         * text3.C: remove insetparent
3674
3675 2003-06-02  John Levon  <levon@movementarian.org>
3676
3677         * buffer.h:
3678         * buffer.C: fix inset_iterator.end(), move out of line
3679         (bug 1149)
3680
3681 2003-06-01  John Levon  <levon@movementarian.org>
3682
3683         * text3.C: use a proper cut/paste when doing inset
3684         insert (from Jürgen Spitzmüller)
3685
3686 2003-06-01  John Levon  <levon@movementarian.org>
3687
3688         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3689
3690 2003-05-30  André Pönitz  <poenitz@gmx.net>
3691
3692         * rowpainter.C: unify second drawing phase
3693
3694 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3695
3696         * trans_mgr.C: remove one case of current_view
3697
3698         * text2.C (cursorBottom): delete NO_STD_LIST stuff
3699
3700         * paragraph_funcs.h: remove paragraph.h include
3701
3702         * paragraph.h: delete NO_STD_LIST stuff
3703
3704         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3705
3706         * buffer.h: remove paragraph.h include
3707
3708         * ParagraphList.C: delete file
3709
3710         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3711
3712         * toc.C (getTocList): adjust
3713
3714         * paragraph_pimpl.C (validate): adjust
3715
3716         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3717
3718         * paragraph.C (Paragraph): adjust
3719         (getPositionOfInset): use const_iterator, adjust
3720         (bibitem): use const_iterator, adjust
3721         (setInsetOwner): adjust
3722
3723         * iterators.C (operator++): adjust
3724
3725         * InsetList.[Ch]: Replace selfmade iterator with standard
3726         vector::iterator also introduce const_iterator. Remove getPos,
3727         getInset and setInset from InsetTable. Adjust accordingly.
3728
3729         * BufferView.C (lockInset): adjust
3730         (ChangeInsets): adjust
3731
3732         * tabular.[Ch]: delete commented same_id functions
3733
3734 2003-05-28  John Levon  <levon@movementarian.org>
3735
3736         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3737
3738 2003-05-28  André Pönitz  <poenitz@gmx.net>
3739
3740         * metricsinfo.[Ch]: remove 'fullredraw' member
3741
3742 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3743
3744         * lyxtextclass.C (operator): remove caching.
3745
3746 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3747
3748         * text3.C: adjust
3749
3750         * text2.C (cursorBottom): adjust
3751         (setCounter): use ParagraphList::find, adjust
3752
3753         * text.C (workWidth): use ParagraphList::find, adjust
3754
3755         * lyxcursor.C (LyXCursor): adjust
3756
3757         * buffer.C (inset_iterator): adjust
3758
3759         * ParagraphList.h: make iterator(value_type) private, make
3760         ParagraphList a friend of iterator.
3761
3762         * ParagraphList.C (find): new function
3763
3764         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3765
3766 2003-05-27  André Pönitz  <poenitz@gmx.net>
3767
3768         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3769
3770 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3771
3772         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3773
3774 2003-05-26  John Levon  <levon@movementarian.org>
3775
3776         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3777
3778 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3779
3780         * remove same_id from function signatures, adjust.
3781
3782 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3783
3784         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3785
3786         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3787
3788         * paragraph.C (Paragraph): get rid of same_ids parameter
3789
3790         * ParagraphList.C (insert): adjust
3791         (push_back): adjust
3792
3793 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3794
3795         * paragraph_funcs.C (breakParagraph): adjust
3796         (breakParagraphConservative): adjust
3797
3798         * buffer.C (readParagraph): adjust
3799
3800         * ParagraphList.C (insert): take a reference instead of a pointer
3801         (insert): adjust
3802
3803         * paragraph.[Ch] (id): new function
3804
3805         * bufferlist.C (newFile): adjust
3806
3807         * ParagraphList.C (ParagraphList): adjust
3808         (assign): adjust
3809         (push_back): take a reference instead of a pointer.
3810
3811         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3812
3813         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3814         instead.
3815
3816         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3817         set else use old code.
3818
3819         * ParagraphList.C: remove all NO_NEXT code and only compile this
3820         code of NO_STD_LIST is set.
3821
3822 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3823
3824         * BufferView_pimpl.C:
3825         * TextCache.C:
3826         * TextCache.h:
3827         * bufferlist.C:
3828         * errorlist.h:
3829         * format.C:
3830         * format.h:
3831         * graph.C:
3832         * lyxfunc.C:
3833         * lyxrc.C:
3834         * graphics/GraphicsConverter.C:
3835         * graphics/PreviewLoader.C: header adjustment
3836
3837 2003-05-23  Angus Leeming  <leeming@lyx.org>
3838
3839         * LaTeXFeatures.[Ch] (useBabel): new method.
3840         * bufferparams.C (writeLaTeX): use it.
3841
3842 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3843
3844         * ParagraphList.h (set): remove unused function.
3845
3846 2003-05-23  André Pönitz  <poenitz@gmx.net>
3847
3848         * BufferView.C:
3849         * BufferView_pimpl.C:
3850         * buffer.C:
3851         * buffer.h:
3852         * lyxfunc.C:
3853         * undo_funcs.C: setUndo reworked
3854
3855         * iterators.[Ch]: add access to topmost ParagraphList
3856
3857         * lyxtext.[Ch] (workWidth): add a const
3858
3859 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3860
3861         * texrow.[Ch] (increasePos): remove function
3862         * exporter.C (export): removed unused var and outdated comment
3863
3864 2003-05-23  Angus Leeming  <leeming@lyx.org>
3865
3866         * latexrunparams.h: rename fragile as moving_arg.
3867         * paragraph.C (simpleTeXOnePar): ditto.
3868         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3869
3870 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3871
3872         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3873         (createUndo): ditto
3874         (textUndoOrRedo): comment out a currently unused var.
3875
3876         * paragraph.h (NO_NEXT): enable NO_NEXT
3877
3878         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3879
3880         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3881
3882         * exporter.C (Export): adjust for removeAutoInsets removal.
3883
3884         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3885
3886         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3887
3888         * BufferView.[Ch] (removeAutoInsets): delete function
3889
3890 2003-05-22  Angus Leeming  <leeming@lyx.org>
3891
3892         * latexrunparams.h: add a free_spacing variable.
3893
3894         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3895         to pass moving_arg, as the data is stored in runparams.fragile.
3896
3897         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3898         to Inset::latexOptional or to simpleTeXOnePar.
3899
3900         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3901         free_spacing arg to Inset::latexOptional.
3902
3903         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3904         free_spacing arg.
3905
3906 2003-05-22  Angus Leeming  <leeming@lyx.org>
3907
3908         * latexrunparams.h: add fragile and use_babel variables.
3909
3910         * bufferparams.[Ch] (writeLaTeX): return use_babel.
3911         * buffer.C (makeLaTeXFile): store this returned value in
3912         runparams.use_babel, thus passing it to the inset::latex methods.
3913
3914         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3915         simpleTeXSpecialChars as it is now stored in runparams.fragile.
3916
3917         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3918         longer has a fragile arg, as it is stored in runparams.fragile.
3919
3920         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3921         moving_arg parameter as the data is stored in runparams.fragile.
3922
3923         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3924         a fragile parameter as the data is stored in runparams.fragile.
3925
3926 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3927
3928         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3929
3930 2003-05-22  Angus Leeming  <leeming@lyx.org>
3931
3932         * latexrunparams.h: add a 'bool nice' which defaults to false.
3933
3934         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3935         now encapsulated within runparams.
3936
3937         * bufferlist.C (updateIncludedTeXfiles):
3938         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3939
3940 2003-05-22  Angus Leeming  <leeming@lyx.org>
3941
3942         * latexrunparams.h: new file containing struct LatexRunParams.
3943         * Makefile.am: add new file.
3944
3945         * LaTeX.[Ch] (c-tor, run):
3946         * buffer.[Ch] (makeLaTeXFile):
3947         * bufferlist.[Ch] (updateIncludedTeXfiles):
3948         * converter.C (convert, scanLog):
3949         * converter.[Ch] (runLaTeX):
3950         * exporter.C (Export):
3951         * paragraph.[Ch] (simpleTeXOnePar):
3952         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3953         * paragraph_funcs.[Ch] (latexParagraphs):
3954         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3955         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3956         pass around a LatexRunParams parameter.
3957
3958 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3959
3960         * paragraph.[Ch]: remove unused constructor
3961
3962         * ParagraphList.C (erase): new function, taking two iterators
3963
3964 2003-05-22  André Pönitz  <poenitz@gmx.net>
3965
3966         * undo_funcs.C: remove duplicated code
3967
3968         * iterator.[Ch]: operator=
3969
3970 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3971
3972         * tabular.C (SetMultiColumn): ws changes
3973
3974         * rowpainter.C (paintFirst): get rid of a ->previous
3975
3976         * lyx_cb.C (getPossibleLabel): parlist simplification
3977
3978         * BufferView.C (ChangeInsets): simplify slightly.
3979
3980 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3981
3982         * LyXAction.C: new lfun space-insert, kill protected-space-insert
3983         * lfuns.h: new LFUN_SPACE
3984         * lyxfunc.C: protected space has a new lfun
3985         * paragraph_funcs.C: read new space insets
3986         * text3.C:
3987         * factory.C: handle new space insets
3988
3989 2003-05-22  André Pönitz  <poenitz@gmx.net>
3990
3991         * BufferView.C:
3992         * BufferView_pimpl.C:
3993         * buffer.[Ch]:
3994         * lyxfunc.C:
3995         * undo_funcs.C: return a ParIterator from getParFromID.
3996
3997         * iterators.[Ch]: add two const's
3998
3999 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4000
4001         * toc.C (getTocList): adjust
4002
4003         * iterators.[Ch]: rework for parlist
4004
4005         * buffer.C (par_iterator_begin): adjust
4006         (par_iterator_end): adjust
4007
4008         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4009
4010         * BufferView.C (removeAutoInsets): adjust
4011         (ChangeInsets): adjust
4012
4013 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
4014
4015         * text.C (top_y): fix bug 1110
4016
4017 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
4018
4019         * errorlist.[Ch]: added
4020         * buffer.C:
4021         * BufferView.[Ch]:
4022         * BufferView_pimpl.C:
4023         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4024         instead
4025
4026 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4027
4028         * Makefile.am: ensure that lyx is relinked upon changes to the
4029         various "convenience" libs.
4030
4031 2003-05-20  Angus Leeming  <leeming@lyx.org>
4032
4033         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4034         files are compiled in alphabetical order again.
4035
4036         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4037
4038 2003-05-19  Angus Leeming  <leeming@lyx.org>
4039
4040         * gettext.[Ch]: remove "char const * _(char const *)".
4041
4042 2003-05-19  André Pönitz  <poenitz@gmx.net>
4043
4044         * dimension.[Ch]: promote from mathed/dimension.[Ch]
4045
4046         * Makefile.am:
4047         * BufferView.C:
4048         * DepTable.h:
4049         * LaTeXFeatures.C:
4050         * buffer.C:
4051         * lyxfont.C:
4052         * lyxlex.h:
4053         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4054
4055 2003-05-19  André Pönitz  <poenitz@gmx.net>
4056
4057         * buffer.C:
4058         * lyxlayout.[Ch]:
4059         * lyxtextclass.[Ch]:
4060         * paragraph.C:
4061         * paragraph_funcs.[Ch]:
4062         * text2.C:
4063         * text3.C: more insetenv work
4064
4065 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
4066
4067         * ParagraphParameters.C (params2string): small bug fixed
4068
4069 2003-05-16  André Pönitz  <poenitz@gmx.net>
4070
4071         * debug.C:
4072         * bufferview_funcs.C: patch from Kornel Benko to prevent
4073           crash when _(...) is called twice in a statement
4074
4075 2003-05-16  André Pönitz  <poenitz@gmx.net>
4076
4077         * BufferView.C:
4078         * lyxfunc.C:
4079         * text.C:
4080         * text2.C:
4081         * text3.C:
4082         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4083
4084 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
4085
4086         * lyx_main.C (init): remove spurious static_cast
4087
4088 2003-05-14  André Pönitz  <poenitz@gmx.net>
4089
4090         * BufferView.C: fix format string
4091
4092 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
4093
4094         * BufferView.[Ch] (insertErrors): removed
4095         * BufferView.[Ch] (showErrorList): added
4096         * buffer.C (runChkTeX):
4097         * converter.C (scanLog): call showErrorList instead of inserterrors
4098
4099 2003-05-13  André Pönitz  <poenitz@gmx.net>
4100
4101         * BufferView_pimpl.C:
4102         * buffer.C:
4103         * bufferview_func.C:
4104         * MenuBackend.C:
4105         * lyxfunc.C:
4106         * lyxrc.C:
4107         * tex-accent.C:
4108         * text3.C:
4109         * toc.C:
4110         * tabular_funcs.h: tostr() from its own header
4111
4112         * ParagraphParameters.C:
4113         * ToolbarBackend.C:
4114         * bufferparams.C:
4115         * format.C:
4116         * lyxlex_pimpl.C:
4117         * text3.C: STRCONV()
4118
4119 2003-05-12  André Pönitz  <poenitz@gmx.net>
4120
4121         * BufferView.C:
4122         * BufferView_pimpl.C:
4123         * CutAndPaste.C:
4124         * LaTeX.C:
4125         * LaTeXFeatures.C:
4126         * ParagraphParameters.C:
4127         * buffer.C:
4128         * bufferlist.C:
4129         * bufferparams.C:
4130         * bufferview_funcs.C:
4131         * converter.C:
4132         * counters.C:
4133         * debug.C:
4134         * exporter.C:
4135         * format.C:
4136         * importer.C:
4137         * lyx_cb.C:
4138         * lyx_main.C:
4139         * lyxfont.C:
4140         * lyxfunc.C:
4141         * lyxvc.C:
4142         * paragraph.C:
4143         * paragraph_funcs.C:
4144         * tabular.C:
4145         * tabular_funcs.C:
4146         * text2.C:
4147         * text3.C:  boost::format -> bformat  all over the place
4148
4149
4150 2003-05-09  André Pönitz  <poenitz@gmx.net>
4151
4152         * LColor.[Ch]: Pimpl the #include <map> away
4153
4154 2003-05-09  John Levon  <levon@movementarian.org>
4155
4156         * bufferlist.C: never remove emergency saves
4157
4158 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4159
4160         * Makefile.am: better lib building
4161
4162 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4163
4164         * texrow.[Ch]: remove dependency on Paragraph and just store a id
4165         instead.
4166         * paragraph_pimpl.C (simpleTeXBlanks): adjust
4167         (simpleTeXSpecialChars): adjust
4168         (simpleTeXSpecialChars): adjust
4169         * paragraph.C (simpleTeXOnePar): adjust
4170         * buffer.C (makeLaTeXFile): adjust
4171
4172         * Makefile.am (BOOST_LIBS): allow boost as system lib.
4173
4174         * text2.C (changeDepth): parlist cleanup
4175         (getColumnNearX): ditto
4176
4177         * rowpainter.C (getLabelFont): parlist cleanup
4178
4179         * bufferlist.C (newFile): parlist cleanup
4180
4181         * CutAndPaste.C (eraseSelection): parlist cleanup
4182
4183         * BufferView_pimpl.C (trackChanges): parlist cleanup
4184         (dispatch): ditto
4185
4186         * BufferView.C (lockInset): parlist cleanup.
4187         (ChangeInsets): ditto
4188
4189 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4190
4191         * CutAndPaste.h: Update file header.
4192
4193         * CutAndPaste.C: Update file header.
4194         Store the parts cut out of the Document in a limited_stack.
4195         (copySelection): adjust
4196         (pasteSelection): new function, takes the index in the limited stack.
4197         (nrOfParagraphs): adjust
4198         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4199         simplify error inset insertion.
4200         (checkPastePossible): adjust
4201
4202 2003-05-06  John Levon  <levon@movementarian.org>
4203
4204         * text2.C: don't cast wrap inset to float
4205
4206 2003-05-05  André Pönitz  <poenitz@gmx.net>
4207
4208         * iterator.C:
4209         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4210
4211         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4212           few naked Paragraph *.
4213
4214 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
4215
4216         * bufferparams.C: Output warning if a document with missing
4217         TeX document class is loaded
4218         * exporter.C: Disable TeX exports if the document class is missing
4219         * lyxtextclass.C:
4220         * lyxtextclass.h:
4221         * lyxtextclasslist.C: Handle new textclass.lst format; new method
4222         isTeXClassAvailable()
4223
4224 2003-05-03  John Levon  <levon@movementarian.org>
4225
4226         * BufferView.h:
4227         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4228         explicit cursor show/hide
4229
4230         * BufferView_pimpl.h:
4231         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4232         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4233
4234         * lyxfunc.C: hide cursor before dispatching.
4235
4236         * lyx_cb.C:
4237         * lyxfind.C:
4238         * text.C:
4239         * text3.C: remove explicit cursor hides
4240
4241 2003-05-02  André Pönitz  <poenitz@gmx.net>
4242
4243         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4244
4245         * undo_funcs.C:
4246         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4247           linked lists
4248
4249         * text2.C: tiny whitespace
4250
4251 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4252
4253         * undo_funcs.C: almost only ws changes.
4254
4255         * ParagraphList.C (splice): just return if pl is empty.
4256
4257 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4258
4259         * ParagraphList.C (splice): new function.
4260
4261         * CutAndPaste.C (pasteSelection): use it
4262
4263 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4264
4265         * CutAndPaste.C (pasteSelection): remove the last next and
4266         previous from this file.
4267
4268 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4269
4270         * CutAndPaste.C (pasteSelection): more clean up, user proper
4271         ParagraphList functions for pasteing.
4272
4273         * ParagraphList.C (insert): new function, three arg insert
4274
4275 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4276
4277         * ParagraphList.C (insert): new function, three arg insert
4278
4279         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4280         not on paragraphs.
4281
4282 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4283
4284         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4285
4286 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4287
4288         * CutAndPaste.C (pasteSelection): remove some unneeded code.
4289
4290 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4291
4292         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4293         (copySelection): clean up a bit.
4294         (pasteSelection): use make_pair
4295
4296         * ParagraphList.C (ParagraphList): implement copy constructor
4297         (operator=): implement, base on copy constructor.
4298         (assign): new func
4299
4300         * paragraph.C (erase): return a bool
4301
4302         * paragraph_pimpl.C (erasePos): remove function, move contents...
4303         (erase): ... here. Return a bool.
4304         (erase): call erase instead of erasePos.
4305
4306 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
4307
4308         * ParagraphList.h: define PitPosPair
4309         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4310         ParagraphList, fix a bug on pasting multiple pars
4311         * text2.C: change interface to C&P
4312
4313 2003-04-30  André Pönitz  <poenitz@gmx.net>
4314
4315         * undo_func.C: revert part of yesterday's patch 2
4316
4317 2003-04-30  John Levon  <levon@movementarian.org>
4318
4319         * LColor.C: s/tabular/table/
4320
4321 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4322
4323         * text3.C (dispatch): do not convert iterator -> pointer
4324         * undo_funcs.C (setCursorParUndo): ditto
4325         * text_funcs.C (transposeChars): ditto
4326
4327         * text2.C (setLayout): ws changes only
4328
4329         * text.C (breakParagraph): do not convert iterator -> pointer
4330         (insertChar): ditto
4331         (acceptChange): ditto
4332         (rejectChange): ditto
4333         (changeCase): ditto
4334         (Delete): ditto
4335         (backspace): ditto
4336
4337         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4338         pointer
4339
4340 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4341
4342         * text3.C (gotoInset): YABG (yet another bad getChar)
4343
4344 2003-04-29  André Pönitz  <poenitz@gmx.net>
4345
4346         * paragraph.h: make operator= private unimplemented as long as
4347           it is unusable
4348
4349         * ParagraphList.C: whitespace
4350
4351         * paragraph.[Ch]:
4352         * paragraph_pimpl.[Ch]:
4353         * paragraph_funcs.C:
4354         * CutAndPaste.C:
4355         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
4356
4357         * text2.C:
4358           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4359
4360 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4361
4362         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4363         * paragraph.[Ch] (erase):
4364         * paragraph_pimpl.[Ch] (erase): change return type and value
4365         * text2.C (cutSelection): some rework
4366
4367 2003-04-28  John Levon  <levon@movementarian.org>
4368
4369         * bufferlist.C: changes for unsaved changes dialog
4370
4371 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4372
4373         * bufferlist.C (newFile): set language (messages_) for new
4374         documents also.
4375
4376         * buffer.C (readFile): ws changes only.
4377
4378 2003-04-28  André Pönitz  <poenitz@gmx.net>
4379
4380         * undo_funcs.C:
4381         * lyxfunc.C:
4382         * buffer.[Ch]:
4383         * BufferView_pimpl.C:
4384         * BufferView.C: getParFromID related ParagraphList::iterator changes
4385
4386 2003-04-28  André Pönitz  <poenitz@gmx.net>
4387
4388         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4389           Changes
4390
4391 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4392
4393         * messages.C: remove one more localedir class variable.
4394
4395 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4396
4397         * messages.C (getLocaleDir): singleton generation function
4398         (Pimpl): use it.
4399         (Messages): add a default constructor.
4400
4401         * main.C (main): do not setup localedir here, do not call
4402         gettext_init.
4403
4404         * gettext.C (_): use it.
4405         (gettext_init): delete funciton
4406
4407 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4408
4409         * gettext.C (getLyXMessages): new singleton generating function.
4410
4411         * buffer.C (updateDocLang): adjust
4412
4413         * Makefile.am (messages.o): add target
4414         (main.o): remove target
4415
4416 2003-04-27  John Levon  <levon@movementarian.org>
4417
4418         * bufferlist.C:
4419         * lyx_cb.C:
4420         * lyxfunc.C:
4421         * lyxvc.C: specify cancel button in Alert::prompt
4422
4423 2003-04-26  John Levon  <levon@movementarian.org>
4424
4425         * text3.C:
4426         * lyxfunc.C:
4427         * lfuns.h:
4428         * LyXAction.C: add LFUN_INSET_SETTINGS
4429
4430         * lyxfunc.C: don't enable tabular-feature when there's
4431         just any locking inset
4432
4433 2003-04-26  John Levon  <levon@movementarian.org>
4434
4435         * bufferlist.C: re-add Cancel to buffer close question
4436
4437         * lyxfunc.C: fix import UI a bit
4438
4439 2003-04-25  John Levon  <levon@movementarian.org>
4440
4441         * gettext.C: remove the broken asserts for now
4442
4443 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4444
4445         * messages.C: make case where setlocale cannot comply work better.
4446
4447         * buffer.C (updateDocLang): new function
4448         (changeLanguage): use it
4449         (readFile): use it
4450
4451         * text2.C (setCounter): use B_ a bit.
4452
4453         * lyxlayout.C (Read): be sure to trim the label strings.
4454
4455         * messages.C (Messages): fix typo in comment
4456
4457         * buffer.C (readFile): set message_ after file is loaded.
4458         (makeDocBookFile): remove double return
4459         (changeLanguage): reset message_ upon language change.
4460         (B_): new func, use this to get translated buffer strings.
4461
4462         * main.C: add myself and Jean Marc as authors.
4463
4464 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4465
4466         * messages.[hC]: pimplify Messages, and three different pimpls to be
4467         used in different circumstances.
4468
4469         * gettext.[Ch]: change for use with new message code.
4470
4471 2003-04-24 André Pönitz <poenitz@gmx.net>
4472
4473         * factory.C: support for eqref
4474
4475 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4476
4477         * messages.[Ch]: add missing char
4478
4479         * Makefile.am (lyx_SOURCES): add messages.[Ch]
4480
4481         * messages.[Ch]: New files
4482
4483 2003-04-18  John Levon  <levon@movementarian.org>
4484
4485         * BufferView.h:
4486         * BufferView.C:
4487         * BufferView_pimpl.C:
4488         * lfuns.h:
4489         * LyXAction.C:
4490         * lyxtext.h:
4491         * text2.C: remove layout-copy/paste (bug 778)
4492
4493 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4494
4495         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4496
4497 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4498
4499         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4500         if they succeed. Act accordingly.
4501
4502 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4503
4504         * text2.C (setCharFont): adjust
4505         (setCounter): adjust
4506         (insertStringAsLines): adjust
4507
4508         * text.C (leftMargin): adjust
4509         (setHeightOfRow): adjust
4510
4511         * rowpainter.C (paintFirst): adjust
4512         (paintLast): adjust
4513
4514         * paragraph_funcs.C (depthHook): ParagraphList::iterators
4515         (outerHook): ditto
4516         (isFirstInSequence): ditto
4517         (getEndLabel): ditto
4518         (outerFont): adjust
4519
4520         * paragraph.C (getParLanguage): comment out some hard stuff.
4521
4522         * buffer.C (insertStringAsLines): take a ParagraphList as arg
4523         (sgmlError): ditto
4524         (simpleDocBookOnePar): ditto
4525         (makeDocBookFile): use ParagraphList::iterator
4526
4527         * CutAndPaste.C (pasteSelection): adjust
4528
4529 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4530
4531         * text2.C (getFont): adjust
4532         (getLayoutFont): adjust
4533         (getLabelFont): adjust
4534
4535         * paragraph_funcs.C (TeXOnePar): adjust
4536
4537         * buffer.C (simpleLinuxDocOnePar): adjust
4538         (simpleDocBookOnePar): adjust
4539
4540         * CutAndPaste.C (pasteSelection): adjust
4541
4542         * BufferView.C (getEncoding): adjust
4543
4544         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4545
4546 2003-04-16  John Levon  <levon@movementarian.org>
4547
4548         * lyxfind.C: use parlist stuff for search/changes
4549
4550 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4551
4552         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4553
4554         * text2.C (deleteEmptyParagraphMechanism): adjust
4555
4556         * text2.[Ch] (ownerParagraph): delete func (both of them
4557
4558 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4559
4560         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4561
4562 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4563
4564         * ParagraphList.C: prepare for NO_NEXT
4565
4566 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4567
4568         * text2.C (getFont): adjust
4569         (getLayoutFont): adjust
4570         (getLabelFont): adjust
4571
4572         * paragraph.C (getFont): adjust
4573         (getLabelFont): adjust
4574         (getLayoutFont): adjust
4575
4576         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4577
4578 2003-04-15  John Levon  <levon@movementarian.org>
4579
4580         From Angus Leeming
4581
4582         * lyx_main.C: handle Include in .ui files
4583
4584 2003-04-15  John Levon  <levon@movementarian.org>
4585
4586         * MenuBackend.C: make the doc files length shorter
4587
4588         * ToolbarBackend.h:
4589         * ToolbarBackend.C: handle toolbar placement flags,
4590         Minibuffer
4591
4592 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4593
4594         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4595         adjust
4596
4597         * paragraph_funcs.C (TeXOnePar): adjust
4598
4599         * paragraph.C (getLabelFont): add outerfont arg, adjust
4600         (getLayoutFont): ditto
4601         (simpleTeXOnePar): adjust
4602
4603         * paragraph_pimpl.C (realizeFont): delete func
4604
4605 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
4606
4607         * text2.C (beforeFullRowInset): added a bad getchar check, removed
4608         row argument, constify cur argument.
4609
4610 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4611
4612         * text2.C (getFont): adjust
4613         (getLayoutFont): adjust
4614         (getLabelFont): adjust
4615
4616         * paragraph_funcs.C (TeXOnePar): adjust
4617         (outerFont): new func...
4618         (realizeFont): ...moved out from here, changed this to facilitate
4619         transition
4620
4621         * paragraph.C (getFont): take outerfont as arg, adjust
4622         (simpleTeXOnePar): add outerfont arg, adjust
4623
4624         * buffer.C (simpleLinuxDocOnePar): adjust
4625         (simpleDocBookOnePar): adjust
4626
4627         * CutAndPaste.C (pasteSelection): adjust
4628
4629         * BufferView.C (getEncoding): adjust
4630
4631 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4632
4633         * text2.C (setCharFont): adjust
4634         (setCounter): adjust
4635
4636         * text.C (leftMargin): adjust
4637         (setHeightOfRow): adjust
4638
4639         * rowpainter.C (paintFirst): adjust
4640         (paintLast): adjust
4641
4642         * paragraph_pimpl.C (realizeFont): adjust
4643
4644         * paragraph.C (isFirstInSequence): move from here...
4645         * paragraph_funcs.C (isFirstInSequence): ...to here
4646
4647         * paragraph.C (outerHook): move from here...
4648         * paragraph_funcs.C (outerHook): ...to here
4649
4650         * paragraph.C (depthHook): move from here...
4651         * paragraph_funcs.C (depthHook): ...to here
4652
4653         * paragraph.C (getEndLabel): move from here...
4654         * paragraph_funcs.C (getEndLabel): ...to here
4655
4656         * text2.C (realizeFont): move from here...
4657         * paragraph_funcs.C (realizeFont): ...to here
4658
4659 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4660
4661         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4662
4663 2003-04-14  Angus Leeming  <leeming@lyx.org>
4664
4665         * LColor.[Ch]: scrap LColor mathcursor.
4666
4667 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4668
4669         * lyxlex.[Ch] (text): delete function
4670         * trans.C (Load): adjust
4671         * paragraph_funcs.C (readParToken): adjust
4672
4673 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4674
4675         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4676         vector<char> instead of a char[].
4677
4678         * lyxlex_pimpl.C (getString): adjust
4679         (next): adjust
4680         (lex): use getString
4681         (eatLine): adjust
4682         (nextToken): adjust
4683
4684         * lyxlex.C (text): use pimpl_->getString()
4685         (getBool): ditto
4686         (findToken): ditto
4687
4688 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4689
4690         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4691         (makeFontEntriesLayoutSpecific): temp var for par.size()
4692         (setLayout): temp var for ownerParagraphs().end()
4693         (fullRebreak): temp var for rows().end()
4694         (selectionAsString): temp var for boost::next(startpit), realize
4695         that the while really is a regular for loop.
4696         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4697         setCursor in one place.
4698         (setParagraph): temp vr for ownerParagraphs().end()
4699         (updateCounters): make the while loop a for loop
4700         (cutSelection): temp var for ownerParagraphs().end()
4701         (updateInset): make the do {} while() a regular for loop
4702         (getCursorX): use temp vars
4703         (setCurrentFont): use temp vars
4704         (getColumnNearX): use temp vars
4705
4706 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4707
4708         * text.C (transformChar): use temp var for getChar
4709         (computeBidiTables): use temp var for row->par()
4710         (fill): move temp vars for row->par() and pit->layout() earlier in
4711         the function.
4712         (labelFill): use temp var for row->par()
4713         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4714         asc and desc, realize that pit never changes and that firstpit is
4715         just a duplicate and not needed. Exchange rit->par() with pit in a
4716         lot of places.
4717         (breakAgain): use a temp var for boost::next(rit)
4718         (breakAgainOneRow): ditto
4719         (breakParagraph): use a temp var for rows().begin()
4720         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4721         (cursorRightOneWord): use temp var for cursor.par() and
4722         cursor.pos(), remove usage of tmpcursor.
4723         (cursorLeftOneWord): use temp var for cursor.par() and
4724         cursor.pos() only set cur at end of function.
4725
4726 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4727
4728         * text.C, text2.C: exchange all usage of Paragraph::next with
4729         boost::next(ParagraphList::iterator)
4730
4731         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4732
4733         * text2.C (cursorTop): simplify implementation
4734         (cursorBottom): ditto
4735         (setParagraph): use ParagraphList::iterator
4736         (setCurrentFont): adjust
4737         (getColumnNearX): adjust
4738         (cursorRight): adjust
4739         (cursorLeft): remove usage of Paragraph::previous
4740         (cursorUpParagraph): ditto
4741         (deleteEmptyParagraphMechanism): slight cleanup
4742
4743         * text.C (isBoundary): take a Paragraph const & instead of a
4744         pointer as arg.
4745         (addressBreakPoint): ditto
4746         (leftMargin): remove usage of Paragraph::previous.
4747         (setHeightOfRow): ditto
4748         (cursorLeftOneWord): ditto
4749         (selectNextWordToSpellcheck): ditto
4750         (Delete): ditto
4751         (backspace): ditto
4752         (breakParagraph): remove one usage of Paragraph::next
4753         (redoParagraph): ditto
4754         (acceptChange): ditto
4755         (insertChar): adjust
4756         (rowBreakPoint): adjust
4757
4758         * bufferview_funcs.C (toggleAndShow): adjust
4759
4760 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4761
4762         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4763         methods to access it.
4764         * lyxtext.h:
4765         * text.C: Added updateRowPositions to compute all row positions.
4766         Make top_y and getRowNearY() to use the cached y position
4767
4768 2003-04-11  John Levon  <levon@movementarian.org>
4769
4770         * text.C (rowBreakPoint): reintroduce the labelEnd
4771         checks, code copied from the row fill stuff. Deep voodoo.
4772
4773         * text.C (fill): add a comment and debugging for the
4774         next poor soul.
4775
4776 2003-04-11  John Levon  <levon@movementarian.org>
4777
4778         * text.C: make sure fullrow insets get wrapped to the next line,
4779         even when they're in a manual label
4780
4781 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4782
4783         * text2.C (insertParagraph): make it take ParagraphList::iterator
4784         as arg.
4785         (setLayout): make it return ParagraphList::iterator
4786         (redoParagraphs): ditto
4787         (setCounter): ditto
4788         (checkParagraph): ditto
4789
4790         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4791
4792         * text2.C: adjust several funcs.
4793         (realizeFont): take a ParagraphList::iterator as arg.
4794         (getLayoutFont): ditto
4795         (getLabelFont): ditto
4796         (setCharFont): ditto
4797
4798         * text.C: adjust several funcs.
4799
4800 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4801
4802         * text.C (selectNextWordToSpellcheck): don't accidentally
4803         skip insets
4804
4805 2003-04-10  John Levon  <levon@movementarian.org>
4806
4807         * ToolbarBackend.C (getIcon): special handling for
4808         LFUN_MATH_DELIM
4809
4810 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4811
4812         * text2.C (cursorRight): a getChar assert fixed
4813
4814 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4815
4816         * text2.C (getFont): change to take a ParagraphList::iterator
4817         instead of Paragraph*
4818         Adjust several functions.
4819
4820         * text.C (transformChar): change to take a ParagraphList::iterator
4821         instead of Paragraph*
4822         (singleWidth): ditto
4823         Adjust several functions.
4824
4825         * rowpainter.C: adjust several functions
4826         * rowpainter.h:store a ParagraphList::iterator and not a
4827         Paragraph&.
4828
4829
4830 2003-04-09  John Levon  <levon@movementarian.org>
4831
4832         * lyxfunc.C:
4833         * lfuns.h:
4834         * LyXAction.h:
4835         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4836         and the "help" bits as well
4837
4838 2003-04-09  John Levon  <levon@movementarian.org>
4839
4840         * ToolbarBackend.h:
4841         * ToolbarBackend.C: allow multiple toolbars
4842
4843 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4844
4845         * undo_funcs.C (setCursorParUndo): adjust
4846
4847         * text_funcs.C (transposeChars): adjust
4848
4849         * text3.C (gotoNextInset): adjust
4850         (dispatch): adjust
4851
4852         * text2.C (setLayout): adjust
4853         (changeDepth): adjust
4854         (setFont): adjust
4855         (redoParagraphs): adjust
4856         (selectionAsString): adjust
4857         (setParagraph): adjust
4858         (insertInset): adjust
4859         (cutSelection): adjust
4860         (copySelection): adjust
4861         (pasteSelection): adjust
4862         (insertStringAsLines): adjust
4863         (updateInset): adjust
4864         (setCursor): change to take a ParagraphList::iterator parameter
4865         (setCursorIntern): change to take a ParagraphList::iterator parameter
4866         (setCurrentFont): adjust
4867         (cursorLeft): adjust
4868         (cursorRight): adjust
4869         (deleteEmptyParagraphMechanism): adjust
4870
4871         * text.C (breakParagraph): adjust
4872         (insertChar): adjust
4873         (acceptChange): adjust
4874         (rejectChange): adjust
4875         (selectNextWordToSpellcheck): adjust
4876         (changeCase): adjust
4877         (Delete): adjust
4878         (backspace): adjust
4879
4880         * lyxfind.C (SearchForward): adjust
4881         (SearchBackward): adjust
4882         (nextChange): adjust
4883
4884         * lyxcursor.C (par): adjust
4885
4886         * lyxcursor.h: store a ParagraphList::iterator instead of a
4887         Paragraph*
4888
4889         * lyx_cb.C (getPossibleLabel): adjust
4890
4891         * bufferview_funcs.C (toggleAndShow): adjust
4892
4893         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4894         (dispatch): adjust
4895
4896         * BufferView.C (removeAutoInsets): adjust
4897         (lockedInsetStoreUndo): adjust
4898
4899 2003-04-09  John Levon  <levon@movementarian.org>
4900
4901         * ToolbarBackend.C: try icon without argument
4902         if with argument fails
4903
4904 2003-04-08  John Levon  <levon@movementarian.org>
4905
4906         * ToolbarBackend.h:
4907         * ToolbarBackend.C: add getIcon(), handle tooltip,
4908         and change from "Icon" to "Item".
4909
4910 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4911
4912         * BufferView.C (lockInset): another bad getchar crunched
4913
4914 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4915
4916         * text2.C (changeDepth): do not setUndo on test_only (make undo work
4917         again)
4918
4919 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
4920
4921         * lyxfind.C (searchForward, searchBackwards): bug 782
4922
4923 2003-04-07  John Levon  <levon@movementarian.org>
4924
4925         * paragraph.C: remove dead comment
4926
4927         * text.C: remove troublesome depth-fiddling code
4928         in leftMargin() and rightMargin() (bug 1017)
4929
4930         * text.C: fix breaking of rows in nested lists
4931         (bug 1004)
4932
4933         * text2.C (updateCounters): fix up depth values
4934         (bug 1013)
4935
4936 2003-04-07  John Levon  <levon@movementarian.org>
4937
4938         * BufferView_pimpl.C: clear message when doc finishes resizing,
4939         and after a mouse event
4940
4941         * lyxfunc.C: clear message after exiting inset
4942
4943 2003-04-07  John Levon  <levon@movementarian.org>
4944
4945         * bufferview_funcs.C: show math status not outside
4946         status in the statusbar
4947
4948 2003-04-07  John Levon  <levon@movementarian.org>
4949
4950         * lyxfunc.C: note status changed after a depth change
4951
4952 2003-04-04  Angus Leeming  <leeming@lyx.org>
4953
4954         * LaTeX.h: move AuxInfo operator==, != out of line.
4955         Remove LaTeX virtual destructor; nothing derives from it.
4956         Move operator()() out of public area and rename it startscript().
4957         Change protected for private.
4958
4959 2003-04-04  Angus Leeming  <leeming@lyx.org>
4960
4961         * lyxfunc.C:
4962         * text2.C: remove unneeded #includes.
4963
4964 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4965
4966         * text2.C (dEPM): fix the heigth of the next row
4967
4968 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4969
4970         * text.C: squashed an invalid getChar requester + some ws changes
4971
4972 2003-04-03  John Levon  <levon@movementarian.org>
4973
4974         * bufferview_funcs.h:
4975         * bufferview_funcs.C:
4976         * lyxfunc.C:
4977         * lyxtext.h:
4978         * text2.C: make getStatus work for the env depth lfuns
4979
4980 2003-04-03  John Levon  <levon@movementarian.org>
4981
4982         * bufferview_funcs.h:
4983         * bufferview_funcs.C:
4984         * lyxfunc.C:
4985         * lyxtext.h:
4986         * text2.C: parlistize decDepth(), by merging it with incDepth()
4987
4988 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4989
4990         * lyxrow.h: store a ParagraphList::iterator instead of a
4991         Paragraph* and adjust other class functions to suit.
4992
4993         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4994         above.
4995
4996 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4997
4998         * text2.C (setCursor): do not anchor to cursor row for the time being
4999
5000 2003-04-02  John Levon  <levon@movementarian.org>
5001
5002         * LyXAction.C:
5003         * lfuns.h:
5004         * lyx_main.C:
5005         * lyxtext.h:
5006         * text.C:
5007         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5008
5009 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5010
5011         * paragraph.h: make ParagraphList and ParagraphList::iterator
5012         friends of Paragraph.
5013
5014         * buffer.C (makeLinuxDocFile): move towards ParagraphList
5015
5016         * ParagraphList.C: Use the private next_ and previous_ from
5017         Paragraph.
5018
5019 2003-04-01  John Levon  <levon@movementarian.org>
5020
5021         * ToolbarBackend.h:
5022         * ToolbarBackend.C:
5023         * Makefile.am: rename, remove defaults gunk
5024
5025         * MenuBackend.h:
5026         * MenuBackend.C: remove defaults gunk
5027
5028         * Languages.h:
5029         * Languages.C: remove defaults gunk
5030
5031         * lyx_main.h:
5032         * lyx_main.C: error out if files couldn't be found.
5033
5034 2003-04-02  John Levon  <levon@movementarian.org>
5035
5036         * text2.C: make incDepth() use parlist
5037
5038 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5039
5040         * undo_funcs.C (firstUndoParagraph): adjust
5041
5042         * text3.C (gotoInset): adjust
5043         (dispatch): adjust, and rewrite loop.
5044
5045         * text2.C (init): adjust, and rewrite loop.
5046         (redoParagraphs): adjust
5047         (updateInset): adjust, and rewrite loop.
5048         (deleteEmptyParagraphMechanism): adjust
5049
5050         * tabular.C (LyXTabular): adjust
5051         (SetMultiColumn): adjust
5052         (TeXRow): adjust
5053
5054         * lyxtext.[Ch] (ownerParagraph): delete function
5055         (ownerParagraphs): new function returns a ParagraphList.
5056
5057         * BufferView.C (removeAutoInsets): adjust
5058         (insertErrors): adjust
5059         (setCursorFromRow): adjust
5060
5061 2003-04-01  Angus Leeming  <leeming@lyx.org>
5062
5063         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5064         in the frontends.
5065
5066 2003-04-02  John Levon  <levon@movementarian.org>
5067
5068         * lyxtext.h:
5069         * text.C:
5070         * Makefile.am:
5071         * text_funcs.h:
5072         * text_funcs.C: make transposeChars a free function
5073
5074         * lyxrow_funcs.C: remove wrong comment
5075
5076 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5077
5078         * lyxtext.h: adjust
5079         * rowpainter.C: adjust
5080         * text.C: adjust
5081         * text2.C: adjust
5082         * text3.C: adjust
5083
5084         * lyxrow_funcs. [Ch]: new files
5085
5086         * lyxrow.[Ch]: remove next and previous pointers
5087         (next,previous): remove accessor functions
5088         (isParEnd): move to lyxrow_funcs
5089         (lastPos): move to lyxrow_funcs
5090         (nextRowIsAllInset): move to lyxrow_funcs
5091         (lastPrintablePos): move to lyxrow_funcs
5092         (numberOfSeparators): move to lyxrow_funcs
5093         (numberOfHfills): move to lyxrow_funcs
5094         (numberOfLabelHfills): move to lyxrow_funcs
5095         (hfillExpansion): move to lyxrow_funcs
5096
5097         * lyxfunc.C: adjust
5098
5099         * bufferview_funcs.C (toggleAndShow): adjust
5100
5101         * RowList.h: Remove class RowList from file leave just a
5102         std::list<Row>.
5103
5104         * RowList.C: delete file
5105
5106         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5107         and lyxrow_funcs.h
5108
5109 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5110
5111         * text3.C (cursorPrevious): adjust
5112         (cursorNext): adjust
5113         (dispatch): adjust
5114
5115         * text2.C (redoHeightOfParagraph): adjust
5116         (redoDrawingOfParagraph): adjust
5117         (setCursor): adjust
5118
5119         * text.C (breakParagraph): adjust
5120         (insertChar): adjust
5121         (backspace): adjust
5122
5123         * rowpainter.C (RowPainter): adjust
5124         (leftMargin): simplify and adjust
5125         (most rowpainter functions): adjust.
5126
5127         * rowpainter.h: store the row as RowList::iterator not as Row*
5128
5129         * lyxcursor.C (row): taka RowList::iterator as arg
5130         (irow): ditto
5131
5132         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5133         of Row*.
5134
5135 2003-04-01  Angus Leeming  <leeming@lyx.org>
5136
5137         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5138         stuff like bool Bool.
5139
5140 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5141
5142         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5143         rewrite a loop
5144
5145 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5146
5147         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5148         RowList::iterator.
5149
5150         * lyxtext.h (rows): drop one version and leve a const variant that
5151         returns a RowList::iterator.
5152
5153 2003-03-31  Angus Leeming  <leeming@lyx.org>
5154
5155         * text.C (fill): ensure that the signature is the same as that in the
5156         header file.
5157
5158 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
5159
5160         * text2.C (redoParagraphs): adjust
5161         (updateCounters): adjust
5162         (checkParagraph): adjust
5163         (getColumnNearX): adjust and reformat a bit.
5164
5165         * text.C (top_y): adjust
5166         (workWidth): adjust
5167         (leftMargin): adjust
5168         (prepareToPrint): adjust
5169         (getRow): adjust
5170         (getRowNearY): adjust
5171
5172         * lyxtext.h: make rowlist_ mutable.
5173
5174         * RowList.h: add const_iterator
5175         * RowList.C: adjust for RowList::const_iterator.
5176
5177         * text2.C (getCursorX): make it take a RowList::iterator as arg,
5178         adjust.
5179
5180 2003-03-31  John Levon  <levon@movementarian.org>
5181
5182         * lyxrc.h:
5183         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5184
5185         * lyx_main.C: set default fonts from using lyx_gui funcs
5186
5187         * exporter.C: pdf_mode moved from lyxrc
5188
5189         * lyx_cb.C:
5190         * lyxfunc.C: changes from above
5191
5192 2003-03-31  John Levon  <levon@movementarian.org>
5193
5194         * lyx_main.C: fix to the last fix
5195
5196 2003-03-31  John Levon  <levon@movementarian.org>
5197
5198         * bufferlist.C: "Load original" -> "Load Original"
5199
5200         * converter.C:
5201         * exporter.C:
5202         * importer.C:
5203         * lyx_main.C:
5204         * format.C: more Alert cleanups
5205
5206 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5207
5208         * text2.C (removeParagraph): make it take a RowList::iterator as
5209         arg, adjust.
5210         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5211         (postRowPaint): make it take a RowList::iterator as arg, adjust.
5212
5213         * text.C (anchor_row): make it take a RowList::iterator as arg,
5214         adjust.
5215         (computeBidiTables): make it take a const reference to Row instead
5216         of Row pointer, adjust.
5217         (leftMargin): make it take a RowList::iterator as arg, adjust.
5218         (rowBreakPoint): adjust
5219         (breakAgainOneRow): make it take a RowList::iterator as arg,
5220         adjust.
5221         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5222
5223         * bufferview_funcs.C (toggleAndShow): adjust
5224
5225 2003-03-30  John Levon  <levon@movementarian.org>
5226
5227         * Makefile.am:
5228         * BoostFormat.h:
5229         * boost-inst.C: moved to support
5230
5231         * several files: changes as a result
5232
5233 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5234
5235         * text2.C (LyXText): adjust.
5236         (init): adjust
5237         (removeRow): make it take a RowList::iterator as arg, adjust.
5238         (fullRebreak): adjust
5239         (deleteEmptyParagraphMechanism): adjust
5240         (clearPaint): adjust
5241         (postPaint): adjust
5242
5243         * text.C (top_y): adjust
5244         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5245         (breakAgain): make it take a RowList::iterator as arg, adjust.
5246         (breakParagraph): adjust
5247         (insertChar): adjust
5248         (backspace): adjust
5249
5250         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5251         need_break_row, and refresh_row.
5252
5253         * text3.C (dispatch): adjust
5254
5255         * text2.C (checkParagraph): adjust
5256         (setCursor): adjust
5257         (setCursorFromCoordinates): adjust
5258
5259         * text.C (top_y): adjust
5260         (workWidth): adjust
5261         (getRow): make it return a RowList::iterator, adjust
5262         (getRowNearY): make it return a RowList::iterator, adjust
5263
5264         * text2.C (init): adjust
5265         (insertRow): remove function
5266         (insertParagraph): adjust
5267         (redoParagraphs): adjust
5268         (fullRebreak): adjust
5269         (updateCounters): adjust
5270
5271         * text.C (top_y): rewrite to use RowList iterators.
5272         (top_y): adjust
5273         (setHeightOfRow): rewrite to sue RowList iterators.
5274         (appendParagraph): adjust
5275         (breakAgain): adjust
5276         (breakAgainOneRow): adjust
5277         (breakParagraph): adjust
5278         (getRow): adjust
5279         (getRowNearY): adjust, and remove commented code.
5280
5281         * lyxtext.h (firstRow): delete function
5282         (lastRow): delete function
5283         (rows): new function (const and non-const versions.)
5284         (insertRow): delete function
5285
5286         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5287
5288 2003-03-29  John Levon  <levon@movementarian.org>
5289
5290         * BufferView_pimpl.C: always update scrollbar top
5291         because pasting text when we're anchored could mean we
5292         miss an update altogether
5293
5294 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5295
5296         * text2.C (init): use rowlist_.end() and not 0.
5297         (insertRow): change to take a RowList::iterator as arg, adjust
5298         for this.
5299         (insertParagraph): change to take a RowList::iterator as arg,
5300         adjust for this.
5301         (redoParagraphs): remove some debug msgs.
5302
5303         * text.C (appendParagraph): change to take a RowList::iterator
5304         arg, adjust for this.
5305         (breakAgain): add an assert
5306         (breakAgainOneRow): ditto
5307
5308 2003-03-29  John Levon  <levon@movementarian.org>
5309
5310         * text2.C: do not clear selection after inc/decDepth
5311         (bug 550)
5312
5313 2003-03-29  John Levon  <levon@movementarian.org>
5314
5315         * BufferView.C:
5316         * buffer.C: fix broken strerrors according to Lars
5317
5318 2003-03-29  John Levon  <levon@movementarian.org>
5319
5320         * converters.C: more Alert cleanups
5321
5322 2003-03-29  John Levon  <levon@movementarian.org>
5323
5324         * bufferview_funcs.C: remove pointless Alert
5325
5326         * buffer.C: fix confusing error message when
5327         a template is chmoded 000
5328
5329 2003-03-29  John Levon  <levon@movementarian.org>
5330
5331         * BufferView.C:
5332         * BufferView.h:
5333         * BufferView_pimpl.C: Alert fixes
5334
5335         * Makefile.am:
5336         * tabular.C:
5337         * tabular-old.C: remove unused table compat reading
5338
5339 2003-03-29  John Levon  <levon@movementarian.org>
5340
5341         * BufferView.C:
5342         * buffer.C:
5343         * lyx_cb.h:
5344         * lyx_cb.C: more Alert cleanups
5345
5346         * lyxfunc.C: don't allow chktex if not latex document
5347
5348 2003-03-29  John Levon  <levon@movementarian.org>
5349
5350         * lyx_cb.C:
5351         * BufferView.C:
5352         * buffer.C: warnings pushed down from support/,
5353         kill err_alert
5354
5355 2003-03-29  John Levon  <levon@movementarian.org>
5356
5357         * lyxfunc.C: safety check for C-r (revert)
5358
5359 2003-03-29  John Levon  <levon@movementarian.org>
5360
5361         * bufferlist.h:
5362         * bufferlist.C: several UI fixes using Alert::prompt.
5363         Fix the pointless looping quit code. Fix stupid revert
5364         behaviour (bug 938)
5365
5366         * lyxvc.h:
5367         * lyxvc.C:
5368         * lyx_cb.C: use Alert::prompt
5369
5370         * lyx_main.C: remove a silly question
5371
5372         * lyxfunc.C: remove a couple of silly questions,
5373         use Alert::prompt
5374
5375 2003-03-28  John Levon  <levon@movementarian.org>
5376
5377         * text2.C: fix bug 974 (End on empty par)
5378
5379 2003-03-28  John Levon  <levon@movementarian.org>
5380
5381         * BufferView_pimpl.C:
5382         * LyXAction.C:
5383         * lfuns.h: remove do-nothing math greek lfuns
5384
5385 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5386
5387         * lyxgluelength.h (isValidGlueLength): add default arg on
5388         parameter 2. Remove default arg from friend in class.
5389
5390         * lyxlength.h (isValidLength): add default arg on parameter 2.
5391         Remove default arg from friend in class.
5392
5393         * text2.C (LyXText): adjust, initialize refresh_row.
5394         (init): adjust
5395         (removeRow): adjust
5396         (insertRow): adjust
5397         (insertParagraph): adjst
5398         (redoParagraphs): adjust
5399         (fullRebreak): adjust
5400         (updateCounters): adjust
5401         (deleteEmptyParagraphMechanism): first attempt at fixing a
5402         crashing bug.
5403
5404         * text.C (top_y): adjust
5405         (setHeightOfRow): adjust
5406         (getRow): adjust
5407         (getRowNearY): adjust
5408
5409         * lyxtext.h: include RowList.h
5410         (~LyXText): not needed anymore, deleted.
5411         (firstRow): modify for RowList
5412         (lastRow): new function
5413         Delete firstrow and lastrow class variables, add a Rowlist
5414         rowlist_ class variable.
5415
5416         * lyxrow.C (lastPos): use empty() and not !size() to check if a
5417         paragraph is empty.
5418
5419         * RowList.C (insert): fix case where it == begin().
5420
5421 2003-03-26  Angus Leeming  <leeming@lyx.org>
5422
5423         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5424         the thesaurus dialog.
5425
5426 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5427
5428         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5429
5430         * RowList.[Ch]: new files
5431
5432         * ParagraphList.C (erase): handle the case where it == begin
5433         correctly.
5434
5435 2003-03-25  John Levon  <levon@movementarian.org>
5436
5437         * Makefile.am:
5438         * aspell_local.h:
5439         * aspell.C: add new aspell support
5440
5441         * lyxrc.h:
5442         * lyxrc.C: Make use_pspell be use_spell_lib. Always
5443         have it accessible.
5444
5445 2003-03-25  Angus Leeming  <leeming@lyx.org>
5446
5447         * lfuns.h:
5448         * LyXAction.C (init): new LFUN_INSET_INSERT.
5449
5450         * BufferView_pimpl.C (dispatch): split out part of the
5451         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5452
5453         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5454         LFUN_INSET_APPLY.
5455
5456 2003-03-25  Angus Leeming  <leeming@lyx.org>
5457
5458         * lyxfunc.C (dispatch): changes to the Dialogs interface.
5459
5460 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
5461
5462         * text2.C:
5463         * text3.C: remove useless row->height(0)
5464
5465 2003-03-25  John Levon  <levon@movementarian.org>
5466
5467         * lyxtext.h:
5468         * text2.C:
5469         * text3.C: rename the refreshing stuff to better names
5470
5471 2003-03-24  John Levon  <levon@movementarian.org>
5472
5473         * BufferView_pimpl.h:
5474         * BufferView_pimpl.C: update layout choice on a mouse
5475         press/release
5476
5477 2003-03-23  John Levon  <levon@movementarian.org>
5478
5479         * Makefile.am: fix commandtags.h reference
5480
5481 2003-03-22  John Levon  <levon@movementarian.org>
5482
5483         * BufferView_pimpl.C:
5484         * lyxtext.h:
5485         * rowpainter.C:
5486         * rowpainter.h:
5487         * text.C:
5488         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5489
5490 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
5491
5492         * lyxtext.h:
5493         * text.C: take the rtl methods out of line
5494
5495 2003-03-21 André Pönitz <poenitz@gmx.net>
5496
5497         * metricsinfo.[Ch]: new files containing structures to be passed around
5498         during the two-phase-drawing...
5499
5500 2003-03-21 André Pönitz <poenitz@gmx.net>
5501
5502         * lyxtextclass.C: read 'environment' tag.
5503
5504 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
5505
5506         * text2.C (removeRow): fix bug 964
5507
5508 2003-03-20  John Levon  <levon@movementarian.org>
5509
5510         * rowpainter.C:
5511         * text.C:
5512         * text2.C: paint cleanups. Inset::update() dropped font
5513         parameter
5514
5515 2003-03-19  John Levon  <levon@movementarian.org>
5516
5517         * lyxfunc.C: only fitcursor/markDirty if available()
5518
5519 2003-03-19  John Levon  <levon@movementarian.org>
5520
5521         * commandtags.h: rename to ...
5522
5523         * lfuns.h: ... this, and renumber / cleanup
5524
5525 2003-03-19  John Levon  <levon@movementarian.org>
5526
5527         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5528         fit the cursor after an lfun
5529
5530         * BufferView.h:
5531         * BufferView.C:
5532         * BufferView_pimpl.h:
5533         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5534
5535         * LyXAction.C: layout-character should have ReadOnly
5536
5537         * ParagraphParameters.C:
5538         * buffer.C:
5539         * bufferview_funcs.C:
5540         * lyx_cb.C:
5541         * lyxfind.C:
5542         * lyxtext.h:
5543         * text.C:
5544         * text2.C:
5545         * text3.C:
5546         * undo_funcs.C: changes from above
5547
5548 2003-03-18  John Levon  <levon@movementarian.org>
5549
5550         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5551         remove it from update()
5552
5553         * lyxfunc.C: update layout choice after an lfun
5554
5555         * text3.C: remove extra updateLayoutChoice()s
5556
5557 2003-03-18  John Levon  <levon@movementarian.org>
5558
5559         * text.C: top_y change means full repaint, fix
5560         a drawing bug with cursor movement
5561
5562 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5563
5564         * lyxtext.h:
5565         * text.C:
5566         * text2.C: anchor row on setCursor
5567
5568 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5569
5570         * lyxtext.h: remove almost all mutable keywords
5571         * text.C:
5572         * text2.C:
5573         * text3.C: remove const keywords accordingly
5574
5575 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5576
5577         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5578         anon namespace
5579         (TeXEnvironment): ditto
5580         (TeXOnePar): ditto
5581
5582 2003-03-17  John Levon  <levon@movementarian.org>
5583
5584         * text.C (rowBreakPoint): remove attempt to fix displayed
5585         math insets inside a manual label
5586
5587 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5588
5589         * lyxtext.h: remove BufferView* as first arg from almost all class
5590         functions.
5591         * other files: adjust.
5592
5593 2003-03-17  John Levon  <levon@movementarian.org>
5594
5595         * lyxtext.h:
5596         * undo_funcs.C:
5597         * text2.C: more paint cleanups
5598
5599         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5600
5601         * rowpainter.h:
5602         * rowpainter.C: remove "smart" background painting code
5603
5604 2003-03-16  John Levon  <levon@movementarian.org>
5605
5606         * lyxtext.h:
5607         * text.C:
5608         * text2.C:
5609         * text3.C: add helper functions for setting refresh_row/y
5610
5611 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
5612
5613         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5614         newline inset which *can* get inserted in the pass_thru layouts.
5615         This is primarily for literate documents.
5616
5617 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
5618
5619         * buffer.C: increment LYX_FORMAT to 223
5620
5621 2003-03-14 André Pönitz <poenitz@gmx.net>
5622
5623         * textclass.h: prepare for environment handling, ws changes
5624         * lyxlayout.C: read latexheader and latexfooter tags
5625
5626 2003-03-14  John Levon  <levon@movementarian.org>
5627
5628         * text2.C: rewrite ::status() a bit
5629
5630 2003-03-13  John Levon  <levon@movementarian.org>
5631
5632         * lyxtext.h: add some docs
5633
5634 2003-03-13  John Levon  <levon@movementarian.org>
5635
5636         * lyxtext.h:
5637         * text.C:
5638         * text2.C:
5639         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5640
5641 2003-03-13  John Levon  <levon@movementarian.org>
5642
5643         * text3.C: fix appendix redrawing
5644
5645 2003-03-13  John Levon  <levon@movementarian.org>
5646
5647         * text.C (setHeightOfRow):
5648         * rowpainter.h:
5649         * rowpainter.C: make appendix mark have the text
5650           "Appendix" so the user knows what it is
5651
5652         * LColor.h:
5653         * LColor.C: s/appendixline/appendix/ from above
5654
5655 2003-03-13  John Levon  <levon@movementarian.org>
5656
5657         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5658
5659         * text.C: fix a getChar(pos) bug properly
5660
5661 2003-03-13  Angus Leeming  <leeming@lyx.org>
5662
5663         * commandtags.h:
5664         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5665         Probably only temporary. Let's see how things pan out.
5666
5667         * BufferView.C (unlockInset):
5668         * BufferView_pimpl.C (fitCursor):
5669         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5670
5671         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5672         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5673
5674         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5675         new functions that convert ParagraphParameters to and from a string.
5676
5677         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5678         BufferView::Pimpl's dispatch.
5679         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5680
5681 2003-03-13 André Pönitz <poenitz@gmx.net>
5682
5683         * lyxfunc.C:
5684         * text3.C:
5685         * factory.C: make it aware of InsetEnv
5686
5687 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5688
5689         * text2.C (setCursor): never ask for one past last
5690         (setCursor): add some debugging messages.
5691
5692         * text.C (singleWidth): never ask for one past last
5693         (singleWidth): ditto
5694         (leftMargin): ditto
5695         (rightMargin): ditto
5696         (rowBreakPoint): ditto
5697         (setHeightOfRow): ditto
5698         (prepareToPrint): ditto
5699
5700         * rowpainter.C (paintBackground): never ask for one past last
5701         (paintText): never ask for one past last
5702
5703         * paragraph_pimpl.C (getChar): make the assert stricter, never
5704         allow the one past last pos to be taken
5705
5706         * paragraph.C (getChar): ws changes only
5707
5708         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5709         (numberOfSeparators): ditto
5710         (numberOfHfills): ditto
5711
5712 2003-03-12  John Levon  <levon@movementarian.org>
5713
5714         * author.h:
5715         * author.C:
5716         * bufferparams.h:
5717         * bufferparams.C:
5718         * paragraph_funcs.C: fix per-buffer authorlists
5719
5720 2003-03-12  John Levon  <levon@movementarian.org>
5721
5722         * text.C: fix newline in right address
5723
5724 2003-03-12  Angus Leeming  <leeming@lyx.org>
5725
5726         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5727         duplicate those in LyXFunc::dispatch.
5728
5729         * commandtags.h:
5730         * LyXAction.C:
5731         * ToolbarDefaults.C:
5732         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5733         Add LFUN_FONTFREE_UPDATE.
5734
5735         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5736         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5737
5738         * bufferview_func.[Ch]: several new functions to facilliate
5739         transfer of data to and from the character dialog.
5740
5741 2003-03-12  John Levon  <levon@movementarian.org>
5742
5743         * buffer.C:
5744         * paragraph.h:
5745         * paragraph.C:
5746         * paragraph_funcs.C:
5747         * paragraph_pimpl.C:
5748         * sgml.C:
5749         * tabular.C:
5750         * text.C:
5751         * text3.C: remove META_NEWLINE in favour of an inset
5752
5753         * rowpainter.h:
5754         * rowpainter.C: remove paintNewline (done by inset)
5755
5756 2003-03-12  John Levon  <levon@movementarian.org>
5757
5758         * paragraph_pimpl.C: complain about bad getChar()s
5759         for a while at least
5760
5761 2003-03-12  John Levon  <levon@movementarian.org>
5762
5763         * buffer.h:
5764         * buffer.C: move paragraph read into a separate function,
5765         a little renaming to reflect that.
5766
5767         * bufferparams.h:
5768         * bufferparams.C: remove the author_ids map, not necessary now
5769
5770         * factory.h:
5771         * factory.C: moved Buffer::readInset to here
5772
5773         * paragraph_funcs.h:
5774         * paragraph_funcs.C: readParagraph free function moved from
5775         buffer.C
5776
5777         * tabular.C: name change
5778
5779 2003-03-12  John Levon  <levon@movementarian.org>
5780
5781         * buffer.C:
5782         * ParagraphParameters.C: move par params input to
5783         a read() method
5784
5785         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5786         behave like a normal read from the stream wrt reading
5787         a line vs. a \\token
5788
5789 2003-03-12  John Levon  <levon@movementarian.org>
5790
5791         * paragraph.C:
5792         * ParagraphParameters.h:
5793         * ParagraphParameters.C: move output code to a
5794         ::write() method
5795
5796 2003-03-12  John Levon  <levon@movementarian.org>
5797
5798         * BufferView.C (insertLyXFile):
5799         * buffer.h:
5800         * buffer.C:
5801         * tabular.C: use a parlist iterator for creating the
5802           document.
5803
5804 2003-03-12  John Levon  <levon@movementarian.org>
5805
5806         * buffer.C: make current_change static local not
5807           static file-scope
5808
5809 2003-03-12  John Levon  <levon@movementarian.org>
5810
5811         * buffer.C: fix insertStringAsLines for change tracking
5812
5813 2003-03-12  John Levon  <levon@movementarian.org>
5814
5815         * BufferView.C:
5816         * tabular.C:
5817         * buffer.h:
5818         * buffer.C:
5819         * bufferparams.h:
5820         * bufferparams.C: move author list into params. Rename some
5821           functions. Move the header reading into a separate token
5822           loop. Move the header token reading into BufferParams.
5823
5824 2003-03-12  John Levon  <levon@movementarian.org>
5825
5826         * changes.C: put debug inside lyxerr.debugging() checks
5827
5828 2003-03-11 André Pönitz <poenitz@gmx.net>
5829
5830         * factory.C: make it aware of InsetHFill
5831
5832 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5833
5834         * buffer.C (latexParagraphs): move function from here...
5835         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5836         args.
5837
5838 2003-03-10  Angus Leeming  <leeming@lyx.org>
5839
5840         * LyXAction.C (init): fix bug in poplating array with multiple entries
5841         with the same LFUN (spotted by JMarc).
5842
5843 2003-03-10  John Levon  <levon@movementarian.org>
5844
5845         * text.C:
5846         * text2.C: move getColumnNearX() near its
5847         only call site
5848
5849 2003-03-10  John Levon  <levon@movementarian.org>
5850
5851         * text.C: fix break before a minipage
5852
5853 2003-03-10  John Levon  <levon@movementarian.org>
5854
5855         * text.C: fix the last commit
5856
5857 2003-03-09  John Levon  <levon@movementarian.org>
5858
5859         * lyxtext.h:
5860         * text.C:
5861         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5862         bug 365 (don't break before insets unless needed). Don't
5863         return a value > last under any circumstances.
5864
5865 2003-03-09  Angus Leeming  <leeming@lyx.org>
5866
5867         * BufferView_pimpl.C (trackChanges, dispatch): call
5868         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5869
5870 2003-03-09  Angus Leeming  <leeming@lyx.org>
5871
5872         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5873         than Dialogs::showAboutlyx().
5874
5875 2003-03-09  Angus Leeming  <leeming@lyx.org>
5876
5877         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5878         than Dialogs::showTabularCreate().
5879
5880 2003-03-09  John Levon  <levon@movementarian.org>
5881
5882         * lyxtext.h:
5883         * text.C:
5884         * text2.C: 3rd arg to nextBreakPoint was always the same.
5885           Use references.
5886
5887 2003-03-08  John Levon  <levon@movementarian.org>
5888
5889         * lyxrow.C:
5890         * paragraph.C:
5891         * paragraph.h:
5892         * rowpainter.C:
5893         * text.C:
5894         * text2.C: Remove the "main" bit from the "main body"
5895           notion.
5896
5897 2003-03-08  John Levon  <levon@movementarian.org>
5898
5899         * text.C (leftMargin): The left margin of an empty
5900         manual label paragraph should not include the label width
5901         string length.
5902
5903         * text.C (prepareToPrint): don't attempt to measure hfills
5904         for empty manual label paragraphs - the answer should be 0
5905
5906 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5907
5908         * CutAndPaste.C: remove commented code and reindent.
5909
5910 2003-03-08  John Levon  <levon@movementarian.org>
5911
5912         * lyxfunc.h:
5913         * lyxfunc.C: move reloadBuffer()
5914
5915         * BufferView.h:
5916         * BufferView.C: to here
5917
5918         * lyxvc.C: add comment
5919
5920         * vc-backend.h:
5921         * vc-backend.C: call bv->reload() to avoid
5922           getStatus() check on MENURELOAD
5923
5924 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
5925
5926         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5927         to an old format .dep file.
5928
5929 2003-03-07  Angus Leeming  <leeming@lyx.org>
5930
5931         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5932         when the LFUN_MOUSE_RELEASE should have been handled by
5933         inset->localDispatch.
5934
5935 2003-03-07  Angus Leeming  <leeming@lyx.org>
5936
5937         * BufferView_pimpl.C (dispatch):
5938         * LyXAction.C (init):
5939         * ToolbarDefaults.C (init):
5940         * commandtags.h:
5941         * lyxfunc.C (getStatus):
5942         remove LFUN_INSET_GRAPHICS.
5943
5944         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5945
5946 2003-03-07  Angus Leeming  <leeming@lyx.org>
5947
5948         * commandtags.h:
5949         * LyXAction.C (init):
5950         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5951
5952         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5953
5954         * commandtags.h:
5955         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5956
5957         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5958         localDispatch method LFUN_INSET_DIALOG_UPDATE.
5959
5960 2003-03-07  Angus Leeming  <leeming@lyx.org>
5961
5962         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5963         remove "ert".
5964
5965 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5966
5967         * ParagraphList.C (front): new function
5968         (back): implement
5969
5970 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
5971
5972         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5973         and top_row_offset_. removed var first_y.
5974         * text.C (top_y):
5975         * text2.C (LyXText, removeRow):
5976         * text3.C:
5977         * BufferView_pimpl.C:
5978         use these methods instead of using first_y
5979
5980 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5981
5982         * text2.C (pasteSelection): adjust for checkPastePossible
5983
5984         * CutAndPaste.C: remove Paragraph * buf and replace with
5985         ParagraphList paragraphs.
5986         (DeleteBuffer): delete
5987         (cutSelection): change the tc type to textclass_type
5988         (copySelection): change the tc type to textclass_type
5989         (copySelection): adjust for ParagraphList
5990         (pasteSelection): change the tc type to textclass_type
5991         (pasteSelection): adjust for Paragraphlist
5992         (nrOfParagraphs): simplify for ParagraphList
5993         (checkPastePossible): simplify for ParagraphList
5994         (checkPastePossible): remove unused arg
5995
5996         * ParagraphList.C (insert): handle the case where there are no
5997         paragraphs yet.
5998
5999         * CutAndPaste.h: make CutAndPaste a namespace.
6000
6001         * text3.C (dispatch): adjust
6002
6003         * text.C (breakParagraph): add a ParagraphList as arg
6004
6005         * paragraph_funcs.C (breakParagraph): change to take a
6006         BufferParams and a ParagraphList as args.
6007         (breakParagraphConservative): ditto
6008         (mergeParagraph): ditto
6009         (TeXDeeper): add a ParagraphList arg
6010         (TeXEnvironment): ditto
6011         (TeXOnePar): ditto
6012
6013         * buffer.C (readLyXformat2): adjust
6014         (insertStringAsLines): adjust
6015         (latexParagraphs): adjust
6016
6017         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6018         (cutSelection): adjust
6019         (pasteSelection): adjust
6020
6021         * BufferView_pimpl.C (insertInset): adjust
6022
6023 2003-03-05  Angus Leeming  <leeming@lyx.org>
6024
6025         * commandtags.h:
6026         * LyXAction.C (init):
6027         * BufferView_pimpl.C (dispatch):
6028         * lyxfunc.C (getStatus):
6029         remove LFUN_CHILD_INSERT.
6030
6031         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6032
6033 2003-03-05  Angus Leeming  <leeming@lyx.org>
6034
6035         * commandtags.h:
6036         * LyXAction.C (init):
6037         * src/factory.C (createInset):
6038         * lyxfunc.C (getStatus):
6039         * text3.C (dispatch):
6040         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6041
6042         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6043
6044 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6045
6046         * ParagraphList.C (insert): handle insert right before end()
6047         (erase): fix cases where it can be first or last paragraph.
6048
6049 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6050
6051         * paragraph_funcs.C (TeXEnvironment): remove all usage of
6052         Paragraph::next and Paragraph::previous
6053         (TeXOnePar): ditto
6054
6055         * text.C (breakParagraph): adjust
6056
6057         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6058         BufferParams& as arg.
6059         (breakParagraph): use ParagraphList::insert
6060         (breakParagraphConservative): take a Buffer* instead of a
6061         BufferParams& as arg.
6062         (breakParagraphConservative): use ParagraphList::insert.
6063
6064         * buffer.C (insertStringAsLines): un-const it
6065         (insertStringAsLines): adjust
6066
6067         * ParagraphList.C (insert): new function
6068
6069         * CutAndPaste.C (pasteSelection): adjust
6070
6071         * text.C (backspace): adjust
6072
6073         * tabular.C (SetMultiColumn): adjust
6074
6075         * CutAndPaste.C (cutSelection): adjust
6076         (pasteSelection): adjust
6077
6078         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6079         Buffer const * as arg
6080
6081         * ParagraphList.C (erase): new function
6082         * paragraph_funcs.C (mergeParagraph): use it
6083         (mergeParagraph): make it take a Buffer* instead of a
6084         BufferParams* as arg
6085
6086         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6087         as arg
6088         (breakParagraphConservative): ditto
6089
6090         * paragraph.h: remove the breakParagraph friend
6091
6092         * paragraph.C (eraseIntern): new function
6093         (setChange): new function
6094
6095         * paragraph_funcs.C (mergeParagraph): make it take a
6096         ParagraphList::iterator instead of a Paragraph *, adjust
6097         accordingly.
6098
6099         * paragraph.h: move an #endif so that the change tracking stuff
6100         also works in the NO_NEXT case.
6101
6102 2003-03-04  Angus Leeming  <leeming@lyx.org>
6103
6104         * commandtags.h:
6105         * LyXAction.C: new LFUN_INSET_MODIFY.
6106
6107         * BufferView_pimpl.C (dispatch): if an inset is found to be open
6108         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6109
6110 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6111
6112         * several files: ws changes only
6113
6114         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6115         (TeXEnvironment): ditto
6116         (TeXDeeper): ditto
6117
6118         * buffer.C (makeLaTeXFile): adjust
6119         (latexParagraphs): make it take ParagraphList::iterator as args
6120
6121 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6122
6123         * buffer.C (latexParagraphs): adjust
6124
6125         * paragraph.C (TeXOnePar): move function...
6126         (optArgInset): move function...
6127         (TeXEnvironment): move function...
6128         * paragraph_pimpl.C (TeXDeeper): move function...
6129         * paragraph_funcs.C: ...here
6130
6131         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6132
6133 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6134
6135         * buffer.C (readInset): remove compability code for old Figure and
6136         InsetInfo insets
6137
6138 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6139
6140         * buffer.C: ws changes
6141         (readInset):
6142
6143         * BufferView_pimpl.C: ditto
6144         * author.C: ditto
6145         * buffer.h: ditto
6146         * bufferlist.h: ditto
6147         * changes.h: ditto
6148         * lyxfunc.C: ditto
6149
6150 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
6151
6152         * converter.[Ch]: split into itself +
6153         * graph.[Ch]
6154         * format.[Ch]
6155         * Makefile.am: += graph.[Ch] + format.[Ch]
6156         * MenuBackend.C
6157         * buffer.C
6158         * exporter.C
6159         * importer.C
6160         * lyx_main.C
6161         * lyxfunc.C
6162         * lyxrc.C: added #include "format.h"
6163
6164 2003-02-27  Angus Leeming  <leeming@lyx.org>
6165
6166         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6167           a label.
6168
6169         * factory.C (createInset): add "label" to the factory.
6170
6171         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6172           string and do no more.
6173
6174 2003-02-27  Angus Leeming  <leeming@lyx.org>
6175
6176         * commandtags.h:
6177         * LyXAction.C (init):
6178         * factory.C (createInset):
6179         * BufferView_pimpl.C (dispatch):
6180           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6181
6182         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6183
6184         * lyxfunc.C (dispatch):
6185         * text3.C (dispatch): pass name to params2string.
6186
6187 2003-02-26  Angus Leeming  <leeming@lyx.org>
6188
6189         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6190           blocks together.
6191           Rearrange the ~includes. Strip out the unnecessary ones.
6192
6193         * factory.C (createInset): reformat.
6194           create new insets for the various LFUN_XYZ_APPLY lfuns.
6195
6196 2003-02-26  John Levon  <levon@movementarian.org>
6197
6198         * lyxrow.h:
6199         * lyxrow.C: add isParStart,isParEnd helpers
6200
6201         * paragraph.h: make isInserted/DeletedText take refs
6202
6203         * paragraph_funcs.h:
6204         * paragraph_funcs.C: remove #if 0'd code
6205
6206         * lyxtext.h:
6207         * text3.C:
6208         * text2.C:
6209         * text.C: use lyxrow helpers above.
6210           Move draw and paint routines to RowPainter.
6211           Make several methods use refs not pointers.
6212           Make backgroundColor() const.
6213           Add markChangeInDraw(), isInInset().
6214           Merge changeRegionCase into changeCase.
6215           Make workWidth() shouldn't-happen code into an Assert.
6216
6217         * rowpainter.h:
6218         * rowpainter.C: new class for painting a row.
6219
6220         * vspace.h:
6221         * vspace.C: make inPixels take a ref
6222
6223 2003-02-26  Angus Leeming  <leeming@lyx.org>
6224
6225         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6226         LFUN_REF_APPLY.
6227
6228 2003-02-25  John Levon  <levon@movementarian.org>
6229
6230         * ispell.C: give the forked command a more accurate name
6231
6232 2003-02-22  John Levon  <levon@movementarian.org>
6233
6234         * toc.h:
6235         * toc.C: make TocItem store an id not a Paragraph *
6236           (bug #913)
6237
6238 2003-02-21  Angus Leeming  <leeming@lyx.org>
6239
6240         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6241           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6242           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6243           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6244           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6245           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6246
6247         * BufferView_pimpl.C (dispatch):
6248         * LyXAction.C (init):
6249         * factory.C (createInset):
6250         * lyxfunc.C (getStatus, dispatch):
6251         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6252
6253 2003-02-21  Angus Leeming  <leeming@lyx.org>
6254
6255         * BufferView_pimpl.C (MenuInsertLyXFile):
6256         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6257         * lyxfunc.C (menuNew, open, doImport):
6258           no longer pass a LyXView & to fileDlg.
6259
6260 2003-02-21  Angus Leeming  <leeming@lyx.org>
6261
6262         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6263         * LyXAction.C: change, BIBKEY to BIBITEM.
6264         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6265         Change InsetBibKey to InsetBibitem.
6266         Change BIBKEY_CODE to BIBITEM_CODE.
6267         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6268         * factory.C: replace insetbib.h with insetbibitem.h.
6269         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6270         * paragraph.C: replace insetbib.h with insetbibitem.h.
6271         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6272         Change bibkey() to bibitem().
6273         * text.C: remove insetbib.h.
6274         * text2.C: replace insetbib.h with insetbibitem.h.
6275         change bibkey() to bibitem().
6276         * text3.C: remove insetbib.h.
6277         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6278
6279 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6280
6281         * lyxrc.C (output): enclose user email in quotes (in case there are
6282         several words)
6283
6284 2003-02-18  John Levon  <levon@movementarian.org>
6285
6286         * buffer.h: add std::
6287
6288 2003-02-17  John Levon  <levon@movementarian.org>
6289
6290         * SpellBase.h:
6291         * ispell.h:
6292         * ispell.C:
6293         * pspell.h:
6294         * pspell.C: reworking. Especially in ispell, a large
6295           number of clean ups and bug fixes.
6296
6297         * lyxfunc.C: fix revert to behave sensibly
6298
6299 2003-02-17 André Pönitz <poenitz@gmx.net>
6300
6301         * LyXAction.C:
6302         * commandtags.h: new LFUN_INSERT_BIBKEY
6303
6304         * layout.h:
6305         * lyxlayout.C:
6306         * buffer.C:
6307         * factory.C:
6308         * text.C:
6309         * text2.C:
6310         * text3.C:
6311         * paragraph.[Ch]:
6312         * paragraph_func.C: remove special bibkey handling
6313
6314 2003-02-17  John Levon  <levon@movementarian.org>
6315
6316         * text.C (Delete): fix case where delete at the end of
6317           the very first paragraph would not merge the pars
6318
6319 2003-02-17  John Levon  <levon@movementarian.org>
6320
6321         * lyxrow.C: fix lastPrintablePos()
6322
6323 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6324
6325         * bufferparams.C (writeLaTeX): add a std:here
6326
6327         * buffer.C: and remove a using directive there
6328
6329 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6330
6331         * buffer.C (makeLaTeXFile): move the code that generates the
6332           preamble...
6333
6334         * bufferparams.C (writeLaTeX): ... in this new method
6335
6336         * LaTeXFeatures.C (getEncodingSet): make const
6337           (getLanguages): make const
6338
6339         * MenuBackend.C (binding): returns the binding associated to this
6340           action
6341           (add): sets the status of each item by calling getStatus. Adds
6342           some intelligence.
6343           (read): add support for OptSubMenu
6344           (expand): remove extra separator at the end of expanded menu
6345
6346 2003-02-15  John Levon  <levon@movementarian.org>
6347
6348         * BufferView.C:
6349         * BufferView_pimpl.C:
6350         * bufferlist.h:
6351         * bufferlist.C: remove pointless BufferStorage bloat. Remove
6352           inset code that had no actual effect. Remove unneeded status
6353           code.
6354
6355 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6356
6357         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6358           in preamble
6359
6360 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
6361
6362         * text.C (drawLengthMarker): also draw an arrow marker for
6363           symbolic lengths (medskip...)
6364
6365 2003-02-14  John Levon  <levon@movementarian.org>
6366
6367         * tabular.h:
6368         * tabular.C: better method names
6369
6370 2003-02-14  John Levon  <levon@movementarian.org>
6371
6372         * BufferView_pimpl.C:
6373         * bufferlist.C:
6374         * buffer.C:
6375         * converter.C:
6376         * lyx_cb.C:
6377         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6378           it's a more accurate name. Remove some pointless uses.
6379
6380 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6381
6382         * text2.C (LyXText): change order of initilizers to shut off
6383           warnings
6384
6385 2003-02-14  John Levon  <levon@movementarian.org>
6386
6387         * buffer.C: use ParIterator for getParFromID()
6388
6389         * paragraph.h:
6390         * paragraph.C:
6391         * paragraph_pimpl.h:
6392         * paragraph_pimpl.C: remove unused getParFromID()
6393
6394 2003-02-14  John Levon  <levon@movementarian.org>
6395
6396         * buffer.C: remove some very old #if 0'd parse code
6397
6398 2003-02-13  John Levon  <levon@movementarian.org>
6399
6400         * text.h:
6401         * text.C:
6402         * text2.C: move hfillExpansion(), numberOfSeparators(),
6403           rowLast(), rowLastPrintable(), numberofHfills(),
6404           numberOfLabelHfills() ...
6405
6406         * lyxrow.h:
6407         * lyxrow.C: ... to member functions here.
6408
6409         * paragraph.h:
6410         * paragraph.C:
6411         * lyxtext.h:
6412         * text.C: remove LyXText::beginningOfMainBody(), and call
6413           p->beginningOfMainBody() directly. Move the check for
6414           LABEL_MANUAL into the latter.
6415
6416         * text.h:
6417         * text.C:
6418         * text2.C:
6419         * vspace.C:
6420         * BufferView.h:
6421         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6422
6423         * text.h:
6424         * text.C:
6425         * text2.C:
6426         * text3.C:
6427         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6428           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6429
6430 2003-02-13  John Levon  <levon@movementarian.org>
6431
6432         * CutAndPaste.C: remove debug
6433
6434 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6435
6436         * paragraph.C (asString): remove two unused variables
6437
6438         * lyxtextclass.C (readTitleType):
6439           (Read):
6440           (LyXTextClass): handle new members titletype_ and titlename_
6441
6442         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6443
6444 2003-02-09  John Levon  <levon@movementarian.org>
6445
6446         * buffer.h:
6447         * buffer.C: replace hand-coded list with a map for the dep clean
6448
6449 2003-02-08  John Levon  <levon@movementarian.org>
6450
6451         * LaTeX.C: consolidate code into showRunMessage() helper
6452
6453 2003-02-08  John Levon  <levon@movementarian.org>
6454
6455         * lyxfind.C:
6456         * lyxtext.h:
6457         * text2.C:
6458         * BufferView.C: change setSelectionOverString() to setSelectionRange()
6459           and pass the size in explicitly
6460
6461         * BufferView_pimpl.h:
6462         * BufferView_pimpl.C:
6463         * BufferView.h:
6464         * BufferView.C: add getCurrentChange()
6465
6466         * BufferView_pimpl.h:
6467         * BufferView_pimpl.C: handle change lfuns
6468
6469         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6470           for changes. Mark pasted paragraphs as new.
6471
6472         * support/lyxtime.h:
6473         * support/lyxtime.C:
6474         * DepTable.C: abstract time_t as lyx::time_type
6475
6476         * LColor.h:
6477         * LColor.C: add colours for new text, deleted text, changebars
6478
6479         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6480           package use "usenames" option.
6481
6482         * commandtags.h:
6483         * lyxfunc.C:
6484         * LyXAction.C: add change lfuns
6485
6486         * Makefile.am:
6487         * author.h:
6488         * author.C: author handling
6489
6490         * buffer.h:
6491         * buffer.C: add a per-buffer author list, with first entry as
6492           current author. Handle new .lyx tokens for change tracking. Output
6493           author list to .lyx file. Output dvipost stuff to .tex preamble.
6494           Bump lyx format to 222.
6495
6496         * bufferlist.h:
6497         * bufferlist.C: add setCurrentAuthor() to reset current author details
6498           in all buffers.
6499
6500         * bufferparams.h:
6501         * bufferparams.C: add param for tracking
6502
6503         * bufferview_funcs.C: output change info in minibuffer
6504
6505         * Makefile.am:
6506         * changes.h:
6507         * changes.C: add change-tracking structure
6508
6509         * debug.h:
6510         * debug.C: add CHANGES debug flag
6511
6512         * lyxfind.h:
6513         * lyxfind.C: add code for finding the next change piece
6514
6515         * lyxrc.h:
6516         * lyxrc.C: add user_name and user_email
6517
6518         * lyxrow.h:
6519         * lyxrow.C: add a metric for the top of the text line
6520
6521         * lyxtext.h:
6522         * text.C: implement accept/rejectChange()
6523
6524         * lyxtext.h:
6525         * text.C: paint changebars. Paint new/deleted text in the chosen
6526         colours. Strike through deleted text.
6527
6528         * paragraph.h:
6529         * paragraph.C:
6530         * paragraph_pimpl.h:
6531         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6532           in the current change to the insert functions. Rework erase to
6533           mark text as deleted, adding an eraseIntern() and a range-based
6534           erase(). Implement per-paragraph change lookup and
6535           accept/reject.
6536
6537         * paragraph_funcs.C: Fixup paste for change tracking.
6538
6539         * tabular.C: mark added row/columns as new.
6540
6541         * text.C: fix rowLast() to never return -1. Don't allow
6542           spellchecking of deleted text. Track transpose changes. Don't
6543           allow paragraph break or merge where appropriate.
6544
6545         * text2.C: leave cursor at end of selection after a cut.
6546
6547 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6548
6549         * text.C (getLengthMarkerHeight):
6550         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6551         visible on screen too.
6552
6553 2003-02-07  John Levon  <levon@movementarian.org>
6554
6555         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6556
6557 2003-02-05  Angus Leeming  <leeming@lyx.org>
6558
6559         * lyxserver.C (read_ready): revert my patch of 11 September last year
6560         as it sends PC cpu through the roof. Presumably this means that
6561         the lyxserver will no longer run on an Alpha...
6562
6563 2003-01-30  Angus Leeming  <leeming@lyx.org>
6564
6565         * factory.C (createInset): create an InsetCommandParam of type "index"
6566         and use it to 'do the right thing'.
6567
6568         * text2.C (getStringToIndex): ensure that cursor position is always
6569         reset to the reset_cursor position.
6570
6571 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6572
6573         * lyxfunc.C (getStatus): "buffer-export custom" should never be
6574         disabled.
6575
6576 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
6577
6578         * bufferview.C:
6579         * lyxcb.C:
6580         * lyxfunc.C: Output messages with identical spelling, punctuation,
6581         and spaces
6582
6583 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
6584
6585         * MenuBackend.C (expandFormats): List only viewable export formats
6586         in "View" menu
6587
6588         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6589         message
6590
6591         * lyxfunc.C (getStatus): Make sure that formats other than
6592         "fax" can also be disabled
6593
6594 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6595
6596         * text3.C (dispatch): put the lfuns that insert insets in 3
6597         groups, and call doInsertInset with appropriate arguments.
6598         (doInsertInset): new function, that creates an inset and inserts
6599         it according to some boolean parameters.
6600
6601 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6602
6603         * buffer.C (readFile): remember to pass on 'par' when calling
6604         readFile recursively.
6605
6606 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6607
6608         * MenuBackend.C (expandFormats): add "..." to import formats.
6609
6610 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
6611
6612         * paragraph.C (asString): Remove XForms RTL hacks.
6613
6614 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
6615         * buffer.C: fix typo
6616
6617 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6618
6619         * Makefile.am (LIBS): delete var
6620         (lyx_LDADD): add @LIBS@ here instead.
6621
6622 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
6623
6624         * Clarify the meaning of "wheel mouse jump"
6625
6626 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6627
6628         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6629         tabular in a float
6630
6631 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6632
6633         * importer.C (Loaders): do not preallocate 3 elements in the
6634         vector, since one ends up with 6 elements otherwise
6635
6636 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6637
6638         * DepTable.C (write): write the file name as last element of the
6639         .dep file (because it may contain spaces)
6640         (read): read info in the right order
6641
6642 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6643
6644         * paragraph_pimpl.C (simpleTeXBlanks):
6645         (simpleTeXSpecialChars):
6646         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6647
6648         * tabular.C (latex): add some missing case statements. Reindent.
6649
6650         * MenuBackend.C (expandToc): remove unused variable.
6651
6652 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
6653
6654         * LColor.C:
6655         * LaTeX.C:
6656         * LyXAction.C:
6657         * MenuBackend.C:
6658         * buffer.C:
6659         * exporter.C:
6660         * lyxfunc.C:
6661         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6662         and the like.
6663
6664 2003-01-05  John Levon  <levon@movementarian.org>
6665
6666         * BufferView.h:
6667         * BufferView.C: add getEncoding()
6668
6669         * kbsequence.h:
6670         * kbsequence.C: do not store last keypress
6671
6672         * lyxfunc.h:
6673         * lyxfunc.C: store last keypress here instead. Pass encoding
6674           to getISOEncoded()
6675
6676 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6677
6678         * lyx_main.C (init): remove annoying error message when following
6679         symbolic links (bug #780)
6680
6681 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6682
6683         * text.C (insertChar):
6684         * lyxrc.C (getDescription): remove extra spaces
6685
6686 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6687
6688         * lyxrc.C (getDescription): remove extra spaces
6689
6690 2002-12-20  John Levon  <levon@movementarian.org>
6691
6692         * text3.C: hack fix for page up/down across tall rows
6693
6694 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6695
6696         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6697         not been invoked
6698
6699 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6700
6701         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6702         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6703         thesaurus is not compiled in
6704
6705 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
6706
6707         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6708
6709 2002-12-16  Angus Leeming  <leeming@lyx.org>
6710
6711         * lyxrc.[Ch]:
6712         * lyx_main.C (init): remove override_x_deadkeys stuff.
6713
6714 2002-12-12  John Levon  <levon@movementarian.org>
6715
6716         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6717           insert. Only remove shift modifier under strict
6718           circumstances.
6719
6720 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6721
6722         * MenuBackend.C (expandToc): fix crash.
6723
6724 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6725
6726         * MenuBackend.C (expandToc): gettext on float names.
6727
6728 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6729
6730         * lyxlength.[Ch]: set default unit to UNIT_NONE,
6731         implement bool empty() [bug 490]
6732
6733 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6734
6735         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6736
6737 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6738
6739         * several files: ws changes
6740
6741 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6742
6743         * text2.C (setCounter): clean up a bit, use boost.format.
6744         (updateCounters): initialize par upon declaration.
6745
6746         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6747         if the layout exists. We do not just store the layout any more.
6748         (SwitchLayoutsBetweenClasses): use boost.format
6749
6750 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6751
6752         * converter.C (convert): if from and to files are the same, use a
6753         temporary files as intermediary
6754
6755 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6756
6757         * commandtags.h:
6758         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6759
6760 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6761
6762         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6763
6764 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6765
6766         * tabular.C (asciiPrintCell): use string(size, char) instead of
6767         explicit loop.
6768
6769         * sgml.C (openTag): fix order of arguments to string constructor
6770         (closeTag): ditto
6771
6772         * lyxfunc.C (dispatch): use boost.format
6773
6774         * lots of files: change "c" -> 'c'
6775
6776 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6777
6778         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6779
6780 2002-11-25  Angus Leeming  <leeming@lyx.org>
6781
6782         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6783
6784         * lyx_main.C (init): compile fix.
6785
6786 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6787
6788         * lyx_cb.C (start): boost.formatify
6789         do not include <iostream>
6790
6791         * lengthcommon.C: ws only
6792
6793         * boost-inst.C,BoostFormat.h: add more explict instantations
6794
6795 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6796
6797         * lots of files: handle USE_BOOST_FORMAT
6798
6799 2002-11-21  John Levon  <levon@movementarian.org>
6800
6801         * pspell.C: fix compile
6802
6803 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6804
6805         * lyxfunc.C (dispatch): use boost::format
6806         (open): ditto
6807         (doImport): ditto
6808
6809         * lyxfont.C (stateText): use boost::format
6810
6811         * lyx_main.C (LyX): use boost::format
6812         (init): ditto
6813         (queryUserLyXDir): ditto
6814         (readRcFile): ditto
6815         (parse_dbg): ditto
6816         (typedef boost::function): use the recommened syntax.
6817
6818         * importer.C (Import): use boost::format
6819
6820         * debug.C (showLevel): use boost::format
6821
6822         * converter.C (view): use boost::format
6823         (convert): ditto
6824         (move): ditto
6825         (scanLog): ditto
6826
6827         * bufferview_funcs.C (currentState): use boost::format
6828
6829         * bufferlist.C (emergencyWrite): use boost::format
6830
6831         * buffer.C (readLyXformat2): use boost::format
6832         (parseSingleLyXformat2Token): ditto
6833
6834         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6835
6836         * LaTeX.C (run): use boost::format
6837
6838         * Chktex.C (scanLogFile): use boost::format
6839
6840         * BufferView_pimpl.C (savePosition): use boost::format
6841         (restorePosition): ditto
6842         (MenuInsertLyXFile): ditto
6843
6844         * BoostFormat.h: help file for explicit instation.
6845
6846 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6847
6848         * tabular.C (latex): Support for block alignment in fixed width
6849         columns.
6850
6851 2002-11-17  John Levon  <levon@movementarian.org>
6852
6853         * BufferView_pimpl.C:
6854         * lyx_cb.C:
6855         * lyxfunc.C: split filedialog into open/save
6856
6857 2002-11-08  Juergen Vigna  <jug@sad.it>
6858
6859         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6860         by my last patch (hopefully).
6861
6862 2002-11-08  John Levon  <levon@movementarian.org>
6863
6864         * iterators.h:
6865         * iterators.C:
6866         * buffer.h:
6867         * buffer.C:
6868         * paragraph.h:
6869         * paragraph.C:
6870         * toc.h:
6871         * toc.C: ParConstIterator, and use it (from Lars)
6872
6873 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6874
6875         * lyxtextclass.[Ch]: revise and add doxygen comments
6876
6877 2002-11-07  John Levon  <levon@movementarian.org>
6878
6879         * text.C: fix progress value for spellchecker
6880
6881         * toc.C: fix navigate menu for insetwrap inside minipage
6882
6883         * paragraph_funcs.C: added FIXME for suspect code
6884
6885 2002-11-07  John Levon  <levon@movementarian.org>
6886
6887         * BufferView_pimpl.C: fix redrawing of insets
6888           on buffer switch
6889
6890 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6891
6892         * text2.C (updateCounters): fix bug 668
6893
6894 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
6895
6896         * text3.C (dispatch): Do not make the buffer dirty when moving the
6897         cursor.
6898
6899 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6900
6901         * vc-backend.C: STRCONV
6902         (scanMaster): ditto
6903
6904         * text2.C (setCounter): STRCONV
6905
6906         * paragraph.C (asString): STRCONV
6907
6908         * lyxlength.C (asString): STRCONV
6909         (asLatexString): ditto
6910
6911         * lyxgluelength.C (asString): STRCONV
6912         (asLatexString): ditto
6913
6914         * lyxfunc.C (dispatch): STRCONV
6915         (open): ditto
6916
6917         * lyxfont.C (stateText): STRCONV
6918
6919         * importer.C (Import): STRCONV
6920
6921         * counters.C (labelItem): STRCONV
6922         (numberLabel): ditto
6923         (numberLabel): remove unused ostringstream o
6924
6925         * chset.C: STRCONV
6926         (loadFile): ditto
6927
6928         * bufferview_funcs.C (currentState): STRCONV
6929
6930         * buffer.C (readFile): STRCONV
6931         (asciiParagraph): ditto
6932         (makeLaTeXFile): ditto
6933
6934         * Spacing.C (writeEnvirBegin): STRCONV
6935
6936         * LaTeXFeatures.C (getLanguages): STRCONV
6937         (getPackages): ditto
6938         (getMacros): ditto
6939         (getBabelOptions): ditto
6940         (getTClassPreamble): ditto
6941         (getLyXSGMLEntities): ditto
6942         (getIncludedFiles): ditto
6943
6944         * LaTeX.C: STRCONV
6945         (run): ditto
6946         (scanAuxFile): ditto
6947         (deplog): ditto
6948
6949         * LString.h: add the STRCONV macros
6950
6951         * BufferView_pimpl.C (savePosition): STRCONV
6952         (restorePosition): ditto
6953         (MenuInsertLyXFile): ditto
6954
6955         * vc-backend.C (scanMaster): change from submatch[...] to
6956         submatch.str(...)
6957
6958         * funcrequest.C: include config.h
6959
6960         * factory.C: include config.h
6961
6962         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6963
6964         * box.C: include config.h
6965
6966         * LaTeX.C (scanAuxFile): change from submatch[...] to
6967         submatch.str(...)
6968         (deplog): ditto
6969
6970 2002-10-25  Angus Leeming  <leeming@lyx.org>
6971
6972         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6973
6974         * ispell.[Ch] (setError): new method.
6975         * ispell.C (c-tor): move out child process into new class LaunchIspell.
6976         Use setError() insetead of goto END.
6977
6978         * lyx_cb.C (AutoSave): move out child process into new class
6979         AutoSaveBuffer.
6980
6981 2002-10-30  John Levon  <levon@movementarian.org>
6982
6983         * text3.C: make start appendix undoable
6984
6985 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
6986
6987         * lyxlength.C (inPixels): Fix returned value.
6988
6989         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6990         environment.
6991
6992 2002-10-24  Angus Leeming  <leeming@lyx.org>
6993
6994         * lyxgluelength.h: no need to forward declare BufferParams
6995         or BufferView, so don't.
6996
6997 2002-10-21  John Levon  <levon@movementarian.org>
6998
6999         * BufferView.C: menuUndo ->undo, redo
7000
7001         * BufferView.h: document, remove dead, make some methods private
7002
7003         * paragraph_funcs.h:
7004         * paragraph_funcs.C:
7005         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7006
7007         * buffer.h:
7008         * buffer.C:
7009         * sgml.h:
7010         * sgml.C: move sgml open/close tag into sgml.C
7011
7012         * bufferview_funcs.h: unused prototype
7013
7014         * lyxfunc.h:
7015         * lyxfunc.C: remove unused
7016
7017         * lyxtext.h:
7018         * text.C: remove unused
7019
7020 2002-10-21  John Levon  <levon@movementarian.org>
7021
7022         * BufferView.h:
7023         * BufferView.C:
7024         * BufferView_pimpl.h:
7025         * BufferView_pimpl.C: fix mouse wheel handling based on
7026           patch from Darren Freeman
7027
7028 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
7029
7030         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7031
7032 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
7033
7034         * lyxlength.C (inPixels): Fix hanfling of negative length.
7035         Fix LyXLength::MU case.
7036
7037 2002-10-16  John Levon  <levon@movementarian.org>
7038
7039         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7040
7041 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7042
7043         * converter.C (view): add support for $$i (file name) and $$p
7044         (file path) for the viewer command. If $$i is not specified, then
7045         it is appended to the command (for compatibility with old syntax)
7046
7047 2002-10-14  Juergen Vigna  <jug@sad.it>
7048
7049         * undo_funcs.C (textHandleUndo): alter the order in which the
7050         new undopar is added to the LyXText, as we have to set first
7051         the right prev/next and then add it as otherwise the rebuild of
7052         LyXText is not correct. Also reset the cursor to the right paragraph,
7053         with this IMO we could remove the hack in "redoParagraphs()".
7054
7055 2002-10-09  Angus Leeming  <leeming@lyx.org>
7056
7057         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7058         to turn off an optimisation if a new inset is to be inserted.
7059
7060 2002-10-11 André Pönitz <poenitz@gmx.net>
7061
7062         * lyxtext.h: make some functions public to allow access
7063         from inset/lyxtext for handling LFUN_PRIOR/NEXT
7064
7065 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7066
7067         * text3.C (dispatch): when changing layout, avoid an infinite loop
7068         [bug #652]
7069
7070 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7071
7072         * lyxrc.C (read): treat a viewer or converter command of "none" as
7073         if it were empty.
7074
7075         * MenuBackend.C (expandFormats): for an update, also allow the
7076         formats that are not viewable
7077
7078         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7079         script if it is newer than the lyxrc.defaults in user directory
7080
7081 2002-10-07 André Pönitz <poenitz@gmx.net>
7082
7083         * text.C: Vitaly Lipatov's small i18n fix
7084
7085 2002-09-25  Angus Leeming  <leeming@lyx.org>
7086
7087         * ispell.h: doxygen fix.
7088
7089 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
7090
7091         * buffer.h (readFile): Add a new argument to the method, to allow
7092         reading of old-format templates.
7093
7094 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
7095
7096         * toc.C (getTocList): Get TOC from InsetWrap.
7097
7098 2002-09-16  John Levon  <levon@movementarian.org>
7099
7100         * lyxfunc.C: check tabular for cut/copy too
7101
7102 2002-09-12  John Levon  <levon@movementarian.org>
7103
7104         * LyXAction.C: tidy
7105
7106         * factory.h:
7107         * factory.C: add header
7108
7109         * paragraph_funcs.h:
7110         * paragraph_funcs.C: cleanup
7111
7112 2002-09-11  John Levon  <levon@movementarian.org>
7113
7114         * PrinterParams.h: odd/even default to true
7115
7116 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
7117
7118         * PrinterParams.h: update printer parameters for new xforms dialog
7119
7120 2002-09-11  Angus Leeming  <leeming@lyx.org>
7121
7122         * lyxserver.C (read_ready): re-write to make it more transparent
7123         and to make it work in coherent fashion under Tru64 Unix.
7124
7125 2002-09-11  André Pönitz <poenitz@gmx.net>
7126
7127         * commandtags.h:
7128         * LyXAction.C:
7129         * text3.C: implement LFUN_WORDSEL
7130
7131 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7132
7133         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7134         make floatlist_ a boost::shared_ptr<FloatList>
7135
7136         * lyxtextclass.C: include FloatList.h
7137         (LyXTextClass): initialize floatlist_
7138         (TextClassTags): add TC_NOFLOAT
7139         (Read): match "nofloat" to TC_NOFLOAT and use it.
7140         (readFloat): modify call to floatlist_
7141         (floats): ditto
7142         (floats): ditto
7143
7144         * FloatList.[Ch] (FloatList): remove commented out float
7145         initialization.
7146         (erase): new function
7147
7148 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7149
7150         * MenuBackend.C (expandToc): fix crash when there is no document
7151         open
7152
7153 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
7154
7155         * many files: Add insetwrap.
7156
7157 2002-09-09  John Levon  <levon@movementarian.org>
7158
7159         * text2.C: remove confusing and awkward depth wraparound
7160
7161 2002-09-09  John Levon  <levon@movementarian.org>
7162
7163         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7164
7165         * buffer.h:
7166         * buffer.C: remove getIncludeonlyList()
7167
7168         * paragraph.C:
7169         * lyxfunc.C: remove headers
7170
7171 2002-09-09  Juergen Vigna  <jug@sad.it>
7172
7173         * text.C (getColumnNearX): fix form Michael this is most
7174         probably a cut&paste bug.
7175
7176 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7177
7178         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7179
7180         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7181         references, ws changes.
7182
7183         * text2.C (init): update counters after init
7184         (insertParagraph): no need to set counter on idividual paragraphs.
7185         (setCounter): access the counters object in the textclass object
7186         on in the buffer object.
7187         (updateCounters): ditto
7188
7189         * lyxtextclass.C: include counters.h, add variable ctrs_ as
7190         shared_ptr<Counters> to avoid loading counters.h in all
7191         compilation units.
7192         (LyXTextClass): initialize ctrs_
7193         (TextClassTags): add TC_COUNTER, and ...
7194         (Read): use it here.
7195         (CounterTags): new tags
7196         (readCounter): new function
7197         (counters): new funtion
7198         (defaultLayoutName): return a const reference
7199
7200         * counters.C (Counters): remove contructor
7201         (newCounter): remove a couple of unneeded statements.
7202         (newCounter): simplify a bit.
7203         (numberLabel): some small formatting changes.
7204
7205         * buffer.[Ch]: remove all traces of counters, move the Counters
7206         object to the LyXTextClass.
7207
7208 2002-09-06  Alain Castera  <castera@in2p3.fr>
7209
7210         * tabular.C: uses \tabularnewline; uses >{...} construct from array
7211         package to set the horizontal alignment on fixed width columns.
7212
7213         * lyx_sty.C:
7214         * lyx_sty.h: added tabularnewline macro def.
7215
7216         * LaTeXFeatures.C: added NeedTabularnewline macro feature
7217
7218 2002-09-06  John Levon  <levon@movementarian.org>
7219
7220         * LyXAction.C: tooltips for sub/superscript
7221
7222         * MenuBackend.C: a bit more verbose
7223
7224         * lyxfunc.C: tiny clean
7225
7226         * undo_funcs.C: document undo_frozen
7227
7228 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7229
7230         * counters.C (Counters): add missing algorithm counter.
7231
7232         * text2.C (setCounter): lookup the counter with layouts latexname
7233         instead of by section number.
7234         (setCounter): use a hackish way to lookup the correct enum
7235         counter.
7236         a float name->type change
7237         reset enum couners with counter name directly instead of depth value.
7238
7239         * counters.C (Counters): remove the push_backs, change to use the
7240         float type not the float name.
7241         (labelItem): remove unused string, float name->type change
7242
7243         * counters.h: don't include vector, loose the enums and sects vectors
7244
7245 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7246
7247         * lyxtextclass.C (TextClassTags): add TC_FLOAT
7248         (Read): add float->TC_FLOAT to textclassTags
7249         (Read): and handle it in the switch
7250         (readFloat): new function
7251
7252         * FloatList.C (FloatList): comment out the hardcoded float
7253         definitions.
7254
7255         * lyxlayout.h: ws change.
7256
7257 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
7258
7259         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7260
7261 2002-09-03  Angus Leeming  <leeming@lyx.org>
7262
7263         * BufferView_pimpl.h: qualified name is not allowed in member
7264         declaration: WorkArea & Pimpl::workarea() const;
7265
7266         * factory.C: added using std::endl directive.
7267
7268         * text3.C: added using std::find and std::vector directives.
7269
7270 2002-08-29  André Pönitz <poenitz@gmx.net>
7271
7272         * lyxtext.h:
7273         * text2.C: remove unused member number_of_rows
7274
7275         * Makefile.am:
7276         * BufferView2.C: remove file, move contents to...
7277         * BufferView.C: ... here
7278
7279         * BufferView_pimpl.C:
7280         * factory.C: move more inset creation to factory
7281
7282         * vspace.C: avoid direct usage of LyXText, ws changes
7283
7284         * BufferView.[Ch]:
7285                 don't provide direct access to WorkArea, use two simple
7286                 acessors haveSelction() and workHeight() instead
7287
7288
7289 2002-08-29  John Levon  <levon@movementarian.org>
7290
7291         * BufferView_pimpl.C (dispatch): do not continue when
7292           no buffer
7293
7294 2002-08-28  André Pönitz <poenitz@gmx.net>
7295
7296         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7297
7298         * BufferView.h:
7299         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7300
7301 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
7302
7303         * buffer.C: increment LYX_FORMAT to 221
7304
7305         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7306         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7307
7308         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7309
7310         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7311
7312 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7313
7314         * factory.C (createInset): use LyXTextClass::floats
7315
7316         * MenuBackend.C (expandFloatListInsert):
7317         (expandFloatInsert):
7318         (expandToc):
7319
7320         * text2.C (setCounter):
7321
7322         * LaTeXFeatures.C (useFloat):
7323         (getFloatDefinitions):
7324
7325         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7326
7327         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7328         floatlist_, with accessor floats().
7329
7330         * FloatList.h: remove global FloatList
7331
7332 2002-08-26  André Pönitz <poenitz@gmx.net>
7333
7334         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7335
7336         * BufferView.h:
7337         * BufferView2.C:
7338         * BufferView_pimpl.C:
7339         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7340
7341 2002-08-25  John Levon  <levon@movementarian.org>
7342
7343         * LyXAction.C: fix margin note description
7344
7345 2002-08-24  John Levon  <levon@movementarian.org>
7346
7347         * buffer.C:
7348         * bufferlist.C:
7349         * bufferview_funcs.C:
7350         * lyxfont.C:
7351         * undo_funcs.C: cleanups
7352
7353         * lyxfunc.C: disable CUT/COPY when no selection
7354
7355 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
7356
7357         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7358         in "enum UNIT"; e.g. PTW for Percent of TextWidth
7359
7360         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7361         Add backward compatibility to "mono", "gray" and "no".
7362
7363 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
7364
7365         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7366         (and file_format >= 200).
7367
7368 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7369
7370         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7371
7372 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7373
7374         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7375
7376 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
7377
7378         * BufferView_pimpl.C:
7379         * LyXAction.C:
7380         * buffer.C:
7381         * commandtags.h:
7382         * lyxfunc.C:
7383         * paragraph.[Ch]:
7384         * text2.C:
7385         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7386         inset and code to make it  work with the paragraph code. The inset
7387         can be anywhere in the paragraph, but will only do the expected
7388         thing in LaTeX if the layout file contains the parameter line
7389                         OptionalArgs    1
7390         (or more generally, a nonzero value) for that layout.
7391
7392 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7393
7394         * paragraph.h: remove the declaration of undefined counters class
7395         function.
7396
7397 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
7398
7399         * text2.C (setCounter):  fixed enumeration mis-count as reported by
7400         Dr. Richard Hawkins.
7401
7402 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7403
7404         * paragraph_funcs.h: remove some unneeded includes
7405
7406         * text.C (backspace): pasteParagraph now in global scipe
7407
7408         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7409         (pasteSelection): ditto
7410
7411         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7412         * paragraph_funcs.C (pasteParagraph): ... here
7413
7414 2002-08-20  André Pönitz <poenitz@gmx.net>
7415
7416         * commandtags.h: new LFUNs for swapping/copying table row/colums
7417
7418         * LyXAction.C:
7419         * lyxfunc.C: support for new lfuns
7420
7421 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7422
7423         * tabular.C:
7424         * buffer.[Ch]: remove NO_COMPABILITY stuff
7425
7426 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
7427
7428         * boost.C (throw_exception): new file, with helper function for
7429         boost compiled without exceptions.
7430
7431         * paragraph.h:
7432         * lyxlength.C:
7433         * buffer.C:
7434         * ParameterStruct.h:
7435         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7436
7437         * bufferlist.C (emergencyWriteAll): use boost bind
7438
7439         * BufferView_pimpl.C (moveCursorUpdate): remove inline
7440
7441         * text.C: include paragraph_funcs.h
7442         (breakParagraph): breakParagraph is now in global scope
7443
7444         * paragraph_funcs.[Ch]: new files
7445
7446         * paragraph.C (breakParagraph,breakParagraphConservative): move to
7447         global scope
7448
7449         * buffer.C: include paragraph_funcs.h
7450         (insertStringAsLines): breakParagraph is now in global scope
7451
7452         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7453         paragraph_funcs.C
7454
7455         * CutAndPaste.C: include paragraph_funcs.h
7456         (cutSelection): breakParagraphConservative is now in global scope
7457         (pasteSelection): ditto
7458
7459         * buffer.h: declare oprator== and operator!= for
7460         Buffer::inset_iterator
7461
7462         * bufferlist.C (emergencyWrite): don't use fmt(...)
7463
7464         * text3.C: add using std::endl
7465
7466         * BufferView.C (moveCursorUpdate): remove default arg
7467
7468 2002-08-20  André Pönitz <poenitz@gmx.net>
7469
7470         * buffer.[Ch]: move inline functions to .C
7471
7472         * BufferView2.C:
7473         * BufferView_pimpl.C:
7474         * text.C:
7475         * buffer.[Ch]: use improved inset_iterator
7476
7477         * buffer.C:
7478         * paragraph.[Ch]: write one paragraph at a time
7479
7480 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
7481
7482         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7483         style if style is not specified.
7484
7485 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7486
7487         * text2.C (setCounter): when searching for right label for a
7488         caption, make sure to recurse to parent insets (so that a caption
7489         in a minipage in a figure float works) (bug #568)
7490
7491 2002-08-20  André Pönitz <poenitz@gmx.net>
7492
7493         * text3.C: new file for LyXText::dispatch() and helpers
7494
7495         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7496
7497         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7498
7499 2002-08-19  André Pönitz <poenitz@gmx.net>
7500
7501         * lyxtext.h:
7502         * text.C: new LyXText::dispatch()
7503
7504         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7505
7506 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
7507
7508         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7509
7510         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7511         Hebrew text.
7512
7513 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7514
7515         * Makefile.am: use $(variables) instead of @substitutions@
7516
7517 2002-08-15  André Pönitz <poenitz@gmx.net>
7518
7519         * lyxfunc.C:
7520         * BufferView_pimpl.C: streamlining mathed <-> outer world
7521         interaction
7522
7523         * commandtags.h:
7524         * LyXAction.C: remove unused LFUN_MATH
7525
7526 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7527
7528         * paragraph.[Ch]: add some NO_NEXT ifdefs.
7529
7530 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7531
7532         * paragraph.C (Paragraph): reformat a bit
7533         (cutIntoMinibuffer): use builtin InsetList function instad of
7534         doing it manually.
7535         (getInset): ditto
7536
7537         * buffer.C: include boost/bind.hpp, add using std::for_each
7538         (writeFileAscii): use ParagraphList iterators
7539         (validate): use for_each for validate traversal of paragraphs
7540         (getBibkeyList): use ParagraphList iterators
7541         (resizeInsets): use for_each to resizeInsetsLyXText for all
7542         paragraphs.
7543         (getParFromID): use ParagraphList iterators
7544
7545         * BufferView2.C (lockInset): use paragraph list and iterators
7546
7547 2002-08-14  John Levon  <levon@movementarian.org>
7548
7549         * lyxserver.C: remove spurious xforms include
7550
7551 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7552
7553         * lyxfunc.C (getStatus): disable math-extern outside of math mode
7554
7555 2002-08-13  André Pönitz <poenitz@gmx.net>
7556
7557         * LyXAction.[Ch]:
7558         * lyxfunc.C: further cleaning
7559
7560 2002-08-13  André Pönitz <poenitz@gmx.net>
7561
7562         * funcrequest.h: new constructor
7563
7564         * funcrequest.C: move stuff here from .h
7565
7566         * Makefile.am:
7567         * BufferView_pimpl.C:
7568         * LyXAction.C:
7569         * toc.C:
7570         * lyxfunc.C: subsequent changes
7571
7572         * lyxfunc.h: new view() member function
7573
7574         * lyxfunc.C: subsequent changes
7575
7576 2002-08-13  Angus Leeming  <leeming@lyx.org>
7577
7578         * BufferView2.C:
7579         * BufferView_pimpl.C:
7580         * buffer.C:
7581         * converter.C:
7582         * importer.C:
7583         * lyxfunc.C:
7584         * lyxvc.C:
7585         * toc.C:
7586         * vc-backend.C:
7587         changes due to the changed LyXView interface that now returns references
7588         to member variables not pointers.
7589
7590 2002-08-13  Angus Leeming  <leeming@lyx.org>
7591
7592         * WordLangTuple (word, lang_code): return references to strings,
7593         not strings.
7594
7595         * BufferView.h:
7596         * SpellBase.h:
7597         * lyxtext.h: forward-declare WordLangTuple.
7598
7599         * BufferView2.C:
7600         * ispell.C:
7601         * pspell.C:
7602         * text.C: #include "WordLangTuple.h".
7603
7604         * lyxtext.h:
7605         * text.C: (selectNextWordToSpellcheck): constify return type.
7606
7607 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
7608
7609         * buffer.C:
7610         * buffer.h:
7611         * lyxtext.h:
7612         * paragraph.C:
7613         * paragraph_pimpl.h:
7614         * text.C:
7615         * text2.C:
7616         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7617         suggested by Angus.
7618         Made updateCounter always count from start of buffer, and removed
7619         second argument (par).
7620         Reverted floats number display to '#'. Perhaps I'll try again when the
7621         code base is sanitized a bit.
7622
7623 2002-08-12  Angus Leeming  <leeming@lyx.org>
7624
7625         * buffer.[Ch] (getLabelList): constify.
7626
7627 2002-08-07  André Pönitz <poenitz@gmx.net>
7628
7629         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7630
7631         * funcrequest.h: extension to keep mouse (x,y) position
7632
7633 2002-08-12  Juergen Vigna  <jug@sad.it>
7634
7635         * BufferView2.C (insertErrors): forbid undo when inserting error
7636         insets.
7637
7638         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7639
7640 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7641
7642         * ParagraphList.[Ch]: new files
7643
7644         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7645
7646         * BufferView2.C (lockInset): ParagraphList changes
7647         * toc.C: ditto
7648         * text2.C: ditto
7649         * bufferlist.C: ditto
7650         * buffer.h: ditto
7651         * buffer.C: ditto
7652
7653 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7654
7655         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7656         unused class variable counter_,
7657
7658         * paragraph.[Ch] (getFirstCounter): delete unused function
7659
7660         * counters.C: include LAssert.h
7661         (reset): add a new function with no arg, change other version to
7662         not have def. arg and to not allow empty arg.
7663
7664         * text2.C (setCounter): remove empty arg from call to Counters::reset
7665
7666 2002-08-11  John Levon  <levon@movementarian.org>
7667
7668         * Makefile.am: add WordLangTuple.h
7669
7670 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7671
7672         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7673         lyxfunc.C lyxlex_pimpl.C: ws changes only.
7674
7675         * insets/insettext.C: InsetList changes
7676
7677         * graphics/GraphicsSupport.C (operator()): InsetList changes
7678
7679         * toc.C (getTocList): InsetList changes
7680
7681         * paragraph_pimpl.[Ch]: InsetList changes
7682
7683         * paragraph.[Ch]: InsetList changes
7684
7685         * buffer.C (inset_iterator): InsetList changes
7686         (setParagraph): ditto
7687         * buffer.h (inset_iterator): ditto
7688         * iterators.C (operator++): ditto
7689         * iterators.h: ditto
7690
7691         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7692
7693         * InsetList.[Ch]: new files, most InsetList handling moved out of
7694         paragraph.C.
7695
7696         * BufferView2.C (removeAutoInsets): InsetList changes
7697         (lockInset): ditto
7698         (ChangeInsets): ditto
7699
7700 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7701
7702         * paragraph_pimpl.h (empty): new function
7703
7704         * paragraph.[Ch] (empty): new function
7705
7706         * other files: use the new Paragraph::empty function
7707
7708 2002-08-09  John Levon  <levon@movementarian.org>
7709
7710         * lyxtext.h: remove unused refresh_height
7711
7712 2002-08-09  John Levon  <levon@movementarian.org>
7713
7714         * Makefile.am:
7715         * sgml.h:
7716         * sgml.C:
7717         * buffer.C:
7718         * paragraph.h:
7719         * paragraph.C: move sgml char escaping out of paragraph
7720
7721         * paragraph.h:
7722         * paragraph.C: remove id setter
7723
7724         * buffer.C:
7725         * paragraph.C:
7726         * paragraph_pimpl.C: remove dead tex_code_break_column
7727
7728         * bufferview_funcs.C: small cleanup
7729
7730         * lyxfunc.C: remove dead proto
7731
7732         * lyxtext.h: make some stuff private. Remove some dead stuff.
7733
7734         * lyxgluelength.C: make as[LyX]String() readable
7735
7736 2002-08-08  John Levon  <levon@movementarian.org>
7737
7738         * LyXAction.h:
7739         * LyXAction.C:
7740         * MenuBackend.C:
7741         * ToolbarDefaults.C:
7742         * lyxfunc.C:
7743         * lyxrc.C:
7744         * toc.C: lyxaction cleanup
7745
7746 2002-08-08  John Levon  <levon@movementarian.org>
7747
7748         * BufferView2.C: small cleanup
7749
7750         * lyxfind.h:
7751         * lyxfind.C: move unnecessary header into the .C
7752
7753 2002-08-08  John Levon  <levon@movementarian.org>
7754
7755         * funcrequest.h: just tedious nonsense
7756
7757         * lyx_main.h:
7758         * lyx_main.C: cleanups
7759
7760         * buffer.C:
7761         * vspace.C: remove dead header lyx_main.h
7762
7763 2002-08-07  Angus Leeming  <leeming@lyx.org>
7764
7765         * Paragraph.[Ch]:
7766         * paragraph_pimpl.h:
7767         Forward declare class Counters in paragraph.h by moving the ctrs member
7768         variable into Paragraph::Pimpl.
7769         (counters): new method, returning a reference to pimpl_->ctrs.
7770
7771         * text2.C: ensuing changes.
7772
7773 2002-08-07  John Levon  <levon@movementarian.org>
7774
7775         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7776
7777         * BufferView_pimpl.C: announce X selection on double/triple
7778           click
7779
7780         * lyx_main.C: use correct bool in batch dispatch
7781
7782         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7783
7784 2002-08-07  André Pönitz <poenitz@gmx.net>
7785
7786         * funcrequest.h: new class to wrap a kb_action and its argument
7787
7788         * BufferView.[Ch]:
7789         * BufferView_pimpl[Ch]:
7790         * LaTeX.C:
7791         * LyXAction.[Ch]:
7792         * lyxfunc.[Ch]:
7793         * lyxrc.C: subsequent changes
7794
7795
7796 2002-08-07  John Levon  <levon@movementarian.org>
7797
7798         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7799           document options change.
7800
7801 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7802
7803         * counters.[Ch]
7804         * text2.C
7805         * paragraph.[Ch]
7806         * makefile.am: move counters functionality over from
7807         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7808
7809 2002-08-06  John Levon  <levon@movementarian.org>
7810
7811         * WordLangTuple.h: new file for word + language code tuple
7812
7813         * SpellBase.h:
7814         * pspell.h:
7815         * pspell.C:
7816         * ispell.h:
7817         * ispell.C:
7818         * lyxtext.h:
7819         * text.C:
7820         * text2.C:
7821         * BufferView.h:
7822         * BufferView2.C: use WordLangTuple
7823
7824         * layout.h:
7825         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7826
7827 2002-08-06  John Levon  <levon@movementarian.org>
7828
7829         * lyx_main.C: fix cmdline batch handling
7830
7831 2002-08-06  André Pönitz <poenitz@gmx.net>
7832
7833         * lyxrc.C: set default for show_banner to true
7834
7835 2002-08-06  John Levon  <levon@movementarian.org>
7836
7837         * pspell.C: fix a crash, and allow new aspell to work
7838
7839 2002-08-06  John Levon  <levon@movementarian.org>
7840
7841         * lyxfunc.C:
7842         * kbmap.C: small cleanup
7843
7844         * vspace.h:
7845         * vspace.C: add const
7846
7847 2002-08-05  John Levon  <levon@movementarian.org>
7848
7849         * LyXAction.C: back to tabular-insert
7850
7851 2002-08-04  John Levon  <levon@movementarian.org>
7852
7853         * BufferView.h:
7854         * BufferView.C: cosmetic change
7855
7856         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7857
7858         * bufferlist.C:
7859         * buffer.h:
7860         * buffer.C:
7861         * lyxcb.h:
7862         * lyxcb.C:
7863         * lyxserver.C:
7864         * lyxvc.C:
7865         * vc-backend.C:
7866         * BufferView2.C: purge all "Lyx" not "LyX" strings
7867
7868         * lyxcursor.h:
7869         * lyxcursor.C: attempt to add some documentation
7870
7871         * lyxfunc.C:
7872         * commandtags.h:
7873         * LyXAction.C:
7874         * ToolbarDefaults.C:
7875         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7876           merge with LFUN_TABULAR_INSERT
7877
7878         * Makefile.am:
7879         * SpellBase.h:
7880         * ispell.h:
7881         * ispell.C:
7882         * pspell.h:
7883         * pspell.C: split up i/pspell implementations into separate
7884           files, many cleanups
7885
7886         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7887
7888         * text2.C: some cleanup
7889
7890         * lyxfunc.C: don't check for isp_command == "none" any more, it
7891           didn't make any sense
7892
7893 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
7894
7895         * counters.[Ch]
7896         * text2.C
7897         * paragraph.[Ch]
7898         * makefile.am: move counters functionality over
7899         from text2.C/paragraph.[Ch] to counters.[Ch], and
7900         make proper C++.
7901 2002-08-02  John Levon  <levon@movementarian.org>
7902
7903         * buffer.C: s/lyxconvert/lyx2lyx/
7904
7905 2002-08-02  Angus Leeming  <leeming@lyx.org>
7906
7907         * lyxlex.C: revert John's change as it breaks reading of the user
7908         preamble.
7909
7910 2002-08-02  Angus Leeming  <leeming@lyx.org>
7911
7912         * importer.C (Import):
7913         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7914         changes due to LyXView::view() now returning a boost::shared_ptr.
7915
7916 2002-08-02  John Levon  <levon@movementarian.org>
7917
7918         * lyxlex.C: small cleanup
7919
7920 2002-08-02  John Levon  <levon@movementarian.org>
7921
7922         * text2.C (status): small cleanup, no logic change
7923
7924 2002-08-01  John Levon  <levon@movementarian.org>
7925
7926         * buffer.h:
7927         * buffer.C (writeFile): don't output alerts, caller
7928           handles this
7929
7930         * bufferlist.C:
7931         * lyx_cb.C: from above
7932
7933         * lyxfunc.C: allow to open non-existent files
7934
7935 2002-07-31  John Levon  <levon@movementarian.org>
7936
7937         * lyxserver.C: don't let incidental errors get
7938           in the way (errno)
7939
7940 2002-07-30  John Levon  <levon@movementarian.org>
7941
7942         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7943
7944 2002-07-30  John Levon  <levon@movementarian.org>
7945
7946         * lyxserver.h:
7947         * lyxserver.C: remove I/O callback too
7948
7949 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7950
7951         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7952         log.
7953
7954 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7955
7956         * many files: strip,frontStrip -> trim,ltrim,rtrim
7957
7958 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7959
7960         * PrinterParams.h: remove extern containsOnly, and include
7961         support/lstrings.h instead.
7962
7963         * LaTeX.C (scanAuxFile): modify because of strip changes
7964         (deplog): ditto
7965         * buffer.C (makeLaTeXFile): ditto
7966         * bufferparams.C (writeFile): ditt
7967         * lyxfont.C (stateText): ditto
7968         * lyxserver.C (read_ready): ditto
7969         * vc-backend.C (scanMaster): ditto
7970
7971         * BufferView_pimpl.h: ws changes
7972
7973         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7974
7975 2002-07-26  André Pönitz <poenitz@gmx.net>
7976
7977         * kb_sequence.C: remove unnedred usings
7978
7979 2002-07-26  Juergen Vigna  <jug@sad.it>
7980
7981         * lyxfind.C (LyXReplace): we have to check better if the returned
7982         text is not of theLockingInset()->getLockingInset().
7983
7984 2002-07-25  Juergen Vigna  <jug@sad.it>
7985
7986         * lyxfind.C (LyXReplace): don't replace if we don't get the
7987         right LyXText.
7988
7989         * undo_funcs.C (createUndo): remove debugging code.
7990
7991 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
7992
7993         * buffer.C (parseSingleLyXformat2Token): Use default placement
7994         when reading old floats.
7995
7996         * FloatList.C (FloatList): Change the default placement of figure
7997         and tables to "tbp".
7998
7999 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
8000
8001         * MenuBackend.C: using std::max
8002
8003 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8004
8005         * MenuBackend.C (expandToc):
8006         (expandToc2): code moved from xforms menu frontend. It is now
8007         generic and TOCs are transparent to menu frontends.
8008
8009 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8010
8011         * toc.C (getTocList): protect against buf=0
8012
8013         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8014         Menu as first parameter. Now, this calls itself recursively to
8015         expand a whole tree (this will be useful for TOC handling)
8016         (expandFloatInsert): remove 'wide' version of floats
8017
8018         * MenuBackend.h (submenuname): returns the name of the submenu.
8019         (submenu): returns the submenu itself, provided it has been
8020         created by MenuBackend::expand
8021
8022 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8023
8024         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8025         insets which have noFontChange == true. (bug #172)
8026
8027 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8028
8029         * BufferView_pimpl.C: add connection objects and use them...
8030         (Pimpl): here.
8031
8032 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8033
8034         * MenuBackend.C (expandLastfiles):
8035         (expandDocuments):
8036         (expandFormats):
8037         (expandFloatListInsert):
8038         (expandFloatInsert):
8039         (expand): split expand in parts
8040
8041 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8042
8043         * lyx_gui.C: use lyx_gui::exit()
8044
8045 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8046
8047         * LyXAction.C: show the failing pseudo action
8048
8049 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
8050
8051         * buffer.C (readFile): Run the lyxconvert script in order to read
8052         old files.
8053
8054 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8055
8056         * LyXAction.C:
8057         * commandtags.h:
8058         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8059
8060 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8061
8062         * LyXAction.C:
8063         * commandtags.h:
8064         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8065
8066 2002-07-22  Herbert Voss  <voss@lyx.org>
8067
8068         * lengthcommon.C:
8069         * lyxlength.[Ch]: add support for the vertical lengths
8070
8071 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
8072
8073         * toc.[Ch]: std:: fixes
8074
8075 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8076
8077         * lyxrc.C: do not include lyx_main.h
8078
8079         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8080         for layouts
8081
8082         * lyxrc.C:
8083         * encoding.C:
8084         * bufferlist.C:
8085         * BufferView2.C: include "lyxlex.h"
8086
8087         * tabular.h:
8088         * bufferparams.h: do not #include "lyxlex.h"
8089
8090         * lyxtextclasslist.C (Add): remove method
8091         (classlist): renamed to classlist_
8092
8093         * paragraph_pimpl.C:
8094         * paragraph.C:
8095         * text2.C:
8096         * CutAndPaste.C:
8097         * bufferview_funcs.C:
8098         * bufferlist.C:
8099         * text.C:
8100         * LaTeXFeatures.C:
8101         * buffer.C:
8102         * toc.C (getTocList): use BufferParams::getLyXTextClass
8103
8104         * toc.C (getTocList): use InsetFloat::addToToc
8105
8106         * toc.[Ch]: new files, containing helper functions to handle table
8107         of contents
8108
8109         * lyxfunc.C (dispatch): no need to remove spaces around command
8110         given as a string
8111         (getStatus): handle LFUN_SEQUENCE by returning the status of the
8112         first command of the sequence; it is not very clever, but I do not
8113         have a better idea, actually
8114
8115         * LyXAction.C (LookupFunc): make sure to remove space at the
8116         beginning and end of the command
8117
8118 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8119
8120         * MenuBackend.C (getMenubar): new method: return the menubar of
8121         this menu set
8122         (read): treat differently reading of menu and menubar (in
8123         particular, the menubar has no name now)
8124         (Menu::menubar): remove
8125
8126         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8127         saving is finished
8128
8129 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8130
8131         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8132         a bibitem inset in a RTL paragraph.
8133
8134 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
8135
8136         * paragraph_pimpl.C: constify
8137
8138         * BufferView_pimpl.C:
8139         * LaTeX.C:
8140         * lyxfunc.C: fix dispatch in a nicer way
8141
8142 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8143
8144         * lyxfunc.C (dispatch):
8145         * BufferView_pimpl.C:
8146         * BufferView_pimpl.h:
8147         * BufferView.C:
8148         * BufferView.h: rename Dispatch() to dispatch()
8149
8150         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8151
8152         * lyxlayout.C (Read): honor DependsOn tag
8153
8154         * lyxlayout.[Ch] (depends_on): new method
8155
8156         * version.C.in: update lyx_docversion
8157
8158         * LaTeXFeatures.C (getMacros): only define \LyX when needed
8159
8160         * paragraph.C (validate): remove from here...
8161         * paragraph_pimpl.C (validate): ... and move here
8162         (isTextAt): make it const
8163
8164         * buffer.C (getLists): ws cleanup
8165
8166 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8167
8168         * language.C (read): Use iso8859-1 encoding in latex_lang
8169         (this prevents LyX from crashing when using iso10646-1 encoding).
8170
8171 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8172
8173         * text2.C (toggleInset): if cursor is inside an inset, close the
8174         inset and leave cursor _after_ it
8175
8176 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8177
8178         * lyxfunc.C: move minibuffer completion handling out of here
8179
8180 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8181
8182         * BufferView_pimpl.C:
8183         * LaTeX.C: fix dispatch calls
8184
8185 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
8186
8187         * text.C (drawChars): Fix Arabic text rendering.
8188
8189 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
8190
8191         * LyXAction.C:
8192         * commandtags.h:
8193         * lyxfunc.C: remove message-push/pop
8194
8195         * lyxserver.C:
8196         * lyxfunc.h:
8197         * lyxfunc.C: rationalise some code by removing verboseDispatch
8198           in favour of a bool argument to dispatch()
8199
8200 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8201
8202         * lyx_main.C (init): make sure to read symlinks as absolute paths
8203
8204 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8205
8206         * lyxfunc.h:
8207         * lyxfunc.C: no need for commandshortcut to be a member
8208
8209 2002-07-15  André Pönitz <poenitz@gmx.net>
8210
8211         * converter.C: add support for $$s (scripts from lib/scripts dir)
8212         * lyx_main.C: white space
8213
8214 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8215
8216         * bufferlist.C:
8217         * lyxrc.h:
8218         * lyxrc.C: remove second exit confirmation
8219
8220 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8221
8222         * BufferView.h:
8223         * BufferView.C:
8224         * BufferView2.C:
8225         * BufferView_pimpl.h:
8226         * BufferView_pimpl.C:
8227         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8228
8229 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8230
8231         * MenuBackend.C (expand): add numeric shortcuts to document menu
8232
8233         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8234
8235 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8236
8237         * lyxfont.C (setLyXFamily):
8238         (setLyXSeries):
8239         (setLyXShape):
8240         (setLyXSize):
8241         (setLyXMisc):
8242         (lyxRead):
8243         * debug.C (value):
8244         * buffer.C (asciiParagraph): use ascii_lowercase
8245
8246 2002-07-15  Mike Fabian  <mfabian@suse.de>
8247
8248         * lyxlex_pimpl.C (search_kw):
8249         * lyxlex.C (getLongString):
8250         * converter.h (operator<):
8251         * converter.C (operator<):
8252         * buffer.C (parseSingleLyXformat2Token):
8253         (asciiParagraph):
8254         * ToolbarDefaults.C (read):
8255         * MenuBackend.C (checkShortcuts):
8256         (read):
8257         * LColor.C (getFromGUIName):
8258         (getFromLyXName): use the compare_ascii_no_case instead of
8259         compare_no_case, because in turkish, 'i' is not the lowercase
8260         version of 'I', and thus turkish locale breaks parsing of tags.
8261
8262 2002-07-16  Angus Leeming  <leeming@lyx.org>
8263
8264         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8265         now takes a Buffer const & argument.
8266
8267 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
8268
8269         * BufferView.C (resize): check there's a buffer to resize
8270
8271 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
8272
8273         * lyxfunc.C: remove dead code
8274
8275         * lyxserver.h:
8276         * lyxserver.C: use lyx_guii::set_read_callback
8277
8278 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
8279
8280         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8281         an inset in a RTL paragraph.
8282
8283 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8284
8285         * lyxfunc.C: repaint after a font size update
8286
8287 2002-07-15  André Pönitz <poenitz@gmx.net>
8288
8289         * lyxlength.C: inBP should be able to return negative values
8290
8291 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8292
8293         * lyxfunc.C: use lyx_gui::update_fonts()
8294
8295 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8296
8297         * lyxfunc.C: use lyx_gui::update_color()
8298
8299 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8300
8301         * bufferlist.C:
8302         * lyxfunc.h:
8303         * lyxfunc.C:
8304         * lyxrc.h:
8305         * lyxrc.C: remove file->new asks for name option, and let
8306           buffer-new take an argument
8307
8308 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8309
8310         * BufferView_pimpl.C: remove unneeded extra repaint()
8311
8312 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
8313
8314         * LyXAction.C: allow command-sequence with NoBuffer
8315
8316         * lyxfunc.C: don't insist on trailing ';' for command-sequence
8317
8318 2002-07-10  Angus Leeming  <leeming@lyx.org>
8319
8320         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8321
8322 2002-07-09  Angus Leeming  <leeming@lyx.org>
8323
8324         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8325
8326 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8327
8328         * lengthcommon.h: whitespace
8329
8330         * lyxfunc.C: update scrollbar after goto paragraph
8331
8332         * lyxtext.h: factor out page break drawing, and fix it so
8333           page break/added space paints as selected nicely
8334
8335 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8336
8337         * BufferView_pimpl.C: add FIXMEs, clean up a little
8338
8339 2002-07-09  André Pönitz <poenitz@gmx.net>
8340
8341         * lyxfont.[Ch]: support for wasy symbols
8342
8343 2002-07-08  André Pönitz <poenitz@gmx.net>
8344
8345         * BufferView_pimpl.C: apply John's patch for #93.
8346
8347 2002-07-05  Angus Leeming  <leeming@lyx.org>
8348
8349         * BufferView_pimpl.C (buffer): generate previews if desired.
8350
8351         * LColor.h: add "preview" to the color enum.
8352
8353         * LColor.C (LColor): add a corresponding entry to the items array.
8354
8355         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8356         with this buffer.
8357
8358 2002-07-05  Angus Leeming  <leeming@lyx.org>
8359
8360         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8361         The body of the code is now in the method that is passed an ostream &
8362         rather than a file name.
8363         Pass an additional only_preamble parameter, useful for the forthcoming
8364         preview stuff.
8365
8366 2002-07-03  André Pönitz <poenitz@gmx.net>
8367
8368         * lyxfunc.C: simplify getStatus() a bit for math stuff
8369
8370 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8371
8372         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8373
8374 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8375
8376         * text.C (changeRegionCase): do not change case of all the
8377         document when region ends at paragraph end (bug #461)
8378
8379 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8380
8381         * paragraph.C (startTeXParParams):
8382         (endTeXParParams): add \protect when necessary
8383
8384 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8385
8386         * BufferView_pimpl.C (workAreaExpose): remove warning
8387
8388 2002-06-27  Angus Leeming  <leeming@lyx.org>
8389
8390         * Makefile.am: add lyxlayout_ptr_fwd.h.
8391
8392 2002-06-26  André Pönitz <poenitz@gmx.net>
8393
8394         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8395
8396 2002-06-25  Angus Leeming  <leeming@lyx.org>
8397
8398         * lyxfunc.C (dispatch): Comment out the call to
8399         grfx::GCache::changeDisplay. The method no longer exists now that the
8400         pixmap generation part of the graphics loader has been moved into
8401         InsetGraphics.
8402
8403 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8404
8405         * text2.C: layout as layout
8406
8407         * text.C: layout as layout
8408
8409         * tabular.C (OldFormatRead): layout as layout
8410
8411         * paragraph_pimpl.C (TeXDeeper): layout as layout
8412         (realizeFont): layout as layout
8413
8414         * paragraph.C (writeFile): layout as layout
8415         (validate): layout as layout
8416         (getFont): layout as layout
8417         (getLabelFont): layout as layout
8418         (getLayoutFont): layout as layout
8419         (breakParagraph): layout as layout
8420         (stripLeadingSpaces): layout as layout
8421         (getEndLabel): layout as layout
8422         (getMaxDepthAfter): layout as layout
8423         (applyLayout): layout as layout
8424         (TeXOnePar): layout as layout
8425         (simpleTeXOnePar): layout as layout
8426         (TeXEnvironment): layout as layout
8427         (layout): layout as layout
8428         (layout): layout as layout
8429
8430         * lyxtextclass.C (compare_name): new functor to work with
8431         shared_ptr, layout as layout
8432         (Read): layout as layout
8433         (hasLayout): layout as layout
8434         (operator): layout as layout
8435         (delete_layout): layout as layout
8436         (defaultLayout): layout as layout
8437
8438         * lyxlayout_ptr_fwd.h: new file
8439
8440         * lyxlayout.C (Read): layout as layout
8441
8442         * lyx_cb.C (MenuInsertLabel): layout as layout
8443
8444         * bufferlist.C (newFile): layout as layout
8445
8446         * buffer.C (readLyXformat2): layout as layout
8447         (parseSingleLyXformat2Token): layout as layout
8448         (insertStringAsLines): layout as layout
8449         (asciiParagraph): layout as layout
8450         (latexParagraphs): layout as layout
8451         (makeLinuxDocFile): layout as layout
8452         (simpleLinuxDocOnePar): layout as layout
8453         (makeDocBookFile): layout as layout
8454         (simpleDocBookOnePar): layout as layout
8455         (getLists): layout as layout
8456
8457         * LaTeXFeatures.C (getTClassPreamble): layout as layout
8458
8459         * CutAndPaste.C (cutSelection): layout as layout
8460         (pasteSelection): layout as layout
8461         (SwitchLayoutsBetweenClasses): layout as layout
8462
8463         * BufferView_pimpl.C (Dispatch): layout as layout
8464         (smartQuote): layout as layout
8465
8466         * BufferView2.C (unlockInset): layout as layout
8467
8468 2002-06-24  André Pönitz <poenitz@gmx.net>
8469
8470         * lyxfunc.C: fix #487
8471
8472 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8473
8474         * lyxrc.h:
8475         * lyxrc.C:
8476         * lyxfunc.C: remove display_shortcuts, show_banner
8477
8478 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8479
8480         * Buffer_pimpl.C: oops, update on resize
8481
8482 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8483
8484         * buffer.C:
8485         * converter.C:
8486         * exporter.C:
8487         * lyxfunc.C:
8488         * BufferView.h:
8489         * BufferView.C: use repaint()
8490
8491         * BufferView_pimpl.h:
8492         * BufferView_pimpl.C: s/updateScreen()/repaint()/
8493           as it's a clearer description. Remove superfluous
8494           redraws.
8495
8496 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8497
8498         * text.C: fix bug 488. Not ideal, but getting
8499           getWord() to work properly for the insets that
8500           matter is more difficult ...
8501
8502 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8503
8504         * BufferView_pimpl.C:
8505         * LyXAction.C:
8506         * commandtags.h:
8507         * lyxfunc.C: remove the six million index lyxfuncs to just
8508           one, and DTRT (bug 458)
8509
8510 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8511
8512         * BufferView.h:
8513         * BufferView.C:
8514         * BufferView_pimpl.h:
8515         * BufferView_pimpl.C: clean up resize() stuff,
8516           and unnecessary updateScreen()s
8517
8518 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8519
8520         * BufferView.h:
8521         * BufferView.C:
8522         * BufferView_pimpl.h:
8523         * BufferView_pimpl.C:
8524         * lyxfind.h:
8525         * lyxfind.C:
8526         * minibuffer.C: remove focus management of workarea,
8527           not needed. Use screen's greyOut()
8528
8529 2002-06-17  Herbert Voss  <voss@lyx.org>
8530
8531         * converter.C: (convert) do not post a message, when converting
8532         fails, let the calling function decide what to do in this case
8533
8534 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
8535
8536         * lyxfunc.C: tidy up a little
8537
8538 2002-06-16    <alstrup@diku.dk>
8539
8540         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8541         Got rid of FORMS_H_LOCATION include. Now we are
8542         GUII.
8543
8544 2002-06-15  LyX Development team  <lyx@rilke>
8545
8546         * buffer.[Ch] (sgmlOpenTag):
8547         (sgmlCloseTag): Added support for avoiding pernicious mixed
8548         content. Return number of lines written.
8549
8550         (makeLinuxDocFile):
8551         (makeDocBookFile): Fixed calls to sgml*Tag.
8552         Simple white space clean.
8553
8554         (simpleDocBookOnePar): Simple white space clean.
8555
8556         * tabular.[Ch] (docBook): Renamed to docbook and got another
8557         argument to related with the pernicious mixed content.
8558
8559         (docbookRow): Fixed calls for docbook inset method.
8560
8561 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
8562
8563         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8564         so it's X11 independent.
8565
8566         * kb*.[Ch]: ditto.
8567
8568         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8569
8570 2002-06-15  Lyx Development team  <lyx@electronia>
8571
8572         * intl.h: Renamed getTrans to getTransManager.
8573
8574 2002-06-14  Angus Leeming  <leeming@lyx.org>
8575
8576         * Makefile.am: nuke forgotten stl_string_fwd.h.
8577
8578 2002-06-12  Angus Leeming  <leeming@lyx.org>
8579
8580         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8581
8582 2002-06-13  Angus Leeming  <leeming@lyx.org>
8583
8584         * LaTeX.C:
8585         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8586
8587 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
8588
8589         * kbmap.C (getiso): add support for cyrillic and greek
8590
8591 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8592
8593         * BufferView.h:
8594         * BufferView.C:
8595         * BufferView_pimpl.h:
8596         * BufferView_pimpl.C: move bogus scrolling logic
8597           to xforms
8598
8599 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8600
8601         * lyxfunc.C:
8602         * BufferView_pimpl.C: view->resize() change
8603
8604 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8605
8606         * BufferView_pimpl.C: topCursorVisible
8607           prototype change
8608
8609 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8610
8611         * Makefile.am:
8612         * lyx_gui.h:
8613         * lyx_gui.C: move to frontends/
8614
8615         * main.C:
8616         * lyx_main.h:
8617         * lyx_main.C: changes from above
8618
8619 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8620
8621         * intl.C:
8622         * intl.h:
8623         * kbmap.C:
8624         * kbsequence.C:
8625         * lyx_cb.C:
8626         * lyx_main.C: minor tidy
8627
8628 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8629
8630         * BufferView_pimpl.h:
8631         * BufferView_pimpl.C:
8632         * BufferView.h:
8633         * BufferView.C: make painter() const,
8634           remove dead code
8635
8636         * BufferView2.C: use screen() accessor
8637
8638         * lyx_main.h:
8639         * lyx_main.C: some minor cleanup
8640
8641 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8642
8643         * BufferView_pimpl.h:
8644         * BufferView_pimpl.C: remove enter/leaveView,
8645           use workHeight()
8646
8647 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8648
8649         * BufferView.h:
8650         * BufferView.C:
8651         * BufferView2.C:
8652         * BufferView_pimpl.h:
8653         * BufferView_pimpl.C: only construct screen once,
8654           rename
8655
8656         * lyxrc.C: remove pointless comment
8657
8658 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8659
8660         * BufferView.h:
8661         * BufferView.C: remove active() and belowMouse()
8662
8663         * BufferView_pimpl.h:
8664         * BufferView_pimpl.C: use workarea() not workarea_,
8665           and make it use a scoped_ptr instead
8666
8667 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8668
8669         * lyx_gui.C: add debug message on BadWindow
8670
8671 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8672
8673         * sp_spell.C: fdopen is not part of the C++ standard.
8674
8675         * paragraph.C (InsetIterator): use >= instead of ==
8676
8677 2002-06-07  Angus Leeming  <leeming@lyx.org>
8678
8679         Fixes needed to compile with Compaq cxx 6.5.
8680         * BufferView_pimpl.C:
8681         * DepTable.C:
8682         * buffer.C:
8683         * converter.C:
8684         * encoding.C:
8685         * lyx_gui.C:
8686         * lyx_main.C:
8687         * lyxtextclasslist.C:
8688         * minibuffer.C:
8689         * sp_spell.C:
8690         * tabular_funcs.C:
8691         * vc-backend.C:
8692         all c-library variables have been moved into namespace std. Wrap
8693         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8694
8695         * lyxlength.C:
8696         * tabular-old.C:
8697         * tabular.C:
8698         Add a using std::abs declaration.
8699
8700         * kbmap.h (modifier_pair):
8701         * paragraph.h (InsetTable, InsetList):
8702         * lyxfont.h (FontBits):
8703         type definition made public.
8704
8705         * bufferlist.C (emergencyWriteAll): the compiler complains that
8706         there is more than one possible lyx::class_fun template to choose from.
8707         I re-named the void specialisation as lyx::void_class_fun.
8708
8709         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8710
8711         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8712         the compiler is is unable to find tostr in write_attribute.
8713
8714 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8715
8716         * buffer.C (sgmlError): hide #warning
8717
8718 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8719
8720         * xtl/*: get rid of xtl, which is not in use anyway
8721
8722         * LyXAction.C (init):
8723         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8724         were unimplemented xtl experimentation
8725
8726 2002-06-04  André Pönitz <poenitz@gmx.net>
8727
8728         * lyxfunc.C: disable array operation on simple formulae
8729
8730 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
8731
8732         * converter.C: constify a bit
8733
8734 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
8735
8736         * lyx_gui.C: check xforms version correctly
8737
8738 2002-04-30  Herbert Voss  <voss@lyx.org>
8739
8740         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8741         "keep" option
8742
8743 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
8744
8745         * lyxvc.C: fix bug 416 (make sure buffer is saved before
8746           attempt to register it with a VCS)
8747
8748 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8749
8750         * lyx_main.C (init): honor variables LYX_DIR_13x and
8751         LYX_USERDIR_13x
8752
8753 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8754
8755         * buffer.h:
8756         * buffer.C:
8757         * lyx_main.C: fix a crash on bad command line,
8758           and give a useful exit status on error
8759
8760         * lyxfunc.C (doImport): allow -i lyx to work
8761
8762 2002-03-30  André Pönitz <poenitz@gmx.net>
8763
8764         * lyxfunc.C: mathed font changes
8765
8766 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8767
8768         * LaTeX.C:
8769         * importer.h:
8770         * importer.C:
8771         * lyx_sty.h:
8772         * lyx_sty.C:
8773         * lyxlex.C:
8774         * lyxrow.h:
8775         * lyxtext.h:
8776         * paragraph.h:
8777         * paragraph.C:
8778         * texrow.h:
8779         * texrow.C:
8780         * text.C:
8781         * trans_mgr.h: srcdocs, and some minor cleanups
8782
8783 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8784
8785         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8786         call getFont all the time)
8787
8788 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8789
8790         * switch from SigC signals to boost::signals
8791
8792 2002-05-29  André Pönitz <poenitz@gmx.net>
8793
8794         * paragraph_pimpl.C (getChar): don't call size() too often...
8795
8796 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8797
8798         * paragraph_pimpl.C (insertChar): do not try to update tables when
8799         appending (pos == size())
8800
8801         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8802         in order to reduce drastically the number of comparisons needed to
8803         parse a large document
8804
8805 2002-05-29  André Pönitz <poenitz@gmx.net>
8806
8807         * text.C:
8808         * text2.C:
8809         * lyxtextclass.C:
8810         * sp_pspell.h:
8811         * textclasslist.[Ch]:
8812         * sp_ispell.h: whitespace change
8813
8814 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8815
8816         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8817         lyxaction directly now.
8818
8819 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8820
8821         * trans.C:
8822         * lyxfont.C:
8823         * lyxvc.C: remove unused headers
8824
8825 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8826
8827         * Makefile.am:
8828         * buffer.h:
8829         * undostack.h:
8830         * undostack.C:
8831         * undo_funcs.h:
8832         * undo_funcs.C: some cleanups. Use shared_ptr
8833           and a template for the undo stacks.
8834
8835 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8836
8837         * BufferView_pimpl.h:
8838         * BufferView_pimpl.C:
8839         * kbmap.h:
8840         * kbmap.C:
8841         * kbsequence.h:
8842         * kbsequence.C:
8843         * lyxfunc.h:
8844         * lyxfunc.C:
8845         * text2.C: use key_state/mouse_state
8846
8847 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8848
8849         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8850         and LSubstring
8851
8852         * chset.C: change include order
8853         (loadFile): use boost regex and get rid of LRegex and LSubstring
8854
8855         * Makefile.am (BOOST_LIBS): new variable
8856         (lyx_LDADD): use it
8857
8858         * LaTeX.C: change include order.
8859         (scanAuxFile): use boost regex and get rid of LRegex and
8860         LSubstring
8861         (deplog): ditto
8862
8863 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8864
8865         * ColorHandler.h:
8866         * ColorHandler.C:
8867         * FontInfo.h:
8868         * FontInfo.C: moved to frontends/xforms/
8869
8870         * FontLoader.h:
8871         * FontLoader.C: moved into frontends for GUIIzation
8872
8873         * Makefile.am:
8874         * lyx_gui.C:
8875         * lyxfont.C:
8876         * lyxfunc.C: changes from above
8877
8878 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8879
8880         * LColor.C: remove spurious X include
8881
8882         * BufferView_pimpl.C:
8883         * Makefile.am:
8884         * font.h:
8885         * font.C:
8886         * text.C:
8887         * text2.C: move font metrics to frontends/
8888
8889 2002-05-24  Juergen Vigna  <jug@sad.it>
8890
8891         * undo_funcs.C (textHandleUndo): fix the cursor selection after
8892         setting the undo_cursor.
8893
8894         * ParagraphParameters.h: include local includes first.
8895
8896 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8897
8898         * BufferView_pimpl.C:
8899         * BufferView_pimpl.h:
8900         * Makefile.am:
8901         * WorkArea.h:
8902         * WorkArea.C:
8903         * screen.C: move WorkArea into frontends/
8904
8905         * lyxscreen.h:
8906         * screen.C:
8907         * text.C:
8908         * BufferView.C:
8909         * BufferView2.C: move LyXScreen into frontends/
8910
8911         * lyxlookup.h:
8912         * lyxlookup.C:
8913         * lyx_gui.C: move lyxlookup into frontends/xforms/
8914
8915 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8916
8917         * BufferView2.C:
8918         * BufferView_pimpl.C:
8919         * FontLoader.C:
8920         * LyXView.h:
8921         * LyXView.C:
8922         * Makefile.am:
8923         * WorkArea.C:
8924         * XFormsView.h:
8925         * XFormsView.C:
8926         * buffer.C:
8927         * bufferlist.C:
8928         * bufferview_funcs.C:
8929         * converter.C:
8930         * importer.C:
8931         * lyx_cb.C:
8932         * lyx_gui.C:
8933         * lyx_main.C:
8934         * lyx_find.C:
8935         * lyxfunc.C:
8936         * lyxvc.C:
8937         * minibuffer.C:
8938         * text.C:
8939         * text2.C:
8940         * trans.C:
8941         * vc-backend.C: move LyX/XFormsView into frontends/
8942
8943 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8944
8945         * Makefile.am:
8946         * PainterBase.C:
8947         * PainterBase.h:
8948         * Painter.C:
8949         * Painter.h:
8950         * WorkArea.C:
8951         * WorkArea.h:
8952         * screen.C:
8953         * tabular.C:
8954         * text.C:
8955         * text2.C: move Painter to frontends/
8956
8957 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8958
8959         * buffer.C: comment out some some code that depend upon lyx_format
8960         < 220
8961
8962         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8963         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8964
8965         * buffer.h (NO_COMPABILITY): turn off compability
8966
8967         * ColorHandler.C: include scoped_array.hpp
8968
8969         * font.C: Use more specific smart_ptr header.
8970         * Painter.C: ditto
8971         * gettext.C: ditto
8972         * ShareContainer.h: ditto
8973         * lyx_main.h: ditto
8974         * kbmap.h: ditto
8975         * FontInfo.h: ditto
8976         * BufferView_pimpl.h: ditto
8977         * ColorHandler.h: ditto
8978
8979         * kbmap.C (defkey): change call to shared_ptr::reset
8980
8981 2002-05-21  Juergen Vigna  <jug@sad.it>
8982
8983         * buffer.C (insertErtContents): fix to insert ert asis if it is
8984         non empty. Skip it completely if it contains only whitespaces.
8985
8986 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
8987
8988         * BufferView_pimpl.C:
8989         * BufferView2.C: clear selection on paste (bug 393)
8990
8991 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8992
8993         * DepTable.C: include ctime
8994
8995 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
8996
8997         * buffer.C (latexParagraphs): Add new argument (moving_arg).
8998
8999 2002-05-14  Juergen Vigna  <jug@sad.it>
9000
9001         * text.C (breakParagraph): fixed function to honor the keepempty
9002         layout in the right maner and also to permit the right breaking
9003         algorithm on empty or non empyt keepempty paragraphs.
9004
9005         * paragraph.C (breakParagraph): we have to check also if the par
9006         is really empty (!size()) for isempty otherwise we do the wrong
9007         paragraph break.
9008
9009 2002-05-10  Juergen Vigna  <jug@sad.it>
9010
9011         * buffer.[Ch] : The following are only changes to the ert
9012         compatibility read reading old LaTeX layout and font stuff and
9013         convert it to ERTInsets.
9014
9015         * buffer.h: added isErtInset().
9016
9017         * buffer.C (struct ErtComp): add a fromlayout bool to check
9018         if we're inside a LaTeX layout.
9019         (isErtInset): new helper function.
9020         (insertErtContents): look for other ert insets before this one
9021         and insert the contents there, so that we don't have subsequent
9022         ERT insets with nothing between them. This way we create only one
9023         inset with multiple paragraphs. Also check if we don't insert only
9024         spaces ' ' as they are ignored anyway afterwards in the .tex file
9025         so if we have only spaces we will ignore this latex part in the
9026         new file.
9027         (parseSingleLyXformat2Token \\layout): better compatibility when
9028         reading layout-latex stuff.
9029         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9030         language tag.
9031         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9032         stuff after reading the inset only get the information back from
9033         the stack.
9034
9035 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
9036
9037         * buffer.C (makeLaTeXFile): Put language options after loading babel.
9038
9039         * LaTeXFeatures.C (getBabelOptions): New method.
9040
9041 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9042
9043         * BufferView_pimpl.C (Dispatch): work around missing argument for
9044         'layout'
9045
9046 2002-05-08  Juergen Vigna  <jug@sad.it>
9047
9048         * text.C (leftMargin): handle paragraph leftindent.
9049
9050         * paragraph.C (writeFile): write the new \\leftindent tag.
9051         (validate): handle leftindent code.
9052         (TeXEnvironment): handle paragraphleftindent code again.
9053
9054         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9055
9056         * buffer.C (parseSingleLyXformat2Token): added compatibility code
9057         for paragrap_extra indent code and new token \\leftindent.
9058         (latexParagraphs): handle the leftindent as environment.
9059
9060         * ParameterStruct.h: added leftindent support.
9061
9062         * ParagraphParameters.C (leftIndent): added support functions for
9063         the paragraph left indent.
9064
9065         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9066         more appropriate.
9067
9068 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
9069
9070         * paragraph.C (isRightToLeftPar): Return false for a paragraph
9071         inside insetERT.
9072
9073         * text.C (computeBidiTables): No bidi in insetERT.
9074
9075         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9076         in RTL documents.
9077
9078 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9079
9080         * version.C.in: pre 5
9081
9082 2002-05-02  José Matos  <jamatos@fep.up.pt>
9083         * buffer.C (makeDocBookFile): white space changes, add newline to
9084         command styles.
9085         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9086
9087         * tabular.C (docBook): fix typo.
9088
9089 2002-05-03  Juergen Vigna  <jug@sad.it>
9090
9091         * screen.C (drawFromTo): recalculate the rowpointer if we had a
9092         change in LyXText as we can not be sure it was not freed.
9093         (drawOneRow): remove unused code.
9094
9095         * text.C (drawInset): redo the calculation of the need_break_row as
9096         it could have a row which was already freed.
9097         (draw): look at the return value of drawInset and return false if
9098         it also returned false.
9099         (paintRowText): look at the return value of draw and return false if
9100         it also returned false.
9101
9102         * lyxtext.h: added bool return type to drawInset() and draw() so that
9103         if we have a change in the row so that the rowbreak has to be redone
9104         we abort drawing as it will be called again.
9105
9106 2002-05-02  Juergen Vigna  <jug@sad.it>
9107
9108         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9109         a change in the maintext also if we're inside an inset.
9110         (Dispatch): set the cursor again after a break line and after the
9111         screen has been updated as it could be we're in a different row.
9112
9113         * text2.C (fixCursorAfterDelete): check to make sure we don't request
9114         to set the cursor behind the pargraph with > size().
9115         (setCursor): check also for the same paragraph when checking where
9116         to put the cursor if we have a NFR inset.
9117
9118         * buffer.C (parseSingleLyXformat2Token): move the compatibility
9119         parts of layout read further up as it still was in the wrong
9120         position.
9121
9122 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9123
9124         * screen.C (drawFromTo): change sine fullRebreak always return
9125         true.
9126
9127         * buffer.C (parseSingleLyXformat2Token): reindent some
9128
9129         * BufferView_pimpl.C (update): change since fullRebreak always
9130         return true.
9131         (Dispatch): git rid of the last hardcoded "Standard"s.
9132
9133 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9134
9135         * text2.[Ch] (fullRebreak): make it return void now that we always
9136         returned true.
9137
9138 2002-04-30  Juergen Vigna  <jug@sad.it>
9139
9140         * buffer.C (parseSingleLyXformat2Token): reset the font before the
9141         ert compatibility check for "latex" layout.
9142
9143 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
9144
9145         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9146         minipages: use col% instead of p%, and also use the current font.
9147         (makeLaTeXFile): Fix use babel condition.
9148         (parseSingleLyXformat2Token): Correct font when reading old floats.
9149
9150 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
9151
9152         * BufferView_pimpl.C (Dispatch): Check that float type exists when
9153         inserting list of floats.
9154
9155 2002-04-25  Herbert Voss  <voss@lyx.org>
9156
9157         * MenuBackend.C (expand): don't add the graphics extensions to the
9158         export menu
9159
9160 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9161
9162         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9163         non-existing layout, do not complain if it was the default layout
9164         of the original class (bug #342)
9165
9166 2002-04-24  Juergen Vigna  <jug@sad.it>
9167
9168         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9169         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9170
9171 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
9172
9173         * buffer.C (getBibkeyList): If using \bibliography, return the
9174         option field with the reference itself. Enables us to provide natbib
9175         support when using \bibliography.
9176
9177 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
9178
9179         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9180
9181         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9182         natbib is provided by the LaTeX class.
9183
9184 2002-04-23  Juergen Vigna  <jug@sad.it>
9185
9186         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9187         Wakeup functions.
9188
9189         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9190
9191 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9192
9193         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9194
9195         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9196         ensuremath around textordmasculine, textordfeminine and
9197         textdegree.
9198
9199 2002-04-19  Juergen Vigna  <jug@sad.it>
9200
9201         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9202         reinitializing the buffer otherwise row-dimensions may be wrong.
9203         (update): reset also the selection cursors if they do exits otherwise
9204         their x/y positions may be wrong.
9205
9206         * text2.C (cursorDown): don't enter the inset if we came from a row
9207         above and are one row over the inset.
9208
9209         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9210         really leaving an inset.
9211
9212 2002-04-18  Juergen Vigna  <jug@sad.it>
9213
9214         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9215         of the selected paragraph does not have the selected layout also if
9216         the last one had!
9217
9218         * text2.C (setLayout): fixed bug which did not change last selected
9219         paragraph.
9220
9221         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9222         changed the read and substituted \\end_float with \\end_inset!
9223
9224         * BufferView_pimpl.C (cursorPrevious):
9225         (cursorNext): fixed to make it work with rows heigher than the work
9226         area without moving the cursor only the draw of the row.
9227         (workAreaMotionNotify): fix jumping over high rows.
9228
9229 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9230
9231         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9232         Ressler.
9233
9234 2002-04-16  Juergen Vigna  <jug@sad.it>
9235
9236         * text2.C (setCursor): set also the irow().
9237         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9238         (cursorUp):
9239         (cursorDown): support for locking an inset if the x_fix value goes
9240         inside it. That way I can transverse insets too with cursor up/down.
9241
9242         * lyxrow.h: added irow helper function same as other (i) functions.
9243
9244         * BufferView_pimpl.C (cursorPrevious):
9245         (cursorNext): fixed for insets!
9246
9247 2002-04-15  Juergen Vigna  <jug@sad.it>
9248
9249         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9250         position otherwise it is wrong in some cases.
9251
9252         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9253         inside the inset before the call.
9254
9255 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
9256
9257         * buffer.[Ch] (getBibkeyList): make it const.
9258
9259 2002-04-12  Juergen Vigna  <jug@sad.it>
9260
9261         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9262
9263         * text2.C (getCursorX): new helper function
9264         (setCursor): compute also ix_
9265         (setCursorFromCoordinates): set also ix.
9266
9267         * lyxcursor.h: added ix_ and helper functions.
9268
9269         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9270
9271         * buffer.C (insertStringAsLines): dont break paragraph if the this
9272         paragraph is inside an inset which does not permit it!
9273
9274         * text.C (breakParagraph): honor keepempty flag and break the paragraph
9275         also with no chars on this paragraph.
9276         (paintRowText): only paint stuff if it's inside the workarea!
9277
9278         * paragraph.C (breakParagraph): honor keepempty flag and break the
9279         paragraph always below not above.
9280
9281         * BufferView2.C (unlockInset): update the paragraph layout on inset
9282         unlock as we changed paragraph in such a case.
9283
9284         * lyxfind.C (LyXFind): clear the former selection if not found!
9285
9286         * text2.C (insertInset): freeze Undo after setUndo so that it is not
9287         again called in insertChar().
9288
9289         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9290         an inset which uses the whole row!
9291         (rightMargin): ditto.
9292         (insertChar): force a rebreak if we inserted an inset!
9293
9294 2002-03-28  Herbert Voss  <voss@lyx.org>
9295
9296         * lyxlength.[Ch]: add inBP() to get the right PS-point
9297         units (BigPoint). With inPixels we have rounding errors
9298
9299 2002-04-11  Juergen Vigna  <jug@sad.it>
9300
9301         * text2.C (setCursorFromCoordinates): set iy to the right value.
9302         (setCursor): add check if row->previous exists!
9303
9304         * buffer.C (parseSingleLyXformat2Token): reset font after read of
9305         an old float_type as this was the case in the old code!
9306
9307         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9308
9309         * BufferView2.C (showLockedInsetCursor): use iy
9310         (fitLockedInsetCursor): ditto
9311
9312         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9313         locked insets as there we have the right value now.
9314
9315         * lyxcursor.C: added iy_ variable and iy functions to set to the
9316         baseline of cursor-y of the locked inset.
9317
9318         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9319         (setCursor): fixed for insets which need a full row.
9320
9321         * text.C (rowLastPrintable): don't ignore the last space when before
9322         an inset which needs a full row.
9323         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9324         as last character of a row when before a inset which needs a full row.
9325
9326 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9327
9328         * version.C.in: update date
9329
9330         * text2.C (fullRebreak): try to always return true and see what
9331         happens...
9332
9333 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9334
9335         * MenuBackend.C (expand): use Floating::listName
9336
9337         * FloatList.C (FloatList): add listName argument to the built-in
9338         floats
9339
9340         * Floating.[Ch]: add listName member, which is the 'List of XXX'
9341         text associated with the float.
9342
9343 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9344
9345         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9346
9347 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9348
9349         * ShareContainer.h: add a couple of missing typenames.
9350
9351 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
9352
9353         * lyxrc.C (getDescription): use _() correctly rather than N_().
9354
9355 2002-03-28  Herbert Voss  <voss@lyx.org>
9356
9357         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9358         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9359
9360 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9361
9362         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9363         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9364
9365 2002-03-29  Juergen Vigna  <jug@sad.it>
9366
9367         * lyxfunc.C (dispatch): add a missing fitCursor call.
9368
9369         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9370         it was scrolled by a cursor move, so return the bool status.
9371
9372         * BufferView.C (fitCursor): return the bool flag also to the outside
9373         world as this is needed.
9374
9375         * screen.C (toggleToggle): don't subtract the offset if it's positive.
9376
9377         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9378         call the edit() as it is not needed (and wrong) IMO.
9379         (workAreaButtonPress): set the screen_first variable before evt.
9380         unlock the inset as this may change screen_first and then we have
9381         a wrong y position for the click!
9382
9383 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9384
9385         * MenuBackend.C (expand): another translation that I missed
9386
9387 2002-03-28  Juergen Vigna  <jug@sad.it>
9388
9389         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9390
9391         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9392
9393 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9394
9395         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9396
9397         * MenuBackend.C (expand): fix export/view/update when there is no
9398         document open.
9399
9400 2002-03-27  Herbert Voss  <voss@lyx.org>
9401
9402         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9403         and text%
9404
9405 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9406
9407         * bufferview_funcs.C (currentState): only show paragraph number
9408         for is DEVEL_VERSION is set.
9409
9410         * lyxfunc.C (dispatch): put warning in INFO channel
9411
9412         * MenuBackend.C (expand): translate the name of floats
9413
9414         * FloatList.C (FloatList): mark the float names for translation
9415
9416         * converter.C (convert): use LibScriptSearch
9417
9418 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9419
9420         * MenuBackend.C (defaults): fix default menu (we might as well get
9421         rid of it...)
9422
9423 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9424
9425         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9426         directory.
9427
9428 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9429
9430         * lyxvc.C: reorder includes.
9431
9432 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
9433
9434         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9435           properly
9436
9437 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
9438
9439         * CutAndPaste.C: change layouts earlier on paste
9440           to avoid crashing when calling getFont()
9441
9442 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
9443
9444         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9445         irritating #error.
9446
9447 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9448
9449         * WorkArea.C: remove 'Pending' debug message.
9450
9451         * most files: ws cleanup
9452
9453         * buffer.[Ch]: ws changes
9454
9455         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9456
9457 2002-03-21  Juergen Vigna  <jug@sad.it>
9458
9459         * tabular.C (SetMultiColumn): collapse also the contents of the
9460         cells and set the last border right. Added a Buffer const * param.
9461
9462 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9463
9464         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9465         linking or not.
9466
9467 2002-03-19  Juergen Vigna  <jug@sad.it>
9468
9469         * text2.C (clearSelection): reset also xsel_cache.
9470
9471         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9472         where it needs to be called (John tells us to do so too :)
9473         (selectionLost): reset sel_cache.
9474
9475         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9476
9477 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9478
9479         * text2.C (setCursorIntern): put debuging code in INSETS channel
9480
9481 2002-03-19  André Pönitz <poenitz@gmx.net>
9482
9483         * lyxfunc.C: tiny whitespace change
9484
9485 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9486
9487         * ToolbarDefaults.C (init):
9488         * LyXAction.C (init):
9489         * commandtags.h:
9490         * BufferView_pimpl.C (Dispatch):
9491         * lyxfunc.C (dispatch): remove LFUN_DEPTH
9492
9493 2002-03-19  Allan Rae  <rae@lyx.org>
9494
9495         * exporter.C (Export): removeAutoInsets before doing anything else.
9496         While I've just introduced a dependency on BufferView this really is
9497         the best place to clean the buffer otherwise you need to cleanup in
9498         a dozen places before calling export or cleanup in a dozen functions
9499         that export calls.
9500
9501         * converter.C (runLaTeX):
9502         (scanLog): Better handling of removeAutoInsets and screen updates.
9503
9504         * lyxfunc.C (dispatch): small whitespace changes
9505
9506 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9507
9508         * WorkArea.C (C_WorkAreaEvent): return a value.
9509         (event_cb): return 1 if we handled the event, 0 otherwise.
9510
9511         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9512
9513 2002-03-18  Juergen Vigna  <jug@sad.it>
9514
9515         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9516         (GetAdditionalWidth): ditto.
9517         (RightLine): ditto.
9518         (LeftLine): ditto.
9519
9520         * BufferView2.C (copy): use getLyXText() so that we do it inside an
9521         inset if we're there actually (probably not used right now but this
9522         is the direction to go for unifying code).
9523         (paste): disable code to clear the selection.
9524
9525         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9526         inside an InsetText and move the check further up as it is in the
9527         wrong place.
9528
9529         * text2.C (pasteSelection): set a selection over the pasted text.
9530
9531 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
9532
9533         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9534         and libgraphics to build on Cygwin.
9535
9536 2002-03-15  Juergen Vigna  <jug@sad.it>
9537
9538         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9539         inserting an Inset into the paragraph. I know this is not the best
9540         fix but we already use current_view in CutAndPaste so we will remove
9541         all of it's using at the same time.
9542
9543         * buffer.C (sgmlError): deactivated function till it is rewritten in
9544         the right mode, now it can create problems.
9545
9546         * paragraph.C (isLineSeparator): check if getInset returns != 0,
9547         before accessing it.
9548
9549 2002-03-14  Juergen Vigna  <jug@sad.it>
9550
9551         * undo_funcs.C (textHandleUndo): do the right thing when updating
9552         the inset after the undo/redo.
9553
9554         * text2.C (setCursor): just some testcode for #44 not ready yet.
9555
9556         * undo_funcs.C (textHandleUndo): set the next() and previous()
9557         pointers of the paragraph to 0 before deleting otherwise we have
9558         problems with the Paragraph::[destructor].
9559
9560         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9561         on a paragraph insertion.
9562
9563 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9564
9565         * buffer.C (asciiParagraph): use += operator for char append to
9566         string.
9567
9568         * paragraph.C (getFontSettings): compare >= not just >
9569         (highestFontInRange): ditto
9570         (setFont): ditto
9571
9572 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9573
9574         * paragraph.C: change several algorithm to be more appripriate for
9575         the problem domain. This is lookip in FontList and in the InsetList.
9576
9577 2002-03-13  André Pönitz <poenitz@gmx.net>
9578
9579         * commandtags.h:
9580         * LyXAction.C: remove unused LFUN_MATH_MACROARG
9581
9582 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
9583
9584         * commandtags.h:
9585         * LyXAction.C:
9586         * lyxfunc.C:
9587         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9588
9589 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9590
9591         * Painter.C (display): anon helper function, adjust code for this
9592         change.
9593         (pixmap): remove function.
9594
9595         * Painter.h: remove private display variable.
9596
9597         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9598
9599 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
9600
9601         * WorkArea.[Ch]: remove figinset_canvas cruft.
9602
9603 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9604
9605         * lyxtextclass.C (operator): add one item cache optimization.
9606
9607         * bufferlist.h: doxy changes
9608
9609         * bufferlist.C: ws changes
9610
9611         * DepTable.[Ch] (ext_exist): place const in the right spot.
9612
9613         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9614         call resizeInsets.
9615         (workAreaExpose): call resizeInsets when the with BufferView changes.
9616         (Dispatch): adjust for protectedBlank removal
9617         (specialChar): call updateInset if the insert went ok.
9618
9619         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9620         specialChar instead.
9621
9622         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9623
9624         * BufferView.h: doxy change
9625
9626         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9627
9628         * lyxtextclass.C (operator[]): remove non-const version
9629         (defaultLayout): remove non-const version
9630
9631 2002-03-12  Juergen Vigna  <jug@sad.it>
9632
9633         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9634         did resize the LyXText too.
9635
9636         * buffer.C (readLyXformat2): set layout information on newly allocated
9637         paragraphs.
9638
9639         * tabular.C (OldFormatRead): set layout information on the paragraph.
9640
9641 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9642
9643         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9644
9645 2002-03-11  Juergen Vigna  <jug@sad.it>
9646
9647         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9648         plainly wrong.
9649         (resizeCurrentBuffer): force also the insets to resize themselfes.
9650         (moveCursorUpdate): fixed up for InsetText.
9651
9652 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
9653
9654         * commandtags.h:
9655         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9656         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9657         value of Dialogs::tooltipsEnabled().
9658         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9659
9660 2002-03-08  Juergen Vigna  <jug@sad.it>
9661
9662         * BufferView_pimpl.C (updateInset): update inset inside inset also
9663         if it isn't inside theLockingInset().
9664
9665 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9666
9667         * buffer.C (asciiParagraph): redo some of the word and line length
9668         handling.
9669         (getLists): look for Caption instead of caption.
9670
9671 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9672
9673         * buffer.C (Buffer): initialize niceFile to true
9674         (makeLaTeXFile):
9675         (makeLinuxDocFile):
9676         (makeDocBookFile): make sure niceFile is true on exit
9677
9678 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9679
9680         * buffer.C (makeLaTeXFile): escape ~ in \input@path
9681
9682 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
9683
9684         * LyXSendto.C: remove.
9685         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9686         * lyx_gui.C: remove now-redundant comment.
9687         * ColorHandler.h: remove forward declaration of class WorkArea.
9688         * lyxfunc.C: remove #include "WorkArea.h".
9689
9690 2002-03-07  Juergen Vigna  <jug@sad.it>
9691
9692         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9693         got moved away with the DEPM and also set the inset_owner always
9694         right which before could have been omitted.
9695
9696 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9697
9698         * buffer.C (parseSingleLyXformat2Token): use default layout is the
9699         wanted layout is not found.
9700
9701 2002-03-07  Juergen Vigna  <jug@sad.it>
9702
9703         * CutAndPaste.C (cutSelection): another layout settings forgotten.
9704
9705 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9706
9707         * paragraph.C (breakParagraph): use default layout not layout of
9708         prev paragraph.
9709         (Paragraph): clear ParagraphParameters.
9710
9711 2002-03-06  Juergen Vigna  <jug@sad.it>
9712
9713         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9714         otherwise it would not be a valid lenght. Fixed a special case in
9715         the minipage compatibility read where we end the document with a
9716         minipage.
9717
9718         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9719         was set as it could be 0 for InsetTexts first entry.
9720
9721 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9722
9723         * paragraph.C (writeFile): if layout is empty write out
9724         defaultLayoutName().
9725
9726         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9727         file without named layout we set layout to defaultLayoutName().
9728
9729 2002-03-06  Juergen Vigna  <jug@sad.it>
9730
9731         * CutAndPaste.C (copySelection): set layout for new paragraph.
9732
9733         * text.C (prepareToPrint): leave ERT inset left aligned
9734         (leftMargin): don't indent paragraphs inside ERT insets
9735
9736 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9737
9738         * paragraph.C (breakParagraph): dont call clear do the work manually
9739
9740         * paragraph.[Ch] (clear): remove function
9741
9742 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9743
9744         * paragraph.C (Paragraph): dont call clear, the work has already
9745         been done.
9746
9747         * lyxtextclass.C (operator): assert if n is empty
9748
9749         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9750         work manually instead.
9751
9752 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9753
9754         * BufferView_pimpl.C: protect selectionLost against text == 0
9755
9756 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9757
9758         * text.C (breakParagraph): fix a setting layout to '0' problem.
9759
9760 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9761
9762         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9763         final location of file, for the included files, and graphics.
9764
9765 2002-03-05  Juergen Vigna  <jug@sad.it>
9766
9767         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9768
9769 2002-03-04  Juergen Vigna  <jug@sad.it>
9770
9771         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9772
9773         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9774         last column of multicolumn cells.
9775         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9776
9777 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9778
9779         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9780         file if it doesn't go to a temporary file.
9781
9782         * buffer.C (sgmlOpenTag):
9783         (sgmlCloseTag):  remove extra newline insertion.
9784
9785 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9786
9787         * text.C (getRowNearY): comment out debug msg
9788
9789 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9790
9791         * text2.C: first -> first_y
9792
9793         * text.C (getRowNearY): add some attemts at a possible
9794         optimization, not working.
9795
9796         * tabular.[Ch]: add BufferParams to several function so that newly
9797         created paragraph can be initialized to he default layotu for the
9798         buffers textclass.
9799
9800         * tabular-old.C (ReadOld): add buf->params to call of Init
9801
9802         * screen.C: rename text->first to text->first_y
9803
9804         * paragraph.C (breakParagraph): always set layout in the broken
9805         paragraph
9806
9807         * lyxtextclass.C (Read): remove lowercase
9808         (hasLayout): ditto
9809         (operator): ditto
9810         (delete_layout): ditto
9811
9812         * lyxtext.h: rename first -> first_y
9813
9814         * lyxlayout.C (Read): remove lowercase
9815         (name): ditto
9816         (setName): ditto
9817         (obsoleted_by): ditto
9818
9819         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9820
9821         * buffer.C (insertErtContents): add params are to InsetERT
9822         (parseSingleLyXformat2Token): add code to check if a paragraphs
9823         layout really exist.
9824         (parseSingleLyXformat2Token): add params to several inset
9825         constructors
9826         (asciiParagraph): remove lowercase, do the layout comparisons with
9827         no_case
9828
9829         * BufferView_pimpl.C (cursorNext): first -> first_y
9830         (resizeCurrentBuffer): first -> first_y
9831         (updateScrollbar): first -> first_y
9832         (scrollCB): first -> first_y
9833         (workAreaMotionNotify): first -> first_y
9834         (workAreaButtonPress): first -> first_y
9835         (checkInsetHit): first -> first_y
9836         (cursorPrevious): first -> first_y
9837         (cursorNext): first -> first_y
9838         (Dispatch): add buffer_->params to severl inset contructors
9839
9840 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9841
9842         * lyxlayout.C (Read): remove some debug info that I forgot.
9843
9844         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9845         clean up the code slightly.
9846         (makeLinuxDocFile): ditto
9847         (makeDocBookFile): ditto
9848
9849         * text2.C: layout as string
9850
9851         * text.C: layout as string
9852
9853         * paragraph_pimpl.C: layout as string
9854
9855         * paragraph.[Ch]: layout as string
9856
9857         * lyxtextclasslist.[Ch]: layout as string
9858
9859         * lyxtextclass.[Ch]: layout as string
9860
9861         * lyxtext.h: layout as string
9862
9863         * lyxlayout.[Ch]: layout as string
9864
9865         * lyx_cb.C: layout as string
9866
9867         * bufferview_funcs.C: layout as string
9868
9869         * bufferparams.C: layout as string
9870
9871         * buffer.C: layout as string
9872
9873         * LyXView.[Ch]: layout as string
9874
9875         * LaTeXFeatures.[Ch]: layout as string
9876
9877         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9878
9879         * BufferView_pimpl.C: change current_layout to string, remove
9880         lyx::layout_type.
9881         (Dispatch):
9882         (smartQuote):
9883         (insertInset):
9884         (workAreaButtonRelease): layout as string
9885
9886         * BufferView2.C (unlockInset): adjust
9887
9888         * vspace.C (asLatexCommand): use an explict temp variable.
9889
9890 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9891
9892         * Makefile.am: use FRONTEND_*
9893
9894 2002-03-01  Juergen Vigna  <jug@sad.it>
9895
9896         * tabular.C (SetWidthOfMulticolCell): changed to something better
9897         I hope but still work in progress.
9898         (recalculateMulticolumnsOfColumn): renamed function from
9899         recalculateMulticolCells as it is more appropriate now.
9900         (SetWidthOfCell): calculate multicols better.
9901
9902 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9903
9904         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9905
9906         * lyxfunc.C (processKeySym): print sequence also if it is
9907         `deleted' (complete)
9908
9909         * kbsequence.C (print): print sequence even if it is deleted
9910         (complete would be a better word, actually).
9911
9912         * lyxfunc.C (dispatch): print complete options after a prefix key
9913
9914         * vspace.C (asLatexCommand): rewrite in a slightly different form.
9915
9916 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
9917
9918         * text2.C (setCharFont): eliminate setCharFont code duplication.
9919
9920 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9921
9922         * BufferView_pimpl.C (Dispatch): remove bogus handling of
9923         LFUN_TABULAR_FEATURE (bug #177)
9924
9925 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
9926
9927         * Makefile.am: remove figure.h
9928
9929 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
9930
9931         * Bufferview_pimpl.C:
9932         * CutAndPasteC:
9933         * LaTeX.C:
9934         * LyXSendto.C:
9935         * buffer.C:
9936         * bufferlist.C:
9937         * converter.C:
9938         * language.C:
9939         * lyxfunc.C:
9940         * lyxvc.C:
9941         * paragraph.C:
9942         * text.C:
9943         * text2.C: remove #include "lyx_gui_misc.h".
9944
9945         * LaTeX.C: added #include <cstdio>
9946
9947 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9948
9949         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9950         that the paragraph following this one can have.
9951
9952         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9953
9954         * vspace.C (asLatexCommand): fix bogus gcc warning
9955
9956         * Makefile.am (lyx_SOURCES): remove vms_defines.h
9957
9958 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
9959
9960         * text2.C (setLayout): get rid of redundant code
9961
9962 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
9963
9964         * text2.C (incDepth): make sure depth cannot be increased beyond
9965         reasonable values.
9966
9967 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
9968
9969         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9970         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9971
9972         * PainterBase.h (image):
9973         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9974         a LyXImage const *.
9975
9976 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9977
9978         * BufferView.C:
9979         * BufferView.h:
9980         * BufferView_pimpl.C:
9981         * BufferView_pimpl.h:
9982         * LaTeXFeatures.C:
9983         * LyXAction.C:
9984         * LyXView.C:
9985         * Makefile.am:
9986         * UpdateList.h:
9987         * UpdateList.C:
9988         * buffer.C:
9989         * figure.h:
9990         * figureForm.C:
9991         * figureForm.h:
9992         * figure_form.C:
9993         * figure_form.h:
9994         * lyx_cb.C:
9995         * lyx_gui.C:
9996         * lyx_gui_misc.C:
9997         * lyxfunc.C:
9998         * sp_base.h:
9999         * sp_ispell.h:
10000         * sp_pspell.h:
10001         * sp_spell.C: remove fig inset, and the crap house of
10002           cards that follows it
10003
10004 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10005
10006         * Makefile.am:
10007         * lyxserver.C:
10008         * os2_defines.h:
10009         * os2_errortable.h:
10010         * nt_defines.h: move .h into support/
10011
10012         * vms_defines.h: remove
10013
10014         * WorkArea.C: add space in debug output
10015
10016         * text2.C:
10017         * paragraph.C:
10018         * buffer.C: add WITH_WARNINGS
10019
10020         * vc-backend.h:
10021         * vc-backend.C:
10022         * bufferlist.C: s/retrive/retrieve/, add docs
10023
10024         * vspace.h:
10025         * vspace.C:
10026         * kbmap.h:
10027         * lyxlength.h:
10028         * lyxgluelength.h:
10029         * length_common.h:
10030         * chset.h:
10031         * chset.C: add docs
10032
10033         * lyxgui.C: add ID to X error handler
10034
10035         * lyxtestclass.c: fix typo
10036
10037 2002-02-26  Juergen Vigna  <jug@sad.it>
10038
10039         * tabular_funcs.C (write_attribute): changed so that some default
10040         attributes are not written at all.
10041         (getTokenValue): set default values before trying to read the
10042         value so we have the return value always set as default if we don't
10043         find the token we search for.
10044
10045         * tabular.C (Write): write bools as bools not as strings!
10046
10047 2002-02-22  Juergen Vigna  <jug@sad.it>
10048
10049         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10050         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10051
10052         * text.C (leftMargin): don't add an indent for paragraphs inside
10053         tabular cells (fix #208).
10054
10055 2002-02-21  José Matos  <jamatos@fep.up.pt>
10056
10057         * tabular.C (docBook): fixed support for long tables.
10058
10059 2002-02-20  Juergen Vigna  <jug@sad.it>
10060
10061         * text2.C (getFont): get the drawing font of the Inset if this
10062         paragraph is inside an inset (only important for InsetERT for now).
10063
10064         * buffer.C (insertErtContents): use new lanugage params in ERT
10065         constructor.
10066
10067         * CutAndPaste.C: commenting out seemingly uneeded code.
10068
10069 2002-02-19  Allan Rae  <rae@lyx.org>
10070
10071         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10072         Iterators might be simple to use but they also get invalidated.
10073         (removeAutoInsets): renamed saved cursor tracking variables and added
10074         some comments to clarify what everything does.
10075
10076 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
10077
10078         * Chktex.C:
10079         * LaTeX.C:
10080         * LyXSendto.C:
10081         * converter.C:
10082         * lyx_cb.C:
10083         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10084         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10085
10086         * lyxfunc.C:
10087         * vc-backend.h: remove #include "support/syscall.h"
10088
10089         * LaTeX.C:
10090         * LyXSendto.C:
10091         * converter.C: rearrange #includes in Lars' approved fashion.
10092
10093         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10094         forward declare class Timeout in the header file.
10095
10096         * XFormsView.C: changes due to the above.
10097
10098         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10099         similar to LyXView.
10100
10101         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10102         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10103
10104 2002-02-18  José Matos  <jamatos@fep.up.pt>
10105
10106         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10107         insets contents.
10108
10109 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
10110
10111         * a lot of small ws changes
10112         * add a lot of using std::XXX
10113         * use std construcs some places where approp.
10114         * use some exisint stuff from lyxfunctional where approp.
10115         * Make file changes to use partial linking (lets test this now...)
10116
10117 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10118
10119         * Chktex.C:
10120         * buffer.C:
10121         remove #include "support/syscontr.h" as it's redundant. Always has been.
10122
10123         * Chktex.C:
10124         * LaTeX.C:
10125         * LyXSendto.C:
10126         * converter.C:
10127         * lyx_cb.C:
10128         * vc-backend.C:
10129         change Systemcalls::System to Systemcalls::Wait and
10130         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10131         No change of functionality, just reflects the stripped down Systemcalls
10132         class.
10133
10134 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10135
10136         * debug.[Ch]: add a GRAPHICS type to the enum.
10137
10138 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10139
10140         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10141
10142         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10143         there is an inset.
10144
10145 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10146
10147         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10148         match the changes below.
10149
10150         * text2.C (toggleInset): if there is not editable inset at cursor
10151         position, try to see if cursor is _inside_ a collapsable inset
10152         and close it.
10153
10154 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10155
10156         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10157         document menu has a nice checkbox
10158
10159 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10160
10161         * lyxlength.C (asLatexString): change PW to output as percent of
10162         \textwidth.
10163
10164         * lengthcommon.C: change '%' to 't%'
10165
10166         * lyxfunc.C (dispatch): a few comments from Martin
10167
10168 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
10169
10170         * WorkArea.h:
10171         * WorkArea.C:
10172         * BufferView_pimpl.h:
10173         * BufferView_pimpl.C: clear our selection when X tells us we've lost
10174           the X selection.
10175
10176 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10177
10178         * vspace.C (inPixels): fix compiler warning
10179
10180 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10181
10182         * lyxfunc.C (getStatus): fix status message for disabled commands.
10183
10184 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
10185
10186         * BufferView_pimpl.C: fix crash on close buffer
10187         during selection (#227)
10188
10189 2002-01-27  Herbert Voss  <voss@lyx.org>
10190
10191         * buffer.C: link old Figure to new graphic inset
10192
10193 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
10194
10195         * FontLoader.C (getFontinfo): Change the latex font names in order
10196         to match the names of type1inst.
10197
10198 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10199
10200         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10201
10202         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10203         (extchanged): ditto
10204         (ext_exist): ditto
10205         (remove_files_with_extension): ditto
10206         (remove_file): ditto
10207         (write): ditto
10208
10209         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10210         document is smaller than the work area height. Do not initialize
10211         static variables to 0.
10212
10213 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10214
10215         * lyx_gui.C (init): give the toolbar tooltips a normal font.
10216
10217         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10218         LFUN_LAYOUT_PARAGRAPHS.
10219
10220         * tabular.C (GetCellFromInset): new method. Finds an inset in a
10221         tabular. It is possible to provide a possible cell, which will
10222         typically be the actcell from the corresponding insettabular
10223
10224         * lyxfunc.C (getStatus): small cleanup; disable
10225         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10226         true
10227
10228 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10229
10230         * tabular.C (Validate): remove broken optimization (fixes bug #201)
10231
10232         * paragraph.C (startTeXParParams):
10233         (endTeXParParams): new methods. The LaTeX code to
10234         start/end paragraph formatting
10235         (simpleTeXOnePar): call startTeXParParams also when paragraph is
10236         empty (fixes bug #200)
10237
10238         * vspace.C (inPixels): adapt to the change below
10239         (inPixels): [later] more cleanups (remove unused variables)
10240
10241         * lyxlength.C (inPixels): change to use a width and a height as
10242         parameter.
10243
10244 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10245
10246         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10247         Replaced with \paperwidth
10248
10249         * DepTable.C (insert): add std:: qualifier
10250
10251 2002-01-18  Allan Rae  <rae@lyx.org>
10252
10253         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
10254         updated also?
10255
10256         * text.C (drawInset): Turned out I didn't know enough about how
10257         rebreaking worked.  This fixes most of the redraw problems.  I see
10258         an occasional cursor trail when a line is broken now and the cursor
10259         placement can seem out by a few pixels also after a rebreak.
10260
10261 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10262
10263         * buffer.C (parseSingleLyXformat2Token): update because minipage
10264         width is now a LyXLength
10265
10266         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10267
10268         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10269         math insets
10270
10271 2002-01-17  Juergen Vigna  <jug@sad.it>
10272
10273         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10274
10275         * BufferView2.C (lockInset): call edit() so that theLockingInset()
10276         is set correctly and the inset is updated correctly.
10277
10278 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10279
10280         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10281         the beginning of the loop.
10282
10283 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
10284
10285         * lyxrc.C: improve help for use_scalable_fonts
10286
10287 2002-01-17  Allan Rae  <rae@lyx.org>
10288
10289         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10290
10291 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10292
10293         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10294         make sure to set their inset_owner to the right value (bug #171)
10295
10296 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
10297
10298         * DepTable.h
10299         * DepTable.C: Implement mtime checking to reduce time spent doing
10300         CRCs.
10301
10302 2002-01-16  Juergen Vigna  <jug@sad.it>
10303
10304         * tabular.C (GetAdditionalHeight): one of error fixed.
10305
10306         * lyxrc.C (output): small fix in writing use_pspell.
10307
10308 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
10309
10310         * sp_base.h: #include LString.h
10311
10312 2002-01-16  Allan Rae  <rae@lyx.org>
10313
10314         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
10315         Can someone check this please?
10316
10317         * text.C (drawInset): It was possible that p.row would be removed by
10318         breakAgainOneRow upsetting a few other settings.  There may be another
10319         small tweak possible by setting need_break_row = 0 when p.row has been
10320         removed but I don't know enough about the logic here.
10321
10322 2002-01-15  Allan Rae  <rae@lyx.org>
10323
10324         * text.C (insertChar): removed conditional truism.
10325
10326         * BufferView2.C (removeAutoInsets): More tweaks.
10327         cur_par_prev could be a stray pointer.  Check for trailing empty line
10328         in case last line was cur_par and only had an error inset on it.
10329
10330 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10331
10332         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10333         absolute
10334
10335         * vc-backend.C (most methods):
10336         * exporter.C (Export):
10337         * converter.C (convert):
10338         (runLaTeX):
10339         * LyXSendto.C (SendtoApplyCB):
10340         * lyxfunc.C (dispatch):
10341         (menuNew):
10342         (open):
10343         (doImport):
10344         * lyx_cb.C (AutoSave):
10345         (InsertAsciiFile):
10346         * BufferView_pimpl.C (MenuInsertLyXFile):
10347         * buffer.C (runChktex): use Buffer::filePath().
10348
10349         * buffer.h: rename filename to filename_; rename filepath to
10350         filepath_ and make it private
10351         (filePath): new method
10352
10353         * buffer.C (writeFile): use fileName()
10354         (getLatexName):
10355
10356         * lyx_main.C (init): fix starting  of LyX when the binary is a
10357         link from so,ewhere else.
10358
10359         * minibuffer.C: include <cctype> for isprint
10360
10361 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10362
10363         * buffer.C (parseSingleLyXformat2Token): changes associated with the
10364         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10365         name clash with InsetCollapsable's width function.
10366
10367 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10368
10369         * lastfiles.C: include <iterator>
10370
10371 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10372
10373         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10374         std::count.
10375
10376         * buffer.C (makeLaTeXFile): ditto.
10377         Also make loop operation more transparent.
10378
10379 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10380
10381         * ToolbarDefaults.C: remove trailing comma closing namespace.
10382
10383         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10384
10385         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10386         as in WorkArea.
10387
10388         * trans.C (Load): comment out unused variable, allowed.
10389
10390 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10391
10392         * minibuffer.[Ch] (append_char): new method to recieve input from the
10393         drop-down completion browser. If a key was pressed, then recieve this
10394         char and append it to the existing string.
10395         (peek_event): modify the positioning data passed to the completion
10396         browser so that it can be placed above the minibuffer rather than below.
10397 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10398
10399         * LyXAction.C (init): alloe error-next for readonly documents.
10400
10401         * BufferView2.C (ChangeRefsIfUnique): use standard version of
10402         count.
10403
10404 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10405
10406         * bufferlist.C (readFile): create the buffer _after_ checking that
10407         the file exists.
10408
10409         * lyxfunc.C (verboseDispatch): fix handling of arguments
10410
10411         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10412
10413         * lyxrc.C: use string::erase() instead of initializing to "".
10414
10415
10416 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10417
10418         * BufferView_pimpl.h:
10419         * BufferView_pimpl.C:
10420         * WorkArea.h:
10421         * WorkArea.C:
10422         * text2.C: tell X when we have made a selection for copying
10423
10424 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10425
10426         * BufferView_pimpl.C (MenuInsertLyXFile):
10427         * lyxfunc.C (menuNew):
10428         (open):
10429         (doImport): add shortcuts to directory buttons
10430
10431         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10432         open a float)
10433
10434         * lyxfunc.C (setStatusMessage):
10435         (getStatusMessage): new methods
10436         (getStatus):use setStatusMessage instead of setErrorMessage
10437         (dispatch): when function is disabled, set error message here
10438         [instead of in getStatus previously]
10439
10440         * BufferView_pimpl.C (workAreaButtonRelease): update
10441         toolbar/menubar here too.
10442
10443 2002-01-13  Allan Rae  <rae@lyx.org>
10444
10445         * BufferView2.C (removeAutoInsets): finished off earlier fix.
10446         Now seems indestructible.  Remaining task is to audit all other
10447         code affected by deleteEmptyParagraphMechanism.  One small quirk
10448         left is that an empty document with an error in the preamble can
10449         be made to report an error but no error box appears.  I don't know
10450         where it goes.
10451         (removeAutoInsets): Improved comments.
10452
10453 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
10454
10455         * Thesaurus.h:
10456         * Thesaurus.C: update for Aiksaurus 0.14
10457
10458 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10459
10460         * text2.C (firstParagraph): removed member function, all uses
10461         replaces with ownerParagraph
10462         (redoParagraphs): here
10463         (updateInset): here
10464         (toggleAppendix): here
10465         * BufferView2.C (insertErrors): here
10466         (setCursorFromRow): here
10467
10468 2002-01-13  Allan Rae  <rae@lyx.org>
10469
10470         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10471         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10472         There is still a way to segfault this although you may have to do this
10473         multiple times: Have an InsetERT with an unknown command in it.
10474         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10475         <down-arrow>, <Enter> again, View->DVI, BANG!
10476
10477         * text2.C (setCursor):
10478         (deleteEmptyParagraphMechanism):
10479         * lyxtext.h (setCursor):
10480         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10481         Making use of the return value may help fix other bugs.
10482
10483 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10484
10485         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10486
10487         * LyXView.C (updateMenubar): call MenuBar::update here
10488         (updateToolbar): but not here
10489         (showState): do not update toolbar/menubar
10490
10491         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10492         should need to care about that.
10493
10494         * lyxfunc.C (verboseDispatch): simplify a bit
10495         (getStatus): have a version which takes a pseudoaction, and
10496         another which requires a (kb_action,string).
10497
10498         * LyXAction.C (retrieveActionArg): make it work also when action
10499         is not a pseudo-action.
10500         (getActionName): simplify a bit
10501         (helpText):
10502
10503 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10504
10505         * lyxfunc.C (verboseDispatch): new families of methods with
10506         several ways to specify a command and a bool to indicate whether
10507         the command name and shortcut should be displayed in minibuffer
10508         (eventually, we could extend that to a finer bitmask like
10509         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10510         (dispatch): the pristine dispatch command which just, well,
10511         dispatchs! Note it still sets its result to minibuffer; I'm not
10512         sure we want that.
10513
10514         * lyxfunc.h: remove setHintMessage
10515
10516         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10517
10518 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10519
10520         * BufferView_pimpl.C (specialChar): delete new inset if we have
10521         not been able to insert it.
10522
10523         * kbmap.C: revert to using int instead of kb_action, since all we
10524         are dealing with is pseudo-actions.
10525
10526         * LyXAction.C (searchActionArg): change to return int instead of
10527         kb_action, since the result is a pseudoaction.
10528
10529 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
10530
10531         * buffer.C (insertErtContents): Fix (partially) the font bug.
10532
10533 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10534
10535         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10536         as the other one is broken on my machine!
10537
10538 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
10539
10540         * commandtags.h:
10541         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10542
10543 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
10544
10545         * lyxrc.[Ch]: change names and descriptions of popup font variables to
10546         reflect their actual use. Provide compatibility code for older lyxrc
10547         files.
10548
10549         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10550         FL_NORMAL_STYLE.
10551         change names of popup font variables in line with the changes to lyxrc.C
10552
10553 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10554
10555         * buffer.C (asciiParagraph): avoid outputing a word twice after
10556         an inset.
10557
10558         * lyxrc.C (getDescription): document that document_path and
10559         template_path can be empty.
10560
10561 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10562
10563         * LaTeXFeatures.C (getMacros):
10564         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10565
10566         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10567
10568         * LaTeXFeatures.C (useFloat): require "float" here instead of in
10569         getPackages.
10570         (getPackages): rename feature "floats" to "float". Use an array to
10571         iterate over 'simple' features (i.e. just a \usepackage). Add
10572         handling of "amsmath" (renamed from "amsstyle").
10573
10574 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
10575
10576         * LaTeXFeatures.C (require): Prevent duplicate entries in the
10577         features list.
10578
10579 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
10580
10581         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10582         FuncStaus::FuncStatus & FuncStaus::some_method().
10583
10584 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
10585
10586         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10587         of the func_satus stuff. Edited and massaged in various ways by
10588         JMarc.
10589
10590         * lyxfunc.C (getStatus): use FuncStatus
10591
10592 2002-01-08  Juergen Vigna  <jug@sad.it>
10593
10594         * text.C (nextBreakPoint): use function Inset::isChar().
10595
10596         * paragraph.C (TeXOnePar): use function
10597         Inset::forceDefaultParagraphs.
10598
10599         * buffer.C (latexParagraphs): use function
10600         Inset::forceDefaultParagraphs.
10601
10602 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10603
10604         * lyx_gui.C (init): set the style of the menu popups to
10605         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10606
10607 2002-01-07  Juergen Vigna  <jug@sad.it>
10608
10609         * text.C (setHeightOfRow): small fix
10610         (prepareToPrint): don't look at alignment if we don't have the place
10611         for doing it.
10612
10613 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10614
10615         * box.C: New file. Move the Box methods and functions out of box.h,
10616         following Lars' suggestion.
10617
10618 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10619
10620         * box.h: #include "support/LOstream.h", needed for inlined function.
10621
10622         * lyxtextclass.C:
10623         * lyxtextclasslist.C: added some using std declarations.
10624
10625 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
10626
10627         * box.h: make signed dimensions to allow insets wider than
10628           the screen (bug #162)
10629
10630         * BufferView_pimpl.C: add some insetHit debug
10631
10632 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
10633
10634         * vc-backend.C: add FIXME
10635
10636 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10637
10638         * lyxfunc.C (getStatus): enable code for showing math font status
10639         in toolbar/menu.
10640
10641 2002-01-07  Juergen Vigna  <jug@sad.it>
10642
10643         * text.C (nextBreakPoint): removed debug output not needed anymore.
10644
10645 2002-01-06  Juergen Vigna  <jug@sad.it>
10646
10647         * text.C (nextBreakPoint): fixed up this function we had this bug
10648         since ever but now hopefully we break row better.
10649         (insertChar): we have to check if an inset is the next char as it
10650         could now happen that a large inset is causing a break.
10651
10652 2002-01-05  Juergen Vigna  <jug@sad.it>
10653
10654         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10655         if it doesn't like to be drawed.
10656
10657 2002-01-04  Juergen Vigna  <jug@sad.it>
10658
10659         * BufferView2.C (lockInset): forgot to set a cursor.
10660
10661         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10662
10663 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
10664
10665         * FormMathsPanel.C:
10666         * FormMathsPanel.h
10667         * MathsSymbols.C:
10668         * form_maths_panel.C:
10669         * form_maths_panel.h:
10670         * form_maths_panel.fd: implemented sub- and super- buttons in math
10671         panel.
10672
10673         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10674         (or ^ space) to be used as in TeX (req'd by André).
10675
10676         * lyxfunc.C: Allow ^ and _ again to be used both as
10677         super/subscript (mathed) and as themselves (in text).
10678
10679 2002-01-03  Allan Rae  <rae@lyx.org>
10680
10681         * LyXView.C (updateWindowTitle): Setup a short icon title of either
10682         "LyX" or the filename of the current buffer if it has one.  This is a
10683         modified form of John Levon's patch.
10684
10685         * XFormsView.C (setWindowTitle): also set icon title.
10686
10687         * LyXView.h (setWindowTitle): signature changed.
10688         * XFormsView.h (setWindowTitle): ditto.
10689
10690 2002-01-02  Juergen Vigna  <jug@sad.it>
10691
10692         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10693
10694 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10695
10696         * screen.C (topCursorVisible): introduce a temp var for
10697         text->cursor.row(), handle the case where this row is null. (kindo
10698         hachish)
10699
10700         * text2.C (setCursor): add a couple of asserts.
10701
10702         * paragraph.h (inset_iterator): add -> operator
10703
10704         * paragraph.[Ch] (autoDeleteInsets): remove member function
10705
10706         * BufferView2.C (removeAutoInsets): rewrite to handle the old
10707         cursor pos correctly and handle inset deletion by itself.
10708         (insertErrors): move iterator declaration out of for expression
10709
10710         * lyxtextclass.C: add <algorithm>
10711
10712         * Makefile.am: added the new files to sources, removed layout.C
10713
10714         * layout.C: removed file
10715
10716         * layout.h: remove LYX_DUMMY_LAYOUT
10717
10718         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10719         layout.
10720
10721         * lyxlayout.[Ch]:
10722         * lyxtextclass.[Ch]:
10723         * lyxtextclasslist.[Ch]: new files
10724
10725         * include order changes to a lot of files, also changes because of
10726         the six new files.
10727
10728 2001-12-27  Juergen Vigna  <jug@sad.it>
10729
10730         * buffer.C (asciiParagraph): more fixes.
10731
10732         * tabular.C (ascii): make ascii export support export of only the
10733         data separated by a column-delimiter.
10734         (ascii): better support for ascii export.
10735
10736         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10737
10738 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10739
10740         * tabular_funcs.C: use a "using std::getline" instead of the
10741         previous fix from Angus (necessary for cxx + lyxstring)
10742
10743 2001-12-24  Juergen Vigna  <jug@sad.it>
10744
10745         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10746
10747         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10748         problems. First check a minipage also if we have some ert-contents
10749         (not only on par->size(), second set the right depth of the paragraph
10750         on the relink to the root-paragraph-list!
10751
10752         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10753         which then did not anymore update the main paragraphs on undo/redo!
10754
10755 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10756
10757         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10758         code. Support all font-changing funcs (even those which are not in
10759         menu currently). Support for reporting font settings in
10760         mathed (disabled until Andre provides a function on mathed's side).
10761
10762         * func_status.h (toggle): small helper function to set toggle
10763         state on a flag.
10764
10765 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10766
10767         * tabular_funcs.C: getline -> std::getline
10768
10769 2001-12-21  Juergen Vigna  <jug@sad.it>
10770
10771         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10772         accessed and could be 0 (I couldn't generate this but it seems
10773         Michael could!).
10774
10775 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10776
10777         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10778         * tabular_funcs.h: here and include iosfwd
10779
10780 2001-12-20  Juergen Vigna  <jug@sad.it>
10781
10782         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10783         inside inset but undo_par was.
10784
10785 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10786
10787         * Thesaurus.C: always include <config.h> in sources.
10788
10789         * Painter.h:
10790         * lyxlookup.h:
10791         * box.h: do not include <config.h> in header files
10792
10793         * text.C (paintLastRow): remove unused variable
10794
10795         * text.C (transformChar):
10796         (insertChar):
10797         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10798
10799         * Painter.C (text):
10800         * font.C (width): rewrite to use uppercase() instead of
10801         islower/toupper.
10802
10803         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10804
10805 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10806
10807         * lyxfind.C: clean up of find failure position change
10808
10809 2001-12-20  Juergen Vigna  <jug@sad.it>
10810
10811         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10812
10813         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10814         (TeXRow): added to LaTeX a single tabular row.
10815         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10816         (Latex): simplified and finally good LT-h/f support.
10817         (various_functions): just small adaptions for LT-h/f support.
10818
10819         * tabular_funcs.[hC]: added and moved here all not classfunctions
10820         of LyXTabular.
10821
10822 2001-12-19  Juergen Vigna  <jug@sad.it>
10823
10824         * tabular.[Ch]: better support for longtabular options (not finished
10825         yet!)
10826
10827 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10828
10829         * text.C (paintLastRow): use the label font instead of the font of
10830         the last character to compute the size of *_BOX. This makes more
10831         sense and avoids a crash with empty paragraphs.
10832         Use Painter::rectangle to draw EMPTY_BOX.
10833
10834 2001-12-19  Juergen Vigna  <jug@sad.it>
10835
10836         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10837         the paragraphs if the replaced paragraph is not the first one!
10838         Tried to delete not used paragraphs but does not work yet so for
10839         now it's inside #ifdef's and by default off!
10840
10841 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10842
10843         * MenuBackend.C: include "lyx_main.h" instead of declaring
10844         lastfiles (actually was declared as LastFiles* instead of a
10845         scoped_ptr).
10846
10847 2001-12-17  Juergen Vigna  <jug@sad.it>
10848
10849         * tabular.C (AppendColumn): applied John's fix
10850
10851 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10852
10853         * BufferView.h:
10854         * BufferView.C:
10855         * BufferView_pimpl.h:
10856         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10857
10858         * Makefile.am:
10859         * box.h: new start of class for above
10860
10861         * lyxfunc.C: ignore space-only minibuffer dispatches.
10862           Show the command name when it doesn't exist
10863
10864         * minibuffer.C: don't add empty lines to the history
10865
10866         * minibuffer.C: add a space on dropdown completion
10867
10868 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10869
10870         * text.C: fix line above/below drawing in insets
10871
10872 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10873
10874         * lyxlength.C (LyXLength): Initialize private variables.
10875
10876 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10877
10878         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10879         when inserting error insets.
10880
10881 2001-12-13  Juergen Vigna  <jug@sad.it>
10882
10883         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10884         actually sometimes the before-paragraph.
10885         (setUndo): don't clear the redostack if we're not actually undoing!
10886
10887 2001-12-06  Juergen Vigna  <jug@sad.it>
10888
10889         * undo_funcs.C (textHandleUndo): well after John's hint I got here
10890         and fixed redoing of main paragraph, so we can use it now ;)
10891
10892         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10893
10894 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10895
10896         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10897         Juergen's request
10898
10899 2001-12-13  André Pönitz <poenitz@gmx.net>
10900
10901         * undostack.[Ch]:
10902         * undo_func.C: minor cleanup
10903
10904 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10905
10906         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10907         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10908         font in urw-fonts package which is marked as -urw-fontspecific and
10909         does not work (incidentally, changing the encoding in the
10910         fonts.dir of this package to -adobe-fontspecific fixes the
10911         problem).
10912
10913         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10914         is a crash when undoing first paragraph (Juergen, please take a
10915         look). THis does not mean the undo fix is wrong, just that it
10916         uncovers problems.
10917
10918         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10919         the (Paragraph*) version when needed instead of duplicating the
10920         code.
10921
10922         * text.C (workWidth): use Inset::parOwner to find out where the
10923         inset has been inserted. This is a huge performance gain for large
10924         documents with lots of insets. If Inset::parOwner is not set, fall
10925         back on the brute force method
10926
10927         * paragraph_pimpl.C (insertInset):
10928         * paragraph.C (Paragraph):
10929         (cutIntoMinibuffer): set parOwner of insets when
10930         inserting/removing them
10931
10932         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10933
10934 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
10935
10936         * commandtags.h:
10937         * LyXAction.C:
10938         * lyx_main.C:
10939         * lyxfunc.C:
10940         * mathed/formulabase.C:
10941         * mathed/math_cursor.[Ch]:
10942         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10943
10944
10945 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10946
10947         * lyxlength.[Ch] (operator!=): new function
10948
10949 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10950
10951         * text.C (workWidth): use Inset::parOwner to find out where the
10952         inset has been inserted. This is a huge performance gain for large
10953         documents with lots of insets. If Inset::parOwner is not set, fall
10954         back on the brute force method
10955
10956         * paragraph_pimpl.C (insertInset):
10957         * paragraph.C (Paragraph):
10958         (cutIntoMinibuffer): set parOwner of insets when
10959         inserting/removing them
10960
10961         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10962
10963 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10964
10965         * tabular-old.C (getTokenValue):
10966         * tabular.C (getTokenValue):
10967         (write_attribute): new versions for LyXLength
10968         (everywhere): adjust the use of widths
10969
10970         * tabular.h: change the type of widths from string to LyXLength
10971
10972 2001-12-11  Ben Stanley <bds02@uow.edu.au>
10973
10974         * paragraph.C: fixed missing line number count when exporting
10975         Environments to LaTeX file
10976
10977         * buffer.C: added informational message for checking line numbers.
10978
10979 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10980
10981         * text2.C (deleteEmptyParagraphMechanism): if there is only one
10982         paragraph, do the 'double space' part, but not the 'empty
10983         paragraph' one.
10984
10985         * text.C (workWidth): small optimization
10986         (getLengthMarkerHeight): use minimal size for negative lengths.
10987
10988 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
10989
10990         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10991
10992         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10993
10994 2001-12-11  André Pönitz <poenitz@gmx.net>
10995
10996         * FontLoader.C:
10997         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10998
10999 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11000
11001         * text2.C: keep selection on a setFont()
11002
11003 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11004
11005         * lyx_cb.C: another bv->text misuse, from insert label
11006
11007 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11008
11009         * kbsequence.h:
11010         * kbsequence.C: re-instate nmodifier mask
11011
11012 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
11013
11014         * lyx_main.h: make lyxGUI private.
11015
11016 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11017
11018         * lyxfind.C: place the cursor correctly on failed search
11019
11020 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11021
11022         * text.C (getLengthMarkerHeight): for small heights, the arrows
11023         are not always on top/bottom of the text
11024         (drawLengthMarker): smaller arrows; take the left margin in
11025         account; draw also vfills.
11026         (paintFirstRow):
11027         (paintLastRow): remove special code for vfill and standard spaces,
11028         since everything is handled in drawLengthMarker now.
11029
11030 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11031
11032         * buffer.C (insertErtContents): try to handle font and language
11033         interaction a bit better.g
11034
11035         * ColorHandler.C (updateColor): change the hash to cover the whole
11036         LColor enum, ws cleanup
11037         (getGCLinepars): ditto
11038         (getGCLinepars): only lookup in the linecache once.
11039
11040 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
11041
11042         * iterators.C (operator++): Make the iterator more robust
11043
11044         * BufferView2.C (removeAutoInsets): Use paragraph iterators
11045         (John's patch)
11046         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11047
11048 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11049
11050         * lyxtext.h:
11051         * text.C: better added space drawing
11052
11053 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11054
11055         * LyXView.C:
11056         * BufferView2.C: fix layout combo update on inset unlock
11057
11058 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11059
11060         * Makefile.am: don't compile unused files
11061
11062 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11063
11064         * lyxfunc.C:
11065         * commandtags.h:
11066         * LyXAction.C: remove old LFUN_LAYOUTNO
11067
11068 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11069
11070         * paragraph_pimpl.h:
11071         * paragraph_pimpl.C: isTextAt() doesn't need font param
11072
11073 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11074
11075         * lyxlex.h:
11076         * lyxlex.C: little cleanup
11077
11078 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11079
11080         * BufferView_pimpl.C: fix insertAscii for insets
11081
11082 2001-12-05  Juergen Vigna  <jug@sad.it>
11083
11084         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11085         set the right font on the "multi" paragraph paste!
11086
11087 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11088
11089         * trans_decl.h:
11090         * trans_mgr.[Ch]:
11091         * trans.[Ch]:
11092         * lyxgluelength.C:
11093         * lyxlength.C: remove out-commented code.
11094
11095         * BufferView_pimpl:
11096         * CutAndPaste.C:
11097         * DepTable.C:
11098         * buffer.C:
11099         * chset.C:
11100         * lastfiles.C:
11101         * lyxlex.C:
11102         * lyxlex_pimpl.C:
11103         * lyxserver.C:
11104         * screen.C:
11105         * tabular-old.C:
11106         * tabular.C:
11107         * text.C:
11108         * trans_mgr.C:
11109         * vc-backend.C: change "while(" to "while ("
11110
11111         * lyxlength.[Ch]: add zero function to check if length is zero or
11112         not
11113         * lyxgluelength.C: use it
11114
11115 2001-12-05  Allan Rae  <rae@lyx.org>
11116
11117         * lyxlength.C: Attempted a fix for the abs(int) header selection.
11118         Works for 2.95.3, from what I understand of Garst's reports this should
11119         work for other g++ versions.  We're screwed if the abs(int) definition
11120         changed between bugfix releases of gcc.
11121
11122 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11123
11124         * text.C: fix chapter label offset !
11125
11126 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11127
11128         * lyxtext.h:
11129         * text.C: fix hfill at end of line, clean up
11130
11131 2001-12-04  Juergen Vigna  <jug@sad.it>
11132
11133         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11134         that we force an update of the inset and it's owners if neccessary.
11135
11136 2001-12-03  Juergen Vigna  <jug@sad.it>
11137
11138         * text.C (rowLast): simplified code
11139
11140 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11141
11142         * lyxfunc.C: fix show options on timeout
11143
11144 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11145
11146         * screen.C (topCursorVisible): scroll half a page when the cursor
11147         reached top of bottom of screen
11148
11149 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
11150
11151         * minibuffer.C: deactivate on loss of focus
11152
11153 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11154
11155         * vspace.[Ch] (operator!=): add operator.
11156
11157 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
11158
11159         * BufferView_pimpl.C: refuse to open an inset when
11160         there's a selection.
11161
11162 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
11163
11164         * BufferView_pimpl.C: allow to click on RHS of full row insets
11165
11166 2001-11-30  Juergen Vigna  <jug@sad.it>
11167
11168         * tabular.C (LyXTabular): add a same_id to set the same id's in the
11169         insets for undo reasons.
11170
11171 2001-11-28  André Pönitz <poenitz@gmx.net>
11172
11173         * vspace.[Ch]: cosmetical changes
11174
11175 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11176
11177         * LyXAction.h:
11178         * LyXAction.C:
11179         * lyxfunc.h:
11180         * lyxfunc.C:
11181         * kbmap.h:
11182         * kbmap.C:
11183         * lyxrc.C:
11184         * kbsequence.h:
11185         * kbsequence.C: part re-write of old kb code
11186
11187         * Painter.C:
11188         * WorkArea.C: remove Lgb_bug_find_hack
11189
11190 2001-11-30  José Matos <jamatos@fep.up.pt>
11191
11192         * buffer.C (makeDocBookFile): add a comment to point a hack.
11193         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11194         Fixed a double write of labels.
11195
11196 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11197
11198         * LaTeX.C:
11199         * LaTeX.h Fixed bug in LaTeX class where it would not
11200         re-run latex if no depfiles were changed, but the .dvi was removed.
11201
11202 2001-11-28  André Pönitz <poenitz@gmx.net>
11203
11204         * all the files from the change on 2001/11/26:
11205         use lyx::layout_type instead of LyXTextClass::size_type
11206         use lyx::textclass_type instead of LyXTextClassList::size_type
11207
11208 2001-11-29  Juergen Vigna  <jug@sad.it>
11209
11210         * text.C: added support for paragraph::isFreeSpacing()
11211
11212         * buffer.C: same as above
11213
11214         * paragraph.h: inserted isFreeSpacing() function to enable
11215         FreeSpacing inside InsetERT.
11216
11217         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11218         of the paragraph's in the cut/copy buffer to 0!
11219
11220         * text2.C (removeRow): remove the assert as it can!
11221
11222         * lyxtext.h: added helper function firstRow returning firstrow and
11223         made firstrow private again.
11224
11225         * BufferView2.C (lockInset): don't relock if we're already locked!
11226
11227         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11228         the only paragraph.
11229         (removeRow): added Assert::(firstrow)
11230
11231         * debug.C: forgot to add INSETTEXT here.
11232
11233 2001-11-28  Juergen Vigna  <jug@sad.it>
11234
11235         * sp_spell.C (initialize): changed error text to more general
11236         spellchecker command use (not only ispell!)
11237
11238         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11239
11240         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11241
11242 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11243
11244         * vspace.C: initialise lyxgluelength on failure
11245
11246 2001-11-28  Allan Rae  <rae@lyx.org>
11247
11248         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11249         declaration & definition that looks like a function declaration.
11250
11251 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11252
11253         * BufferView2.C (copy):
11254         (copyEnvironment): do not clear the selection when doing a copy.
11255
11256         * text.C (paintFirstRow): compilation fix
11257
11258 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
11259
11260         * tabular.C (Latex): correct line count when writing latex.
11261
11262 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
11263
11264         * paragraph_pimpl.h:
11265         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11266           bug a bit
11267
11268 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11269
11270         * text.C:
11271         * LColor.h:
11272         * LColor.C: change vfillline->added_space
11273
11274         * text.C: add markers and text for added space
11275
11276         * vspace.C: fix comment
11277
11278 2001-11-28  André Pönitz <poenitz@gmx.net>
11279
11280         * paragraph.C: whitespace changes
11281         * all the other files from the change on 2001/11/26:
11282         change *::pos_type into lyx::pos_type
11283
11284 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
11285
11286         * buffer.C (parseSingleLyXformat2Token): Set the language to the
11287         language of the document when inserting error insets.
11288
11289 2001-11-26  André Pönitz <poenitz@gmx.net>
11290
11291         * BufferView_pimpl.[Ch]:
11292         *       CutAndPaste.C:
11293         * buffer.[Ch]:
11294         * lyxcursor.[Ch]:
11295         * lyxfind.C:
11296         * lyxfunc.C:
11297         * lyxrow.[Ch]:
11298         * paragraph.[Ch]:
11299         * paragraph_pimpl.[Ch]:
11300         * sp_spell.C:
11301         * text.C:
11302         * text2.C: reduce header dependencies, introduce type for positions
11303
11304 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11305
11306         * <various>: change to use Alert.h
11307
11308 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
11309
11310         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11311         when encountering an unknown token.
11312         (readLyXformat2): Show an error message if there were unknown tokens.
11313
11314 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
11315
11316         * BufferView2.C:
11317         * BufferView_pimpl.C:
11318         * buffer.C:
11319         * paragraph.h:
11320         * text.C:
11321         * text2.C: use par->isInset()
11322
11323 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11324
11325         * paragraph_pimpl.h:
11326         * paragraph_pimpl.C: cleanup
11327
11328 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11329
11330         * text2.C (removeRow):
11331         * text.C (setHeightOfRow): remove useless (and costly) call to
11332         getRow.
11333
11334 2001-11-20  Allan Rae  <rae@lyx.org>
11335
11336         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11337         Now need Inset*::checkInsertChar() to return true for appropriate
11338         cases so that the characters in the minibuffer will actually be
11339         inserted.
11340
11341 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11342
11343         * text.C: change the order of the includes.
11344         (workWidth): initialize it at once.
11345         (workWidth): make maxw unsigned
11346         (setHeightOfRow): remove unused variable (inset)
11347         (selectSelectedWord): remove unused variable (inset)
11348         (paintRowText): fix drawing of hfill characters, and clean up a bit.
11349
11350 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11351
11352         * lyxserver.C (emergencyCleanup): do not try to close pipes if
11353         server is not running.
11354         (openConnection):
11355         (closeConnection): add debug info when server is disabled.
11356
11357         * ColorHandler.C (getGCForeground): send debug message to GUI
11358         channel.
11359
11360         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11361
11362         * kbmap.C (bind): modify because return conventions of
11363         kb_sequence::parse have changed.
11364
11365         * kbsequence.C (parse): only ignore spaces and not any stupid
11366         control character. This avoids tests like s[i] <= ' ', which are
11367         guaranteed to fail with 8bit characters and signed chars.
11368         Change return code to string::npos when there have been no error
11369         (0 was a bad idea when error is at first character)
11370
11371 2001-11-14  José Matos  <jamatos@fep.up.pt>
11372
11373         * buffer.h:
11374         * buffer.C (simpleDocBookOnePar): removed unused argument.
11375
11376 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11377
11378         * text.C (selectNextWordToSpellcheck): do not test explicitely for
11379         insets which are part of a word. Paragraph::isLetter takes care of
11380         that now. Use Paragraph::isInset to identify insets.
11381         (selectSelectedWord): do not test for hyphenation break.
11382
11383         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11384         that protected spaces are considered as spaces.
11385
11386         * paragraph.C (isLetter): cleanup the code for ispell extras; use
11387         Inset::isLetter.
11388
11389 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
11390
11391         * lyxserver.h:
11392         * lyxserver.C: fix it. and small cleanup.
11393
11394 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11395
11396         * BufferView_pimpl.C: use inline helpers
11397
11398         * LaTeXFeatures.h:
11399         * LaTeXFeatures.C: fix typos
11400
11401         * Spacing.h:
11402         * Spacing.C: move spacing_string into class
11403
11404         * ToolbarDefaults.C: move stuff into namespace anon
11405
11406         * layout.h: update enum
11407
11408         * lyxfunc.C: use better debug
11409
11410         * minibuffer.h: fix typo
11411
11412         * debug.h:
11413         * debug.C:
11414         * WorkArea.C: add and use Debug::WORKAREA
11415
11416         * lyxtext.h:
11417         * text.C:
11418         * text2.C: code re-organisation, inline helpers
11419
11420 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
11421
11422         * Layout.C: replaced a few cases of std::vector.size() == 0 with
11423         std::vector.empty().
11424
11425 2001-11-09  Allan Rae  <rae@lyx.org>
11426
11427         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11428         '\n's after tables.  Tabular and ERT inset work now makes this no
11429         longer necessary.
11430
11431 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11432
11433         * minibuffer.h:
11434         * minibuffer.C: fix crash, improve drop-down completion
11435
11436 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
11437
11438         * lyxserver.h:
11439         * lyxserver.C: invalidate fd's when doing endPipe()
11440
11441 2001-11-08  José Matos  <jamatos@fep.up.pt>
11442
11443         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11444         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11445
11446         * paragraph.h:
11447         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11448
11449 2001-11-07  José Matos  <jamatos@fep.up.pt>
11450
11451         * buffer.h:
11452         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11453         const qualifier.
11454
11455         * buffer.C (sgmlOpenTag):
11456         * buffer.C (sgmlCloseTag): removed debug info.
11457
11458         * buffer.h (sgmlOpenTag):
11459         * buffer.h (sgmlCloseTag): made public.
11460
11461 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11462
11463         * buffer.C (saveParamsAsDefaults):
11464         * lyx_cb.C (MenuLayoutSave): remove
11465
11466         * LyXAction.C (init):
11467         * commandtags.h:
11468         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11469
11470 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11471
11472         * buffer.C (setPaperStuff): removed from here...
11473
11474         * bufferparams.C (setPaperStuff): ... and moved there.
11475
11476 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
11477
11478         * minibuffer.h:
11479         * minibuffer.C:
11480         * XFormsView.C: add support for drop-down completion
11481
11482 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
11483
11484         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11485         commands.
11486
11487 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11488
11489         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11490         disabled.
11491
11492 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
11493
11494         * lyx_main.C: change ref to known bugs
11495
11496 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
11497
11498         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11499         to work around older babel problems.
11500
11501 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11502
11503         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11504
11505 2001-10-24  Juergen Vigna  <jug@sad.it>
11506
11507         * tabular-old.C (ReadOld): below variable changes reflected.
11508
11509         * tabular.[Ch]: added ltType struct for longtable header/footer
11510         defines and changed all instances where they are used. Added
11511         future support for double top/bottom rows.
11512
11513 2001-10-24  José Matos  <jamatos@fep.up.pt>
11514
11515         * buffer.h (docbookHandleCaption):
11516         * buffer.C (docbookHandleCaption): removed unused function.
11517         (makeDocBookFile): moved docbook supported version to v4.1.
11518
11519 2001-10-24  José Matos  <jamatos@fep.up.pt>
11520
11521         * tabular.h:
11522         * tabular.C (docbookRow): new function to export docbook code of a row.
11523         (DocBook): now honors the longtable flags.
11524
11525 2001-10-23  José Matos  <jamatos@fep.up.pt>
11526
11527         * LaTeXFeatures.h:
11528         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11529         of the lyx defined sgml entities used in a docbook/linuxdoc document.
11530
11531         * buffer.C (makeLinuxDocFile):
11532         (makeDocBookFile): reworked the preamble, more clean, and with
11533         support for lyx defined entities. Changed the document declaration
11534         to be more XML friendly.
11535
11536         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11537         if we need to output XML that should be done with a filter.
11538
11539 2001-10-22  Juergen Vigna  <jug@sad.it>
11540
11541         * sp_pspell.h (class PSpell): add alive function needed in the
11542         controller to see if the spellchecker could be started.
11543
11544 2001-10-22  Juergen Vigna  <jug@sad.it>
11545
11546         * buffer.C (insertStringAsLines): modify the font for inserting
11547         chars in certain conditions by calling checkInsertChar(font).
11548
11549 2001-10-19  Juergen Vigna  <jug@sad.it>
11550
11551         * text.C (workWidth): use getRow instead of wrong algorithm.
11552         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11553
11554 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
11555
11556         * lyxserver.h:
11557         * lyxserver.C:
11558         * lyx_main.h:
11559         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11560
11561 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11562
11563         * text.C (workWidth): do not search for the exact row when
11564         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11565         optimization for big documents.
11566
11567 2001-10-18  Juergen Vigna  <jug@sad.it>
11568
11569         * text.C (workWidth): new function with added Inset * parameter.
11570
11571 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11572
11573         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11574
11575         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11576         change return type of getColumnNearX.
11577
11578
11579         * text.C (changeRegionCase): use uppercase/lowercase instead of
11580         toupper/tolower.
11581         (leftMargin):
11582         (rightMargin): simplify code by factoring out the uses of
11583         textclasslist.
11584         (labelFill):
11585         (numberOfHfills):
11586         (setHeightOfRow):
11587         (appendParagraph): use Paragraph::size_type
11588
11589 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11590
11591         * vspace.C (asLatexString): add a missing break
11592
11593 2001-10-15  Herbert Voss  <voss@perce.de>
11594
11595         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11596
11597 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11598
11599         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11600         is not available.
11601
11602 2001-10-10  André Pönitz <poenitz@gmx.net>
11603
11604         * lyxfunc.C: removed greek_kb_flag.
11605
11606 2001-10-10  Herbert Voss  <voss@perce.de>
11607
11608         * lyx_main.C: delete global string help_lyxdir.
11609
11610 2001-10-09  Herbert Voss  <voss@perce.de>
11611
11612         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11613
11614         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11615
11616         * lyx_main.C: added global string help_lyxdir.
11617
11618         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11619
11620 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11621
11622         * lyxrc.C (set_font_norm_type): support iso8859-4
11623
11624 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
11625
11626         * LaTeX.C (deplog): add another regex for MikTeX
11627
11628 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11629
11630         * lyxrc.C (set_font_norm_type): support iso8859-3
11631
11632 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11633
11634         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11635
11636         * LaTeXFeatures.C: remove special case of french and index
11637
11638         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11639         before \begin{document}). This solves several incompatibilities.
11640
11641 2001-10-03  Garst Reese  <reese@isn.net>
11642
11643         * lyx_cb.C: change CheckTex error msg.
11644
11645 2001-10-03  José Matos  <jamatos@fep.up.pt>
11646
11647         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11648
11649 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11650
11651         * .cvsignore: update
11652
11653         * lyx_main.C (commandLineVersionInfo): use new style version info.
11654
11655         * buffer.C (writeFile):
11656         (makeLaTeXFile):
11657         (makeLinuxDocFile):
11658         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11659
11660         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11661
11662         * version.h: update to use stuff in version.C
11663
11664         * version.C.in: new file. Contains version information determined
11665         at compile time. This is a merging of version.h and
11666         version_info.h.in.
11667
11668 2001-10-03  Juergen Vigna  <jug@sad.it>
11669
11670         * BufferView_pimpl.C (update): don't change "dirty" status in
11671         updateInset call.
11672
11673 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
11674
11675         * WorkArea.C (c-tor): re-position version string slightly.
11676
11677 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
11678
11679         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11680         revert to previous code.
11681
11682         WorkArea.[Ch]: (show, destroySplash): methods removed.
11683
11684         WorkArea.C: rework code so that it's an amalgam of the codes before and
11685         after the splash screen was moved to WorkArea.
11686
11687 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11688
11689         * lyxrc.C (read):
11690         * vspace.C (inPixels):
11691         (lyx_advance):
11692         * kbmap.C (bind):
11693         * buffer.C (insertStringAsLines):
11694         (asciiParagraph): fix types to be large enough
11695
11696         * lyxlex_pimpl.h: change member status from short to int
11697
11698         * layout.h: fix type of endlabeltype
11699
11700         * kbmap.C (bind):
11701         * kbsequence.C (parse): change return type to string::size_type
11702
11703         * LaTeX.C (updateBibtexDependencies): comment out unneeded
11704         variable
11705
11706         * Bullet.C (bulletSize):
11707         (bulletEntry): do not use short ints as parameters
11708
11709         * BufferView2.C (insertLyXFile): change a char to an int.
11710
11711         * WorkArea.C (WorkArea): remove unneeded floats in computation
11712
11713 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11714
11715         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11716
11717         * paragraph.C (asString): Do not ignore newline/hfill chars when
11718         copying to the clipboard.
11719
11720 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
11721
11722         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11723         after a multi-line inset.
11724
11725 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
11726
11727         * paragraph.C (validate): Set NeedLyXFootnoteCode
11728
11729 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11730
11731         * lyxfont.C (LyXSizeNames): changed increase-error to increase
11732         and decrease-error to decrease.
11733
11734 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11735
11736         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11737         it more readable (should be equivalent)
11738
11739 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11740
11741         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11742
11743 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11744
11745         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11746         of a cursor (row, etc.) after a character has been deleted
11747         (deleteEmptyParagraphMechanism): call the method above on _all_
11748         cursors held by the LyXText when a double space has been
11749         detected/deleted.
11750
11751 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11752
11753         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11754         pixmap.
11755         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11756
11757         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11758         background. Use greyOut() and the new show() methods to toggle between
11759         the foreground and background. Add code to remove the splash after
11760         its initial showing.
11761
11762         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11763         (create_forms): no longer call Dialogs::showSplash.
11764
11765 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11766
11767         * .cvsignore: add version_info.h
11768
11769 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11770
11771         * version_info.h.in: new file
11772
11773         * Makefile.am: add version_info.h.in
11774
11775         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11776         version_info.h instead of VERSION_INFO
11777
11778 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11779
11780         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11781         The ERT inset now returns string().
11782
11783 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11784
11785         * lyxtext.h, text.C (selectNextWord): renamed as
11786         selectNextWordToSpellcheck.
11787
11788         * text.C (selectNextWordToSpellcheck): Modified to not select
11789         words inside an ERT inset.
11790
11791 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11792
11793         * lyx_cb.C (MenuLayoutSave): change a bit the question
11794
11795         * sp_base.h: include <sys/types.h>
11796
11797 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11798
11799         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11800
11801 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11802
11803         * several files: fix typos in user-visible strings
11804
11805 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11806
11807         * text2.C (pasteSelection): do not set the selection, since it
11808         will be cleared later. Actually, the intent was to fix the way the
11809         selection was set, but I figured rmoving the code was just as good.
11810
11811 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11812
11813         * FontLoader.C (available): Check if font is available without
11814         loading the font.
11815
11816 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11817
11818         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11819
11820 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11821
11822         * lyxrc.[Ch]: added display_graphics variable and associated code.
11823
11824 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11825
11826         * bufferparams.C (hasClassDefaults): new method. Returns true if
11827         the buffer parameters correspond to known class defaults
11828
11829 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11830
11831         * XFormsView.C (show): set minimum size to the main window.
11832
11833 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11834
11835         * text2.C (copySelection):
11836         (cutSelection):
11837         * lyxfind.C (LyXReplace):
11838         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11839         LyXText::selectionAsString.
11840
11841         * paragraph.C (asString): add "label" argument to the second form
11842
11843         * text2.C (selectionAsString): add "label" argument and pass it to
11844         Paragraph::asString.
11845
11846 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11847
11848         * lyx_main.C (commandLineHelp): remove version information
11849
11850 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11851
11852         * lyx_main.C: add -version commandline option
11853
11854 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11855
11856         * paragraph.h: make the optional constructor arg required instead.
11857         some modifications to other files because of this.
11858
11859         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11860
11861         * lyxserver.C (C_LyXComm_callback): make it static
11862
11863         * lyx_main.C (error_handler): make it static
11864
11865         * lyx_gui.C (LyX_XErrHandler): make it static
11866
11867         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11868
11869         * WorkArea.C: make the extern "C" methods static.
11870
11871         * Makefile.am (lyx_LDADD): simplify
11872
11873 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11874
11875         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11876         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11877
11878         * LyXAction.C (init):
11879         * lyxfunc.C (dispatch): associated code removal.
11880
11881 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11882
11883         * lyxfont.h (isSymbolFont): shut off warning
11884
11885         * text.C (setHeightOfRow):
11886         (getVisibleRow): fix crash with empty paragraphs which have a
11887         bottom line
11888
11889 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
11890
11891         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11892         code.
11893
11894 2001-09-04  José Matos  <jamatos@fep.up.pt>
11895         * buffer.C
11896         * buffer.h
11897         * tabular.C (docbook): rename docBook method to docbook.
11898
11899 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11900
11901         * Makefile.am: add dependencies to main.o.
11902
11903 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
11904
11905         * FontLoader.C (available): Return false if !lyxrc.use_gui
11906
11907 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
11908
11909         * FontInfo.C (query):
11910         * converter.C (view):
11911         * importer.C (Import):
11912         * exporter.C (Export): Can not -> cannot.
11913
11914 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
11915
11916         * BufferView_pimpl.C: allow to create index inset even if
11917           string is empty
11918
11919 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11920
11921         * buffer.C (getLists): replace boost::tie code with an explicit pair
11922         as boost::tie can break some compilers.
11923
11924         * iterators.h: Added a std:: declaration to the return type of
11925         ParIterator::size.
11926
11927 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
11928
11929         * lyxrc.C: add help for view_dvi_paper_option, default to safe
11930           case.
11931
11932 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
11933
11934         * iterators.[Ch]: New files. Provide paragraph iterators.
11935
11936         * buffer.C (changeLanguage): Use paragraph iterators.
11937         (isMultiLingual): ditto
11938
11939         * BufferView2.C (ChangeInsets): Use paragraph iterators.
11940
11941 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
11942
11943         * FontLoader.C: Support for cmr font.
11944
11945 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
11946
11947         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11948         (available): New method.
11949
11950         * FontInfo.C (getFontname): Use scalable fonts even when
11951         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11952         found.
11953
11954 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11955
11956         * converter.C (Formats::view): reverted! Incorrect fix.
11957
11958 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11959
11960         * converter.C (Formats::view): only output the -paper option
11961         if the dvi viewer is xdvi, thereby fixing bug #233429.
11962
11963 2001-08-23  Herbert Voss  <voss@perce>
11964
11965         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11966
11967 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11968
11969         * Spacing.h (Spacing): Set space to Default on in the default
11970         constructor.
11971
11972 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11973
11974         * vc-backend.h (RCS::versionString): add RCS to version
11975         (CVS::versionString): add CVS to version
11976
11977         * vc-backend.C (scanMaster): do not add CVS to version.
11978         (scanMaster): do not add RCS to version
11979
11980         * lyxvc.C (versionString): new method
11981
11982         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11983
11984 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11985
11986         * Spacing.C (set): initialize fval
11987
11988 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
11989
11990         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11991         " or \.
11992
11993 2001-08-16  Juergen Vigna  <jug@sad.it>
11994
11995         * lyxfunc.C (dispatch): implemented the new FINISHED states.
11996
11997 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11998
11999         * BufferView_pimpl.C:
12000         * figureForm.C:
12001         * lyxtext.h:
12002         * text2.C: setParagraph takes linespacing now
12003
12004 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
12005
12006         * LyxAction.C: add internal LFUN_CITATION_INSERT
12007
12008         * LyXView.C: actually apply fix
12009
12010         * bufferlist.C: fix open non-existent file
12011
12012         * lyxfind.C: fix indentation
12013
12014         * lyxfunc.C: remove unneeded assert, fix typo
12015
12016 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12017
12018         * MenuBackend.C: use "Floatname List"
12019
12020 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
12021
12022         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12023         when converting LaTeX layout to insetERT.
12024         Generate a non-collapsed float when reading old float
12025
12026 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12027
12028         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12029         ERT insets.
12030
12031 2001-08-13  Juergen Vigna  <jug@sad.it>
12032
12033         * text.C (fill): return 0 instead of 20 as this seems to be the more
12034         correct value.
12035
12036 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12037
12038         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12039         lyxrc.font_norm.
12040
12041 2001-08-13  Juergen Vigna  <jug@sad.it>
12042
12043         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12044         casesensitive off.
12045         (SearchBackward): comment out the unlocking of the inset_owner this
12046         should not be needed!
12047
12048 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
12049
12050         * Many files: Remove inherit_language, and add latex_language
12051
12052         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12053         collapsible insets.
12054
12055 2001-08-10  Juergen Vigna  <jug@sad.it>
12056
12057         * text.C (prepareToPrint): fixed hfill-width in draw!
12058
12059         * BufferView2.C (selectLastWord): save the selection cursor as this
12060         now is cleared in the function LyXText::clearSelection!
12061
12062 2001-08-08  Juergen Vigna  <jug@sad.it>
12063
12064         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12065         BACKSPACE type functions.
12066
12067         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12068         is only cutted from the document but not put in the cut-buffer, where
12069         still the old stuff should be.
12070
12071         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12072
12073         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12074
12075         * tabular.C (SetWidthOfCell): fixed special case where the width
12076         was not updated!
12077         (LeftLine): handle '|' in align_special.
12078         (RightLine): ditto
12079         (LeftAlreadyDrawed): ditto
12080         (SetWidthOfCell): ditto
12081
12082 2001-08-07  Juergen Vigna  <jug@sad.it>
12083
12084         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12085
12086 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12087
12088         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12089         * lyxlex.[hC]: ditto
12090
12091 2001-08-06  Juergen Vigna  <jug@sad.it>
12092
12093         * text.C (getVisibleRow): fix up row clearing a bit.
12094
12095 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12096
12097         * minibuffer.C: make sure the X server sees the changes in the input.
12098
12099 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12100
12101         * paragraph.C (getFont): split into...
12102         (getLabelFont): this
12103         (getLayoutFont): and this
12104         * paragraph_pimpl.C (realizeFont): calling this
12105
12106         * text2.C (getFont): split into...
12107         (getLayoutFont): this
12108         (getLabelFont): and this
12109         (realizeFont): all three calling this
12110
12111         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12112         files where used.
12113
12114 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12115
12116         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12117
12118 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
12119
12120         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12121         layouts from the Quote inset insertion.
12122
12123 2001-08-03  Juergen Vigna  <jug@sad.it>
12124
12125         * BufferView_pimpl.C (update): do the fitCursor only at the end!
12126
12127         * screen.C (drawFromTo): don't call fitcursor here and do the loop
12128         only if status not is already CHANGED_IN_DRAW (second level).
12129
12130         * text.C (draw): don't set the need_break_row when inside an
12131         InsetText LyXText.
12132
12133 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12134
12135         * buffer.C (parseSingleLyXformat2Token): handle more latex
12136         conversion cases.
12137
12138         * bufferview_funcs.[hC]: change function names to
12139         begin with small char, adjust other files.
12140
12141 2001-08-02  André Pönitz <poenitz@gmx.net>
12142
12143         * lyxfunc.C:
12144         BufferView_pimpl.C: remove broken special code for math-greek
12145
12146 2001-08-02  Juergen Vigna  <jug@sad.it>
12147
12148         * BufferView_pimpl.C (update): redone this function so that we
12149         update the text again if there was a CHANGE_IN_DRAW.
12150
12151         * screen.C (cursorToggle): removed LyXText parameter and recoded.
12152         (drawFromTo): added a new internal bool which is used by draw() and
12153         redraw() function.
12154         (general): some cursor drawing problems fixed.
12155
12156 2001-08-01  Juergen Vigna  <jug@sad.it>
12157
12158         * lyxfind.C (LyXFind): fixed
12159         (SearchForward): ditto
12160         (SearchBackward): ditto
12161
12162         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12163         spurius drawing of the cursor in the main area.
12164
12165         * text2.C (status): small fix which could lead to a segfault!
12166         (clearSelection): remove unneeded BufferView param.
12167
12168 2001-08-01  André Pönitz <poenitz@gmx.net>
12169
12170         * lyxfunc.C: small change due to changed mathed interface
12171
12172 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12173
12174         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12175
12176 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
12177
12178         * lyxfunc.c: fail gracefully if file doesn't exist
12179
12180         * LyXSendto.C:
12181         * buffer.C:
12182         * lyxfunc.C:
12183         * BufferView_pimpl.C: IsDirWriteable() proto changed
12184
12185         * LyXView.C: fix updateWindowTitle() to store the last title
12186
12187 2001-07-31  Juergen Vigna  <jug@sad.it>
12188
12189         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12190         the font (wrong since using of Paragraph::highestFontInRange).
12191
12192         * paragraph.C (highestFontInRange): added a default_size parameter.
12193
12194         * text.C (getVisibleRow): minor clear row changes (still not perfect).
12195         (setHeightOfRow): reformat
12196
12197 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12198
12199         * converter.[hC] + affected files: move to (inital-char)lowercase
12200         function names.
12201
12202         * ParagraphParameters.C (ParagraphParameters): remove commented code
12203
12204         * PainterBase.[Ch]: remove commented code
12205
12206         * LaTeXFeatures.h: add "bool floats" for float.sty
12207
12208         * LaTeXFeatures.C (LaTeXFeatures): init floats
12209         (require): handle float
12210         (getPackages): do it with floats
12211
12212 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12213
12214         * BufferView_pimpl.C (Dispatch): improve handling of
12215         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12216
12217         * commandtags.h: #include lyxfont.h here temporarily to avoid
12218         keybinding bug.
12219
12220         * bufferlist.h: include LString.h here.
12221
12222 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12223
12224         * text2.C (getStringToIndex): new method.
12225
12226 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
12227
12228         * *: Reduced header file dependencies all over.
12229
12230 2001-07-30  Baruch Even  <baruch@lyx.org>
12231
12232         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12233
12234 2001-07-29  Baruch Even  <baruch@lyx.org>
12235
12236         * buffer.C (readInset): Changed GRAPHICS to Graphics.
12237
12238 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12239
12240         * ParameterStruct.h (endif): add a default constructor to make
12241         sure that all variables is initialized.
12242
12243         * ParagraphParameters.C (ParagraphParameters): adjust
12244
12245 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12246
12247         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12248         index; also, check that there is something to index, and that it
12249         does not span over several paragraphs.
12250         (doubleClick): use WHOLE_WORD_STRICT for double click.
12251
12252         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12253
12254         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12255         scheme.
12256
12257 2001-07-26  Baruch Even  <baruch@lyx.org>
12258
12259         * buffer.C (readInset): Changed to call up InsetGraphics when reading
12260         an InsetFig figure, backwards compatible reading of old figure code.
12261
12262 2001-07-27  Juergen Vigna  <jug@sad.it>
12263
12264         * text2.C: font.realize function adaption.
12265
12266         * text.C (draw): add a warnings lyxerr text if needed.
12267
12268         * layout.C: font.realize function adaption.
12269
12270         * language.C: add inherit_language and implement it's handlings
12271
12272         * bufferview_funcs.C (StyleReset): remove language parameter from
12273         font creation (should be language_inherit now).
12274
12275         * bufferparams.C (writeFile): handle ignore_language.
12276
12277         * paragraph.C (getFontSettings): the language has to be resolved
12278         otherwise we have problems in LyXFont!
12279
12280         * lyxfont.C (lyxWriteChanges): added document_language parameter
12281         (update): removed unneeded language parameter
12282
12283         * paragraph.C (validate): fixed wrong output of color-package when
12284         using interface colors for certain fonts in certain environments,
12285         which should not seen as that on the final output.
12286
12287 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
12288
12289         * BufferView_pimpl.C:
12290         * Thesaurus.h:
12291         * Thesaurus.C:
12292         * Makefile.am:
12293         * commandtags.h:
12294         * LyXAction.C: add thesaurus support
12295
12296         * lyxfind.h:
12297         * lyxfind.C: add "once" parameter, for thesaurus, to not
12298           move to the next match
12299
12300 2001-07-26  Juergen Vigna  <jug@sad.it>
12301
12302         * lyxfont.C (realize): honor ignore_language too!
12303         (resolved): ditto.
12304
12305         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12306
12307         * text.C (draw): one place more for ignore_language to not draw
12308         itself!
12309
12310 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
12311
12312         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12313
12314 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12315
12316         * buffer.C (parseSingleLyXformat2Token): a more general fix for
12317         the minipage conversion problem.
12318
12319 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12320
12321         * buffer.C (parseSingleLyXformat2Token): check minipage if we
12322         insert an inset.
12323
12324 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12325
12326         * BufferView.h: don't forward declare WorkArea
12327
12328         * BufferView.C: don't include WorkArea.h
12329
12330 2001-07-25  André Pönitz <poenitz@gmx.net>
12331
12332         * commandtags.h:
12333         * LyXAction.C:
12334         * lyxfunc.C:  new LFUN 'math-space'
12335
12336         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12337
12338 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12339
12340         * text2.C (toggleInset): call open/close
12341
12342 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12343
12344         * lyxfunc.C (dispatch): add debug for the disabled case
12345
12346         * font.C (buttonText): make similar to rectText
12347
12348         * buffer.C (readInset): comment out parsing of insetlist and
12349         insttheorem
12350
12351         * PainterBase.C (rectText): small correction
12352
12353         * BufferView_pimpl.C: comment out insettheorem and insetlist
12354         * LyXAction.C: ditto
12355         * commandtags.h: ditto
12356
12357 2001-07-24  Juergen Vigna  <jug@sad.it>
12358
12359         * text.C (draw): honor the ignore_language.
12360
12361         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12362
12363 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12364
12365         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12366         char inset.
12367
12368 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12369
12370         * lyxtext.h: remove unused (and unimplemented) methods
12371
12372 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12373
12374         * text.C (getVisibleRow): honor background color
12375
12376         * PainterBase.h:
12377         * Painter.h: remove default color argument for fillRectangle
12378
12379         * text.C (backgroundColor): new method
12380
12381 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12382
12383         * text.C (getVisibleRow): adjust
12384
12385         * font.[Ch] (rectText): new method, metrics
12386         (buttonText): new method, metrics
12387
12388         * PainterBase.[hC]: make rectText and buttonText always draw and take
12389         fewer paramteres.
12390
12391 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12392
12393         * ToolbarDefaults.C (read):
12394         * MenuBackend.C (read): allow escaping in all strings
12395
12396         * BufferView_pimpl.C (insertAndEditInset): new method.
12397         (Dispatch): use insertAndEditInset whenever appropriate.
12398
12399         * BufferView_pimpl.C (insertNote): removed
12400
12401         * BufferView_pimpl.C (smartQuote): new method, moved from
12402         BufferView; if an insetquote cannot be inserted, insert a '"'
12403         character instead.
12404
12405         * BufferView2.C: remove insertCorrectQuote();
12406
12407         * lyxfunc.C (getStatus): Add support for all remaingin
12408         inset-insert lfuns.
12409
12410         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12411
12412         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12413         command (necessary to pass " as parameter of self-insert.
12414
12415         * text.C (selectWordWhenUnderCursor):
12416         (selectWord): add word_location parameter
12417         (selectWordWhenUnderCursor): same + remove special code for word
12418         boundary.
12419         (selectNextWord): use kind() to guess type of insetspecialchar,
12420         not latex().
12421
12422         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12423         (insertErtContents): create ert insets as collapsed.
12424         (readInset): better compatibility code for Info inset.
12425
12426 2001-07-20  Juergen Vigna  <jug@sad.it>
12427
12428         * lyxfunc.C (dispatch): use always LyXFind now!
12429
12430         * text2.C (init): add a reinit flag so that the LyXText can be
12431         reinited instead of deleted and reallocated (used in InsetText).
12432
12433         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12434
12435         * text.C: ditto
12436
12437         * text2.C: ditto
12438
12439 2001-07-18  Juergen Vigna  <jug@sad.it>
12440
12441         * text.C (selectNextWord): handle insets inside inset by calling
12442         always the bv->text functions so that we can go up the_locking_inset!
12443
12444         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12445         in strange locations when inside an inset!
12446
12447         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12448         handling to include insets.
12449
12450         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12451
12452 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12453
12454         * LyXAction.C (init):
12455         * commandtags.h:
12456         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12457         LIGATURE_BREAK, since the name is so stupid.
12458
12459 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12460
12461         * buffer.C (readInset): enable reading of new InsetNotes as well as old
12462         InsetInfos.
12463
12464         * FontLoader.C: remove FORMS_H_LOCATION cruft.
12465
12466         * sp_form.[Ch]: remove.
12467
12468         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12469
12470         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12471         InsetInfo.
12472
12473         * src/buffer.C (readInset): ditto.
12474
12475 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12476
12477         * BufferView_pimpl.C (specialChar): new method. Obsoletes
12478         menuSeparator(), endOfSentenceDot(), ldots() and
12479         hyphenationPoint(), which are therefore removed.
12480         (Dispatch): handle LFUN_HYPHENATION_BREAK.
12481
12482         * LyXAction.C (init):
12483         * commandtags.h: add LFUN_HYPHENATION_BREAK.
12484
12485         * paragraph.C (getWord): removed.
12486
12487         * BufferView_pimpl.C (Dispatch): use last word or selection for
12488         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12489
12490         * lyx_main.C (queryUserLyXDir): do not ask before creating
12491         user_dir, except if it has been named explicitely.
12492
12493 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12494
12495         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12496         a document of zero size.
12497
12498 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
12499
12500         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12501         approriately in the c-tor and in require().
12502         (getPackages): output the appropriate LaTeX for natbib support.
12503
12504         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12505         variables "use_natbib" and "use_numerical_citations" when reading the
12506         LyX file.
12507         (readInset): read the various natbib cite commands.
12508         (validate): white-space change.
12509
12510         * bufferparams.[Ch]: new variables "bool use_natbib" and
12511         "bool use_numerical_citations".
12512         (writeFile): output them in the LyX file.
12513
12514 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12515
12516         * lyxfunc.C (getStatus): add support for all the inset insertion
12517         commands.
12518
12519         * text2.C (insertInset):
12520         * paragraph.C (insetAllowed):
12521         * BufferView_pimpl.C (insertInset): update to take in account the
12522         renaming of insertInsetAllowed
12523
12524         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12525
12526         * text2.C (getInset): new method. returns inset at cursor position.
12527
12528         * BufferView_pimpl.C (Dispatch): changes because of this.
12529
12530         * LyXAction.C (init): rename open-stuff to inset-toggle.
12531
12532         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12533
12534         * text2.C (toggleInset): renamed from openStuff; use
12535         Inset::open().
12536
12537 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
12538
12539         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12540
12541         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12542
12543 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
12544
12545         * buffer.C (readLyXformat2): Add filename to the error dialog
12546
12547 2001-07-18  Juergen Vigna  <jug@sad.it>
12548
12549         * tabular.C (GetCellNumber): put an assert here instead of the check!
12550
12551 2001-07-17  Juergen Vigna  <jug@sad.it>
12552
12553         * BufferView_pimpl.C (toggleSelection): adapted too.
12554
12555         * text.C (selectNextWord): adapted for use with insets.
12556         (selectSelectedWord): ditto
12557
12558 2001-07-17  Juergen Vigna  <jug@sad.it>
12559
12560         * sp_spell.C (PSpell): fix initialitation order.
12561
12562 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12563
12564         * paragraph.C: spacing
12565
12566 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
12567
12568         * sp_spell.C: repair language selection for pspell
12569
12570 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12571
12572         * lyxfunc.h: change more methods to begin with lower char.
12573
12574 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
12575
12576         * buffer.C (parseSingleLyXformat2Token): Generate error insets
12577         for unknown layouts.
12578
12579 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12580
12581         * buffer.C (readLyXformat2): Generate an error dialog if there are
12582         unknown layouts.
12583
12584 2001-07-16  Juergen Vigna  <jug@sad.it>
12585
12586         * sp_spell.C: always compile ISpell part.
12587
12588         * lyxrc.C: added use_pspell entry and it's handling.
12589
12590 2001-07-13  Juergen Vigna  <jug@sad.it>
12591
12592         * sp_spell.C: removed double includes.
12593
12594 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
12595
12596         Consistent use of Lsstream.h:
12597         * Lsstream.h: added using std::stringstream for consistencies sake.
12598
12599         * buffer.C: removed using std::stringstream
12600
12601         * lyxfont.C (stateText):
12602         * paragraph.C (asString):
12603         * text.C (selectNextWord, selectSelectedWord):
12604         * text2.C (setCounter):
12605         * vspace.C (asString, asLatexString):
12606         std::ostringstream -> ostringstream.
12607
12608 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12609
12610         * LyXAction.C: add LFUN_HELP_ABOUTLYX
12611         * commandtags.h: add LFUN_HELP_ABOUTLYX
12612         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12613
12614 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12615
12616         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12617         cursorToggle()
12618         * lyx_gui_misc.C: remove spellchecker
12619         * lyxfunc.C: showSpellchecker
12620         * sp_base.h: added
12621         * sp_ispell.h: added
12622         * sp_pspell.h: added
12623         * sp_spell.C: added
12624         * sp_form.[Ch]: removed
12625         * spellchecker.[Ch]: removed
12626
12627 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
12628
12629         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12630         is set.
12631         (simpleTeXSpecialChars): Simply print the input character without
12632         any special translation if pass_thru is set.
12633
12634         * layout.h: Added bool pass_thru to layout class for being able to
12635         implement pass through of a paragraph for Literate Programming.
12636
12637         * layout.C: add LT_PASS_THRU to LayoutTags enum.
12638         * layout.C (LyXLayout): set pass_thru to flase in constructor.
12639         * layout.C (Read): add "passthru" to list of layout tags and add
12640         code to set the pass_thru boolean when it is read.
12641
12642 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12643
12644         * trans_decl.h: remove allowed from KmodInfo
12645
12646         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12647         remove allowed code
12648         (Load): adjust
12649
12650         * paragraph_pimpl.C (erase): use boost::prior
12651
12652         * Painter.C (text): use data() instead of c_str() when length is
12653         also provided.
12654         * WorkArea.C (putClipboard): ditto
12655         * font.h (width): ditto
12656
12657         * BufferView2.C: use it-> instead of (*it). for iterators
12658         * texrow.C: ditto
12659         * paragraph_pimpl.C: ditto
12660         * paragraph.C: ditto
12661         * minibuffer.C: ditto
12662         * language.C: ditto
12663         * kbmap.C: ditto
12664         * encoding.C: ditto
12665         * counters.C: ditto
12666         * converter.C: ditto
12667         * chset.C: ditto
12668         * Variables.C: ditto
12669         * TextCache.C: ditto
12670         * MenuBackend.C: ditto
12671         * LyXAction.C: ditto
12672         * LColor.C: ditto
12673         * FloatList.C: ditto
12674         * DepTable.C: ditto
12675         * ColorHandler.C (LyXColorHandler): ditto
12676
12677 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12678
12679         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12680
12681         * text2.C (openStuff): reintroduce this method (which had been
12682         nuked in NEW_INSETS frenzy).
12683
12684         * lyxfunc.C (Dispatch): when an action has not been handled, use
12685         its name in the error message, not its number.
12686
12687         * paragraph.C (inInset): change method name to begin with lowercase.
12688
12689         * undo_funcs.C:
12690         * text2.C: updates because of this.
12691
12692 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12693
12694         * ToolbarDefaults.C (add): add spaces in error message
12695
12696 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12697
12698         * buffer.C (readLyXformat2): initialize the ert comp. variables.
12699         (readLyXformat2): rename return_par to first_par, use lyxlex's
12700         pushToken and remove the manual push handling.
12701         (parseSingleLyXformat2Token): add another ert comp. variable:
12702         in_tabular, rename return_par to first_par. handle newlines better
12703
12704 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12705
12706         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12707
12708 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12709
12710         * text2.C (getParFromID): removed
12711
12712         * buffer.C (getParFromID): new method moved form lyxtext.
12713         * BufferView2.C (insertErrors): adjust
12714         (setCursorFromRow): adjust
12715         * BufferView_pimpl.C (restorePosition): adjust
12716         * lyxfunc.C (Dispatch): adjust
12717         * undo_funcs.C (textUndo): adjust
12718         (textRedo): adjust
12719         (textHandleUndo): adjust
12720         (textHandleUndo): adjust
12721
12722 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12723
12724         * buffer.C: up' the LYX_FORMAT
12725
12726         * lyxfont.h: turn NO_LATEX on as default
12727
12728         * buffer.C (insertErtContents): new methods of tex style compability.
12729         (parseSingleLyXformat2Token): use it several places.
12730         * tabular.C (OldFormatRead): and here
12731
12732 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12733
12734         * text2.C: remove some commented code.
12735         reindent file.
12736
12737         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12738         * trans.C: changes because of the above.
12739
12740 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
12741
12742         * text2.C (setCounter): Fix counters bug with bibliography layout.
12743
12744 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12745
12746         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12747         own member functions
12748         (simpleTeXSpecialChars): ditto
12749
12750 2001-07-06  Juergen Vigna  <jug@sad.it>
12751
12752         * a lot of files: changed the access to LyXText::status and the
12753         call of undo-functions.
12754
12755         * undo.[Ch]: added a inset_id to the undo informations.
12756
12757         * undo_funcs.[Ch]: added and moved here all undo functions.
12758
12759         * lyxtext.h: give the status enum a weight, made status_ a private
12760         variable and made accessor functions for it, removed the whole bunch
12761         of undo-functions as they are now in their own file, make some
12762         functions publically available. Added function ownerParagraph with
12763         int parameter.
12764
12765         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12766         made InInset() a const function, added getParFromID() function.
12767
12768         * buffer.[Ch]: added const version for inset_iterator functions,
12769         added getInsetFromID() function.
12770
12771         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12772         changed undo functions for new version.
12773
12774 2001-07-05  Juergen Vigna  <jug@sad.it>
12775
12776         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12777         unknow mechanism does not call the proper constructor but only this
12778         one also if I request the other!?
12779
12780 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12781
12782         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12783
12784         * text2.C (LyXText): use initialization lists.
12785
12786         * lyxtext.h (Selection): initialize set_ and mark_
12787         (init): remove method
12788
12789 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12790
12791         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12792
12793 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12794
12795         * screen.[Ch]: change method names to begin with lowercase
12796
12797         * BufferView_pimpl.C (updateScrollbar): simplify further and
12798         hopefully make it a bit faster.
12799
12800 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12801
12802         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12803         calling directly xforms functions.
12804
12805         * Painter.C (Painter):
12806         * lyx_cb.C (MenuWrite):
12807         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12808         fl_display.
12809
12810         * lyx_gui.C: remove bogus guiruntime extern declaration.
12811
12812 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12813
12814         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12815         in NEW_INSETS
12816         (redoDrawingOfParagraph): ditto
12817         (redoParagraphs): ditto
12818         (cutSelection): don't create a object for CutAndPaste use the
12819         static method directly
12820         (pasteSelection): ditto
12821
12822         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12823         LyXview (+ rename)
12824
12825 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12826
12827         * modifications to some other files because of this.
12828
12829         * Makefile.am (lyx_SOURCES): add XFormsView
12830
12831         * XFormsView.[Ch]: new files
12832
12833         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12834         the main window. Move the gui dependent stuff to XFormsView
12835
12836 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12837
12838         * tabular.C (GetCellInset): update cur_cell also in the row/col
12839         version of this function.
12840
12841         * lyxfunc.C: no need to include figure_form.h here.
12842
12843         * FontLoader.h:
12844         * lyxfunc.h:
12845         * lyxscreen.h:
12846         * text2.C:
12847         * lyxvc.C: no need to include forms.h here.
12848
12849 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12850
12851         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12852
12853         * lyxfunc.C (Dispatch):
12854         * Spacing.C (set):
12855         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12856         constructor argument.
12857
12858 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12859
12860         * paragraph.C (Paragraph): dont't clear, and just set layout.
12861         (makeSameLayout): use params's copy contructor.
12862
12863         * ParagraphParameters.[Ch] (makeSame): delete method
12864
12865 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12866
12867         * Variables.[Ch]: fix indentation, rename set to isSet
12868
12869 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12870
12871         * lyxfunc.C (Dispatch): fix typo
12872
12873 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12874
12875         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12876         upper_bound.
12877
12878         * bufferlist.C: include assert.h for emergencyWrite().
12879
12880 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12881
12882         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12883           give up at last (bug #425202) !
12884
12885 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12886
12887         * lyx_gui_misc.C:
12888         * sp_form.h:
12889         * sp_form.C:
12890         * spellchecker.h:
12891         * spellchecker.C: strip spellchecker options and bring up
12892           preferences tab instead
12893
12894 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12895
12896         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12897         the istringstream constructor
12898
12899 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12900
12901         * paragraph.C (getLayout): fix return value
12902
12903         * paragraph.h: do not declare getLayout as inline.
12904
12905         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12906
12907 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12908
12909         * lyxcursor.h (operator<): new func
12910         (operator>): new func
12911         (operator>=): new func
12912         (operator<=): new func
12913
12914         * text.C (changeCase): use selection.start and selection.end
12915         (changeRegionCase): require from to be <= to. Require par to be a
12916         valid paragraph.
12917
12918         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12919
12920 2001-06-27  Juergen Vigna  <jug@sad.it>
12921
12922         * text.C (cursorLeftOneWord): changed to return the cursor and added
12923         overlay with BufferView * parameter which calls this one.
12924         (getWord): added
12925         (selectWord): use new getWord function.
12926         (changeCase): renamed from changeWordCase as and extended to work
12927         also on selections.
12928
12929         * lyxtext.h: added enum word_location
12930
12931         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12932         changeCase as this operates now also on selections.
12933
12934 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
12935
12936         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12937
12938         * many files: send debug output to Debug::INFO instead of
12939         Debug::ANY.
12940
12941         * converter.C (View):
12942         (Convert):
12943         (Move): send debug output to Debug::FILES instead of console.
12944
12945 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
12946
12947         * lyxfunc.C (getStatus): use func_status
12948
12949         * func_status.h: new header, describing the results of
12950         LyXFunc::getStatus;
12951
12952         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12953         LFUN_MATH_HALIGN.
12954
12955 2001-06-25  The LyX Project  <jug@sad.it>
12956
12957         * buffer.C (sgmlOpenTag):
12958         (sgmlCloseTag):
12959         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
12960
12961 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12962
12963         * text2.C: remove some dead code
12964
12965         * tabular.C (GetCellInset): store the last cell checked (gotten)
12966
12967         * tabular.h: add the helper for the speedup
12968
12969         * lyxtext.h: remove some dead code
12970
12971 2001-06-26  The LyX Project  <Asger>
12972
12973         * paragraph.C: Change export to LaTeX of alignment to
12974         \begin{center} and family for better roundtrip work with reLyX.
12975
12976         * Tune the math drawing a bit.
12977
12978 2001-06-25  The LyX Project  <Asger>
12979
12980         * LColor.C (LColor): New color for math background. New color
12981         for buttons.
12982
12983 2001-06-25  The LyX Project  <jug@sad.it>
12984
12985         * lyxfunc.C (MenuNew): remove extra check for .lyx file
12986
12987         * lyxfunc.C (Open):
12988         * bufferlist.C (newFile): do not restrict to files ending with
12989         .lyx
12990
12991         * BufferView_pimpl.C (MenuInsertLyXFile):
12992
12993 2001-06-24  The LyX Project  <jug@sad.it>
12994
12995         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12996         of compare_no_case
12997
12998 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12999
13000         * lyxtext.h: rename most methods to begin with a small char.
13001         Lots of changes because of this.
13002
13003         * paragraph.C (Paragraph): do not call fitToSize
13004         (erase): call Pimpl::erase
13005         (insertChar): call Pimpl::insertChar
13006         (insertInset): call Pipl::insertInset
13007         (breakParagraph): do not call fitToSize
13008         (breakParagraphConservative): do not call fitToSize
13009         (fitToSize): remove method
13010
13011         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13012
13013 2001-06-24  The LyX Project  <Asger>
13014
13015         * Fix Qt compilation^2
13016
13017 2001-06-24  The LyX Project  <jug@sad.it>
13018
13019         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13020         depthHook(getDepth()-1).
13021
13022         * paragraph.h:
13023         * ParagraphParameters.h:
13024         * ParameterStruct.h: change type of depth to unsigned int ==
13025         depth_type. Many adaptations to other files before of that.
13026
13027 2001-06-24  The LyX Project  <Asger>
13028
13029         * Fix Qt compilation.
13030
13031 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13032
13033         * paragraph.h: renamed several methods to begin with small letter.
13034         several changes to many parts of the code because of this.
13035
13036 2001-06-23  The LyX Project  <jug@sad.it>
13037
13038         * text2.C (InsertStringAsLines): renamed from InsertStringA;
13039         rewritten to discard all double spaces when KeepEmpty is off
13040         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13041         to only handle newlines but not fiddle with spaces and friends.
13042
13043         * lyxfunc.C (MenuNew): when doing 'new from template', use
13044         template_path as default directory
13045
13046 2001-06-23  The LyX Project  <Asger>
13047
13048         * Clean-up of header file includes all over
13049         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13050
13051 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13052
13053         * paragraph.h: renamed from lyxparagraph.h
13054
13055 2001-06-23  Asger  <lyx@violet.home.sad.it>
13056
13057         * Buffer.h: Removed Buffer::resize
13058         * BufferList.h: Removed BufferList::resize
13059         * LyXView.h: Added LyXView::resize. This way, we will only reflow
13060         the document lazily when we change the width, or the font settings.
13061
13062 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13063
13064         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13065
13066 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13067
13068         * buffer.h: remove out of date comment
13069
13070 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13071
13072         * lyxscreen.h:
13073         * screen.C: fix "theoretical" GC leak
13074
13075 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13076
13077         * LaTeX.C (scanAuxFile):
13078         (deplog): remove trailing \r when reading stream (useful under
13079         win32)
13080
13081 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
13082
13083         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13084         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13085         and BufferView::theLockingInset(Inset*), so should use them and not
13086         access bv_->text->the_locking_inset directly.
13087
13088         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13089
13090 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13091
13092         * Makefile.am:
13093         * tex-defs.h: remove old unused file
13094
13095 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
13096
13097         * BufferView_pimpl.C: fix typo, remove minibuffer message
13098           when buffer has loaded
13099
13100 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13101
13102         * lyxfunc.C (Dispatch): use stringstream
13103         (MenuNew): use stringstream
13104         (Open): use stringstream
13105
13106         * importer.C (Import): use stringstream
13107
13108         * bufferview_funcs.C (CurrentState): use stringstream
13109
13110         * LaTeX.C (run): use stringstream
13111
13112         * BufferView_pimpl.C (savePosition): use stringstream
13113         (restorePosition): use stringstream
13114         (MenuInsertLyXFile): use stringstream
13115
13116 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
13117
13118         * BufferView.C:
13119         * Bullet.C:
13120         * ColorHandler.C:
13121         * FontInfo.C:
13122         * FontLoader.C:
13123         * LColor.C:
13124         * LaTeXFeatures.C:
13125         * Painter.C:
13126         * gettext.C:
13127         * lyx_gui_misc.C:
13128         * lyxserver.C:
13129         * vspace.C: removed // -*- C++ -*- as first line.
13130
13131         * lyxfind.h:
13132         * version.h: added // -*- C++ -*- as first line.
13133
13134 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13135
13136         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13137
13138         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13139         of string
13140
13141 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13142
13143         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13144         of floats.
13145
13146 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13147
13148         * gettext.C: include LString.h even when --disable-nls is on.
13149
13150 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
13151
13152         * converter.h (Get): changed argument type from int to
13153         FormatList::size_type to avoid unnecessary conversion.
13154
13155         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13156         before using it.
13157
13158 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13159
13160         * gettext.h: include LString.h even when --disable-nls is on.
13161
13162 2001-06-07  Juergen Vigna  <jug@sad.it>
13163
13164         * text.C (BreakAgain): subst spaces with tabs.
13165
13166         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13167         (resizeInsetsLyXText): set force on resizeLyXText.
13168
13169 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13170
13171         * gettext.h (gettext_init):
13172         (locale_init): use a real definition instead of a macro
13173
13174 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13175
13176         * Bufferview_pimpl.C:
13177         * LColor.h:
13178         * LColor.C: further lcolor tidies
13179
13180 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13181
13182         * BufferView_pimpl.C (updateScrollbar): simplify.
13183
13184         * BufferView2.C: don't include insets/insetinfo.h, change
13185         prototype for insertInset and call the Pimpl version. let
13186         updateInset call Pimpl version.
13187
13188         * BufferView.h: move inset_slept to BufferView::Pimpl, move
13189         gotoInset to BufferView::Pimpl
13190
13191 2001-06-01  Juergen Vigna  <jug@sad.it>
13192
13193         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13194         inside a LockingInset (is the update needed at all?).
13195
13196 2001-05-31  Juergen Vigna  <jug@sad.it>
13197
13198         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13199         here not the old one otherwise how should we compare it afterwards
13200         if it's the same!
13201
13202 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13203
13204         * lyxfont.C:
13205         * tabular.C:
13206         * tabular-old.C:
13207         * FontInfo.C: bring C functions into global namespace when
13208         necessary
13209
13210 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13211
13212         * LString.h: make sure config.h has been loaded before LString.h.
13213
13214         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13215         (one for each char read by EatLine!).
13216
13217         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13218         variables.
13219
13220 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13221
13222         * paragraph.C (BreakParagraph): set the inset_owner in the new par
13223         to the same as the par we break from
13224
13225 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13226
13227         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13228
13229         * MenuBackend.C (expand): also create menu entries for wide
13230         versions of the floats.
13231
13232         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13233
13234         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13235
13236         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13237         frontends/Makefile.am
13238
13239         * text2.C: adjust
13240         * text.C: adjust
13241
13242
13243         * tabular.C (getTokenValue): add std::
13244
13245         * tabular-old.C (getTokenValue): add std::
13246         (getTokenValue): ditto
13247         (getTokenValue): ditto
13248
13249         * screen.C (ToggleSelection): adjust
13250
13251         * lyxtext.h: put selection cursors inside a Selection struct.
13252
13253         * lyxfunc.C (moveCursorUpdate): adjust
13254
13255         * lyxfont.C (latexWriteStartChanges): add std::
13256
13257         * lyxfind.C: adjust
13258
13259         * font.h: delete with(char const *, LyXFont const &)
13260
13261         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13262
13263         * FontInfo.C (getFontname): add std::
13264
13265         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13266         (workAreaButtonPress): adjust
13267         (tripleClick): adjust
13268         (update): adjust
13269         (moveCursorUpdate): adjust
13270         (Dispatch): adjust
13271
13272         * BufferView2.C (gotoInset): adjust
13273
13274 2001-05-30  Juergen Vigna  <jug@sad.it>
13275
13276         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13277         to check pspell I add this as default as I now have new pspell
13278         libraries and they seem to use this.
13279
13280 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13281
13282         * text2.C (CutSelection): make the cursor valid before the call to
13283         ClearSelection.
13284
13285 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13286
13287         * kbsequence.C (parse): de-uglify a bit the parsing code, which
13288         relied on 0 terminated strings and other horrors. Bug found due to
13289         the new assert in lyxstring!
13290
13291         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13292         KP_ keys.
13293
13294 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13295
13296         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13297         to latinkeys.bind.
13298
13299         * lyxfunc.C (processKeySym): change method of getting to the
13300         self-insert char.
13301
13302         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13303         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13304         * BufferView_pimpl.[Ch]: here as private methods.
13305
13306 2001-05-28  Juergen Vigna  <jug@sad.it>
13307
13308         * text.C (SetHeightOfRow): added the update() call again as it is
13309         needed to initialize inset dimensions!
13310
13311 2001-05-16  Juergen Vigna  <jug@sad.it>
13312
13313         * text2.C (SetCharFont): Add new function with BufferView * and
13314         bool toggleall parameters for setting insets internal fonts.
13315         (SetFont): Freeze the undo as we may change fonts in Insets and
13316         all this change should be inside only one Undo!
13317
13318         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13319         setting font's in insets as for them we have the SetFont function!
13320
13321 2001-05-15  Juergen Vigna  <jug@sad.it>
13322
13323         * text2.C (ClearSelection): to be sure we REALLY don't have any
13324         selection anymore!
13325
13326         * tabular.C (TeXCellPreamble): fixed the left border problem for
13327         multicolumn cells.
13328
13329 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
13330
13331         * LaTeX.C (deplog): Make sure that the main .tex file is in the
13332         dependancy file
13333
13334 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13335
13336         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13337         LFUN_BREAKPARAGRAPH.
13338
13339         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13340         help test to "internal only", similar for LFUN_INSERT_URL
13341
13342         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13343         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13344         auto_region_delete and deadkeys.
13345
13346 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
13347
13348         * LColor.h:
13349         * LColor.C: remove some dead entries, tidy a little
13350
13351 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13352
13353         * lyxfunc.C (processKeySym): comment the Escape handling, remove
13354         commented code.
13355         (Dispatch): implement LFUN_ESCAPE
13356
13357         * commandtags.h: add LFUN_ESCAPE
13358
13359         * LyXAction.C (init): add entry for LFUN_ESCAPE
13360
13361         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13362         Remove commented code.
13363         (insertNote): moved here
13364         (open_new_inset): moved here
13365
13366         * BufferView[2].[Ch]: move insertNote and open_new_inset to
13367         BufferView_pimpl
13368
13369 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13370
13371         * kbmap.C (findbinding): clean it up and make it work correctly.
13372
13373         * lyx_main.C (init): do not pass argc and argv as parameters
13374
13375 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
13376
13377         * buffer.C: fix path for OS/2 & Win32
13378
13379         * lyx_gui.C:
13380         * lyx_main:
13381         * lyx_main.C: Added os:: class.
13382
13383         * os2_defines.h: update
13384
13385 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13386
13387         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13388         better by trying again with reduced state.
13389
13390 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13391
13392         * lyxrc.C (read): print error about invalid key sequence only when
13393         debugging (because not all latinX keysyms are known to some X
13394         servers)
13395
13396         * kbsequence.C (getiso): add a few std:: qualifiers
13397         (getiso): comment out extra return statement.
13398
13399 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13400
13401         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13402         handling.
13403         (Dispatch): enhance the accent inset a bit. (not perfect)
13404
13405 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13406
13407         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13408
13409 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13410
13411         * bufferlist.C (emergencyWrite): fix assert() call
13412
13413 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
13414
13415         * text.C (InsertChar): Added trivial patch to only send the "you
13416         can not do multiple spaces this way" message once during a
13417         session.
13418
13419 2001-05-08  Baruch Even  <baruch@lyx.org>
13420
13421         * Makefile.am: Changed order of libraries to get LyX to link properly
13422         with the gnome frontend.
13423
13424 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13425
13426         * LaTeXFeatures.h: add a std:: qualifier
13427
13428 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13429
13430         * paragraph.C (String): use stringstream
13431
13432 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13433
13434         * paragraph.C (writeFile): remove footflag arg
13435
13436         * buffer.C (makeLaTeXFile): use stringstream
13437         (latexParagraphs): remove footnot gurba
13438
13439         * LaTeXFeatures.C (getPackages): use stringstream
13440         (getMacros): likewise
13441         (getTClassPreamble): likewise
13442         (getFloatDefinitions): new method
13443
13444         * paragraph.C (writeFile): reindent
13445         (Erase): reindent
13446
13447         * WorkArea.h: revert the xpos + etc changes.
13448
13449         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13450
13451         * lyxparagraph.[Ch]: add copy constructor, remove Clone
13452
13453         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13454         (pasteSelection): likewise
13455         * text2.C (CreateUndo): likewise
13456
13457 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13458
13459         * minibuffer.C (peek_event): temporarily reduce the functionality
13460         of the minibuffer (to allow args on lfuns)
13461
13462         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13463         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13464
13465         * buffer.C (readInset): add compability reading of old float
13466         lists, add reading of new style float list.
13467         (readInset): avoid reevaluation of inscmd.getCmdName()
13468         (getLists): reindent
13469
13470         * MenuBackend.C (MenuItem): implement parsing of
13471         md_floatlistinsert and md_floatinsert.
13472         (expand::LastFiles): move initalizaton of iterators out of loop,
13473         avoid reevaluation.
13474         (expand::Documents): introduce typdedef vector<string> Strings,
13475         and use it.
13476         (expand::ExportFormats): introduce typedef vector<Format const *>
13477         Formats, and use it.
13478         (expand): implement FloatListInsert and FloatInsert.
13479
13480         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13481         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13482         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13483
13484         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13485         handling.
13486         (Dispatch::LFUN_FLOAT_LIST): implement
13487
13488 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13489
13490         * LaTeX.C (run): Fix problem with --export code.
13491
13492 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13493
13494         * BufferView.[Ch] (workarea): removed.
13495         (getClipboard) new method; wrapper for workarea()->getClipboard()
13496
13497         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13498         bug.
13499
13500         * WorkArea.h (width, height, xpos, ypos): These methods all
13501         returned the dimensions of the work_area sub-area of WorkArea,
13502         resulting in a position error if the WorkArea were resized. Now
13503         return the dimensions of the entire WorkArea.
13504
13505         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13506
13507 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13508
13509         * LaTeX.C (deplog): correct the syntax of regex reg1
13510
13511 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13512
13513         * undo.C: remove !NEW_INSETS cruft
13514
13515 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13516
13517         * text2.C: remove !NEW_INSETS cruft
13518
13519         * text.C: remove !NEW_INSETS cruft
13520
13521         * tabular.C: remove !NEW_INSETS cruft
13522
13523         * spellchecker.C: remove !NEW_INSETS cruft
13524
13525         * lyxtext.h: remove !NEW_INSETS cruft
13526
13527         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13528
13529         * lyxfunc.C: remove !NEW_INSETS cruft
13530
13531         * lyxfind.C: remove !NEW_INSETS cruft
13532
13533         * lyx_cb.C: remove !NEW_INSETS cruft
13534
13535         * figureForm.C: remove  !NEW_INSETS cruft
13536
13537         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13538
13539         * buffer.[Ch]: remove !NEW_INSETS cruft
13540
13541         * ToolbarDefaults.C: remove !NEW_INSETS cruft
13542
13543         * CutAndPaste.C: remove !NEW_INSETS cruft
13544
13545         * BufferView_pimpl.C: remove !NEW_INSETS cruft
13546
13547         * BufferView2.C: remove !NEW_INSETS cruft
13548
13549         * BufferView.h: remove !NEW_INSETS cruft
13550
13551 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13552
13553         * Lsstream.h: include LString.h before the sstream headers to
13554         fix problem with gcc 2.95.3 and lyxstring
13555
13556 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13557
13558         * lyx_main.C: add using directives when needed for C functions
13559         declared in std:: namespace.
13560
13561 2001-04-27  Juergen Vigna  <jug@sad.it>
13562
13563         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13564         (SetHeightOfRow): comment out the update call should not be needed!
13565
13566 2001-04-13  Juergen Vigna  <jug@sad.it>
13567
13568         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13569         (LyXTabular): tried to minimize operator= operations (and realized
13570         hopfully Lars wish).
13571
13572 2001-04-27  Juergen Vigna  <jug@sad.it>
13573
13574         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13575
13576 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13577
13578         * lyxfunc.C (Dispatch): hack to make listof algorithm work
13579
13580         * buffer.C (readInset): hack to make listof algorithm work
13581
13582         * BufferView_pimpl.C: hack to make listof algorithm work
13583
13584 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13585
13586         * LyXAction.C: removed all !NEW_INSETS cruft
13587         (init): moved lfun_item in method
13588
13589         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13590
13591 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13592
13593         * BufferView2.C (theLockingInset): white space.
13594
13595 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13596
13597         * minibuffer.C: include <iostream>
13598
13599         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13600
13601         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13602
13603         * commandtags.h: add LFUN_TRANSPOSE_CHARS
13604
13605         * text.[Ch] (TransposeChars): new method
13606
13607 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13608
13609         * call message directly through LyXView instead of through LyXFunc
13610         * BufferView2.C: adjust
13611         * BufferView_pimpl.C: adjust
13612         * FontLoader.C: adjust
13613         * buffer.C: adjust
13614         * bufferview_funcs.C: adjust
13615         * converter.C: adjust
13616         * figureForm.C: adjust
13617         * importer.C: adjust
13618         * lyx_cb.C: adjust
13619         * lyx_gui_misc.C: adjust
13620         * lyxfunc.C: adjust
13621         * lyxvc.C: adjust
13622         * text2.C: adjust
13623         + more files in subdirs
13624
13625         * lyxparagraph.h (size): move up int file
13626         (GetLayout): ditto
13627
13628         * adjust all uses of Assert to lyx::Assert.
13629
13630         * BufferView2.C (ChangeCitationsIfUnique): adjust for
13631         lyxfunctional in namespace lyx
13632         * layout.C (hasLayout): ditto
13633         (GetLayout): ditto
13634         (GetLayout): ditto
13635         (delete_layout): ditto
13636         (NumberOfClass): ditto
13637         * converter.C (GetFormat): ditto
13638         (GetNumber): ditto
13639         (Add): ditto
13640         (Delete): ditto
13641         (SetViewer): ditto
13642         * bufferlist.C (getFileNames): ditto
13643         (emergencyWriteAll): ditto
13644         (exists): ditto
13645         (getBuffer): ditto
13646         * MenuBackend.C (hasSubmenu): ditto
13647         (hasMenu): ditto
13648         (getMenu): ditto
13649         * BufferView_pimpl.C (getInsetByCode): ditto
13650
13651 2001-04-18  Juergen Vigna  <jug@sad.it>
13652
13653         * vspace.C (asLatexString): fixed the 100% problem.
13654
13655 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13656
13657         * lyxfunc.C (Dispatch):
13658         * minibuffer.C:
13659         * minibuffer.h: add a few std:: qualifiers
13660
13661 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13662
13663         * minibuffer.[Ch]: reimplement so that commands is initiated and
13664         run from lyxfunc, simplified som handling, and made the completion
13665         and history code for complete. wip.
13666
13667         * lyxfunc.C (processKeySym): call message
13668         (miniDispatch): new temporary method
13669         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13670         (LFUN_MESSAGE): implement
13671         (LFUN_MESSAGE_PUSH): implement
13672         (LFUN_MESSAGE_POP): implement
13673         (initMiniBuffer): the initial/defualt minibuffer message.
13674
13675         * lyxfont.[Ch]: inline some more getters
13676
13677         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13678
13679         * lyx_gui_misc.[Ch] (WriteStatus): remove method
13680
13681         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13682         (AutoSave): use LFUN_MESSAGE
13683         (Reconfigure): ditto
13684
13685         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13686
13687         * figureForm.C: use LFUN_MESSAGE
13688
13689         * converter.C (runLaTeX): use LFUN_MESSAGE
13690
13691         * bufferview_funcs.C: use LFUN_MESSAGE
13692         (Melt): ditto
13693         (changeDepth): ditto
13694
13695         * bufferparams.h: use boost::
13696
13697         * bufferlist.h: inherit privately from noncopyable
13698
13699         * bufferlist.C (loadLyXFile): remove some commented code.
13700
13701         * buffer.C (runChktex): use LFUN_MESSAGE
13702
13703         * ShareContainer.h: inherit privately from noncopyable
13704
13705         * ParagraphParameters.[hC] (depth): inline it.
13706
13707         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13708         methods.
13709         (message): new method
13710         (messagePush): ditto
13711         (messagePop): ditto
13712         (show): init minibuffer
13713         (showState): direct call
13714
13715         * LaTeX.[Ch]: inherit privately from noncopyable
13716         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13717         instead of WriteStatus.
13718
13719         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13720
13721         * BufferView_pimpl.C (buffer): don't init minibuffer
13722         (workAreaButtonPress): use LFUN_MESSAGE
13723         (workAreaButtonRelease): ditto
13724         (savePosition): ditto
13725         (restorePosition): ditto
13726         (MenuInsertLyXFile): ditto
13727         (workAreaExpose): don't init minibuffer
13728         (update): remove commented code, simplify
13729
13730         * BufferView2.C (openStuff): use LFUN_MESSAGE
13731         (toggleFloat): ditto
13732         (menuUndo): ditto
13733         (menuRedo): ditto
13734         (copyEnvironment): ditto
13735         (pasteEnvironment): ditto
13736         (copy): ditto
13737         (cut): ditto
13738         (paste): ditto
13739         (gotoInset): ditto
13740         (updateInset): remove some commented code
13741
13742         * lastfiles.h: inherit privately from noncopyable
13743         * layout.h: ditto
13744         * lyx_gui.h: ditto
13745         * lyx_main.h: ditto
13746         * lyxlex.h: ditto
13747         * lyxlex_pimpl.h: ditto
13748
13749         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13750         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13751         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13752
13753         * LyXAction.h: inherit privately from noncopyable, add methods
13754         func_begin, func_end, returning iterators to the func map.
13755
13756         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13757         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13758         (func_begin): new method
13759         (func_end): new method
13760
13761         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13762         and not)
13763         (copySelection): ditto
13764         (pasteSelection): ditto
13765
13766         * BufferView.C: whitespace change
13767         * BufferView.h: inherit privately from noncopyable
13768
13769 2001-04-16  Allan Rae  <rae@lyx.org>
13770
13771         * tabular-old.C (l_getline):
13772         * spellchecker.C (sc_check_word):
13773         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13774         an unrecognised preprocessor directive.  So ensure they're wrapped.
13775
13776 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13777
13778         * src/exporter.C (Export): Give an error message when path to file
13779         contains spaces.
13780
13781 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13782
13783         * LaTeX.C (deplog): Always check that foundfile exists.
13784
13785 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13786
13787         * lyx_main.h:
13788         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13789
13790 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13791
13792         * tabular.[Ch] (getLabelList): implement new method
13793
13794         * minibuffer.h: comment ouf setTiimer
13795
13796         * minibuffer.C (ExecutingCB): constify res
13797         (peek_event): constify s
13798         (Set): constify ntext
13799         (Init): constify nicename
13800
13801         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13802
13803         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13804         (savePosition): use two params to Minibuffer::Set
13805         (restorePosition): ditto
13806
13807 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13808
13809         * lyx_main.C: include language.h
13810
13811         * Makefile.am (lyx_main.o): add language.h
13812
13813 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13814
13815         * exporter.C:
13816         * paragraph.C:
13817         * screen.C:
13818         * tabular.C:
13819         * CutAndPaste.C: include gettext.h
13820
13821         * lyxfont.h: remove old hack with ON and OFF.
13822
13823         * lyxparagraph.h:
13824         * lyxfont.h: do not include language.h...
13825
13826         * BufferView2.C:
13827         * LaTeXFeatures.C:
13828         * Painter.C:
13829         * bufferview_funcs.C:
13830         * font.C:
13831         * lyxfont.C:
13832         * text.C:
13833         * text2.C:
13834         * trans_mgr.C:
13835         * paragraph.C: ... but do it here instead
13836
13837 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13838
13839         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13840
13841         * tabular.C: small reformat
13842
13843         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13844         NEW_INSETS version
13845         (GetChar): ditto
13846         (BreakParagraph): ditto
13847         (SetOnlyLayout): ditto
13848         (SetLayout): ditto
13849
13850         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13851         with one arg less.
13852
13853         * lastfiles.C: removed most using decl, add std:: where needed
13854
13855         * buffer.C: ws changes
13856
13857         * MenuBackend.C (class compare_format): put into anon namespace
13858         (expand): constify label, names, action, action2
13859         (expand):
13860
13861         * text.C (SingleWidth): constify font
13862         (IsBoundary): constify rtl2
13863         (GetVisibleRow): constify ww
13864
13865         * LaTeX.C (deplog): constify logfile
13866
13867         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13868         start_x, end_x
13869         (workAreaExpose): constify widthChange, heightChange
13870
13871         * lyxrow.C (par): moved
13872         (height): moved
13873         (next): moved
13874         * lyxrow.h: as inlines here
13875
13876         * lyxfont.h (shape): moved from lyxfont.C
13877         (emph): moved from lyxfont.C
13878
13879         * lyxfont.C (LyXFont): use initialization list for all
13880         constructors
13881         (shape): move to lyxfont.h as inline
13882         (emph): move to lyxfont.h as inline
13883
13884
13885 2001-04-04  Juergen Vigna  <jug@sad.it>
13886
13887         * vspace.C: had to include stdio.h for use of sscanf
13888
13889 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
13890
13891         * BufferView.h:
13892         * BufferView_pimpl.h: remove xforms cruft. Both classes are
13893         independent of xforms.
13894
13895 2001-04-02  Juergen Vigna  <jug@sad.it>
13896
13897         * spellchecker.C: fixed namespace placing!
13898
13899 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
13900
13901         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13902         the LyXParagraph * is 0.
13903
13904 2001-03-29  Juergen Vigna  <jug@sad.it>
13905
13906         * vspace.C: added support for %, c%, p%, l%.
13907         (stringFromUnit): added helper function.
13908         (asLatexString): changed to give right results for the %-values.
13909
13910         * buffer.C: convert the widthp in a width%.
13911
13912 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
13913
13914         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13915         figureForm.[Ch].
13916
13917         * figureForm.[Ch]: stripped the FD_from_figure manipulation
13918         code out of lux_cb.[Ch], ready for its (imminent?) removal.
13919
13920         * lyx_cb.[Ch]: see above.
13921
13922         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13923         form1.[Ch].
13924
13925         * form1.[Ch]:
13926         * lyx.[Ch]: replaced by figure_form.[Ch].
13927
13928         * lyx_gui.C:
13929         * lyx_gui_misc.C:
13930         * lyxfunc.C: changed headers associated with above changes.
13931
13932 2001-03-27  Juergen Vigna  <jug@sad.it>
13933
13934         * BufferView_pimpl.C: set the temporary cursor right!
13935
13936 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
13937
13938         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13939
13940 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
13941
13942         * LString.h: removed "using std::getline"!
13943
13944         * BufferView_pimpl.C (Dispatch): changes due to changes in
13945         InsetInclude::Params.
13946
13947         * buffer.C (tag_name): removed redundant break statements as they were
13948         producing lots of warnings with my compiler.
13949
13950 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13951
13952         * LString.h: add "using std::getline" when using the real <string>.
13953
13954 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
13955
13956         * buffer.C: removed bitset usage.
13957         PAR_TAG moved to an anonymous name space.
13958         (tag_name): new funtion, also in the anonymous namespace.
13959         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13960         (makeDocBookFile): clean code. Completed transition from string arrays
13961         to string vectors.
13962         (SimpleDocBookOnePar): code clean.
13963
13964 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13965
13966         * tabular.C: add some comments.
13967
13968 2001-03-22  Juergen Vigna  <jug@sad.it>
13969
13970         * buffer.C (parseSingleLyXformat2Token): redone the minipage
13971         compatibility read a bit and fixed bug with minipage in different
13972         depth.
13973
13974 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
13975
13976         * buffer.C (pop_tag): removed.
13977         (push_tag): removed.
13978         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13979         array replaced with vector. Added support for CDATA sections.
13980         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13981         at any nest level.
13982         (makeDocBookFile): XML conformant declaration of CDATA section,
13983         fixed bug related to <emphasis> in the first paragraph char.
13984         (sgmlOpenTag): exclude empty tags.
13985         (sgmlCloseTag): ditto.
13986
13987         * buffer.h (pop_tag): removed.
13988         (push_tag): removed.
13989
13990 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
13991
13992         * language.h (Languages): added size_type and size().
13993
13994 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13995
13996         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13997         response on compability reading of minipages. One probliem is that
13998         the old usage of minipages was «flertydig»
13999
14000         * several files here and in subdirs: don't use static at file
14001         scope use anon namespaces instead.
14002
14003 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
14004
14005         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14006         LaTeX output. This is necessary for Literate document
14007         processing.
14008
14009 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14010
14011         * buffer.C: insert hfill when needed.
14012
14013         * tabular.C (l_getline): use string::erase, small whitespace change.
14014
14015         * BufferView_pimpl.C: try the anon namespace.
14016         * WorkArea.C: ditto
14017
14018 2001-03-16  Juergen Vigna  <jug@sad.it>
14019
14020         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14021         otherwise it won't open options-dialogs.
14022
14023         * buffer.C: honor pextraWidth(p) on converting minipages.
14024
14025         * tabular.C (l_getline): changed the functions to strip trailing \r.
14026
14027 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
14028
14029         * BufferView_pimpl.C:
14030         * minibuffer..C: added "using SigC::slot" declaration.
14031
14032 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14033
14034         * lyxlex_pimpl.h: noncopyable is in namespace boost.
14035
14036         * text2.C: ditto
14037
14038         * text.C: ditto
14039
14040         * paragraph.C: ditto
14041
14042         * lyxtext.h: NO_PEXTRA
14043
14044         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14045
14046         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14047         * ParameterStruct.h: ditto
14048         * ParagraphParameters.h: ditto
14049         * lyxparagraph.h: ditto
14050
14051 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14052
14053         * buffer.C: add compability for minipage alignment.
14054         (latexParagraphs): remove unwanted pextra check.
14055
14056         * several files: remove CXX_WORKING_NAMESPACES
14057
14058         * buffer.C (pop_tag): tie is in namespace boost
14059
14060         * BufferView.h: noncopyable is in namespace boost
14061         * lyxlex.h: ditto
14062         * lyx_main.h: ditto
14063         * lyx_gui.h: ditto
14064         * layout.h: ditto
14065         * lastfiles.h: ditto
14066         * bufferlist.h: ditto
14067         * ShareContainer.h: ditto
14068         * LyXView.h: ditto
14069         * LyXAction.h: ditto
14070         * LaTeX.h: ditto
14071
14072 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14073
14074         * Merging changes from BRANCH_MVC back into HEAD.
14075
14076         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14077
14078 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
14079
14080         * BufferView_pimpl.C: change from intl.C
14081
14082         * combox.h:
14083         * combox.C:
14084         * Makefile.am: move combox.*
14085
14086         * form1.h:
14087         * form1.C:
14088         * lyx_gui.C:
14089         * intl.h:
14090         * intl.C: remove dialog (covered by prefs)
14091
14092 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14093
14094         * lyxfunc.C (Dispatch): removed redundant break statement.
14095
14096 2001-03-14  Juergen Vigna  <jug@sad.it>
14097
14098         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14099
14100 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14101
14102         * buffer.C: add hack to fix compability reading of minipages.
14103
14104 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
14105
14106         * buffer.C (getLists): Cleanup.
14107
14108 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14109
14110         * lyxfont.C (update): don't honor toggleall on font size.
14111
14112 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
14113
14114         * bmtable.c:
14115         * bmtable.h:
14116         * Makefile.am: moved to frontends/xforms/
14117
14118         * lyx_gui_misc.C:
14119         * lyxfunc.C:
14120         * BufferView_pimpl.C: changes for moved mathpanel
14121
14122 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14123
14124         * gettext.h: fix gettext_init() in --disable-nls
14125
14126 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14127
14128         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14129
14130 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
14131
14132         * lyx.C:
14133         * lyx.h: strip external form
14134
14135 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14136
14137         * BufferView_pimpl.C: add comment, destroySplash()
14138
14139 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14140
14141         * BufferView_pimpl.C:
14142         * LyXAction.C:
14143         * buffer.C:
14144         * commandtags.h:
14145         * lyxfunc.C: use re-worked insetinclude
14146
14147 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14148
14149         * buffer.C: add using std::stringstream.
14150
14151         * lyx_cb.C: readd using std::ios.
14152
14153         * buffer.C: add using std::map.
14154
14155         * BufferView_pimpl.C: add using std::vector.
14156
14157         * ShareContainer.h: add std:: to swap.
14158
14159         * buffer.h: add some typedefs
14160         * buffer.C (getLists): use them
14161         (getLists): renamed from getTocList.
14162         add a counter for the different float types and use it in the
14163         generated string.
14164         (getLists): use the same counter for the NEW_INSETS and the "non"
14165         NEW_INSETS
14166
14167         * lyx_cb.h: remove unused items, includes, using etc.
14168
14169         * ShareContainer.h: remove some commented code, add more comments
14170         and "documentation".
14171
14172 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14173
14174         * buffer.C (getTocList): make the list also when NEW_INSETS is
14175         defined.
14176
14177         * buffer.h: remove TocType
14178
14179         * buffer.C (getTocList): change to return a map<string,
14180         vector<TocItem> >, implement for dynamic number of list.
14181
14182         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14183         * text2.C (PasteSelection): adjust
14184         * CutAndPaste.C (pasteSelection): adjust
14185
14186         * FloatList.C (FloatList): update from the new_insets branch.
14187         * Floating.[Ch]: ditto
14188         * LaTeXFeatures.C: ditto
14189         * buffer.C: ditto
14190         * lyxlex_pimpl.C: ditto
14191
14192         * paragraph.C (Last): remove when NEW_INSETS is defined.
14193
14194         * other file: changes because of the above.
14195
14196 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14197
14198         * lyxparagraph.h: rename next to next_, previous to previous_,
14199         make them private for NEW_INSETS. Rename Next() to next(),
14200         Previous() to previous().
14201
14202         * other files: changes because of the above.
14203
14204 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
14205
14206         * BufferView.h:
14207         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14208         problem.
14209
14210 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14211
14212         * main.C (main): pass lyx_localedir to gettext_init().
14213
14214         * gettext.h: remove locale_init and gettext_init macros
14215
14216         * gettext.C (locale_init): new function
14217         (gettext_init): new function
14218
14219         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14220         setlocale().
14221
14222 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
14223
14224         * Moved credits to frontends:
14225         * credits.[Ch]: removed
14226         * credits_form.[Ch]: removed
14227         * lyx_gui_misc.C: remove credits stuff
14228         * Makefile.am:
14229
14230 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14231
14232         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14233
14234         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14235         unneeded destructor.
14236
14237         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14238         a standalone pointer again.
14239
14240         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14241
14242 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
14243
14244         * Makefile.am:
14245         * filedlg.h:
14246         * filedlg.C:
14247         * LyXAction.C:
14248         * ToolbarDefaults.C:
14249         * bufferlist.C:
14250         * commandtags.h:
14251         * form1.C:
14252         * form1.h:
14253         * lyx_cb.C:
14254         * lyx_cb.h:
14255         * lyxfunc.h:
14256         * lyxfunc.C:
14257         * BufferView_pimpl.C: use new file dialog in GUII
14258
14259         * lyx_cb.h:
14260         * lyx_cb.C: remove LayoutsCB to Toolbar
14261
14262 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14263
14264         * ShareContainer.h (get): add std:: qualifier
14265
14266 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14267
14268         * ShareContainer.h: define a proper ShareContainer::value_type
14269         type (and use typename to please compaq cxx)
14270
14271 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14272
14273         * lyxparagraph.h: move serveral local vars to
14274         ParameterStruct/ParagraphParameters., use ShareContainer in
14275         FontTable., make vars in FontTable private and add getter and
14276         setter.
14277
14278         * paragraph.C: changes because of the above.
14279
14280         * lyxfont.h: remove copy constructor and copy assignment. (the
14281         default ones is ok), move number inside FontBits. move inlines to
14282         lyxfont.C
14283
14284         * lyxfont.C: add number to initializaton of statics, move several
14285         inlines here. constify several local vars. some whitespace
14286         cleanup. Dont hide outerscope variables.
14287
14288         * Spacing.h: add two new constructors to match the set methods.
14289
14290         * ShareContainer.h: new file, will perhaps be moved to support
14291
14292         * ParameterStruct.h: new file
14293
14294         * ParagraphParameters.h: new file
14295
14296         * ParagraphParameters.C: new file
14297
14298         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14299         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14300
14301         * BufferView_pimpl.C: ParagraphParameter changes.
14302         * buffer.C: Likewise.
14303         * bufferview_funcs.C: Likewise.
14304         * text.C: Likewise.
14305         * text2.C: Likewise.
14306
14307 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14308
14309         * lyxfind.C (LyXReplace): do not redefine default argument in
14310         implementation.
14311         (IsStringInText): ditto
14312         (SearchForward): ditto
14313         (SearchBackward): ditto
14314
14315 2001-03-06  Juergen Vigna  <jug@sad.it>
14316
14317         * lyxfind.C (IsStringInText): put parentes around expressions.
14318
14319 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
14320
14321         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14322
14323 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
14324
14325         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14326
14327         * stl_string_fwd.h: add comment
14328
14329         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14330
14331         * tabular.h:
14332         * tabular.C: remove unused DocBook methods
14333
14334         * intl.C:
14335         * language.C:
14336         * paragraph.C:
14337         * buffer.C:
14338         killed DO_USE_DEFAULT_LANGUAGE
14339
14340 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14341
14342         * lyx_gui.C: do not include language.h.
14343
14344         * bufferview_funcs.C (ToggleAndShow): do not provide optional
14345         arguments in function implementation.
14346
14347 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14348
14349         * BufferView_pimpl.C: add <ctime>
14350
14351 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14352
14353         * BufferView_pimpl.C: add using std::find_if
14354
14355 2001-02-27  José Matos  <jamatos@fep.up.pt>
14356
14357         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14358         by OnlyPath.
14359
14360 2001-02-11  José Matos  <jamatos@fep.up.pt>
14361
14362         * buffer.C (makeDocBookFile): command styles now have a parameter as
14363         "title" by default.
14364
14365 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
14366
14367         * layout_forms.[Ch]: removed
14368         * lyx_cb.[Ch]: out character
14369         * lyx_gui.C: out character
14370         * lyx_gui_misc.C: out character
14371         * bufferview_funcs.C: : out character,
14372         added toggleall as parameter in ToggleAndShow
14373
14374 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
14375
14376         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14377
14378         * text2.C (SetCurrentFont): Disable number property at boundary.
14379
14380 2001-02-26  Juergen Vigna  <jug@sad.it>
14381
14382         * lyxfunc.C (getStatus): added a string argument override function so
14383         that this is correctly called from LyXFunc::Dispatch if it contains a
14384         do_not_use_argument which is used!
14385         (Dispatch): added check for "custom" export and call appropriate func.
14386
14387 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
14388
14389         * lyxrc.C: Add language_command_local, language_use_babel and
14390         language_global_options.
14391
14392         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14393
14394         * buffer.C (makeLaTeXFile): Use language_use_babel and
14395         language_global_options.
14396
14397 2001-02-23  Juergen Vigna  <jug@sad.it>
14398
14399         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14400         which works with LyXText and putted it inside BufferView. Here now we
14401         only call for that part the BufferView::Dispatch() function.
14402
14403         * BufferView.C (Dispatch): added.
14404
14405         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14406         functions which needs to use a LyXText over from LyXFunc.
14407         (MenuInsertLyXFile): added
14408         (getInsetByCode): added
14409         (moveCursorUpdate): added
14410         (static TEXT): added
14411
14412 2001-02-22  Juergen Vigna  <jug@sad.it>
14413
14414         * BufferView_pimpl.C (update): call a status update to see if LyXText
14415         needs it.
14416
14417 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14418
14419         * vc-backend.C (revert): implement for CVS
14420         (getLog): implement for CVS
14421
14422 2001-02-20  Juergen Vigna  <jug@sad.it>
14423
14424         * text2.C (ClearSelection): added BufferView param for inset_owner call
14425
14426         * lyxfunc.C (TEXT): added this function and use it instead of
14427         directly owner->view()-text of getLyXText().
14428
14429 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
14430
14431         * src/layout_forms.C: out preamble
14432         * src/layout_forms.h: out preamble
14433         * src/lyx_cb.C: out preamble
14434         * src/lyx_cb.h: out preamble
14435         * src/lyx_gui.C: out preamble
14436         * src/lyx_gui_misc.C: out preamble
14437         * src/lyxfunc.C: connect with guii preamble
14438
14439 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
14440
14441         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14442
14443 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
14444
14445         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14446         whether to run bibtex.
14447
14448 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
14449
14450         * Makefile.am (lyx_SOURCES): Remove BackStack.h
14451
14452 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14453
14454         * Makefile.am (lyx_SOURCES): removed bibforms.h
14455
14456         * vspace.h: doxygen
14457
14458         * text.C (GetVisibleRow): make several local vars const
14459
14460         * tabular.C: small cleanup.
14461
14462         * lyxserver.C (callback): use compare instead of strncmp
14463
14464         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14465         inlines to after class or to paragraph.C
14466
14467         * lyxfont.h: remove friend operator!=
14468
14469         * converter.h: move friend bool operator< to non friend and after
14470         class def.
14471
14472         * combox.h: small cleanup
14473
14474         * buffer.h: doxygen, remove unused constructor, move inclas inlies
14475         to inlines after class def.
14476
14477         * buffer.C (pop_tag): use string operations instead of strcmp
14478
14479         * bmtable.c: doxygen, small cleanup
14480
14481         * LaTeX.h: remove friend operator==
14482
14483 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
14484
14485         * screen.C:
14486         * lyxrc.[Ch]:
14487         * lyxfunc.C:
14488         * lyxfont.[Ch]:
14489         * lyx_cb.C:
14490         * intl.[Ch]:
14491         * commandtags.h:
14492         * buffer.C:
14493         * WorkArea.[Ch]:
14494         * LyXAction.C:
14495         * BufferView_pimpl.C:
14496         * BufferView.[Ch]: remove cruft
14497
14498 2001-02-14  Juergen Vigna  <jug@sad.it>
14499
14500         * lyxfunc.C: removed #if 0 unused code
14501
14502         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14503
14504         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14505
14506         * text2.C (SetSelection): added a BufferView * parameter
14507
14508 2001-02-13  Juergen Vigna  <jug@sad.it>
14509
14510         * lyxfunc.C (Dispatch): fixed protected blank problem.
14511         * BufferView2.C (protectedBlank): added LyxText * parameter.
14512
14513         * tabular.C (AppendRow): forgot to set row_info of newly added row.
14514         (AppendColumn): same as above for column_info.
14515
14516         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14517         (moveCursorUpdate): use a LyXText param for support of InsetText.
14518
14519         * BufferView_pimpl.C (doubleClick): added support for InsetText.
14520         (tripleClick): ditto
14521
14522         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14523
14524         * BufferView_pimpl.C (update): added LyXText param to honor insets.
14525
14526         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14527
14528         * text2.C (SetSelection): set correct update status if inset_owner
14529         (ToggleFree): ditto
14530
14531 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
14532
14533         * tabular.C: remove some commented code.
14534
14535 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
14536
14537         * BufferView_pimpl.C: call hideSplash()
14538
14539         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14540
14541         * include_form.h:
14542         * bibforms.h: remove
14543
14544         * lyxfunc.C:
14545         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14546           add LFUN_CHILD_CREATE
14547
14548         * counters.h: fix tiny typo
14549
14550         * lyx_cb.C:
14551         * lyx.h:
14552         * lyx_gui.C:
14553         * lyx.C: move splash to frontends/xforms/
14554
14555         * lyx_gui_misc.C: move Include and Bibform to frontends
14556
14557         * lyxvc.h: clarify comment
14558
14559         * vspace.C: tiny housekeeping
14560
14561 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
14562
14563         * text.C (PrepareToPrint): RTL Fix.
14564
14565         * paragraph.C (GetUChar): New method.
14566         (String):  Use GetUChar.
14567
14568         * buffer.C (asciiParagraph): Use GetUChar.
14569
14570 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
14571
14572         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14573
14574 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
14575
14576         * buffer.h:
14577         * buffer.C: rename to getLogName(), handle
14578           build log / latex log nicely
14579
14580 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14581
14582         * MenuBackend.C:
14583         * MenuBackend.h: remove support for reference menuitem type.
14584
14585 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
14586
14587         * BufferView_pimpl.C: housekeeping
14588         * BufferView_pimpl.h:
14589         * LyXView.h:
14590         * Makefile.am:
14591         * Timeout.C:
14592         * Timeout.h:
14593         * minibuffer.h: move Timeout GUI-I
14594
14595 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
14596
14597         * lyxrc.C (read): Update converters data-structures.
14598
14599 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
14600
14601         * LaTeX.h (operator!=): add operator != for Aux_Info
14602
14603 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
14604
14605         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14606
14607         * LaTeXLog.C: deleted, useful code moved to Buffer
14608
14609         * buffer.h:
14610         * buffer.C: new function getLatexLogName()
14611
14612         * lyx_gui_misc.C:
14613         * lyx_gui.C:
14614         * lyxvc.C:
14615         * lyxvc.h:
14616         * lyxfunc.C: use frontends for LaTeX and VC logs
14617
14618 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14619
14620         * LaTeX.h: yet another std:: that Allan forgot.
14621
14622         * Variables.C (set): renamed from isset(), because this clashes
14623         with some HP-UX macros (grr).
14624
14625 2001-02-06  Allan Rae  <rae@lyx.org>
14626
14627         * LaTeX.h: Another bug fix.  Missing std:: this time.
14628
14629 2001-02-04  Allan Rae  <rae@lyx.org>
14630
14631         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14632         floats problem. I've left it commented out because it's not quite
14633         correct.  It should also test that the current object is a table or
14634         figure inset.  But I haven't gotten around to figuring out how to do
14635         that.  I *think* it'll be something like: "table" == inset.type()
14636
14637         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14638         bool.
14639
14640 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
14641
14642         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14643         all the citation/databases/styles in the auxilary file.
14644         (run): Rerun latex if there was a babel language error.
14645
14646 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
14647
14648         * text.C (Backspace): Preserve the font when changing newline char
14649         with a space.
14650         (BreakParagraph): If the cursor is before a space, delete the space.
14651
14652         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14653
14654 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
14655
14656         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14657         new argument (code).
14658         (ChangeCitationsIfUnique): New method.
14659
14660         * paragraph.C (GetPositionOfInset): Handle bibkey.
14661
14662 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14663
14664         * BufferView_pimpl.h: change type of Position::par_pos to
14665         LyXParagraph::size_type.
14666
14667 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
14668
14669         * BufferView_pimpl.C (savePosition, restorePosition): Write
14670         messages to minibuffer.
14671
14672 2001-01-28  José Matos  <jamatos@fep.up.pt>
14673
14674         * buffer.C (makeDocBookFile): adds support for document language.
14675         A silly restriction on the name of LatexCommand types where removed.
14676         Added support for CDATA sections, allows to chars unescaped, used
14677         among others in code, to avoid escape < and >.
14678
14679 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14680
14681         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14682         saved positions instrad of a stack. Furthermore, a position is
14683         stored using paragraph id/paragraph position.
14684
14685         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14686         Remove LFUN_REF_BACK.
14687
14688 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14689
14690         * converter.C (dvipdfm_options): New method.
14691
14692 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14693
14694         * vspace.C (isValidLength): Fix for empty input string.
14695
14696 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14697
14698         * LyXAction.C (init): change description of LFUN_FIGURE to
14699         "Insert Graphics"
14700
14701 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14702
14703         * LaTeX.C: add using directive
14704
14705 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14706
14707         * MenuBackend.C (expand): Fix the sorting of the formats.
14708
14709 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14710
14711         * lyx_main.C: tiny error message fix
14712
14713 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14714
14715         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14716         calling fl_initialize(). This fixes the problem with ',' as
14717         decimal separator in text files.
14718
14719 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14720
14721         * trans.C (process): Fix the keymap bug.
14722
14723 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
14724
14725         * LaTeX.C (scanAuxFiles): New method. Provides support for
14726         multiple bibliographies (when using the bibtopic/bibunits pacakges).
14727         (scanLogFile) Scan for "run BibTeX" messages.
14728
14729         * buffer.C (makeLaTeXFile): Do not load the ae package when using
14730         OT1 font encoding. Also, load the aecompl package if the ae
14731         package is loaded.
14732
14733         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14734
14735 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14736
14737         * texrow.C (increasePos): turn two error messages into debug
14738         messages.
14739
14740 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
14741
14742         * LaTeX.C (scanAux): Handle the \@input macro.
14743         (runBibTeX): Use scanAux().
14744
14745         * language.C (latex_options_): New field.
14746
14747         * LaTeXFeatures.C (getMacros): Add language macros.
14748
14749         * buffer.C (makeLaTeXFile): Small fix.
14750
14751 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14752
14753         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14754
14755         * text2.C: add a using directive.
14756
14757 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14758
14759         * BufferView2.C:
14760         * lyx_gui_misc.h:
14761         * lyxfr1.C:
14762         * lyxfunc.C: kill LyXBell.
14763
14764 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14765
14766         * text.C (IsBoundary): Remove the error message
14767
14768         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14769
14770         * lyxrc.C (setDefaults): Correct initialization value for
14771         font_norm_type.
14772
14773 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14774
14775         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14776         gotoError().
14777
14778         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14779         and GotoNextNote().
14780
14781         * src/LyXAction.C: Added reference-next.
14782
14783         * text.C (InsertChar): Use contains instead of strchr.
14784
14785         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14786
14787 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14788
14789         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14790         alignment commands (when needed).
14791
14792         * text.C (InsertChar): Add ':' to number separator chars.