]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
FontIterator + rowbreaking fix
[lyx.git] / src / ChangeLog
1
2 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3
4         * lyxtext.h: add FontIterator class 
5
6         * text.C (FontIterator, operator*, operator->, operator++): add
7         (rowBreakPoint, setRowWidth): adjust (fixing a
8         rebreaking bug)
9
10 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11
12         * BufferView_pimpl.C (workAreaDispatch): allow also
13         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
14
15 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
16
17         * text.C (rowBreakPoint): fix a bug showing with very large insets
18
19 2004-02-25  André Pönitz  <poenitz@gmx.net>
20
21         * text3.C:
22         * cursor.[Ch]: move some mathed specific code to mathed
23
24 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
25
26         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
27         use_tempdir in preferences
28         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
29         tempfile creation
30         * lyx_main.C: ensure that tempdir is valid
31         * lyxlex.h: correct typo
32         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
33         * paragraph.[Ch] (isMultiLingual): make const
34         * cursor.[Ch] (openable): make const
35
36 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
37
38         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
39
40 2004-02-20  André Pönitz  <poenitz@gmx.net>
41
42         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
43
44         * cursor.[Ch]: prepare for localized getStatus()
45
46         * lyxtext.h:
47         * tabular.C:
48         * text.C:
49         * text2.C:
50         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
51
52 2004-02-20  André Pönitz  <poenitz@gmx.net>
53
54         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
55
56 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
57
58         * text2.C (setCursorFromCoordinates): switch to absolute coords
59         (cursorUp): adjust
60         (cursorDown): adjust
61         * text3.C (dispatch): adjust
62
63 2004-02-16  André Pönitz  <poenitz@gmx.net>
64
65         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
66           insets/ChangeLog)
67
68         * cursor_slice.[Ch]: remove unneeded acessor function
69
70         * lyxtext.h: rename rtl() to isRTL()
71
72         * rowpainter.C:
73         * tabular.C:
74         * text.C:
75         * text2.C:
76         * text3.C: adjust
77
78 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
79
80         * rowpainter.C (paintSelection): coord fix
81
82 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
83
84         * Spacing.C: compile fix
85
86 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
87
88         * cursor.C (dispatch): restore current_ before returning
89
90 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
91
92         * text2.C (cursorUp, cursorDown): fix coords
93         (moveUp): fix crash
94
95 2004-02-12  André Pönitz  <poenitz@gmx.net>
96
97         * lyxtext.h:
98         * text.C:
99         * text2.C:
100         * text3.C: add LCursor & parameter to most cursor movement functions
101           remove usage of LyXText::cursorRow() and cursorPar()
102
103         * cursor.[Ch]: add textRow() needed members
104
105         * BufferView.C:
106         * BufferView_pimpl.C:
107         * paragraph.[Ch]:
108         * BufferView.C:
109         * BufferView_pimpl.C: adjust
110
111 2004-02-11  André Pönitz  <poenitz@gmx.net>
112
113         * lyxfunc.C:
114         * BufferView.[Ch]:
115         * BufferView_pimpl.C: shift undo/redo handling
116
117         * cursor.[Ch]: fix mathed crash
118
119         * lyxfind.C:
120         * lyxtext.h: move selectionAsText to LCursor
121
122         * output_latex.C:
123         * paragraph.C:
124         * text.C:
125         * text2.C:
126         * text3.C: adjust
127
128         * rowpainter.C: fix excessive drawing
129
130 2004-02-06  André Pönitz  <poenitz@gmx.net>
131
132         * BufferView.[Ch]:
133         * BufferView_pimpl.[Ch]:
134         * text3.C: move some text specific LFUN handling
135
136 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
137
138         * text3.C (checkInsetHit): adjust coords
139         * text2.C (getColumnNearX): adjust coords
140         (edit): adjust coords
141         * text.C (getRowNearY): add two asserts
142
143 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
144
145         * converter.C:
146         * format.C: add using std::distance to compile on gcc 2.95/stlport
147
148 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
149
150         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
151
152 2004-02-04  André Pönitz  <poenitz@gmx.net>
153
154         * BufferView.[Ch] (insertInset):
155         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value 
156
157         * text2.C:
158         * text3.C: adjust
159
160 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
161
162         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch 
163         on the default clause of the switch
164         * lyxfunc.C (dispatch): call BufferView::dispatch if the event 
165         wasn't catched by LCursor::dispatch
166
167 2004-02-03  André Pönitz  <poenitz@gmx.net>
168
169         * BufferView.C:
170         * cursor.[Ch]: some additional asserts
171
172         * undo.[Ch]: remove LyXText dependency in interface
173
174         * lyxfunc.C: adjust
175
176         * lyxtext.h (firstPar, lastPar): remove dead functions 
177
178         * text.C:
179         * text2.C:
180         * text3.C:
181         * paragraph.[Ch]: adjust
182
183 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
184
185         * lyxfind.C (find): fix argument order in call to ::find
186
187 2004-02-02  André Pönitz  <poenitz@gmx.net>
188
189         * cursor.[Ch]: remove direct access to anchor
190
191         * text.C: remove findText() hack
192
193 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
194
195         * iterators.[Ch] (lockPath): remove in favour of...
196         * BufferView.[Ch] (setCursor): this addition
197         * BufferView.C (putSelectionAt): adjust
198         * undo.C (performUndoOrRedo): adjust
199         * lyxfunc.C (dispatch): adjust
200
201 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
202
203         * iterators.C (lockPath): add a missing slice
204         * undo.C (performUndoOrRedo): remove redundant positioning code
205
206 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
207
208         * vc-backend.C (scanMaster): ";" -> ';'
209
210 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
211
212         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
213         std::binary_function
214
215         * lyxtextclass.C (compare_name): rename to...
216         (LayoutNamesEqual): ...this
217
218         * lyxlex_pimpl.C (compare_tags): inherit from
219         std::binary_function, put back into anon namespace
220
221         * lyxfind.C (MatchString): inherig from std::binary_function
222         (findChange): use empty() istead of !size()
223
224         * format.C (FormatNamesEqual): new functor
225         (getFormat): use it
226         (getNumber): use it
227         (add): use it
228         (erase): use it
229         (setViewer): use it
230
231         * converter.C (compare_Converter): rename to...
232         (ConverterEqual): ...this, and fixup a bit.
233         (getConverter): use it, and make function const
234         (getNumber): use it, and make function const
235         (add): use it
236         (erase): use it:
237
238         * bufferlist.C: add using boost::bind
239
240         * MenuBackend.C (MenuNamesEqual): new functor
241         (hasMenu): use it, and make function const
242         (hasSubmenu): use nested bind to get rid of compare_memfun.
243
244 2004-01-30  André Pönitz  <poenitz@gmx.net>
245
246         * BufferView_pimpl.C:
247         * cursor.C:
248         * cursor.h:
249         * cursor_slice.[Ch]:
250         * lyxfunc.C:
251         * lyxtext.h:
252         * paragraph_funcs.C:
253         * paragraph_funcs.h:
254         * rowpainter.C:
255         * text.C:
256         * text2.C:
257         * text3.C: move some of the edit(x,y) handling to the insets
258         some coordinate changes.
259
260 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
261
262         * text.C: add using statements for std::advance and std::distance
263
264         * paragraph.C: add using statement for std::distance
265
266         * lyxfind.C: add using statement for std::advance
267
268         * cursor.C (region): remove std:: from swap
269         (openable): use nucleus in stead of operator->
270
271         * BufferView.C: add using statements for std::distance and std::swap
272
273 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
274
275         * iterators.C: Remove the pimple, move the needed structures to
276         the header file. Create accessor for the positions stack.
277         (asPosIterator): remove function
278
279         * PosIterator.C (PosIterator): move constructors to top of file
280         (PosIterator): reimplement the constructor taking a ParIterator in
281         terms of setFrom.
282         (setFrom): new function
283         (operator!=): inline it
284
285 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
286
287         * lyxfind.C (replaceAll): use std::advance
288
289         * iterators.h: inherit from std::iterator.
290
291         * PosIterator.C (advance, distance): remove
292         * PosIterator.h: interit from std::iterator.
293
294 2004-01-26  André Pönitz  <poenitz@gmx.net>
295
296         * BufferView.[Ch]:
297         * BufferView_pimpl.[Ch]:
298         * InsetList.[Ch]:
299         * PosIterator.[Ch]:
300         * buffer.h:
301         * bufferview_funcs.C:
302         * cursor.[Ch]:
303         * cursor_slice.h:
304         * factory.[Ch]:
305         * iterators.[Ch]:
306         * lyxfind.C:
307         * lyxfunc.C:
308         * lyxtext.h:
309         * output_docbook.C:
310         * output_latex.C:
311         * output_linuxdoc.C:
312         * output_plaintext.C:
313         * paragraph.[Ch]:
314         * paragraph_funcs.[Ch]:
315         * paragraph_pimpl.[Ch]:
316         * rowpainter.C:
317         * tabular.C:
318         * tabular.h:
319         * text.C:
320         * text2.C:
321         * text3.C: more IU:  dumps most of the rest of the mathcursor
322     implementation into cursor.[Ch]; "globalize" a bit of it.
323
324 2004-01-25  Angus Leeming  <leeming@lyx.org>
325
326         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
327
328 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
329
330         * LaTeXFeatures.h: add nice_ and nice() const
331         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
332
333 2004-01-20  André Pönitz  <poenitz@gmx.net>
334
335         * BufferView.[Ch]:
336         * BufferView_pimpl.C:
337         * PosIterator.C:
338         * bufferview_funcs.C:
339         * cursor.[Ch]:
340         * cursor_slice.[Ch]:
341         * factory.C:
342         * iterators.C:
343         * lyx_cb.C:
344         * lyxfind.C:
345         * lyxfunc.C:
346         * lyxtext.h:
347         * rowpainter.C:
348         * text.C:
349         * text2.C:
350         * text3.C:
351         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
352           LCursor and mathcursor parts to LCursor and InsetBase.
353
354 2004-01-15  André Pönitz  <poenitz@gmx.net>
355
356         * cursor_slice.[Ch]: add a few covienience functions
357
358         * funcrequest.[Ch]: remove BufferView * member
359
360         * BufferView_pimpl.C:
361         * cursor.C:
362         * factory.[Ch]:
363         * lyxfind.[Ch]:
364         * lyxfunc.C:
365         * lyxtext.h:
366         * text3.C:
367         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
368
369 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
370
371         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
372         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
373
374 2004-01-13  André Pönitz  <poenitz@gmx.net>
375
376         * textcursor.[Ch]:
377         * lyxtext.h: hide cursor and selection anchor behind accessor function
378
379         * BufferView.C:
380         * BufferView_pimpl.[Ch]:
381         * PosIterator.C:
382         * bufferview_funcs.C:
383         * cursor.h:
384         * lyxfind.C:
385         * lyxfunc.C:
386         * text.C:
387         * text2.C:
388         * text3.C:
389         * undo.C: adjust
390
391         * cursor.h:
392         * cursor_slice.[Ch]: some integer type changes for inset unification
393
394         * lyxcursor.[hC]: remove, it's CursorSlice now.
395
396         * Makefile.am:
397         * BufferView_pimpl.[Ch]:
398         * bufferview_funcs.C:
399         * cursor_slice.C:
400         * lyxtext.h:
401         * text.C:
402         * text2.C:
403         * text3.C:
404         * textcursor.[Ch]: adjust
405
406 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
407
408         * text2.C (undoSpan): add and use
409         * text.C (breakParagraph): use undoSpan (fix bug 578)
410         * lyxtext.h: adjust
411
412 2004-01-08  Angus Leeming  <leeming@lyx.org>
413
414         * BufferView_pimpl.C (MenuInsertLyXFile):
415         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
416         * lyxfunc.C (menuNew, open, doImport):
417         FileFilterList change to the FileDialog open and save functions.
418
419 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
420
421         * ShareContainer.h: make isEqual and isUnique adaptable
422
423         * CutAndPaste.C: make resetOwnerAndChanges adaptable
424
425 2004-01-07  Angus Leeming  <leeming@lyx.org>
426
427         * LyXAction.C:
428         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
429
430         * BufferView_pimpl.C (dispatch): act on these LFUNs.
431
432         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
433         functions replacing find, replace and replaceAll.
434
435         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
436         LFUN_WORDFIND(FORWARD|BACKWARD).
437
438 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
439
440         * text.C (breakParagraph): remove an outdated #warning
441
442 2004-01-07  André Pönitz  <poenitz@gmx.net>
443
444         * lyxfind.C: somewhat clearer logic
445
446         * text.C: prevent crash in cursorX on unitialized row cache
447
448 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
449
450         * lyxcursor.[Ch] (operator>): add
451         * textcursor.C (selStart, selEnd): use std::min and std::max
452
453 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
454
455         * Chktex.C: include boost/format.hpp
456
457 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
458
459         * InsetList.C: replace functor MathcIt with adaptable functor
460         InsetTablePosLess
461         (insetIterator): modify accordingly
462
463         * BranchList.h: move the BranchNamesEqual functor here from...
464         * BranchList.C: ... to here
465
466         * BranchList.C: new BranchListEqual fuctor, use it. Remove
467         SameName and match.
468         (add): replace a finding loop with std::find_if.
469
470 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
471
472         * output_docbook.C: moving LatexParam functionality into
473         .layout files
474
475 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
476
477         * buffer.C: increment format to 229.
478
479 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
480
481         * LaTeXFeatures.C:
482         * lyx_sty.[Ch]: remove minipageindent_def
483
484         * LyXAction.C:
485         * factory.C:
486         * lfuns.h:
487         * lyxfunc.C:
488         * text3.C: remove LFUN_INSET_MINIPAGE
489
490 2003-12-28  Angus Leeming  <leeming@lyx.org>
491
492         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
493
494 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
495
496         * text2.C (setParagraph): fix off-by-one crash
497
498 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
499
500         * output_docbook.C: header stuff for AGU
501
502 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
503
504         * text2.C (redoCursor): remove
505         * text.C:
506         * text3.C:
507         * BufferView_pimpl.C: remove calls to redoCursor and
508         setCursor(cursor.par(), cursor.pos()) all around
509
510 2003-12-15  Angus Leeming  <leeming@lyx.org>
511
512         * buffer.C: up the format to 228.
513
514 2003-12-15  André Pönitz  <poenitz@gmx.net>
515
516         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
517         slices
518
519         * Makefile.am:
520
521         * BufferView_pimpl.C:
522         * cursor.[Ch]:
523         * lyxcursor.[Ch]:
524         * rowpainter.[Ch]:
525         * lyxtext.h:
526         * text.C:
527         * text2.C:
528         * text3.C: adjust
529
530 2003-12-15  Angus Leeming  <leeming@lyx.org>
531
532         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
533         than getFromGUIName to manipulate the color.
534
535 2003-12-14  Angus Leeming  <leeming@lyx.org>
536
537         * BranchList.[Ch]: minimize the API.
538         (Branch::getBranch, getColor): now return a 'const &'.
539         (Branch::setSelected) now returns a bool set to true if the
540         selection status changes.
541         (BranchList::clear, size, getColor, setColor, setSelected,
542         allBranches, allSelected, separator): removed.
543         (BranchList::find): new functions, returning the Branch with
544         the given name.
545         (BranchList::add, remove): return a bool indicating that
546         the operation was successful.
547
548         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
549         new InsetBranch::isBranchSlected member function.
550
551         * LColor.[Ch]: mimimize the API.
552         (fill): renamed as addColor and made private.
553         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
554         versions of these functions taking a string arg have been removed.
555
556         * bufferparams.C (readToken):
557         * lyxfunc.C (dispatch):
558         * lyxrc.C (read): changes due to the altered BranchList and
559         LColor APIs.
560
561         * factory.C (createInset, readInset): changes due to altered
562         InsetBranch c-tor.
563
564 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
565
566         * factory.C:
567         * lyxfunc.C: remove insetminipage. "minipage-insert"
568         now produces a frameless minipage box inset.
569
570 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
571
572         * textcursor.[Ch] (selStart,selEnd): add new methods
573         remove selection::start, end, use LyXCursor::operator<
574         * lyxcursor.[Ch] (operator<): add
575         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
576         * BufferView.[Ch] (unsetXSel): add
577         * text2.C (clearSelection): use unsetXSel,adjust
578         * text.C: adjust
579         * text3.C: adjust
580         * rowpainter.C: adjust
581         * bufferview_funcs.C (put_selection_at): adjust
582
583 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
584
585         * BufferView_pimpl.C: small coord. correction
586
587 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
588
589         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
590         dragging over the splash screen.
591
592 2003-12-11  Angus Leeming  <leeming@lyx.org>
593
594         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
595         as it is now handled in LyXText::dispatch.
596
597         * text3.C (doInsertInset): remove a level of nesting.
598
599 2003-12-11  Angus Leeming  <leeming@lyx.org>
600
601         * factory.C (createInset): changes due to the changed interface to
602         InsetCommandMailer::string2params.
603
604 2003-12-10  Angus Leeming  <leeming@lyx.org>
605
606         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
607         'dialog-show-new-inset <inset name>'
608
609 2003-12-10  Angus Leeming  <leeming@lyx.org>
610
611         * buffer.C: up the format to 227.
612
613         * factory.C: the box inset is now identified simply by 'Box'.
614
615 2003-12-10  Angus Leeming  <leeming@lyx.org>
616
617         * buffer.C: up the format to 226.
618
619         * factory.C: the note inset is now identified simply by 'Note'.
620
621 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
622
623         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
624         when a pit is enough. Standarize a couple of loops.
625
626 2003-12-05  Angus Leeming  <leeming@lyx.org>
627
628         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
629         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
630         data to the re-worked "log" dialog.
631
632 2003-12-03  André Pönitz  <poenitz@gmx.net>
633
634         * PosIterator.C:
635         * iterators.C:
636         * lyxtext.h:
637         * output_latex.C:
638         * paragraph_funcs.C:
639         * text.C:
640         * text2.C: use Inset::getText instead of Inset::getParagraph
641
642 2003-12-03  André Pönitz  <poenitz@gmx.net>
643
644         * buffer.[Ch]:
645         * lyxtext.h:
646         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
647         InsetText::read() as LyXText::read()
648
649 2003-12-02  Angus Leeming  <leeming@lyx.org>
650
651         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
652         type. Add a comment in the implementation that the function uses
653         the stream's bad() function rather than fail() as the std::streams
654         would do.
655
656 2003-12-02  André Pönitz  <poenitz@gmx.net>
657
658         * lyxlex.[Ch]: make interface more similar to std::stream
659
660         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
661
662 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
663
664         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
665
666 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
667
668         * vspace.[Ch]: remove VSpace::NONE
669
670 2003-12-01  André Pönitz  <poenitz@gmx.net>
671
672         * buffer.[Ch]:
673         * lyxtext.h: move ParagraphList member to LyXText
674         rename LyXText::ownerParagraphs to LyXText::paragraph
675
676         * CutAndPaste.C:
677         * bufferview_funcs.C:
678         * iterators.[Ch]:
679         * lyx_cb.C:
680         * paragraph.C:
681         * rowpainter.C:
682         * tabular.C:
683         * text.C:
684         * text2.C:
685         * text3.C: adjust
686
687         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
688
689         * undo.C: fix cursor positioning
690
691 2003-12-01  John Levon  <levon@movementarian.org>
692
693         * BufferView_pimpl.C: fix a crash on exit with
694         a buffer open
695
696 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
697
698         * BranchList.C: fix setSelected() method.
699
700 2003-11-28  André Pönitz  <poenitz@gmx.net>
701
702         * ParagraphParameters.[Ch]:
703         * ParameterStruct.h: remove space above/below from Paragraph to
704          InsetVSpace
705
706         * BufferView_pimpl.C:
707         * factory.C:
708         * lyxfunc.C:
709         * lyxtext.h:
710         * output_latex.C:
711         * paragraph.C:
712         * paragraph_funcs.C:
713         * rowpainter.[Ch]:
714         * text.C:
715         * text2.C:
716         * text3.C: adjust
717
718 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
719
720         * factory.C: Syntax change for CharStyles
721
722 2003-11-28  André Pönitz  <poenitz@gmx.net>
723
724         * BufferView.[Ch]:
725         * BufferView.[Ch]:
726         * buffer.[Ch]:
727         * buffer.[Ch]: move LyXText member
728
729 2003-11-28  André Pönitz  <poenitz@gmx.net>
730
731         * BufferView.[Ch]: make LyXText * text a private member
732
733         * BufferView_pimpl.C:
734         * cursor.C:
735         * iterators.C:
736         * lyx_cb.C:
737         * lyxfind.C:
738         * lyxtext.h:
739         * rowpainter.[Ch]:
740         * text.C:
741         * text2.C:
742         * undo.C: adjust
743
744         * output_plaintext.C: cleanup
745
746 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
747
748         * buffer.C:
749         * lyxtextclass.[Ch]: parametrize SGML document header
750
751 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
752
753         * converter.[Ch]:
754         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
755         getFlavor().
756
757 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
758
759         * text2.C (setFont): rework using PosIterator (no more recursive)
760         (setCharFont): no more needed
761         (setLayout): no more selection cursors fiddling (done by redoCursor)
762         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
763         destroy remaining ones)
764
765 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
766
767         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
768         * lyxtext.h: ditto
769         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
770         selection cursors
771         * lyxfunc.C: adjust
772         * text3.C: adjust + re-allow multi par depth changes
773         * textcursor.C: simplify a bit
774
775 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
776
777         * src/buffer.C:
778         * src/lyxlayout.C:
779         * src/lyxlayout.h:
780         * src/lyxtext.h:
781         * src/output_docbook.C:
782         * src/output_latex.C:
783         * src/paragraph.C:
784         * src/paragraph.h:
785         * src/sgml.C:
786         * src/sgml.h:
787         * src/text2.C: Introducing a number of tags parametrizing various
788         XML formats that we may want to support
789
790 2003-11-25  André Pönitz  <poenitz@gmx.net>
791
792         * InsetList.[Ch] (begein, end): inline as suggested by profiler
793
794         * lyxtext.h (leftMargin/rightMargin): simplify interface
795
796         * rowpainter.C:
797         * text.C:
798         * text2.C:
799         * text3.C: adjust
800
801 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
802
803         * lyxfunc.C (dispatch): propogate the bibtex databases from the
804         master file to any child files. Fixes bug 546.
805
806 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
807
808         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
809
810 2003-11-24  André Pönitz  <poenitz@gmx.net>
811
812         * rowpainter.C: simplification
813
814         * text2.C (updateCounters): remove call to redoParagraph on
815         changed labels as this is far too expensive.
816
817 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
818
819         * converter.C (convert): fix a crash: this function gets
820         called with buffer == 0 from importer code.
821
822 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
823
824         * text3.C (cursorPrevious): make sure that we do not compare
825         iterators form different containers.
826         (cursorNext): ditto
827
828         * rowpainter.C (paintSelection): make sure that we do not compare
829         iterators from different containers.
830
831         * text3.C (dispatch): [PRIOR] make sure that we do not compare
832         iterators from different ParagraphList containers.
833         [NEXT] ditto
834
835         * text2.C (LyXText): change order of initialization slightly
836         (operator=): new function. copy all variables except cache_par_
837         (moveUp): make sure that we do not compare iterators from
838         different ParagraphList constainers.
839         (moveDown): ditto
840
841         * text.C (firstPar): new function
842         (lastPar): new function
843         (endPar): new function
844
845         * lyxtext.h: move things around and group public functions, public
846         variables, private functions, private variables
847
848 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
849
850         * factory.C: change call to InsetERT constructor to avoid
851         additional invocation of method status
852         * text2.C (toggleInset): remove redundant update() call
853         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
854         instead of a Bufferview pointer
855
856 2003-11-21  André Pönitz  <poenitz@gmx.net>
857
858         * rowpainter.C: simplification
859
860 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
861
862         * text3.C (dispatch): make possible to extend a word/row selection
863         with the mouse
864
865 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
866
867         * lyxtext.h: x0_,y0_ -> xo_,yo_
868         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
869         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
870         * rowpainter.C (paintRows): paint full paragraphs
871
872 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
873
874         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
875         screen coordinates)
876
877 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
878
879         * lyxtext.h: add x0_, y0_
880         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
881         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
882
883 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
884
885         * text2.C (setCursorIntern): move the x_target update here *
886         * text3.C: change some bv() to true/false in calls to
887         cursorUp/Down/Right/Left
888         * cursor.C: use helper function.
889
890 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
891
892         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
893         * paragraph_funcs.[Ch]: correct comment
894         * rowpainter.C: do not paint selections away from bv->cursor()
895         Fix a long standing selection painting bug.
896         * text3.C: generalize mouse-selection code to LyXTexts other that
897         top one
898         * textcursor.C: do not use y coords if we can use par offsets
899
900 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
901
902         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
903         cursor position after e.g. inset insert)
904
905 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
906
907         * lyxfind.C (replace): adjust to locking removal + some
908         code simplification
909
910 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
911
912         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
913         of the path
914
915 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
916
917         * lyxlayout.[Ch]:
918         * output_docbook.C: XML sanitation: new layout
919         parameters InnerTag and CommandDepth
920
921 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
922
923         * BufferView_pimpl.C:
924         * factory.C:
925         * text3.C: Fix the insertion and modification of button-style
926         insets
927
928 2003-11-13  André Pönitz  <poenitz@gmx.net>
929
930         * InsetList.[Ch]: remove deleteLyXText
931
932         * paragraph.[Ch]: cache beginOfBody position
933
934         * Bidi.C:
935         * text.C:
936         * text2.C:
937         * text3.C: remove superfluous update() calls
938
939         * vspace.C: cleanup
940
941 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
942
943         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
944         * BufferView.C (fitLockedInsetCursor): remove
945         * cursor.[Ch] (getDim): add
946         * text.C (getRowNearY): add faster version
947         * text3.C: remove some update calls
948
949 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
950
951         * LaTeXFeatures.C:
952         * LyXAction.C:
953         * MenuBackend.C:
954         * MenuBackend.h:
955         * dispatchresult.h:
956         * factory.C:
957         * lfuns.h:
958         * lyxfunc.C:
959         * lyxtextclass.C:
960         * lyxtextclass.h:
961         * text3.C: The Character Style /XML short element patch.
962
963 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
964
965         * text3.C:
966         * factory.C: Small step to solving 'unable to insert some insets'
967         problem
968
969 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
970
971         * cursor.[Ch] (updatePos): new function for updating the y
972         position of the tip inset
973         * bufferview_funcs.C (put_selection_at):
974         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
975
976 2003-11-11  André Pönitz  <poenitz@gmx.net>
977
978         * text.C: remove big comment on invalid Paragraph pointers as it is
979         not valid anymore
980
981 2003-11-11  André Pönitz  <poenitz@gmx.net>
982
983         * text_funcs.[Ch]: merge with ...
984
985         * text.C: ... this
986
987         * lyxtext.h:
988         * text2.C:
989         * text3.C: adjust
990
991         * Makefile.am: remove text_funcs.[Ch]
992
993 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
994
995         * cursor.C (getPos): return absolute cached y coord
996
997         * BufferView_pimpl.C (fitCursor): new simplistic code
998         (workAreaDispatch): add a fitCursor call
999
1000 2003-11-10  André Pönitz  <poenitz@gmx.net>
1001
1002         * BufferView.[Ch]:
1003         * BufferView_pimpl.[Ch]: merge update() and updateInset()
1004
1005 2003-11-10  André Pönitz  <poenitz@gmx.net>
1006
1007         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1008         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1009         indicate that the cursor needs to leave an inset
1010
1011         * lyxtext.h: remove inset locking
1012
1013         * cursor.[Ch]: re-implement functionality provided by inset locking
1014
1015         * BufferView.[Ch]:
1016         * BufferView_pimpl.[Ch]:
1017         * LyXAction.C:
1018         * bufferview_funcs.[Ch]:
1019         * factory.C:
1020         * funcrequest.[Ch]:
1021         * iterators.C:
1022         * lyx_cb.C:
1023         * lyxfind.C:
1024         * lyxfunc.C:
1025         * text.C:
1026         * text2.C:
1027         * text3.C:
1028         * undo.C: adjust
1029
1030 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
1031
1032         * PosIterator.[Ch]: replace the stack with a vector, add inset
1033         accesor
1034         * iterators.[C]: adjust
1035
1036 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1037
1038         * lyxfind.C (replaceAll): mark the buffer dirty if something was
1039         replaced
1040         * paragraph_funcs.C (readParToken): put the correct id in the
1041         error item, not the id of the top paragraph
1042
1043 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1044
1045         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1046         * bufferview_funcs.C (put_selection_at): use the above
1047
1048 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1049
1050         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1051
1052 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1053
1054         * output_linuxdoc.h:
1055         * output_plaintext.h:
1056         * output.h:
1057         * output_docbook.h: add #include statements
1058
1059 2003-11-05  José Matos  <jamatos@lyx.org>
1060
1061         * output_docbook.[Ch]:
1062         * output_latex.[Ch]:
1063         * output_linuxdoc.[Ch]:
1064         * output_plaintext.[Ch]: New files for output formats.
1065         * output.[Ch]: New file for helper functions.
1066
1067         * buffer.[Ch]:
1068         * paragraph_funcs.[Ch]: output functions moved to new files.
1069
1070         * outputparams.h: rename of latexrunparams.h
1071
1072         * LaTeX.[Ch]:
1073         * buffer.[Ch]:
1074         * bufferlist.[Ch]:
1075         * converter.[Ch]:
1076         * exporter.C:
1077         * paragraph.[Ch]:
1078         * paragraph_funcs.[Ch]:
1079         * paragraph_pimpl.[Ch]:
1080         * tabular.[Ch]: rename ascii to plaintext
1081         and LatexRunParams to OutputParams.
1082
1083 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1084
1085         * iterators.[Ch] (text): require bv argument
1086         * undo.C (recordUndo):
1087         * lyxfunc.C (dispatch):
1088         * bufferview_funcs.C (put_selection_at): adjust
1089
1090 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
1091
1092         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1093
1094 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1095
1096         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1097         nestings
1098
1099 2003-11-04  André Pönitz  <poenitz@gmx.net>
1100
1101         * cursor.[Ch]: restructure
1102
1103         * BufferView.[Ch]:
1104         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1105
1106         * iterators.[Ch] (asCursor): remove
1107
1108         * lfuns.h: remove LFUN_INSET_EDIT
1109
1110         * lyxfunc.C:
1111         * tabular.C:
1112         * text.C:
1113         * text2.C:
1114         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1115
1116 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1117
1118         * lyxfind.[Ch]: complete overhaul
1119         * BufferView_pimpl.C:
1120         * lyxfunc.C: adjust
1121         * paragraph.[Ch] (insert): add
1122
1123 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1124
1125         * BufferView.[Ch]:
1126         * lyxtext.h:
1127         * text.C: remove dead spellcheck code
1128
1129 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1130
1131         * dispatchresult.h: add a val setter
1132
1133         * cursor.C (dispatch): use a tempvar for data_[i]
1134
1135 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1136
1137         * PosIterator.[Ch]: compile fix
1138
1139 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1140
1141         * text.C (cursorPar): deactivate the cursor cache
1142
1143 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1144
1145         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1146
1147 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1148
1149         * text3.C (dispatch): adjust for new DisptchResult semantics.
1150
1151         * lyxfunc.C (dispatch): handle update when return from
1152         Cursor::dispatch, adjust for new DispatchResult semantics.
1153
1154         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1155         DispatchResult(true) mean to not update. Add class functions for
1156         setting dispatched and update, as well as reading.
1157
1158         * cursor.C (dispatch): don't handle update here
1159
1160 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1161
1162         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1163         * trans_mgr.C: adjust
1164
1165         * paragraph_funcs.C (readParToken): exception safety
1166
1167         * lyxvc.h: store the vcs pointer in a scoped_ptr
1168         * lyxvc.C: adjust
1169
1170         * lyxsocket.C (serverCallback): exception safety
1171
1172         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1173
1174         * ispell.C (clone): make it return a auto_ptr
1175
1176         * factory.C (createInset): exception safety
1177         (readInset): exception safety
1178
1179         * bufferlist.C (newBuffer): exception safety
1180
1181         * Thesaurus.C (Thesaurus): use initialization for aik_
1182
1183         * MenuBackend.C (expandToc): exception safety.
1184
1185 2003-11-03  André Pönitz  <poenitz@gmx.net>
1186
1187         * buffer.C:
1188         * buffer.h:
1189         * bufferview_funcs.C: remove getInsetFromId()
1190
1191         * lyxcursor.[Ch]:
1192         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1193
1194         * lyxfunc.C:
1195         * text2.C:
1196         * text3.C: adjust
1197
1198 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1199
1200         * PosIterator.C (distance, advance): new
1201         * bufferview_funcs.[Ch] (put_selection_at): new
1202         * iterators.[Ch] (lockPath): new
1203
1204 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
1205
1206         * iterators.[Ch] (asPosIterator): added
1207         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1208         * PosIterator.[Ch]: added
1209
1210 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1211
1212         * text3.C:
1213         * lyxfunc.C:
1214         * cursor.C (dispatch):
1215         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1216
1217         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1218         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1219         contructor, add a class function dispatched. Remove operator>=
1220
1221 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1222
1223         * debug.C: only use the default constructor for debugstream
1224         (lyxerr) here.
1225
1226         * main.C (main): include debug.h and setup the lyxerr streambuf
1227         here.
1228
1229 2003-10-31  José Matos  <jamatos@lyx.org>
1230
1231         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1232
1233         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1234         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1235         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1236         * paragraph_pimpl.C (simpleTeXSpecialC):
1237         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1238         add LatexRunParams argument.
1239
1240         * exporter.C (Export): change call accordingly.
1241
1242         * latexrunparams.h: add new member to take care of the other backends.
1243 2003-10-30  José Matos  <jamatos@lyx.org>
1244
1245         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1246         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1247         factorise code for paragraph output.
1248         * buffer.[Ch]:
1249         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1250         move functions.
1251
1252 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1253
1254         * text3.C (dispatch):
1255         * lyxfunc.C (dispatch):
1256         * cursor.C (dispatch):
1257         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1258
1259         * dispatchresult.h: make the dispatch_result_t ctor explicit
1260
1261 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
1262
1263         * sgml.[Ch]:
1264         * buffer.C: small refactoring of docbook stuff
1265
1266 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1267
1268         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1269         meaning.
1270
1271 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1272
1273         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1274         operator dispatch_result_t, and operators for == != and >=
1275
1276         * cursor.C (dispatch): adjust for operator dispatch_result_t
1277         removal. comment out call to update
1278
1279         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1280
1281 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1282
1283         * text3.C:
1284         * text2.C:
1285         * text.C:
1286         * lyxtext.h:
1287         * lyxfunc.C:
1288         * cursor.C:
1289         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1290         (dispatch):
1291
1292         * dispatchresult.h: new file, DispatchResult broken out of
1293         insets/insetbase.h
1294
1295         * Makefile.am (lyx_SOURCES): add dispatchresult.h
1296
1297 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1298
1299         * text.C (rowBreakPoint): put a hack inside #if 0
1300
1301 2003-10-28  André Pönitz  <poenitz@gmx.net>
1302
1303         * lyxtext.h:
1304         * metricsinfo.C:
1305         * paragraph_funcs.C:
1306         * rowpainter.C:
1307         * text.C:
1308         * text2.C: general cleanup (lots of small stuff)
1309
1310 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1311
1312         * text2.C (cursorEnd): simple fix to the "end key goes to one
1313         before the end on last row" bug
1314
1315 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1316
1317         * text.C (backspace): fix the "zombie characters"
1318
1319 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1320
1321         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1322
1323 2003-10-27  André Pönitz  <poenitz@gmx.net>
1324
1325         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1326
1327         * factory.C: handle new InsetPagebreak, InsetLine
1328
1329         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1330         and move handling into new InsetPagebreak, InsetLine
1331
1332         * BufferView_pimpl.C:
1333         * LyXAction.C:
1334         * ParagraphParameters.C:
1335         * ParameterStruct.h:
1336         * lyxfunc.C:
1337         * lyxtext.h:
1338         * paragraph.C:
1339         * paragraph.h:
1340         * paragraph_funcs.C:
1341         * paragraph_pimpl.C:
1342         * rowpainter.C:
1343         * text.C:
1344         * text2.C:
1345         * text3.C: adjust
1346
1347 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1348
1349         * text.C:
1350         * lyxrow_funcs.[Ch]:
1351         * Bidi.C:
1352         * paragraph.C:
1353         * lyxtext.h:
1354         * rowpainter.C:
1355         * text2.C:
1356         * text3.C: remove lastPos uses in favour of Row::endpos
1357
1358 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1359
1360         * undo.C (performUndoOrRedo): fix two crashes by setting a
1361         cursor by hand and reordering some calls. Use bv->lockInset instead
1362         of inset->edit because the latter loses cursor information
1363
1364 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
1365
1366         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1367         by Martin
1368         (rowBreakPoint): fix width. change point to point + 1.
1369         Add a missing check.
1370
1371 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
1372
1373         * MenuBackend.C:
1374         * lyxfunc.C: fix (at least partly) the problems
1375         with the Nav menu and headers inside branch insets
1376         reported by Kayvan
1377
1378 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
1379
1380         * paragraph.C (getChar): add strong asserts
1381
1382         * lyxrow_funcs.C (lastPos): remove hideous hack
1383
1384         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1385         (fill): adjust to that (avoid an infinite loop)
1386
1387 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1388
1389         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1390
1391 2003-10-23  André Pönitz  <poenitz@gmx.net>
1392
1393         * RowList_fwd.h: change list<> to vector<> to gain speed
1394         after suggestion from Alfredo
1395
1396 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1397
1398         * lyxtext.h: move the bidi stuff from here...
1399         * text.C: and here
1400         * text2.C: and here
1401         * Bidi.[Ch]: ... to here
1402
1403 2003-10-23  André Pönitz  <poenitz@gmx.net>
1404
1405         * lyxtext.h:
1406         * text.C (isLastRow, isFirstRow): new functions
1407
1408         * paragraph.h: new width cache member
1409
1410         * rowpainter.C: replace RowList::iterator with Row & where possible
1411
1412         * lyxfunc.C: replace several view()->text with a single call
1413
1414         * toc.C: fix 'unused' warning
1415
1416 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1417
1418         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1419         when woring with stream::pos_type
1420         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1421
1422 2003-10-22  André Pönitz  <poenitz@gmx.net>
1423
1424         * lyxtext.h:
1425         * text.C: use Row & instead of RowList::iterator
1426
1427         * lyxrow.h: rename end() to endpos()
1428
1429         * rowpainter.C:
1430         * text.C:
1431         * text2.C: adjust
1432
1433 2003-10-22  Angus Leeming  <leeming@lyx.org>
1434
1435         * buffer.[Ch] (fully_loaded): new member function, returning true
1436         only when the file has been loaded fully.
1437         Used to prevent the premature generation of previews and by the
1438         citation inset to prevent computation of the natbib-style label.
1439
1440         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1441         templates are all set up.
1442
1443         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1444
1445 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
1446
1447         * text.C: fixed an "oops" in the "is a bit silly"
1448         bug fix
1449
1450 2003-10-21  André Pönitz  <poenitz@gmx.net>
1451
1452         * FuncStatus.[Ch]: small stuff, whitespace
1453
1454         * lyxfont.[Ch]: operator<<() for debug reasons
1455
1456         * lyxfunc.C:
1457         * lyxrow_funcs.C:
1458         * lyxtext.h: whitespace, spelling
1459
1460         * paragraph.C: naming of variables
1461
1462         * text.C:
1463         * text2.C: small stuff
1464
1465
1466 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
1467
1468         * text.C: (1) finish off the inset display() work;
1469         (2) fix the "is a bit silly" bug (accessing char
1470         past end of par).
1471
1472 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
1473
1474         * text.C: re-introduce display() for insets, fixing the
1475         various bugs (stretch of line above, math inset
1476         positioning, ...)
1477
1478 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1479
1480         * text.C (rightMargin): remove spurious semicolon
1481
1482         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1483         1415)
1484
1485 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
1486
1487         * text3.C: fix one crash due to wrong cursor def
1488
1489 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1490
1491         * vc-backend.C (scanMaster): make the regex static
1492
1493         * LaTeX.C (scanAuxFile): make the regexs static
1494
1495         * text3.C (doInsertInset, dispatch, dispatch):
1496         * text2.C (cursorUp, cursorDown):
1497         * text.C (selectNextWordToSpellcheck):
1498         * BufferView_pimpl.C (dispatch):
1499         * lyxfunc.C (dispatch):  localDispatch -> dispatch
1500
1501 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1502
1503         * lyxsocket.C: include <cerrno>
1504
1505 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1506
1507         * lyxfunc.C (dispatch): remove textcache stuff
1508
1509         * bufferlist.C (release): remove textcache stuff
1510         (closeAll): ditto
1511
1512         * TextCache.C: delete file
1513         * TextCache.h: delete file
1514
1515         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1516
1517         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1518         delete of the bv_->text.
1519         (resizeCurrentBuffer): remove texcache stuff
1520         (workAreaResize): ditto
1521
1522 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1523
1524         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1525         action.
1526
1527 2003-10-16  André Pönitz  <poenitz@gmx.net>
1528
1529         * lyxrow.[Ch]:
1530         * paragraph.h:
1531         * rowpainter.C:
1532         * text.C:
1533         * text2.C:
1534         * text3.C: speed up by storing y positions per paragraph plus per-row
1535         offset instead of having a 'full' y position in the row.
1536
1537 2003-10-15  André Pönitz  <poenitz@gmx.net>
1538
1539         * iterators.[Ch]:
1540         * iterators.[Ch]:
1541         * undo.[Ch]: make undo aware of inner insets
1542
1543 2003-10-14  Angus Leeming  <leeming@lyx.org>
1544
1545         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1546         static member functions LyX::ref() and LyX::cref.
1547         (lastfiles): new accessor functions for the new lastfiles_ member var.
1548         (addLyXView, views_): add a new LyXView to the list of views_.
1549         (updateInset): loop over all LyXViews to call their own updateInset
1550         member function, returning a pointer to the Buffer owning the inset.
1551
1552         * BufferView_pimpl.C (loadLyXFile):
1553         * MenuBackend.C (expandLastfiles):
1554         * bufferlist.C (MenuWrite, QuitLyX):
1555         lastfiles is no longer a global variable.
1556         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1557
1558         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1559         static function. Access through LyX::cref().emergencyCleanup().
1560
1561 2003-10-14  André Pönitz  <poenitz@gmx.net>
1562
1563         * iterators.[Ch]: new direct access to innermost LyXText and Inset
1564
1565         * undo.[Ch]: restoring part of 'undo in insets'
1566
1567         * Makefile.am:
1568         * undo_funcs.[Ch]: merge with undo.[Ch]
1569
1570         * tabular.C: small cleansing stuff
1571
1572 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
1573
1574         * paragraph_funcs.C (readParToken): report unknown insets as error
1575         boxes. Use the outer paragraph as location (also for unknown
1576         tokens).
1577
1578         * factory.C (readInset): do not abort on reading an unknown inset.
1579         Eat it and return 0.
1580
1581 2003-10-13  Angus Leeming  <leeming@lyx.org>
1582
1583         * lyx_main.C (LyX): remove call to setDisplayTranslator().
1584
1585         * lyxrc.C: displayTranslator is now a function,
1586         declared in GraphicsTypes.h.
1587
1588 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1589
1590         * format.C: new placeholder $$a to pass the socket address.
1591
1592         * bufferlist.[Ch]: new function getBufferFromTmp.
1593
1594         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1595           files in the temporary dir.
1596
1597 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1598
1599         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1600
1601         * Makefile.am: add lyxsocket.[Ch].
1602
1603         * lyx_main.C (error_handler): handle SIGPIPE.
1604
1605 2003-10-13  André Pönitz  <poenitz@gmx.net>
1606
1607         * BufferView_pimpl.C:
1608         * lyxtext.h:
1609         * text.C:
1610         * text2.C:
1611         * text3.C:
1612         * undo_funcs.[Ch]: use paroffset_type instead of
1613           ParagraphList::iterators to prevent multiple conversion
1614           (and get a more robust interface)
1615
1616 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1617
1618         * lyxfunc.C (dispatch): RESULT -> dispatch_result
1619         * lyxtext.h: ditto
1620         * text3.C (dispatch): ditto
1621
1622 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1623
1624         * LaTeX.C (handleFoundFile): move the static to smaller scope,
1625         move the onlyfile, use onlyfile instead of foundfile in a couple
1626         of places.
1627
1628         * DepTable.C (update): flush the error stream a bit more
1629
1630 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1631
1632         * lyxserver.C (callback): adjust
1633
1634         * lyxfunc.C (getStatus): add a missing brace in commented code
1635         (ensureBufferClean): reindent
1636         (dispatch): delete version taking a string
1637
1638 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1639
1640         * LaTeX.C (deplog): move found file handlig from here...
1641         (handleFoundFile): .. to new function here.
1642         (deplog): make sure to discover several files mentioned on the
1643         same log line.
1644
1645 2003-10-10  André Pönitz  <poenitz@gmx.net>
1646
1647         * lyxfunc.C:
1648         * lyxtext.h:
1649         * tabular.C:
1650         * text.C:
1651         * text2.C:
1652         * text3.C: fix some of the tabular crashes
1653
1654 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1655
1656         * MenuBackend.C (binding): put debug message into Debug::KBMAP
1657
1658         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1659
1660 2003-10-09  André Pönitz  <poenitz@gmx.net>
1661
1662         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1663
1664         * BufferView.C:
1665         * BufferView_pimpl.C:
1666         * bufferview_funcs.C:
1667         * lyx_cb.C:
1668         * lyxcursor.C:
1669         * lyxfind.C:
1670         * lyxfunc.C:
1671         * lyxtext.h:
1672         * text.C:
1673         * text2.C:
1674         * text3.C:
1675         * text_funcs.[Ch]:
1676         * textcursor.[Ch]:
1677         * undo_funcs.C: adjust
1678
1679 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1680
1681         * text2.C (incrementItemDepth): new function, use a backtracking
1682         algorithm to discover the correct item depth.
1683         (resetEnumCounterIfNeeded): new function, use a backtracking
1684         algorithm to discover if counter reset is needed.
1685         (setCounter): use them. Simplify a bit. Add different labels for
1686         different item depths for itemize.
1687
1688         * paragraph.C (Paragraph): remove initialization of enumdepth
1689         (operator=): ditto
1690
1691         * paragraph.h: get rid of enumdepth, and use itemdepth both for
1692         enumerate and itemize. Change the type of itemdepth to signed char.
1693
1694 2003-10-08  André Pönitz  <poenitz@gmx.net>
1695
1696         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1697           thing assignable.
1698         * text.C:
1699         * text2.C: adjust
1700
1701         * tabular.[Ch]: fix crash after 'row-insert'
1702
1703 2003-10-08  Angus Leeming  <leeming@lyx.org>
1704
1705         Fix doxygen warnings.
1706
1707         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1708         Remove CutAndPaste:: prefix from header file declaration.
1709
1710         * LColor.h (fill): remove LColor:: prefix from declaration.
1711
1712         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1713         use lyx::depth_type rather than Paragraph::depth_type so that
1714         header file and .C file match.
1715
1716         * converter.h (intToFormat): remove Converters:: prefix from declaration.
1717
1718         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1719         * aspell.C: \file aspell_local.C -> \file aspell.C
1720         * gettext.C: \file gettext.C -> \file src/gettext.C
1721         * gettext.h: \file gettext.h -> \file src/gettext.h
1722         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1723         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1724         * text.C: \file text.C -> \file src/text.C
1725
1726         * toc.C: move comment so that doxygen is not confused.
1727
1728 2003-10-07  Angus Leeming  <leeming@lyx.org>
1729
1730         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1731
1732 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1733
1734         * aspell.C:
1735         * aspell_local.h: add forgotten std::string's.
1736
1737 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1738
1739         * LaTeXFeatures.C:
1740         * LyXAction.C:
1741         * factory.C:
1742         * lfuns.h:
1743         * lyxfunc.C:
1744         * text3.C: The Box patch. Fancybox support, minipage, parbox
1745
1746 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1747
1748         * CutAndPaste.h:
1749         * DepTable.h:
1750         * FloatList.h:
1751         * LaTeXFeatures.h:
1752         * ParagraphParameters.h:
1753         * TextCache.h:
1754         * Thesaurus.h:
1755         * bufferlist.h:
1756         * exporter.h:
1757         * importer.h:
1758         * lastfiles.h:
1759         * lyxfind.h:
1760         * lyxfont.h:
1761         * lyxlex.h:
1762         * lyxtextclasslist.h:
1763         * messages.h:
1764         * paragraph.h:
1765         * paragraph_pimpl.C:
1766         * textcursor.h: add <string> and other small fixes to make Lars'
1767         std::string patch compile with STLport.
1768
1769 2003-10-06  Angus Leeming  <leeming@lyx.org>
1770
1771         * LColor.h: Add missing #include <string>.
1772
1773 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1774
1775         * All most all file in all subdirs: Make <string> be the prefered
1776         way of getting to std::string, add using declarations.
1777
1778 2003-10-06  André Pönitz  <poenitz@gmx.net>
1779
1780         * metricsinfo.C: initialize LyXFont before changing attribute.
1781         (fixes the 'math in \emph is upright' bug)
1782
1783 2003-10-06  André Pönitz  <poenitz@gmx.net>
1784
1785         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1786
1787 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1788
1789         * graph.C:
1790         * paragraph_pimpl.C: Small fixes to build using STLport
1791
1792 2003-10-02  André Pönitz  <poenitz@gmx.net>
1793
1794         * lyxfunc.C:
1795         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1796
1797 2003-10-01  André Pönitz  <poenitz@gmx.net>
1798
1799         * factory.C: assert early
1800
1801 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1802
1803         * lyx_main.C: remove the global debug object
1804
1805         * debug.h: adjust for new debugstream
1806
1807         * debug.C: adjust for new debugstream and keep the global debug
1808         object here.
1809
1810 2003-09-22  Angus Leeming  <leeming@lyx.org>
1811
1812         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1813         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1814         an incomplete class LyXFont.
1815
1816 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1817
1818         * factory.C: bug fix in branches
1819
1820 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1821
1822         * lyxfunc.C (processKeySym): adjust
1823         (dispatch): adjust
1824         (dispatch): change arg name from ev to func, adjust
1825         (sendDispatchMessage): ditto
1826
1827         * lyx_main.C (defaultKeyBindings): adjust keybindings
1828         (deadKeyBindings): ditto
1829
1830         * kbsequence.C (addkey): return a FuncRequest
1831
1832         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1833
1834         * kbmap.C (bind): take a FuncRequest as arg, adjust
1835         (read): adjust
1836         (lookup): adjust
1837         (defkey): change to take a FuncRequest as arg, adjust
1838         (findbinding): take a FuncRequest as arg, adjust.
1839
1840         * funcrequest.h (operator=): added
1841
1842         * funcrequest.C (FuncRequest): default kb_action changed from
1843         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1844
1845         * buffer.C (dispatch): simplify
1846         (dispatch): adjust to take a FuncRequest as arg, adjust
1847
1848         * boost.C (assertion_failed): change assertion message slightly
1849
1850         * ToolbarBackend.C (read): simplify
1851
1852         * MenuBackend.C (binding): adjust call to findbinding, add a
1853         message if no binding is found.
1854         (read): simplify
1855         (expandToc): correct by adding a empty FuncRequest
1856
1857         * LyXAction.C: include <boost/assert.hpp>
1858         (isPseudoAction): delete function
1859         (LookupFunc): change name to...
1860         (lookupFunc): this. change return type to FuncRequest.
1861         (getActionName): take kb_action as arg, simplify
1862         (funcHasFlag): add an assert, simplify.
1863
1864 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1865
1866         * toc.C (action): return a FuncRequest, simplify
1867
1868         * lyxfunc.C (processKeySym): adjust
1869         (getStatus): delete version that takes an int.
1870         (getStatus): adjust
1871         (dispatch): delete version that takes action as int
1872         (dispatch): adjust
1873         (sendDispatchMessage): simplify and adjust
1874
1875         * funcrequest.C (getArg): take unsigned int as arg
1876
1877         * ToolbarBackend.C (read): adjust
1878         (add): delete version that takes func as a string.
1879         (getIton): take a FuncRequest as arg
1880
1881         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1882         action.
1883
1884         * MenuBackend.C (MenuItem): add a new construct that only takes a
1885         Kind, simplify the constructor use for submenus.
1886         (add): adjust
1887         (expandLastfiles): adjust
1888         (expandDocuments): adjust
1889         (expandFormats): adjust
1890         (expandFloatListInsert): adjust
1891         (expandFloatInsert): adjust
1892         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1893
1894         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1895         Remove class variables lyx_pseudo_map and lyx_arg_map
1896
1897         * LyXAction.C (searchActionArg): delete function
1898         (getPseudoAction): delete function
1899         (retrieveActionArg): delete function
1900         (LookupFunc): make it return kb_action, simplify.
1901         (getActionName): simplify
1902
1903         * factory.C (createInset): fix new bug
1904
1905 2003-09-19  Angus Leeming  <leeming@lyx.org>
1906
1907         * CutAndPaste.C (pasteSelection): remove fudge used to set the
1908         masterFilename_ parameter in the include inset.
1909
1910         * factory.C (createInset): changes due to the changes to InsetInclude.
1911
1912 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1913
1914         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1915
1916 2003-09-18  Angus Leeming  <leeming@lyx.org>
1917
1918         * buffer.C:
1919         * BufferView.C: pass the buffer when calling Inset::getLabelList,
1920         Inset::fillWithBibKeys.
1921         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1922
1923 2003-09-18  Angus Leeming  <leeming@lyx.org>
1924
1925         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1926         variables.
1927         (ctor): pass and store a 'Buffer const &'
1928         (buffer): new member function.
1929
1930         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1931         '*this' to the LaTeXFeatures ctor.
1932
1933 2003-09-18  Angus Leeming  <leeming@lyx.org>
1934
1935         * LColor.h:
1936         * lyxfont.C:
1937         * lyxfont.h:
1938         * lyxtext.h:
1939         * text.C: rename EnumLColor as LColor_color.
1940
1941 2003-09-18  Angus Leeming  <leeming@lyx.org>
1942
1943         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1944         remove #include "insets/insetbase.h" from cursor.h.
1945
1946 2003-09-18  Angus Leeming  <leeming@lyx.org>
1947
1948         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1949         InsetOld_code to remove #include "inset.h".
1950
1951         * iterators.C: add #include "insets/inset.h"
1952
1953 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
1954
1955         * BufferView.C: remove more locking stuff that apparently doesn't
1956         do anything sensible.
1957
1958 2003-09-16  André Pönitz  <poenitz@gmx.net>
1959
1960         * paragraph.[Ch]:
1961         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1962           performance boost.
1963
1964 2003-09-16  Angus Leeming  <leeming@lyx.org>
1965
1966         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1967
1968         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1969         arg/return type.
1970
1971         * paragraph.h: remove #include "lyxfont.h". Forward declare
1972         LyXFont_size.
1973
1974 2003-09-16  Angus Leeming  <leeming@lyx.org>
1975
1976         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1977         of support/textutils.h.
1978         (isWord): move the contents of support/textutils.h's IsWordChar here.
1979
1980         * buffer.C:
1981         * lyxfind.C:
1982         * rowpainter.C:
1983         * text.C:
1984         * text2.C: add #include "paragraph.h".
1985
1986         * rowpainter.C:
1987         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1988
1989 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1990
1991         * main.C:
1992         * lyx_main.C:
1993         * lyx_cb.C:
1994         * buffer.C:
1995         * LaTeX.C: use namespace alias for lyx::support::os
1996
1997 2003-09-16  Angus Leeming  <leeming@lyx.org>
1998
1999         * bufferparams.C:
2000         * bufferview_funcs.C:
2001         * factory.C:
2002         * lyxfunc.C:
2003         * paragraph_pimpl.C:
2004         * rowpainter.C:
2005         * text.C: add #include "LColor.h".
2006
2007 2003-09-16  Angus Leeming  <leeming@lyx.org>
2008
2009         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2010         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2011         return LyXFont &.
2012         Store the FontBits::color variable as an int rather than as an
2013         LColor::colorso that we can move LColor.h out of the lyxfont.h header
2014         file.
2015
2016         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2017         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2018         string calls together.
2019
2020         * lyxrc.C: add #include "LColor.h".
2021
2022 2003-09-15  Angus Leeming  <leeming@lyx.org>
2023
2024         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2025         a cow_ptr.
2026
2027 2003-09-15  Angus Leeming  <leeming@lyx.org>
2028
2029         * LColor.h: add an EnumLColor wrapper for LColor::color.
2030
2031         * lyxfont.[Ch] (color, setColor, realColor):
2032         * lyxtext.h, text.C (backgroundColor):
2033         pass EnumLColor args to/from the functions, rather than LColor::color
2034         ones.
2035
2036         * lyxfont.h:
2037         * lyxtext.h: forward declare EnumLColor.
2038
2039         * lyx_main.C: add #include "LColor.h".
2040
2041 2003-09-15  Angus Leeming  <leeming@lyx.org>
2042
2043         * .cvsignore: add lyx-gtk.
2044
2045 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2046
2047         * Chktex.C
2048         * LaTeX.C
2049         * LaTeXFeatures.C
2050         * ParagraphParameters.C
2051         * Spacing.C
2052         * buffer.C
2053         * bufferparams.C
2054         * bufferview_funcs.C
2055         * chset.C
2056         * counters.C
2057         * funcrequest.C
2058         * lyxfont.C
2059         * lyxgluelength.C
2060         * lyxlength.C
2061         * paragraph.C
2062         * paragraph_funcs.C
2063         * text3.C
2064         * vc-backend.C: remove usage of STRCONV
2065
2066 2003-09-15  Angus Leeming  <leeming@lyx.org>
2067
2068         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2069         explicitly define the color passed to the painter.
2070
2071 2003-09-15  Angus Leeming  <leeming@lyx.org>
2072
2073         * bufferparams.C (BufferParams): reorder member initializers to avoid
2074         compiler warning.
2075
2076 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
2077
2078         * CutAndPaste.C (pasteSelection): remove an outdated #warning
2079         * text.C (updateRowPositions): remove an unusual nop
2080
2081 2003-09-12  André Pönitz  <poenitz@gmx.net>
2082
2083         * BufferView_pimpl.C:
2084         * Bullet.C:
2085         * layout.h:
2086         * lyxfunc.C:
2087         * lyxlayout.[Ch]:
2088         * lyxtextclass.C:
2089         * rowpainter.C:
2090         * text.C:
2091         * text2.C:
2092         * Counters.[Ch]: finish the 'automatic counters' job
2093
2094 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2095
2096         * aspell.C: include <boost/assert.cpp> (compile fix)
2097
2098 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
2099
2100         * boost.C (assertion_failed): use lyx::support::abort instead of
2101         assert.
2102
2103 2003-09-10  Angus Leeming  <leeming@lyx.org>
2104
2105         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2106         with their _fwd progeny.
2107
2108 2003-09-09  Angus Leeming  <leeming@lyx.org>
2109
2110         134 files throughtout the source tree: replace 'using namespace abc;'
2111         directives with the appropriate 'using abc::xyz;' declarations.
2112
2113 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2114
2115         * boost.C (emergencyCleanup): moved here from LAssert.c
2116         (assertion_failed): new function, called by BOOST_ASSERT
2117
2118         * several files: change Assert to BOOST_ASSERT
2119
2120 2003-09-09  Angus Leeming  <leeming@lyx.org>
2121
2122         * buffer.[Ch]: Add an Impl class and move Buffer's member
2123         variables into it. As a result move several header files out of
2124         buffer.h.
2125
2126         Add header files to lots of .C files all over the tree as a result.
2127
2128 2003-09-09  Angus Leeming  <leeming@lyx.org>
2129
2130         * buffer.[Ch]: make Buffer's member variables private. Add
2131         accessor functions.
2132
2133         Lots of changes all over the tree as a result.
2134
2135 2003-09-08  Angus Leeming  <leeming@lyx.org>
2136
2137         * graph.C: #include <config.h>.
2138
2139 2003-09-08  Angus Leeming  <leeming@lyx.org>
2140
2141         * BranchList.C:
2142         * BufferView.C:
2143         * BufferView_pimpl.C:
2144         * CutAndPaste.C:
2145         * DepTable.C:
2146         * LaTeX.C:
2147         * LaTeXFeatures.C:
2148         * LyXAction.C:
2149         * MenuBackend.C:
2150         * TextCache.C:
2151         * aspell.C:
2152         * buffer.C:
2153         * bufferlist.C:
2154         * changes.C:
2155         * chset.C:
2156         * converter.C:
2157         * counters.C:
2158         * debug.C:
2159         * graph.C:
2160         * ispell.C:
2161         * lyx_cb.C:
2162         * lyxfind.C:
2163         * lyxfunc.C:
2164         * lyxlex_pimpl.C:
2165         * lyxrc.C:
2166         * lyxrow.C:
2167         * paragraph.C:
2168         * rowpainter.C:
2169         * texrow.C:
2170         * text.C:
2171         * text2.C:
2172         * toc.C: remove redundant using directives.
2173
2174 2003-09-07  Angus Leeming  <leeming@lyx.org>
2175
2176         * LaTeXFeatures.h: remove #include "support/types.h".
2177         * ToolbarBackend.h: remove #include <algorithm>.
2178         * changes.h: remove #include <ctime>.
2179         * debug.h: remove #include <iosfwd>.
2180         * graph.h: remove #include "support/std_string.h".
2181         * lyx_main.h: remove #include <csignal>.
2182         * lyxlex_pimpl.h: remove #include <fstream>.
2183         * sgml.h: remove #include <algorithm>, <utility>.
2184         * toc.h: remove #include "support/std_ostream.h".
2185         Add #include <iosfwd>.
2186
2187 2003-09-07  Angus Leeming  <leeming@lyx.org>
2188
2189         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2190
2191         * converter.h: forward declare LatexRunParams.
2192         * encoding.h: remove #include "lyxrc.h".
2193         * lyxtext.h: remove #include "LColor.h".
2194         * lyxtextclass.h: remove #include "support/types.h".
2195         * trans.h: remove #include "tex-accent.h".
2196         * trans_mgr.h: remove #include "tex-accent.h".
2197         * insets/inset.h: remove #include "support/types.h", <vector>.
2198         * insets/insetcollapsable.h: remove #include "LColor.h".
2199         * insets/insetinclude.h: remove #include "dimension.h".
2200         * insets/insetlatexaccent.h: remove #include "dimension.h".
2201         * insets/insetoptarg.h:: remove #include "insettext.h".
2202         * insets/insettext.h: remove #include "dimension.h",
2203         <boost/shared_ptr.hpp>
2204
2205         * insets/renderers.h: add #include "dimension.h".
2206         * insets/updatableinset.h: add #include "support/types.h".
2207
2208         * many .C files: Associated changes.
2209
2210 2003-09-06  Angus Leeming  <leeming@lyx.org>
2211
2212         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2213         one, inside testInvariant.
2214
2215         * PrinterParams.C: new file.
2216         * PrinterParams.[Ch]: move the function bodies out of line.
2217
2218 2003-09-06  Angus Leeming  <leeming@lyx.org>
2219
2220         * ParagraphParameters.h: forward declare ParameterStruct rather than
2221         including its header file.
2222         (depth): moved out-of-line.
2223
2224 2003-09-06  Angus Leeming  <leeming@lyx.org>
2225
2226         * BufferView_pimpl.h:
2227         * kbmap.h:
2228         * kbsequence.h:
2229         * lyxfunc.h: forward declare LyXKeySym rather than
2230         #include "frontends/LyXKeySym.h".
2231
2232         * BufferView_pimpl.C:
2233         * kbmap.C:
2234         * kbsequence.C:
2235         * lyxfunc.C: associated changes.
2236
2237 2003-09-06  Angus Leeming  <leeming@lyx.org>
2238
2239         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2240         As a result, can remove the #include "insets/inset.h" from BufferView.h
2241
2242 2003-09-06  Angus Leeming  <leeming@lyx.org>
2243
2244         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2245         As a result, can remove the #include "insets/inset.h" from BufferView.h
2246
2247 2003-09-06  Angus Leeming  <leeming@lyx.org>
2248
2249         * buffer_funcs.C:
2250         * buffer.h:
2251         * bufferlist.C:
2252         * BufferView.C:
2253         * bufferview_funcs.C:
2254         * BufferView_pimpl.C:
2255         * CutAndPaste.C:
2256         * lyx_cb.C:
2257         * lyxfunc.C:
2258         * paragraph.h:
2259         * ParagraphParameters.C:
2260         * tabular.C:
2261         * text3.C:
2262         * toc.C:
2263         * undo_funcs.C:
2264         * frontends/controllers/ControlDocument.C:
2265         * insets/insetcaption.C: rearrange the #includes into some sort of
2266         coherent order.
2267
2268         * buffer.h: remove #includes ErrorList.h, undo.h
2269
2270 2003-09-06  Angus Leeming  <leeming@lyx.org>
2271
2272         * support/types.h: add a 'depth_type' typedef, used to store the
2273         nesting depth of a paragraph.
2274
2275         * paragraph.h:
2276         * ParameterStruct.h: use this lyx::depth_type typedef rather than
2277         defining explicitly.
2278
2279         * buffer.h:
2280         * paragraph_funcs.h:
2281         * ParagraphParameters.h:
2282         * sgml.h: use lyx::depth_type rather than Paragraph or
2283         ParameterStruct's depth_type.
2284
2285         * buffer.h
2286         * paragraph_funcs.h: no need to #include paragraph.h anymore.
2287
2288         * BufferView.C:
2289         * BufferView_pimpl.C:
2290         * CutAndPaste.C:
2291         * ParagraphParameters.C:
2292         * buffer_funcs.C:
2293         * bufferlist.C:
2294         * bufferview_funcs.C:
2295         * lyx_cb.C:
2296         * lyxfunc.C:
2297         * tabular.C:
2298         * text3.C:
2299         * toc.C:
2300         * undo_funcs.C:
2301         * frontends/LyXView.C:
2302         * frontends/controllers/ControlDocument.C:
2303         * frontends/controllers/ControlErrorList.C:
2304         * insets/insetbibitem.C:
2305         * insets/insetbranch.C:
2306         * insets/insetcaption.C:
2307         * insets/insetcollapsable.C:
2308         * insets/insetenv.C:
2309         * insets/insetert.C:
2310         * insets/insetfloat.C:
2311         * insets/insetfoot.C:
2312         * insets/insetfootlike.C:
2313         * insets/insetnewline.C:
2314         * insets/insetquotes.C:
2315         * insets/insettabular.C:
2316         * insets/insettext.C:
2317         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2318
2319         * frontends/controllers/ControlChanges.C: #include "changes.h".
2320
2321 2003-09-06  Angus Leeming  <leeming@lyx.org>
2322
2323         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2324         than #including paragraph.h.
2325
2326         * ParagraphList.h:
2327         * RowList.h: deleted. Superfluous.
2328
2329         * CutAndPaste.h:
2330         * iterators.h:
2331         * lyxcursor.h:
2332         * lyxtext.h:
2333         * text_funcs.h:
2334         * undo.h:
2335         * undo_funcs.h:
2336         * insets/inset.h:
2337         * insets/insettext.h: use ParagraphList_fwd.h rather than
2338         ParagraphList.h.
2339
2340         * paragraph.h: don't forward declare ParagraphList.
2341
2342         * buffer.h:
2343         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2344         rather than ParagraphList.h. paragraph.h is still needed for the
2345         Paragraph::depth_type parameters.
2346
2347         * textcursor.h: enable it to compile stand-alone in light of the
2348         above changes.
2349
2350         * bufferview_funcs.C:
2351         * iterators.C:
2352         * lyxfunc.C:
2353         * lyxrow_funcs.C:
2354         * paragraph.C:
2355         * rowpainter.C:
2356         * text.C:
2357         * text2.C:
2358         * text3.C:
2359         * text_funcs.C:
2360         * textcursor.C:
2361         * undo.C:
2362         * frontends/controllers/ControlParagraph.C:
2363         * frontends/controllers/ControlTabular.C:
2364         * insets/insetmarginal.C:
2365         * insets/insetminipage.C:
2366         * insets/insetnote.C:
2367         * insets/insetoptarg.C: add header files needed to compile again.
2368
2369 2003-09-06  Angus Leeming  <leeming@lyx.org>
2370
2371         * RowList_fwd.h: new file, forward-declaring Row rather than
2372         #including lyxrow.h.
2373
2374         * lyxrow_funcs.h:
2375         * lyxtext.h:
2376         * paragraph.h:
2377         * insets/insettext.h: use it instead of RowList.h
2378
2379         * bufferview_funcs.C:
2380         * lyxfunc.C:
2381         * lyxrow_funcs.C:
2382         * paragraph.C:
2383         * rowpainter.C:
2384         * text.C:
2385         * text2.C:
2386         * text3.C: #include "RowList.h".
2387
2388 2003-09-05  Angus Leeming  <leeming@lyx.org>
2389
2390         * factory.C (createInset):
2391         * vspace.C (c-tor): replace sscanf call with an istringstream.
2392         * ispell.C: re-add missing HP/UX headers.
2393         * lyxserver.C: re-add missing  os2 headers.
2394
2395 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
2396
2397         * BranchList.C:
2398         * graph.C:
2399         * ispell.C:
2400         * lastfiles.C:
2401         * lyx_cb.C:
2402         * lyxserver.C:
2403         * texrow.C:
2404         * text3.C: re-add missing system headers, needed for 2.95.2.
2405
2406 2003-09-05  Angus Leeming  <leeming@lyx.org>
2407
2408         Changes most place everywhere due to the removal of using directives
2409         from support/std_sstream.h.
2410
2411 2003-09-05  Angus Leeming  <leeming@lyx.org>
2412
2413         Replace LString.h with support/std_string.h,
2414         Lsstream.h with support/std_sstream.h,
2415         support/LIstream.h with support/std_istream.h,
2416         support/LOstream.h with support/std_ostream.h.
2417
2418         Changes resulting throughout the tree.
2419
2420 2003-09-05  Angus Leeming  <leeming@lyx.org>
2421
2422         * sgml.h: ensure that the header file can be compiled stand-alone.
2423         * *.C: strip out redundant #includes. (320 in total.)
2424
2425 2003-09-04  Angus Leeming  <leeming@lyx.org>
2426
2427         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2428         here (from getPackages).
2429
2430         * debug.[Ch]: add a new EXTERNAL tag.
2431
2432 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2433
2434         * text2.C (cursorEnd): simplify
2435         (setCursor): adjust
2436         (getColumnNearX): adjust
2437
2438         * text.C (computeBidiTables): adjust
2439         (fill): adjust
2440
2441         * rowpainter.C (paintChars): adjust
2442         (paintSelection): adjust
2443         (paintChangeBar): adjust
2444         (paintText): adjust
2445
2446         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2447         lastPos instead.
2448         (numberOfSeparators): adjust
2449
2450 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2451
2452         * LyXAction.C:
2453         * box.[Ch]:
2454         * lfuns.h:
2455         * lyxfunc.C:
2456         * text3.C: Restricts the mouse click functionality
2457         of insets like bibtex, include, toc and floatlist to the visible
2458         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2459         up the dialogs. Cursor has to be in front of the inset (i.e.
2460         start of row) for this to function.
2461
2462 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2463
2464         * bufferview_funcs.C (currentState): output row information
2465
2466 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2467
2468         * bufferview_funcs.C (currentState): output paragraph position
2469
2470 2003-09-04  Angus Leeming  <leeming@lyx.org>
2471
2472         * FloatList.h: move out #include "Floating.h".
2473         * LaTeX.h: move out #include "DepTable.h".
2474         * LyXAction.h: move out #include "funcrequest.h".
2475         * buffer.h: move out #include "author.h", "iterators.h".
2476         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2477         * lyx_main.h: move out #include "errorlist.h".
2478         * lyxfunc.h: move out #include "FuncStatus.h".
2479         * lyxtext: move out #include "lyxcursor.h".
2480         * paragraph_pimpl.h: move out #include "counters.h".
2481
2482 2003-09-03  Angus Leeming  <leeming@lyx.org>
2483
2484         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2485         preamble_snippets list, enabling us to add snippets to the preamble
2486         only if the snippet was not there already.
2487
2488 2003-09-04  Angus Leeming  <leeming@lyx.org>
2489
2490         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2491
2492 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2493
2494         * lyxfunc.C (dispatch): if fitCursor did something be sure to
2495         update
2496
2497 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2498
2499         * BranchList.C: point fix, earlier forgotten
2500
2501 2003-09-02  Angus Leeming  <leeming@lyx.org>
2502
2503         * box.C (contains): renamed from 'contained' after a fantastic
2504         amount of hot air.
2505
2506 2003-09-02  John Levon  <levon@movementarian.org>
2507
2508         * BufferView.C:
2509         * lyxcursor.h:
2510         * lyxcursor.C:
2511         * lyxfunc.C:
2512         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2513
2514 2003-09-02  John Levon  <levon@movementarian.org>
2515
2516         * text2.C: simplification of cursorEnd(), including partial
2517         fix for bug 1376
2518
2519 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2520
2521         * buffer.C (readFile): add a space
2522
2523 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
2524
2525         * BufferView_pimpl.C (update): remove bogus fitCursor() call
2526
2527 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2528
2529         * buffer.C (readFile): new function, take a filename and a
2530         ParagraphList::iterator
2531         (readFile): adjust
2532         (readFile): adjust, make it private. don't use setStream, make
2533         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2534         always contain the filename.
2535
2536         * BufferView.C (insertLyXFile): simplify and make it work for
2537         gzipped files.
2538
2539 2003-08-30  John Levon  <levon@movementarian.org>
2540
2541         * Makefile.am: fix dist (from Kayvan)
2542
2543 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2544
2545         * most files: change to use const Buffer refs
2546
2547 2003-08-27  André Pönitz  <poenitz@gmx.net>
2548
2549         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2550         on top of ownerPar().
2551
2552 2003-08-27  John Levon  <levon@movementarian.org>
2553
2554         * funcrequest.C: properly initialise POD members
2555
2556 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2557
2558         * lyxtext.h (top_y): move top_y from here
2559         * text.C:
2560         * text2.C:
2561         * text3.C:
2562         * BufferView.[Ch]:
2563         * BufferView_pimpl.[Ch]: to here
2564         * frontends/screen.C:
2565         * insets/insettabular.C:
2566         * insets/insettext.C: adjust
2567         * rowpainter.[Ch] (paintRows): remove LyXText & argument
2568
2569 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2570
2571         * BufferView.[Ch]:
2572         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2573
2574 2003-08-26  André Pönitz  <poenitz@gmx.net>
2575
2576         * paragraph_func.[Ch] (outerPar): new function
2577
2578         * paragraph.C:
2579         * paragraph_funcs.C:
2580         * paragraph_funcs.h:
2581         * paragraph_pimpl.C:
2582         * text2.C: remove Inset::par_owner
2583
2584 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
2585
2586         * lyxrow_funcs.C:
2587         * lyxtext.h:
2588         * text.C:
2589         * text2.C: eliminates the needFullRow/display() stuff
2590         altogether, putting the logic in metrics/draw in the insets.
2591
2592 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
2593
2594         * text2.C (redoParagraphInternal, redoParagraphs):
2595         * text.C (redoParagraph): add a call to updateRowPositions at the
2596         end of each 'metrics-like' call. Remove all others.
2597         (getRow): remove the 'y-computing' version.
2598         (getRowNearY): do not compute nor return the real y. Solve the
2599         'y < 0' problem and simplify.
2600
2601 2003-08-22  Angus Leeming  <leeming@lyx.org>
2602
2603         * *.[Ch]: clean-up of licence and author blurbs.
2604         Also move config.h out of a few .h files and into a few .C files.
2605
2606 2003-08-22  André Pönitz  <poenitz@gmx.net>
2607
2608         * lyxrow.[Ch]: add x_ and *fill_ members
2609
2610         * lyxtext.h:
2611         * text.C:
2612         * rowpainter.C:
2613         * text2.C: adjust/remove prepareToPrint() calls
2614
2615 2003-08-22  André Pönitz  <poenitz@gmx.net>
2616
2617         * lyxrow.[Ch]: add  end_ member
2618
2619         * lyxrow_funcs.C: use LyXRow::end_
2620
2621         * lyxtext.h (singleWidth): add LyXFont parameter
2622
2623         * rowpainter.C:
2624         * text2.C: adjust LyXText::singleWidth() calls
2625
2626         * text.C (redoParagraph): simplify row breaking logic
2627
2628
2629 2003-08-19  André Pönitz  <poenitz@gmx.net>
2630
2631         * funcrequest.C: initialize button_ member
2632
2633         * text3.C:
2634         * rowpainter.[Ch]: interface consolidation
2635
2636 2003-08-18  André Pönitz  <poenitz@gmx.net>
2637
2638         * BufferView.C:
2639         * BufferView_pimpl.C:
2640         * lyxfind.C:
2641         * paragraph_funcs.C:
2642         * rowpainter.C:
2643         * text3.C: remove LyXScreen::draw() and fitCursor calls
2644
2645         * BranchList.h: remove spurious semicolons
2646
2647         * MenuBackend.C: fix branchlist related crash
2648
2649 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
2650
2651         * BranchList.[Ch]:
2652         * InsetList.[Ch]:
2653         * LColor.[Ch]:
2654         * LyXAction.C:
2655         * Makefile.am:
2656         * MenuBackend.[Ch]:
2657         * bufferparams.[Ch]:
2658         * factory.C:
2659         * lfuns.h:
2660         * lyxfunc.C:
2661         * text3.C: implements the 'branch inset'
2662         idea. This allows the output of various versions of a document
2663         from a single source version, selectively outputing or suppressing
2664         output of parts of the text.
2665         This implementation contains a 'branch list editor' in a separate
2666         tab of the document settings dialog. Branches are user definable
2667         and have a "display colour" to distinguish them on-screen.
2668
2669         ColorHandler was somewhat cleaned up.
2670         (1) make possible a dynamically growing LColor list by allowing
2671         the graphic context cache to grow along (vector);
2672         (2) eliminate an IMHO unnecessary step in colour allocation.
2673
2674 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
2675
2676         * BufferView_pimpl.C: compile fix
2677
2678 2003-08-15  André Pönitz  <poenitz@gmx.net>
2679
2680         * rowpainter.C: remove extra metrics calls
2681
2682         * lyxtext.h: merge the two constructors into a single one,
2683           pass reference to owner's par list
2684
2685         * BufferView_pimpl.C:
2686         * text.C:
2687         * text2.C: adjust
2688
2689 2003-08-15  André Pönitz  <poenitz@gmx.net>
2690
2691         * lyxrow_funcs.[Ch]:
2692         * lyxtext.h:
2693         * paragraph.h:
2694         * paragraph_funcs.C:
2695         * rowpainter.C:
2696         * text.C:
2697         * text2.C:
2698         * text3.C:
2699         * text_funcs.C: split LyXText::rowlist_ into individual
2700         Paragraph::rows_ chunks
2701
2702         * BufferView.[Ch]:
2703         * BufferView_pimpl.[Ch]:
2704         * lyxfind.C:
2705         * lyxtext.h:
2706         * text3.C: remove toggleSelection()
2707
2708 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
2709
2710         * bufferlist.C: beautify two alerts (shorter text of buttons)
2711         * buffer.C: Remove redundant ' ' from message
2712         * tabular.h:
2713         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2714         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2715         rename VALIGN_CENTER to VALIGN_MIDDLE
2716
2717 2003-08-11  André Pönitz  <poenitz@gmx.net>
2718
2719         * lyxtext.h (getPar):
2720         * text.C: new function
2721
2722 2003-08-11  André Pönitz  <poenitz@gmx.net>
2723
2724         * Makefile.am:
2725         * tracer.[Ch]: remove unneeded files
2726
2727         * InsetList.[Ch]: remove resizeInsetsLyXText()
2728
2729         * lyxtext.h:
2730         * text.C:
2731         * text2.C:
2732         * text3.C: merge insertParagraphs() and appendParagraph()
2733         remove breakAgain(), update()
2734
2735         * BufferView_pimpl.[Ch]:
2736         * bufferview_funcs.[Ch]:
2737         * lyxfunc.C:
2738         * paragraph.[Ch]:
2739         * rowpainter.C:
2740         * tabular.C: adjust after text & InsetList changes.
2741
2742 2003-08-08  André Pönitz  <poenitz@gmx.net>
2743
2744         * text.C (insertChar, backspace): replace rowlist fiddling
2745         with rebreak of full par
2746
2747         * lyxtext.h:
2748         * text.C (breakAgainOneRow, redoHeightOfParagraph,
2749         checkParagraph, updateInset): removed
2750
2751 2003-08-07  André Pönitz  <poenitz@gmx.net>
2752
2753         * paragraph.C:
2754         * text3.C: merge some LFUN handlers, remove dead code
2755
2756 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2757
2758         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2759
2760 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
2761
2762         * text2.C (DEPM): fix part of bug 1255 and 1256
2763
2764 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2765
2766         * BufferView_pimpl.C (workAreaDispatch): change to use
2767         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2768         that are no mouse related.
2769
2770 2003-08-05  André Pönitz  <poenitz@gmx.net>
2771
2772         * BufferView.[Ch]:
2773         * BufferView_pimpl.[Ch]:
2774         * bufferview_funcs.C:
2775         * text2.C:
2776         * text3.C: rip out "deep update"
2777
2778         * textcursor.[Ch] (last_sel_cursor): remove unused member
2779
2780 2003-08-04  André Pönitz  <poenitz@gmx.net>
2781
2782         * BufferView.[Ch]:
2783         * BufferView_pimpl.[Ch]:
2784         * ParagraphParameters.C:
2785         * bufferview_funcs.C:
2786         * lyx_cb.C:
2787         * lyxfind.C:
2788         * lyxfunc.C:
2789         * text.C:
2790         * text2.C:
2791         * text3.C: replace "complicated" BufferView::update(...) calls with
2792         simpler ones.
2793
2794         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2795
2796 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2797
2798         * Makefile.am (lyx_SOURCES): add paper.h
2799
2800 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2801
2802         * Makefile.am: move things around so that both lyx-qt and
2803         lyx-xforms can be built (according to --with-frontend). Then lyx
2804         is a symbolic link to lyx-[firstfrontend]
2805
2806 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2807
2808         * Always use std::endl with lyxerr
2809
2810 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2811
2812         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2813
2814 2003-08-01  André Pönitz  <poenitz@gmx.net>
2815
2816         * BufferView.[Ch]:
2817         * BufferView_pimpl.[Ch]:
2818         * lyxfunc.C:
2819         * text3.C: merge BufferView::repaint() and BufferView::update()
2820
2821 2003-08-01  José Matos  <jamatos@lyx.org>
2822
2823         * buffer.[Ch]: file_format is no longer a buffer data element.
2824
2825 2003-08-01  André Pönitz  <poenitz@gmx.net>
2826
2827         * BufferView.C:
2828         * lyxtext.h:
2829         * text.C:
2830         * text2.C: make redoParagraph more independent of current cursor
2831
2832         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2833         * text.C:
2834         * text2.C: remove unneeded members
2835
2836 2003-07-30  André Pönitz  <poenitz@gmx.net>
2837
2838         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2839
2840         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2841           create a single function...
2842
2843         * paragraph_funcs.C (moveItem): ... here.
2844
2845         * text.C:
2846           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2847
2848 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2849
2850         * LColor.[Ch]: Add comment and greyedout logical colors.
2851
2852 2003-07-30  André Pönitz  <poenitz@gmx.net>
2853
2854         * tabular.C: don't use Assert too heavily. This crashes where it
2855           shouldn't
2856
2857 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2858
2859         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2860         is disabled (bug 1232)
2861
2862 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2863
2864         * factory.C: limited 'arg' scope
2865
2866 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2867
2868         * factory.C: fixed Note submenu issues
2869
2870 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2871
2872         * factory.C: submenu for Note/Comment/Greyedout
2873
2874 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2875
2876         * lyx_main.C (LyX):
2877         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2878
2879 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2880
2881         * LaTeXFeatures.C:
2882         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2883         greyedout. Patch provided by Jürgen Spitzmüller.
2884
2885 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2886
2887         * kbmap.C (read): fix error message when reading bind files
2888
2889 2003-07-29  Angus Leeming  <leeming@lyx.org>
2890
2891         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2892         certainly does not do what it purports to do. I am doing it, and
2893         us, a favour by killing it.
2894
2895 2003-07-28  José Matos  <jamatos@lyx.org>
2896
2897         * buffer.C (readBody, do_writeFile):
2898         * paragraph.C(readParagraph): \end_document replaces \the_end.
2899
2900 2003-07-29  André Pönitz  <poenitz@gmx.net>
2901
2902         * BufferView.[Ch]:
2903         * BufferView_pimpl.[Ch]:
2904         * lyxfunc.C:
2905         * text2.C:
2906         * text3.C:
2907         * textcursor.[Ch]: remove toggleToggle & Co
2908
2909 2003-07-28  José Matos  <jamatos@fep.up.pt>
2910
2911         * buffer.C (readParagraph):
2912         * params_func (readParToken, readParagraph):
2913         * paragraph.C (write): \layout -> \begin_layout.
2914
2915 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2916
2917         * lyxlex_pimpl.C (setFile): clean up slightly.
2918
2919         * bufferparams.h: add compressed var
2920
2921         * buffer_funcs.C (readFile): adjust for LyXLex change
2922         (newFile): ditto + simplify
2923
2924         * buffer.C (writeFile): handle writing of compressed files
2925
2926         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2927         Check if the file is compressed and set a bufferparm if so.
2928
2929         * Makefile.am (lyx_LDADD): remove explicit -lz
2930
2931 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2932
2933         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2934         makeDocBookFile): put the real LyX version in the first line of
2935         the file
2936
2937         * version.h:
2938         * version.C.in: remove lyx_docversion
2939
2940         * tabular.C (write_attribute): add a template-based version to
2941         write enums properly
2942
2943 2003-07-28  André Pönitz  <poenitz@gmx.net>
2944
2945         * lyxtext.h:
2946         * text.C:
2947         * text2.C:
2948         * text3.C: use doubles again for x-coordinates. They are needed.
2949
2950 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2951
2952         * messages.C (getLocaleDir): use lyx_localedir()
2953
2954         * lyxlex_pimpl.C (setFile): compress stuff
2955
2956         * buffer.C (writeFile): add some compression stuff
2957         (do_writeFile): new func, dont call expliti close... will this
2958         breake anything?
2959
2960         * Makefile.am (lyx_LDADD): add -lz
2961
2962 2003-07-28  José Matos  <jamatos@fep.up.pt>
2963
2964         * buffer.C: increment file format.
2965         * paragraph_funcs (readParagraph, readParToken):
2966         * paragraph.C (readParagraph): add \end_layout.
2967
2968 2003-07-27  Angus Leeming  <leeming@lyx.org>
2969
2970         * Makefile.am: remove special casing for configure-time setting of
2971         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2972
2973         * lyx_main.C (init): remove all Jean-Marc's magic setting of
2974         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2975
2976 2003-07-26  André Pönitz  <poenitz@gmx.net>
2977
2978         * paragraph_func.[Ch]:
2979         * paragraph.C (realizeFont): inline it whereever it is used
2980
2981         * rowpainter.C:
2982         * text.C:
2983         * text2.C:
2984         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2985
2986
2987 2003-07-26  André Pönitz  <poenitz@gmx.net>
2988
2989         *       lyxtext.h:
2990         * text.C:
2991         * text2.C: get rid of LyXText::need_break_row
2992
2993 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2994
2995         * toc.[Ch]: put namespace toc inside namespace lyx
2996
2997         * MenuBackend.C (expandToc2): adjust for lyx::toc
2998         (expandToc): ditto
2999
3000         * lyxfunc.C (dispatch): adjust for lyx::find
3001
3002         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3003         lyx::find instead. Reorganize a bit.
3004         (LyXReplace): rename to replace
3005         (LyXFind): rename to find
3006
3007         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3008         (dispatch): ditto
3009
3010 2003-07-26  André Pönitz  <poenitz@gmx.net>
3011
3012         * text.C (setHeightOfRow): restrict scope of temporary variable
3013
3014         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
3015           code (never has been used?)
3016
3017 2003-07-27  Asger Alstrup  <alstrup@local>
3018
3019         * text.C (fill): Optimise algorithm to exploit that we can reuse
3020         the LyXFont for many characters.
3021         (setHeightOfRow): Same thing.
3022         (rowBreakPoint): Same thing.
3023
3024 2003-07-26  Asger Alstrup  <alstrup@local>
3025
3026         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3027
3028         * text.C (singleWidth): Spurious font copying in hot-spot
3029         singleWidth avoided. Reorder tests for arabic for efficiency.
3030
3031         * text.C (fill): handle empty paragraphs better.
3032
3033 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3034
3035         * ispell.C:
3036         * encoding.h: add includes
3037
3038         * lyxrc.C: remove reading of bind files
3039
3040         * lyx_main.C (init): setup bindings and menus only if we have a
3041         gui.
3042
3043         * kbmap.C (read): new method. Do the actual reading of bind
3044         files.
3045
3046         * converter.C (dvipdfm_options):
3047         * bufferparams.C:
3048         * lyxrc.C (read):
3049         (output): adapt PAPER_* enums.
3050
3051         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3052
3053         * bufferparams.h: remove paper-related enums from there
3054
3055         * paper.h: New file. A trivial header file to hold paper-related
3056         enums. It should later expand to contain many paper-related
3057         horrors access.
3058
3059         * lyxrc.C: declare extern displayTranslator
3060
3061 2003-07-27  José Matos  <jamatos@fep.up.pt>
3062
3063         * tabular.[Ch] (linuxdoc): add support for tables and figures
3064         (linuxdoc).
3065
3066 2003-07-27  José Matos  <jamatos@fep.up.pt>
3067
3068         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3069         consistency in both functions.
3070         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3071
3072 2003-07-26  Asger Alstrup  <alstrup@local>
3073
3074         * rowpainter.C (paintRows): Change algorithm to work directly on
3075         the insets rather than asking every character in the document
3076         whether its an inset.
3077
3078 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
3079
3080         * buffer.C (openFileWrite): factorize some code
3081
3082 2003-07-26  Angus Leeming  <leeming@lyx.org>
3083
3084         * lyx_cb.C:
3085         * lyx_main.[Ch]: replace occurances of system_tempdir with
3086         os::getTmpDir().
3087
3088 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3089
3090         * rename Inset to InsetOld
3091
3092 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
3093
3094         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3095         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3096         which I think is a bit clearer. EDIT is gone, since it was
3097         premature optimisation, and broken for mathed anyway.
3098         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3099         with cursor positioning in insets as well (math insets still do not
3100         work, but that's a different story anyway.) It mysteriously
3101         crashes sometimes with undo in the first paragraph, but I'm fairly
3102         confident that this is a compiler bug.
3103
3104 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3105
3106         * paragraph.C (Paragraph): adjust for new clone return type
3107         (operator==): ditto
3108         (copyIntoMinibuffer): ditto
3109
3110 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
3111
3112         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3113         by not having a special case, and always doing a full rebreak of
3114         the document after undo.
3115
3116 2003-07-23  Angus Leeming  <leeming@lyx.org>
3117
3118         * factory.C (createInset): InsetExternal::setParams now takes a
3119         Buffer const * arg.
3120
3121 2003-07-23  Angus Leeming  <leeming@lyx.org>
3122
3123         * factory.C (createInset): changed interface to the external and
3124         graphics mailers' string2params functions.
3125
3126 2003-07-23  Angus Leeming  <leeming@lyx.org>
3127
3128         * factory.C (createInset): pass a
3129         Buffer const * parameter to InsetExternalMailer's string2params.
3130
3131 2003-07-22  John Levon  <levon@movementarian.org>
3132
3133         * Thesaurus.h: include the right aiksaurus header
3134
3135 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3136
3137         * MenuBackend.C (expand): check menu shortcuts unconditionally
3138
3139 2003-07-21  Angus Leeming  <leeming@lyx.org>
3140
3141         * factory.C (createInset): pass a
3142         buffer_path parameter to InsetGraphicsMailer's string2params.
3143
3144 2003-07-21  Angus Leeming  <leeming@lyx.org>
3145
3146         * BufferView_pimpl.C (buffer):
3147         * buffer.C (d-tor):
3148         * lyx_main.C (LyX):
3149         * lyxfunc.C (dispatch):
3150         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3151         rather than the grfx shortcut.
3152
3153 2003-07-21  André Pönitz  <poenitz@gmx.net>
3154
3155         * rowpainter.C: remove unused variables
3156
3157         * tabular_funcs.C:
3158         * tabular_funcs.h: move to tabular.C
3159         * Makefile.am: adjust
3160
3161         * tabular.[Ch]: basic optical cleaning
3162
3163         * author.h: pass references, not values
3164
3165 2003-07-18  André Pönitz  <poenitz@gmx.net>
3166
3167         * lyxtext.h:
3168         * metricsinfo.C:
3169         * metricsinfo.h:
3170         * rowpainter.C:
3171         * text.C:
3172         * text2.C:
3173         * text3.C: two-phase drawing for InsetText and InsetTabular
3174         some float -> int changes.
3175
3176 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3177
3178         * lyx_main.C: fix the fix
3179
3180 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3181
3182         * lyx_main.C: fix a crash in batch mode if no files specified
3183         * converter.C: ws
3184
3185 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
3186
3187         * format.[Ch] (papersize): moved to BufferParams
3188         * converter.[Ch] (dvips_options): moved to BufferParams
3189         (dvipdfm_options): moved to anon namespace
3190         * bufferparams.[Ch]: added above functions.
3191
3192 2003-07-17  André Pönitz  <poenitz@gmx.net>
3193
3194         * lyxtext.h:
3195         * rowpainter.C:
3196         * text2.C: don't call inset->update() anymore
3197
3198         * metricsinfo.[Ch]: add convenience constructor
3199
3200 2003-07-16  André Pönitz  <poenitz@gmx.net>
3201
3202         * lyxcursor.[Ch]:
3203         * lyxfunc.[Ch]:
3204         * text.C:
3205         * text2.C: replace the LyXCursor::irow_ member with
3206          on-demand computation of the value
3207
3208 2003-07-16  John Levon  <levon@movementarian.org>
3209
3210         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3211
3212 2003-07-15  André Pönitz  <poenitz@gmx.net>
3213
3214         * text.C:
3215         * text2.C: remove no more needed refresh_row
3216
3217 2003-07-15  André Pönitz  <poenitz@gmx.net>
3218
3219         * lyxtext.h:
3220         * rowpainter.C:
3221         * text2.C:
3222         * text3.C: refresh_status tristate -> need_update bool
3223
3224 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
3225
3226         * lyxtext.h (init): remove reinit argument (act as if always true)
3227         * text2.C: adjust to that
3228
3229 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3230
3231         * bufferview_funcs.[Ch]: introduce function replaceSelection()
3232         * text3.C: use it to delete selections in some cases
3233         (bugs 441, 673, 702, 954).
3234
3235 2003-07-14  André Pönitz  <poenitz@gmx.net>
3236
3237         * rowpainter.[Ch]: reduce interface
3238
3239 2003-07-14  André Pönitz  <poenitz@gmx.net>
3240
3241         * BufferView_pimpl.C:
3242         * text2.C: adjust after removing unused BufferView * argument
3243
3244 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
3245
3246         * text2.C (init): fix a crash fired on resize
3247
3248 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
3249
3250         * buffer.[Ch]: added new closing signal
3251         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3252         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3253         BufferView::Pimpl via the closing the signal
3254
3255 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
3256
3257         * buffer.[Ch]: take out all bv-related from buffer
3258         * BufferView.C:
3259         * BufferView_pimpl.[Ch]: connect to new signals
3260         * CutAndPaste.C: removed useless asserts
3261         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3262         * lyxvc.[Ch]:
3263         * vc-backend.[Ch]:
3264         * lyxfunc.C: moved view-related funciontality from vc here
3265         * paragraph.C: removed outdated comments
3266         * text.C: ws
3267
3268 2003-07-10  André Pönitz  <poenitz@gmx.net>
3269
3270         * BufferView_pimpl.C:
3271         * tabular.h:
3272         * tabular_funcs.C:
3273         * text.C:
3274         * text2.C: remove InsetText::InnerCache, clean up consequences
3275
3276 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
3277
3278         * ispell.C: fix two typos in error messages
3279
3280 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
3281
3282         * Extend Note inset to other forms of annotation like Comment
3283         and Greyedout. Right button click gives dialog.
3284
3285         Files modified or added (+):
3286
3287         * insetnote.[Ch]
3288         * FormNote.[Ch]      +
3289         * ControlNote.[Ch]   +
3290         * form_note.fd       +
3291         * Makefile.am in frontends/xforms, frontends/xforms/forms,
3292         frontends/controllers
3293         * xforms/Dialogs.C
3294         * factory.C
3295
3296 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3297
3298         * aspell.C: add missing namespace lyx::support
3299
3300 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
3301
3302         * BufferView.[Ch] (newFile): Add
3303         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3304         * LaTeX.[Ch] (message): added this signal and use it
3305         * buffer.[Ch] (busy, message): added these signals and use them
3306         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3307         * converter.C:
3308         * exporter.C:
3309         * format.C:
3310         * importer.C: use buffer signals instead of direct bv calling
3311         * lyx_cb.[Ch] (ShowMessage): removed
3312         * lyx_main.C:
3313         * lyxfunc.C:
3314         * paragraph_funcs.C:
3315         * text2.C: use buffer signals
3316
3317 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3318
3319         * introduce namespace lyx::graphics
3320
3321 2003-07-02  André Pönitz  <poenitz@gmx.net>
3322
3323         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3324
3325 2003-07-01  André Pönitz  <poenitz@gmx.net>
3326
3327         * text.C:
3328         * text2.C:
3329         * text3.C:
3330         * text_funcs.[Ch]:
3331         * textcursor.h:
3332         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3333           text*.C to text_func.C
3334
3335 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3336
3337         * introduce namespace lyx::support
3338
3339 2003-06-30  André Pönitz  <poenitz@gmx.net>
3340
3341         * Chktex.C:
3342         * funcrequest.C:
3343         * lyxtext.h:
3344         * text.C: re-enable --with-included-string
3345
3346 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3347
3348         * textcursor.C: add <config.h>
3349
3350         * text.C (getWord): remove const from word_location arg
3351
3352         * lyxvc.C (getLogFile): fix const type order
3353
3354         * lyxtext.h: remove const from word_location arg, add arg name
3355
3356         * lyxlayout.h: currect type on labeltype.
3357
3358         * importer.C: correct \file
3359
3360         * converter.C (intToFormat): use std:: on ret val, ws changes
3361
3362         * bufferlist.h: correct \file
3363
3364         * buffer.C (makeLinuxDocFile): fix const type order
3365         (makeDocBookFile): ditto
3366         (fillWithBibKeys): use std:: on stdlib args.
3367
3368         * CutAndPaste.C: fix authors.
3369         (availableSelections): use std:: on return vector
3370
3371 2003-06-27  André Pönitz  <poenitz@gmx.net>
3372
3373         * BufferView_pimpl.C:
3374         * bufferview_funcs.C:
3375         * lyxcursor.C:
3376         * lyxcursor.h:
3377         * lyxfunc.C:
3378         * lyxtext.h:
3379         * rowpainter.C:
3380         * text.C:
3381         * text2.C:
3382         * text3.C: remove LyXCursor::row_ member
3383
3384         * lyxtext.h:
3385         * text.C: rename fullRebreak() to partialRebreak() and implement
3386           a fullRebreak() that really bereks fully
3387
3388         * textcursor.h: new struct for cursor-related data
3389
3390 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
3391
3392         * lyx_main.C (LyX): get full path of document loaded on the
3393         command line
3394
3395 2003-06-26  André Pönitz  <poenitz@gmx.net>
3396
3397         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3398           remove unused/broken operator>,<,>=.
3399
3400         *       text.C: remove only use of broken operator<= in an Assert().
3401
3402 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3403
3404         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3405         moved errorlist_.clear to showErrorList
3406
3407 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3408
3409         * converter.C (scanLog, runLaTeX):
3410         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3411         move the bv->showErrorList call to the callers
3412         * lyxfunc.C: i.e. here...
3413         * text2.C: and here
3414         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3415         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3416         namespace, the second to...
3417         * buffer_funcs (BufferFormat, parseErrors): added
3418         * errorlist.C (ErrorList(TeXErrors const &)): removed
3419
3420 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3421
3422         * ToolbarBackend.C (getIcon): complain when icon cannot be found
3423
3424 2003-06-24  "Garst R. Reese" <reese@isn.net>
3425
3426         * debug.C: fix typo
3427
3428 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3429
3430         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3431
3432         * version.C.in: change docversion to 1.4
3433
3434 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
3435
3436         * buffer.C: fix a bug just introduced
3437
3438 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
3439
3440         * buffer.[Ch]: added the parseError signal and use it, removed
3441         sgmlError
3442         * BufferView.[Ch] (addError): moved to ...
3443         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3444         to the Buffer::parseError signal to catch (guess what) parse errors
3445         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3446
3447 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
3448
3449         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3450         ability to create a buffer and to return an existing one from
3451         the list. Moved these functions to...
3452         * buffer_funcs.[Ch]: added
3453         * BufferView.[Ch] (loadLyXFile): added
3454         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3455         job removed from bufferlist::loadLyXFile.
3456         * buffer.C (setReadOnly): make it work without view
3457         (i.e added an if (users))
3458
3459 2003-06-19  Angus Leeming  <leeming@lyx.org>
3460
3461         * lfuns.h:
3462         * LyXAction.C (init):
3463         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3464         with LFUN_DIALOG_SHOW <name> <data>.
3465
3466 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3467
3468         * CutAndPaste.C (availableSelections): small compilation fix for
3469         ancient (gcc 2.9x) compilers
3470
3471 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3472
3473         * text3.C (cursorNext): add tmp var
3474
3475         * text2.C (updateCounters): for function calling out of for clause
3476         (replaceSelectionWithString): ditto
3477         (insertStringAsParagraphs): ditto
3478         (getColumnNearX): add tmp var
3479         (setCursorFromCoordinates): add tmp var
3480         (cursorDownParagraph): add tmp var
3481         (deleteEmptyParagraphMechanism): add tmp var
3482
3483         * text.C (insertChar): add tmp var
3484
3485         * rowpainter.C (paintDepthBar): add tmp var
3486
3487         * CutAndPaste.C (availableSelections): potentially check all
3488         paragraphs in a cut to fill the shown strings.
3489
3490 2003-06-18  André Pönitz  <poenitz@gmx.net>
3491
3492         * kbmap.[Ch]: use vector<> instead of list<>
3493
3494 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
3495
3496         * text3.C (dispatch): handle arg to LFUN_PASTE, call
3497         pasteSelection with index
3498
3499         * text2.C (pasteSelection): modify, call pasteSelection with index
3500
3501         * paragraph.C (asString): reimplement version with no interval to
3502         call the one with interval.
3503
3504         * lyxtext.h: add index arg to pasteSelection
3505
3506         * MenuBackend.C (MenuItem): handle PasteRecent
3507         (Menu::read::Menutags): add md_pasterecent
3508         (read): handle it
3509         (expandPasteRecent): new function
3510         (expand): use it
3511
3512         * MenuBackend.h: add PasteRecent to MenuItem::Kind
3513
3514         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3515         the limited stack
3516         (availableSelections): new function
3517
3518 2003-06-17  Angus Leeming  <leeming@lyx.org>
3519
3520         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3521
3522 2003-06-17  Angus Leeming  <leeming@lyx.org>
3523
3524         * lfuns.h:
3525         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3526
3527         * lyxfunc.C (dispatch): invoke it.
3528
3529 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3530
3531         * iterators.C (operator++, ParPosition): reintroduce some
3532         const_cast for the benefit of older compilers.
3533
3534 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3535
3536         * text3.C (dispatch): do not modify clipboard when doing
3537         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3538         LFUN_DELETE_SKIP on a selection selection
3539
3540 2003-06-16  André Pönitz  <poenitz@gmx.net>
3541
3542         * BufferView.C:
3543         * buffer.C:
3544         * buffer.h:
3545         * paragraph.C:
3546         * tabular.[Ch]: IU of clone() and getLabelList();
3547
3548 2003-06-13  André Pönitz  <poenitz@gmx.net>
3549
3550         * tabular.h: compactification
3551
3552 2003-06-12  André Pönitz  <poenitz@gmx.net>
3553
3554         * tabular.C:
3555         * tabular.h:
3556         * tabular_funcs.h: some renaming plus whitespace
3557
3558 2003-06-12  André Pönitz  <poenitz@gmx.net>
3559
3560         * BufferView.C:
3561         * BufferView_pimpl.C:
3562         * CutAndPaste.C:
3563         * buffer.C:
3564         * iterators.[Ch]:
3565         * lyxfunc.C:
3566         * text.C:
3567         * toc.C: Return a Paragraph & for ParIterator::operator*()
3568
3569 2003-06-11  John Levon  <levon@movementarian.org>
3570
3571         * lyx_main.C:
3572         * ToolbarBackend.h:
3573         * ToolbarBackend.C: add "Toolbars" section and
3574         put the flags there
3575
3576 2003-06-10  Angus Leeming  <leeming@lyx.org>
3577
3578         * lfuns.h:
3579         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3580
3581         * lyxfunc.C (dispatch): invoke it.
3582
3583 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3584
3585         * main.C: protect <ios> with HAVE_IOS
3586         (main): protect sync_with_stdio with HAVE_IOS
3587
3588 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
3589
3590         * text2.C (cutSelection): adjust
3591         (pasteSelection): adjust
3592
3593         * messages.C: handle get of empty string
3594
3595         * main.C (main): use sync_with_stdio(false)
3596
3597         * lyxfunc.C (dispatch): adjust
3598
3599         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3600         (WriteAs): remove unneeded BufferView arg.
3601
3602         * bufferparams.h: use correct types on papersize, papersize2 and
3603         paperpackage.
3604
3605         * bufferparams.C (readToken): adjust for type
3606         (writeLaTeX): add missing cases to switch.
3607
3608         * bufferlist.C (quitWriteBuffer): adjust
3609         (close): adjust
3610
3611         * buffer.C (asciiParagraph): remove some commented code.
3612
3613         * CutAndPaste.C: remove current_view extern variable.
3614         (cutSelection): add BufferParams arg.
3615         (eraseSelection): add BufferParams arg.
3616         (pasteSelection): add Buffer const & arg
3617
3618 2003-06-07  John Levon  <levon@movementarian.org>
3619
3620         * buffer.C:
3621         * paragraph_funcs.C:
3622         * paragraph_pimpl.C:
3623         * text.C:
3624         * text2.C:
3625         * paragraph.h:
3626         * paragraph.C: allow InsetERT to freely space lines,
3627         and some consolidation of code
3628
3629 2003-06-06  José Matos  <jamatos@fep.up.pt>
3630
3631         * buffer.C (makeDocBookFile): fix bug #821
3632
3633 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
3634
3635         * BufferView_pimpl.C (dispatch): use Dialogs::visible
3636
3637 2003-06-04  Angus Leeming  <leeming@lyx.org>
3638
3639         * buffer.C: bump format to 224.
3640
3641 2003-06-05  André Pönitz  <poenitz@gmx.net>
3642
3643         * text2.C (redoParagraphs): remove two const_cast<>
3644
3645 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3646
3647         * ParagraphList.h: remove last remnants of NO_STD_LIST
3648
3649 2003-06-03  Angus Leeming  <leeming@lyx.org>
3650
3651         * factory.C (createInset): small change to the way InsetExternal's params
3652         are set.
3653
3654 2003-06-04  André Pönitz  <poenitz@gmx.net>
3655
3656         * buffer.h: use Undo directly instead of shared_ptr<Undo>
3657
3658         * paragraph_pimpl.h:
3659         * paragraph.[Ch]: some Inset -> UpdatableInset changes
3660
3661         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3662
3663         * undo_funcs.C: make some simple cases of undo work again
3664
3665 2003-06-03  John Levon  <levon@movementarian.org>
3666
3667         * ispell.C: HPUX doesn't have sys/select.h
3668         (from Albert Chin)
3669
3670 2003-06-03  John Levon  <levon@movementarian.org>
3671
3672         * CutAndPaste.C: update tabular and include inset
3673         buffer references
3674
3675         * buffer.h:
3676         * paragraph.h:
3677         * paragraph.C: remove owningBuffer(), don't pass Buffer
3678         to clone()
3679
3680         * factory.C: insetGraphicsParams changed
3681
3682 2003-06-02  John Levon  <levon@movementarian.org>
3683
3684         * LyXAction.C:
3685         * factory.C:
3686         * lfuns.h:
3687         * lyxfunc.C:
3688         * text3.C: remove insetparent
3689
3690 2003-06-02  John Levon  <levon@movementarian.org>
3691
3692         * buffer.h:
3693         * buffer.C: fix inset_iterator.end(), move out of line
3694         (bug 1149)
3695
3696 2003-06-01  John Levon  <levon@movementarian.org>
3697
3698         * text3.C: use a proper cut/paste when doing inset
3699         insert (from Jürgen Spitzmüller)
3700
3701 2003-06-01  John Levon  <levon@movementarian.org>
3702
3703         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3704
3705 2003-05-30  André Pönitz  <poenitz@gmx.net>
3706
3707         * rowpainter.C: unify second drawing phase
3708
3709 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3710
3711         * trans_mgr.C: remove one case of current_view
3712
3713         * text2.C (cursorBottom): delete NO_STD_LIST stuff
3714
3715         * paragraph_funcs.h: remove paragraph.h include
3716
3717         * paragraph.h: delete NO_STD_LIST stuff
3718
3719         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3720
3721         * buffer.h: remove paragraph.h include
3722
3723         * ParagraphList.C: delete file
3724
3725         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3726
3727         * toc.C (getTocList): adjust
3728
3729         * paragraph_pimpl.C (validate): adjust
3730
3731         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3732
3733         * paragraph.C (Paragraph): adjust
3734         (getPositionOfInset): use const_iterator, adjust
3735         (bibitem): use const_iterator, adjust
3736         (setInsetOwner): adjust
3737
3738         * iterators.C (operator++): adjust
3739
3740         * InsetList.[Ch]: Replace selfmade iterator with standard
3741         vector::iterator also introduce const_iterator. Remove getPos,
3742         getInset and setInset from InsetTable. Adjust accordingly.
3743
3744         * BufferView.C (lockInset): adjust
3745         (ChangeInsets): adjust
3746
3747         * tabular.[Ch]: delete commented same_id functions
3748
3749 2003-05-28  John Levon  <levon@movementarian.org>
3750
3751         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3752
3753 2003-05-28  André Pönitz  <poenitz@gmx.net>
3754
3755         * metricsinfo.[Ch]: remove 'fullredraw' member
3756
3757 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3758
3759         * lyxtextclass.C (operator): remove caching.
3760
3761 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3762
3763         * text3.C: adjust
3764
3765         * text2.C (cursorBottom): adjust
3766         (setCounter): use ParagraphList::find, adjust
3767
3768         * text.C (workWidth): use ParagraphList::find, adjust
3769
3770         * lyxcursor.C (LyXCursor): adjust
3771
3772         * buffer.C (inset_iterator): adjust
3773
3774         * ParagraphList.h: make iterator(value_type) private, make
3775         ParagraphList a friend of iterator.
3776
3777         * ParagraphList.C (find): new function
3778
3779         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3780
3781 2003-05-27  André Pönitz  <poenitz@gmx.net>
3782
3783         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3784
3785 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3786
3787         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3788
3789 2003-05-26  John Levon  <levon@movementarian.org>
3790
3791         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3792
3793 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3794
3795         * remove same_id from function signatures, adjust.
3796
3797 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3798
3799         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3800
3801         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3802
3803         * paragraph.C (Paragraph): get rid of same_ids parameter
3804
3805         * ParagraphList.C (insert): adjust
3806         (push_back): adjust
3807
3808 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3809
3810         * paragraph_funcs.C (breakParagraph): adjust
3811         (breakParagraphConservative): adjust
3812
3813         * buffer.C (readParagraph): adjust
3814
3815         * ParagraphList.C (insert): take a reference instead of a pointer
3816         (insert): adjust
3817
3818         * paragraph.[Ch] (id): new function
3819
3820         * bufferlist.C (newFile): adjust
3821
3822         * ParagraphList.C (ParagraphList): adjust
3823         (assign): adjust
3824         (push_back): take a reference instead of a pointer.
3825
3826         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3827
3828         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3829         instead.
3830
3831         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3832         set else use old code.
3833
3834         * ParagraphList.C: remove all NO_NEXT code and only compile this
3835         code of NO_STD_LIST is set.
3836
3837 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3838
3839         * BufferView_pimpl.C:
3840         * TextCache.C:
3841         * TextCache.h:
3842         * bufferlist.C:
3843         * errorlist.h:
3844         * format.C:
3845         * format.h:
3846         * graph.C:
3847         * lyxfunc.C:
3848         * lyxrc.C:
3849         * graphics/GraphicsConverter.C:
3850         * graphics/PreviewLoader.C: header adjustment
3851
3852 2003-05-23  Angus Leeming  <leeming@lyx.org>
3853
3854         * LaTeXFeatures.[Ch] (useBabel): new method.
3855         * bufferparams.C (writeLaTeX): use it.
3856
3857 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3858
3859         * ParagraphList.h (set): remove unused function.
3860
3861 2003-05-23  André Pönitz  <poenitz@gmx.net>
3862
3863         * BufferView.C:
3864         * BufferView_pimpl.C:
3865         * buffer.C:
3866         * buffer.h:
3867         * lyxfunc.C:
3868         * undo_funcs.C: setUndo reworked
3869
3870         * iterators.[Ch]: add access to topmost ParagraphList
3871
3872         * lyxtext.[Ch] (workWidth): add a const
3873
3874 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3875
3876         * texrow.[Ch] (increasePos): remove function
3877         * exporter.C (export): removed unused var and outdated comment
3878
3879 2003-05-23  Angus Leeming  <leeming@lyx.org>
3880
3881         * latexrunparams.h: rename fragile as moving_arg.
3882         * paragraph.C (simpleTeXOnePar): ditto.
3883         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3884
3885 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3886
3887         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3888         (createUndo): ditto
3889         (textUndoOrRedo): comment out a currently unused var.
3890
3891         * paragraph.h (NO_NEXT): enable NO_NEXT
3892
3893         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3894
3895         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3896
3897         * exporter.C (Export): adjust for removeAutoInsets removal.
3898
3899         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3900
3901         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3902
3903         * BufferView.[Ch] (removeAutoInsets): delete function
3904
3905 2003-05-22  Angus Leeming  <leeming@lyx.org>
3906
3907         * latexrunparams.h: add a free_spacing variable.
3908
3909         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3910         to pass moving_arg, as the data is stored in runparams.fragile.
3911
3912         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3913         to Inset::latexOptional or to simpleTeXOnePar.
3914
3915         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3916         free_spacing arg to Inset::latexOptional.
3917
3918         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3919         free_spacing arg.
3920
3921 2003-05-22  Angus Leeming  <leeming@lyx.org>
3922
3923         * latexrunparams.h: add fragile and use_babel variables.
3924
3925         * bufferparams.[Ch] (writeLaTeX): return use_babel.
3926         * buffer.C (makeLaTeXFile): store this returned value in
3927         runparams.use_babel, thus passing it to the inset::latex methods.
3928
3929         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3930         simpleTeXSpecialChars as it is now stored in runparams.fragile.
3931
3932         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3933         longer has a fragile arg, as it is stored in runparams.fragile.
3934
3935         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3936         moving_arg parameter as the data is stored in runparams.fragile.
3937
3938         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3939         a fragile parameter as the data is stored in runparams.fragile.
3940
3941 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3942
3943         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3944
3945 2003-05-22  Angus Leeming  <leeming@lyx.org>
3946
3947         * latexrunparams.h: add a 'bool nice' which defaults to false.
3948
3949         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3950         now encapsulated within runparams.
3951
3952         * bufferlist.C (updateIncludedTeXfiles):
3953         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3954
3955 2003-05-22  Angus Leeming  <leeming@lyx.org>
3956
3957         * latexrunparams.h: new file containing struct LatexRunParams.
3958         * Makefile.am: add new file.
3959
3960         * LaTeX.[Ch] (c-tor, run):
3961         * buffer.[Ch] (makeLaTeXFile):
3962         * bufferlist.[Ch] (updateIncludedTeXfiles):
3963         * converter.C (convert, scanLog):
3964         * converter.[Ch] (runLaTeX):
3965         * exporter.C (Export):
3966         * paragraph.[Ch] (simpleTeXOnePar):
3967         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3968         * paragraph_funcs.[Ch] (latexParagraphs):
3969         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3970         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3971         pass around a LatexRunParams parameter.
3972
3973 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3974
3975         * paragraph.[Ch]: remove unused constructor
3976
3977         * ParagraphList.C (erase): new function, taking two iterators
3978
3979 2003-05-22  André Pönitz  <poenitz@gmx.net>
3980
3981         * undo_funcs.C: remove duplicated code
3982
3983         * iterator.[Ch]: operator=
3984
3985 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3986
3987         * tabular.C (SetMultiColumn): ws changes
3988
3989         * rowpainter.C (paintFirst): get rid of a ->previous
3990
3991         * lyx_cb.C (getPossibleLabel): parlist simplification
3992
3993         * BufferView.C (ChangeInsets): simplify slightly.
3994
3995 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3996
3997         * LyXAction.C: new lfun space-insert, kill protected-space-insert
3998         * lfuns.h: new LFUN_SPACE
3999         * lyxfunc.C: protected space has a new lfun
4000         * paragraph_funcs.C: read new space insets
4001         * text3.C:
4002         * factory.C: handle new space insets
4003
4004 2003-05-22  André Pönitz  <poenitz@gmx.net>
4005
4006         * BufferView.C:
4007         * BufferView_pimpl.C:
4008         * buffer.[Ch]:
4009         * lyxfunc.C:
4010         * undo_funcs.C: return a ParIterator from getParFromID.
4011
4012         * iterators.[Ch]: add two const's
4013
4014 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4015
4016         * toc.C (getTocList): adjust
4017
4018         * iterators.[Ch]: rework for parlist
4019
4020         * buffer.C (par_iterator_begin): adjust
4021         (par_iterator_end): adjust
4022
4023         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4024
4025         * BufferView.C (removeAutoInsets): adjust
4026         (ChangeInsets): adjust
4027
4028 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
4029
4030         * text.C (top_y): fix bug 1110
4031
4032 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
4033
4034         * errorlist.[Ch]: added
4035         * buffer.C:
4036         * BufferView.[Ch]:
4037         * BufferView_pimpl.C:
4038         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4039         instead
4040
4041 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4042
4043         * Makefile.am: ensure that lyx is relinked upon changes to the
4044         various "convenience" libs.
4045
4046 2003-05-20  Angus Leeming  <leeming@lyx.org>
4047
4048         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4049         files are compiled in alphabetical order again.
4050
4051         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4052
4053 2003-05-19  Angus Leeming  <leeming@lyx.org>
4054
4055         * gettext.[Ch]: remove "char const * _(char const *)".
4056
4057 2003-05-19  André Pönitz  <poenitz@gmx.net>
4058
4059         * dimension.[Ch]: promote from mathed/dimension.[Ch]
4060
4061         * Makefile.am:
4062         * BufferView.C:
4063         * DepTable.h:
4064         * LaTeXFeatures.C:
4065         * buffer.C:
4066         * lyxfont.C:
4067         * lyxlex.h:
4068         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4069
4070 2003-05-19  André Pönitz  <poenitz@gmx.net>
4071
4072         * buffer.C:
4073         * lyxlayout.[Ch]:
4074         * lyxtextclass.[Ch]:
4075         * paragraph.C:
4076         * paragraph_funcs.[Ch]:
4077         * text2.C:
4078         * text3.C: more insetenv work
4079
4080 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
4081
4082         * ParagraphParameters.C (params2string): small bug fixed
4083
4084 2003-05-16  André Pönitz  <poenitz@gmx.net>
4085
4086         * debug.C:
4087         * bufferview_funcs.C: patch from Kornel Benko to prevent
4088           crash when _(...) is called twice in a statement
4089
4090 2003-05-16  André Pönitz  <poenitz@gmx.net>
4091
4092         * BufferView.C:
4093         * lyxfunc.C:
4094         * text.C:
4095         * text2.C:
4096         * text3.C:
4097         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4098
4099 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
4100
4101         * lyx_main.C (init): remove spurious static_cast
4102
4103 2003-05-14  André Pönitz  <poenitz@gmx.net>
4104
4105         * BufferView.C: fix format string
4106
4107 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
4108
4109         * BufferView.[Ch] (insertErrors): removed
4110         * BufferView.[Ch] (showErrorList): added
4111         * buffer.C (runChkTeX):
4112         * converter.C (scanLog): call showErrorList instead of inserterrors
4113
4114 2003-05-13  André Pönitz  <poenitz@gmx.net>
4115
4116         * BufferView_pimpl.C:
4117         * buffer.C:
4118         * bufferview_func.C:
4119         * MenuBackend.C:
4120         * lyxfunc.C:
4121         * lyxrc.C:
4122         * tex-accent.C:
4123         * text3.C:
4124         * toc.C:
4125         * tabular_funcs.h: tostr() from its own header
4126
4127         * ParagraphParameters.C:
4128         * ToolbarBackend.C:
4129         * bufferparams.C:
4130         * format.C:
4131         * lyxlex_pimpl.C:
4132         * text3.C: STRCONV()
4133
4134 2003-05-12  André Pönitz  <poenitz@gmx.net>
4135
4136         * BufferView.C:
4137         * BufferView_pimpl.C:
4138         * CutAndPaste.C:
4139         * LaTeX.C:
4140         * LaTeXFeatures.C:
4141         * ParagraphParameters.C:
4142         * buffer.C:
4143         * bufferlist.C:
4144         * bufferparams.C:
4145         * bufferview_funcs.C:
4146         * converter.C:
4147         * counters.C:
4148         * debug.C:
4149         * exporter.C:
4150         * format.C:
4151         * importer.C:
4152         * lyx_cb.C:
4153         * lyx_main.C:
4154         * lyxfont.C:
4155         * lyxfunc.C:
4156         * lyxvc.C:
4157         * paragraph.C:
4158         * paragraph_funcs.C:
4159         * tabular.C:
4160         * tabular_funcs.C:
4161         * text2.C:
4162         * text3.C:  boost::format -> bformat  all over the place
4163
4164
4165 2003-05-09  André Pönitz  <poenitz@gmx.net>
4166
4167         * LColor.[Ch]: Pimpl the #include <map> away
4168
4169 2003-05-09  John Levon  <levon@movementarian.org>
4170
4171         * bufferlist.C: never remove emergency saves
4172
4173 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4174
4175         * Makefile.am: better lib building
4176
4177 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4178
4179         * texrow.[Ch]: remove dependency on Paragraph and just store a id
4180         instead.
4181         * paragraph_pimpl.C (simpleTeXBlanks): adjust
4182         (simpleTeXSpecialChars): adjust
4183         (simpleTeXSpecialChars): adjust
4184         * paragraph.C (simpleTeXOnePar): adjust
4185         * buffer.C (makeLaTeXFile): adjust
4186
4187         * Makefile.am (BOOST_LIBS): allow boost as system lib.
4188
4189         * text2.C (changeDepth): parlist cleanup
4190         (getColumnNearX): ditto
4191
4192         * rowpainter.C (getLabelFont): parlist cleanup
4193
4194         * bufferlist.C (newFile): parlist cleanup
4195
4196         * CutAndPaste.C (eraseSelection): parlist cleanup
4197
4198         * BufferView_pimpl.C (trackChanges): parlist cleanup
4199         (dispatch): ditto
4200
4201         * BufferView.C (lockInset): parlist cleanup.
4202         (ChangeInsets): ditto
4203
4204 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4205
4206         * CutAndPaste.h: Update file header.
4207
4208         * CutAndPaste.C: Update file header.
4209         Store the parts cut out of the Document in a limited_stack.
4210         (copySelection): adjust
4211         (pasteSelection): new function, takes the index in the limited stack.
4212         (nrOfParagraphs): adjust
4213         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4214         simplify error inset insertion.
4215         (checkPastePossible): adjust
4216
4217 2003-05-06  John Levon  <levon@movementarian.org>
4218
4219         * text2.C: don't cast wrap inset to float
4220
4221 2003-05-05  André Pönitz  <poenitz@gmx.net>
4222
4223         * iterator.C:
4224         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4225
4226         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4227           few naked Paragraph *.
4228
4229 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
4230
4231         * bufferparams.C: Output warning if a document with missing
4232         TeX document class is loaded
4233         * exporter.C: Disable TeX exports if the document class is missing
4234         * lyxtextclass.C:
4235         * lyxtextclass.h:
4236         * lyxtextclasslist.C: Handle new textclass.lst format; new method
4237         isTeXClassAvailable()
4238
4239 2003-05-03  John Levon  <levon@movementarian.org>
4240
4241         * BufferView.h:
4242         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4243         explicit cursor show/hide
4244
4245         * BufferView_pimpl.h:
4246         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4247         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4248
4249         * lyxfunc.C: hide cursor before dispatching.
4250
4251         * lyx_cb.C:
4252         * lyxfind.C:
4253         * text.C:
4254         * text3.C: remove explicit cursor hides
4255
4256 2003-05-02  André Pönitz  <poenitz@gmx.net>
4257
4258         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4259
4260         * undo_funcs.C:
4261         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4262           linked lists
4263
4264         * text2.C: tiny whitespace
4265
4266 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4267
4268         * undo_funcs.C: almost only ws changes.
4269
4270         * ParagraphList.C (splice): just return if pl is empty.
4271
4272 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4273
4274         * ParagraphList.C (splice): new function.
4275
4276         * CutAndPaste.C (pasteSelection): use it
4277
4278 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4279
4280         * CutAndPaste.C (pasteSelection): remove the last next and
4281         previous from this file.
4282
4283 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4284
4285         * CutAndPaste.C (pasteSelection): more clean up, user proper
4286         ParagraphList functions for pasteing.
4287
4288         * ParagraphList.C (insert): new function, three arg insert
4289
4290 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4291
4292         * ParagraphList.C (insert): new function, three arg insert
4293
4294         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4295         not on paragraphs.
4296
4297 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4298
4299         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4300
4301 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4302
4303         * CutAndPaste.C (pasteSelection): remove some unneeded code.
4304
4305 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4306
4307         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4308         (copySelection): clean up a bit.
4309         (pasteSelection): use make_pair
4310
4311         * ParagraphList.C (ParagraphList): implement copy constructor
4312         (operator=): implement, base on copy constructor.
4313         (assign): new func
4314
4315         * paragraph.C (erase): return a bool
4316
4317         * paragraph_pimpl.C (erasePos): remove function, move contents...
4318         (erase): ... here. Return a bool.
4319         (erase): call erase instead of erasePos.
4320
4321 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
4322
4323         * ParagraphList.h: define PitPosPair
4324         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4325         ParagraphList, fix a bug on pasting multiple pars
4326         * text2.C: change interface to C&P
4327
4328 2003-04-30  André Pönitz  <poenitz@gmx.net>
4329
4330         * undo_func.C: revert part of yesterday's patch 2
4331
4332 2003-04-30  John Levon  <levon@movementarian.org>
4333
4334         * LColor.C: s/tabular/table/
4335
4336 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4337
4338         * text3.C (dispatch): do not convert iterator -> pointer
4339         * undo_funcs.C (setCursorParUndo): ditto
4340         * text_funcs.C (transposeChars): ditto
4341
4342         * text2.C (setLayout): ws changes only
4343
4344         * text.C (breakParagraph): do not convert iterator -> pointer
4345         (insertChar): ditto
4346         (acceptChange): ditto
4347         (rejectChange): ditto
4348         (changeCase): ditto
4349         (Delete): ditto
4350         (backspace): ditto
4351
4352         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4353         pointer
4354
4355 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4356
4357         * text3.C (gotoInset): YABG (yet another bad getChar)
4358
4359 2003-04-29  André Pönitz  <poenitz@gmx.net>
4360
4361         * paragraph.h: make operator= private unimplemented as long as
4362           it is unusable
4363
4364         * ParagraphList.C: whitespace
4365
4366         * paragraph.[Ch]:
4367         * paragraph_pimpl.[Ch]:
4368         * paragraph_funcs.C:
4369         * CutAndPaste.C:
4370         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
4371
4372         * text2.C:
4373           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4374
4375 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4376
4377         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4378         * paragraph.[Ch] (erase):
4379         * paragraph_pimpl.[Ch] (erase): change return type and value
4380         * text2.C (cutSelection): some rework
4381
4382 2003-04-28  John Levon  <levon@movementarian.org>
4383
4384         * bufferlist.C: changes for unsaved changes dialog
4385
4386 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4387
4388         * bufferlist.C (newFile): set language (messages_) for new
4389         documents also.
4390
4391         * buffer.C (readFile): ws changes only.
4392
4393 2003-04-28  André Pönitz  <poenitz@gmx.net>
4394
4395         * undo_funcs.C:
4396         * lyxfunc.C:
4397         * buffer.[Ch]:
4398         * BufferView_pimpl.C:
4399         * BufferView.C: getParFromID related ParagraphList::iterator changes
4400
4401 2003-04-28  André Pönitz  <poenitz@gmx.net>
4402
4403         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4404           Changes
4405
4406 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4407
4408         * messages.C: remove one more localedir class variable.
4409
4410 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4411
4412         * messages.C (getLocaleDir): singleton generation function
4413         (Pimpl): use it.
4414         (Messages): add a default constructor.
4415
4416         * main.C (main): do not setup localedir here, do not call
4417         gettext_init.
4418
4419         * gettext.C (_): use it.
4420         (gettext_init): delete funciton
4421
4422 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4423
4424         * gettext.C (getLyXMessages): new singleton generating function.
4425
4426         * buffer.C (updateDocLang): adjust
4427
4428         * Makefile.am (messages.o): add target
4429         (main.o): remove target
4430
4431 2003-04-27  John Levon  <levon@movementarian.org>
4432
4433         * bufferlist.C:
4434         * lyx_cb.C:
4435         * lyxfunc.C:
4436         * lyxvc.C: specify cancel button in Alert::prompt
4437
4438 2003-04-26  John Levon  <levon@movementarian.org>
4439
4440         * text3.C:
4441         * lyxfunc.C:
4442         * lfuns.h:
4443         * LyXAction.C: add LFUN_INSET_SETTINGS
4444
4445         * lyxfunc.C: don't enable tabular-feature when there's
4446         just any locking inset
4447
4448 2003-04-26  John Levon  <levon@movementarian.org>
4449
4450         * bufferlist.C: re-add Cancel to buffer close question
4451
4452         * lyxfunc.C: fix import UI a bit
4453
4454 2003-04-25  John Levon  <levon@movementarian.org>
4455
4456         * gettext.C: remove the broken asserts for now
4457
4458 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4459
4460         * messages.C: make case where setlocale cannot comply work better.
4461
4462         * buffer.C (updateDocLang): new function
4463         (changeLanguage): use it
4464         (readFile): use it
4465
4466         * text2.C (setCounter): use B_ a bit.
4467
4468         * lyxlayout.C (Read): be sure to trim the label strings.
4469
4470         * messages.C (Messages): fix typo in comment
4471
4472         * buffer.C (readFile): set message_ after file is loaded.
4473         (makeDocBookFile): remove double return
4474         (changeLanguage): reset message_ upon language change.
4475         (B_): new func, use this to get translated buffer strings.
4476
4477         * main.C: add myself and Jean Marc as authors.
4478
4479 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4480
4481         * messages.[hC]: pimplify Messages, and three different pimpls to be
4482         used in different circumstances.
4483
4484         * gettext.[Ch]: change for use with new message code.
4485
4486 2003-04-24 André Pönitz <poenitz@gmx.net>
4487
4488         * factory.C: support for eqref
4489
4490 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4491
4492         * messages.[Ch]: add missing char
4493
4494         * Makefile.am (lyx_SOURCES): add messages.[Ch]
4495
4496         * messages.[Ch]: New files
4497
4498 2003-04-18  John Levon  <levon@movementarian.org>
4499
4500         * BufferView.h:
4501         * BufferView.C:
4502         * BufferView_pimpl.C:
4503         * lfuns.h:
4504         * LyXAction.C:
4505         * lyxtext.h:
4506         * text2.C: remove layout-copy/paste (bug 778)
4507
4508 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4509
4510         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4511
4512 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4513
4514         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4515         if they succeed. Act accordingly.
4516
4517 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4518
4519         * text2.C (setCharFont): adjust
4520         (setCounter): adjust
4521         (insertStringAsLines): adjust
4522
4523         * text.C (leftMargin): adjust
4524         (setHeightOfRow): adjust
4525
4526         * rowpainter.C (paintFirst): adjust
4527         (paintLast): adjust
4528
4529         * paragraph_funcs.C (depthHook): ParagraphList::iterators
4530         (outerHook): ditto
4531         (isFirstInSequence): ditto
4532         (getEndLabel): ditto
4533         (outerFont): adjust
4534
4535         * paragraph.C (getParLanguage): comment out some hard stuff.
4536
4537         * buffer.C (insertStringAsLines): take a ParagraphList as arg
4538         (sgmlError): ditto
4539         (simpleDocBookOnePar): ditto
4540         (makeDocBookFile): use ParagraphList::iterator
4541
4542         * CutAndPaste.C (pasteSelection): adjust
4543
4544 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4545
4546         * text2.C (getFont): adjust
4547         (getLayoutFont): adjust
4548         (getLabelFont): adjust
4549
4550         * paragraph_funcs.C (TeXOnePar): adjust
4551
4552         * buffer.C (simpleLinuxDocOnePar): adjust
4553         (simpleDocBookOnePar): adjust
4554
4555         * CutAndPaste.C (pasteSelection): adjust
4556
4557         * BufferView.C (getEncoding): adjust
4558
4559         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4560
4561 2003-04-16  John Levon  <levon@movementarian.org>
4562
4563         * lyxfind.C: use parlist stuff for search/changes
4564
4565 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4566
4567         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4568
4569         * text2.C (deleteEmptyParagraphMechanism): adjust
4570
4571         * text2.[Ch] (ownerParagraph): delete func (both of them
4572
4573 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4574
4575         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4576
4577 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4578
4579         * ParagraphList.C: prepare for NO_NEXT
4580
4581 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4582
4583         * text2.C (getFont): adjust
4584         (getLayoutFont): adjust
4585         (getLabelFont): adjust
4586
4587         * paragraph.C (getFont): adjust
4588         (getLabelFont): adjust
4589         (getLayoutFont): adjust
4590
4591         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4592
4593 2003-04-15  John Levon  <levon@movementarian.org>
4594
4595         From Angus Leeming
4596
4597         * lyx_main.C: handle Include in .ui files
4598
4599 2003-04-15  John Levon  <levon@movementarian.org>
4600
4601         * MenuBackend.C: make the doc files length shorter
4602
4603         * ToolbarBackend.h:
4604         * ToolbarBackend.C: handle toolbar placement flags,
4605         Minibuffer
4606
4607 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4608
4609         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4610         adjust
4611
4612         * paragraph_funcs.C (TeXOnePar): adjust
4613
4614         * paragraph.C (getLabelFont): add outerfont arg, adjust
4615         (getLayoutFont): ditto
4616         (simpleTeXOnePar): adjust
4617
4618         * paragraph_pimpl.C (realizeFont): delete func
4619
4620 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
4621
4622         * text2.C (beforeFullRowInset): added a bad getchar check, removed
4623         row argument, constify cur argument.
4624
4625 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4626
4627         * text2.C (getFont): adjust
4628         (getLayoutFont): adjust
4629         (getLabelFont): adjust
4630
4631         * paragraph_funcs.C (TeXOnePar): adjust
4632         (outerFont): new func...
4633         (realizeFont): ...moved out from here, changed this to facilitate
4634         transition
4635
4636         * paragraph.C (getFont): take outerfont as arg, adjust
4637         (simpleTeXOnePar): add outerfont arg, adjust
4638
4639         * buffer.C (simpleLinuxDocOnePar): adjust
4640         (simpleDocBookOnePar): adjust
4641
4642         * CutAndPaste.C (pasteSelection): adjust
4643
4644         * BufferView.C (getEncoding): adjust
4645
4646 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4647
4648         * text2.C (setCharFont): adjust
4649         (setCounter): adjust
4650
4651         * text.C (leftMargin): adjust
4652         (setHeightOfRow): adjust
4653
4654         * rowpainter.C (paintFirst): adjust
4655         (paintLast): adjust
4656
4657         * paragraph_pimpl.C (realizeFont): adjust
4658
4659         * paragraph.C (isFirstInSequence): move from here...
4660         * paragraph_funcs.C (isFirstInSequence): ...to here
4661
4662         * paragraph.C (outerHook): move from here...
4663         * paragraph_funcs.C (outerHook): ...to here
4664
4665         * paragraph.C (depthHook): move from here...
4666         * paragraph_funcs.C (depthHook): ...to here
4667
4668         * paragraph.C (getEndLabel): move from here...
4669         * paragraph_funcs.C (getEndLabel): ...to here
4670
4671         * text2.C (realizeFont): move from here...
4672         * paragraph_funcs.C (realizeFont): ...to here
4673
4674 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4675
4676         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4677
4678 2003-04-14  Angus Leeming  <leeming@lyx.org>
4679
4680         * LColor.[Ch]: scrap LColor mathcursor.
4681
4682 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4683
4684         * lyxlex.[Ch] (text): delete function
4685         * trans.C (Load): adjust
4686         * paragraph_funcs.C (readParToken): adjust
4687
4688 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4689
4690         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4691         vector<char> instead of a char[].
4692
4693         * lyxlex_pimpl.C (getString): adjust
4694         (next): adjust
4695         (lex): use getString
4696         (eatLine): adjust
4697         (nextToken): adjust
4698
4699         * lyxlex.C (text): use pimpl_->getString()
4700         (getBool): ditto
4701         (findToken): ditto
4702
4703 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4704
4705         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4706         (makeFontEntriesLayoutSpecific): temp var for par.size()
4707         (setLayout): temp var for ownerParagraphs().end()
4708         (fullRebreak): temp var for rows().end()
4709         (selectionAsString): temp var for boost::next(startpit), realize
4710         that the while really is a regular for loop.
4711         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4712         setCursor in one place.
4713         (setParagraph): temp vr for ownerParagraphs().end()
4714         (updateCounters): make the while loop a for loop
4715         (cutSelection): temp var for ownerParagraphs().end()
4716         (updateInset): make the do {} while() a regular for loop
4717         (getCursorX): use temp vars
4718         (setCurrentFont): use temp vars
4719         (getColumnNearX): use temp vars
4720
4721 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4722
4723         * text.C (transformChar): use temp var for getChar
4724         (computeBidiTables): use temp var for row->par()
4725         (fill): move temp vars for row->par() and pit->layout() earlier in
4726         the function.
4727         (labelFill): use temp var for row->par()
4728         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4729         asc and desc, realize that pit never changes and that firstpit is
4730         just a duplicate and not needed. Exchange rit->par() with pit in a
4731         lot of places.
4732         (breakAgain): use a temp var for boost::next(rit)
4733         (breakAgainOneRow): ditto
4734         (breakParagraph): use a temp var for rows().begin()
4735         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4736         (cursorRightOneWord): use temp var for cursor.par() and
4737         cursor.pos(), remove usage of tmpcursor.
4738         (cursorLeftOneWord): use temp var for cursor.par() and
4739         cursor.pos() only set cur at end of function.
4740
4741 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4742
4743         * text.C, text2.C: exchange all usage of Paragraph::next with
4744         boost::next(ParagraphList::iterator)
4745
4746         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4747
4748         * text2.C (cursorTop): simplify implementation
4749         (cursorBottom): ditto
4750         (setParagraph): use ParagraphList::iterator
4751         (setCurrentFont): adjust
4752         (getColumnNearX): adjust
4753         (cursorRight): adjust
4754         (cursorLeft): remove usage of Paragraph::previous
4755         (cursorUpParagraph): ditto
4756         (deleteEmptyParagraphMechanism): slight cleanup
4757
4758         * text.C (isBoundary): take a Paragraph const & instead of a
4759         pointer as arg.
4760         (addressBreakPoint): ditto
4761         (leftMargin): remove usage of Paragraph::previous.
4762         (setHeightOfRow): ditto
4763         (cursorLeftOneWord): ditto
4764         (selectNextWordToSpellcheck): ditto
4765         (Delete): ditto
4766         (backspace): ditto
4767         (breakParagraph): remove one usage of Paragraph::next
4768         (redoParagraph): ditto
4769         (acceptChange): ditto
4770         (insertChar): adjust
4771         (rowBreakPoint): adjust
4772
4773         * bufferview_funcs.C (toggleAndShow): adjust
4774
4775 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4776
4777         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4778         methods to access it.
4779         * lyxtext.h:
4780         * text.C: Added updateRowPositions to compute all row positions.
4781         Make top_y and getRowNearY() to use the cached y position
4782
4783 2003-04-11  John Levon  <levon@movementarian.org>
4784
4785         * text.C (rowBreakPoint): reintroduce the labelEnd
4786         checks, code copied from the row fill stuff. Deep voodoo.
4787
4788         * text.C (fill): add a comment and debugging for the
4789         next poor soul.
4790
4791 2003-04-11  John Levon  <levon@movementarian.org>
4792
4793         * text.C: make sure fullrow insets get wrapped to the next line,
4794         even when they're in a manual label
4795
4796 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4797
4798         * text2.C (insertParagraph): make it take ParagraphList::iterator
4799         as arg.
4800         (setLayout): make it return ParagraphList::iterator
4801         (redoParagraphs): ditto
4802         (setCounter): ditto
4803         (checkParagraph): ditto
4804
4805         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4806
4807         * text2.C: adjust several funcs.
4808         (realizeFont): take a ParagraphList::iterator as arg.
4809         (getLayoutFont): ditto
4810         (getLabelFont): ditto
4811         (setCharFont): ditto
4812
4813         * text.C: adjust several funcs.
4814
4815 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4816
4817         * text.C (selectNextWordToSpellcheck): don't accidentally
4818         skip insets
4819
4820 2003-04-10  John Levon  <levon@movementarian.org>
4821
4822         * ToolbarBackend.C (getIcon): special handling for
4823         LFUN_MATH_DELIM
4824
4825 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4826
4827         * text2.C (cursorRight): a getChar assert fixed
4828
4829 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4830
4831         * text2.C (getFont): change to take a ParagraphList::iterator
4832         instead of Paragraph*
4833         Adjust several functions.
4834
4835         * text.C (transformChar): change to take a ParagraphList::iterator
4836         instead of Paragraph*
4837         (singleWidth): ditto
4838         Adjust several functions.
4839
4840         * rowpainter.C: adjust several functions
4841         * rowpainter.h:store a ParagraphList::iterator and not a
4842         Paragraph&.
4843
4844
4845 2003-04-09  John Levon  <levon@movementarian.org>
4846
4847         * lyxfunc.C:
4848         * lfuns.h:
4849         * LyXAction.h:
4850         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4851         and the "help" bits as well
4852
4853 2003-04-09  John Levon  <levon@movementarian.org>
4854
4855         * ToolbarBackend.h:
4856         * ToolbarBackend.C: allow multiple toolbars
4857
4858 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4859
4860         * undo_funcs.C (setCursorParUndo): adjust
4861
4862         * text_funcs.C (transposeChars): adjust
4863
4864         * text3.C (gotoNextInset): adjust
4865         (dispatch): adjust
4866
4867         * text2.C (setLayout): adjust
4868         (changeDepth): adjust
4869         (setFont): adjust
4870         (redoParagraphs): adjust
4871         (selectionAsString): adjust
4872         (setParagraph): adjust
4873         (insertInset): adjust
4874         (cutSelection): adjust
4875         (copySelection): adjust
4876         (pasteSelection): adjust
4877         (insertStringAsLines): adjust
4878         (updateInset): adjust
4879         (setCursor): change to take a ParagraphList::iterator parameter
4880         (setCursorIntern): change to take a ParagraphList::iterator parameter
4881         (setCurrentFont): adjust
4882         (cursorLeft): adjust
4883         (cursorRight): adjust
4884         (deleteEmptyParagraphMechanism): adjust
4885
4886         * text.C (breakParagraph): adjust
4887         (insertChar): adjust
4888         (acceptChange): adjust
4889         (rejectChange): adjust
4890         (selectNextWordToSpellcheck): adjust
4891         (changeCase): adjust
4892         (Delete): adjust
4893         (backspace): adjust
4894
4895         * lyxfind.C (SearchForward): adjust
4896         (SearchBackward): adjust
4897         (nextChange): adjust
4898
4899         * lyxcursor.C (par): adjust
4900
4901         * lyxcursor.h: store a ParagraphList::iterator instead of a
4902         Paragraph*
4903
4904         * lyx_cb.C (getPossibleLabel): adjust
4905
4906         * bufferview_funcs.C (toggleAndShow): adjust
4907
4908         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4909         (dispatch): adjust
4910
4911         * BufferView.C (removeAutoInsets): adjust
4912         (lockedInsetStoreUndo): adjust
4913
4914 2003-04-09  John Levon  <levon@movementarian.org>
4915
4916         * ToolbarBackend.C: try icon without argument
4917         if with argument fails
4918
4919 2003-04-08  John Levon  <levon@movementarian.org>
4920
4921         * ToolbarBackend.h:
4922         * ToolbarBackend.C: add getIcon(), handle tooltip,
4923         and change from "Icon" to "Item".
4924
4925 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4926
4927         * BufferView.C (lockInset): another bad getchar crunched
4928
4929 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4930
4931         * text2.C (changeDepth): do not setUndo on test_only (make undo work
4932         again)
4933
4934 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
4935
4936         * lyxfind.C (searchForward, searchBackwards): bug 782
4937
4938 2003-04-07  John Levon  <levon@movementarian.org>
4939
4940         * paragraph.C: remove dead comment
4941
4942         * text.C: remove troublesome depth-fiddling code
4943         in leftMargin() and rightMargin() (bug 1017)
4944
4945         * text.C: fix breaking of rows in nested lists
4946         (bug 1004)
4947
4948         * text2.C (updateCounters): fix up depth values
4949         (bug 1013)
4950
4951 2003-04-07  John Levon  <levon@movementarian.org>
4952
4953         * BufferView_pimpl.C: clear message when doc finishes resizing,
4954         and after a mouse event
4955
4956         * lyxfunc.C: clear message after exiting inset
4957
4958 2003-04-07  John Levon  <levon@movementarian.org>
4959
4960         * bufferview_funcs.C: show math status not outside
4961         status in the statusbar
4962
4963 2003-04-07  John Levon  <levon@movementarian.org>
4964
4965         * lyxfunc.C: note status changed after a depth change
4966
4967 2003-04-04  Angus Leeming  <leeming@lyx.org>
4968
4969         * LaTeX.h: move AuxInfo operator==, != out of line.
4970         Remove LaTeX virtual destructor; nothing derives from it.
4971         Move operator()() out of public area and rename it startscript().
4972         Change protected for private.
4973
4974 2003-04-04  Angus Leeming  <leeming@lyx.org>
4975
4976         * lyxfunc.C:
4977         * text2.C: remove unneeded #includes.
4978
4979 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4980
4981         * text2.C (dEPM): fix the heigth of the next row
4982
4983 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4984
4985         * text.C: squashed an invalid getChar requester + some ws changes
4986
4987 2003-04-03  John Levon  <levon@movementarian.org>
4988
4989         * bufferview_funcs.h:
4990         * bufferview_funcs.C:
4991         * lyxfunc.C:
4992         * lyxtext.h:
4993         * text2.C: make getStatus work for the env depth lfuns
4994
4995 2003-04-03  John Levon  <levon@movementarian.org>
4996
4997         * bufferview_funcs.h:
4998         * bufferview_funcs.C:
4999         * lyxfunc.C:
5000         * lyxtext.h:
5001         * text2.C: parlistize decDepth(), by merging it with incDepth()
5002
5003 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5004
5005         * lyxrow.h: store a ParagraphList::iterator instead of a
5006         Paragraph* and adjust other class functions to suit.
5007
5008         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5009         above.
5010
5011 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5012
5013         * text2.C (setCursor): do not anchor to cursor row for the time being
5014
5015 2003-04-02  John Levon  <levon@movementarian.org>
5016
5017         * LyXAction.C:
5018         * lfuns.h:
5019         * lyx_main.C:
5020         * lyxtext.h:
5021         * text.C:
5022         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5023
5024 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5025
5026         * paragraph.h: make ParagraphList and ParagraphList::iterator
5027         friends of Paragraph.
5028
5029         * buffer.C (makeLinuxDocFile): move towards ParagraphList
5030
5031         * ParagraphList.C: Use the private next_ and previous_ from
5032         Paragraph.
5033
5034 2003-04-01  John Levon  <levon@movementarian.org>
5035
5036         * ToolbarBackend.h:
5037         * ToolbarBackend.C:
5038         * Makefile.am: rename, remove defaults gunk
5039
5040         * MenuBackend.h:
5041         * MenuBackend.C: remove defaults gunk
5042
5043         * Languages.h:
5044         * Languages.C: remove defaults gunk
5045
5046         * lyx_main.h:
5047         * lyx_main.C: error out if files couldn't be found.
5048
5049 2003-04-02  John Levon  <levon@movementarian.org>
5050
5051         * text2.C: make incDepth() use parlist
5052
5053 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5054
5055         * undo_funcs.C (firstUndoParagraph): adjust
5056
5057         * text3.C (gotoInset): adjust
5058         (dispatch): adjust, and rewrite loop.
5059
5060         * text2.C (init): adjust, and rewrite loop.
5061         (redoParagraphs): adjust
5062         (updateInset): adjust, and rewrite loop.
5063         (deleteEmptyParagraphMechanism): adjust
5064
5065         * tabular.C (LyXTabular): adjust
5066         (SetMultiColumn): adjust
5067         (TeXRow): adjust
5068
5069         * lyxtext.[Ch] (ownerParagraph): delete function
5070         (ownerParagraphs): new function returns a ParagraphList.
5071
5072         * BufferView.C (removeAutoInsets): adjust
5073         (insertErrors): adjust
5074         (setCursorFromRow): adjust
5075
5076 2003-04-01  Angus Leeming  <leeming@lyx.org>
5077
5078         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5079         in the frontends.
5080
5081 2003-04-02  John Levon  <levon@movementarian.org>
5082
5083         * lyxtext.h:
5084         * text.C:
5085         * Makefile.am:
5086         * text_funcs.h:
5087         * text_funcs.C: make transposeChars a free function
5088
5089         * lyxrow_funcs.C: remove wrong comment
5090
5091 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5092
5093         * lyxtext.h: adjust
5094         * rowpainter.C: adjust
5095         * text.C: adjust
5096         * text2.C: adjust
5097         * text3.C: adjust
5098
5099         * lyxrow_funcs. [Ch]: new files
5100
5101         * lyxrow.[Ch]: remove next and previous pointers
5102         (next,previous): remove accessor functions
5103         (isParEnd): move to lyxrow_funcs
5104         (lastPos): move to lyxrow_funcs
5105         (nextRowIsAllInset): move to lyxrow_funcs
5106         (lastPrintablePos): move to lyxrow_funcs
5107         (numberOfSeparators): move to lyxrow_funcs
5108         (numberOfHfills): move to lyxrow_funcs
5109         (numberOfLabelHfills): move to lyxrow_funcs
5110         (hfillExpansion): move to lyxrow_funcs
5111
5112         * lyxfunc.C: adjust
5113
5114         * bufferview_funcs.C (toggleAndShow): adjust
5115
5116         * RowList.h: Remove class RowList from file leave just a
5117         std::list<Row>.
5118
5119         * RowList.C: delete file
5120
5121         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5122         and lyxrow_funcs.h
5123
5124 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5125
5126         * text3.C (cursorPrevious): adjust
5127         (cursorNext): adjust
5128         (dispatch): adjust
5129
5130         * text2.C (redoHeightOfParagraph): adjust
5131         (redoDrawingOfParagraph): adjust
5132         (setCursor): adjust
5133
5134         * text.C (breakParagraph): adjust
5135         (insertChar): adjust
5136         (backspace): adjust
5137
5138         * rowpainter.C (RowPainter): adjust
5139         (leftMargin): simplify and adjust
5140         (most rowpainter functions): adjust.
5141
5142         * rowpainter.h: store the row as RowList::iterator not as Row*
5143
5144         * lyxcursor.C (row): taka RowList::iterator as arg
5145         (irow): ditto
5146
5147         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5148         of Row*.
5149
5150 2003-04-01  Angus Leeming  <leeming@lyx.org>
5151
5152         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5153         stuff like bool Bool.
5154
5155 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5156
5157         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5158         rewrite a loop
5159
5160 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5161
5162         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5163         RowList::iterator.
5164
5165         * lyxtext.h (rows): drop one version and leve a const variant that
5166         returns a RowList::iterator.
5167
5168 2003-03-31  Angus Leeming  <leeming@lyx.org>
5169
5170         * text.C (fill): ensure that the signature is the same as that in the
5171         header file.
5172
5173 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
5174
5175         * text2.C (redoParagraphs): adjust
5176         (updateCounters): adjust
5177         (checkParagraph): adjust
5178         (getColumnNearX): adjust and reformat a bit.
5179
5180         * text.C (top_y): adjust
5181         (workWidth): adjust
5182         (leftMargin): adjust
5183         (prepareToPrint): adjust
5184         (getRow): adjust
5185         (getRowNearY): adjust
5186
5187         * lyxtext.h: make rowlist_ mutable.
5188
5189         * RowList.h: add const_iterator
5190         * RowList.C: adjust for RowList::const_iterator.
5191
5192         * text2.C (getCursorX): make it take a RowList::iterator as arg,
5193         adjust.
5194
5195 2003-03-31  John Levon  <levon@movementarian.org>
5196
5197         * lyxrc.h:
5198         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5199
5200         * lyx_main.C: set default fonts from using lyx_gui funcs
5201
5202         * exporter.C: pdf_mode moved from lyxrc
5203
5204         * lyx_cb.C:
5205         * lyxfunc.C: changes from above
5206
5207 2003-03-31  John Levon  <levon@movementarian.org>
5208
5209         * lyx_main.C: fix to the last fix
5210
5211 2003-03-31  John Levon  <levon@movementarian.org>
5212
5213         * bufferlist.C: "Load original" -> "Load Original"
5214
5215         * converter.C:
5216         * exporter.C:
5217         * importer.C:
5218         * lyx_main.C:
5219         * format.C: more Alert cleanups
5220
5221 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5222
5223         * text2.C (removeParagraph): make it take a RowList::iterator as
5224         arg, adjust.
5225         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5226         (postRowPaint): make it take a RowList::iterator as arg, adjust.
5227
5228         * text.C (anchor_row): make it take a RowList::iterator as arg,
5229         adjust.
5230         (computeBidiTables): make it take a const reference to Row instead
5231         of Row pointer, adjust.
5232         (leftMargin): make it take a RowList::iterator as arg, adjust.
5233         (rowBreakPoint): adjust
5234         (breakAgainOneRow): make it take a RowList::iterator as arg,
5235         adjust.
5236         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5237
5238         * bufferview_funcs.C (toggleAndShow): adjust
5239
5240 2003-03-30  John Levon  <levon@movementarian.org>
5241
5242         * Makefile.am:
5243         * BoostFormat.h:
5244         * boost-inst.C: moved to support
5245
5246         * several files: changes as a result
5247
5248 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5249
5250         * text2.C (LyXText): adjust.
5251         (init): adjust
5252         (removeRow): make it take a RowList::iterator as arg, adjust.
5253         (fullRebreak): adjust
5254         (deleteEmptyParagraphMechanism): adjust
5255         (clearPaint): adjust
5256         (postPaint): adjust
5257
5258         * text.C (top_y): adjust
5259         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5260         (breakAgain): make it take a RowList::iterator as arg, adjust.
5261         (breakParagraph): adjust
5262         (insertChar): adjust
5263         (backspace): adjust
5264
5265         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5266         need_break_row, and refresh_row.
5267
5268         * text3.C (dispatch): adjust
5269
5270         * text2.C (checkParagraph): adjust
5271         (setCursor): adjust
5272         (setCursorFromCoordinates): adjust
5273
5274         * text.C (top_y): adjust
5275         (workWidth): adjust
5276         (getRow): make it return a RowList::iterator, adjust
5277         (getRowNearY): make it return a RowList::iterator, adjust
5278
5279         * text2.C (init): adjust
5280         (insertRow): remove function
5281         (insertParagraph): adjust
5282         (redoParagraphs): adjust
5283         (fullRebreak): adjust
5284         (updateCounters): adjust
5285
5286         * text.C (top_y): rewrite to use RowList iterators.
5287         (top_y): adjust
5288         (setHeightOfRow): rewrite to sue RowList iterators.
5289         (appendParagraph): adjust
5290         (breakAgain): adjust
5291         (breakAgainOneRow): adjust
5292         (breakParagraph): adjust
5293         (getRow): adjust
5294         (getRowNearY): adjust, and remove commented code.
5295
5296         * lyxtext.h (firstRow): delete function
5297         (lastRow): delete function
5298         (rows): new function (const and non-const versions.)
5299         (insertRow): delete function
5300
5301         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5302
5303 2003-03-29  John Levon  <levon@movementarian.org>
5304
5305         * BufferView_pimpl.C: always update scrollbar top
5306         because pasting text when we're anchored could mean we
5307         miss an update altogether
5308
5309 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5310
5311         * text2.C (init): use rowlist_.end() and not 0.
5312         (insertRow): change to take a RowList::iterator as arg, adjust
5313         for this.
5314         (insertParagraph): change to take a RowList::iterator as arg,
5315         adjust for this.
5316         (redoParagraphs): remove some debug msgs.
5317
5318         * text.C (appendParagraph): change to take a RowList::iterator
5319         arg, adjust for this.
5320         (breakAgain): add an assert
5321         (breakAgainOneRow): ditto
5322
5323 2003-03-29  John Levon  <levon@movementarian.org>
5324
5325         * text2.C: do not clear selection after inc/decDepth
5326         (bug 550)
5327
5328 2003-03-29  John Levon  <levon@movementarian.org>
5329
5330         * BufferView.C:
5331         * buffer.C: fix broken strerrors according to Lars
5332
5333 2003-03-29  John Levon  <levon@movementarian.org>
5334
5335         * converters.C: more Alert cleanups
5336
5337 2003-03-29  John Levon  <levon@movementarian.org>
5338
5339         * bufferview_funcs.C: remove pointless Alert
5340
5341         * buffer.C: fix confusing error message when
5342         a template is chmoded 000
5343
5344 2003-03-29  John Levon  <levon@movementarian.org>
5345
5346         * BufferView.C:
5347         * BufferView.h:
5348         * BufferView_pimpl.C: Alert fixes
5349
5350         * Makefile.am:
5351         * tabular.C:
5352         * tabular-old.C: remove unused table compat reading
5353
5354 2003-03-29  John Levon  <levon@movementarian.org>
5355
5356         * BufferView.C:
5357         * buffer.C:
5358         * lyx_cb.h:
5359         * lyx_cb.C: more Alert cleanups
5360
5361         * lyxfunc.C: don't allow chktex if not latex document
5362
5363 2003-03-29  John Levon  <levon@movementarian.org>
5364
5365         * lyx_cb.C:
5366         * BufferView.C:
5367         * buffer.C: warnings pushed down from support/,
5368         kill err_alert
5369
5370 2003-03-29  John Levon  <levon@movementarian.org>
5371
5372         * lyxfunc.C: safety check for C-r (revert)
5373
5374 2003-03-29  John Levon  <levon@movementarian.org>
5375
5376         * bufferlist.h:
5377         * bufferlist.C: several UI fixes using Alert::prompt.
5378         Fix the pointless looping quit code. Fix stupid revert
5379         behaviour (bug 938)
5380
5381         * lyxvc.h:
5382         * lyxvc.C:
5383         * lyx_cb.C: use Alert::prompt
5384
5385         * lyx_main.C: remove a silly question
5386
5387         * lyxfunc.C: remove a couple of silly questions,
5388         use Alert::prompt
5389
5390 2003-03-28  John Levon  <levon@movementarian.org>
5391
5392         * text2.C: fix bug 974 (End on empty par)
5393
5394 2003-03-28  John Levon  <levon@movementarian.org>
5395
5396         * BufferView_pimpl.C:
5397         * LyXAction.C:
5398         * lfuns.h: remove do-nothing math greek lfuns
5399
5400 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5401
5402         * lyxgluelength.h (isValidGlueLength): add default arg on
5403         parameter 2. Remove default arg from friend in class.
5404
5405         * lyxlength.h (isValidLength): add default arg on parameter 2.
5406         Remove default arg from friend in class.
5407
5408         * text2.C (LyXText): adjust, initialize refresh_row.
5409         (init): adjust
5410         (removeRow): adjust
5411         (insertRow): adjust
5412         (insertParagraph): adjst
5413         (redoParagraphs): adjust
5414         (fullRebreak): adjust
5415         (updateCounters): adjust
5416         (deleteEmptyParagraphMechanism): first attempt at fixing a
5417         crashing bug.
5418
5419         * text.C (top_y): adjust
5420         (setHeightOfRow): adjust
5421         (getRow): adjust
5422         (getRowNearY): adjust
5423
5424         * lyxtext.h: include RowList.h
5425         (~LyXText): not needed anymore, deleted.
5426         (firstRow): modify for RowList
5427         (lastRow): new function
5428         Delete firstrow and lastrow class variables, add a Rowlist
5429         rowlist_ class variable.
5430
5431         * lyxrow.C (lastPos): use empty() and not !size() to check if a
5432         paragraph is empty.
5433
5434         * RowList.C (insert): fix case where it == begin().
5435
5436 2003-03-26  Angus Leeming  <leeming@lyx.org>
5437
5438         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5439         the thesaurus dialog.
5440
5441 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5442
5443         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5444
5445         * RowList.[Ch]: new files
5446
5447         * ParagraphList.C (erase): handle the case where it == begin
5448         correctly.
5449
5450 2003-03-25  John Levon  <levon@movementarian.org>
5451
5452         * Makefile.am:
5453         * aspell_local.h:
5454         * aspell.C: add new aspell support
5455
5456         * lyxrc.h:
5457         * lyxrc.C: Make use_pspell be use_spell_lib. Always
5458         have it accessible.
5459
5460 2003-03-25  Angus Leeming  <leeming@lyx.org>
5461
5462         * lfuns.h:
5463         * LyXAction.C (init): new LFUN_INSET_INSERT.
5464
5465         * BufferView_pimpl.C (dispatch): split out part of the
5466         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5467
5468         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5469         LFUN_INSET_APPLY.
5470
5471 2003-03-25  Angus Leeming  <leeming@lyx.org>
5472
5473         * lyxfunc.C (dispatch): changes to the Dialogs interface.
5474
5475 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
5476
5477         * text2.C:
5478         * text3.C: remove useless row->height(0)
5479
5480 2003-03-25  John Levon  <levon@movementarian.org>
5481
5482         * lyxtext.h:
5483         * text2.C:
5484         * text3.C: rename the refreshing stuff to better names
5485
5486 2003-03-24  John Levon  <levon@movementarian.org>
5487
5488         * BufferView_pimpl.h:
5489         * BufferView_pimpl.C: update layout choice on a mouse
5490         press/release
5491
5492 2003-03-23  John Levon  <levon@movementarian.org>
5493
5494         * Makefile.am: fix commandtags.h reference
5495
5496 2003-03-22  John Levon  <levon@movementarian.org>
5497
5498         * BufferView_pimpl.C:
5499         * lyxtext.h:
5500         * rowpainter.C:
5501         * rowpainter.h:
5502         * text.C:
5503         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5504
5505 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
5506
5507         * lyxtext.h:
5508         * text.C: take the rtl methods out of line
5509
5510 2003-03-21 André Pönitz <poenitz@gmx.net>
5511
5512         * metricsinfo.[Ch]: new files containing structures to be passed around
5513         during the two-phase-drawing...
5514
5515 2003-03-21 André Pönitz <poenitz@gmx.net>
5516
5517         * lyxtextclass.C: read 'environment' tag.
5518
5519 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
5520
5521         * text2.C (removeRow): fix bug 964
5522
5523 2003-03-20  John Levon  <levon@movementarian.org>
5524
5525         * rowpainter.C:
5526         * text.C:
5527         * text2.C: paint cleanups. Inset::update() dropped font
5528         parameter
5529
5530 2003-03-19  John Levon  <levon@movementarian.org>
5531
5532         * lyxfunc.C: only fitcursor/markDirty if available()
5533
5534 2003-03-19  John Levon  <levon@movementarian.org>
5535
5536         * commandtags.h: rename to ...
5537
5538         * lfuns.h: ... this, and renumber / cleanup
5539
5540 2003-03-19  John Levon  <levon@movementarian.org>
5541
5542         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5543         fit the cursor after an lfun
5544
5545         * BufferView.h:
5546         * BufferView.C:
5547         * BufferView_pimpl.h:
5548         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5549
5550         * LyXAction.C: layout-character should have ReadOnly
5551
5552         * ParagraphParameters.C:
5553         * buffer.C:
5554         * bufferview_funcs.C:
5555         * lyx_cb.C:
5556         * lyxfind.C:
5557         * lyxtext.h:
5558         * text.C:
5559         * text2.C:
5560         * text3.C:
5561         * undo_funcs.C: changes from above
5562
5563 2003-03-18  John Levon  <levon@movementarian.org>
5564
5565         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5566         remove it from update()
5567
5568         * lyxfunc.C: update layout choice after an lfun
5569
5570         * text3.C: remove extra updateLayoutChoice()s
5571
5572 2003-03-18  John Levon  <levon@movementarian.org>
5573
5574         * text.C: top_y change means full repaint, fix
5575         a drawing bug with cursor movement
5576
5577 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5578
5579         * lyxtext.h:
5580         * text.C:
5581         * text2.C: anchor row on setCursor
5582
5583 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5584
5585         * lyxtext.h: remove almost all mutable keywords
5586         * text.C:
5587         * text2.C:
5588         * text3.C: remove const keywords accordingly
5589
5590 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5591
5592         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5593         anon namespace
5594         (TeXEnvironment): ditto
5595         (TeXOnePar): ditto
5596
5597 2003-03-17  John Levon  <levon@movementarian.org>
5598
5599         * text.C (rowBreakPoint): remove attempt to fix displayed
5600         math insets inside a manual label
5601
5602 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5603
5604         * lyxtext.h: remove BufferView* as first arg from almost all class
5605         functions.
5606         * other files: adjust.
5607
5608 2003-03-17  John Levon  <levon@movementarian.org>
5609
5610         * lyxtext.h:
5611         * undo_funcs.C:
5612         * text2.C: more paint cleanups
5613
5614         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5615
5616         * rowpainter.h:
5617         * rowpainter.C: remove "smart" background painting code
5618
5619 2003-03-16  John Levon  <levon@movementarian.org>
5620
5621         * lyxtext.h:
5622         * text.C:
5623         * text2.C:
5624         * text3.C: add helper functions for setting refresh_row/y
5625
5626 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
5627
5628         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5629         newline inset which *can* get inserted in the pass_thru layouts.
5630         This is primarily for literate documents.
5631
5632 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
5633
5634         * buffer.C: increment LYX_FORMAT to 223
5635
5636 2003-03-14 André Pönitz <poenitz@gmx.net>
5637
5638         * textclass.h: prepare for environment handling, ws changes
5639         * lyxlayout.C: read latexheader and latexfooter tags
5640
5641 2003-03-14  John Levon  <levon@movementarian.org>
5642
5643         * text2.C: rewrite ::status() a bit
5644
5645 2003-03-13  John Levon  <levon@movementarian.org>
5646
5647         * lyxtext.h: add some docs
5648
5649 2003-03-13  John Levon  <levon@movementarian.org>
5650
5651         * lyxtext.h:
5652         * text.C:
5653         * text2.C:
5654         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5655
5656 2003-03-13  John Levon  <levon@movementarian.org>
5657
5658         * text3.C: fix appendix redrawing
5659
5660 2003-03-13  John Levon  <levon@movementarian.org>
5661
5662         * text.C (setHeightOfRow):
5663         * rowpainter.h:
5664         * rowpainter.C: make appendix mark have the text
5665           "Appendix" so the user knows what it is
5666
5667         * LColor.h:
5668         * LColor.C: s/appendixline/appendix/ from above
5669
5670 2003-03-13  John Levon  <levon@movementarian.org>
5671
5672         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5673
5674         * text.C: fix a getChar(pos) bug properly
5675
5676 2003-03-13  Angus Leeming  <leeming@lyx.org>
5677
5678         * commandtags.h:
5679         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5680         Probably only temporary. Let's see how things pan out.
5681
5682         * BufferView.C (unlockInset):
5683         * BufferView_pimpl.C (fitCursor):
5684         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5685
5686         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5687         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5688
5689         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5690         new functions that convert ParagraphParameters to and from a string.
5691
5692         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5693         BufferView::Pimpl's dispatch.
5694         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5695
5696 2003-03-13 André Pönitz <poenitz@gmx.net>
5697
5698         * lyxfunc.C:
5699         * text3.C:
5700         * factory.C: make it aware of InsetEnv
5701
5702 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5703
5704         * text2.C (setCursor): never ask for one past last
5705         (setCursor): add some debugging messages.
5706
5707         * text.C (singleWidth): never ask for one past last
5708         (singleWidth): ditto
5709         (leftMargin): ditto
5710         (rightMargin): ditto
5711         (rowBreakPoint): ditto
5712         (setHeightOfRow): ditto
5713         (prepareToPrint): ditto
5714
5715         * rowpainter.C (paintBackground): never ask for one past last
5716         (paintText): never ask for one past last
5717
5718         * paragraph_pimpl.C (getChar): make the assert stricter, never
5719         allow the one past last pos to be taken
5720
5721         * paragraph.C (getChar): ws changes only
5722
5723         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5724         (numberOfSeparators): ditto
5725         (numberOfHfills): ditto
5726
5727 2003-03-12  John Levon  <levon@movementarian.org>
5728
5729         * author.h:
5730         * author.C:
5731         * bufferparams.h:
5732         * bufferparams.C:
5733         * paragraph_funcs.C: fix per-buffer authorlists
5734
5735 2003-03-12  John Levon  <levon@movementarian.org>
5736
5737         * text.C: fix newline in right address
5738
5739 2003-03-12  Angus Leeming  <leeming@lyx.org>
5740
5741         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5742         duplicate those in LyXFunc::dispatch.
5743
5744         * commandtags.h:
5745         * LyXAction.C:
5746         * ToolbarDefaults.C:
5747         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5748         Add LFUN_FONTFREE_UPDATE.
5749
5750         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5751         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5752
5753         * bufferview_func.[Ch]: several new functions to facilliate
5754         transfer of data to and from the character dialog.
5755
5756 2003-03-12  John Levon  <levon@movementarian.org>
5757
5758         * buffer.C:
5759         * paragraph.h:
5760         * paragraph.C:
5761         * paragraph_funcs.C:
5762         * paragraph_pimpl.C:
5763         * sgml.C:
5764         * tabular.C:
5765         * text.C:
5766         * text3.C: remove META_NEWLINE in favour of an inset
5767
5768         * rowpainter.h:
5769         * rowpainter.C: remove paintNewline (done by inset)
5770
5771 2003-03-12  John Levon  <levon@movementarian.org>
5772
5773         * paragraph_pimpl.C: complain about bad getChar()s
5774         for a while at least
5775
5776 2003-03-12  John Levon  <levon@movementarian.org>
5777
5778         * buffer.h:
5779         * buffer.C: move paragraph read into a separate function,
5780         a little renaming to reflect that.
5781
5782         * bufferparams.h:
5783         * bufferparams.C: remove the author_ids map, not necessary now
5784
5785         * factory.h:
5786         * factory.C: moved Buffer::readInset to here
5787
5788         * paragraph_funcs.h:
5789         * paragraph_funcs.C: readParagraph free function moved from
5790         buffer.C
5791
5792         * tabular.C: name change
5793
5794 2003-03-12  John Levon  <levon@movementarian.org>
5795
5796         * buffer.C:
5797         * ParagraphParameters.C: move par params input to
5798         a read() method
5799
5800         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5801         behave like a normal read from the stream wrt reading
5802         a line vs. a \\token
5803
5804 2003-03-12  John Levon  <levon@movementarian.org>
5805
5806         * paragraph.C:
5807         * ParagraphParameters.h:
5808         * ParagraphParameters.C: move output code to a
5809         ::write() method
5810
5811 2003-03-12  John Levon  <levon@movementarian.org>
5812
5813         * BufferView.C (insertLyXFile):
5814         * buffer.h:
5815         * buffer.C:
5816         * tabular.C: use a parlist iterator for creating the
5817           document.
5818
5819 2003-03-12  John Levon  <levon@movementarian.org>
5820
5821         * buffer.C: make current_change static local not
5822           static file-scope
5823
5824 2003-03-12  John Levon  <levon@movementarian.org>
5825
5826         * buffer.C: fix insertStringAsLines for change tracking
5827
5828 2003-03-12  John Levon  <levon@movementarian.org>
5829
5830         * BufferView.C:
5831         * tabular.C:
5832         * buffer.h:
5833         * buffer.C:
5834         * bufferparams.h:
5835         * bufferparams.C: move author list into params. Rename some
5836           functions. Move the header reading into a separate token
5837           loop. Move the header token reading into BufferParams.
5838
5839 2003-03-12  John Levon  <levon@movementarian.org>
5840
5841         * changes.C: put debug inside lyxerr.debugging() checks
5842
5843 2003-03-11 André Pönitz <poenitz@gmx.net>
5844
5845         * factory.C: make it aware of InsetHFill
5846
5847 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5848
5849         * buffer.C (latexParagraphs): move function from here...
5850         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5851         args.
5852
5853 2003-03-10  Angus Leeming  <leeming@lyx.org>
5854
5855         * LyXAction.C (init): fix bug in poplating array with multiple entries
5856         with the same LFUN (spotted by JMarc).
5857
5858 2003-03-10  John Levon  <levon@movementarian.org>
5859
5860         * text.C:
5861         * text2.C: move getColumnNearX() near its
5862         only call site
5863
5864 2003-03-10  John Levon  <levon@movementarian.org>
5865
5866         * text.C: fix break before a minipage
5867
5868 2003-03-10  John Levon  <levon@movementarian.org>
5869
5870         * text.C: fix the last commit
5871
5872 2003-03-09  John Levon  <levon@movementarian.org>
5873
5874         * lyxtext.h:
5875         * text.C:
5876         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5877         bug 365 (don't break before insets unless needed). Don't
5878         return a value > last under any circumstances.
5879
5880 2003-03-09  Angus Leeming  <leeming@lyx.org>
5881
5882         * BufferView_pimpl.C (trackChanges, dispatch): call
5883         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5884
5885 2003-03-09  Angus Leeming  <leeming@lyx.org>
5886
5887         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5888         than Dialogs::showAboutlyx().
5889
5890 2003-03-09  Angus Leeming  <leeming@lyx.org>
5891
5892         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5893         than Dialogs::showTabularCreate().
5894
5895 2003-03-09  John Levon  <levon@movementarian.org>
5896
5897         * lyxtext.h:
5898         * text.C:
5899         * text2.C: 3rd arg to nextBreakPoint was always the same.
5900           Use references.
5901
5902 2003-03-08  John Levon  <levon@movementarian.org>
5903
5904         * lyxrow.C:
5905         * paragraph.C:
5906         * paragraph.h:
5907         * rowpainter.C:
5908         * text.C:
5909         * text2.C: Remove the "main" bit from the "main body"
5910           notion.
5911
5912 2003-03-08  John Levon  <levon@movementarian.org>
5913
5914         * text.C (leftMargin): The left margin of an empty
5915         manual label paragraph should not include the label width
5916         string length.
5917
5918         * text.C (prepareToPrint): don't attempt to measure hfills
5919         for empty manual label paragraphs - the answer should be 0
5920
5921 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5922
5923         * CutAndPaste.C: remove commented code and reindent.
5924
5925 2003-03-08  John Levon  <levon@movementarian.org>
5926
5927         * lyxfunc.h:
5928         * lyxfunc.C: move reloadBuffer()
5929
5930         * BufferView.h:
5931         * BufferView.C: to here
5932
5933         * lyxvc.C: add comment
5934
5935         * vc-backend.h:
5936         * vc-backend.C: call bv->reload() to avoid
5937           getStatus() check on MENURELOAD
5938
5939 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
5940
5941         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5942         to an old format .dep file.
5943
5944 2003-03-07  Angus Leeming  <leeming@lyx.org>
5945
5946         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5947         when the LFUN_MOUSE_RELEASE should have been handled by
5948         inset->localDispatch.
5949
5950 2003-03-07  Angus Leeming  <leeming@lyx.org>
5951
5952         * BufferView_pimpl.C (dispatch):
5953         * LyXAction.C (init):
5954         * ToolbarDefaults.C (init):
5955         * commandtags.h:
5956         * lyxfunc.C (getStatus):
5957         remove LFUN_INSET_GRAPHICS.
5958
5959         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5960
5961 2003-03-07  Angus Leeming  <leeming@lyx.org>
5962
5963         * commandtags.h:
5964         * LyXAction.C (init):
5965         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5966
5967         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5968
5969         * commandtags.h:
5970         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5971
5972         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5973         localDispatch method LFUN_INSET_DIALOG_UPDATE.
5974
5975 2003-03-07  Angus Leeming  <leeming@lyx.org>
5976
5977         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5978         remove "ert".
5979
5980 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5981
5982         * ParagraphList.C (front): new function
5983         (back): implement
5984
5985 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
5986
5987         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5988         and top_row_offset_. removed var first_y.
5989         * text.C (top_y):
5990         * text2.C (LyXText, removeRow):
5991         * text3.C:
5992         * BufferView_pimpl.C:
5993         use these methods instead of using first_y
5994
5995 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5996
5997         * text2.C (pasteSelection): adjust for checkPastePossible
5998
5999         * CutAndPaste.C: remove Paragraph * buf and replace with
6000         ParagraphList paragraphs.
6001         (DeleteBuffer): delete
6002         (cutSelection): change the tc type to textclass_type
6003         (copySelection): change the tc type to textclass_type
6004         (copySelection): adjust for ParagraphList
6005         (pasteSelection): change the tc type to textclass_type
6006         (pasteSelection): adjust for Paragraphlist
6007         (nrOfParagraphs): simplify for ParagraphList
6008         (checkPastePossible): simplify for ParagraphList
6009         (checkPastePossible): remove unused arg
6010
6011         * ParagraphList.C (insert): handle the case where there are no
6012         paragraphs yet.
6013
6014         * CutAndPaste.h: make CutAndPaste a namespace.
6015
6016         * text3.C (dispatch): adjust
6017
6018         * text.C (breakParagraph): add a ParagraphList as arg
6019
6020         * paragraph_funcs.C (breakParagraph): change to take a
6021         BufferParams and a ParagraphList as args.
6022         (breakParagraphConservative): ditto
6023         (mergeParagraph): ditto
6024         (TeXDeeper): add a ParagraphList arg
6025         (TeXEnvironment): ditto
6026         (TeXOnePar): ditto
6027
6028         * buffer.C (readLyXformat2): adjust
6029         (insertStringAsLines): adjust
6030         (latexParagraphs): adjust
6031
6032         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6033         (cutSelection): adjust
6034         (pasteSelection): adjust
6035
6036         * BufferView_pimpl.C (insertInset): adjust
6037
6038 2003-03-05  Angus Leeming  <leeming@lyx.org>
6039
6040         * commandtags.h:
6041         * LyXAction.C (init):
6042         * BufferView_pimpl.C (dispatch):
6043         * lyxfunc.C (getStatus):
6044         remove LFUN_CHILD_INSERT.
6045
6046         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6047
6048 2003-03-05  Angus Leeming  <leeming@lyx.org>
6049
6050         * commandtags.h:
6051         * LyXAction.C (init):
6052         * src/factory.C (createInset):
6053         * lyxfunc.C (getStatus):
6054         * text3.C (dispatch):
6055         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6056
6057         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6058
6059 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6060
6061         * ParagraphList.C (insert): handle insert right before end()
6062         (erase): fix cases where it can be first or last paragraph.
6063
6064 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6065
6066         * paragraph_funcs.C (TeXEnvironment): remove all usage of
6067         Paragraph::next and Paragraph::previous
6068         (TeXOnePar): ditto
6069
6070         * text.C (breakParagraph): adjust
6071
6072         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6073         BufferParams& as arg.
6074         (breakParagraph): use ParagraphList::insert
6075         (breakParagraphConservative): take a Buffer* instead of a
6076         BufferParams& as arg.
6077         (breakParagraphConservative): use ParagraphList::insert.
6078
6079         * buffer.C (insertStringAsLines): un-const it
6080         (insertStringAsLines): adjust
6081
6082         * ParagraphList.C (insert): new function
6083
6084         * CutAndPaste.C (pasteSelection): adjust
6085
6086         * text.C (backspace): adjust
6087
6088         * tabular.C (SetMultiColumn): adjust
6089
6090         * CutAndPaste.C (cutSelection): adjust
6091         (pasteSelection): adjust
6092
6093         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6094         Buffer const * as arg
6095
6096         * ParagraphList.C (erase): new function
6097         * paragraph_funcs.C (mergeParagraph): use it
6098         (mergeParagraph): make it take a Buffer* instead of a
6099         BufferParams* as arg
6100
6101         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6102         as arg
6103         (breakParagraphConservative): ditto
6104
6105         * paragraph.h: remove the breakParagraph friend
6106
6107         * paragraph.C (eraseIntern): new function
6108         (setChange): new function
6109
6110         * paragraph_funcs.C (mergeParagraph): make it take a
6111         ParagraphList::iterator instead of a Paragraph *, adjust
6112         accordingly.
6113
6114         * paragraph.h: move an #endif so that the change tracking stuff
6115         also works in the NO_NEXT case.
6116
6117 2003-03-04  Angus Leeming  <leeming@lyx.org>
6118
6119         * commandtags.h:
6120         * LyXAction.C: new LFUN_INSET_MODIFY.
6121
6122         * BufferView_pimpl.C (dispatch): if an inset is found to be open
6123         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6124
6125 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6126
6127         * several files: ws changes only
6128
6129         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6130         (TeXEnvironment): ditto
6131         (TeXDeeper): ditto
6132
6133         * buffer.C (makeLaTeXFile): adjust
6134         (latexParagraphs): make it take ParagraphList::iterator as args
6135
6136 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6137
6138         * buffer.C (latexParagraphs): adjust
6139
6140         * paragraph.C (TeXOnePar): move function...
6141         (optArgInset): move function...
6142         (TeXEnvironment): move function...
6143         * paragraph_pimpl.C (TeXDeeper): move function...
6144         * paragraph_funcs.C: ...here
6145
6146         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6147
6148 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6149
6150         * buffer.C (readInset): remove compability code for old Figure and
6151         InsetInfo insets
6152
6153 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6154
6155         * buffer.C: ws changes
6156         (readInset):
6157
6158         * BufferView_pimpl.C: ditto
6159         * author.C: ditto
6160         * buffer.h: ditto
6161         * bufferlist.h: ditto
6162         * changes.h: ditto
6163         * lyxfunc.C: ditto
6164
6165 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
6166
6167         * converter.[Ch]: split into itself +
6168         * graph.[Ch]
6169         * format.[Ch]
6170         * Makefile.am: += graph.[Ch] + format.[Ch]
6171         * MenuBackend.C
6172         * buffer.C
6173         * exporter.C
6174         * importer.C
6175         * lyx_main.C
6176         * lyxfunc.C
6177         * lyxrc.C: added #include "format.h"
6178
6179 2003-02-27  Angus Leeming  <leeming@lyx.org>
6180
6181         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6182           a label.
6183
6184         * factory.C (createInset): add "label" to the factory.
6185
6186         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6187           string and do no more.
6188
6189 2003-02-27  Angus Leeming  <leeming@lyx.org>
6190
6191         * commandtags.h:
6192         * LyXAction.C (init):
6193         * factory.C (createInset):
6194         * BufferView_pimpl.C (dispatch):
6195           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6196
6197         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6198
6199         * lyxfunc.C (dispatch):
6200         * text3.C (dispatch): pass name to params2string.
6201
6202 2003-02-26  Angus Leeming  <leeming@lyx.org>
6203
6204         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6205           blocks together.
6206           Rearrange the ~includes. Strip out the unnecessary ones.
6207
6208         * factory.C (createInset): reformat.
6209           create new insets for the various LFUN_XYZ_APPLY lfuns.
6210
6211 2003-02-26  John Levon  <levon@movementarian.org>
6212
6213         * lyxrow.h:
6214         * lyxrow.C: add isParStart,isParEnd helpers
6215
6216         * paragraph.h: make isInserted/DeletedText take refs
6217
6218         * paragraph_funcs.h:
6219         * paragraph_funcs.C: remove #if 0'd code
6220
6221         * lyxtext.h:
6222         * text3.C:
6223         * text2.C:
6224         * text.C: use lyxrow helpers above.
6225           Move draw and paint routines to RowPainter.
6226           Make several methods use refs not pointers.
6227           Make backgroundColor() const.
6228           Add markChangeInDraw(), isInInset().
6229           Merge changeRegionCase into changeCase.
6230           Make workWidth() shouldn't-happen code into an Assert.
6231
6232         * rowpainter.h:
6233         * rowpainter.C: new class for painting a row.
6234
6235         * vspace.h:
6236         * vspace.C: make inPixels take a ref
6237
6238 2003-02-26  Angus Leeming  <leeming@lyx.org>
6239
6240         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6241         LFUN_REF_APPLY.
6242
6243 2003-02-25  John Levon  <levon@movementarian.org>
6244
6245         * ispell.C: give the forked command a more accurate name
6246
6247 2003-02-22  John Levon  <levon@movementarian.org>
6248
6249         * toc.h:
6250         * toc.C: make TocItem store an id not a Paragraph *
6251           (bug #913)
6252
6253 2003-02-21  Angus Leeming  <leeming@lyx.org>
6254
6255         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6256           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6257           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6258           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6259           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6260           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6261
6262         * BufferView_pimpl.C (dispatch):
6263         * LyXAction.C (init):
6264         * factory.C (createInset):
6265         * lyxfunc.C (getStatus, dispatch):
6266         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6267
6268 2003-02-21  Angus Leeming  <leeming@lyx.org>
6269
6270         * BufferView_pimpl.C (MenuInsertLyXFile):
6271         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6272         * lyxfunc.C (menuNew, open, doImport):
6273           no longer pass a LyXView & to fileDlg.
6274
6275 2003-02-21  Angus Leeming  <leeming@lyx.org>
6276
6277         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6278         * LyXAction.C: change, BIBKEY to BIBITEM.
6279         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6280         Change InsetBibKey to InsetBibitem.
6281         Change BIBKEY_CODE to BIBITEM_CODE.
6282         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6283         * factory.C: replace insetbib.h with insetbibitem.h.
6284         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6285         * paragraph.C: replace insetbib.h with insetbibitem.h.
6286         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6287         Change bibkey() to bibitem().
6288         * text.C: remove insetbib.h.
6289         * text2.C: replace insetbib.h with insetbibitem.h.
6290         change bibkey() to bibitem().
6291         * text3.C: remove insetbib.h.
6292         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6293
6294 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6295
6296         * lyxrc.C (output): enclose user email in quotes (in case there are
6297         several words)
6298
6299 2003-02-18  John Levon  <levon@movementarian.org>
6300
6301         * buffer.h: add std::
6302
6303 2003-02-17  John Levon  <levon@movementarian.org>
6304
6305         * SpellBase.h:
6306         * ispell.h:
6307         * ispell.C:
6308         * pspell.h:
6309         * pspell.C: reworking. Especially in ispell, a large
6310           number of clean ups and bug fixes.
6311
6312         * lyxfunc.C: fix revert to behave sensibly
6313
6314 2003-02-17 André Pönitz <poenitz@gmx.net>
6315
6316         * LyXAction.C:
6317         * commandtags.h: new LFUN_INSERT_BIBKEY
6318
6319         * layout.h:
6320         * lyxlayout.C:
6321         * buffer.C:
6322         * factory.C:
6323         * text.C:
6324         * text2.C:
6325         * text3.C:
6326         * paragraph.[Ch]:
6327         * paragraph_func.C: remove special bibkey handling
6328
6329 2003-02-17  John Levon  <levon@movementarian.org>
6330
6331         * text.C (Delete): fix case where delete at the end of
6332           the very first paragraph would not merge the pars
6333
6334 2003-02-17  John Levon  <levon@movementarian.org>
6335
6336         * lyxrow.C: fix lastPrintablePos()
6337
6338 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6339
6340         * bufferparams.C (writeLaTeX): add a std:here
6341
6342         * buffer.C: and remove a using directive there
6343
6344 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6345
6346         * buffer.C (makeLaTeXFile): move the code that generates the
6347           preamble...
6348
6349         * bufferparams.C (writeLaTeX): ... in this new method
6350
6351         * LaTeXFeatures.C (getEncodingSet): make const
6352           (getLanguages): make const
6353
6354         * MenuBackend.C (binding): returns the binding associated to this
6355           action
6356           (add): sets the status of each item by calling getStatus. Adds
6357           some intelligence.
6358           (read): add support for OptSubMenu
6359           (expand): remove extra separator at the end of expanded menu
6360
6361 2003-02-15  John Levon  <levon@movementarian.org>
6362
6363         * BufferView.C:
6364         * BufferView_pimpl.C:
6365         * bufferlist.h:
6366         * bufferlist.C: remove pointless BufferStorage bloat. Remove
6367           inset code that had no actual effect. Remove unneeded status
6368           code.
6369
6370 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6371
6372         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6373           in preamble
6374
6375 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
6376
6377         * text.C (drawLengthMarker): also draw an arrow marker for
6378           symbolic lengths (medskip...)
6379
6380 2003-02-14  John Levon  <levon@movementarian.org>
6381
6382         * tabular.h:
6383         * tabular.C: better method names
6384
6385 2003-02-14  John Levon  <levon@movementarian.org>
6386
6387         * BufferView_pimpl.C:
6388         * bufferlist.C:
6389         * buffer.C:
6390         * converter.C:
6391         * lyx_cb.C:
6392         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6393           it's a more accurate name. Remove some pointless uses.
6394
6395 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6396
6397         * text2.C (LyXText): change order of initilizers to shut off
6398           warnings
6399
6400 2003-02-14  John Levon  <levon@movementarian.org>
6401
6402         * buffer.C: use ParIterator for getParFromID()
6403
6404         * paragraph.h:
6405         * paragraph.C:
6406         * paragraph_pimpl.h:
6407         * paragraph_pimpl.C: remove unused getParFromID()
6408
6409 2003-02-14  John Levon  <levon@movementarian.org>
6410
6411         * buffer.C: remove some very old #if 0'd parse code
6412
6413 2003-02-13  John Levon  <levon@movementarian.org>
6414
6415         * text.h:
6416         * text.C:
6417         * text2.C: move hfillExpansion(), numberOfSeparators(),
6418           rowLast(), rowLastPrintable(), numberofHfills(),
6419           numberOfLabelHfills() ...
6420
6421         * lyxrow.h:
6422         * lyxrow.C: ... to member functions here.
6423
6424         * paragraph.h:
6425         * paragraph.C:
6426         * lyxtext.h:
6427         * text.C: remove LyXText::beginningOfMainBody(), and call
6428           p->beginningOfMainBody() directly. Move the check for
6429           LABEL_MANUAL into the latter.
6430
6431         * text.h:
6432         * text.C:
6433         * text2.C:
6434         * vspace.C:
6435         * BufferView.h:
6436         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6437
6438         * text.h:
6439         * text.C:
6440         * text2.C:
6441         * text3.C:
6442         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6443           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6444
6445 2003-02-13  John Levon  <levon@movementarian.org>
6446
6447         * CutAndPaste.C: remove debug
6448
6449 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6450
6451         * paragraph.C (asString): remove two unused variables
6452
6453         * lyxtextclass.C (readTitleType):
6454           (Read):
6455           (LyXTextClass): handle new members titletype_ and titlename_
6456
6457         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6458
6459 2003-02-09  John Levon  <levon@movementarian.org>
6460
6461         * buffer.h:
6462         * buffer.C: replace hand-coded list with a map for the dep clean
6463
6464 2003-02-08  John Levon  <levon@movementarian.org>
6465
6466         * LaTeX.C: consolidate code into showRunMessage() helper
6467
6468 2003-02-08  John Levon  <levon@movementarian.org>
6469
6470         * lyxfind.C:
6471         * lyxtext.h:
6472         * text2.C:
6473         * BufferView.C: change setSelectionOverString() to setSelectionRange()
6474           and pass the size in explicitly
6475
6476         * BufferView_pimpl.h:
6477         * BufferView_pimpl.C:
6478         * BufferView.h:
6479         * BufferView.C: add getCurrentChange()
6480
6481         * BufferView_pimpl.h:
6482         * BufferView_pimpl.C: handle change lfuns
6483
6484         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6485           for changes. Mark pasted paragraphs as new.
6486
6487         * support/lyxtime.h:
6488         * support/lyxtime.C:
6489         * DepTable.C: abstract time_t as lyx::time_type
6490
6491         * LColor.h:
6492         * LColor.C: add colours for new text, deleted text, changebars
6493
6494         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6495           package use "usenames" option.
6496
6497         * commandtags.h:
6498         * lyxfunc.C:
6499         * LyXAction.C: add change lfuns
6500
6501         * Makefile.am:
6502         * author.h:
6503         * author.C: author handling
6504
6505         * buffer.h:
6506         * buffer.C: add a per-buffer author list, with first entry as
6507           current author. Handle new .lyx tokens for change tracking. Output
6508           author list to .lyx file. Output dvipost stuff to .tex preamble.
6509           Bump lyx format to 222.
6510
6511         * bufferlist.h:
6512         * bufferlist.C: add setCurrentAuthor() to reset current author details
6513           in all buffers.
6514
6515         * bufferparams.h:
6516         * bufferparams.C: add param for tracking
6517
6518         * bufferview_funcs.C: output change info in minibuffer
6519
6520         * Makefile.am:
6521         * changes.h:
6522         * changes.C: add change-tracking structure
6523
6524         * debug.h:
6525         * debug.C: add CHANGES debug flag
6526
6527         * lyxfind.h:
6528         * lyxfind.C: add code for finding the next change piece
6529
6530         * lyxrc.h:
6531         * lyxrc.C: add user_name and user_email
6532
6533         * lyxrow.h:
6534         * lyxrow.C: add a metric for the top of the text line
6535
6536         * lyxtext.h:
6537         * text.C: implement accept/rejectChange()
6538
6539         * lyxtext.h:
6540         * text.C: paint changebars. Paint new/deleted text in the chosen
6541         colours. Strike through deleted text.
6542
6543         * paragraph.h:
6544         * paragraph.C:
6545         * paragraph_pimpl.h:
6546         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6547           in the current change to the insert functions. Rework erase to
6548           mark text as deleted, adding an eraseIntern() and a range-based
6549           erase(). Implement per-paragraph change lookup and
6550           accept/reject.
6551
6552         * paragraph_funcs.C: Fixup paste for change tracking.
6553
6554         * tabular.C: mark added row/columns as new.
6555
6556         * text.C: fix rowLast() to never return -1. Don't allow
6557           spellchecking of deleted text. Track transpose changes. Don't
6558           allow paragraph break or merge where appropriate.
6559
6560         * text2.C: leave cursor at end of selection after a cut.
6561
6562 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6563
6564         * text.C (getLengthMarkerHeight):
6565         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6566         visible on screen too.
6567
6568 2003-02-07  John Levon  <levon@movementarian.org>
6569
6570         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6571
6572 2003-02-05  Angus Leeming  <leeming@lyx.org>
6573
6574         * lyxserver.C (read_ready): revert my patch of 11 September last year
6575         as it sends PC cpu through the roof. Presumably this means that
6576         the lyxserver will no longer run on an Alpha...
6577
6578 2003-01-30  Angus Leeming  <leeming@lyx.org>
6579
6580         * factory.C (createInset): create an InsetCommandParam of type "index"
6581         and use it to 'do the right thing'.
6582
6583         * text2.C (getStringToIndex): ensure that cursor position is always
6584         reset to the reset_cursor position.
6585
6586 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6587
6588         * lyxfunc.C (getStatus): "buffer-export custom" should never be
6589         disabled.
6590
6591 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
6592
6593         * bufferview.C:
6594         * lyxcb.C:
6595         * lyxfunc.C: Output messages with identical spelling, punctuation,
6596         and spaces
6597
6598 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
6599
6600         * MenuBackend.C (expandFormats): List only viewable export formats
6601         in "View" menu
6602
6603         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6604         message
6605
6606         * lyxfunc.C (getStatus): Make sure that formats other than
6607         "fax" can also be disabled
6608
6609 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6610
6611         * text3.C (dispatch): put the lfuns that insert insets in 3
6612         groups, and call doInsertInset with appropriate arguments.
6613         (doInsertInset): new function, that creates an inset and inserts
6614         it according to some boolean parameters.
6615
6616 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6617
6618         * buffer.C (readFile): remember to pass on 'par' when calling
6619         readFile recursively.
6620
6621 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6622
6623         * MenuBackend.C (expandFormats): add "..." to import formats.
6624
6625 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
6626
6627         * paragraph.C (asString): Remove XForms RTL hacks.
6628
6629 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
6630         * buffer.C: fix typo
6631
6632 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6633
6634         * Makefile.am (LIBS): delete var
6635         (lyx_LDADD): add @LIBS@ here instead.
6636
6637 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
6638
6639         * Clarify the meaning of "wheel mouse jump"
6640
6641 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6642
6643         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6644         tabular in a float
6645
6646 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6647
6648         * importer.C (Loaders): do not preallocate 3 elements in the
6649         vector, since one ends up with 6 elements otherwise
6650
6651 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6652
6653         * DepTable.C (write): write the file name as last element of the
6654         .dep file (because it may contain spaces)
6655         (read): read info in the right order
6656
6657 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6658
6659         * paragraph_pimpl.C (simpleTeXBlanks):
6660         (simpleTeXSpecialChars):
6661         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6662
6663         * tabular.C (latex): add some missing case statements. Reindent.
6664
6665         * MenuBackend.C (expandToc): remove unused variable.
6666
6667 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
6668
6669         * LColor.C:
6670         * LaTeX.C:
6671         * LyXAction.C:
6672         * MenuBackend.C:
6673         * buffer.C:
6674         * exporter.C:
6675         * lyxfunc.C:
6676         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6677         and the like.
6678
6679 2003-01-05  John Levon  <levon@movementarian.org>
6680
6681         * BufferView.h:
6682         * BufferView.C: add getEncoding()
6683
6684         * kbsequence.h:
6685         * kbsequence.C: do not store last keypress
6686
6687         * lyxfunc.h:
6688         * lyxfunc.C: store last keypress here instead. Pass encoding
6689           to getISOEncoded()
6690
6691 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6692
6693         * lyx_main.C (init): remove annoying error message when following
6694         symbolic links (bug #780)
6695
6696 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6697
6698         * text.C (insertChar):
6699         * lyxrc.C (getDescription): remove extra spaces
6700
6701 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6702
6703         * lyxrc.C (getDescription): remove extra spaces
6704
6705 2002-12-20  John Levon  <levon@movementarian.org>
6706
6707         * text3.C: hack fix for page up/down across tall rows
6708
6709 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6710
6711         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6712         not been invoked
6713
6714 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6715
6716         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6717         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6718         thesaurus is not compiled in
6719
6720 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
6721
6722         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6723
6724 2002-12-16  Angus Leeming  <leeming@lyx.org>
6725
6726         * lyxrc.[Ch]:
6727         * lyx_main.C (init): remove override_x_deadkeys stuff.
6728
6729 2002-12-12  John Levon  <levon@movementarian.org>
6730
6731         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6732           insert. Only remove shift modifier under strict
6733           circumstances.
6734
6735 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6736
6737         * MenuBackend.C (expandToc): fix crash.
6738
6739 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6740
6741         * MenuBackend.C (expandToc): gettext on float names.
6742
6743 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6744
6745         * lyxlength.[Ch]: set default unit to UNIT_NONE,
6746         implement bool empty() [bug 490]
6747
6748 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6749
6750         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6751
6752 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6753
6754         * several files: ws changes
6755
6756 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6757
6758         * text2.C (setCounter): clean up a bit, use boost.format.
6759         (updateCounters): initialize par upon declaration.
6760
6761         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6762         if the layout exists. We do not just store the layout any more.
6763         (SwitchLayoutsBetweenClasses): use boost.format
6764
6765 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6766
6767         * converter.C (convert): if from and to files are the same, use a
6768         temporary files as intermediary
6769
6770 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6771
6772         * commandtags.h:
6773         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6774
6775 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6776
6777         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6778
6779 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6780
6781         * tabular.C (asciiPrintCell): use string(size, char) instead of
6782         explicit loop.
6783
6784         * sgml.C (openTag): fix order of arguments to string constructor
6785         (closeTag): ditto
6786
6787         * lyxfunc.C (dispatch): use boost.format
6788
6789         * lots of files: change "c" -> 'c'
6790
6791 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6792
6793         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6794
6795 2002-11-25  Angus Leeming  <leeming@lyx.org>
6796
6797         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6798
6799         * lyx_main.C (init): compile fix.
6800
6801 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6802
6803         * lyx_cb.C (start): boost.formatify
6804         do not include <iostream>
6805
6806         * lengthcommon.C: ws only
6807
6808         * boost-inst.C,BoostFormat.h: add more explict instantations
6809
6810 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6811
6812         * lots of files: handle USE_BOOST_FORMAT
6813
6814 2002-11-21  John Levon  <levon@movementarian.org>
6815
6816         * pspell.C: fix compile
6817
6818 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6819
6820         * lyxfunc.C (dispatch): use boost::format
6821         (open): ditto
6822         (doImport): ditto
6823
6824         * lyxfont.C (stateText): use boost::format
6825
6826         * lyx_main.C (LyX): use boost::format
6827         (init): ditto
6828         (queryUserLyXDir): ditto
6829         (readRcFile): ditto
6830         (parse_dbg): ditto
6831         (typedef boost::function): use the recommened syntax.
6832
6833         * importer.C (Import): use boost::format
6834
6835         * debug.C (showLevel): use boost::format
6836
6837         * converter.C (view): use boost::format
6838         (convert): ditto
6839         (move): ditto
6840         (scanLog): ditto
6841
6842         * bufferview_funcs.C (currentState): use boost::format
6843
6844         * bufferlist.C (emergencyWrite): use boost::format
6845
6846         * buffer.C (readLyXformat2): use boost::format
6847         (parseSingleLyXformat2Token): ditto
6848
6849         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6850
6851         * LaTeX.C (run): use boost::format
6852
6853         * Chktex.C (scanLogFile): use boost::format
6854
6855         * BufferView_pimpl.C (savePosition): use boost::format
6856         (restorePosition): ditto
6857         (MenuInsertLyXFile): ditto
6858
6859         * BoostFormat.h: help file for explicit instation.
6860
6861 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6862
6863         * tabular.C (latex): Support for block alignment in fixed width
6864         columns.
6865
6866 2002-11-17  John Levon  <levon@movementarian.org>
6867
6868         * BufferView_pimpl.C:
6869         * lyx_cb.C:
6870         * lyxfunc.C: split filedialog into open/save
6871
6872 2002-11-08  Juergen Vigna  <jug@sad.it>
6873
6874         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6875         by my last patch (hopefully).
6876
6877 2002-11-08  John Levon  <levon@movementarian.org>
6878
6879         * iterators.h:
6880         * iterators.C:
6881         * buffer.h:
6882         * buffer.C:
6883         * paragraph.h:
6884         * paragraph.C:
6885         * toc.h:
6886         * toc.C: ParConstIterator, and use it (from Lars)
6887
6888 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6889
6890         * lyxtextclass.[Ch]: revise and add doxygen comments
6891
6892 2002-11-07  John Levon  <levon@movementarian.org>
6893
6894         * text.C: fix progress value for spellchecker
6895
6896         * toc.C: fix navigate menu for insetwrap inside minipage
6897
6898         * paragraph_funcs.C: added FIXME for suspect code
6899
6900 2002-11-07  John Levon  <levon@movementarian.org>
6901
6902         * BufferView_pimpl.C: fix redrawing of insets
6903           on buffer switch
6904
6905 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6906
6907         * text2.C (updateCounters): fix bug 668
6908
6909 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
6910
6911         * text3.C (dispatch): Do not make the buffer dirty when moving the
6912         cursor.
6913
6914 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6915
6916         * vc-backend.C: STRCONV
6917         (scanMaster): ditto
6918
6919         * text2.C (setCounter): STRCONV
6920
6921         * paragraph.C (asString): STRCONV
6922
6923         * lyxlength.C (asString): STRCONV
6924         (asLatexString): ditto
6925
6926         * lyxgluelength.C (asString): STRCONV
6927         (asLatexString): ditto
6928
6929         * lyxfunc.C (dispatch): STRCONV
6930         (open): ditto
6931
6932         * lyxfont.C (stateText): STRCONV
6933
6934         * importer.C (Import): STRCONV
6935
6936         * counters.C (labelItem): STRCONV
6937         (numberLabel): ditto
6938         (numberLabel): remove unused ostringstream o
6939
6940         * chset.C: STRCONV
6941         (loadFile): ditto
6942
6943         * bufferview_funcs.C (currentState): STRCONV
6944
6945         * buffer.C (readFile): STRCONV
6946         (asciiParagraph): ditto
6947         (makeLaTeXFile): ditto
6948
6949         * Spacing.C (writeEnvirBegin): STRCONV
6950
6951         * LaTeXFeatures.C (getLanguages): STRCONV
6952         (getPackages): ditto
6953         (getMacros): ditto
6954         (getBabelOptions): ditto
6955         (getTClassPreamble): ditto
6956         (getLyXSGMLEntities): ditto
6957         (getIncludedFiles): ditto
6958
6959         * LaTeX.C: STRCONV
6960         (run): ditto
6961         (scanAuxFile): ditto
6962         (deplog): ditto
6963
6964         * LString.h: add the STRCONV macros
6965
6966         * BufferView_pimpl.C (savePosition): STRCONV
6967         (restorePosition): ditto
6968         (MenuInsertLyXFile): ditto
6969
6970         * vc-backend.C (scanMaster): change from submatch[...] to
6971         submatch.str(...)
6972
6973         * funcrequest.C: include config.h
6974
6975         * factory.C: include config.h
6976
6977         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6978
6979         * box.C: include config.h
6980
6981         * LaTeX.C (scanAuxFile): change from submatch[...] to
6982         submatch.str(...)
6983         (deplog): ditto
6984
6985 2002-10-25  Angus Leeming  <leeming@lyx.org>
6986
6987         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6988
6989         * ispell.[Ch] (setError): new method.
6990         * ispell.C (c-tor): move out child process into new class LaunchIspell.
6991         Use setError() insetead of goto END.
6992
6993         * lyx_cb.C (AutoSave): move out child process into new class
6994         AutoSaveBuffer.
6995
6996 2002-10-30  John Levon  <levon@movementarian.org>
6997
6998         * text3.C: make start appendix undoable
6999
7000 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
7001
7002         * lyxlength.C (inPixels): Fix returned value.
7003
7004         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7005         environment.
7006
7007 2002-10-24  Angus Leeming  <leeming@lyx.org>
7008
7009         * lyxgluelength.h: no need to forward declare BufferParams
7010         or BufferView, so don't.
7011
7012 2002-10-21  John Levon  <levon@movementarian.org>
7013
7014         * BufferView.C: menuUndo ->undo, redo
7015
7016         * BufferView.h: document, remove dead, make some methods private
7017
7018         * paragraph_funcs.h:
7019         * paragraph_funcs.C:
7020         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7021
7022         * buffer.h:
7023         * buffer.C:
7024         * sgml.h:
7025         * sgml.C: move sgml open/close tag into sgml.C
7026
7027         * bufferview_funcs.h: unused prototype
7028
7029         * lyxfunc.h:
7030         * lyxfunc.C: remove unused
7031
7032         * lyxtext.h:
7033         * text.C: remove unused
7034
7035 2002-10-21  John Levon  <levon@movementarian.org>
7036
7037         * BufferView.h:
7038         * BufferView.C:
7039         * BufferView_pimpl.h:
7040         * BufferView_pimpl.C: fix mouse wheel handling based on
7041           patch from Darren Freeman
7042
7043 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
7044
7045         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7046
7047 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
7048
7049         * lyxlength.C (inPixels): Fix hanfling of negative length.
7050         Fix LyXLength::MU case.
7051
7052 2002-10-16  John Levon  <levon@movementarian.org>
7053
7054         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7055
7056 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7057
7058         * converter.C (view): add support for $$i (file name) and $$p
7059         (file path) for the viewer command. If $$i is not specified, then
7060         it is appended to the command (for compatibility with old syntax)
7061
7062 2002-10-14  Juergen Vigna  <jug@sad.it>
7063
7064         * undo_funcs.C (textHandleUndo): alter the order in which the
7065         new undopar is added to the LyXText, as we have to set first
7066         the right prev/next and then add it as otherwise the rebuild of
7067         LyXText is not correct. Also reset the cursor to the right paragraph,
7068         with this IMO we could remove the hack in "redoParagraphs()".
7069
7070 2002-10-09  Angus Leeming  <leeming@lyx.org>
7071
7072         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7073         to turn off an optimisation if a new inset is to be inserted.
7074
7075 2002-10-11 André Pönitz <poenitz@gmx.net>
7076
7077         * lyxtext.h: make some functions public to allow access
7078         from inset/lyxtext for handling LFUN_PRIOR/NEXT
7079
7080 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7081
7082         * text3.C (dispatch): when changing layout, avoid an infinite loop
7083         [bug #652]
7084
7085 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7086
7087         * lyxrc.C (read): treat a viewer or converter command of "none" as
7088         if it were empty.
7089
7090         * MenuBackend.C (expandFormats): for an update, also allow the
7091         formats that are not viewable
7092
7093         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7094         script if it is newer than the lyxrc.defaults in user directory
7095
7096 2002-10-07 André Pönitz <poenitz@gmx.net>
7097
7098         * text.C: Vitaly Lipatov's small i18n fix
7099
7100 2002-09-25  Angus Leeming  <leeming@lyx.org>
7101
7102         * ispell.h: doxygen fix.
7103
7104 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
7105
7106         * buffer.h (readFile): Add a new argument to the method, to allow
7107         reading of old-format templates.
7108
7109 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
7110
7111         * toc.C (getTocList): Get TOC from InsetWrap.
7112
7113 2002-09-16  John Levon  <levon@movementarian.org>
7114
7115         * lyxfunc.C: check tabular for cut/copy too
7116
7117 2002-09-12  John Levon  <levon@movementarian.org>
7118
7119         * LyXAction.C: tidy
7120
7121         * factory.h:
7122         * factory.C: add header
7123
7124         * paragraph_funcs.h:
7125         * paragraph_funcs.C: cleanup
7126
7127 2002-09-11  John Levon  <levon@movementarian.org>
7128
7129         * PrinterParams.h: odd/even default to true
7130
7131 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
7132
7133         * PrinterParams.h: update printer parameters for new xforms dialog
7134
7135 2002-09-11  Angus Leeming  <leeming@lyx.org>
7136
7137         * lyxserver.C (read_ready): re-write to make it more transparent
7138         and to make it work in coherent fashion under Tru64 Unix.
7139
7140 2002-09-11  André Pönitz <poenitz@gmx.net>
7141
7142         * commandtags.h:
7143         * LyXAction.C:
7144         * text3.C: implement LFUN_WORDSEL
7145
7146 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7147
7148         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7149         make floatlist_ a boost::shared_ptr<FloatList>
7150
7151         * lyxtextclass.C: include FloatList.h
7152         (LyXTextClass): initialize floatlist_
7153         (TextClassTags): add TC_NOFLOAT
7154         (Read): match "nofloat" to TC_NOFLOAT and use it.
7155         (readFloat): modify call to floatlist_
7156         (floats): ditto
7157         (floats): ditto
7158
7159         * FloatList.[Ch] (FloatList): remove commented out float
7160         initialization.
7161         (erase): new function
7162
7163 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7164
7165         * MenuBackend.C (expandToc): fix crash when there is no document
7166         open
7167
7168 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
7169
7170         * many files: Add insetwrap.
7171
7172 2002-09-09  John Levon  <levon@movementarian.org>
7173
7174         * text2.C: remove confusing and awkward depth wraparound
7175
7176 2002-09-09  John Levon  <levon@movementarian.org>
7177
7178         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7179
7180         * buffer.h:
7181         * buffer.C: remove getIncludeonlyList()
7182
7183         * paragraph.C:
7184         * lyxfunc.C: remove headers
7185
7186 2002-09-09  Juergen Vigna  <jug@sad.it>
7187
7188         * text.C (getColumnNearX): fix form Michael this is most
7189         probably a cut&paste bug.
7190
7191 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7192
7193         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7194
7195         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7196         references, ws changes.
7197
7198         * text2.C (init): update counters after init
7199         (insertParagraph): no need to set counter on idividual paragraphs.
7200         (setCounter): access the counters object in the textclass object
7201         on in the buffer object.
7202         (updateCounters): ditto
7203
7204         * lyxtextclass.C: include counters.h, add variable ctrs_ as
7205         shared_ptr<Counters> to avoid loading counters.h in all
7206         compilation units.
7207         (LyXTextClass): initialize ctrs_
7208         (TextClassTags): add TC_COUNTER, and ...
7209         (Read): use it here.
7210         (CounterTags): new tags
7211         (readCounter): new function
7212         (counters): new funtion
7213         (defaultLayoutName): return a const reference
7214
7215         * counters.C (Counters): remove contructor
7216         (newCounter): remove a couple of unneeded statements.
7217         (newCounter): simplify a bit.
7218         (numberLabel): some small formatting changes.
7219
7220         * buffer.[Ch]: remove all traces of counters, move the Counters
7221         object to the LyXTextClass.
7222
7223 2002-09-06  Alain Castera  <castera@in2p3.fr>
7224
7225         * tabular.C: uses \tabularnewline; uses >{...} construct from array
7226         package to set the horizontal alignment on fixed width columns.
7227
7228         * lyx_sty.C:
7229         * lyx_sty.h: added tabularnewline macro def.
7230
7231         * LaTeXFeatures.C: added NeedTabularnewline macro feature
7232
7233 2002-09-06  John Levon  <levon@movementarian.org>
7234
7235         * LyXAction.C: tooltips for sub/superscript
7236
7237         * MenuBackend.C: a bit more verbose
7238
7239         * lyxfunc.C: tiny clean
7240
7241         * undo_funcs.C: document undo_frozen
7242
7243 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7244
7245         * counters.C (Counters): add missing algorithm counter.
7246
7247         * text2.C (setCounter): lookup the counter with layouts latexname
7248         instead of by section number.
7249         (setCounter): use a hackish way to lookup the correct enum
7250         counter.
7251         a float name->type change
7252         reset enum couners with counter name directly instead of depth value.
7253
7254         * counters.C (Counters): remove the push_backs, change to use the
7255         float type not the float name.
7256         (labelItem): remove unused string, float name->type change
7257
7258         * counters.h: don't include vector, loose the enums and sects vectors
7259
7260 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7261
7262         * lyxtextclass.C (TextClassTags): add TC_FLOAT
7263         (Read): add float->TC_FLOAT to textclassTags
7264         (Read): and handle it in the switch
7265         (readFloat): new function
7266
7267         * FloatList.C (FloatList): comment out the hardcoded float
7268         definitions.
7269
7270         * lyxlayout.h: ws change.
7271
7272 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
7273
7274         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7275
7276 2002-09-03  Angus Leeming  <leeming@lyx.org>
7277
7278         * BufferView_pimpl.h: qualified name is not allowed in member
7279         declaration: WorkArea & Pimpl::workarea() const;
7280
7281         * factory.C: added using std::endl directive.
7282
7283         * text3.C: added using std::find and std::vector directives.
7284
7285 2002-08-29  André Pönitz <poenitz@gmx.net>
7286
7287         * lyxtext.h:
7288         * text2.C: remove unused member number_of_rows
7289
7290         * Makefile.am:
7291         * BufferView2.C: remove file, move contents to...
7292         * BufferView.C: ... here
7293
7294         * BufferView_pimpl.C:
7295         * factory.C: move more inset creation to factory
7296
7297         * vspace.C: avoid direct usage of LyXText, ws changes
7298
7299         * BufferView.[Ch]:
7300                 don't provide direct access to WorkArea, use two simple
7301                 acessors haveSelction() and workHeight() instead
7302
7303
7304 2002-08-29  John Levon  <levon@movementarian.org>
7305
7306         * BufferView_pimpl.C (dispatch): do not continue when
7307           no buffer
7308
7309 2002-08-28  André Pönitz <poenitz@gmx.net>
7310
7311         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7312
7313         * BufferView.h:
7314         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7315
7316 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
7317
7318         * buffer.C: increment LYX_FORMAT to 221
7319
7320         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7321         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7322
7323         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7324
7325         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7326
7327 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7328
7329         * factory.C (createInset): use LyXTextClass::floats
7330
7331         * MenuBackend.C (expandFloatListInsert):
7332         (expandFloatInsert):
7333         (expandToc):
7334
7335         * text2.C (setCounter):
7336
7337         * LaTeXFeatures.C (useFloat):
7338         (getFloatDefinitions):
7339
7340         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7341
7342         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7343         floatlist_, with accessor floats().
7344
7345         * FloatList.h: remove global FloatList
7346
7347 2002-08-26  André Pönitz <poenitz@gmx.net>
7348
7349         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7350
7351         * BufferView.h:
7352         * BufferView2.C:
7353         * BufferView_pimpl.C:
7354         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7355
7356 2002-08-25  John Levon  <levon@movementarian.org>
7357
7358         * LyXAction.C: fix margin note description
7359
7360 2002-08-24  John Levon  <levon@movementarian.org>
7361
7362         * buffer.C:
7363         * bufferlist.C:
7364         * bufferview_funcs.C:
7365         * lyxfont.C:
7366         * undo_funcs.C: cleanups
7367
7368         * lyxfunc.C: disable CUT/COPY when no selection
7369
7370 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
7371
7372         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7373         in "enum UNIT"; e.g. PTW for Percent of TextWidth
7374
7375         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7376         Add backward compatibility to "mono", "gray" and "no".
7377
7378 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
7379
7380         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7381         (and file_format >= 200).
7382
7383 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7384
7385         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7386
7387 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7388
7389         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7390
7391 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
7392
7393         * BufferView_pimpl.C:
7394         * LyXAction.C:
7395         * buffer.C:
7396         * commandtags.h:
7397         * lyxfunc.C:
7398         * paragraph.[Ch]:
7399         * text2.C:
7400         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7401         inset and code to make it  work with the paragraph code. The inset
7402         can be anywhere in the paragraph, but will only do the expected
7403         thing in LaTeX if the layout file contains the parameter line
7404                         OptionalArgs    1
7405         (or more generally, a nonzero value) for that layout.
7406
7407 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7408
7409         * paragraph.h: remove the declaration of undefined counters class
7410         function.
7411
7412 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
7413
7414         * text2.C (setCounter):  fixed enumeration mis-count as reported by
7415         Dr. Richard Hawkins.
7416
7417 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7418
7419         * paragraph_funcs.h: remove some unneeded includes
7420
7421         * text.C (backspace): pasteParagraph now in global scipe
7422
7423         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7424         (pasteSelection): ditto
7425
7426         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7427         * paragraph_funcs.C (pasteParagraph): ... here
7428
7429 2002-08-20  André Pönitz <poenitz@gmx.net>
7430
7431         * commandtags.h: new LFUNs for swapping/copying table row/colums
7432
7433         * LyXAction.C:
7434         * lyxfunc.C: support for new lfuns
7435
7436 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7437
7438         * tabular.C:
7439         * buffer.[Ch]: remove NO_COMPABILITY stuff
7440
7441 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
7442
7443         * boost.C (throw_exception): new file, with helper function for
7444         boost compiled without exceptions.
7445
7446         * paragraph.h:
7447         * lyxlength.C:
7448         * buffer.C:
7449         * ParameterStruct.h:
7450         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7451
7452         * bufferlist.C (emergencyWriteAll): use boost bind
7453
7454         * BufferView_pimpl.C (moveCursorUpdate): remove inline
7455
7456         * text.C: include paragraph_funcs.h
7457         (breakParagraph): breakParagraph is now in global scope
7458
7459         * paragraph_funcs.[Ch]: new files
7460
7461         * paragraph.C (breakParagraph,breakParagraphConservative): move to
7462         global scope
7463
7464         * buffer.C: include paragraph_funcs.h
7465         (insertStringAsLines): breakParagraph is now in global scope
7466
7467         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7468         paragraph_funcs.C
7469
7470         * CutAndPaste.C: include paragraph_funcs.h
7471         (cutSelection): breakParagraphConservative is now in global scope
7472         (pasteSelection): ditto
7473
7474         * buffer.h: declare oprator== and operator!= for
7475         Buffer::inset_iterator
7476
7477         * bufferlist.C (emergencyWrite): don't use fmt(...)
7478
7479         * text3.C: add using std::endl
7480
7481         * BufferView.C (moveCursorUpdate): remove default arg
7482
7483 2002-08-20  André Pönitz <poenitz@gmx.net>
7484
7485         * buffer.[Ch]: move inline functions to .C
7486
7487         * BufferView2.C:
7488         * BufferView_pimpl.C:
7489         * text.C:
7490         * buffer.[Ch]: use improved inset_iterator
7491
7492         * buffer.C:
7493         * paragraph.[Ch]: write one paragraph at a time
7494
7495 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
7496
7497         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7498         style if style is not specified.
7499
7500 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7501
7502         * text2.C (setCounter): when searching for right label for a
7503         caption, make sure to recurse to parent insets (so that a caption
7504         in a minipage in a figure float works) (bug #568)
7505
7506 2002-08-20  André Pönitz <poenitz@gmx.net>
7507
7508         * text3.C: new file for LyXText::dispatch() and helpers
7509
7510         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7511
7512         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7513
7514 2002-08-19  André Pönitz <poenitz@gmx.net>
7515
7516         * lyxtext.h:
7517         * text.C: new LyXText::dispatch()
7518
7519         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7520
7521 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
7522
7523         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7524
7525         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7526         Hebrew text.
7527
7528 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7529
7530         * Makefile.am: use $(variables) instead of @substitutions@
7531
7532 2002-08-15  André Pönitz <poenitz@gmx.net>
7533
7534         * lyxfunc.C:
7535         * BufferView_pimpl.C: streamlining mathed <-> outer world
7536         interaction
7537
7538         * commandtags.h:
7539         * LyXAction.C: remove unused LFUN_MATH
7540
7541 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7542
7543         * paragraph.[Ch]: add some NO_NEXT ifdefs.
7544
7545 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7546
7547         * paragraph.C (Paragraph): reformat a bit
7548         (cutIntoMinibuffer): use builtin InsetList function instad of
7549         doing it manually.
7550         (getInset): ditto
7551
7552         * buffer.C: include boost/bind.hpp, add using std::for_each
7553         (writeFileAscii): use ParagraphList iterators
7554         (validate): use for_each for validate traversal of paragraphs
7555         (getBibkeyList): use ParagraphList iterators
7556         (resizeInsets): use for_each to resizeInsetsLyXText for all
7557         paragraphs.
7558         (getParFromID): use ParagraphList iterators
7559
7560         * BufferView2.C (lockInset): use paragraph list and iterators
7561
7562 2002-08-14  John Levon  <levon@movementarian.org>
7563
7564         * lyxserver.C: remove spurious xforms include
7565
7566 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7567
7568         * lyxfunc.C (getStatus): disable math-extern outside of math mode
7569
7570 2002-08-13  André Pönitz <poenitz@gmx.net>
7571
7572         * LyXAction.[Ch]:
7573         * lyxfunc.C: further cleaning
7574
7575 2002-08-13  André Pönitz <poenitz@gmx.net>
7576
7577         * funcrequest.h: new constructor
7578
7579         * funcrequest.C: move stuff here from .h
7580
7581         * Makefile.am:
7582         * BufferView_pimpl.C:
7583         * LyXAction.C:
7584         * toc.C:
7585         * lyxfunc.C: subsequent changes
7586
7587         * lyxfunc.h: new view() member function
7588
7589         * lyxfunc.C: subsequent changes
7590
7591 2002-08-13  Angus Leeming  <leeming@lyx.org>
7592
7593         * BufferView2.C:
7594         * BufferView_pimpl.C:
7595         * buffer.C:
7596         * converter.C:
7597         * importer.C:
7598         * lyxfunc.C:
7599         * lyxvc.C:
7600         * toc.C:
7601         * vc-backend.C:
7602         changes due to the changed LyXView interface that now returns references
7603         to member variables not pointers.
7604
7605 2002-08-13  Angus Leeming  <leeming@lyx.org>
7606
7607         * WordLangTuple (word, lang_code): return references to strings,
7608         not strings.
7609
7610         * BufferView.h:
7611         * SpellBase.h:
7612         * lyxtext.h: forward-declare WordLangTuple.
7613
7614         * BufferView2.C:
7615         * ispell.C:
7616         * pspell.C:
7617         * text.C: #include "WordLangTuple.h".
7618
7619         * lyxtext.h:
7620         * text.C: (selectNextWordToSpellcheck): constify return type.
7621
7622 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
7623
7624         * buffer.C:
7625         * buffer.h:
7626         * lyxtext.h:
7627         * paragraph.C:
7628         * paragraph_pimpl.h:
7629         * text.C:
7630         * text2.C:
7631         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7632         suggested by Angus.
7633         Made updateCounter always count from start of buffer, and removed
7634         second argument (par).
7635         Reverted floats number display to '#'. Perhaps I'll try again when the
7636         code base is sanitized a bit.
7637
7638 2002-08-12  Angus Leeming  <leeming@lyx.org>
7639
7640         * buffer.[Ch] (getLabelList): constify.
7641
7642 2002-08-07  André Pönitz <poenitz@gmx.net>
7643
7644         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7645
7646         * funcrequest.h: extension to keep mouse (x,y) position
7647
7648 2002-08-12  Juergen Vigna  <jug@sad.it>
7649
7650         * BufferView2.C (insertErrors): forbid undo when inserting error
7651         insets.
7652
7653         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7654
7655 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7656
7657         * ParagraphList.[Ch]: new files
7658
7659         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7660
7661         * BufferView2.C (lockInset): ParagraphList changes
7662         * toc.C: ditto
7663         * text2.C: ditto
7664         * bufferlist.C: ditto
7665         * buffer.h: ditto
7666         * buffer.C: ditto
7667
7668 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7669
7670         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7671         unused class variable counter_,
7672
7673         * paragraph.[Ch] (getFirstCounter): delete unused function
7674
7675         * counters.C: include LAssert.h
7676         (reset): add a new function with no arg, change other version to
7677         not have def. arg and to not allow empty arg.
7678
7679         * text2.C (setCounter): remove empty arg from call to Counters::reset
7680
7681 2002-08-11  John Levon  <levon@movementarian.org>
7682
7683         * Makefile.am: add WordLangTuple.h
7684
7685 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7686
7687         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7688         lyxfunc.C lyxlex_pimpl.C: ws changes only.
7689
7690         * insets/insettext.C: InsetList changes
7691
7692         * graphics/GraphicsSupport.C (operator()): InsetList changes
7693
7694         * toc.C (getTocList): InsetList changes
7695
7696         * paragraph_pimpl.[Ch]: InsetList changes
7697
7698         * paragraph.[Ch]: InsetList changes
7699
7700         * buffer.C (inset_iterator): InsetList changes
7701         (setParagraph): ditto
7702         * buffer.h (inset_iterator): ditto
7703         * iterators.C (operator++): ditto
7704         * iterators.h: ditto
7705
7706         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7707
7708         * InsetList.[Ch]: new files, most InsetList handling moved out of
7709         paragraph.C.
7710
7711         * BufferView2.C (removeAutoInsets): InsetList changes
7712         (lockInset): ditto
7713         (ChangeInsets): ditto
7714
7715 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7716
7717         * paragraph_pimpl.h (empty): new function
7718
7719         * paragraph.[Ch] (empty): new function
7720
7721         * other files: use the new Paragraph::empty function
7722
7723 2002-08-09  John Levon  <levon@movementarian.org>
7724
7725         * lyxtext.h: remove unused refresh_height
7726
7727 2002-08-09  John Levon  <levon@movementarian.org>
7728
7729         * Makefile.am:
7730         * sgml.h:
7731         * sgml.C:
7732         * buffer.C:
7733         * paragraph.h:
7734         * paragraph.C: move sgml char escaping out of paragraph
7735
7736         * paragraph.h:
7737         * paragraph.C: remove id setter
7738
7739         * buffer.C:
7740         * paragraph.C:
7741         * paragraph_pimpl.C: remove dead tex_code_break_column
7742
7743         * bufferview_funcs.C: small cleanup
7744
7745         * lyxfunc.C: remove dead proto
7746
7747         * lyxtext.h: make some stuff private. Remove some dead stuff.
7748
7749         * lyxgluelength.C: make as[LyX]String() readable
7750
7751 2002-08-08  John Levon  <levon@movementarian.org>
7752
7753         * LyXAction.h:
7754         * LyXAction.C:
7755         * MenuBackend.C:
7756         * ToolbarDefaults.C:
7757         * lyxfunc.C:
7758         * lyxrc.C:
7759         * toc.C: lyxaction cleanup
7760
7761 2002-08-08  John Levon  <levon@movementarian.org>
7762
7763         * BufferView2.C: small cleanup
7764
7765         * lyxfind.h:
7766         * lyxfind.C: move unnecessary header into the .C
7767
7768 2002-08-08  John Levon  <levon@movementarian.org>
7769
7770         * funcrequest.h: just tedious nonsense
7771
7772         * lyx_main.h:
7773         * lyx_main.C: cleanups
7774
7775         * buffer.C:
7776         * vspace.C: remove dead header lyx_main.h
7777
7778 2002-08-07  Angus Leeming  <leeming@lyx.org>
7779
7780         * Paragraph.[Ch]:
7781         * paragraph_pimpl.h:
7782         Forward declare class Counters in paragraph.h by moving the ctrs member
7783         variable into Paragraph::Pimpl.
7784         (counters): new method, returning a reference to pimpl_->ctrs.
7785
7786         * text2.C: ensuing changes.
7787
7788 2002-08-07  John Levon  <levon@movementarian.org>
7789
7790         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7791
7792         * BufferView_pimpl.C: announce X selection on double/triple
7793           click
7794
7795         * lyx_main.C: use correct bool in batch dispatch
7796
7797         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7798
7799 2002-08-07  André Pönitz <poenitz@gmx.net>
7800
7801         * funcrequest.h: new class to wrap a kb_action and its argument
7802
7803         * BufferView.[Ch]:
7804         * BufferView_pimpl[Ch]:
7805         * LaTeX.C:
7806         * LyXAction.[Ch]:
7807         * lyxfunc.[Ch]:
7808         * lyxrc.C: subsequent changes
7809
7810
7811 2002-08-07  John Levon  <levon@movementarian.org>
7812
7813         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7814           document options change.
7815
7816 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7817
7818         * counters.[Ch]
7819         * text2.C
7820         * paragraph.[Ch]
7821         * makefile.am: move counters functionality over from
7822         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7823
7824 2002-08-06  John Levon  <levon@movementarian.org>
7825
7826         * WordLangTuple.h: new file for word + language code tuple
7827
7828         * SpellBase.h:
7829         * pspell.h:
7830         * pspell.C:
7831         * ispell.h:
7832         * ispell.C:
7833         * lyxtext.h:
7834         * text.C:
7835         * text2.C:
7836         * BufferView.h:
7837         * BufferView2.C: use WordLangTuple
7838
7839         * layout.h:
7840         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7841
7842 2002-08-06  John Levon  <levon@movementarian.org>
7843
7844         * lyx_main.C: fix cmdline batch handling
7845
7846 2002-08-06  André Pönitz <poenitz@gmx.net>
7847
7848         * lyxrc.C: set default for show_banner to true
7849
7850 2002-08-06  John Levon  <levon@movementarian.org>
7851
7852         * pspell.C: fix a crash, and allow new aspell to work
7853
7854 2002-08-06  John Levon  <levon@movementarian.org>
7855
7856         * lyxfunc.C:
7857         * kbmap.C: small cleanup
7858
7859         * vspace.h:
7860         * vspace.C: add const
7861
7862 2002-08-05  John Levon  <levon@movementarian.org>
7863
7864         * LyXAction.C: back to tabular-insert
7865
7866 2002-08-04  John Levon  <levon@movementarian.org>
7867
7868         * BufferView.h:
7869         * BufferView.C: cosmetic change
7870
7871         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7872
7873         * bufferlist.C:
7874         * buffer.h:
7875         * buffer.C:
7876         * lyxcb.h:
7877         * lyxcb.C:
7878         * lyxserver.C:
7879         * lyxvc.C:
7880         * vc-backend.C:
7881         * BufferView2.C: purge all "Lyx" not "LyX" strings
7882
7883         * lyxcursor.h:
7884         * lyxcursor.C: attempt to add some documentation
7885
7886         * lyxfunc.C:
7887         * commandtags.h:
7888         * LyXAction.C:
7889         * ToolbarDefaults.C:
7890         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7891           merge with LFUN_TABULAR_INSERT
7892
7893         * Makefile.am:
7894         * SpellBase.h:
7895         * ispell.h:
7896         * ispell.C:
7897         * pspell.h:
7898         * pspell.C: split up i/pspell implementations into separate
7899           files, many cleanups
7900
7901         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7902
7903         * text2.C: some cleanup
7904
7905         * lyxfunc.C: don't check for isp_command == "none" any more, it
7906           didn't make any sense
7907
7908 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
7909
7910         * counters.[Ch]
7911         * text2.C
7912         * paragraph.[Ch]
7913         * makefile.am: move counters functionality over
7914         from text2.C/paragraph.[Ch] to counters.[Ch], and
7915         make proper C++.
7916 2002-08-02  John Levon  <levon@movementarian.org>
7917
7918         * buffer.C: s/lyxconvert/lyx2lyx/
7919
7920 2002-08-02  Angus Leeming  <leeming@lyx.org>
7921
7922         * lyxlex.C: revert John's change as it breaks reading of the user
7923         preamble.
7924
7925 2002-08-02  Angus Leeming  <leeming@lyx.org>
7926
7927         * importer.C (Import):
7928         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7929         changes due to LyXView::view() now returning a boost::shared_ptr.
7930
7931 2002-08-02  John Levon  <levon@movementarian.org>
7932
7933         * lyxlex.C: small cleanup
7934
7935 2002-08-02  John Levon  <levon@movementarian.org>
7936
7937         * text2.C (status): small cleanup, no logic change
7938
7939 2002-08-01  John Levon  <levon@movementarian.org>
7940
7941         * buffer.h:
7942         * buffer.C (writeFile): don't output alerts, caller
7943           handles this
7944
7945         * bufferlist.C:
7946         * lyx_cb.C: from above
7947
7948         * lyxfunc.C: allow to open non-existent files
7949
7950 2002-07-31  John Levon  <levon@movementarian.org>
7951
7952         * lyxserver.C: don't let incidental errors get
7953           in the way (errno)
7954
7955 2002-07-30  John Levon  <levon@movementarian.org>
7956
7957         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7958
7959 2002-07-30  John Levon  <levon@movementarian.org>
7960
7961         * lyxserver.h:
7962         * lyxserver.C: remove I/O callback too
7963
7964 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7965
7966         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7967         log.
7968
7969 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7970
7971         * many files: strip,frontStrip -> trim,ltrim,rtrim
7972
7973 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7974
7975         * PrinterParams.h: remove extern containsOnly, and include
7976         support/lstrings.h instead.
7977
7978         * LaTeX.C (scanAuxFile): modify because of strip changes
7979         (deplog): ditto
7980         * buffer.C (makeLaTeXFile): ditto
7981         * bufferparams.C (writeFile): ditt
7982         * lyxfont.C (stateText): ditto
7983         * lyxserver.C (read_ready): ditto
7984         * vc-backend.C (scanMaster): ditto
7985
7986         * BufferView_pimpl.h: ws changes
7987
7988         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7989
7990 2002-07-26  André Pönitz <poenitz@gmx.net>
7991
7992         * kb_sequence.C: remove unnedred usings
7993
7994 2002-07-26  Juergen Vigna  <jug@sad.it>
7995
7996         * lyxfind.C (LyXReplace): we have to check better if the returned
7997         text is not of theLockingInset()->getLockingInset().
7998
7999 2002-07-25  Juergen Vigna  <jug@sad.it>
8000
8001         * lyxfind.C (LyXReplace): don't replace if we don't get the
8002         right LyXText.
8003
8004         * undo_funcs.C (createUndo): remove debugging code.
8005
8006 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
8007
8008         * buffer.C (parseSingleLyXformat2Token): Use default placement
8009         when reading old floats.
8010
8011         * FloatList.C (FloatList): Change the default placement of figure
8012         and tables to "tbp".
8013
8014 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
8015
8016         * MenuBackend.C: using std::max
8017
8018 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8019
8020         * MenuBackend.C (expandToc):
8021         (expandToc2): code moved from xforms menu frontend. It is now
8022         generic and TOCs are transparent to menu frontends.
8023
8024 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8025
8026         * toc.C (getTocList): protect against buf=0
8027
8028         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8029         Menu as first parameter. Now, this calls itself recursively to
8030         expand a whole tree (this will be useful for TOC handling)
8031         (expandFloatInsert): remove 'wide' version of floats
8032
8033         * MenuBackend.h (submenuname): returns the name of the submenu.
8034         (submenu): returns the submenu itself, provided it has been
8035         created by MenuBackend::expand
8036
8037 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8038
8039         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8040         insets which have noFontChange == true. (bug #172)
8041
8042 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8043
8044         * BufferView_pimpl.C: add connection objects and use them...
8045         (Pimpl): here.
8046
8047 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8048
8049         * MenuBackend.C (expandLastfiles):
8050         (expandDocuments):
8051         (expandFormats):
8052         (expandFloatListInsert):
8053         (expandFloatInsert):
8054         (expand): split expand in parts
8055
8056 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8057
8058         * lyx_gui.C: use lyx_gui::exit()
8059
8060 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8061
8062         * LyXAction.C: show the failing pseudo action
8063
8064 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
8065
8066         * buffer.C (readFile): Run the lyxconvert script in order to read
8067         old files.
8068
8069 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8070
8071         * LyXAction.C:
8072         * commandtags.h:
8073         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8074
8075 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8076
8077         * LyXAction.C:
8078         * commandtags.h:
8079         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8080
8081 2002-07-22  Herbert Voss  <voss@lyx.org>
8082
8083         * lengthcommon.C:
8084         * lyxlength.[Ch]: add support for the vertical lengths
8085
8086 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
8087
8088         * toc.[Ch]: std:: fixes
8089
8090 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8091
8092         * lyxrc.C: do not include lyx_main.h
8093
8094         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8095         for layouts
8096
8097         * lyxrc.C:
8098         * encoding.C:
8099         * bufferlist.C:
8100         * BufferView2.C: include "lyxlex.h"
8101
8102         * tabular.h:
8103         * bufferparams.h: do not #include "lyxlex.h"
8104
8105         * lyxtextclasslist.C (Add): remove method
8106         (classlist): renamed to classlist_
8107
8108         * paragraph_pimpl.C:
8109         * paragraph.C:
8110         * text2.C:
8111         * CutAndPaste.C:
8112         * bufferview_funcs.C:
8113         * bufferlist.C:
8114         * text.C:
8115         * LaTeXFeatures.C:
8116         * buffer.C:
8117         * toc.C (getTocList): use BufferParams::getLyXTextClass
8118
8119         * toc.C (getTocList): use InsetFloat::addToToc
8120
8121         * toc.[Ch]: new files, containing helper functions to handle table
8122         of contents
8123
8124         * lyxfunc.C (dispatch): no need to remove spaces around command
8125         given as a string
8126         (getStatus): handle LFUN_SEQUENCE by returning the status of the
8127         first command of the sequence; it is not very clever, but I do not
8128         have a better idea, actually
8129
8130         * LyXAction.C (LookupFunc): make sure to remove space at the
8131         beginning and end of the command
8132
8133 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8134
8135         * MenuBackend.C (getMenubar): new method: return the menubar of
8136         this menu set
8137         (read): treat differently reading of menu and menubar (in
8138         particular, the menubar has no name now)
8139         (Menu::menubar): remove
8140
8141         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8142         saving is finished
8143
8144 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8145
8146         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8147         a bibitem inset in a RTL paragraph.
8148
8149 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
8150
8151         * paragraph_pimpl.C: constify
8152
8153         * BufferView_pimpl.C:
8154         * LaTeX.C:
8155         * lyxfunc.C: fix dispatch in a nicer way
8156
8157 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8158
8159         * lyxfunc.C (dispatch):
8160         * BufferView_pimpl.C:
8161         * BufferView_pimpl.h:
8162         * BufferView.C:
8163         * BufferView.h: rename Dispatch() to dispatch()
8164
8165         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8166
8167         * lyxlayout.C (Read): honor DependsOn tag
8168
8169         * lyxlayout.[Ch] (depends_on): new method
8170
8171         * version.C.in: update lyx_docversion
8172
8173         * LaTeXFeatures.C (getMacros): only define \LyX when needed
8174
8175         * paragraph.C (validate): remove from here...
8176         * paragraph_pimpl.C (validate): ... and move here
8177         (isTextAt): make it const
8178
8179         * buffer.C (getLists): ws cleanup
8180
8181 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8182
8183         * language.C (read): Use iso8859-1 encoding in latex_lang
8184         (this prevents LyX from crashing when using iso10646-1 encoding).
8185
8186 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8187
8188         * text2.C (toggleInset): if cursor is inside an inset, close the
8189         inset and leave cursor _after_ it
8190
8191 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8192
8193         * lyxfunc.C: move minibuffer completion handling out of here
8194
8195 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8196
8197         * BufferView_pimpl.C:
8198         * LaTeX.C: fix dispatch calls
8199
8200 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
8201
8202         * text.C (drawChars): Fix Arabic text rendering.
8203
8204 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
8205
8206         * LyXAction.C:
8207         * commandtags.h:
8208         * lyxfunc.C: remove message-push/pop
8209
8210         * lyxserver.C:
8211         * lyxfunc.h:
8212         * lyxfunc.C: rationalise some code by removing verboseDispatch
8213           in favour of a bool argument to dispatch()
8214
8215 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8216
8217         * lyx_main.C (init): make sure to read symlinks as absolute paths
8218
8219 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8220
8221         * lyxfunc.h:
8222         * lyxfunc.C: no need for commandshortcut to be a member
8223
8224 2002-07-15  André Pönitz <poenitz@gmx.net>
8225
8226         * converter.C: add support for $$s (scripts from lib/scripts dir)
8227         * lyx_main.C: white space
8228
8229 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8230
8231         * bufferlist.C:
8232         * lyxrc.h:
8233         * lyxrc.C: remove second exit confirmation
8234
8235 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8236
8237         * BufferView.h:
8238         * BufferView.C:
8239         * BufferView2.C:
8240         * BufferView_pimpl.h:
8241         * BufferView_pimpl.C:
8242         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8243
8244 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8245
8246         * MenuBackend.C (expand): add numeric shortcuts to document menu
8247
8248         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8249
8250 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8251
8252         * lyxfont.C (setLyXFamily):
8253         (setLyXSeries):
8254         (setLyXShape):
8255         (setLyXSize):
8256         (setLyXMisc):
8257         (lyxRead):
8258         * debug.C (value):
8259         * buffer.C (asciiParagraph): use ascii_lowercase
8260
8261 2002-07-15  Mike Fabian  <mfabian@suse.de>
8262
8263         * lyxlex_pimpl.C (search_kw):
8264         * lyxlex.C (getLongString):
8265         * converter.h (operator<):
8266         * converter.C (operator<):
8267         * buffer.C (parseSingleLyXformat2Token):
8268         (asciiParagraph):
8269         * ToolbarDefaults.C (read):
8270         * MenuBackend.C (checkShortcuts):
8271         (read):
8272         * LColor.C (getFromGUIName):
8273         (getFromLyXName): use the compare_ascii_no_case instead of
8274         compare_no_case, because in turkish, 'i' is not the lowercase
8275         version of 'I', and thus turkish locale breaks parsing of tags.
8276
8277 2002-07-16  Angus Leeming  <leeming@lyx.org>
8278
8279         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8280         now takes a Buffer const & argument.
8281
8282 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
8283
8284         * BufferView.C (resize): check there's a buffer to resize
8285
8286 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
8287
8288         * lyxfunc.C: remove dead code
8289
8290         * lyxserver.h:
8291         * lyxserver.C: use lyx_guii::set_read_callback
8292
8293 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
8294
8295         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8296         an inset in a RTL paragraph.
8297
8298 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8299
8300         * lyxfunc.C: repaint after a font size update
8301
8302 2002-07-15  André Pönitz <poenitz@gmx.net>
8303
8304         * lyxlength.C: inBP should be able to return negative values
8305
8306 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8307
8308         * lyxfunc.C: use lyx_gui::update_fonts()
8309
8310 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8311
8312         * lyxfunc.C: use lyx_gui::update_color()
8313
8314 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8315
8316         * bufferlist.C:
8317         * lyxfunc.h:
8318         * lyxfunc.C:
8319         * lyxrc.h:
8320         * lyxrc.C: remove file->new asks for name option, and let
8321           buffer-new take an argument
8322
8323 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8324
8325         * BufferView_pimpl.C: remove unneeded extra repaint()
8326
8327 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
8328
8329         * LyXAction.C: allow command-sequence with NoBuffer
8330
8331         * lyxfunc.C: don't insist on trailing ';' for command-sequence
8332
8333 2002-07-10  Angus Leeming  <leeming@lyx.org>
8334
8335         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8336
8337 2002-07-09  Angus Leeming  <leeming@lyx.org>
8338
8339         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8340
8341 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8342
8343         * lengthcommon.h: whitespace
8344
8345         * lyxfunc.C: update scrollbar after goto paragraph
8346
8347         * lyxtext.h: factor out page break drawing, and fix it so
8348           page break/added space paints as selected nicely
8349
8350 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8351
8352         * BufferView_pimpl.C: add FIXMEs, clean up a little
8353
8354 2002-07-09  André Pönitz <poenitz@gmx.net>
8355
8356         * lyxfont.[Ch]: support for wasy symbols
8357
8358 2002-07-08  André Pönitz <poenitz@gmx.net>
8359
8360         * BufferView_pimpl.C: apply John's patch for #93.
8361
8362 2002-07-05  Angus Leeming  <leeming@lyx.org>
8363
8364         * BufferView_pimpl.C (buffer): generate previews if desired.
8365
8366         * LColor.h: add "preview" to the color enum.
8367
8368         * LColor.C (LColor): add a corresponding entry to the items array.
8369
8370         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8371         with this buffer.
8372
8373 2002-07-05  Angus Leeming  <leeming@lyx.org>
8374
8375         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8376         The body of the code is now in the method that is passed an ostream &
8377         rather than a file name.
8378         Pass an additional only_preamble parameter, useful for the forthcoming
8379         preview stuff.
8380
8381 2002-07-03  André Pönitz <poenitz@gmx.net>
8382
8383         * lyxfunc.C: simplify getStatus() a bit for math stuff
8384
8385 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8386
8387         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8388
8389 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8390
8391         * text.C (changeRegionCase): do not change case of all the
8392         document when region ends at paragraph end (bug #461)
8393
8394 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8395
8396         * paragraph.C (startTeXParParams):
8397         (endTeXParParams): add \protect when necessary
8398
8399 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8400
8401         * BufferView_pimpl.C (workAreaExpose): remove warning
8402
8403 2002-06-27  Angus Leeming  <leeming@lyx.org>
8404
8405         * Makefile.am: add lyxlayout_ptr_fwd.h.
8406
8407 2002-06-26  André Pönitz <poenitz@gmx.net>
8408
8409         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8410
8411 2002-06-25  Angus Leeming  <leeming@lyx.org>
8412
8413         * lyxfunc.C (dispatch): Comment out the call to
8414         grfx::GCache::changeDisplay. The method no longer exists now that the
8415         pixmap generation part of the graphics loader has been moved into
8416         InsetGraphics.
8417
8418 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8419
8420         * text2.C: layout as layout
8421
8422         * text.C: layout as layout
8423
8424         * tabular.C (OldFormatRead): layout as layout
8425
8426         * paragraph_pimpl.C (TeXDeeper): layout as layout
8427         (realizeFont): layout as layout
8428
8429         * paragraph.C (writeFile): layout as layout
8430         (validate): layout as layout
8431         (getFont): layout as layout
8432         (getLabelFont): layout as layout
8433         (getLayoutFont): layout as layout
8434         (breakParagraph): layout as layout
8435         (stripLeadingSpaces): layout as layout
8436         (getEndLabel): layout as layout
8437         (getMaxDepthAfter): layout as layout
8438         (applyLayout): layout as layout
8439         (TeXOnePar): layout as layout
8440         (simpleTeXOnePar): layout as layout
8441         (TeXEnvironment): layout as layout
8442         (layout): layout as layout
8443         (layout): layout as layout
8444
8445         * lyxtextclass.C (compare_name): new functor to work with
8446         shared_ptr, layout as layout
8447         (Read): layout as layout
8448         (hasLayout): layout as layout
8449         (operator): layout as layout
8450         (delete_layout): layout as layout
8451         (defaultLayout): layout as layout
8452
8453         * lyxlayout_ptr_fwd.h: new file
8454
8455         * lyxlayout.C (Read): layout as layout
8456
8457         * lyx_cb.C (MenuInsertLabel): layout as layout
8458
8459         * bufferlist.C (newFile): layout as layout
8460
8461         * buffer.C (readLyXformat2): layout as layout
8462         (parseSingleLyXformat2Token): layout as layout
8463         (insertStringAsLines): layout as layout
8464         (asciiParagraph): layout as layout
8465         (latexParagraphs): layout as layout
8466         (makeLinuxDocFile): layout as layout
8467         (simpleLinuxDocOnePar): layout as layout
8468         (makeDocBookFile): layout as layout
8469         (simpleDocBookOnePar): layout as layout
8470         (getLists): layout as layout
8471
8472         * LaTeXFeatures.C (getTClassPreamble): layout as layout
8473
8474         * CutAndPaste.C (cutSelection): layout as layout
8475         (pasteSelection): layout as layout
8476         (SwitchLayoutsBetweenClasses): layout as layout
8477
8478         * BufferView_pimpl.C (Dispatch): layout as layout
8479         (smartQuote): layout as layout
8480
8481         * BufferView2.C (unlockInset): layout as layout
8482
8483 2002-06-24  André Pönitz <poenitz@gmx.net>
8484
8485         * lyxfunc.C: fix #487
8486
8487 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8488
8489         * lyxrc.h:
8490         * lyxrc.C:
8491         * lyxfunc.C: remove display_shortcuts, show_banner
8492
8493 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8494
8495         * Buffer_pimpl.C: oops, update on resize
8496
8497 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8498
8499         * buffer.C:
8500         * converter.C:
8501         * exporter.C:
8502         * lyxfunc.C:
8503         * BufferView.h:
8504         * BufferView.C: use repaint()
8505
8506         * BufferView_pimpl.h:
8507         * BufferView_pimpl.C: s/updateScreen()/repaint()/
8508           as it's a clearer description. Remove superfluous
8509           redraws.
8510
8511 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8512
8513         * text.C: fix bug 488. Not ideal, but getting
8514           getWord() to work properly for the insets that
8515           matter is more difficult ...
8516
8517 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8518
8519         * BufferView_pimpl.C:
8520         * LyXAction.C:
8521         * commandtags.h:
8522         * lyxfunc.C: remove the six million index lyxfuncs to just
8523           one, and DTRT (bug 458)
8524
8525 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8526
8527         * BufferView.h:
8528         * BufferView.C:
8529         * BufferView_pimpl.h:
8530         * BufferView_pimpl.C: clean up resize() stuff,
8531           and unnecessary updateScreen()s
8532
8533 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8534
8535         * BufferView.h:
8536         * BufferView.C:
8537         * BufferView_pimpl.h:
8538         * BufferView_pimpl.C:
8539         * lyxfind.h:
8540         * lyxfind.C:
8541         * minibuffer.C: remove focus management of workarea,
8542           not needed. Use screen's greyOut()
8543
8544 2002-06-17  Herbert Voss  <voss@lyx.org>
8545
8546         * converter.C: (convert) do not post a message, when converting
8547         fails, let the calling function decide what to do in this case
8548
8549 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
8550
8551         * lyxfunc.C: tidy up a little
8552
8553 2002-06-16    <alstrup@diku.dk>
8554
8555         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8556         Got rid of FORMS_H_LOCATION include. Now we are
8557         GUII.
8558
8559 2002-06-15  LyX Development team  <lyx@rilke>
8560
8561         * buffer.[Ch] (sgmlOpenTag):
8562         (sgmlCloseTag): Added support for avoiding pernicious mixed
8563         content. Return number of lines written.
8564
8565         (makeLinuxDocFile):
8566         (makeDocBookFile): Fixed calls to sgml*Tag.
8567         Simple white space clean.
8568
8569         (simpleDocBookOnePar): Simple white space clean.
8570
8571         * tabular.[Ch] (docBook): Renamed to docbook and got another
8572         argument to related with the pernicious mixed content.
8573
8574         (docbookRow): Fixed calls for docbook inset method.
8575
8576 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
8577
8578         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8579         so it's X11 independent.
8580
8581         * kb*.[Ch]: ditto.
8582
8583         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8584
8585 2002-06-15  Lyx Development team  <lyx@electronia>
8586
8587         * intl.h: Renamed getTrans to getTransManager.
8588
8589 2002-06-14  Angus Leeming  <leeming@lyx.org>
8590
8591         * Makefile.am: nuke forgotten stl_string_fwd.h.
8592
8593 2002-06-12  Angus Leeming  <leeming@lyx.org>
8594
8595         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8596
8597 2002-06-13  Angus Leeming  <leeming@lyx.org>
8598
8599         * LaTeX.C:
8600         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8601
8602 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
8603
8604         * kbmap.C (getiso): add support for cyrillic and greek
8605
8606 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8607
8608         * BufferView.h:
8609         * BufferView.C:
8610         * BufferView_pimpl.h:
8611         * BufferView_pimpl.C: move bogus scrolling logic
8612           to xforms
8613
8614 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8615
8616         * lyxfunc.C:
8617         * BufferView_pimpl.C: view->resize() change
8618
8619 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8620
8621         * BufferView_pimpl.C: topCursorVisible
8622           prototype change
8623
8624 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8625
8626         * Makefile.am:
8627         * lyx_gui.h:
8628         * lyx_gui.C: move to frontends/
8629
8630         * main.C:
8631         * lyx_main.h:
8632         * lyx_main.C: changes from above
8633
8634 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8635
8636         * intl.C:
8637         * intl.h:
8638         * kbmap.C:
8639         * kbsequence.C:
8640         * lyx_cb.C:
8641         * lyx_main.C: minor tidy
8642
8643 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8644
8645         * BufferView_pimpl.h:
8646         * BufferView_pimpl.C:
8647         * BufferView.h:
8648         * BufferView.C: make painter() const,
8649           remove dead code
8650
8651         * BufferView2.C: use screen() accessor
8652
8653         * lyx_main.h:
8654         * lyx_main.C: some minor cleanup
8655
8656 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8657
8658         * BufferView_pimpl.h:
8659         * BufferView_pimpl.C: remove enter/leaveView,
8660           use workHeight()
8661
8662 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8663
8664         * BufferView.h:
8665         * BufferView.C:
8666         * BufferView2.C:
8667         * BufferView_pimpl.h:
8668         * BufferView_pimpl.C: only construct screen once,
8669           rename
8670
8671         * lyxrc.C: remove pointless comment
8672
8673 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8674
8675         * BufferView.h:
8676         * BufferView.C: remove active() and belowMouse()
8677
8678         * BufferView_pimpl.h:
8679         * BufferView_pimpl.C: use workarea() not workarea_,
8680           and make it use a scoped_ptr instead
8681
8682 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8683
8684         * lyx_gui.C: add debug message on BadWindow
8685
8686 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8687
8688         * sp_spell.C: fdopen is not part of the C++ standard.
8689
8690         * paragraph.C (InsetIterator): use >= instead of ==
8691
8692 2002-06-07  Angus Leeming  <leeming@lyx.org>
8693
8694         Fixes needed to compile with Compaq cxx 6.5.
8695         * BufferView_pimpl.C:
8696         * DepTable.C:
8697         * buffer.C:
8698         * converter.C:
8699         * encoding.C:
8700         * lyx_gui.C:
8701         * lyx_main.C:
8702         * lyxtextclasslist.C:
8703         * minibuffer.C:
8704         * sp_spell.C:
8705         * tabular_funcs.C:
8706         * vc-backend.C:
8707         all c-library variables have been moved into namespace std. Wrap
8708         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8709
8710         * lyxlength.C:
8711         * tabular-old.C:
8712         * tabular.C:
8713         Add a using std::abs declaration.
8714
8715         * kbmap.h (modifier_pair):
8716         * paragraph.h (InsetTable, InsetList):
8717         * lyxfont.h (FontBits):
8718         type definition made public.
8719
8720         * bufferlist.C (emergencyWriteAll): the compiler complains that
8721         there is more than one possible lyx::class_fun template to choose from.
8722         I re-named the void specialisation as lyx::void_class_fun.
8723
8724         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8725
8726         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8727         the compiler is is unable to find tostr in write_attribute.
8728
8729 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8730
8731         * buffer.C (sgmlError): hide #warning
8732
8733 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8734
8735         * xtl/*: get rid of xtl, which is not in use anyway
8736
8737         * LyXAction.C (init):
8738         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8739         were unimplemented xtl experimentation
8740
8741 2002-06-04  André Pönitz <poenitz@gmx.net>
8742
8743         * lyxfunc.C: disable array operation on simple formulae
8744
8745 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
8746
8747         * converter.C: constify a bit
8748
8749 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
8750
8751         * lyx_gui.C: check xforms version correctly
8752
8753 2002-04-30  Herbert Voss  <voss@lyx.org>
8754
8755         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8756         "keep" option
8757
8758 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
8759
8760         * lyxvc.C: fix bug 416 (make sure buffer is saved before
8761           attempt to register it with a VCS)
8762
8763 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8764
8765         * lyx_main.C (init): honor variables LYX_DIR_13x and
8766         LYX_USERDIR_13x
8767
8768 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8769
8770         * buffer.h:
8771         * buffer.C:
8772         * lyx_main.C: fix a crash on bad command line,
8773           and give a useful exit status on error
8774
8775         * lyxfunc.C (doImport): allow -i lyx to work
8776
8777 2002-03-30  André Pönitz <poenitz@gmx.net>
8778
8779         * lyxfunc.C: mathed font changes
8780
8781 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8782
8783         * LaTeX.C:
8784         * importer.h:
8785         * importer.C:
8786         * lyx_sty.h:
8787         * lyx_sty.C:
8788         * lyxlex.C:
8789         * lyxrow.h:
8790         * lyxtext.h:
8791         * paragraph.h:
8792         * paragraph.C:
8793         * texrow.h:
8794         * texrow.C:
8795         * text.C:
8796         * trans_mgr.h: srcdocs, and some minor cleanups
8797
8798 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8799
8800         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8801         call getFont all the time)
8802
8803 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8804
8805         * switch from SigC signals to boost::signals
8806
8807 2002-05-29  André Pönitz <poenitz@gmx.net>
8808
8809         * paragraph_pimpl.C (getChar): don't call size() too often...
8810
8811 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8812
8813         * paragraph_pimpl.C (insertChar): do not try to update tables when
8814         appending (pos == size())
8815
8816         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8817         in order to reduce drastically the number of comparisons needed to
8818         parse a large document
8819
8820 2002-05-29  André Pönitz <poenitz@gmx.net>
8821
8822         * text.C:
8823         * text2.C:
8824         * lyxtextclass.C:
8825         * sp_pspell.h:
8826         * textclasslist.[Ch]:
8827         * sp_ispell.h: whitespace change
8828
8829 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8830
8831         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8832         lyxaction directly now.
8833
8834 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8835
8836         * trans.C:
8837         * lyxfont.C:
8838         * lyxvc.C: remove unused headers
8839
8840 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8841
8842         * Makefile.am:
8843         * buffer.h:
8844         * undostack.h:
8845         * undostack.C:
8846         * undo_funcs.h:
8847         * undo_funcs.C: some cleanups. Use shared_ptr
8848           and a template for the undo stacks.
8849
8850 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8851
8852         * BufferView_pimpl.h:
8853         * BufferView_pimpl.C:
8854         * kbmap.h:
8855         * kbmap.C:
8856         * kbsequence.h:
8857         * kbsequence.C:
8858         * lyxfunc.h:
8859         * lyxfunc.C:
8860         * text2.C: use key_state/mouse_state
8861
8862 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8863
8864         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8865         and LSubstring
8866
8867         * chset.C: change include order
8868         (loadFile): use boost regex and get rid of LRegex and LSubstring
8869
8870         * Makefile.am (BOOST_LIBS): new variable
8871         (lyx_LDADD): use it
8872
8873         * LaTeX.C: change include order.
8874         (scanAuxFile): use boost regex and get rid of LRegex and
8875         LSubstring
8876         (deplog): ditto
8877
8878 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8879
8880         * ColorHandler.h:
8881         * ColorHandler.C:
8882         * FontInfo.h:
8883         * FontInfo.C: moved to frontends/xforms/
8884
8885         * FontLoader.h:
8886         * FontLoader.C: moved into frontends for GUIIzation
8887
8888         * Makefile.am:
8889         * lyx_gui.C:
8890         * lyxfont.C:
8891         * lyxfunc.C: changes from above
8892
8893 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8894
8895         * LColor.C: remove spurious X include
8896
8897         * BufferView_pimpl.C:
8898         * Makefile.am:
8899         * font.h:
8900         * font.C:
8901         * text.C:
8902         * text2.C: move font metrics to frontends/
8903
8904 2002-05-24  Juergen Vigna  <jug@sad.it>
8905
8906         * undo_funcs.C (textHandleUndo): fix the cursor selection after
8907         setting the undo_cursor.
8908
8909         * ParagraphParameters.h: include local includes first.
8910
8911 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8912
8913         * BufferView_pimpl.C:
8914         * BufferView_pimpl.h:
8915         * Makefile.am:
8916         * WorkArea.h:
8917         * WorkArea.C:
8918         * screen.C: move WorkArea into frontends/
8919
8920         * lyxscreen.h:
8921         * screen.C:
8922         * text.C:
8923         * BufferView.C:
8924         * BufferView2.C: move LyXScreen into frontends/
8925
8926         * lyxlookup.h:
8927         * lyxlookup.C:
8928         * lyx_gui.C: move lyxlookup into frontends/xforms/
8929
8930 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8931
8932         * BufferView2.C:
8933         * BufferView_pimpl.C:
8934         * FontLoader.C:
8935         * LyXView.h:
8936         * LyXView.C:
8937         * Makefile.am:
8938         * WorkArea.C:
8939         * XFormsView.h:
8940         * XFormsView.C:
8941         * buffer.C:
8942         * bufferlist.C:
8943         * bufferview_funcs.C:
8944         * converter.C:
8945         * importer.C:
8946         * lyx_cb.C:
8947         * lyx_gui.C:
8948         * lyx_main.C:
8949         * lyx_find.C:
8950         * lyxfunc.C:
8951         * lyxvc.C:
8952         * minibuffer.C:
8953         * text.C:
8954         * text2.C:
8955         * trans.C:
8956         * vc-backend.C: move LyX/XFormsView into frontends/
8957
8958 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8959
8960         * Makefile.am:
8961         * PainterBase.C:
8962         * PainterBase.h:
8963         * Painter.C:
8964         * Painter.h:
8965         * WorkArea.C:
8966         * WorkArea.h:
8967         * screen.C:
8968         * tabular.C:
8969         * text.C:
8970         * text2.C: move Painter to frontends/
8971
8972 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8973
8974         * buffer.C: comment out some some code that depend upon lyx_format
8975         < 220
8976
8977         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8978         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8979
8980         * buffer.h (NO_COMPABILITY): turn off compability
8981
8982         * ColorHandler.C: include scoped_array.hpp
8983
8984         * font.C: Use more specific smart_ptr header.
8985         * Painter.C: ditto
8986         * gettext.C: ditto
8987         * ShareContainer.h: ditto
8988         * lyx_main.h: ditto
8989         * kbmap.h: ditto
8990         * FontInfo.h: ditto
8991         * BufferView_pimpl.h: ditto
8992         * ColorHandler.h: ditto
8993
8994         * kbmap.C (defkey): change call to shared_ptr::reset
8995
8996 2002-05-21  Juergen Vigna  <jug@sad.it>
8997
8998         * buffer.C (insertErtContents): fix to insert ert asis if it is
8999         non empty. Skip it completely if it contains only whitespaces.
9000
9001 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
9002
9003         * BufferView_pimpl.C:
9004         * BufferView2.C: clear selection on paste (bug 393)
9005
9006 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9007
9008         * DepTable.C: include ctime
9009
9010 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
9011
9012         * buffer.C (latexParagraphs): Add new argument (moving_arg).
9013
9014 2002-05-14  Juergen Vigna  <jug@sad.it>
9015
9016         * text.C (breakParagraph): fixed function to honor the keepempty
9017         layout in the right maner and also to permit the right breaking
9018         algorithm on empty or non empyt keepempty paragraphs.
9019
9020         * paragraph.C (breakParagraph): we have to check also if the par
9021         is really empty (!size()) for isempty otherwise we do the wrong
9022         paragraph break.
9023
9024 2002-05-10  Juergen Vigna  <jug@sad.it>
9025
9026         * buffer.[Ch] : The following are only changes to the ert
9027         compatibility read reading old LaTeX layout and font stuff and
9028         convert it to ERTInsets.
9029
9030         * buffer.h: added isErtInset().
9031
9032         * buffer.C (struct ErtComp): add a fromlayout bool to check
9033         if we're inside a LaTeX layout.
9034         (isErtInset): new helper function.
9035         (insertErtContents): look for other ert insets before this one
9036         and insert the contents there, so that we don't have subsequent
9037         ERT insets with nothing between them. This way we create only one
9038         inset with multiple paragraphs. Also check if we don't insert only
9039         spaces ' ' as they are ignored anyway afterwards in the .tex file
9040         so if we have only spaces we will ignore this latex part in the
9041         new file.
9042         (parseSingleLyXformat2Token \\layout): better compatibility when
9043         reading layout-latex stuff.
9044         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9045         language tag.
9046         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9047         stuff after reading the inset only get the information back from
9048         the stack.
9049
9050 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
9051
9052         * buffer.C (makeLaTeXFile): Put language options after loading babel.
9053
9054         * LaTeXFeatures.C (getBabelOptions): New method.
9055
9056 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9057
9058         * BufferView_pimpl.C (Dispatch): work around missing argument for
9059         'layout'
9060
9061 2002-05-08  Juergen Vigna  <jug@sad.it>
9062
9063         * text.C (leftMargin): handle paragraph leftindent.
9064
9065         * paragraph.C (writeFile): write the new \\leftindent tag.
9066         (validate): handle leftindent code.
9067         (TeXEnvironment): handle paragraphleftindent code again.
9068
9069         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9070
9071         * buffer.C (parseSingleLyXformat2Token): added compatibility code
9072         for paragrap_extra indent code and new token \\leftindent.
9073         (latexParagraphs): handle the leftindent as environment.
9074
9075         * ParameterStruct.h: added leftindent support.
9076
9077         * ParagraphParameters.C (leftIndent): added support functions for
9078         the paragraph left indent.
9079
9080         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9081         more appropriate.
9082
9083 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
9084
9085         * paragraph.C (isRightToLeftPar): Return false for a paragraph
9086         inside insetERT.
9087
9088         * text.C (computeBidiTables): No bidi in insetERT.
9089
9090         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9091         in RTL documents.
9092
9093 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9094
9095         * version.C.in: pre 5
9096
9097 2002-05-02  José Matos  <jamatos@fep.up.pt>
9098         * buffer.C (makeDocBookFile): white space changes, add newline to
9099         command styles.
9100         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9101
9102         * tabular.C (docBook): fix typo.
9103
9104 2002-05-03  Juergen Vigna  <jug@sad.it>
9105
9106         * screen.C (drawFromTo): recalculate the rowpointer if we had a
9107         change in LyXText as we can not be sure it was not freed.
9108         (drawOneRow): remove unused code.
9109
9110         * text.C (drawInset): redo the calculation of the need_break_row as
9111         it could have a row which was already freed.
9112         (draw): look at the return value of drawInset and return false if
9113         it also returned false.
9114         (paintRowText): look at the return value of draw and return false if
9115         it also returned false.
9116
9117         * lyxtext.h: added bool return type to drawInset() and draw() so that
9118         if we have a change in the row so that the rowbreak has to be redone
9119         we abort drawing as it will be called again.
9120
9121 2002-05-02  Juergen Vigna  <jug@sad.it>
9122
9123         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9124         a change in the maintext also if we're inside an inset.
9125         (Dispatch): set the cursor again after a break line and after the
9126         screen has been updated as it could be we're in a different row.
9127
9128         * text2.C (fixCursorAfterDelete): check to make sure we don't request
9129         to set the cursor behind the pargraph with > size().
9130         (setCursor): check also for the same paragraph when checking where
9131         to put the cursor if we have a NFR inset.
9132
9133         * buffer.C (parseSingleLyXformat2Token): move the compatibility
9134         parts of layout read further up as it still was in the wrong
9135         position.
9136
9137 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9138
9139         * screen.C (drawFromTo): change sine fullRebreak always return
9140         true.
9141
9142         * buffer.C (parseSingleLyXformat2Token): reindent some
9143
9144         * BufferView_pimpl.C (update): change since fullRebreak always
9145         return true.
9146         (Dispatch): git rid of the last hardcoded "Standard"s.
9147
9148 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9149
9150         * text2.[Ch] (fullRebreak): make it return void now that we always
9151         returned true.
9152
9153 2002-04-30  Juergen Vigna  <jug@sad.it>
9154
9155         * buffer.C (parseSingleLyXformat2Token): reset the font before the
9156         ert compatibility check for "latex" layout.
9157
9158 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
9159
9160         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9161         minipages: use col% instead of p%, and also use the current font.
9162         (makeLaTeXFile): Fix use babel condition.
9163         (parseSingleLyXformat2Token): Correct font when reading old floats.
9164
9165 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
9166
9167         * BufferView_pimpl.C (Dispatch): Check that float type exists when
9168         inserting list of floats.
9169
9170 2002-04-25  Herbert Voss  <voss@lyx.org>
9171
9172         * MenuBackend.C (expand): don't add the graphics extensions to the
9173         export menu
9174
9175 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9176
9177         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9178         non-existing layout, do not complain if it was the default layout
9179         of the original class (bug #342)
9180
9181 2002-04-24  Juergen Vigna  <jug@sad.it>
9182
9183         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9184         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9185
9186 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
9187
9188         * buffer.C (getBibkeyList): If using \bibliography, return the
9189         option field with the reference itself. Enables us to provide natbib
9190         support when using \bibliography.
9191
9192 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
9193
9194         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9195
9196         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9197         natbib is provided by the LaTeX class.
9198
9199 2002-04-23  Juergen Vigna  <jug@sad.it>
9200
9201         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9202         Wakeup functions.
9203
9204         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9205
9206 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9207
9208         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9209
9210         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9211         ensuremath around textordmasculine, textordfeminine and
9212         textdegree.
9213
9214 2002-04-19  Juergen Vigna  <jug@sad.it>
9215
9216         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9217         reinitializing the buffer otherwise row-dimensions may be wrong.
9218         (update): reset also the selection cursors if they do exits otherwise
9219         their x/y positions may be wrong.
9220
9221         * text2.C (cursorDown): don't enter the inset if we came from a row
9222         above and are one row over the inset.
9223
9224         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9225         really leaving an inset.
9226
9227 2002-04-18  Juergen Vigna  <jug@sad.it>
9228
9229         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9230         of the selected paragraph does not have the selected layout also if
9231         the last one had!
9232
9233         * text2.C (setLayout): fixed bug which did not change last selected
9234         paragraph.
9235
9236         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9237         changed the read and substituted \\end_float with \\end_inset!
9238
9239         * BufferView_pimpl.C (cursorPrevious):
9240         (cursorNext): fixed to make it work with rows heigher than the work
9241         area without moving the cursor only the draw of the row.
9242         (workAreaMotionNotify): fix jumping over high rows.
9243
9244 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9245
9246         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9247         Ressler.
9248
9249 2002-04-16  Juergen Vigna  <jug@sad.it>
9250
9251         * text2.C (setCursor): set also the irow().
9252         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9253         (cursorUp):
9254         (cursorDown): support for locking an inset if the x_fix value goes
9255         inside it. That way I can transverse insets too with cursor up/down.
9256
9257         * lyxrow.h: added irow helper function same as other (i) functions.
9258
9259         * BufferView_pimpl.C (cursorPrevious):
9260         (cursorNext): fixed for insets!
9261
9262 2002-04-15  Juergen Vigna  <jug@sad.it>
9263
9264         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9265         position otherwise it is wrong in some cases.
9266
9267         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9268         inside the inset before the call.
9269
9270 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
9271
9272         * buffer.[Ch] (getBibkeyList): make it const.
9273
9274 2002-04-12  Juergen Vigna  <jug@sad.it>
9275
9276         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9277
9278         * text2.C (getCursorX): new helper function
9279         (setCursor): compute also ix_
9280         (setCursorFromCoordinates): set also ix.
9281
9282         * lyxcursor.h: added ix_ and helper functions.
9283
9284         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9285
9286         * buffer.C (insertStringAsLines): dont break paragraph if the this
9287         paragraph is inside an inset which does not permit it!
9288
9289         * text.C (breakParagraph): honor keepempty flag and break the paragraph
9290         also with no chars on this paragraph.
9291         (paintRowText): only paint stuff if it's inside the workarea!
9292
9293         * paragraph.C (breakParagraph): honor keepempty flag and break the
9294         paragraph always below not above.
9295
9296         * BufferView2.C (unlockInset): update the paragraph layout on inset
9297         unlock as we changed paragraph in such a case.
9298
9299         * lyxfind.C (LyXFind): clear the former selection if not found!
9300
9301         * text2.C (insertInset): freeze Undo after setUndo so that it is not
9302         again called in insertChar().
9303
9304         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9305         an inset which uses the whole row!
9306         (rightMargin): ditto.
9307         (insertChar): force a rebreak if we inserted an inset!
9308
9309 2002-03-28  Herbert Voss  <voss@lyx.org>
9310
9311         * lyxlength.[Ch]: add inBP() to get the right PS-point
9312         units (BigPoint). With inPixels we have rounding errors
9313
9314 2002-04-11  Juergen Vigna  <jug@sad.it>
9315
9316         * text2.C (setCursorFromCoordinates): set iy to the right value.
9317         (setCursor): add check if row->previous exists!
9318
9319         * buffer.C (parseSingleLyXformat2Token): reset font after read of
9320         an old float_type as this was the case in the old code!
9321
9322         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9323
9324         * BufferView2.C (showLockedInsetCursor): use iy
9325         (fitLockedInsetCursor): ditto
9326
9327         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9328         locked insets as there we have the right value now.
9329
9330         * lyxcursor.C: added iy_ variable and iy functions to set to the
9331         baseline of cursor-y of the locked inset.
9332
9333         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9334         (setCursor): fixed for insets which need a full row.
9335
9336         * text.C (rowLastPrintable): don't ignore the last space when before
9337         an inset which needs a full row.
9338         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9339         as last character of a row when before a inset which needs a full row.
9340
9341 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9342
9343         * version.C.in: update date
9344
9345         * text2.C (fullRebreak): try to always return true and see what
9346         happens...
9347
9348 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9349
9350         * MenuBackend.C (expand): use Floating::listName
9351
9352         * FloatList.C (FloatList): add listName argument to the built-in
9353         floats
9354
9355         * Floating.[Ch]: add listName member, which is the 'List of XXX'
9356         text associated with the float.
9357
9358 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9359
9360         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9361
9362 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9363
9364         * ShareContainer.h: add a couple of missing typenames.
9365
9366 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
9367
9368         * lyxrc.C (getDescription): use _() correctly rather than N_().
9369
9370 2002-03-28  Herbert Voss  <voss@lyx.org>
9371
9372         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9373         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9374
9375 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9376
9377         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9378         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9379
9380 2002-03-29  Juergen Vigna  <jug@sad.it>
9381
9382         * lyxfunc.C (dispatch): add a missing fitCursor call.
9383
9384         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9385         it was scrolled by a cursor move, so return the bool status.
9386
9387         * BufferView.C (fitCursor): return the bool flag also to the outside
9388         world as this is needed.
9389
9390         * screen.C (toggleToggle): don't subtract the offset if it's positive.
9391
9392         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9393         call the edit() as it is not needed (and wrong) IMO.
9394         (workAreaButtonPress): set the screen_first variable before evt.
9395         unlock the inset as this may change screen_first and then we have
9396         a wrong y position for the click!
9397
9398 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9399
9400         * MenuBackend.C (expand): another translation that I missed
9401
9402 2002-03-28  Juergen Vigna  <jug@sad.it>
9403
9404         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9405
9406         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9407
9408 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9409
9410         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9411
9412         * MenuBackend.C (expand): fix export/view/update when there is no
9413         document open.
9414
9415 2002-03-27  Herbert Voss  <voss@lyx.org>
9416
9417         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9418         and text%
9419
9420 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9421
9422         * bufferview_funcs.C (currentState): only show paragraph number
9423         for is DEVEL_VERSION is set.
9424
9425         * lyxfunc.C (dispatch): put warning in INFO channel
9426
9427         * MenuBackend.C (expand): translate the name of floats
9428
9429         * FloatList.C (FloatList): mark the float names for translation
9430
9431         * converter.C (convert): use LibScriptSearch
9432
9433 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9434
9435         * MenuBackend.C (defaults): fix default menu (we might as well get
9436         rid of it...)
9437
9438 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9439
9440         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9441         directory.
9442
9443 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9444
9445         * lyxvc.C: reorder includes.
9446
9447 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
9448
9449         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9450           properly
9451
9452 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
9453
9454         * CutAndPaste.C: change layouts earlier on paste
9455           to avoid crashing when calling getFont()
9456
9457 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
9458
9459         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9460         irritating #error.
9461
9462 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9463
9464         * WorkArea.C: remove 'Pending' debug message.
9465
9466         * most files: ws cleanup
9467
9468         * buffer.[Ch]: ws changes
9469
9470         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9471
9472 2002-03-21  Juergen Vigna  <jug@sad.it>
9473
9474         * tabular.C (SetMultiColumn): collapse also the contents of the
9475         cells and set the last border right. Added a Buffer const * param.
9476
9477 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9478
9479         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9480         linking or not.
9481
9482 2002-03-19  Juergen Vigna  <jug@sad.it>
9483
9484         * text2.C (clearSelection): reset also xsel_cache.
9485
9486         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9487         where it needs to be called (John tells us to do so too :)
9488         (selectionLost): reset sel_cache.
9489
9490         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9491
9492 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9493
9494         * text2.C (setCursorIntern): put debuging code in INSETS channel
9495
9496 2002-03-19  André Pönitz <poenitz@gmx.net>
9497
9498         * lyxfunc.C: tiny whitespace change
9499
9500 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9501
9502         * ToolbarDefaults.C (init):
9503         * LyXAction.C (init):
9504         * commandtags.h:
9505         * BufferView_pimpl.C (Dispatch):
9506         * lyxfunc.C (dispatch): remove LFUN_DEPTH
9507
9508 2002-03-19  Allan Rae  <rae@lyx.org>
9509
9510         * exporter.C (Export): removeAutoInsets before doing anything else.
9511         While I've just introduced a dependency on BufferView this really is
9512         the best place to clean the buffer otherwise you need to cleanup in
9513         a dozen places before calling export or cleanup in a dozen functions
9514         that export calls.
9515
9516         * converter.C (runLaTeX):
9517         (scanLog): Better handling of removeAutoInsets and screen updates.
9518
9519         * lyxfunc.C (dispatch): small whitespace changes
9520
9521 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9522
9523         * WorkArea.C (C_WorkAreaEvent): return a value.
9524         (event_cb): return 1 if we handled the event, 0 otherwise.
9525
9526         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9527
9528 2002-03-18  Juergen Vigna  <jug@sad.it>
9529
9530         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9531         (GetAdditionalWidth): ditto.
9532         (RightLine): ditto.
9533         (LeftLine): ditto.
9534
9535         * BufferView2.C (copy): use getLyXText() so that we do it inside an
9536         inset if we're there actually (probably not used right now but this
9537         is the direction to go for unifying code).
9538         (paste): disable code to clear the selection.
9539
9540         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9541         inside an InsetText and move the check further up as it is in the
9542         wrong place.
9543
9544         * text2.C (pasteSelection): set a selection over the pasted text.
9545
9546 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
9547
9548         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9549         and libgraphics to build on Cygwin.
9550
9551 2002-03-15  Juergen Vigna  <jug@sad.it>
9552
9553         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9554         inserting an Inset into the paragraph. I know this is not the best
9555         fix but we already use current_view in CutAndPaste so we will remove
9556         all of it's using at the same time.
9557
9558         * buffer.C (sgmlError): deactivated function till it is rewritten in
9559         the right mode, now it can create problems.
9560
9561         * paragraph.C (isLineSeparator): check if getInset returns != 0,
9562         before accessing it.
9563
9564 2002-03-14  Juergen Vigna  <jug@sad.it>
9565
9566         * undo_funcs.C (textHandleUndo): do the right thing when updating
9567         the inset after the undo/redo.
9568
9569         * text2.C (setCursor): just some testcode for #44 not ready yet.
9570
9571         * undo_funcs.C (textHandleUndo): set the next() and previous()
9572         pointers of the paragraph to 0 before deleting otherwise we have
9573         problems with the Paragraph::[destructor].
9574
9575         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9576         on a paragraph insertion.
9577
9578 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9579
9580         * buffer.C (asciiParagraph): use += operator for char append to
9581         string.
9582
9583         * paragraph.C (getFontSettings): compare >= not just >
9584         (highestFontInRange): ditto
9585         (setFont): ditto
9586
9587 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9588
9589         * paragraph.C: change several algorithm to be more appripriate for
9590         the problem domain. This is lookip in FontList and in the InsetList.
9591
9592 2002-03-13  André Pönitz <poenitz@gmx.net>
9593
9594         * commandtags.h:
9595         * LyXAction.C: remove unused LFUN_MATH_MACROARG
9596
9597 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
9598
9599         * commandtags.h:
9600         * LyXAction.C:
9601         * lyxfunc.C:
9602         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9603
9604 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9605
9606         * Painter.C (display): anon helper function, adjust code for this
9607         change.
9608         (pixmap): remove function.
9609
9610         * Painter.h: remove private display variable.
9611
9612         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9613
9614 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
9615
9616         * WorkArea.[Ch]: remove figinset_canvas cruft.
9617
9618 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9619
9620         * lyxtextclass.C (operator): add one item cache optimization.
9621
9622         * bufferlist.h: doxy changes
9623
9624         * bufferlist.C: ws changes
9625
9626         * DepTable.[Ch] (ext_exist): place const in the right spot.
9627
9628         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9629         call resizeInsets.
9630         (workAreaExpose): call resizeInsets when the with BufferView changes.
9631         (Dispatch): adjust for protectedBlank removal
9632         (specialChar): call updateInset if the insert went ok.
9633
9634         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9635         specialChar instead.
9636
9637         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9638
9639         * BufferView.h: doxy change
9640
9641         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9642
9643         * lyxtextclass.C (operator[]): remove non-const version
9644         (defaultLayout): remove non-const version
9645
9646 2002-03-12  Juergen Vigna  <jug@sad.it>
9647
9648         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9649         did resize the LyXText too.
9650
9651         * buffer.C (readLyXformat2): set layout information on newly allocated
9652         paragraphs.
9653
9654         * tabular.C (OldFormatRead): set layout information on the paragraph.
9655
9656 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9657
9658         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9659
9660 2002-03-11  Juergen Vigna  <jug@sad.it>
9661
9662         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9663         plainly wrong.
9664         (resizeCurrentBuffer): force also the insets to resize themselfes.
9665         (moveCursorUpdate): fixed up for InsetText.
9666
9667 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
9668
9669         * commandtags.h:
9670         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9671         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9672         value of Dialogs::tooltipsEnabled().
9673         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9674
9675 2002-03-08  Juergen Vigna  <jug@sad.it>
9676
9677         * BufferView_pimpl.C (updateInset): update inset inside inset also
9678         if it isn't inside theLockingInset().
9679
9680 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9681
9682         * buffer.C (asciiParagraph): redo some of the word and line length
9683         handling.
9684         (getLists): look for Caption instead of caption.
9685
9686 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9687
9688         * buffer.C (Buffer): initialize niceFile to true
9689         (makeLaTeXFile):
9690         (makeLinuxDocFile):
9691         (makeDocBookFile): make sure niceFile is true on exit
9692
9693 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9694
9695         * buffer.C (makeLaTeXFile): escape ~ in \input@path
9696
9697 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
9698
9699         * LyXSendto.C: remove.
9700         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9701         * lyx_gui.C: remove now-redundant comment.
9702         * ColorHandler.h: remove forward declaration of class WorkArea.
9703         * lyxfunc.C: remove #include "WorkArea.h".
9704
9705 2002-03-07  Juergen Vigna  <jug@sad.it>
9706
9707         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9708         got moved away with the DEPM and also set the inset_owner always
9709         right which before could have been omitted.
9710
9711 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9712
9713         * buffer.C (parseSingleLyXformat2Token): use default layout is the
9714         wanted layout is not found.
9715
9716 2002-03-07  Juergen Vigna  <jug@sad.it>
9717
9718         * CutAndPaste.C (cutSelection): another layout settings forgotten.
9719
9720 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9721
9722         * paragraph.C (breakParagraph): use default layout not layout of
9723         prev paragraph.
9724         (Paragraph): clear ParagraphParameters.
9725
9726 2002-03-06  Juergen Vigna  <jug@sad.it>
9727
9728         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9729         otherwise it would not be a valid lenght. Fixed a special case in
9730         the minipage compatibility read where we end the document with a
9731         minipage.
9732
9733         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9734         was set as it could be 0 for InsetTexts first entry.
9735
9736 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9737
9738         * paragraph.C (writeFile): if layout is empty write out
9739         defaultLayoutName().
9740
9741         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9742         file without named layout we set layout to defaultLayoutName().
9743
9744 2002-03-06  Juergen Vigna  <jug@sad.it>
9745
9746         * CutAndPaste.C (copySelection): set layout for new paragraph.
9747
9748         * text.C (prepareToPrint): leave ERT inset left aligned
9749         (leftMargin): don't indent paragraphs inside ERT insets
9750
9751 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9752
9753         * paragraph.C (breakParagraph): dont call clear do the work manually
9754
9755         * paragraph.[Ch] (clear): remove function
9756
9757 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9758
9759         * paragraph.C (Paragraph): dont call clear, the work has already
9760         been done.
9761
9762         * lyxtextclass.C (operator): assert if n is empty
9763
9764         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9765         work manually instead.
9766
9767 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9768
9769         * BufferView_pimpl.C: protect selectionLost against text == 0
9770
9771 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9772
9773         * text.C (breakParagraph): fix a setting layout to '0' problem.
9774
9775 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9776
9777         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9778         final location of file, for the included files, and graphics.
9779
9780 2002-03-05  Juergen Vigna  <jug@sad.it>
9781
9782         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9783
9784 2002-03-04  Juergen Vigna  <jug@sad.it>
9785
9786         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9787
9788         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9789         last column of multicolumn cells.
9790         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9791
9792 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9793
9794         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9795         file if it doesn't go to a temporary file.
9796
9797         * buffer.C (sgmlOpenTag):
9798         (sgmlCloseTag):  remove extra newline insertion.
9799
9800 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9801
9802         * text.C (getRowNearY): comment out debug msg
9803
9804 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9805
9806         * text2.C: first -> first_y
9807
9808         * text.C (getRowNearY): add some attemts at a possible
9809         optimization, not working.
9810
9811         * tabular.[Ch]: add BufferParams to several function so that newly
9812         created paragraph can be initialized to he default layotu for the
9813         buffers textclass.
9814
9815         * tabular-old.C (ReadOld): add buf->params to call of Init
9816
9817         * screen.C: rename text->first to text->first_y
9818
9819         * paragraph.C (breakParagraph): always set layout in the broken
9820         paragraph
9821
9822         * lyxtextclass.C (Read): remove lowercase
9823         (hasLayout): ditto
9824         (operator): ditto
9825         (delete_layout): ditto
9826
9827         * lyxtext.h: rename first -> first_y
9828
9829         * lyxlayout.C (Read): remove lowercase
9830         (name): ditto
9831         (setName): ditto
9832         (obsoleted_by): ditto
9833
9834         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9835
9836         * buffer.C (insertErtContents): add params are to InsetERT
9837         (parseSingleLyXformat2Token): add code to check if a paragraphs
9838         layout really exist.
9839         (parseSingleLyXformat2Token): add params to several inset
9840         constructors
9841         (asciiParagraph): remove lowercase, do the layout comparisons with
9842         no_case
9843
9844         * BufferView_pimpl.C (cursorNext): first -> first_y
9845         (resizeCurrentBuffer): first -> first_y
9846         (updateScrollbar): first -> first_y
9847         (scrollCB): first -> first_y
9848         (workAreaMotionNotify): first -> first_y
9849         (workAreaButtonPress): first -> first_y
9850         (checkInsetHit): first -> first_y
9851         (cursorPrevious): first -> first_y
9852         (cursorNext): first -> first_y
9853         (Dispatch): add buffer_->params to severl inset contructors
9854
9855 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9856
9857         * lyxlayout.C (Read): remove some debug info that I forgot.
9858
9859         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9860         clean up the code slightly.
9861         (makeLinuxDocFile): ditto
9862         (makeDocBookFile): ditto
9863
9864         * text2.C: layout as string
9865
9866         * text.C: layout as string
9867
9868         * paragraph_pimpl.C: layout as string
9869
9870         * paragraph.[Ch]: layout as string
9871
9872         * lyxtextclasslist.[Ch]: layout as string
9873
9874         * lyxtextclass.[Ch]: layout as string
9875
9876         * lyxtext.h: layout as string
9877
9878         * lyxlayout.[Ch]: layout as string
9879
9880         * lyx_cb.C: layout as string
9881
9882         * bufferview_funcs.C: layout as string
9883
9884         * bufferparams.C: layout as string
9885
9886         * buffer.C: layout as string
9887
9888         * LyXView.[Ch]: layout as string
9889
9890         * LaTeXFeatures.[Ch]: layout as string
9891
9892         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9893
9894         * BufferView_pimpl.C: change current_layout to string, remove
9895         lyx::layout_type.
9896         (Dispatch):
9897         (smartQuote):
9898         (insertInset):
9899         (workAreaButtonRelease): layout as string
9900
9901         * BufferView2.C (unlockInset): adjust
9902
9903         * vspace.C (asLatexCommand): use an explict temp variable.
9904
9905 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9906
9907         * Makefile.am: use FRONTEND_*
9908
9909 2002-03-01  Juergen Vigna  <jug@sad.it>
9910
9911         * tabular.C (SetWidthOfMulticolCell): changed to something better
9912         I hope but still work in progress.
9913         (recalculateMulticolumnsOfColumn): renamed function from
9914         recalculateMulticolCells as it is more appropriate now.
9915         (SetWidthOfCell): calculate multicols better.
9916
9917 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9918
9919         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9920
9921         * lyxfunc.C (processKeySym): print sequence also if it is
9922         `deleted' (complete)
9923
9924         * kbsequence.C (print): print sequence even if it is deleted
9925         (complete would be a better word, actually).
9926
9927         * lyxfunc.C (dispatch): print complete options after a prefix key
9928
9929         * vspace.C (asLatexCommand): rewrite in a slightly different form.
9930
9931 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
9932
9933         * text2.C (setCharFont): eliminate setCharFont code duplication.
9934
9935 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9936
9937         * BufferView_pimpl.C (Dispatch): remove bogus handling of
9938         LFUN_TABULAR_FEATURE (bug #177)
9939
9940 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
9941
9942         * Makefile.am: remove figure.h
9943
9944 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
9945
9946         * Bufferview_pimpl.C:
9947         * CutAndPasteC:
9948         * LaTeX.C:
9949         * LyXSendto.C:
9950         * buffer.C:
9951         * bufferlist.C:
9952         * converter.C:
9953         * language.C:
9954         * lyxfunc.C:
9955         * lyxvc.C:
9956         * paragraph.C:
9957         * text.C:
9958         * text2.C: remove #include "lyx_gui_misc.h".
9959
9960         * LaTeX.C: added #include <cstdio>
9961
9962 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9963
9964         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9965         that the paragraph following this one can have.
9966
9967         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9968
9969         * vspace.C (asLatexCommand): fix bogus gcc warning
9970
9971         * Makefile.am (lyx_SOURCES): remove vms_defines.h
9972
9973 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
9974
9975         * text2.C (setLayout): get rid of redundant code
9976
9977 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
9978
9979         * text2.C (incDepth): make sure depth cannot be increased beyond
9980         reasonable values.
9981
9982 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
9983
9984         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9985         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9986
9987         * PainterBase.h (image):
9988         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9989         a LyXImage const *.
9990
9991 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9992
9993         * BufferView.C:
9994         * BufferView.h:
9995         * BufferView_pimpl.C:
9996         * BufferView_pimpl.h:
9997         * LaTeXFeatures.C:
9998         * LyXAction.C:
9999         * LyXView.C:
10000         * Makefile.am:
10001         * UpdateList.h:
10002         * UpdateList.C:
10003         * buffer.C:
10004         * figure.h:
10005         * figureForm.C:
10006         * figureForm.h:
10007         * figure_form.C:
10008         * figure_form.h:
10009         * lyx_cb.C:
10010         * lyx_gui.C:
10011         * lyx_gui_misc.C:
10012         * lyxfunc.C:
10013         * sp_base.h:
10014         * sp_ispell.h:
10015         * sp_pspell.h:
10016         * sp_spell.C: remove fig inset, and the crap house of
10017           cards that follows it
10018
10019 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10020
10021         * Makefile.am:
10022         * lyxserver.C:
10023         * os2_defines.h:
10024         * os2_errortable.h:
10025         * nt_defines.h: move .h into support/
10026
10027         * vms_defines.h: remove
10028
10029         * WorkArea.C: add space in debug output
10030
10031         * text2.C:
10032         * paragraph.C:
10033         * buffer.C: add WITH_WARNINGS
10034
10035         * vc-backend.h:
10036         * vc-backend.C:
10037         * bufferlist.C: s/retrive/retrieve/, add docs
10038
10039         * vspace.h:
10040         * vspace.C:
10041         * kbmap.h:
10042         * lyxlength.h:
10043         * lyxgluelength.h:
10044         * length_common.h:
10045         * chset.h:
10046         * chset.C: add docs
10047
10048         * lyxgui.C: add ID to X error handler
10049
10050         * lyxtestclass.c: fix typo
10051
10052 2002-02-26  Juergen Vigna  <jug@sad.it>
10053
10054         * tabular_funcs.C (write_attribute): changed so that some default
10055         attributes are not written at all.
10056         (getTokenValue): set default values before trying to read the
10057         value so we have the return value always set as default if we don't
10058         find the token we search for.
10059
10060         * tabular.C (Write): write bools as bools not as strings!
10061
10062 2002-02-22  Juergen Vigna  <jug@sad.it>
10063
10064         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10065         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10066
10067         * text.C (leftMargin): don't add an indent for paragraphs inside
10068         tabular cells (fix #208).
10069
10070 2002-02-21  José Matos  <jamatos@fep.up.pt>
10071
10072         * tabular.C (docBook): fixed support for long tables.
10073
10074 2002-02-20  Juergen Vigna  <jug@sad.it>
10075
10076         * text2.C (getFont): get the drawing font of the Inset if this
10077         paragraph is inside an inset (only important for InsetERT for now).
10078
10079         * buffer.C (insertErtContents): use new lanugage params in ERT
10080         constructor.
10081
10082         * CutAndPaste.C: commenting out seemingly uneeded code.
10083
10084 2002-02-19  Allan Rae  <rae@lyx.org>
10085
10086         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10087         Iterators might be simple to use but they also get invalidated.
10088         (removeAutoInsets): renamed saved cursor tracking variables and added
10089         some comments to clarify what everything does.
10090
10091 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
10092
10093         * Chktex.C:
10094         * LaTeX.C:
10095         * LyXSendto.C:
10096         * converter.C:
10097         * lyx_cb.C:
10098         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10099         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10100
10101         * lyxfunc.C:
10102         * vc-backend.h: remove #include "support/syscall.h"
10103
10104         * LaTeX.C:
10105         * LyXSendto.C:
10106         * converter.C: rearrange #includes in Lars' approved fashion.
10107
10108         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10109         forward declare class Timeout in the header file.
10110
10111         * XFormsView.C: changes due to the above.
10112
10113         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10114         similar to LyXView.
10115
10116         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10117         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10118
10119 2002-02-18  José Matos  <jamatos@fep.up.pt>
10120
10121         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10122         insets contents.
10123
10124 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
10125
10126         * a lot of small ws changes
10127         * add a lot of using std::XXX
10128         * use std construcs some places where approp.
10129         * use some exisint stuff from lyxfunctional where approp.
10130         * Make file changes to use partial linking (lets test this now...)
10131
10132 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10133
10134         * Chktex.C:
10135         * buffer.C:
10136         remove #include "support/syscontr.h" as it's redundant. Always has been.
10137
10138         * Chktex.C:
10139         * LaTeX.C:
10140         * LyXSendto.C:
10141         * converter.C:
10142         * lyx_cb.C:
10143         * vc-backend.C:
10144         change Systemcalls::System to Systemcalls::Wait and
10145         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10146         No change of functionality, just reflects the stripped down Systemcalls
10147         class.
10148
10149 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10150
10151         * debug.[Ch]: add a GRAPHICS type to the enum.
10152
10153 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10154
10155         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10156
10157         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10158         there is an inset.
10159
10160 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10161
10162         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10163         match the changes below.
10164
10165         * text2.C (toggleInset): if there is not editable inset at cursor
10166         position, try to see if cursor is _inside_ a collapsable inset
10167         and close it.
10168
10169 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10170
10171         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10172         document menu has a nice checkbox
10173
10174 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10175
10176         * lyxlength.C (asLatexString): change PW to output as percent of
10177         \textwidth.
10178
10179         * lengthcommon.C: change '%' to 't%'
10180
10181         * lyxfunc.C (dispatch): a few comments from Martin
10182
10183 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
10184
10185         * WorkArea.h:
10186         * WorkArea.C:
10187         * BufferView_pimpl.h:
10188         * BufferView_pimpl.C: clear our selection when X tells us we've lost
10189           the X selection.
10190
10191 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10192
10193         * vspace.C (inPixels): fix compiler warning
10194
10195 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10196
10197         * lyxfunc.C (getStatus): fix status message for disabled commands.
10198
10199 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
10200
10201         * BufferView_pimpl.C: fix crash on close buffer
10202         during selection (#227)
10203
10204 2002-01-27  Herbert Voss  <voss@lyx.org>
10205
10206         * buffer.C: link old Figure to new graphic inset
10207
10208 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
10209
10210         * FontLoader.C (getFontinfo): Change the latex font names in order
10211         to match the names of type1inst.
10212
10213 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10214
10215         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10216
10217         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10218         (extchanged): ditto
10219         (ext_exist): ditto
10220         (remove_files_with_extension): ditto
10221         (remove_file): ditto
10222         (write): ditto
10223
10224         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10225         document is smaller than the work area height. Do not initialize
10226         static variables to 0.
10227
10228 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10229
10230         * lyx_gui.C (init): give the toolbar tooltips a normal font.
10231
10232         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10233         LFUN_LAYOUT_PARAGRAPHS.
10234
10235         * tabular.C (GetCellFromInset): new method. Finds an inset in a
10236         tabular. It is possible to provide a possible cell, which will
10237         typically be the actcell from the corresponding insettabular
10238
10239         * lyxfunc.C (getStatus): small cleanup; disable
10240         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10241         true
10242
10243 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10244
10245         * tabular.C (Validate): remove broken optimization (fixes bug #201)
10246
10247         * paragraph.C (startTeXParParams):
10248         (endTeXParParams): new methods. The LaTeX code to
10249         start/end paragraph formatting
10250         (simpleTeXOnePar): call startTeXParParams also when paragraph is
10251         empty (fixes bug #200)
10252
10253         * vspace.C (inPixels): adapt to the change below
10254         (inPixels): [later] more cleanups (remove unused variables)
10255
10256         * lyxlength.C (inPixels): change to use a width and a height as
10257         parameter.
10258
10259 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10260
10261         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10262         Replaced with \paperwidth
10263
10264         * DepTable.C (insert): add std:: qualifier
10265
10266 2002-01-18  Allan Rae  <rae@lyx.org>
10267
10268         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
10269         updated also?
10270
10271         * text.C (drawInset): Turned out I didn't know enough about how
10272         rebreaking worked.  This fixes most of the redraw problems.  I see
10273         an occasional cursor trail when a line is broken now and the cursor
10274         placement can seem out by a few pixels also after a rebreak.
10275
10276 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10277
10278         * buffer.C (parseSingleLyXformat2Token): update because minipage
10279         width is now a LyXLength
10280
10281         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10282
10283         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10284         math insets
10285
10286 2002-01-17  Juergen Vigna  <jug@sad.it>
10287
10288         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10289
10290         * BufferView2.C (lockInset): call edit() so that theLockingInset()
10291         is set correctly and the inset is updated correctly.
10292
10293 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10294
10295         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10296         the beginning of the loop.
10297
10298 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
10299
10300         * lyxrc.C: improve help for use_scalable_fonts
10301
10302 2002-01-17  Allan Rae  <rae@lyx.org>
10303
10304         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10305
10306 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10307
10308         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10309         make sure to set their inset_owner to the right value (bug #171)
10310
10311 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
10312
10313         * DepTable.h
10314         * DepTable.C: Implement mtime checking to reduce time spent doing
10315         CRCs.
10316
10317 2002-01-16  Juergen Vigna  <jug@sad.it>
10318
10319         * tabular.C (GetAdditionalHeight): one of error fixed.
10320
10321         * lyxrc.C (output): small fix in writing use_pspell.
10322
10323 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
10324
10325         * sp_base.h: #include LString.h
10326
10327 2002-01-16  Allan Rae  <rae@lyx.org>
10328
10329         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
10330         Can someone check this please?
10331
10332         * text.C (drawInset): It was possible that p.row would be removed by
10333         breakAgainOneRow upsetting a few other settings.  There may be another
10334         small tweak possible by setting need_break_row = 0 when p.row has been
10335         removed but I don't know enough about the logic here.
10336
10337 2002-01-15  Allan Rae  <rae@lyx.org>
10338
10339         * text.C (insertChar): removed conditional truism.
10340
10341         * BufferView2.C (removeAutoInsets): More tweaks.
10342         cur_par_prev could be a stray pointer.  Check for trailing empty line
10343         in case last line was cur_par and only had an error inset on it.
10344
10345 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10346
10347         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10348         absolute
10349
10350         * vc-backend.C (most methods):
10351         * exporter.C (Export):
10352         * converter.C (convert):
10353         (runLaTeX):
10354         * LyXSendto.C (SendtoApplyCB):
10355         * lyxfunc.C (dispatch):
10356         (menuNew):
10357         (open):
10358         (doImport):
10359         * lyx_cb.C (AutoSave):
10360         (InsertAsciiFile):
10361         * BufferView_pimpl.C (MenuInsertLyXFile):
10362         * buffer.C (runChktex): use Buffer::filePath().
10363
10364         * buffer.h: rename filename to filename_; rename filepath to
10365         filepath_ and make it private
10366         (filePath): new method
10367
10368         * buffer.C (writeFile): use fileName()
10369         (getLatexName):
10370
10371         * lyx_main.C (init): fix starting  of LyX when the binary is a
10372         link from so,ewhere else.
10373
10374         * minibuffer.C: include <cctype> for isprint
10375
10376 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10377
10378         * buffer.C (parseSingleLyXformat2Token): changes associated with the
10379         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10380         name clash with InsetCollapsable's width function.
10381
10382 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10383
10384         * lastfiles.C: include <iterator>
10385
10386 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10387
10388         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10389         std::count.
10390
10391         * buffer.C (makeLaTeXFile): ditto.
10392         Also make loop operation more transparent.
10393
10394 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10395
10396         * ToolbarDefaults.C: remove trailing comma closing namespace.
10397
10398         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10399
10400         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10401         as in WorkArea.
10402
10403         * trans.C (Load): comment out unused variable, allowed.
10404
10405 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10406
10407         * minibuffer.[Ch] (append_char): new method to recieve input from the
10408         drop-down completion browser. If a key was pressed, then recieve this
10409         char and append it to the existing string.
10410         (peek_event): modify the positioning data passed to the completion
10411         browser so that it can be placed above the minibuffer rather than below.
10412 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10413
10414         * LyXAction.C (init): alloe error-next for readonly documents.
10415
10416         * BufferView2.C (ChangeRefsIfUnique): use standard version of
10417         count.
10418
10419 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10420
10421         * bufferlist.C (readFile): create the buffer _after_ checking that
10422         the file exists.
10423
10424         * lyxfunc.C (verboseDispatch): fix handling of arguments
10425
10426         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10427
10428         * lyxrc.C: use string::erase() instead of initializing to "".
10429
10430
10431 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10432
10433         * BufferView_pimpl.h:
10434         * BufferView_pimpl.C:
10435         * WorkArea.h:
10436         * WorkArea.C:
10437         * text2.C: tell X when we have made a selection for copying
10438
10439 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10440
10441         * BufferView_pimpl.C (MenuInsertLyXFile):
10442         * lyxfunc.C (menuNew):
10443         (open):
10444         (doImport): add shortcuts to directory buttons
10445
10446         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10447         open a float)
10448
10449         * lyxfunc.C (setStatusMessage):
10450         (getStatusMessage): new methods
10451         (getStatus):use setStatusMessage instead of setErrorMessage
10452         (dispatch): when function is disabled, set error message here
10453         [instead of in getStatus previously]
10454
10455         * BufferView_pimpl.C (workAreaButtonRelease): update
10456         toolbar/menubar here too.
10457
10458 2002-01-13  Allan Rae  <rae@lyx.org>
10459
10460         * BufferView2.C (removeAutoInsets): finished off earlier fix.
10461         Now seems indestructible.  Remaining task is to audit all other
10462         code affected by deleteEmptyParagraphMechanism.  One small quirk
10463         left is that an empty document with an error in the preamble can
10464         be made to report an error but no error box appears.  I don't know
10465         where it goes.
10466         (removeAutoInsets): Improved comments.
10467
10468 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
10469
10470         * Thesaurus.h:
10471         * Thesaurus.C: update for Aiksaurus 0.14
10472
10473 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10474
10475         * text2.C (firstParagraph): removed member function, all uses
10476         replaces with ownerParagraph
10477         (redoParagraphs): here
10478         (updateInset): here
10479         (toggleAppendix): here
10480         * BufferView2.C (insertErrors): here
10481         (setCursorFromRow): here
10482
10483 2002-01-13  Allan Rae  <rae@lyx.org>
10484
10485         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10486         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10487         There is still a way to segfault this although you may have to do this
10488         multiple times: Have an InsetERT with an unknown command in it.
10489         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10490         <down-arrow>, <Enter> again, View->DVI, BANG!
10491
10492         * text2.C (setCursor):
10493         (deleteEmptyParagraphMechanism):
10494         * lyxtext.h (setCursor):
10495         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10496         Making use of the return value may help fix other bugs.
10497
10498 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10499
10500         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10501
10502         * LyXView.C (updateMenubar): call MenuBar::update here
10503         (updateToolbar): but not here
10504         (showState): do not update toolbar/menubar
10505
10506         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10507         should need to care about that.
10508
10509         * lyxfunc.C (verboseDispatch): simplify a bit
10510         (getStatus): have a version which takes a pseudoaction, and
10511         another which requires a (kb_action,string).
10512
10513         * LyXAction.C (retrieveActionArg): make it work also when action
10514         is not a pseudo-action.
10515         (getActionName): simplify a bit
10516         (helpText):
10517
10518 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10519
10520         * lyxfunc.C (verboseDispatch): new families of methods with
10521         several ways to specify a command and a bool to indicate whether
10522         the command name and shortcut should be displayed in minibuffer
10523         (eventually, we could extend that to a finer bitmask like
10524         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10525         (dispatch): the pristine dispatch command which just, well,
10526         dispatchs! Note it still sets its result to minibuffer; I'm not
10527         sure we want that.
10528
10529         * lyxfunc.h: remove setHintMessage
10530
10531         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10532
10533 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10534
10535         * BufferView_pimpl.C (specialChar): delete new inset if we have
10536         not been able to insert it.
10537
10538         * kbmap.C: revert to using int instead of kb_action, since all we
10539         are dealing with is pseudo-actions.
10540
10541         * LyXAction.C (searchActionArg): change to return int instead of
10542         kb_action, since the result is a pseudoaction.
10543
10544 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
10545
10546         * buffer.C (insertErtContents): Fix (partially) the font bug.
10547
10548 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10549
10550         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10551         as the other one is broken on my machine!
10552
10553 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
10554
10555         * commandtags.h:
10556         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10557
10558 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
10559
10560         * lyxrc.[Ch]: change names and descriptions of popup font variables to
10561         reflect their actual use. Provide compatibility code for older lyxrc
10562         files.
10563
10564         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10565         FL_NORMAL_STYLE.
10566         change names of popup font variables in line with the changes to lyxrc.C
10567
10568 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10569
10570         * buffer.C (asciiParagraph): avoid outputing a word twice after
10571         an inset.
10572
10573         * lyxrc.C (getDescription): document that document_path and
10574         template_path can be empty.
10575
10576 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10577
10578         * LaTeXFeatures.C (getMacros):
10579         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10580
10581         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10582
10583         * LaTeXFeatures.C (useFloat): require "float" here instead of in
10584         getPackages.
10585         (getPackages): rename feature "floats" to "float". Use an array to
10586         iterate over 'simple' features (i.e. just a \usepackage). Add
10587         handling of "amsmath" (renamed from "amsstyle").
10588
10589 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
10590
10591         * LaTeXFeatures.C (require): Prevent duplicate entries in the
10592         features list.
10593
10594 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
10595
10596         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10597         FuncStaus::FuncStatus & FuncStaus::some_method().
10598
10599 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
10600
10601         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10602         of the func_satus stuff. Edited and massaged in various ways by
10603         JMarc.
10604
10605         * lyxfunc.C (getStatus): use FuncStatus
10606
10607 2002-01-08  Juergen Vigna  <jug@sad.it>
10608
10609         * text.C (nextBreakPoint): use function Inset::isChar().
10610
10611         * paragraph.C (TeXOnePar): use function
10612         Inset::forceDefaultParagraphs.
10613
10614         * buffer.C (latexParagraphs): use function
10615         Inset::forceDefaultParagraphs.
10616
10617 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10618
10619         * lyx_gui.C (init): set the style of the menu popups to
10620         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10621
10622 2002-01-07  Juergen Vigna  <jug@sad.it>
10623
10624         * text.C (setHeightOfRow): small fix
10625         (prepareToPrint): don't look at alignment if we don't have the place
10626         for doing it.
10627
10628 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10629
10630         * box.C: New file. Move the Box methods and functions out of box.h,
10631         following Lars' suggestion.
10632
10633 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10634
10635         * box.h: #include "support/LOstream.h", needed for inlined function.
10636
10637         * lyxtextclass.C:
10638         * lyxtextclasslist.C: added some using std declarations.
10639
10640 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
10641
10642         * box.h: make signed dimensions to allow insets wider than
10643           the screen (bug #162)
10644
10645         * BufferView_pimpl.C: add some insetHit debug
10646
10647 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
10648
10649         * vc-backend.C: add FIXME
10650
10651 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10652
10653         * lyxfunc.C (getStatus): enable code for showing math font status
10654         in toolbar/menu.
10655
10656 2002-01-07  Juergen Vigna  <jug@sad.it>
10657
10658         * text.C (nextBreakPoint): removed debug output not needed anymore.
10659
10660 2002-01-06  Juergen Vigna  <jug@sad.it>
10661
10662         * text.C (nextBreakPoint): fixed up this function we had this bug
10663         since ever but now hopefully we break row better.
10664         (insertChar): we have to check if an inset is the next char as it
10665         could now happen that a large inset is causing a break.
10666
10667 2002-01-05  Juergen Vigna  <jug@sad.it>
10668
10669         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10670         if it doesn't like to be drawed.
10671
10672 2002-01-04  Juergen Vigna  <jug@sad.it>
10673
10674         * BufferView2.C (lockInset): forgot to set a cursor.
10675
10676         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10677
10678 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
10679
10680         * FormMathsPanel.C:
10681         * FormMathsPanel.h
10682         * MathsSymbols.C:
10683         * form_maths_panel.C:
10684         * form_maths_panel.h:
10685         * form_maths_panel.fd: implemented sub- and super- buttons in math
10686         panel.
10687
10688         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10689         (or ^ space) to be used as in TeX (req'd by André).
10690
10691         * lyxfunc.C: Allow ^ and _ again to be used both as
10692         super/subscript (mathed) and as themselves (in text).
10693
10694 2002-01-03  Allan Rae  <rae@lyx.org>
10695
10696         * LyXView.C (updateWindowTitle): Setup a short icon title of either
10697         "LyX" or the filename of the current buffer if it has one.  This is a
10698         modified form of John Levon's patch.
10699
10700         * XFormsView.C (setWindowTitle): also set icon title.
10701
10702         * LyXView.h (setWindowTitle): signature changed.
10703         * XFormsView.h (setWindowTitle): ditto.
10704
10705 2002-01-02  Juergen Vigna  <jug@sad.it>
10706
10707         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10708
10709 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10710
10711         * screen.C (topCursorVisible): introduce a temp var for
10712         text->cursor.row(), handle the case where this row is null. (kindo
10713         hachish)
10714
10715         * text2.C (setCursor): add a couple of asserts.
10716
10717         * paragraph.h (inset_iterator): add -> operator
10718
10719         * paragraph.[Ch] (autoDeleteInsets): remove member function
10720
10721         * BufferView2.C (removeAutoInsets): rewrite to handle the old
10722         cursor pos correctly and handle inset deletion by itself.
10723         (insertErrors): move iterator declaration out of for expression
10724
10725         * lyxtextclass.C: add <algorithm>
10726
10727         * Makefile.am: added the new files to sources, removed layout.C
10728
10729         * layout.C: removed file
10730
10731         * layout.h: remove LYX_DUMMY_LAYOUT
10732
10733         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10734         layout.
10735
10736         * lyxlayout.[Ch]:
10737         * lyxtextclass.[Ch]:
10738         * lyxtextclasslist.[Ch]: new files
10739
10740         * include order changes to a lot of files, also changes because of
10741         the six new files.
10742
10743 2001-12-27  Juergen Vigna  <jug@sad.it>
10744
10745         * buffer.C (asciiParagraph): more fixes.
10746
10747         * tabular.C (ascii): make ascii export support export of only the
10748         data separated by a column-delimiter.
10749         (ascii): better support for ascii export.
10750
10751         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10752
10753 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10754
10755         * tabular_funcs.C: use a "using std::getline" instead of the
10756         previous fix from Angus (necessary for cxx + lyxstring)
10757
10758 2001-12-24  Juergen Vigna  <jug@sad.it>
10759
10760         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10761
10762         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10763         problems. First check a minipage also if we have some ert-contents
10764         (not only on par->size(), second set the right depth of the paragraph
10765         on the relink to the root-paragraph-list!
10766
10767         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10768         which then did not anymore update the main paragraphs on undo/redo!
10769
10770 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10771
10772         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10773         code. Support all font-changing funcs (even those which are not in
10774         menu currently). Support for reporting font settings in
10775         mathed (disabled until Andre provides a function on mathed's side).
10776
10777         * func_status.h (toggle): small helper function to set toggle
10778         state on a flag.
10779
10780 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10781
10782         * tabular_funcs.C: getline -> std::getline
10783
10784 2001-12-21  Juergen Vigna  <jug@sad.it>
10785
10786         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10787         accessed and could be 0 (I couldn't generate this but it seems
10788         Michael could!).
10789
10790 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10791
10792         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10793         * tabular_funcs.h: here and include iosfwd
10794
10795 2001-12-20  Juergen Vigna  <jug@sad.it>
10796
10797         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10798         inside inset but undo_par was.
10799
10800 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10801
10802         * Thesaurus.C: always include <config.h> in sources.
10803
10804         * Painter.h:
10805         * lyxlookup.h:
10806         * box.h: do not include <config.h> in header files
10807
10808         * text.C (paintLastRow): remove unused variable
10809
10810         * text.C (transformChar):
10811         (insertChar):
10812         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10813
10814         * Painter.C (text):
10815         * font.C (width): rewrite to use uppercase() instead of
10816         islower/toupper.
10817
10818         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10819
10820 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10821
10822         * lyxfind.C: clean up of find failure position change
10823
10824 2001-12-20  Juergen Vigna  <jug@sad.it>
10825
10826         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10827
10828         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10829         (TeXRow): added to LaTeX a single tabular row.
10830         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10831         (Latex): simplified and finally good LT-h/f support.
10832         (various_functions): just small adaptions for LT-h/f support.
10833
10834         * tabular_funcs.[hC]: added and moved here all not classfunctions
10835         of LyXTabular.
10836
10837 2001-12-19  Juergen Vigna  <jug@sad.it>
10838
10839         * tabular.[Ch]: better support for longtabular options (not finished
10840         yet!)
10841
10842 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10843
10844         * text.C (paintLastRow): use the label font instead of the font of
10845         the last character to compute the size of *_BOX. This makes more
10846         sense and avoids a crash with empty paragraphs.
10847         Use Painter::rectangle to draw EMPTY_BOX.
10848
10849 2001-12-19  Juergen Vigna  <jug@sad.it>
10850
10851         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10852         the paragraphs if the replaced paragraph is not the first one!
10853         Tried to delete not used paragraphs but does not work yet so for
10854         now it's inside #ifdef's and by default off!
10855
10856 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10857
10858         * MenuBackend.C: include "lyx_main.h" instead of declaring
10859         lastfiles (actually was declared as LastFiles* instead of a
10860         scoped_ptr).
10861
10862 2001-12-17  Juergen Vigna  <jug@sad.it>
10863
10864         * tabular.C (AppendColumn): applied John's fix
10865
10866 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10867
10868         * BufferView.h:
10869         * BufferView.C:
10870         * BufferView_pimpl.h:
10871         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10872
10873         * Makefile.am:
10874         * box.h: new start of class for above
10875
10876         * lyxfunc.C: ignore space-only minibuffer dispatches.
10877           Show the command name when it doesn't exist
10878
10879         * minibuffer.C: don't add empty lines to the history
10880
10881         * minibuffer.C: add a space on dropdown completion
10882
10883 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10884
10885         * text.C: fix line above/below drawing in insets
10886
10887 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10888
10889         * lyxlength.C (LyXLength): Initialize private variables.
10890
10891 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10892
10893         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10894         when inserting error insets.
10895
10896 2001-12-13  Juergen Vigna  <jug@sad.it>
10897
10898         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10899         actually sometimes the before-paragraph.
10900         (setUndo): don't clear the redostack if we're not actually undoing!
10901
10902 2001-12-06  Juergen Vigna  <jug@sad.it>
10903
10904         * undo_funcs.C (textHandleUndo): well after John's hint I got here
10905         and fixed redoing of main paragraph, so we can use it now ;)
10906
10907         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10908
10909 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10910
10911         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10912         Juergen's request
10913
10914 2001-12-13  André Pönitz <poenitz@gmx.net>
10915
10916         * undostack.[Ch]:
10917         * undo_func.C: minor cleanup
10918
10919 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10920
10921         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10922         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10923         font in urw-fonts package which is marked as -urw-fontspecific and
10924         does not work (incidentally, changing the encoding in the
10925         fonts.dir of this package to -adobe-fontspecific fixes the
10926         problem).
10927
10928         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10929         is a crash when undoing first paragraph (Juergen, please take a
10930         look). THis does not mean the undo fix is wrong, just that it
10931         uncovers problems.
10932
10933         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10934         the (Paragraph*) version when needed instead of duplicating the
10935         code.
10936
10937         * text.C (workWidth): use Inset::parOwner to find out where the
10938         inset has been inserted. This is a huge performance gain for large
10939         documents with lots of insets. If Inset::parOwner is not set, fall
10940         back on the brute force method
10941
10942         * paragraph_pimpl.C (insertInset):
10943         * paragraph.C (Paragraph):
10944         (cutIntoMinibuffer): set parOwner of insets when
10945         inserting/removing them
10946
10947         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10948
10949 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
10950
10951         * commandtags.h:
10952         * LyXAction.C:
10953         * lyx_main.C:
10954         * lyxfunc.C:
10955         * mathed/formulabase.C:
10956         * mathed/math_cursor.[Ch]:
10957         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10958
10959
10960 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10961
10962         * lyxlength.[Ch] (operator!=): new function
10963
10964 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10965
10966         * text.C (workWidth): use Inset::parOwner to find out where the
10967         inset has been inserted. This is a huge performance gain for large
10968         documents with lots of insets. If Inset::parOwner is not set, fall
10969         back on the brute force method
10970
10971         * paragraph_pimpl.C (insertInset):
10972         * paragraph.C (Paragraph):
10973         (cutIntoMinibuffer): set parOwner of insets when
10974         inserting/removing them
10975
10976         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10977
10978 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10979
10980         * tabular-old.C (getTokenValue):
10981         * tabular.C (getTokenValue):
10982         (write_attribute): new versions for LyXLength
10983         (everywhere): adjust the use of widths
10984
10985         * tabular.h: change the type of widths from string to LyXLength
10986
10987 2001-12-11  Ben Stanley <bds02@uow.edu.au>
10988
10989         * paragraph.C: fixed missing line number count when exporting
10990         Environments to LaTeX file
10991
10992         * buffer.C: added informational message for checking line numbers.
10993
10994 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10995
10996         * text2.C (deleteEmptyParagraphMechanism): if there is only one
10997         paragraph, do the 'double space' part, but not the 'empty
10998         paragraph' one.
10999
11000         * text.C (workWidth): small optimization
11001         (getLengthMarkerHeight): use minimal size for negative lengths.
11002
11003 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
11004
11005         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11006
11007         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11008
11009 2001-12-11  André Pönitz <poenitz@gmx.net>
11010
11011         * FontLoader.C:
11012         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11013
11014 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11015
11016         * text2.C: keep selection on a setFont()
11017
11018 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11019
11020         * lyx_cb.C: another bv->text misuse, from insert label
11021
11022 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11023
11024         * kbsequence.h:
11025         * kbsequence.C: re-instate nmodifier mask
11026
11027 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
11028
11029         * lyx_main.h: make lyxGUI private.
11030
11031 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11032
11033         * lyxfind.C: place the cursor correctly on failed search
11034
11035 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11036
11037         * text.C (getLengthMarkerHeight): for small heights, the arrows
11038         are not always on top/bottom of the text
11039         (drawLengthMarker): smaller arrows; take the left margin in
11040         account; draw also vfills.
11041         (paintFirstRow):
11042         (paintLastRow): remove special code for vfill and standard spaces,
11043         since everything is handled in drawLengthMarker now.
11044
11045 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11046
11047         * buffer.C (insertErtContents): try to handle font and language
11048         interaction a bit better.g
11049
11050         * ColorHandler.C (updateColor): change the hash to cover the whole
11051         LColor enum, ws cleanup
11052         (getGCLinepars): ditto
11053         (getGCLinepars): only lookup in the linecache once.
11054
11055 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
11056
11057         * iterators.C (operator++): Make the iterator more robust
11058
11059         * BufferView2.C (removeAutoInsets): Use paragraph iterators
11060         (John's patch)
11061         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11062
11063 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11064
11065         * lyxtext.h:
11066         * text.C: better added space drawing
11067
11068 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11069
11070         * LyXView.C:
11071         * BufferView2.C: fix layout combo update on inset unlock
11072
11073 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11074
11075         * Makefile.am: don't compile unused files
11076
11077 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11078
11079         * lyxfunc.C:
11080         * commandtags.h:
11081         * LyXAction.C: remove old LFUN_LAYOUTNO
11082
11083 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11084
11085         * paragraph_pimpl.h:
11086         * paragraph_pimpl.C: isTextAt() doesn't need font param
11087
11088 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11089
11090         * lyxlex.h:
11091         * lyxlex.C: little cleanup
11092
11093 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11094
11095         * BufferView_pimpl.C: fix insertAscii for insets
11096
11097 2001-12-05  Juergen Vigna  <jug@sad.it>
11098
11099         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11100         set the right font on the "multi" paragraph paste!
11101
11102 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11103
11104         * trans_decl.h:
11105         * trans_mgr.[Ch]:
11106         * trans.[Ch]:
11107         * lyxgluelength.C:
11108         * lyxlength.C: remove out-commented code.
11109
11110         * BufferView_pimpl:
11111         * CutAndPaste.C:
11112         * DepTable.C:
11113         * buffer.C:
11114         * chset.C:
11115         * lastfiles.C:
11116         * lyxlex.C:
11117         * lyxlex_pimpl.C:
11118         * lyxserver.C:
11119         * screen.C:
11120         * tabular-old.C:
11121         * tabular.C:
11122         * text.C:
11123         * trans_mgr.C:
11124         * vc-backend.C: change "while(" to "while ("
11125
11126         * lyxlength.[Ch]: add zero function to check if length is zero or
11127         not
11128         * lyxgluelength.C: use it
11129
11130 2001-12-05  Allan Rae  <rae@lyx.org>
11131
11132         * lyxlength.C: Attempted a fix for the abs(int) header selection.
11133         Works for 2.95.3, from what I understand of Garst's reports this should
11134         work for other g++ versions.  We're screwed if the abs(int) definition
11135         changed between bugfix releases of gcc.
11136
11137 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11138
11139         * text.C: fix chapter label offset !
11140
11141 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11142
11143         * lyxtext.h:
11144         * text.C: fix hfill at end of line, clean up
11145
11146 2001-12-04  Juergen Vigna  <jug@sad.it>
11147
11148         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11149         that we force an update of the inset and it's owners if neccessary.
11150
11151 2001-12-03  Juergen Vigna  <jug@sad.it>
11152
11153         * text.C (rowLast): simplified code
11154
11155 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11156
11157         * lyxfunc.C: fix show options on timeout
11158
11159 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11160
11161         * screen.C (topCursorVisible): scroll half a page when the cursor
11162         reached top of bottom of screen
11163
11164 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
11165
11166         * minibuffer.C: deactivate on loss of focus
11167
11168 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11169
11170         * vspace.[Ch] (operator!=): add operator.
11171
11172 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
11173
11174         * BufferView_pimpl.C: refuse to open an inset when
11175         there's a selection.
11176
11177 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
11178
11179         * BufferView_pimpl.C: allow to click on RHS of full row insets
11180
11181 2001-11-30  Juergen Vigna  <jug@sad.it>
11182
11183         * tabular.C (LyXTabular): add a same_id to set the same id's in the
11184         insets for undo reasons.
11185
11186 2001-11-28  André Pönitz <poenitz@gmx.net>
11187
11188         * vspace.[Ch]: cosmetical changes
11189
11190 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11191
11192         * LyXAction.h:
11193         * LyXAction.C:
11194         * lyxfunc.h:
11195         * lyxfunc.C:
11196         * kbmap.h:
11197         * kbmap.C:
11198         * lyxrc.C:
11199         * kbsequence.h:
11200         * kbsequence.C: part re-write of old kb code
11201
11202         * Painter.C:
11203         * WorkArea.C: remove Lgb_bug_find_hack
11204
11205 2001-11-30  José Matos <jamatos@fep.up.pt>
11206
11207         * buffer.C (makeDocBookFile): add a comment to point a hack.
11208         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11209         Fixed a double write of labels.
11210
11211 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11212
11213         * LaTeX.C:
11214         * LaTeX.h Fixed bug in LaTeX class where it would not
11215         re-run latex if no depfiles were changed, but the .dvi was removed.
11216
11217 2001-11-28  André Pönitz <poenitz@gmx.net>
11218
11219         * all the files from the change on 2001/11/26:
11220         use lyx::layout_type instead of LyXTextClass::size_type
11221         use lyx::textclass_type instead of LyXTextClassList::size_type
11222
11223 2001-11-29  Juergen Vigna  <jug@sad.it>
11224
11225         * text.C: added support for paragraph::isFreeSpacing()
11226
11227         * buffer.C: same as above
11228
11229         * paragraph.h: inserted isFreeSpacing() function to enable
11230         FreeSpacing inside InsetERT.
11231
11232         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11233         of the paragraph's in the cut/copy buffer to 0!
11234
11235         * text2.C (removeRow): remove the assert as it can!
11236
11237         * lyxtext.h: added helper function firstRow returning firstrow and
11238         made firstrow private again.
11239
11240         * BufferView2.C (lockInset): don't relock if we're already locked!
11241
11242         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11243         the only paragraph.
11244         (removeRow): added Assert::(firstrow)
11245
11246         * debug.C: forgot to add INSETTEXT here.
11247
11248 2001-11-28  Juergen Vigna  <jug@sad.it>
11249
11250         * sp_spell.C (initialize): changed error text to more general
11251         spellchecker command use (not only ispell!)
11252
11253         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11254
11255         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11256
11257 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11258
11259         * vspace.C: initialise lyxgluelength on failure
11260
11261 2001-11-28  Allan Rae  <rae@lyx.org>
11262
11263         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11264         declaration & definition that looks like a function declaration.
11265
11266 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11267
11268         * BufferView2.C (copy):
11269         (copyEnvironment): do not clear the selection when doing a copy.
11270
11271         * text.C (paintFirstRow): compilation fix
11272
11273 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
11274
11275         * tabular.C (Latex): correct line count when writing latex.
11276
11277 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
11278
11279         * paragraph_pimpl.h:
11280         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11281           bug a bit
11282
11283 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11284
11285         * text.C:
11286         * LColor.h:
11287         * LColor.C: change vfillline->added_space
11288
11289         * text.C: add markers and text for added space
11290
11291         * vspace.C: fix comment
11292
11293 2001-11-28  André Pönitz <poenitz@gmx.net>
11294
11295         * paragraph.C: whitespace changes
11296         * all the other files from the change on 2001/11/26:
11297         change *::pos_type into lyx::pos_type
11298
11299 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
11300
11301         * buffer.C (parseSingleLyXformat2Token): Set the language to the
11302         language of the document when inserting error insets.
11303
11304 2001-11-26  André Pönitz <poenitz@gmx.net>
11305
11306         * BufferView_pimpl.[Ch]:
11307         *       CutAndPaste.C:
11308         * buffer.[Ch]:
11309         * lyxcursor.[Ch]:
11310         * lyxfind.C:
11311         * lyxfunc.C:
11312         * lyxrow.[Ch]:
11313         * paragraph.[Ch]:
11314         * paragraph_pimpl.[Ch]:
11315         * sp_spell.C:
11316         * text.C:
11317         * text2.C: reduce header dependencies, introduce type for positions
11318
11319 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11320
11321         * <various>: change to use Alert.h
11322
11323 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
11324
11325         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11326         when encountering an unknown token.
11327         (readLyXformat2): Show an error message if there were unknown tokens.
11328
11329 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
11330
11331         * BufferView2.C:
11332         * BufferView_pimpl.C:
11333         * buffer.C:
11334         * paragraph.h:
11335         * text.C:
11336         * text2.C: use par->isInset()
11337
11338 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11339
11340         * paragraph_pimpl.h:
11341         * paragraph_pimpl.C: cleanup
11342
11343 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11344
11345         * text2.C (removeRow):
11346         * text.C (setHeightOfRow): remove useless (and costly) call to
11347         getRow.
11348
11349 2001-11-20  Allan Rae  <rae@lyx.org>
11350
11351         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11352         Now need Inset*::checkInsertChar() to return true for appropriate
11353         cases so that the characters in the minibuffer will actually be
11354         inserted.
11355
11356 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11357
11358         * text.C: change the order of the includes.
11359         (workWidth): initialize it at once.
11360         (workWidth): make maxw unsigned
11361         (setHeightOfRow): remove unused variable (inset)
11362         (selectSelectedWord): remove unused variable (inset)
11363         (paintRowText): fix drawing of hfill characters, and clean up a bit.
11364
11365 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11366
11367         * lyxserver.C (emergencyCleanup): do not try to close pipes if
11368         server is not running.
11369         (openConnection):
11370         (closeConnection): add debug info when server is disabled.
11371
11372         * ColorHandler.C (getGCForeground): send debug message to GUI
11373         channel.
11374
11375         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11376
11377         * kbmap.C (bind): modify because return conventions of
11378         kb_sequence::parse have changed.
11379
11380         * kbsequence.C (parse): only ignore spaces and not any stupid
11381         control character. This avoids tests like s[i] <= ' ', which are
11382         guaranteed to fail with 8bit characters and signed chars.
11383         Change return code to string::npos when there have been no error
11384         (0 was a bad idea when error is at first character)
11385
11386 2001-11-14  José Matos  <jamatos@fep.up.pt>
11387
11388         * buffer.h:
11389         * buffer.C (simpleDocBookOnePar): removed unused argument.
11390
11391 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11392
11393         * text.C (selectNextWordToSpellcheck): do not test explicitely for
11394         insets which are part of a word. Paragraph::isLetter takes care of
11395         that now. Use Paragraph::isInset to identify insets.
11396         (selectSelectedWord): do not test for hyphenation break.
11397
11398         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11399         that protected spaces are considered as spaces.
11400
11401         * paragraph.C (isLetter): cleanup the code for ispell extras; use
11402         Inset::isLetter.
11403
11404 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
11405
11406         * lyxserver.h:
11407         * lyxserver.C: fix it. and small cleanup.
11408
11409 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11410
11411         * BufferView_pimpl.C: use inline helpers
11412
11413         * LaTeXFeatures.h:
11414         * LaTeXFeatures.C: fix typos
11415
11416         * Spacing.h:
11417         * Spacing.C: move spacing_string into class
11418
11419         * ToolbarDefaults.C: move stuff into namespace anon
11420
11421         * layout.h: update enum
11422
11423         * lyxfunc.C: use better debug
11424
11425         * minibuffer.h: fix typo
11426
11427         * debug.h:
11428         * debug.C:
11429         * WorkArea.C: add and use Debug::WORKAREA
11430
11431         * lyxtext.h:
11432         * text.C:
11433         * text2.C: code re-organisation, inline helpers
11434
11435 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
11436
11437         * Layout.C: replaced a few cases of std::vector.size() == 0 with
11438         std::vector.empty().
11439
11440 2001-11-09  Allan Rae  <rae@lyx.org>
11441
11442         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11443         '\n's after tables.  Tabular and ERT inset work now makes this no
11444         longer necessary.
11445
11446 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11447
11448         * minibuffer.h:
11449         * minibuffer.C: fix crash, improve drop-down completion
11450
11451 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
11452
11453         * lyxserver.h:
11454         * lyxserver.C: invalidate fd's when doing endPipe()
11455
11456 2001-11-08  José Matos  <jamatos@fep.up.pt>
11457
11458         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11459         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11460
11461         * paragraph.h:
11462         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11463
11464 2001-11-07  José Matos  <jamatos@fep.up.pt>
11465
11466         * buffer.h:
11467         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11468         const qualifier.
11469
11470         * buffer.C (sgmlOpenTag):
11471         * buffer.C (sgmlCloseTag): removed debug info.
11472
11473         * buffer.h (sgmlOpenTag):
11474         * buffer.h (sgmlCloseTag): made public.
11475
11476 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11477
11478         * buffer.C (saveParamsAsDefaults):
11479         * lyx_cb.C (MenuLayoutSave): remove
11480
11481         * LyXAction.C (init):
11482         * commandtags.h:
11483         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11484
11485 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11486
11487         * buffer.C (setPaperStuff): removed from here...
11488
11489         * bufferparams.C (setPaperStuff): ... and moved there.
11490
11491 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
11492
11493         * minibuffer.h:
11494         * minibuffer.C:
11495         * XFormsView.C: add support for drop-down completion
11496
11497 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
11498
11499         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11500         commands.
11501
11502 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11503
11504         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11505         disabled.
11506
11507 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
11508
11509         * lyx_main.C: change ref to known bugs
11510
11511 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
11512
11513         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11514         to work around older babel problems.
11515
11516 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11517
11518         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11519
11520 2001-10-24  Juergen Vigna  <jug@sad.it>
11521
11522         * tabular-old.C (ReadOld): below variable changes reflected.
11523
11524         * tabular.[Ch]: added ltType struct for longtable header/footer
11525         defines and changed all instances where they are used. Added
11526         future support for double top/bottom rows.
11527
11528 2001-10-24  José Matos  <jamatos@fep.up.pt>
11529
11530         * buffer.h (docbookHandleCaption):
11531         * buffer.C (docbookHandleCaption): removed unused function.
11532         (makeDocBookFile): moved docbook supported version to v4.1.
11533
11534 2001-10-24  José Matos  <jamatos@fep.up.pt>
11535
11536         * tabular.h:
11537         * tabular.C (docbookRow): new function to export docbook code of a row.
11538         (DocBook): now honors the longtable flags.
11539
11540 2001-10-23  José Matos  <jamatos@fep.up.pt>
11541
11542         * LaTeXFeatures.h:
11543         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11544         of the lyx defined sgml entities used in a docbook/linuxdoc document.
11545
11546         * buffer.C (makeLinuxDocFile):
11547         (makeDocBookFile): reworked the preamble, more clean, and with
11548         support for lyx defined entities. Changed the document declaration
11549         to be more XML friendly.
11550
11551         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11552         if we need to output XML that should be done with a filter.
11553
11554 2001-10-22  Juergen Vigna  <jug@sad.it>
11555
11556         * sp_pspell.h (class PSpell): add alive function needed in the
11557         controller to see if the spellchecker could be started.
11558
11559 2001-10-22  Juergen Vigna  <jug@sad.it>
11560
11561         * buffer.C (insertStringAsLines): modify the font for inserting
11562         chars in certain conditions by calling checkInsertChar(font).
11563
11564 2001-10-19  Juergen Vigna  <jug@sad.it>
11565
11566         * text.C (workWidth): use getRow instead of wrong algorithm.
11567         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11568
11569 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
11570
11571         * lyxserver.h:
11572         * lyxserver.C:
11573         * lyx_main.h:
11574         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11575
11576 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11577
11578         * text.C (workWidth): do not search for the exact row when
11579         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11580         optimization for big documents.
11581
11582 2001-10-18  Juergen Vigna  <jug@sad.it>
11583
11584         * text.C (workWidth): new function with added Inset * parameter.
11585
11586 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11587
11588         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11589
11590         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11591         change return type of getColumnNearX.
11592
11593
11594         * text.C (changeRegionCase): use uppercase/lowercase instead of
11595         toupper/tolower.
11596         (leftMargin):
11597         (rightMargin): simplify code by factoring out the uses of
11598         textclasslist.
11599         (labelFill):
11600         (numberOfHfills):
11601         (setHeightOfRow):
11602         (appendParagraph): use Paragraph::size_type
11603
11604 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11605
11606         * vspace.C (asLatexString): add a missing break
11607
11608 2001-10-15  Herbert Voss  <voss@perce.de>
11609
11610         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11611
11612 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11613
11614         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11615         is not available.
11616
11617 2001-10-10  André Pönitz <poenitz@gmx.net>
11618
11619         * lyxfunc.C: removed greek_kb_flag.
11620
11621 2001-10-10  Herbert Voss  <voss@perce.de>
11622
11623         * lyx_main.C: delete global string help_lyxdir.
11624
11625 2001-10-09  Herbert Voss  <voss@perce.de>
11626
11627         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11628
11629         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11630
11631         * lyx_main.C: added global string help_lyxdir.
11632
11633         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11634
11635 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11636
11637         * lyxrc.C (set_font_norm_type): support iso8859-4
11638
11639 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
11640
11641         * LaTeX.C (deplog): add another regex for MikTeX
11642
11643 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11644
11645         * lyxrc.C (set_font_norm_type): support iso8859-3
11646
11647 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11648
11649         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11650
11651         * LaTeXFeatures.C: remove special case of french and index
11652
11653         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11654         before \begin{document}). This solves several incompatibilities.
11655
11656 2001-10-03  Garst Reese  <reese@isn.net>
11657
11658         * lyx_cb.C: change CheckTex error msg.
11659
11660 2001-10-03  José Matos  <jamatos@fep.up.pt>
11661
11662         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11663
11664 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11665
11666         * .cvsignore: update
11667
11668         * lyx_main.C (commandLineVersionInfo): use new style version info.
11669
11670         * buffer.C (writeFile):
11671         (makeLaTeXFile):
11672         (makeLinuxDocFile):
11673         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11674
11675         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11676
11677         * version.h: update to use stuff in version.C
11678
11679         * version.C.in: new file. Contains version information determined
11680         at compile time. This is a merging of version.h and
11681         version_info.h.in.
11682
11683 2001-10-03  Juergen Vigna  <jug@sad.it>
11684
11685         * BufferView_pimpl.C (update): don't change "dirty" status in
11686         updateInset call.
11687
11688 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
11689
11690         * WorkArea.C (c-tor): re-position version string slightly.
11691
11692 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
11693
11694         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11695         revert to previous code.
11696
11697         WorkArea.[Ch]: (show, destroySplash): methods removed.
11698
11699         WorkArea.C: rework code so that it's an amalgam of the codes before and
11700         after the splash screen was moved to WorkArea.
11701
11702 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11703
11704         * lyxrc.C (read):
11705         * vspace.C (inPixels):
11706         (lyx_advance):
11707         * kbmap.C (bind):
11708         * buffer.C (insertStringAsLines):
11709         (asciiParagraph): fix types to be large enough
11710
11711         * lyxlex_pimpl.h: change member status from short to int
11712
11713         * layout.h: fix type of endlabeltype
11714
11715         * kbmap.C (bind):
11716         * kbsequence.C (parse): change return type to string::size_type
11717
11718         * LaTeX.C (updateBibtexDependencies): comment out unneeded
11719         variable
11720
11721         * Bullet.C (bulletSize):
11722         (bulletEntry): do not use short ints as parameters
11723
11724         * BufferView2.C (insertLyXFile): change a char to an int.
11725
11726         * WorkArea.C (WorkArea): remove unneeded floats in computation
11727
11728 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11729
11730         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11731
11732         * paragraph.C (asString): Do not ignore newline/hfill chars when
11733         copying to the clipboard.
11734
11735 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
11736
11737         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11738         after a multi-line inset.
11739
11740 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
11741
11742         * paragraph.C (validate): Set NeedLyXFootnoteCode
11743
11744 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11745
11746         * lyxfont.C (LyXSizeNames): changed increase-error to increase
11747         and decrease-error to decrease.
11748
11749 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11750
11751         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11752         it more readable (should be equivalent)
11753
11754 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11755
11756         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11757
11758 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11759
11760         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11761         of a cursor (row, etc.) after a character has been deleted
11762         (deleteEmptyParagraphMechanism): call the method above on _all_
11763         cursors held by the LyXText when a double space has been
11764         detected/deleted.
11765
11766 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11767
11768         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11769         pixmap.
11770         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11771
11772         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11773         background. Use greyOut() and the new show() methods to toggle between
11774         the foreground and background. Add code to remove the splash after
11775         its initial showing.
11776
11777         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11778         (create_forms): no longer call Dialogs::showSplash.
11779
11780 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11781
11782         * .cvsignore: add version_info.h
11783
11784 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11785
11786         * version_info.h.in: new file
11787
11788         * Makefile.am: add version_info.h.in
11789
11790         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11791         version_info.h instead of VERSION_INFO
11792
11793 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11794
11795         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11796         The ERT inset now returns string().
11797
11798 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11799
11800         * lyxtext.h, text.C (selectNextWord): renamed as
11801         selectNextWordToSpellcheck.
11802
11803         * text.C (selectNextWordToSpellcheck): Modified to not select
11804         words inside an ERT inset.
11805
11806 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11807
11808         * lyx_cb.C (MenuLayoutSave): change a bit the question
11809
11810         * sp_base.h: include <sys/types.h>
11811
11812 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11813
11814         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11815
11816 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11817
11818         * several files: fix typos in user-visible strings
11819
11820 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11821
11822         * text2.C (pasteSelection): do not set the selection, since it
11823         will be cleared later. Actually, the intent was to fix the way the
11824         selection was set, but I figured rmoving the code was just as good.
11825
11826 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11827
11828         * FontLoader.C (available): Check if font is available without
11829         loading the font.
11830
11831 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11832
11833         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11834
11835 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11836
11837         * lyxrc.[Ch]: added display_graphics variable and associated code.
11838
11839 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11840
11841         * bufferparams.C (hasClassDefaults): new method. Returns true if
11842         the buffer parameters correspond to known class defaults
11843
11844 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11845
11846         * XFormsView.C (show): set minimum size to the main window.
11847
11848 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11849
11850         * text2.C (copySelection):
11851         (cutSelection):
11852         * lyxfind.C (LyXReplace):
11853         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11854         LyXText::selectionAsString.
11855
11856         * paragraph.C (asString): add "label" argument to the second form
11857
11858         * text2.C (selectionAsString): add "label" argument and pass it to
11859         Paragraph::asString.
11860
11861 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11862
11863         * lyx_main.C (commandLineHelp): remove version information
11864
11865 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11866
11867         * lyx_main.C: add -version commandline option
11868
11869 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11870
11871         * paragraph.h: make the optional constructor arg required instead.
11872         some modifications to other files because of this.
11873
11874         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11875
11876         * lyxserver.C (C_LyXComm_callback): make it static
11877
11878         * lyx_main.C (error_handler): make it static
11879
11880         * lyx_gui.C (LyX_XErrHandler): make it static
11881
11882         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11883
11884         * WorkArea.C: make the extern "C" methods static.
11885
11886         * Makefile.am (lyx_LDADD): simplify
11887
11888 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11889
11890         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11891         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11892
11893         * LyXAction.C (init):
11894         * lyxfunc.C (dispatch): associated code removal.
11895
11896 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11897
11898         * lyxfont.h (isSymbolFont): shut off warning
11899
11900         * text.C (setHeightOfRow):
11901         (getVisibleRow): fix crash with empty paragraphs which have a
11902         bottom line
11903
11904 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
11905
11906         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11907         code.
11908
11909 2001-09-04  José Matos  <jamatos@fep.up.pt>
11910         * buffer.C
11911         * buffer.h
11912         * tabular.C (docbook): rename docBook method to docbook.
11913
11914 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11915
11916         * Makefile.am: add dependencies to main.o.
11917
11918 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
11919
11920         * FontLoader.C (available): Return false if !lyxrc.use_gui
11921
11922 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
11923
11924         * FontInfo.C (query):
11925         * converter.C (view):
11926         * importer.C (Import):
11927         * exporter.C (Export): Can not -> cannot.
11928
11929 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
11930
11931         * BufferView_pimpl.C: allow to create index inset even if
11932           string is empty
11933
11934 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11935
11936         * buffer.C (getLists): replace boost::tie code with an explicit pair
11937         as boost::tie can break some compilers.
11938
11939         * iterators.h: Added a std:: declaration to the return type of
11940         ParIterator::size.
11941
11942 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
11943
11944         * lyxrc.C: add help for view_dvi_paper_option, default to safe
11945           case.
11946
11947 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
11948
11949         * iterators.[Ch]: New files. Provide paragraph iterators.
11950
11951         * buffer.C (changeLanguage): Use paragraph iterators.
11952         (isMultiLingual): ditto
11953
11954         * BufferView2.C (ChangeInsets): Use paragraph iterators.
11955
11956 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
11957
11958         * FontLoader.C: Support for cmr font.
11959
11960 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
11961
11962         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11963         (available): New method.
11964
11965         * FontInfo.C (getFontname): Use scalable fonts even when
11966         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11967         found.
11968
11969 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11970
11971         * converter.C (Formats::view): reverted! Incorrect fix.
11972
11973 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11974
11975         * converter.C (Formats::view): only output the -paper option
11976         if the dvi viewer is xdvi, thereby fixing bug #233429.
11977
11978 2001-08-23  Herbert Voss  <voss@perce>
11979
11980         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11981
11982 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11983
11984         * Spacing.h (Spacing): Set space to Default on in the default
11985         constructor.
11986
11987 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11988
11989         * vc-backend.h (RCS::versionString): add RCS to version
11990         (CVS::versionString): add CVS to version
11991
11992         * vc-backend.C (scanMaster): do not add CVS to version.
11993         (scanMaster): do not add RCS to version
11994
11995         * lyxvc.C (versionString): new method
11996
11997         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11998
11999 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12000
12001         * Spacing.C (set): initialize fval
12002
12003 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
12004
12005         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12006         " or \.
12007
12008 2001-08-16  Juergen Vigna  <jug@sad.it>
12009
12010         * lyxfunc.C (dispatch): implemented the new FINISHED states.
12011
12012 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12013
12014         * BufferView_pimpl.C:
12015         * figureForm.C:
12016         * lyxtext.h:
12017         * text2.C: setParagraph takes linespacing now
12018
12019 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
12020
12021         * LyxAction.C: add internal LFUN_CITATION_INSERT
12022
12023         * LyXView.C: actually apply fix
12024
12025         * bufferlist.C: fix open non-existent file
12026
12027         * lyxfind.C: fix indentation
12028
12029         * lyxfunc.C: remove unneeded assert, fix typo
12030
12031 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12032
12033         * MenuBackend.C: use "Floatname List"
12034
12035 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
12036
12037         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12038         when converting LaTeX layout to insetERT.
12039         Generate a non-collapsed float when reading old float
12040
12041 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12042
12043         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12044         ERT insets.
12045
12046 2001-08-13  Juergen Vigna  <jug@sad.it>
12047
12048         * text.C (fill): return 0 instead of 20 as this seems to be the more
12049         correct value.
12050
12051 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12052
12053         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12054         lyxrc.font_norm.
12055
12056 2001-08-13  Juergen Vigna  <jug@sad.it>
12057
12058         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12059         casesensitive off.
12060         (SearchBackward): comment out the unlocking of the inset_owner this
12061         should not be needed!
12062
12063 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
12064
12065         * Many files: Remove inherit_language, and add latex_language
12066
12067         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12068         collapsible insets.
12069
12070 2001-08-10  Juergen Vigna  <jug@sad.it>
12071
12072         * text.C (prepareToPrint): fixed hfill-width in draw!
12073
12074         * BufferView2.C (selectLastWord): save the selection cursor as this
12075         now is cleared in the function LyXText::clearSelection!
12076
12077 2001-08-08  Juergen Vigna  <jug@sad.it>
12078
12079         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12080         BACKSPACE type functions.
12081
12082         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12083         is only cutted from the document but not put in the cut-buffer, where
12084         still the old stuff should be.
12085
12086         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12087
12088         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12089
12090         * tabular.C (SetWidthOfCell): fixed special case where the width
12091         was not updated!
12092         (LeftLine): handle '|' in align_special.
12093         (RightLine): ditto
12094         (LeftAlreadyDrawed): ditto
12095         (SetWidthOfCell): ditto
12096
12097 2001-08-07  Juergen Vigna  <jug@sad.it>
12098
12099         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12100
12101 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12102
12103         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12104         * lyxlex.[hC]: ditto
12105
12106 2001-08-06  Juergen Vigna  <jug@sad.it>
12107
12108         * text.C (getVisibleRow): fix up row clearing a bit.
12109
12110 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12111
12112         * minibuffer.C: make sure the X server sees the changes in the input.
12113
12114 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12115
12116         * paragraph.C (getFont): split into...
12117         (getLabelFont): this
12118         (getLayoutFont): and this
12119         * paragraph_pimpl.C (realizeFont): calling this
12120
12121         * text2.C (getFont): split into...
12122         (getLayoutFont): this
12123         (getLabelFont): and this
12124         (realizeFont): all three calling this
12125
12126         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12127         files where used.
12128
12129 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12130
12131         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12132
12133 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
12134
12135         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12136         layouts from the Quote inset insertion.
12137
12138 2001-08-03  Juergen Vigna  <jug@sad.it>
12139
12140         * BufferView_pimpl.C (update): do the fitCursor only at the end!
12141
12142         * screen.C (drawFromTo): don't call fitcursor here and do the loop
12143         only if status not is already CHANGED_IN_DRAW (second level).
12144
12145         * text.C (draw): don't set the need_break_row when inside an
12146         InsetText LyXText.
12147
12148 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12149
12150         * buffer.C (parseSingleLyXformat2Token): handle more latex
12151         conversion cases.
12152
12153         * bufferview_funcs.[hC]: change function names to
12154         begin with small char, adjust other files.
12155
12156 2001-08-02  André Pönitz <poenitz@gmx.net>
12157
12158         * lyxfunc.C:
12159         BufferView_pimpl.C: remove broken special code for math-greek
12160
12161 2001-08-02  Juergen Vigna  <jug@sad.it>
12162
12163         * BufferView_pimpl.C (update): redone this function so that we
12164         update the text again if there was a CHANGE_IN_DRAW.
12165
12166         * screen.C (cursorToggle): removed LyXText parameter and recoded.
12167         (drawFromTo): added a new internal bool which is used by draw() and
12168         redraw() function.
12169         (general): some cursor drawing problems fixed.
12170
12171 2001-08-01  Juergen Vigna  <jug@sad.it>
12172
12173         * lyxfind.C (LyXFind): fixed
12174         (SearchForward): ditto
12175         (SearchBackward): ditto
12176
12177         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12178         spurius drawing of the cursor in the main area.
12179
12180         * text2.C (status): small fix which could lead to a segfault!
12181         (clearSelection): remove unneeded BufferView param.
12182
12183 2001-08-01  André Pönitz <poenitz@gmx.net>
12184
12185         * lyxfunc.C: small change due to changed mathed interface
12186
12187 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12188
12189         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12190
12191 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
12192
12193         * lyxfunc.c: fail gracefully if file doesn't exist
12194
12195         * LyXSendto.C:
12196         * buffer.C:
12197         * lyxfunc.C:
12198         * BufferView_pimpl.C: IsDirWriteable() proto changed
12199
12200         * LyXView.C: fix updateWindowTitle() to store the last title
12201
12202 2001-07-31  Juergen Vigna  <jug@sad.it>
12203
12204         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12205         the font (wrong since using of Paragraph::highestFontInRange).
12206
12207         * paragraph.C (highestFontInRange): added a default_size parameter.
12208
12209         * text.C (getVisibleRow): minor clear row changes (still not perfect).
12210         (setHeightOfRow): reformat
12211
12212 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12213
12214         * converter.[hC] + affected files: move to (inital-char)lowercase
12215         function names.
12216
12217         * ParagraphParameters.C (ParagraphParameters): remove commented code
12218
12219         * PainterBase.[Ch]: remove commented code
12220
12221         * LaTeXFeatures.h: add "bool floats" for float.sty
12222
12223         * LaTeXFeatures.C (LaTeXFeatures): init floats
12224         (require): handle float
12225         (getPackages): do it with floats
12226
12227 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12228
12229         * BufferView_pimpl.C (Dispatch): improve handling of
12230         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12231
12232         * commandtags.h: #include lyxfont.h here temporarily to avoid
12233         keybinding bug.
12234
12235         * bufferlist.h: include LString.h here.
12236
12237 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12238
12239         * text2.C (getStringToIndex): new method.
12240
12241 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
12242
12243         * *: Reduced header file dependencies all over.
12244
12245 2001-07-30  Baruch Even  <baruch@lyx.org>
12246
12247         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12248
12249 2001-07-29  Baruch Even  <baruch@lyx.org>
12250
12251         * buffer.C (readInset): Changed GRAPHICS to Graphics.
12252
12253 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12254
12255         * ParameterStruct.h (endif): add a default constructor to make
12256         sure that all variables is initialized.
12257
12258         * ParagraphParameters.C (ParagraphParameters): adjust
12259
12260 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12261
12262         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12263         index; also, check that there is something to index, and that it
12264         does not span over several paragraphs.
12265         (doubleClick): use WHOLE_WORD_STRICT for double click.
12266
12267         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12268
12269         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12270         scheme.
12271
12272 2001-07-26  Baruch Even  <baruch@lyx.org>
12273
12274         * buffer.C (readInset): Changed to call up InsetGraphics when reading
12275         an InsetFig figure, backwards compatible reading of old figure code.
12276
12277 2001-07-27  Juergen Vigna  <jug@sad.it>
12278
12279         * text2.C: font.realize function adaption.
12280
12281         * text.C (draw): add a warnings lyxerr text if needed.
12282
12283         * layout.C: font.realize function adaption.
12284
12285         * language.C: add inherit_language and implement it's handlings
12286
12287         * bufferview_funcs.C (StyleReset): remove language parameter from
12288         font creation (should be language_inherit now).
12289
12290         * bufferparams.C (writeFile): handle ignore_language.
12291
12292         * paragraph.C (getFontSettings): the language has to be resolved
12293         otherwise we have problems in LyXFont!
12294
12295         * lyxfont.C (lyxWriteChanges): added document_language parameter
12296         (update): removed unneeded language parameter
12297
12298         * paragraph.C (validate): fixed wrong output of color-package when
12299         using interface colors for certain fonts in certain environments,
12300         which should not seen as that on the final output.
12301
12302 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
12303
12304         * BufferView_pimpl.C:
12305         * Thesaurus.h:
12306         * Thesaurus.C:
12307         * Makefile.am:
12308         * commandtags.h:
12309         * LyXAction.C: add thesaurus support
12310
12311         * lyxfind.h:
12312         * lyxfind.C: add "once" parameter, for thesaurus, to not
12313           move to the next match
12314
12315 2001-07-26  Juergen Vigna  <jug@sad.it>
12316
12317         * lyxfont.C (realize): honor ignore_language too!
12318         (resolved): ditto.
12319
12320         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12321
12322         * text.C (draw): one place more for ignore_language to not draw
12323         itself!
12324
12325 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
12326
12327         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12328
12329 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12330
12331         * buffer.C (parseSingleLyXformat2Token): a more general fix for
12332         the minipage conversion problem.
12333
12334 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12335
12336         * buffer.C (parseSingleLyXformat2Token): check minipage if we
12337         insert an inset.
12338
12339 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12340
12341         * BufferView.h: don't forward declare WorkArea
12342
12343         * BufferView.C: don't include WorkArea.h
12344
12345 2001-07-25  André Pönitz <poenitz@gmx.net>
12346
12347         * commandtags.h:
12348         * LyXAction.C:
12349         * lyxfunc.C:  new LFUN 'math-space'
12350
12351         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12352
12353 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12354
12355         * text2.C (toggleInset): call open/close
12356
12357 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12358
12359         * lyxfunc.C (dispatch): add debug for the disabled case
12360
12361         * font.C (buttonText): make similar to rectText
12362
12363         * buffer.C (readInset): comment out parsing of insetlist and
12364         insttheorem
12365
12366         * PainterBase.C (rectText): small correction
12367
12368         * BufferView_pimpl.C: comment out insettheorem and insetlist
12369         * LyXAction.C: ditto
12370         * commandtags.h: ditto
12371
12372 2001-07-24  Juergen Vigna  <jug@sad.it>
12373
12374         * text.C (draw): honor the ignore_language.
12375
12376         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12377
12378 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12379
12380         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12381         char inset.
12382
12383 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12384
12385         * lyxtext.h: remove unused (and unimplemented) methods
12386
12387 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12388
12389         * text.C (getVisibleRow): honor background color
12390
12391         * PainterBase.h:
12392         * Painter.h: remove default color argument for fillRectangle
12393
12394         * text.C (backgroundColor): new method
12395
12396 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12397
12398         * text.C (getVisibleRow): adjust
12399
12400         * font.[Ch] (rectText): new method, metrics
12401         (buttonText): new method, metrics
12402
12403         * PainterBase.[hC]: make rectText and buttonText always draw and take
12404         fewer paramteres.
12405
12406 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12407
12408         * ToolbarDefaults.C (read):
12409         * MenuBackend.C (read): allow escaping in all strings
12410
12411         * BufferView_pimpl.C (insertAndEditInset): new method.
12412         (Dispatch): use insertAndEditInset whenever appropriate.
12413
12414         * BufferView_pimpl.C (insertNote): removed
12415
12416         * BufferView_pimpl.C (smartQuote): new method, moved from
12417         BufferView; if an insetquote cannot be inserted, insert a '"'
12418         character instead.
12419
12420         * BufferView2.C: remove insertCorrectQuote();
12421
12422         * lyxfunc.C (getStatus): Add support for all remaingin
12423         inset-insert lfuns.
12424
12425         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12426
12427         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12428         command (necessary to pass " as parameter of self-insert.
12429
12430         * text.C (selectWordWhenUnderCursor):
12431         (selectWord): add word_location parameter
12432         (selectWordWhenUnderCursor): same + remove special code for word
12433         boundary.
12434         (selectNextWord): use kind() to guess type of insetspecialchar,
12435         not latex().
12436
12437         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12438         (insertErtContents): create ert insets as collapsed.
12439         (readInset): better compatibility code for Info inset.
12440
12441 2001-07-20  Juergen Vigna  <jug@sad.it>
12442
12443         * lyxfunc.C (dispatch): use always LyXFind now!
12444
12445         * text2.C (init): add a reinit flag so that the LyXText can be
12446         reinited instead of deleted and reallocated (used in InsetText).
12447
12448         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12449
12450         * text.C: ditto
12451
12452         * text2.C: ditto
12453
12454 2001-07-18  Juergen Vigna  <jug@sad.it>
12455
12456         * text.C (selectNextWord): handle insets inside inset by calling
12457         always the bv->text functions so that we can go up the_locking_inset!
12458
12459         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12460         in strange locations when inside an inset!
12461
12462         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12463         handling to include insets.
12464
12465         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12466
12467 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12468
12469         * LyXAction.C (init):
12470         * commandtags.h:
12471         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12472         LIGATURE_BREAK, since the name is so stupid.
12473
12474 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12475
12476         * buffer.C (readInset): enable reading of new InsetNotes as well as old
12477         InsetInfos.
12478
12479         * FontLoader.C: remove FORMS_H_LOCATION cruft.
12480
12481         * sp_form.[Ch]: remove.
12482
12483         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12484
12485         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12486         InsetInfo.
12487
12488         * src/buffer.C (readInset): ditto.
12489
12490 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12491
12492         * BufferView_pimpl.C (specialChar): new method. Obsoletes
12493         menuSeparator(), endOfSentenceDot(), ldots() and
12494         hyphenationPoint(), which are therefore removed.
12495         (Dispatch): handle LFUN_HYPHENATION_BREAK.
12496
12497         * LyXAction.C (init):
12498         * commandtags.h: add LFUN_HYPHENATION_BREAK.
12499
12500         * paragraph.C (getWord): removed.
12501
12502         * BufferView_pimpl.C (Dispatch): use last word or selection for
12503         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12504
12505         * lyx_main.C (queryUserLyXDir): do not ask before creating
12506         user_dir, except if it has been named explicitely.
12507
12508 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12509
12510         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12511         a document of zero size.
12512
12513 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
12514
12515         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12516         approriately in the c-tor and in require().
12517         (getPackages): output the appropriate LaTeX for natbib support.
12518
12519         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12520         variables "use_natbib" and "use_numerical_citations" when reading the
12521         LyX file.
12522         (readInset): read the various natbib cite commands.
12523         (validate): white-space change.
12524
12525         * bufferparams.[Ch]: new variables "bool use_natbib" and
12526         "bool use_numerical_citations".
12527         (writeFile): output them in the LyX file.
12528
12529 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12530
12531         * lyxfunc.C (getStatus): add support for all the inset insertion
12532         commands.
12533
12534         * text2.C (insertInset):
12535         * paragraph.C (insetAllowed):
12536         * BufferView_pimpl.C (insertInset): update to take in account the
12537         renaming of insertInsetAllowed
12538
12539         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12540
12541         * text2.C (getInset): new method. returns inset at cursor position.
12542
12543         * BufferView_pimpl.C (Dispatch): changes because of this.
12544
12545         * LyXAction.C (init): rename open-stuff to inset-toggle.
12546
12547         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12548
12549         * text2.C (toggleInset): renamed from openStuff; use
12550         Inset::open().
12551
12552 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
12553
12554         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12555
12556         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12557
12558 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
12559
12560         * buffer.C (readLyXformat2): Add filename to the error dialog
12561
12562 2001-07-18  Juergen Vigna  <jug@sad.it>
12563
12564         * tabular.C (GetCellNumber): put an assert here instead of the check!
12565
12566 2001-07-17  Juergen Vigna  <jug@sad.it>
12567
12568         * BufferView_pimpl.C (toggleSelection): adapted too.
12569
12570         * text.C (selectNextWord): adapted for use with insets.
12571         (selectSelectedWord): ditto
12572
12573 2001-07-17  Juergen Vigna  <jug@sad.it>
12574
12575         * sp_spell.C (PSpell): fix initialitation order.
12576
12577 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12578
12579         * paragraph.C: spacing
12580
12581 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
12582
12583         * sp_spell.C: repair language selection for pspell
12584
12585 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12586
12587         * lyxfunc.h: change more methods to begin with lower char.
12588
12589 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
12590
12591         * buffer.C (parseSingleLyXformat2Token): Generate error insets
12592         for unknown layouts.
12593
12594 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12595
12596         * buffer.C (readLyXformat2): Generate an error dialog if there are
12597         unknown layouts.
12598
12599 2001-07-16  Juergen Vigna  <jug@sad.it>
12600
12601         * sp_spell.C: always compile ISpell part.
12602
12603         * lyxrc.C: added use_pspell entry and it's handling.
12604
12605 2001-07-13  Juergen Vigna  <jug@sad.it>
12606
12607         * sp_spell.C: removed double includes.
12608
12609 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
12610
12611         Consistent use of Lsstream.h:
12612         * Lsstream.h: added using std::stringstream for consistencies sake.
12613
12614         * buffer.C: removed using std::stringstream
12615
12616         * lyxfont.C (stateText):
12617         * paragraph.C (asString):
12618         * text.C (selectNextWord, selectSelectedWord):
12619         * text2.C (setCounter):
12620         * vspace.C (asString, asLatexString):
12621         std::ostringstream -> ostringstream.
12622
12623 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12624
12625         * LyXAction.C: add LFUN_HELP_ABOUTLYX
12626         * commandtags.h: add LFUN_HELP_ABOUTLYX
12627         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12628
12629 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12630
12631         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12632         cursorToggle()
12633         * lyx_gui_misc.C: remove spellchecker
12634         * lyxfunc.C: showSpellchecker
12635         * sp_base.h: added
12636         * sp_ispell.h: added
12637         * sp_pspell.h: added
12638         * sp_spell.C: added
12639         * sp_form.[Ch]: removed
12640         * spellchecker.[Ch]: removed
12641
12642 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
12643
12644         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12645         is set.
12646         (simpleTeXSpecialChars): Simply print the input character without
12647         any special translation if pass_thru is set.
12648
12649         * layout.h: Added bool pass_thru to layout class for being able to
12650         implement pass through of a paragraph for Literate Programming.
12651
12652         * layout.C: add LT_PASS_THRU to LayoutTags enum.
12653         * layout.C (LyXLayout): set pass_thru to flase in constructor.
12654         * layout.C (Read): add "passthru" to list of layout tags and add
12655         code to set the pass_thru boolean when it is read.
12656
12657 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12658
12659         * trans_decl.h: remove allowed from KmodInfo
12660
12661         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12662         remove allowed code
12663         (Load): adjust
12664
12665         * paragraph_pimpl.C (erase): use boost::prior
12666
12667         * Painter.C (text): use data() instead of c_str() when length is
12668         also provided.
12669         * WorkArea.C (putClipboard): ditto
12670         * font.h (width): ditto
12671
12672         * BufferView2.C: use it-> instead of (*it). for iterators
12673         * texrow.C: ditto
12674         * paragraph_pimpl.C: ditto
12675         * paragraph.C: ditto
12676         * minibuffer.C: ditto
12677         * language.C: ditto
12678         * kbmap.C: ditto
12679         * encoding.C: ditto
12680         * counters.C: ditto
12681         * converter.C: ditto
12682         * chset.C: ditto
12683         * Variables.C: ditto
12684         * TextCache.C: ditto
12685         * MenuBackend.C: ditto
12686         * LyXAction.C: ditto
12687         * LColor.C: ditto
12688         * FloatList.C: ditto
12689         * DepTable.C: ditto
12690         * ColorHandler.C (LyXColorHandler): ditto
12691
12692 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12693
12694         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12695
12696         * text2.C (openStuff): reintroduce this method (which had been
12697         nuked in NEW_INSETS frenzy).
12698
12699         * lyxfunc.C (Dispatch): when an action has not been handled, use
12700         its name in the error message, not its number.
12701
12702         * paragraph.C (inInset): change method name to begin with lowercase.
12703
12704         * undo_funcs.C:
12705         * text2.C: updates because of this.
12706
12707 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12708
12709         * ToolbarDefaults.C (add): add spaces in error message
12710
12711 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12712
12713         * buffer.C (readLyXformat2): initialize the ert comp. variables.
12714         (readLyXformat2): rename return_par to first_par, use lyxlex's
12715         pushToken and remove the manual push handling.
12716         (parseSingleLyXformat2Token): add another ert comp. variable:
12717         in_tabular, rename return_par to first_par. handle newlines better
12718
12719 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12720
12721         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12722
12723 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12724
12725         * text2.C (getParFromID): removed
12726
12727         * buffer.C (getParFromID): new method moved form lyxtext.
12728         * BufferView2.C (insertErrors): adjust
12729         (setCursorFromRow): adjust
12730         * BufferView_pimpl.C (restorePosition): adjust
12731         * lyxfunc.C (Dispatch): adjust
12732         * undo_funcs.C (textUndo): adjust
12733         (textRedo): adjust
12734         (textHandleUndo): adjust
12735         (textHandleUndo): adjust
12736
12737 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12738
12739         * buffer.C: up' the LYX_FORMAT
12740
12741         * lyxfont.h: turn NO_LATEX on as default
12742
12743         * buffer.C (insertErtContents): new methods of tex style compability.
12744         (parseSingleLyXformat2Token): use it several places.
12745         * tabular.C (OldFormatRead): and here
12746
12747 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12748
12749         * text2.C: remove some commented code.
12750         reindent file.
12751
12752         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12753         * trans.C: changes because of the above.
12754
12755 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
12756
12757         * text2.C (setCounter): Fix counters bug with bibliography layout.
12758
12759 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12760
12761         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12762         own member functions
12763         (simpleTeXSpecialChars): ditto
12764
12765 2001-07-06  Juergen Vigna  <jug@sad.it>
12766
12767         * a lot of files: changed the access to LyXText::status and the
12768         call of undo-functions.
12769
12770         * undo.[Ch]: added a inset_id to the undo informations.
12771
12772         * undo_funcs.[Ch]: added and moved here all undo functions.
12773
12774         * lyxtext.h: give the status enum a weight, made status_ a private
12775         variable and made accessor functions for it, removed the whole bunch
12776         of undo-functions as they are now in their own file, make some
12777         functions publically available. Added function ownerParagraph with
12778         int parameter.
12779
12780         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12781         made InInset() a const function, added getParFromID() function.
12782
12783         * buffer.[Ch]: added const version for inset_iterator functions,
12784         added getInsetFromID() function.
12785
12786         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12787         changed undo functions for new version.
12788
12789 2001-07-05  Juergen Vigna  <jug@sad.it>
12790
12791         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12792         unknow mechanism does not call the proper constructor but only this
12793         one also if I request the other!?
12794
12795 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12796
12797         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12798
12799         * text2.C (LyXText): use initialization lists.
12800
12801         * lyxtext.h (Selection): initialize set_ and mark_
12802         (init): remove method
12803
12804 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12805
12806         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12807
12808 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12809
12810         * screen.[Ch]: change method names to begin with lowercase
12811
12812         * BufferView_pimpl.C (updateScrollbar): simplify further and
12813         hopefully make it a bit faster.
12814
12815 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12816
12817         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12818         calling directly xforms functions.
12819
12820         * Painter.C (Painter):
12821         * lyx_cb.C (MenuWrite):
12822         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12823         fl_display.
12824
12825         * lyx_gui.C: remove bogus guiruntime extern declaration.
12826
12827 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12828
12829         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12830         in NEW_INSETS
12831         (redoDrawingOfParagraph): ditto
12832         (redoParagraphs): ditto
12833         (cutSelection): don't create a object for CutAndPaste use the
12834         static method directly
12835         (pasteSelection): ditto
12836
12837         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12838         LyXview (+ rename)
12839
12840 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12841
12842         * modifications to some other files because of this.
12843
12844         * Makefile.am (lyx_SOURCES): add XFormsView
12845
12846         * XFormsView.[Ch]: new files
12847
12848         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12849         the main window. Move the gui dependent stuff to XFormsView
12850
12851 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12852
12853         * tabular.C (GetCellInset): update cur_cell also in the row/col
12854         version of this function.
12855
12856         * lyxfunc.C: no need to include figure_form.h here.
12857
12858         * FontLoader.h:
12859         * lyxfunc.h:
12860         * lyxscreen.h:
12861         * text2.C:
12862         * lyxvc.C: no need to include forms.h here.
12863
12864 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12865
12866         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12867
12868         * lyxfunc.C (Dispatch):
12869         * Spacing.C (set):
12870         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12871         constructor argument.
12872
12873 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12874
12875         * paragraph.C (Paragraph): dont't clear, and just set layout.
12876         (makeSameLayout): use params's copy contructor.
12877
12878         * ParagraphParameters.[Ch] (makeSame): delete method
12879
12880 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12881
12882         * Variables.[Ch]: fix indentation, rename set to isSet
12883
12884 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12885
12886         * lyxfunc.C (Dispatch): fix typo
12887
12888 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12889
12890         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12891         upper_bound.
12892
12893         * bufferlist.C: include assert.h for emergencyWrite().
12894
12895 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12896
12897         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12898           give up at last (bug #425202) !
12899
12900 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12901
12902         * lyx_gui_misc.C:
12903         * sp_form.h:
12904         * sp_form.C:
12905         * spellchecker.h:
12906         * spellchecker.C: strip spellchecker options and bring up
12907           preferences tab instead
12908
12909 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12910
12911         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12912         the istringstream constructor
12913
12914 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12915
12916         * paragraph.C (getLayout): fix return value
12917
12918         * paragraph.h: do not declare getLayout as inline.
12919
12920         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12921
12922 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12923
12924         * lyxcursor.h (operator<): new func
12925         (operator>): new func
12926         (operator>=): new func
12927         (operator<=): new func
12928
12929         * text.C (changeCase): use selection.start and selection.end
12930         (changeRegionCase): require from to be <= to. Require par to be a
12931         valid paragraph.
12932
12933         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12934
12935 2001-06-27  Juergen Vigna  <jug@sad.it>
12936
12937         * text.C (cursorLeftOneWord): changed to return the cursor and added
12938         overlay with BufferView * parameter which calls this one.
12939         (getWord): added
12940         (selectWord): use new getWord function.
12941         (changeCase): renamed from changeWordCase as and extended to work
12942         also on selections.
12943
12944         * lyxtext.h: added enum word_location
12945
12946         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12947         changeCase as this operates now also on selections.
12948
12949 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
12950
12951         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12952
12953         * many files: send debug output to Debug::INFO instead of
12954         Debug::ANY.
12955
12956         * converter.C (View):
12957         (Convert):
12958         (Move): send debug output to Debug::FILES instead of console.
12959
12960 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
12961
12962         * lyxfunc.C (getStatus): use func_status
12963
12964         * func_status.h: new header, describing the results of
12965         LyXFunc::getStatus;
12966
12967         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12968         LFUN_MATH_HALIGN.
12969
12970 2001-06-25  The LyX Project  <jug@sad.it>
12971
12972         * buffer.C (sgmlOpenTag):
12973         (sgmlCloseTag):
12974         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
12975
12976 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12977
12978         * text2.C: remove some dead code
12979
12980         * tabular.C (GetCellInset): store the last cell checked (gotten)
12981
12982         * tabular.h: add the helper for the speedup
12983
12984         * lyxtext.h: remove some dead code
12985
12986 2001-06-26  The LyX Project  <Asger>
12987
12988         * paragraph.C: Change export to LaTeX of alignment to
12989         \begin{center} and family for better roundtrip work with reLyX.
12990
12991         * Tune the math drawing a bit.
12992
12993 2001-06-25  The LyX Project  <Asger>
12994
12995         * LColor.C (LColor): New color for math background. New color
12996         for buttons.
12997
12998 2001-06-25  The LyX Project  <jug@sad.it>
12999
13000         * lyxfunc.C (MenuNew): remove extra check for .lyx file
13001
13002         * lyxfunc.C (Open):
13003         * bufferlist.C (newFile): do not restrict to files ending with
13004         .lyx
13005
13006         * BufferView_pimpl.C (MenuInsertLyXFile):
13007
13008 2001-06-24  The LyX Project  <jug@sad.it>
13009
13010         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13011         of compare_no_case
13012
13013 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13014
13015         * lyxtext.h: rename most methods to begin with a small char.
13016         Lots of changes because of this.
13017
13018         * paragraph.C (Paragraph): do not call fitToSize
13019         (erase): call Pimpl::erase
13020         (insertChar): call Pimpl::insertChar
13021         (insertInset): call Pipl::insertInset
13022         (breakParagraph): do not call fitToSize
13023         (breakParagraphConservative): do not call fitToSize
13024         (fitToSize): remove method
13025
13026         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13027
13028 2001-06-24  The LyX Project  <Asger>
13029
13030         * Fix Qt compilation^2
13031
13032 2001-06-24  The LyX Project  <jug@sad.it>
13033
13034         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13035         depthHook(getDepth()-1).
13036
13037         * paragraph.h:
13038         * ParagraphParameters.h:
13039         * ParameterStruct.h: change type of depth to unsigned int ==
13040         depth_type. Many adaptations to other files before of that.
13041
13042 2001-06-24  The LyX Project  <Asger>
13043
13044         * Fix Qt compilation.
13045
13046 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13047
13048         * paragraph.h: renamed several methods to begin with small letter.
13049         several changes to many parts of the code because of this.
13050
13051 2001-06-23  The LyX Project  <jug@sad.it>
13052
13053         * text2.C (InsertStringAsLines): renamed from InsertStringA;
13054         rewritten to discard all double spaces when KeepEmpty is off
13055         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13056         to only handle newlines but not fiddle with spaces and friends.
13057
13058         * lyxfunc.C (MenuNew): when doing 'new from template', use
13059         template_path as default directory
13060
13061 2001-06-23  The LyX Project  <Asger>
13062
13063         * Clean-up of header file includes all over
13064         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13065
13066 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13067
13068         * paragraph.h: renamed from lyxparagraph.h
13069
13070 2001-06-23  Asger  <lyx@violet.home.sad.it>
13071
13072         * Buffer.h: Removed Buffer::resize
13073         * BufferList.h: Removed BufferList::resize
13074         * LyXView.h: Added LyXView::resize. This way, we will only reflow
13075         the document lazily when we change the width, or the font settings.
13076
13077 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13078
13079         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13080
13081 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13082
13083         * buffer.h: remove out of date comment
13084
13085 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13086
13087         * lyxscreen.h:
13088         * screen.C: fix "theoretical" GC leak
13089
13090 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13091
13092         * LaTeX.C (scanAuxFile):
13093         (deplog): remove trailing \r when reading stream (useful under
13094         win32)
13095
13096 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
13097
13098         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13099         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13100         and BufferView::theLockingInset(Inset*), so should use them and not
13101         access bv_->text->the_locking_inset directly.
13102
13103         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13104
13105 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13106
13107         * Makefile.am:
13108         * tex-defs.h: remove old unused file
13109
13110 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
13111
13112         * BufferView_pimpl.C: fix typo, remove minibuffer message
13113           when buffer has loaded
13114
13115 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13116
13117         * lyxfunc.C (Dispatch): use stringstream
13118         (MenuNew): use stringstream
13119         (Open): use stringstream
13120
13121         * importer.C (Import): use stringstream
13122
13123         * bufferview_funcs.C (CurrentState): use stringstream
13124
13125         * LaTeX.C (run): use stringstream
13126
13127         * BufferView_pimpl.C (savePosition): use stringstream
13128         (restorePosition): use stringstream
13129         (MenuInsertLyXFile): use stringstream
13130
13131 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
13132
13133         * BufferView.C:
13134         * Bullet.C:
13135         * ColorHandler.C:
13136         * FontInfo.C:
13137         * FontLoader.C:
13138         * LColor.C:
13139         * LaTeXFeatures.C:
13140         * Painter.C:
13141         * gettext.C:
13142         * lyx_gui_misc.C:
13143         * lyxserver.C:
13144         * vspace.C: removed // -*- C++ -*- as first line.
13145
13146         * lyxfind.h:
13147         * version.h: added // -*- C++ -*- as first line.
13148
13149 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13150
13151         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13152
13153         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13154         of string
13155
13156 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13157
13158         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13159         of floats.
13160
13161 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13162
13163         * gettext.C: include LString.h even when --disable-nls is on.
13164
13165 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
13166
13167         * converter.h (Get): changed argument type from int to
13168         FormatList::size_type to avoid unnecessary conversion.
13169
13170         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13171         before using it.
13172
13173 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13174
13175         * gettext.h: include LString.h even when --disable-nls is on.
13176
13177 2001-06-07  Juergen Vigna  <jug@sad.it>
13178
13179         * text.C (BreakAgain): subst spaces with tabs.
13180
13181         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13182         (resizeInsetsLyXText): set force on resizeLyXText.
13183
13184 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13185
13186         * gettext.h (gettext_init):
13187         (locale_init): use a real definition instead of a macro
13188
13189 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13190
13191         * Bufferview_pimpl.C:
13192         * LColor.h:
13193         * LColor.C: further lcolor tidies
13194
13195 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13196
13197         * BufferView_pimpl.C (updateScrollbar): simplify.
13198
13199         * BufferView2.C: don't include insets/insetinfo.h, change
13200         prototype for insertInset and call the Pimpl version. let
13201         updateInset call Pimpl version.
13202
13203         * BufferView.h: move inset_slept to BufferView::Pimpl, move
13204         gotoInset to BufferView::Pimpl
13205
13206 2001-06-01  Juergen Vigna  <jug@sad.it>
13207
13208         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13209         inside a LockingInset (is the update needed at all?).
13210
13211 2001-05-31  Juergen Vigna  <jug@sad.it>
13212
13213         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13214         here not the old one otherwise how should we compare it afterwards
13215         if it's the same!
13216
13217 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13218
13219         * lyxfont.C:
13220         * tabular.C:
13221         * tabular-old.C:
13222         * FontInfo.C: bring C functions into global namespace when
13223         necessary
13224
13225 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13226
13227         * LString.h: make sure config.h has been loaded before LString.h.
13228
13229         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13230         (one for each char read by EatLine!).
13231
13232         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13233         variables.
13234
13235 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13236
13237         * paragraph.C (BreakParagraph): set the inset_owner in the new par
13238         to the same as the par we break from
13239
13240 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13241
13242         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13243
13244         * MenuBackend.C (expand): also create menu entries for wide
13245         versions of the floats.
13246
13247         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13248
13249         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13250
13251         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13252         frontends/Makefile.am
13253
13254         * text2.C: adjust
13255         * text.C: adjust
13256
13257
13258         * tabular.C (getTokenValue): add std::
13259
13260         * tabular-old.C (getTokenValue): add std::
13261         (getTokenValue): ditto
13262         (getTokenValue): ditto
13263
13264         * screen.C (ToggleSelection): adjust
13265
13266         * lyxtext.h: put selection cursors inside a Selection struct.
13267
13268         * lyxfunc.C (moveCursorUpdate): adjust
13269
13270         * lyxfont.C (latexWriteStartChanges): add std::
13271
13272         * lyxfind.C: adjust
13273
13274         * font.h: delete with(char const *, LyXFont const &)
13275
13276         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13277
13278         * FontInfo.C (getFontname): add std::
13279
13280         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13281         (workAreaButtonPress): adjust
13282         (tripleClick): adjust
13283         (update): adjust
13284         (moveCursorUpdate): adjust
13285         (Dispatch): adjust
13286
13287         * BufferView2.C (gotoInset): adjust
13288
13289 2001-05-30  Juergen Vigna  <jug@sad.it>
13290
13291         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13292         to check pspell I add this as default as I now have new pspell
13293         libraries and they seem to use this.
13294
13295 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13296
13297         * text2.C (CutSelection): make the cursor valid before the call to
13298         ClearSelection.
13299
13300 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13301
13302         * kbsequence.C (parse): de-uglify a bit the parsing code, which
13303         relied on 0 terminated strings and other horrors. Bug found due to
13304         the new assert in lyxstring!
13305
13306         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13307         KP_ keys.
13308
13309 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13310
13311         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13312         to latinkeys.bind.
13313
13314         * lyxfunc.C (processKeySym): change method of getting to the
13315         self-insert char.
13316
13317         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13318         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13319         * BufferView_pimpl.[Ch]: here as private methods.
13320
13321 2001-05-28  Juergen Vigna  <jug@sad.it>
13322
13323         * text.C (SetHeightOfRow): added the update() call again as it is
13324         needed to initialize inset dimensions!
13325
13326 2001-05-16  Juergen Vigna  <jug@sad.it>
13327
13328         * text2.C (SetCharFont): Add new function with BufferView * and
13329         bool toggleall parameters for setting insets internal fonts.
13330         (SetFont): Freeze the undo as we may change fonts in Insets and
13331         all this change should be inside only one Undo!
13332
13333         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13334         setting font's in insets as for them we have the SetFont function!
13335
13336 2001-05-15  Juergen Vigna  <jug@sad.it>
13337
13338         * text2.C (ClearSelection): to be sure we REALLY don't have any
13339         selection anymore!
13340
13341         * tabular.C (TeXCellPreamble): fixed the left border problem for
13342         multicolumn cells.
13343
13344 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
13345
13346         * LaTeX.C (deplog): Make sure that the main .tex file is in the
13347         dependancy file
13348
13349 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13350
13351         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13352         LFUN_BREAKPARAGRAPH.
13353
13354         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13355         help test to "internal only", similar for LFUN_INSERT_URL
13356
13357         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13358         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13359         auto_region_delete and deadkeys.
13360
13361 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
13362
13363         * LColor.h:
13364         * LColor.C: remove some dead entries, tidy a little
13365
13366 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13367
13368         * lyxfunc.C (processKeySym): comment the Escape handling, remove
13369         commented code.
13370         (Dispatch): implement LFUN_ESCAPE
13371
13372         * commandtags.h: add LFUN_ESCAPE
13373
13374         * LyXAction.C (init): add entry for LFUN_ESCAPE
13375
13376         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13377         Remove commented code.
13378         (insertNote): moved here
13379         (open_new_inset): moved here
13380
13381         * BufferView[2].[Ch]: move insertNote and open_new_inset to
13382         BufferView_pimpl
13383
13384 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13385
13386         * kbmap.C (findbinding): clean it up and make it work correctly.
13387
13388         * lyx_main.C (init): do not pass argc and argv as parameters
13389
13390 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
13391
13392         * buffer.C: fix path for OS/2 & Win32
13393
13394         * lyx_gui.C:
13395         * lyx_main:
13396         * lyx_main.C: Added os:: class.
13397
13398         * os2_defines.h: update
13399
13400 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13401
13402         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13403         better by trying again with reduced state.
13404
13405 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13406
13407         * lyxrc.C (read): print error about invalid key sequence only when
13408         debugging (because not all latinX keysyms are known to some X
13409         servers)
13410
13411         * kbsequence.C (getiso): add a few std:: qualifiers
13412         (getiso): comment out extra return statement.
13413
13414 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13415
13416         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13417         handling.
13418         (Dispatch): enhance the accent inset a bit. (not perfect)
13419
13420 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13421
13422         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13423
13424 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13425
13426         * bufferlist.C (emergencyWrite): fix assert() call
13427
13428 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
13429
13430         * text.C (InsertChar): Added trivial patch to only send the "you
13431         can not do multiple spaces this way" message once during a
13432         session.
13433
13434 2001-05-08  Baruch Even  <baruch@lyx.org>
13435
13436         * Makefile.am: Changed order of libraries to get LyX to link properly
13437         with the gnome frontend.
13438
13439 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13440
13441         * LaTeXFeatures.h: add a std:: qualifier
13442
13443 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13444
13445         * paragraph.C (String): use stringstream
13446
13447 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13448
13449         * paragraph.C (writeFile): remove footflag arg
13450
13451         * buffer.C (makeLaTeXFile): use stringstream
13452         (latexParagraphs): remove footnot gurba
13453
13454         * LaTeXFeatures.C (getPackages): use stringstream
13455         (getMacros): likewise
13456         (getTClassPreamble): likewise
13457         (getFloatDefinitions): new method
13458
13459         * paragraph.C (writeFile): reindent
13460         (Erase): reindent
13461
13462         * WorkArea.h: revert the xpos + etc changes.
13463
13464         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13465
13466         * lyxparagraph.[Ch]: add copy constructor, remove Clone
13467
13468         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13469         (pasteSelection): likewise
13470         * text2.C (CreateUndo): likewise
13471
13472 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13473
13474         * minibuffer.C (peek_event): temporarily reduce the functionality
13475         of the minibuffer (to allow args on lfuns)
13476
13477         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13478         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13479
13480         * buffer.C (readInset): add compability reading of old float
13481         lists, add reading of new style float list.
13482         (readInset): avoid reevaluation of inscmd.getCmdName()
13483         (getLists): reindent
13484
13485         * MenuBackend.C (MenuItem): implement parsing of
13486         md_floatlistinsert and md_floatinsert.
13487         (expand::LastFiles): move initalizaton of iterators out of loop,
13488         avoid reevaluation.
13489         (expand::Documents): introduce typdedef vector<string> Strings,
13490         and use it.
13491         (expand::ExportFormats): introduce typedef vector<Format const *>
13492         Formats, and use it.
13493         (expand): implement FloatListInsert and FloatInsert.
13494
13495         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13496         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13497         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13498
13499         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13500         handling.
13501         (Dispatch::LFUN_FLOAT_LIST): implement
13502
13503 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13504
13505         * LaTeX.C (run): Fix problem with --export code.
13506
13507 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13508
13509         * BufferView.[Ch] (workarea): removed.
13510         (getClipboard) new method; wrapper for workarea()->getClipboard()
13511
13512         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13513         bug.
13514
13515         * WorkArea.h (width, height, xpos, ypos): These methods all
13516         returned the dimensions of the work_area sub-area of WorkArea,
13517         resulting in a position error if the WorkArea were resized. Now
13518         return the dimensions of the entire WorkArea.
13519
13520         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13521
13522 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13523
13524         * LaTeX.C (deplog): correct the syntax of regex reg1
13525
13526 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13527
13528         * undo.C: remove !NEW_INSETS cruft
13529
13530 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13531
13532         * text2.C: remove !NEW_INSETS cruft
13533
13534         * text.C: remove !NEW_INSETS cruft
13535
13536         * tabular.C: remove !NEW_INSETS cruft
13537
13538         * spellchecker.C: remove !NEW_INSETS cruft
13539
13540         * lyxtext.h: remove !NEW_INSETS cruft
13541
13542         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13543
13544         * lyxfunc.C: remove !NEW_INSETS cruft
13545
13546         * lyxfind.C: remove !NEW_INSETS cruft
13547
13548         * lyx_cb.C: remove !NEW_INSETS cruft
13549
13550         * figureForm.C: remove  !NEW_INSETS cruft
13551
13552         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13553
13554         * buffer.[Ch]: remove !NEW_INSETS cruft
13555
13556         * ToolbarDefaults.C: remove !NEW_INSETS cruft
13557
13558         * CutAndPaste.C: remove !NEW_INSETS cruft
13559
13560         * BufferView_pimpl.C: remove !NEW_INSETS cruft
13561
13562         * BufferView2.C: remove !NEW_INSETS cruft
13563
13564         * BufferView.h: remove !NEW_INSETS cruft
13565
13566 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13567
13568         * Lsstream.h: include LString.h before the sstream headers to
13569         fix problem with gcc 2.95.3 and lyxstring
13570
13571 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13572
13573         * lyx_main.C: add using directives when needed for C functions
13574         declared in std:: namespace.
13575
13576 2001-04-27  Juergen Vigna  <jug@sad.it>
13577
13578         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13579         (SetHeightOfRow): comment out the update call should not be needed!
13580
13581 2001-04-13  Juergen Vigna  <jug@sad.it>
13582
13583         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13584         (LyXTabular): tried to minimize operator= operations (and realized
13585         hopfully Lars wish).
13586
13587 2001-04-27  Juergen Vigna  <jug@sad.it>
13588
13589         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13590
13591 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13592
13593         * lyxfunc.C (Dispatch): hack to make listof algorithm work
13594
13595         * buffer.C (readInset): hack to make listof algorithm work
13596
13597         * BufferView_pimpl.C: hack to make listof algorithm work
13598
13599 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13600
13601         * LyXAction.C: removed all !NEW_INSETS cruft
13602         (init): moved lfun_item in method
13603
13604         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13605
13606 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13607
13608         * BufferView2.C (theLockingInset): white space.
13609
13610 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13611
13612         * minibuffer.C: include <iostream>
13613
13614         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13615
13616         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13617
13618         * commandtags.h: add LFUN_TRANSPOSE_CHARS
13619
13620         * text.[Ch] (TransposeChars): new method
13621
13622 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13623
13624         * call message directly through LyXView instead of through LyXFunc
13625         * BufferView2.C: adjust
13626         * BufferView_pimpl.C: adjust
13627         * FontLoader.C: adjust
13628         * buffer.C: adjust
13629         * bufferview_funcs.C: adjust
13630         * converter.C: adjust
13631         * figureForm.C: adjust
13632         * importer.C: adjust
13633         * lyx_cb.C: adjust
13634         * lyx_gui_misc.C: adjust
13635         * lyxfunc.C: adjust
13636         * lyxvc.C: adjust
13637         * text2.C: adjust
13638         + more files in subdirs
13639
13640         * lyxparagraph.h (size): move up int file
13641         (GetLayout): ditto
13642
13643         * adjust all uses of Assert to lyx::Assert.
13644
13645         * BufferView2.C (ChangeCitationsIfUnique): adjust for
13646         lyxfunctional in namespace lyx
13647         * layout.C (hasLayout): ditto
13648         (GetLayout): ditto
13649         (GetLayout): ditto
13650         (delete_layout): ditto
13651         (NumberOfClass): ditto
13652         * converter.C (GetFormat): ditto
13653         (GetNumber): ditto
13654         (Add): ditto
13655         (Delete): ditto
13656         (SetViewer): ditto
13657         * bufferlist.C (getFileNames): ditto
13658         (emergencyWriteAll): ditto
13659         (exists): ditto
13660         (getBuffer): ditto
13661         * MenuBackend.C (hasSubmenu): ditto
13662         (hasMenu): ditto
13663         (getMenu): ditto
13664         * BufferView_pimpl.C (getInsetByCode): ditto
13665
13666 2001-04-18  Juergen Vigna  <jug@sad.it>
13667
13668         * vspace.C (asLatexString): fixed the 100% problem.
13669
13670 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13671
13672         * lyxfunc.C (Dispatch):
13673         * minibuffer.C:
13674         * minibuffer.h: add a few std:: qualifiers
13675
13676 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13677
13678         * minibuffer.[Ch]: reimplement so that commands is initiated and
13679         run from lyxfunc, simplified som handling, and made the completion
13680         and history code for complete. wip.
13681
13682         * lyxfunc.C (processKeySym): call message
13683         (miniDispatch): new temporary method
13684         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13685         (LFUN_MESSAGE): implement
13686         (LFUN_MESSAGE_PUSH): implement
13687         (LFUN_MESSAGE_POP): implement
13688         (initMiniBuffer): the initial/defualt minibuffer message.
13689
13690         * lyxfont.[Ch]: inline some more getters
13691
13692         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13693
13694         * lyx_gui_misc.[Ch] (WriteStatus): remove method
13695
13696         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13697         (AutoSave): use LFUN_MESSAGE
13698         (Reconfigure): ditto
13699
13700         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13701
13702         * figureForm.C: use LFUN_MESSAGE
13703
13704         * converter.C (runLaTeX): use LFUN_MESSAGE
13705
13706         * bufferview_funcs.C: use LFUN_MESSAGE
13707         (Melt): ditto
13708         (changeDepth): ditto
13709
13710         * bufferparams.h: use boost::
13711
13712         * bufferlist.h: inherit privately from noncopyable
13713
13714         * bufferlist.C (loadLyXFile): remove some commented code.
13715
13716         * buffer.C (runChktex): use LFUN_MESSAGE
13717
13718         * ShareContainer.h: inherit privately from noncopyable
13719
13720         * ParagraphParameters.[hC] (depth): inline it.
13721
13722         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13723         methods.
13724         (message): new method
13725         (messagePush): ditto
13726         (messagePop): ditto
13727         (show): init minibuffer
13728         (showState): direct call
13729
13730         * LaTeX.[Ch]: inherit privately from noncopyable
13731         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13732         instead of WriteStatus.
13733
13734         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13735
13736         * BufferView_pimpl.C (buffer): don't init minibuffer
13737         (workAreaButtonPress): use LFUN_MESSAGE
13738         (workAreaButtonRelease): ditto
13739         (savePosition): ditto
13740         (restorePosition): ditto
13741         (MenuInsertLyXFile): ditto
13742         (workAreaExpose): don't init minibuffer
13743         (update): remove commented code, simplify
13744
13745         * BufferView2.C (openStuff): use LFUN_MESSAGE
13746         (toggleFloat): ditto
13747         (menuUndo): ditto
13748         (menuRedo): ditto
13749         (copyEnvironment): ditto
13750         (pasteEnvironment): ditto
13751         (copy): ditto
13752         (cut): ditto
13753         (paste): ditto
13754         (gotoInset): ditto
13755         (updateInset): remove some commented code
13756
13757         * lastfiles.h: inherit privately from noncopyable
13758         * layout.h: ditto
13759         * lyx_gui.h: ditto
13760         * lyx_main.h: ditto
13761         * lyxlex.h: ditto
13762         * lyxlex_pimpl.h: ditto
13763
13764         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13765         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13766         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13767
13768         * LyXAction.h: inherit privately from noncopyable, add methods
13769         func_begin, func_end, returning iterators to the func map.
13770
13771         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13772         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13773         (func_begin): new method
13774         (func_end): new method
13775
13776         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13777         and not)
13778         (copySelection): ditto
13779         (pasteSelection): ditto
13780
13781         * BufferView.C: whitespace change
13782         * BufferView.h: inherit privately from noncopyable
13783
13784 2001-04-16  Allan Rae  <rae@lyx.org>
13785
13786         * tabular-old.C (l_getline):
13787         * spellchecker.C (sc_check_word):
13788         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13789         an unrecognised preprocessor directive.  So ensure they're wrapped.
13790
13791 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13792
13793         * src/exporter.C (Export): Give an error message when path to file
13794         contains spaces.
13795
13796 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13797
13798         * LaTeX.C (deplog): Always check that foundfile exists.
13799
13800 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13801
13802         * lyx_main.h:
13803         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13804
13805 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13806
13807         * tabular.[Ch] (getLabelList): implement new method
13808
13809         * minibuffer.h: comment ouf setTiimer
13810
13811         * minibuffer.C (ExecutingCB): constify res
13812         (peek_event): constify s
13813         (Set): constify ntext
13814         (Init): constify nicename
13815
13816         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13817
13818         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13819         (savePosition): use two params to Minibuffer::Set
13820         (restorePosition): ditto
13821
13822 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13823
13824         * lyx_main.C: include language.h
13825
13826         * Makefile.am (lyx_main.o): add language.h
13827
13828 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13829
13830         * exporter.C:
13831         * paragraph.C:
13832         * screen.C:
13833         * tabular.C:
13834         * CutAndPaste.C: include gettext.h
13835
13836         * lyxfont.h: remove old hack with ON and OFF.
13837
13838         * lyxparagraph.h:
13839         * lyxfont.h: do not include language.h...
13840
13841         * BufferView2.C:
13842         * LaTeXFeatures.C:
13843         * Painter.C:
13844         * bufferview_funcs.C:
13845         * font.C:
13846         * lyxfont.C:
13847         * text.C:
13848         * text2.C:
13849         * trans_mgr.C:
13850         * paragraph.C: ... but do it here instead
13851
13852 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13853
13854         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13855
13856         * tabular.C: small reformat
13857
13858         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13859         NEW_INSETS version
13860         (GetChar): ditto
13861         (BreakParagraph): ditto
13862         (SetOnlyLayout): ditto
13863         (SetLayout): ditto
13864
13865         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13866         with one arg less.
13867
13868         * lastfiles.C: removed most using decl, add std:: where needed
13869
13870         * buffer.C: ws changes
13871
13872         * MenuBackend.C (class compare_format): put into anon namespace
13873         (expand): constify label, names, action, action2
13874         (expand):
13875
13876         * text.C (SingleWidth): constify font
13877         (IsBoundary): constify rtl2
13878         (GetVisibleRow): constify ww
13879
13880         * LaTeX.C (deplog): constify logfile
13881
13882         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13883         start_x, end_x
13884         (workAreaExpose): constify widthChange, heightChange
13885
13886         * lyxrow.C (par): moved
13887         (height): moved
13888         (next): moved
13889         * lyxrow.h: as inlines here
13890
13891         * lyxfont.h (shape): moved from lyxfont.C
13892         (emph): moved from lyxfont.C
13893
13894         * lyxfont.C (LyXFont): use initialization list for all
13895         constructors
13896         (shape): move to lyxfont.h as inline
13897         (emph): move to lyxfont.h as inline
13898
13899
13900 2001-04-04  Juergen Vigna  <jug@sad.it>
13901
13902         * vspace.C: had to include stdio.h for use of sscanf
13903
13904 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
13905
13906         * BufferView.h:
13907         * BufferView_pimpl.h: remove xforms cruft. Both classes are
13908         independent of xforms.
13909
13910 2001-04-02  Juergen Vigna  <jug@sad.it>
13911
13912         * spellchecker.C: fixed namespace placing!
13913
13914 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
13915
13916         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13917         the LyXParagraph * is 0.
13918
13919 2001-03-29  Juergen Vigna  <jug@sad.it>
13920
13921         * vspace.C: added support for %, c%, p%, l%.
13922         (stringFromUnit): added helper function.
13923         (asLatexString): changed to give right results for the %-values.
13924
13925         * buffer.C: convert the widthp in a width%.
13926
13927 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
13928
13929         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13930         figureForm.[Ch].
13931
13932         * figureForm.[Ch]: stripped the FD_from_figure manipulation
13933         code out of lux_cb.[Ch], ready for its (imminent?) removal.
13934
13935         * lyx_cb.[Ch]: see above.
13936
13937         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13938         form1.[Ch].
13939
13940         * form1.[Ch]:
13941         * lyx.[Ch]: replaced by figure_form.[Ch].
13942
13943         * lyx_gui.C:
13944         * lyx_gui_misc.C:
13945         * lyxfunc.C: changed headers associated with above changes.
13946
13947 2001-03-27  Juergen Vigna  <jug@sad.it>
13948
13949         * BufferView_pimpl.C: set the temporary cursor right!
13950
13951 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
13952
13953         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13954
13955 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
13956
13957         * LString.h: removed "using std::getline"!
13958
13959         * BufferView_pimpl.C (Dispatch): changes due to changes in
13960         InsetInclude::Params.
13961
13962         * buffer.C (tag_name): removed redundant break statements as they were
13963         producing lots of warnings with my compiler.
13964
13965 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13966
13967         * LString.h: add "using std::getline" when using the real <string>.
13968
13969 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
13970
13971         * buffer.C: removed bitset usage.
13972         PAR_TAG moved to an anonymous name space.
13973         (tag_name): new funtion, also in the anonymous namespace.
13974         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13975         (makeDocBookFile): clean code. Completed transition from string arrays
13976         to string vectors.
13977         (SimpleDocBookOnePar): code clean.
13978
13979 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13980
13981         * tabular.C: add some comments.
13982
13983 2001-03-22  Juergen Vigna  <jug@sad.it>
13984
13985         * buffer.C (parseSingleLyXformat2Token): redone the minipage
13986         compatibility read a bit and fixed bug with minipage in different
13987         depth.
13988
13989 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
13990
13991         * buffer.C (pop_tag): removed.
13992         (push_tag): removed.
13993         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13994         array replaced with vector. Added support for CDATA sections.
13995         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13996         at any nest level.
13997         (makeDocBookFile): XML conformant declaration of CDATA section,
13998         fixed bug related to <emphasis> in the first paragraph char.
13999         (sgmlOpenTag): exclude empty tags.
14000         (sgmlCloseTag): ditto.
14001
14002         * buffer.h (pop_tag): removed.
14003         (push_tag): removed.
14004
14005 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
14006
14007         * language.h (Languages): added size_type and size().
14008
14009 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14010
14011         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14012         response on compability reading of minipages. One probliem is that
14013         the old usage of minipages was «flertydig»
14014
14015         * several files here and in subdirs: don't use static at file
14016         scope use anon namespaces instead.
14017
14018 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
14019
14020         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14021         LaTeX output. This is necessary for Literate document
14022         processing.
14023
14024 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14025
14026         * buffer.C: insert hfill when needed.
14027
14028         * tabular.C (l_getline): use string::erase, small whitespace change.
14029
14030         * BufferView_pimpl.C: try the anon namespace.
14031         * WorkArea.C: ditto
14032
14033 2001-03-16  Juergen Vigna  <jug@sad.it>
14034
14035         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14036         otherwise it won't open options-dialogs.
14037
14038         * buffer.C: honor pextraWidth(p) on converting minipages.
14039
14040         * tabular.C (l_getline): changed the functions to strip trailing \r.
14041
14042 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
14043
14044         * BufferView_pimpl.C:
14045         * minibuffer..C: added "using SigC::slot" declaration.
14046
14047 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14048
14049         * lyxlex_pimpl.h: noncopyable is in namespace boost.
14050
14051         * text2.C: ditto
14052
14053         * text.C: ditto
14054
14055         * paragraph.C: ditto
14056
14057         * lyxtext.h: NO_PEXTRA
14058
14059         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14060
14061         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14062         * ParameterStruct.h: ditto
14063         * ParagraphParameters.h: ditto
14064         * lyxparagraph.h: ditto
14065
14066 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14067
14068         * buffer.C: add compability for minipage alignment.
14069         (latexParagraphs): remove unwanted pextra check.
14070
14071         * several files: remove CXX_WORKING_NAMESPACES
14072
14073         * buffer.C (pop_tag): tie is in namespace boost
14074
14075         * BufferView.h: noncopyable is in namespace boost
14076         * lyxlex.h: ditto
14077         * lyx_main.h: ditto
14078         * lyx_gui.h: ditto
14079         * layout.h: ditto
14080         * lastfiles.h: ditto
14081         * bufferlist.h: ditto
14082         * ShareContainer.h: ditto
14083         * LyXView.h: ditto
14084         * LyXAction.h: ditto
14085         * LaTeX.h: ditto
14086
14087 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14088
14089         * Merging changes from BRANCH_MVC back into HEAD.
14090
14091         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14092
14093 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
14094
14095         * BufferView_pimpl.C: change from intl.C
14096
14097         * combox.h:
14098         * combox.C:
14099         * Makefile.am: move combox.*
14100
14101         * form1.h:
14102         * form1.C:
14103         * lyx_gui.C:
14104         * intl.h:
14105         * intl.C: remove dialog (covered by prefs)
14106
14107 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14108
14109         * lyxfunc.C (Dispatch): removed redundant break statement.
14110
14111 2001-03-14  Juergen Vigna  <jug@sad.it>
14112
14113         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14114
14115 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14116
14117         * buffer.C: add hack to fix compability reading of minipages.
14118
14119 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
14120
14121         * buffer.C (getLists): Cleanup.
14122
14123 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14124
14125         * lyxfont.C (update): don't honor toggleall on font size.
14126
14127 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
14128
14129         * bmtable.c:
14130         * bmtable.h:
14131         * Makefile.am: moved to frontends/xforms/
14132
14133         * lyx_gui_misc.C:
14134         * lyxfunc.C:
14135         * BufferView_pimpl.C: changes for moved mathpanel
14136
14137 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14138
14139         * gettext.h: fix gettext_init() in --disable-nls
14140
14141 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14142
14143         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14144
14145 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
14146
14147         * lyx.C:
14148         * lyx.h: strip external form
14149
14150 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14151
14152         * BufferView_pimpl.C: add comment, destroySplash()
14153
14154 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14155
14156         * BufferView_pimpl.C:
14157         * LyXAction.C:
14158         * buffer.C:
14159         * commandtags.h:
14160         * lyxfunc.C: use re-worked insetinclude
14161
14162 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14163
14164         * buffer.C: add using std::stringstream.
14165
14166         * lyx_cb.C: readd using std::ios.
14167
14168         * buffer.C: add using std::map.
14169
14170         * BufferView_pimpl.C: add using std::vector.
14171
14172         * ShareContainer.h: add std:: to swap.
14173
14174         * buffer.h: add some typedefs
14175         * buffer.C (getLists): use them
14176         (getLists): renamed from getTocList.
14177         add a counter for the different float types and use it in the
14178         generated string.
14179         (getLists): use the same counter for the NEW_INSETS and the "non"
14180         NEW_INSETS
14181
14182         * lyx_cb.h: remove unused items, includes, using etc.
14183
14184         * ShareContainer.h: remove some commented code, add more comments
14185         and "documentation".
14186
14187 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14188
14189         * buffer.C (getTocList): make the list also when NEW_INSETS is
14190         defined.
14191
14192         * buffer.h: remove TocType
14193
14194         * buffer.C (getTocList): change to return a map<string,
14195         vector<TocItem> >, implement for dynamic number of list.
14196
14197         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14198         * text2.C (PasteSelection): adjust
14199         * CutAndPaste.C (pasteSelection): adjust
14200
14201         * FloatList.C (FloatList): update from the new_insets branch.
14202         * Floating.[Ch]: ditto
14203         * LaTeXFeatures.C: ditto
14204         * buffer.C: ditto
14205         * lyxlex_pimpl.C: ditto
14206
14207         * paragraph.C (Last): remove when NEW_INSETS is defined.
14208
14209         * other file: changes because of the above.
14210
14211 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14212
14213         * lyxparagraph.h: rename next to next_, previous to previous_,
14214         make them private for NEW_INSETS. Rename Next() to next(),
14215         Previous() to previous().
14216
14217         * other files: changes because of the above.
14218
14219 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
14220
14221         * BufferView.h:
14222         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14223         problem.
14224
14225 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14226
14227         * main.C (main): pass lyx_localedir to gettext_init().
14228
14229         * gettext.h: remove locale_init and gettext_init macros
14230
14231         * gettext.C (locale_init): new function
14232         (gettext_init): new function
14233
14234         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14235         setlocale().
14236
14237 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
14238
14239         * Moved credits to frontends:
14240         * credits.[Ch]: removed
14241         * credits_form.[Ch]: removed
14242         * lyx_gui_misc.C: remove credits stuff
14243         * Makefile.am:
14244
14245 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14246
14247         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14248
14249         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14250         unneeded destructor.
14251
14252         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14253         a standalone pointer again.
14254
14255         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14256
14257 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
14258
14259         * Makefile.am:
14260         * filedlg.h:
14261         * filedlg.C:
14262         * LyXAction.C:
14263         * ToolbarDefaults.C:
14264         * bufferlist.C:
14265         * commandtags.h:
14266         * form1.C:
14267         * form1.h:
14268         * lyx_cb.C:
14269         * lyx_cb.h:
14270         * lyxfunc.h:
14271         * lyxfunc.C:
14272         * BufferView_pimpl.C: use new file dialog in GUII
14273
14274         * lyx_cb.h:
14275         * lyx_cb.C: remove LayoutsCB to Toolbar
14276
14277 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14278
14279         * ShareContainer.h (get): add std:: qualifier
14280
14281 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14282
14283         * ShareContainer.h: define a proper ShareContainer::value_type
14284         type (and use typename to please compaq cxx)
14285
14286 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14287
14288         * lyxparagraph.h: move serveral local vars to
14289         ParameterStruct/ParagraphParameters., use ShareContainer in
14290         FontTable., make vars in FontTable private and add getter and
14291         setter.
14292
14293         * paragraph.C: changes because of the above.
14294
14295         * lyxfont.h: remove copy constructor and copy assignment. (the
14296         default ones is ok), move number inside FontBits. move inlines to
14297         lyxfont.C
14298
14299         * lyxfont.C: add number to initializaton of statics, move several
14300         inlines here. constify several local vars. some whitespace
14301         cleanup. Dont hide outerscope variables.
14302
14303         * Spacing.h: add two new constructors to match the set methods.
14304
14305         * ShareContainer.h: new file, will perhaps be moved to support
14306
14307         * ParameterStruct.h: new file
14308
14309         * ParagraphParameters.h: new file
14310
14311         * ParagraphParameters.C: new file
14312
14313         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14314         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14315
14316         * BufferView_pimpl.C: ParagraphParameter changes.
14317         * buffer.C: Likewise.
14318         * bufferview_funcs.C: Likewise.
14319         * text.C: Likewise.
14320         * text2.C: Likewise.
14321
14322 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14323
14324         * lyxfind.C (LyXReplace): do not redefine default argument in
14325         implementation.
14326         (IsStringInText): ditto
14327         (SearchForward): ditto
14328         (SearchBackward): ditto
14329
14330 2001-03-06  Juergen Vigna  <jug@sad.it>
14331
14332         * lyxfind.C (IsStringInText): put parentes around expressions.
14333
14334 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
14335
14336         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14337
14338 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
14339
14340         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14341
14342         * stl_string_fwd.h: add comment
14343
14344         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14345
14346         * tabular.h:
14347         * tabular.C: remove unused DocBook methods
14348
14349         * intl.C:
14350         * language.C:
14351         * paragraph.C:
14352         * buffer.C:
14353         killed DO_USE_DEFAULT_LANGUAGE
14354
14355 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14356
14357         * lyx_gui.C: do not include language.h.
14358
14359         * bufferview_funcs.C (ToggleAndShow): do not provide optional
14360         arguments in function implementation.
14361
14362 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14363
14364         * BufferView_pimpl.C: add <ctime>
14365
14366 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14367
14368         * BufferView_pimpl.C: add using std::find_if
14369
14370 2001-02-27  José Matos  <jamatos@fep.up.pt>
14371
14372         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14373         by OnlyPath.
14374
14375 2001-02-11  José Matos  <jamatos@fep.up.pt>
14376
14377         * buffer.C (makeDocBookFile): command styles now have a parameter as
14378         "title" by default.
14379
14380 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
14381
14382         * layout_forms.[Ch]: removed
14383         * lyx_cb.[Ch]: out character
14384         * lyx_gui.C: out character
14385         * lyx_gui_misc.C: out character
14386         * bufferview_funcs.C: : out character,
14387         added toggleall as parameter in ToggleAndShow
14388
14389 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
14390
14391         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14392
14393         * text2.C (SetCurrentFont): Disable number property at boundary.
14394
14395 2001-02-26  Juergen Vigna  <jug@sad.it>
14396
14397         * lyxfunc.C (getStatus): added a string argument override function so
14398         that this is correctly called from LyXFunc::Dispatch if it contains a
14399         do_not_use_argument which is used!
14400         (Dispatch): added check for "custom" export and call appropriate func.
14401
14402 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
14403
14404         * lyxrc.C: Add language_command_local, language_use_babel and
14405         language_global_options.
14406
14407         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14408
14409         * buffer.C (makeLaTeXFile): Use language_use_babel and
14410         language_global_options.
14411
14412 2001-02-23  Juergen Vigna  <jug@sad.it>
14413
14414         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14415         which works with LyXText and putted it inside BufferView. Here now we
14416         only call for that part the BufferView::Dispatch() function.
14417
14418         * BufferView.C (Dispatch): added.
14419
14420         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14421         functions which needs to use a LyXText over from LyXFunc.
14422         (MenuInsertLyXFile): added
14423         (getInsetByCode): added
14424         (moveCursorUpdate): added
14425         (static TEXT): added
14426
14427 2001-02-22  Juergen Vigna  <jug@sad.it>
14428
14429         * BufferView_pimpl.C (update): call a status update to see if LyXText
14430         needs it.
14431
14432 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14433
14434         * vc-backend.C (revert): implement for CVS
14435         (getLog): implement for CVS
14436
14437 2001-02-20  Juergen Vigna  <jug@sad.it>
14438
14439         * text2.C (ClearSelection): added BufferView param for inset_owner call
14440
14441         * lyxfunc.C (TEXT): added this function and use it instead of
14442         directly owner->view()-text of getLyXText().
14443
14444 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
14445
14446         * src/layout_forms.C: out preamble
14447         * src/layout_forms.h: out preamble
14448         * src/lyx_cb.C: out preamble
14449         * src/lyx_cb.h: out preamble
14450         * src/lyx_gui.C: out preamble
14451         * src/lyx_gui_misc.C: out preamble
14452         * src/lyxfunc.C: connect with guii preamble
14453
14454 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
14455
14456         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14457
14458 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
14459
14460         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14461         whether to run bibtex.
14462
14463 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
14464
14465         * Makefile.am (lyx_SOURCES): Remove BackStack.h
14466
14467 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14468
14469         * Makefile.am (lyx_SOURCES): removed bibforms.h
14470
14471         * vspace.h: doxygen
14472
14473         * text.C (GetVisibleRow): make several local vars const
14474
14475         * tabular.C: small cleanup.
14476
14477         * lyxserver.C (callback): use compare instead of strncmp
14478
14479         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14480         inlines to after class or to paragraph.C
14481
14482         * lyxfont.h: remove friend operator!=
14483
14484         * converter.h: move friend bool operator< to non friend and after
14485         class def.
14486
14487         * combox.h: small cleanup
14488
14489         * buffer.h: doxygen, remove unused constructor, move inclas inlies
14490         to inlines after class def.
14491
14492         * buffer.C (pop_tag): use string operations instead of strcmp
14493
14494         * bmtable.c: doxygen, small cleanup
14495
14496         * LaTeX.h: remove friend operator==
14497
14498 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
14499
14500         * screen.C:
14501         * lyxrc.[Ch]:
14502         * lyxfunc.C:
14503         * lyxfont.[Ch]:
14504         * lyx_cb.C:
14505         * intl.[Ch]:
14506         * commandtags.h:
14507         * buffer.C:
14508         * WorkArea.[Ch]:
14509         * LyXAction.C:
14510         * BufferView_pimpl.C:
14511         * BufferView.[Ch]: remove cruft
14512
14513 2001-02-14  Juergen Vigna  <jug@sad.it>
14514
14515         * lyxfunc.C: removed #if 0 unused code
14516
14517         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14518
14519         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14520
14521         * text2.C (SetSelection): added a BufferView * parameter
14522
14523 2001-02-13  Juergen Vigna  <jug@sad.it>
14524
14525         * lyxfunc.C (Dispatch): fixed protected blank problem.
14526         * BufferView2.C (protectedBlank): added LyxText * parameter.
14527
14528         * tabular.C (AppendRow): forgot to set row_info of newly added row.
14529         (AppendColumn): same as above for column_info.
14530
14531         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14532         (moveCursorUpdate): use a LyXText param for support of InsetText.
14533
14534         * BufferView_pimpl.C (doubleClick): added support for InsetText.
14535         (tripleClick): ditto
14536
14537         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14538
14539         * BufferView_pimpl.C (update): added LyXText param to honor insets.
14540
14541         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14542
14543         * text2.C (SetSelection): set correct update status if inset_owner
14544         (ToggleFree): ditto
14545
14546 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
14547
14548         * tabular.C: remove some commented code.
14549
14550 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
14551
14552         * BufferView_pimpl.C: call hideSplash()
14553
14554         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14555
14556         * include_form.h:
14557         * bibforms.h: remove
14558
14559         * lyxfunc.C:
14560         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14561           add LFUN_CHILD_CREATE
14562
14563         * counters.h: fix tiny typo
14564
14565         * lyx_cb.C:
14566         * lyx.h:
14567         * lyx_gui.C:
14568         * lyx.C: move splash to frontends/xforms/
14569
14570         * lyx_gui_misc.C: move Include and Bibform to frontends
14571
14572         * lyxvc.h: clarify comment
14573
14574         * vspace.C: tiny housekeeping
14575
14576 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
14577
14578         * text.C (PrepareToPrint): RTL Fix.
14579
14580         * paragraph.C (GetUChar): New method.
14581         (String):  Use GetUChar.
14582
14583         * buffer.C (asciiParagraph): Use GetUChar.
14584
14585 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
14586
14587         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14588
14589 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
14590
14591         * buffer.h:
14592         * buffer.C: rename to getLogName(), handle
14593           build log / latex log nicely
14594
14595 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14596
14597         * MenuBackend.C:
14598         * MenuBackend.h: remove support for reference menuitem type.
14599
14600 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
14601
14602         * BufferView_pimpl.C: housekeeping
14603         * BufferView_pimpl.h:
14604         * LyXView.h:
14605         * Makefile.am:
14606         * Timeout.C:
14607         * Timeout.h:
14608         * minibuffer.h: move Timeout GUI-I
14609
14610 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
14611
14612         * lyxrc.C (read): Update converters data-structures.
14613
14614 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
14615
14616         * LaTeX.h (operator!=): add operator != for Aux_Info
14617
14618 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
14619
14620         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14621
14622         * LaTeXLog.C: deleted, useful code moved to Buffer
14623
14624         * buffer.h:
14625         * buffer.C: new function getLatexLogName()
14626
14627         * lyx_gui_misc.C:
14628         * lyx_gui.C:
14629         * lyxvc.C:
14630         * lyxvc.h:
14631         * lyxfunc.C: use frontends for LaTeX and VC logs
14632
14633 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14634
14635         * LaTeX.h: yet another std:: that Allan forgot.
14636
14637         * Variables.C (set): renamed from isset(), because this clashes
14638         with some HP-UX macros (grr).
14639
14640 2001-02-06  Allan Rae  <rae@lyx.org>
14641
14642         * LaTeX.h: Another bug fix.  Missing std:: this time.
14643
14644 2001-02-04  Allan Rae  <rae@lyx.org>
14645
14646         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14647         floats problem. I've left it commented out because it's not quite
14648         correct.  It should also test that the current object is a table or
14649         figure inset.  But I haven't gotten around to figuring out how to do
14650         that.  I *think* it'll be something like: "table" == inset.type()
14651
14652         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14653         bool.
14654
14655 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
14656
14657         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14658         all the citation/databases/styles in the auxilary file.
14659         (run): Rerun latex if there was a babel language error.
14660
14661 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
14662
14663         * text.C (Backspace): Preserve the font when changing newline char
14664         with a space.
14665         (BreakParagraph): If the cursor is before a space, delete the space.
14666
14667         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14668
14669 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
14670
14671         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14672         new argument (code).
14673         (ChangeCitationsIfUnique): New method.
14674
14675         * paragraph.C (GetPositionOfInset): Handle bibkey.
14676
14677 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14678
14679         * BufferView_pimpl.h: change type of Position::par_pos to
14680         LyXParagraph::size_type.
14681
14682 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
14683
14684         * BufferView_pimpl.C (savePosition, restorePosition): Write
14685         messages to minibuffer.
14686
14687 2001-01-28  José Matos  <jamatos@fep.up.pt>
14688
14689         * buffer.C (makeDocBookFile): adds support for document language.
14690         A silly restriction on the name of LatexCommand types where removed.
14691         Added support for CDATA sections, allows to chars unescaped, used
14692         among others in code, to avoid escape < and >.
14693
14694 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14695
14696         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14697         saved positions instrad of a stack. Furthermore, a position is
14698         stored using paragraph id/paragraph position.
14699
14700         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14701         Remove LFUN_REF_BACK.
14702
14703 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14704
14705         * converter.C (dvipdfm_options): New method.
14706
14707 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14708
14709         * vspace.C (isValidLength): Fix for empty input string.
14710
14711 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14712
14713         * LyXAction.C (init): change description of LFUN_FIGURE to
14714         "Insert Graphics"
14715
14716 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14717
14718         * LaTeX.C: add using directive
14719
14720 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14721
14722         * MenuBackend.C (expand): Fix the sorting of the formats.
14723
14724 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14725
14726         * lyx_main.C: tiny error message fix
14727
14728 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14729
14730         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14731         calling fl_initialize(). This fixes the problem with ',' as
14732         decimal separator in text files.
14733
14734 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14735
14736         * trans.C (process): Fix the keymap bug.
14737
14738 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
14739
14740         * LaTeX.C (scanAuxFiles): New method. Provides support for
14741         multiple bibliographies (when using the bibtopic/bibunits pacakges).
14742         (scanLogFile) Scan for "run BibTeX" messages.
14743
14744         * buffer.C (makeLaTeXFile): Do not load the ae package when using
14745         OT1 font encoding. Also, load the aecompl package if the ae
14746         package is loaded.
14747
14748         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14749
14750 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14751
14752         * texrow.C (increasePos): turn two error messages into debug
14753         messages.
14754
14755 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
14756
14757         * LaTeX.C (scanAux): Handle the \@input macro.
14758         (runBibTeX): Use scanAux().
14759
14760         * language.C (latex_options_): New field.
14761
14762         * LaTeXFeatures.C (getMacros): Add language macros.
14763
14764         * buffer.C (makeLaTeXFile): Small fix.
14765
14766 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14767
14768         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14769
14770         * text2.C: add a using directive.
14771
14772 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14773
14774         * BufferView2.C:
14775         * lyx_gui_misc.h:
14776         * lyxfr1.C:
14777         * lyxfunc.C: kill LyXBell.
14778
14779 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14780
14781         * text.C (IsBoundary): Remove the error message
14782
14783         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14784
14785         * lyxrc.C (setDefaults): Correct initialization value for
14786         font_norm_type.
14787
14788 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14789
14790         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14791         gotoError().
14792
14793         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14794         and GotoNextNote().
14795
14796         * src/LyXAction.C: Added reference-next.
14797
14798         * text.C (InsertChar): Use contains instead of strchr.
14799
14800         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14801
14802 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14803
14804         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14805         alignment commands (when needed).
14806
14807         * text.C (InsertChar): Add ':' to number separator chars.