]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
6f103e98a4245b6a060f9381c979212fe01d2d4e
[lyx.git] / src / ChangeLog
1 2004-03-22  Angus Leeming  <leeming@lyx.org>
2
3         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
4         Ensure that error_handler is processed once only and that all data
5         is saved before attempting to output any warning messages.
6
7 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
8
9         * tabular.C (TeXRow): crash fix (from Kayvan and André)
10
11 2004-03-19  André Pönitz  <poenitz@gmx.net>
12
13         * cursor.[Ch] (reset): take main text inset as argument
14
15         * BufferView: adjust
16         * BufferView_pimpl.C: adjust
17
18         * paragraph.[Ch]: fix completely broken operator=()
19
20 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
21
22         * LColor.C (getFromLyXName): make sure that the color name is used
23         as lowercase.
24
25 2004-03-17  Angus Leeming  <leeming@lyx.org>
26
27         * lfuns.h:
28         * LyXAction.C (init): remove LFUN_FORKS_KILL.
29
30         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
31         dialog and to kill a forked process.
32
33 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
34
35         * text2.C (setCursorFromCoordinates): fix font problem
36
37 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
38
39         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
40         bogus "rebuild cursor" code
41
42 2004-03-11  André Pönitz  <poenitz@gmx.net>
43
44         * buffer.[Ch]: use InsetText instead of LyXText as container for
45         the main lyx text.
46
47         * dociterator.[Ch]: drop the BufferView * member which is not needed
48         anymore after the change to buffer.C
49
50         * paragraph_funcs.C:
51         * text.C:
52         * text2.C:
53         * BufferView.[Ch]:
54         * BufferView_pimpl.[Ch]:
55         * cursor.[Ch]:
56         * cursor_slice.[Ch]: adjust
57
58         * text3.C: fix bug in mathDispatch
59
60 2004-03-08  André Pönitz  <poenitz@gmx.net>
61
62         * undo.[Ch]: use 'StableDocumentIterator' as base for
63         the Undo struct.
64
65 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
66
67         * LaTeXFeatures.C:
68         * bufferparams.[Ch]: add jurabib support and param.
69
70         * LaTeX.C: add FIXME/comment.
71
72 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
73
74         * buffer.C: increment file format to 230.
75
76 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
77
78         * cursor.C (dispatch): avoid infinite loops
79
80 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
81
82         * rowpainter.C (paintSelection): fix x coordinates
83
84 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
85
86         * text.C (rowBreakPoint): fix breaking before displayed insets
87
88 2004-03-01  André Pönitz  <poenitz@gmx.net>
89
90         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
91
92         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
93
94         * Makefile.am:
95         * BufferView.C:
96         * BufferView_pimpl.C:
97         * buffer.C:
98         * lyxfind.C:
99         * lyxfunc.C:
100         * text.C:
101         * text2.C:
102         * text3.C: adjust
103
104 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
105
106         * lyxtext.h:
107         * text.C:
108         * text2.C:
109         * rowpainter.C:
110         * BufferView_pimpl.C: rename textwidth -> maxwidth,
111         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
112
113 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
114
115         * Bidi.[Ch] (computeTables): const correctness
116         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
117         fill_hfill, fill_label_hfill and x from Row
118         * lyxtext.h: prepareToPrint returns a RowMetrics
119         * rowPainter.C: adjust
120         * text.C (prepareToPrint): use width, not textWidth. adjust
121         (redoParagraphInternal, cursorX): adjust
122         * text2.C (getColumnNearX): adjust
123         (init): put a default value to the top LyXText::width
124
125 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
126
127         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
128
129 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
130
131         * lyxtext.h: add FontIterator class
132
133         * text.C (FontIterator, operator*, operator->, operator++): add
134         (rowBreakPoint, setRowWidth): adjust (fixing a
135         rebreaking bug)
136
137 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
138
139         * BufferView_pimpl.C (workAreaDispatch): allow also
140         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
141
142 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
143
144         * text.C (rowBreakPoint): fix a bug showing with very large insets
145
146 2004-02-25  André Pönitz  <poenitz@gmx.net>
147
148         * text3.C:
149         * cursor.[Ch]: move some mathed specific code to mathed
150
151 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
152
153         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
154         use_tempdir in preferences
155         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
156         tempfile creation
157         * lyx_main.C: ensure that tempdir is valid
158         * lyxlex.h: correct typo
159         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
160         * paragraph.[Ch] (isMultiLingual): make const
161         * cursor.[Ch] (openable): make const
162
163 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
164
165         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
166
167 2004-02-20  André Pönitz  <poenitz@gmx.net>
168
169         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
170
171         * cursor.[Ch]: prepare for localized getStatus()
172
173         * lyxtext.h:
174         * tabular.C:
175         * text.C:
176         * text2.C:
177         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
178
179 2004-02-20  André Pönitz  <poenitz@gmx.net>
180
181         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
182
183 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
184
185         * text2.C (setCursorFromCoordinates): switch to absolute coords
186         (cursorUp): adjust
187         (cursorDown): adjust
188         * text3.C (dispatch): adjust
189
190 2004-02-16  André Pönitz  <poenitz@gmx.net>
191
192         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
193           insets/ChangeLog)
194
195         * cursor_slice.[Ch]: remove unneeded acessor function
196
197         * lyxtext.h: rename rtl() to isRTL()
198
199         * rowpainter.C:
200         * tabular.C:
201         * text.C:
202         * text2.C:
203         * text3.C: adjust
204
205 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
206
207         * rowpainter.C (paintSelection): coord fix
208
209 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
210
211         * Spacing.C: compile fix
212
213 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
214
215         * cursor.C (dispatch): restore current_ before returning
216
217 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
218
219         * text2.C (cursorUp, cursorDown): fix coords
220         (moveUp): fix crash
221
222 2004-02-12  André Pönitz  <poenitz@gmx.net>
223
224         * lyxtext.h:
225         * text.C:
226         * text2.C:
227         * text3.C: add LCursor & parameter to most cursor movement functions
228           remove usage of LyXText::cursorRow() and cursorPar()
229
230         * cursor.[Ch]: add textRow() needed members
231
232         * BufferView.C:
233         * BufferView_pimpl.C:
234         * paragraph.[Ch]:
235         * BufferView.C:
236         * BufferView_pimpl.C: adjust
237
238 2004-02-11  André Pönitz  <poenitz@gmx.net>
239
240         * lyxfunc.C:
241         * BufferView.[Ch]:
242         * BufferView_pimpl.C: shift undo/redo handling
243
244         * cursor.[Ch]: fix mathed crash
245
246         * lyxfind.C:
247         * lyxtext.h: move selectionAsText to LCursor
248
249         * output_latex.C:
250         * paragraph.C:
251         * text.C:
252         * text2.C:
253         * text3.C: adjust
254
255         * rowpainter.C: fix excessive drawing
256
257 2004-02-06  André Pönitz  <poenitz@gmx.net>
258
259         * BufferView.[Ch]:
260         * BufferView_pimpl.[Ch]:
261         * text3.C: move some text specific LFUN handling
262
263 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
264
265         * text3.C (checkInsetHit): adjust coords
266         * text2.C (getColumnNearX): adjust coords
267         (edit): adjust coords
268         * text.C (getRowNearY): add two asserts
269
270 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
271
272         * converter.C:
273         * format.C: add using std::distance to compile on gcc 2.95/stlport
274
275 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
276
277         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
278
279 2004-02-04  André Pönitz  <poenitz@gmx.net>
280
281         * BufferView.[Ch] (insertInset):
282         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
283
284         * text2.C:
285         * text3.C: adjust
286
287 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
288
289         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
290         on the default clause of the switch
291         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
292         wasn't catched by LCursor::dispatch
293
294 2004-02-03  André Pönitz  <poenitz@gmx.net>
295
296         * BufferView.C:
297         * cursor.[Ch]: some additional asserts
298
299         * undo.[Ch]: remove LyXText dependency in interface
300
301         * lyxfunc.C: adjust
302
303         * lyxtext.h (firstPar, lastPar): remove dead functions
304
305         * text.C:
306         * text2.C:
307         * text3.C:
308         * paragraph.[Ch]: adjust
309
310 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
311
312         * lyxfind.C (find): fix argument order in call to ::find
313
314 2004-02-02  André Pönitz  <poenitz@gmx.net>
315
316         * cursor.[Ch]: remove direct access to anchor
317
318         * text.C: remove findText() hack
319
320 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
321
322         * iterators.[Ch] (lockPath): remove in favour of...
323         * BufferView.[Ch] (setCursor): this addition
324         * BufferView.C (putSelectionAt): adjust
325         * undo.C (performUndoOrRedo): adjust
326         * lyxfunc.C (dispatch): adjust
327
328 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
329
330         * iterators.C (lockPath): add a missing slice
331         * undo.C (performUndoOrRedo): remove redundant positioning code
332
333 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
334
335         * vc-backend.C (scanMaster): ";" -> ';'
336
337 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
338
339         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
340         std::binary_function
341
342         * lyxtextclass.C (compare_name): rename to...
343         (LayoutNamesEqual): ...this
344
345         * lyxlex_pimpl.C (compare_tags): inherit from
346         std::binary_function, put back into anon namespace
347
348         * lyxfind.C (MatchString): inherig from std::binary_function
349         (findChange): use empty() istead of !size()
350
351         * format.C (FormatNamesEqual): new functor
352         (getFormat): use it
353         (getNumber): use it
354         (add): use it
355         (erase): use it
356         (setViewer): use it
357
358         * converter.C (compare_Converter): rename to...
359         (ConverterEqual): ...this, and fixup a bit.
360         (getConverter): use it, and make function const
361         (getNumber): use it, and make function const
362         (add): use it
363         (erase): use it:
364
365         * bufferlist.C: add using boost::bind
366
367         * MenuBackend.C (MenuNamesEqual): new functor
368         (hasMenu): use it, and make function const
369         (hasSubmenu): use nested bind to get rid of compare_memfun.
370
371 2004-01-30  André Pönitz  <poenitz@gmx.net>
372
373         * BufferView_pimpl.C:
374         * cursor.C:
375         * cursor.h:
376         * cursor_slice.[Ch]:
377         * lyxfunc.C:
378         * lyxtext.h:
379         * paragraph_funcs.C:
380         * paragraph_funcs.h:
381         * rowpainter.C:
382         * text.C:
383         * text2.C:
384         * text3.C: move some of the edit(x,y) handling to the insets
385         some coordinate changes.
386
387 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
388
389         * text.C: add using statements for std::advance and std::distance
390
391         * paragraph.C: add using statement for std::distance
392
393         * lyxfind.C: add using statement for std::advance
394
395         * cursor.C (region): remove std:: from swap
396         (openable): use nucleus in stead of operator->
397
398         * BufferView.C: add using statements for std::distance and std::swap
399
400 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
401
402         * iterators.C: Remove the pimple, move the needed structures to
403         the header file. Create accessor for the positions stack.
404         (asPosIterator): remove function
405
406         * PosIterator.C (PosIterator): move constructors to top of file
407         (PosIterator): reimplement the constructor taking a ParIterator in
408         terms of setFrom.
409         (setFrom): new function
410         (operator!=): inline it
411
412 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
413
414         * lyxfind.C (replaceAll): use std::advance
415
416         * iterators.h: inherit from std::iterator.
417
418         * PosIterator.C (advance, distance): remove
419         * PosIterator.h: interit from std::iterator.
420
421 2004-01-26  André Pönitz  <poenitz@gmx.net>
422
423         * BufferView.[Ch]:
424         * BufferView_pimpl.[Ch]:
425         * InsetList.[Ch]:
426         * PosIterator.[Ch]:
427         * buffer.h:
428         * bufferview_funcs.C:
429         * cursor.[Ch]:
430         * cursor_slice.h:
431         * factory.[Ch]:
432         * iterators.[Ch]:
433         * lyxfind.C:
434         * lyxfunc.C:
435         * lyxtext.h:
436         * output_docbook.C:
437         * output_latex.C:
438         * output_linuxdoc.C:
439         * output_plaintext.C:
440         * paragraph.[Ch]:
441         * paragraph_funcs.[Ch]:
442         * paragraph_pimpl.[Ch]:
443         * rowpainter.C:
444         * tabular.C:
445         * tabular.h:
446         * text.C:
447         * text2.C:
448         * text3.C: more IU:  dumps most of the rest of the mathcursor
449     implementation into cursor.[Ch]; "globalize" a bit of it.
450
451 2004-01-25  Angus Leeming  <leeming@lyx.org>
452
453         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
454
455 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
456
457         * LaTeXFeatures.h: add nice_ and nice() const
458         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
459
460 2004-01-20  André Pönitz  <poenitz@gmx.net>
461
462         * BufferView.[Ch]:
463         * BufferView_pimpl.C:
464         * PosIterator.C:
465         * bufferview_funcs.C:
466         * cursor.[Ch]:
467         * cursor_slice.[Ch]:
468         * factory.C:
469         * iterators.C:
470         * lyx_cb.C:
471         * lyxfind.C:
472         * lyxfunc.C:
473         * lyxtext.h:
474         * rowpainter.C:
475         * text.C:
476         * text2.C:
477         * text3.C:
478         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
479           LCursor and mathcursor parts to LCursor and InsetBase.
480
481 2004-01-15  André Pönitz  <poenitz@gmx.net>
482
483         * cursor_slice.[Ch]: add a few covienience functions
484
485         * funcrequest.[Ch]: remove BufferView * member
486
487         * BufferView_pimpl.C:
488         * cursor.C:
489         * factory.[Ch]:
490         * lyxfind.[Ch]:
491         * lyxfunc.C:
492         * lyxtext.h:
493         * text3.C:
494         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
495
496 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
497
498         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
499         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
500
501 2004-01-13  André Pönitz  <poenitz@gmx.net>
502
503         * textcursor.[Ch]:
504         * lyxtext.h: hide cursor and selection anchor behind accessor function
505
506         * BufferView.C:
507         * BufferView_pimpl.[Ch]:
508         * PosIterator.C:
509         * bufferview_funcs.C:
510         * cursor.h:
511         * lyxfind.C:
512         * lyxfunc.C:
513         * text.C:
514         * text2.C:
515         * text3.C:
516         * undo.C: adjust
517
518         * cursor.h:
519         * cursor_slice.[Ch]: some integer type changes for inset unification
520
521         * lyxcursor.[hC]: remove, it's CursorSlice now.
522
523         * Makefile.am:
524         * BufferView_pimpl.[Ch]:
525         * bufferview_funcs.C:
526         * cursor_slice.C:
527         * lyxtext.h:
528         * text.C:
529         * text2.C:
530         * text3.C:
531         * textcursor.[Ch]: adjust
532
533 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
534
535         * text2.C (undoSpan): add and use
536         * text.C (breakParagraph): use undoSpan (fix bug 578)
537         * lyxtext.h: adjust
538
539 2004-01-08  Angus Leeming  <leeming@lyx.org>
540
541         * BufferView_pimpl.C (MenuInsertLyXFile):
542         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
543         * lyxfunc.C (menuNew, open, doImport):
544         FileFilterList change to the FileDialog open and save functions.
545
546 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
547
548         * ShareContainer.h: make isEqual and isUnique adaptable
549
550         * CutAndPaste.C: make resetOwnerAndChanges adaptable
551
552 2004-01-07  Angus Leeming  <leeming@lyx.org>
553
554         * LyXAction.C:
555         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
556
557         * BufferView_pimpl.C (dispatch): act on these LFUNs.
558
559         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
560         functions replacing find, replace and replaceAll.
561
562         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
563         LFUN_WORDFIND(FORWARD|BACKWARD).
564
565 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
566
567         * text.C (breakParagraph): remove an outdated #warning
568
569 2004-01-07  André Pönitz  <poenitz@gmx.net>
570
571         * lyxfind.C: somewhat clearer logic
572
573         * text.C: prevent crash in cursorX on unitialized row cache
574
575 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
576
577         * lyxcursor.[Ch] (operator>): add
578         * textcursor.C (selStart, selEnd): use std::min and std::max
579
580 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
581
582         * Chktex.C: include boost/format.hpp
583
584 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
585
586         * InsetList.C: replace functor MathcIt with adaptable functor
587         InsetTablePosLess
588         (insetIterator): modify accordingly
589
590         * BranchList.h: move the BranchNamesEqual functor here from...
591         * BranchList.C: ... to here
592
593         * BranchList.C: new BranchListEqual fuctor, use it. Remove
594         SameName and match.
595         (add): replace a finding loop with std::find_if.
596
597 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
598
599         * output_docbook.C: moving LatexParam functionality into
600         .layout files
601
602 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
603
604         * buffer.C: increment format to 229.
605
606 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
607
608         * LaTeXFeatures.C:
609         * lyx_sty.[Ch]: remove minipageindent_def
610
611         * LyXAction.C:
612         * factory.C:
613         * lfuns.h:
614         * lyxfunc.C:
615         * text3.C: remove LFUN_INSET_MINIPAGE
616
617 2003-12-28  Angus Leeming  <leeming@lyx.org>
618
619         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
620
621 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
622
623         * text2.C (setParagraph): fix off-by-one crash
624
625 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
626
627         * output_docbook.C: header stuff for AGU
628
629 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
630
631         * text2.C (redoCursor): remove
632         * text.C:
633         * text3.C:
634         * BufferView_pimpl.C: remove calls to redoCursor and
635         setCursor(cursor.par(), cursor.pos()) all around
636
637 2003-12-15  Angus Leeming  <leeming@lyx.org>
638
639         * buffer.C: up the format to 228.
640
641 2003-12-15  André Pönitz  <poenitz@gmx.net>
642
643         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
644         slices
645
646         * Makefile.am:
647
648         * BufferView_pimpl.C:
649         * cursor.[Ch]:
650         * lyxcursor.[Ch]:
651         * rowpainter.[Ch]:
652         * lyxtext.h:
653         * text.C:
654         * text2.C:
655         * text3.C: adjust
656
657 2003-12-15  Angus Leeming  <leeming@lyx.org>
658
659         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
660         than getFromGUIName to manipulate the color.
661
662 2003-12-14  Angus Leeming  <leeming@lyx.org>
663
664         * BranchList.[Ch]: minimize the API.
665         (Branch::getBranch, getColor): now return a 'const &'.
666         (Branch::setSelected) now returns a bool set to true if the
667         selection status changes.
668         (BranchList::clear, size, getColor, setColor, setSelected,
669         allBranches, allSelected, separator): removed.
670         (BranchList::find): new functions, returning the Branch with
671         the given name.
672         (BranchList::add, remove): return a bool indicating that
673         the operation was successful.
674
675         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
676         new InsetBranch::isBranchSlected member function.
677
678         * LColor.[Ch]: mimimize the API.
679         (fill): renamed as addColor and made private.
680         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
681         versions of these functions taking a string arg have been removed.
682
683         * bufferparams.C (readToken):
684         * lyxfunc.C (dispatch):
685         * lyxrc.C (read): changes due to the altered BranchList and
686         LColor APIs.
687
688         * factory.C (createInset, readInset): changes due to altered
689         InsetBranch c-tor.
690
691 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
692
693         * factory.C:
694         * lyxfunc.C: remove insetminipage. "minipage-insert"
695         now produces a frameless minipage box inset.
696
697 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
698
699         * textcursor.[Ch] (selStart,selEnd): add new methods
700         remove selection::start, end, use LyXCursor::operator<
701         * lyxcursor.[Ch] (operator<): add
702         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
703         * BufferView.[Ch] (unsetXSel): add
704         * text2.C (clearSelection): use unsetXSel,adjust
705         * text.C: adjust
706         * text3.C: adjust
707         * rowpainter.C: adjust
708         * bufferview_funcs.C (put_selection_at): adjust
709
710 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
711
712         * BufferView_pimpl.C: small coord. correction
713
714 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
715
716         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
717         dragging over the splash screen.
718
719 2003-12-11  Angus Leeming  <leeming@lyx.org>
720
721         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
722         as it is now handled in LyXText::dispatch.
723
724         * text3.C (doInsertInset): remove a level of nesting.
725
726 2003-12-11  Angus Leeming  <leeming@lyx.org>
727
728         * factory.C (createInset): changes due to the changed interface to
729         InsetCommandMailer::string2params.
730
731 2003-12-10  Angus Leeming  <leeming@lyx.org>
732
733         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
734         'dialog-show-new-inset <inset name>'
735
736 2003-12-10  Angus Leeming  <leeming@lyx.org>
737
738         * buffer.C: up the format to 227.
739
740         * factory.C: the box inset is now identified simply by 'Box'.
741
742 2003-12-10  Angus Leeming  <leeming@lyx.org>
743
744         * buffer.C: up the format to 226.
745
746         * factory.C: the note inset is now identified simply by 'Note'.
747
748 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
749
750         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
751         when a pit is enough. Standarize a couple of loops.
752
753 2003-12-05  Angus Leeming  <leeming@lyx.org>
754
755         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
756         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
757         data to the re-worked "log" dialog.
758
759 2003-12-03  André Pönitz  <poenitz@gmx.net>
760
761         * PosIterator.C:
762         * iterators.C:
763         * lyxtext.h:
764         * output_latex.C:
765         * paragraph_funcs.C:
766         * text.C:
767         * text2.C: use Inset::getText instead of Inset::getParagraph
768
769 2003-12-03  André Pönitz  <poenitz@gmx.net>
770
771         * buffer.[Ch]:
772         * lyxtext.h:
773         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
774         InsetText::read() as LyXText::read()
775
776 2003-12-02  Angus Leeming  <leeming@lyx.org>
777
778         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
779         type. Add a comment in the implementation that the function uses
780         the stream's bad() function rather than fail() as the std::streams
781         would do.
782
783 2003-12-02  André Pönitz  <poenitz@gmx.net>
784
785         * lyxlex.[Ch]: make interface more similar to std::stream
786
787         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
788
789 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
790
791         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
792
793 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
794
795         * vspace.[Ch]: remove VSpace::NONE
796
797 2003-12-01  André Pönitz  <poenitz@gmx.net>
798
799         * buffer.[Ch]:
800         * lyxtext.h: move ParagraphList member to LyXText
801         rename LyXText::ownerParagraphs to LyXText::paragraph
802
803         * CutAndPaste.C:
804         * bufferview_funcs.C:
805         * iterators.[Ch]:
806         * lyx_cb.C:
807         * paragraph.C:
808         * rowpainter.C:
809         * tabular.C:
810         * text.C:
811         * text2.C:
812         * text3.C: adjust
813
814         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
815
816         * undo.C: fix cursor positioning
817
818 2003-12-01  John Levon  <levon@movementarian.org>
819
820         * BufferView_pimpl.C: fix a crash on exit with
821         a buffer open
822
823 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
824
825         * BranchList.C: fix setSelected() method.
826
827 2003-11-28  André Pönitz  <poenitz@gmx.net>
828
829         * ParagraphParameters.[Ch]:
830         * ParameterStruct.h: remove space above/below from Paragraph to
831          InsetVSpace
832
833         * BufferView_pimpl.C:
834         * factory.C:
835         * lyxfunc.C:
836         * lyxtext.h:
837         * output_latex.C:
838         * paragraph.C:
839         * paragraph_funcs.C:
840         * rowpainter.[Ch]:
841         * text.C:
842         * text2.C:
843         * text3.C: adjust
844
845 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
846
847         * factory.C: Syntax change for CharStyles
848
849 2003-11-28  André Pönitz  <poenitz@gmx.net>
850
851         * BufferView.[Ch]:
852         * BufferView.[Ch]:
853         * buffer.[Ch]:
854         * buffer.[Ch]: move LyXText member
855
856 2003-11-28  André Pönitz  <poenitz@gmx.net>
857
858         * BufferView.[Ch]: make LyXText * text a private member
859
860         * BufferView_pimpl.C:
861         * cursor.C:
862         * iterators.C:
863         * lyx_cb.C:
864         * lyxfind.C:
865         * lyxtext.h:
866         * rowpainter.[Ch]:
867         * text.C:
868         * text2.C:
869         * undo.C: adjust
870
871         * output_plaintext.C: cleanup
872
873 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
874
875         * buffer.C:
876         * lyxtextclass.[Ch]: parametrize SGML document header
877
878 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
879
880         * converter.[Ch]:
881         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
882         getFlavor().
883
884 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
885
886         * text2.C (setFont): rework using PosIterator (no more recursive)
887         (setCharFont): no more needed
888         (setLayout): no more selection cursors fiddling (done by redoCursor)
889         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
890         destroy remaining ones)
891
892 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
893
894         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
895         * lyxtext.h: ditto
896         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
897         selection cursors
898         * lyxfunc.C: adjust
899         * text3.C: adjust + re-allow multi par depth changes
900         * textcursor.C: simplify a bit
901
902 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
903
904         * src/buffer.C:
905         * src/lyxlayout.C:
906         * src/lyxlayout.h:
907         * src/lyxtext.h:
908         * src/output_docbook.C:
909         * src/output_latex.C:
910         * src/paragraph.C:
911         * src/paragraph.h:
912         * src/sgml.C:
913         * src/sgml.h:
914         * src/text2.C: Introducing a number of tags parametrizing various
915         XML formats that we may want to support
916
917 2003-11-25  André Pönitz  <poenitz@gmx.net>
918
919         * InsetList.[Ch] (begein, end): inline as suggested by profiler
920
921         * lyxtext.h (leftMargin/rightMargin): simplify interface
922
923         * rowpainter.C:
924         * text.C:
925         * text2.C:
926         * text3.C: adjust
927
928 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
929
930         * lyxfunc.C (dispatch): propogate the bibtex databases from the
931         master file to any child files. Fixes bug 546.
932
933 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
934
935         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
936
937 2003-11-24  André Pönitz  <poenitz@gmx.net>
938
939         * rowpainter.C: simplification
940
941         * text2.C (updateCounters): remove call to redoParagraph on
942         changed labels as this is far too expensive.
943
944 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
945
946         * converter.C (convert): fix a crash: this function gets
947         called with buffer == 0 from importer code.
948
949 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
950
951         * text3.C (cursorPrevious): make sure that we do not compare
952         iterators form different containers.
953         (cursorNext): ditto
954
955         * rowpainter.C (paintSelection): make sure that we do not compare
956         iterators from different containers.
957
958         * text3.C (dispatch): [PRIOR] make sure that we do not compare
959         iterators from different ParagraphList containers.
960         [NEXT] ditto
961
962         * text2.C (LyXText): change order of initialization slightly
963         (operator=): new function. copy all variables except cache_par_
964         (moveUp): make sure that we do not compare iterators from
965         different ParagraphList constainers.
966         (moveDown): ditto
967
968         * text.C (firstPar): new function
969         (lastPar): new function
970         (endPar): new function
971
972         * lyxtext.h: move things around and group public functions, public
973         variables, private functions, private variables
974
975 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
976
977         * factory.C: change call to InsetERT constructor to avoid
978         additional invocation of method status
979         * text2.C (toggleInset): remove redundant update() call
980         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
981         instead of a Bufferview pointer
982
983 2003-11-21  André Pönitz  <poenitz@gmx.net>
984
985         * rowpainter.C: simplification
986
987 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
988
989         * text3.C (dispatch): make possible to extend a word/row selection
990         with the mouse
991
992 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
993
994         * lyxtext.h: x0_,y0_ -> xo_,yo_
995         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
996         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
997         * rowpainter.C (paintRows): paint full paragraphs
998
999 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1000
1001         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1002         screen coordinates)
1003
1004 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1005
1006         * lyxtext.h: add x0_, y0_
1007         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1008         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1009
1010 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
1011
1012         * text2.C (setCursorIntern): move the x_target update here *
1013         * text3.C: change some bv() to true/false in calls to
1014         cursorUp/Down/Right/Left
1015         * cursor.C: use helper function.
1016
1017 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1018
1019         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1020         * paragraph_funcs.[Ch]: correct comment
1021         * rowpainter.C: do not paint selections away from bv->cursor()
1022         Fix a long standing selection painting bug.
1023         * text3.C: generalize mouse-selection code to LyXTexts other that
1024         top one
1025         * textcursor.C: do not use y coords if we can use par offsets
1026
1027 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1028
1029         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1030         cursor position after e.g. inset insert)
1031
1032 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
1033
1034         * lyxfind.C (replace): adjust to locking removal + some
1035         code simplification
1036
1037 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
1038
1039         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1040         of the path
1041
1042 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
1043
1044         * lyxlayout.[Ch]:
1045         * output_docbook.C: XML sanitation: new layout
1046         parameters InnerTag and CommandDepth
1047
1048 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
1049
1050         * BufferView_pimpl.C:
1051         * factory.C:
1052         * text3.C: Fix the insertion and modification of button-style
1053         insets
1054
1055 2003-11-13  André Pönitz  <poenitz@gmx.net>
1056
1057         * InsetList.[Ch]: remove deleteLyXText
1058
1059         * paragraph.[Ch]: cache beginOfBody position
1060
1061         * Bidi.C:
1062         * text.C:
1063         * text2.C:
1064         * text3.C: remove superfluous update() calls
1065
1066         * vspace.C: cleanup
1067
1068 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
1069
1070         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1071         * BufferView.C (fitLockedInsetCursor): remove
1072         * cursor.[Ch] (getDim): add
1073         * text.C (getRowNearY): add faster version
1074         * text3.C: remove some update calls
1075
1076 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
1077
1078         * LaTeXFeatures.C:
1079         * LyXAction.C:
1080         * MenuBackend.C:
1081         * MenuBackend.h:
1082         * dispatchresult.h:
1083         * factory.C:
1084         * lfuns.h:
1085         * lyxfunc.C:
1086         * lyxtextclass.C:
1087         * lyxtextclass.h:
1088         * text3.C: The Character Style /XML short element patch.
1089
1090 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
1091
1092         * text3.C:
1093         * factory.C: Small step to solving 'unable to insert some insets'
1094         problem
1095
1096 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1097
1098         * cursor.[Ch] (updatePos): new function for updating the y
1099         position of the tip inset
1100         * bufferview_funcs.C (put_selection_at):
1101         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1102
1103 2003-11-11  André Pönitz  <poenitz@gmx.net>
1104
1105         * text.C: remove big comment on invalid Paragraph pointers as it is
1106         not valid anymore
1107
1108 2003-11-11  André Pönitz  <poenitz@gmx.net>
1109
1110         * text_funcs.[Ch]: merge with ...
1111
1112         * text.C: ... this
1113
1114         * lyxtext.h:
1115         * text2.C:
1116         * text3.C: adjust
1117
1118         * Makefile.am: remove text_funcs.[Ch]
1119
1120 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
1121
1122         * cursor.C (getPos): return absolute cached y coord
1123
1124         * BufferView_pimpl.C (fitCursor): new simplistic code
1125         (workAreaDispatch): add a fitCursor call
1126
1127 2003-11-10  André Pönitz  <poenitz@gmx.net>
1128
1129         * BufferView.[Ch]:
1130         * BufferView_pimpl.[Ch]: merge update() and updateInset()
1131
1132 2003-11-10  André Pönitz  <poenitz@gmx.net>
1133
1134         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1135         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1136         indicate that the cursor needs to leave an inset
1137
1138         * lyxtext.h: remove inset locking
1139
1140         * cursor.[Ch]: re-implement functionality provided by inset locking
1141
1142         * BufferView.[Ch]:
1143         * BufferView_pimpl.[Ch]:
1144         * LyXAction.C:
1145         * bufferview_funcs.[Ch]:
1146         * factory.C:
1147         * funcrequest.[Ch]:
1148         * iterators.C:
1149         * lyx_cb.C:
1150         * lyxfind.C:
1151         * lyxfunc.C:
1152         * text.C:
1153         * text2.C:
1154         * text3.C:
1155         * undo.C: adjust
1156
1157 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
1158
1159         * PosIterator.[Ch]: replace the stack with a vector, add inset
1160         accesor
1161         * iterators.[C]: adjust
1162
1163 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1164
1165         * lyxfind.C (replaceAll): mark the buffer dirty if something was
1166         replaced
1167         * paragraph_funcs.C (readParToken): put the correct id in the
1168         error item, not the id of the top paragraph
1169
1170 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1171
1172         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1173         * bufferview_funcs.C (put_selection_at): use the above
1174
1175 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1176
1177         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1178
1179 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1180
1181         * output_linuxdoc.h:
1182         * output_plaintext.h:
1183         * output.h:
1184         * output_docbook.h: add #include statements
1185
1186 2003-11-05  José Matos  <jamatos@lyx.org>
1187
1188         * output_docbook.[Ch]:
1189         * output_latex.[Ch]:
1190         * output_linuxdoc.[Ch]:
1191         * output_plaintext.[Ch]: New files for output formats.
1192         * output.[Ch]: New file for helper functions.
1193
1194         * buffer.[Ch]:
1195         * paragraph_funcs.[Ch]: output functions moved to new files.
1196
1197         * outputparams.h: rename of latexrunparams.h
1198
1199         * LaTeX.[Ch]:
1200         * buffer.[Ch]:
1201         * bufferlist.[Ch]:
1202         * converter.[Ch]:
1203         * exporter.C:
1204         * paragraph.[Ch]:
1205         * paragraph_funcs.[Ch]:
1206         * paragraph_pimpl.[Ch]:
1207         * tabular.[Ch]: rename ascii to plaintext
1208         and LatexRunParams to OutputParams.
1209
1210 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1211
1212         * iterators.[Ch] (text): require bv argument
1213         * undo.C (recordUndo):
1214         * lyxfunc.C (dispatch):
1215         * bufferview_funcs.C (put_selection_at): adjust
1216
1217 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
1218
1219         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1220
1221 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1222
1223         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1224         nestings
1225
1226 2003-11-04  André Pönitz  <poenitz@gmx.net>
1227
1228         * cursor.[Ch]: restructure
1229
1230         * BufferView.[Ch]:
1231         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1232
1233         * iterators.[Ch] (asCursor): remove
1234
1235         * lfuns.h: remove LFUN_INSET_EDIT
1236
1237         * lyxfunc.C:
1238         * tabular.C:
1239         * text.C:
1240         * text2.C:
1241         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1242
1243 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1244
1245         * lyxfind.[Ch]: complete overhaul
1246         * BufferView_pimpl.C:
1247         * lyxfunc.C: adjust
1248         * paragraph.[Ch] (insert): add
1249
1250 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1251
1252         * BufferView.[Ch]:
1253         * lyxtext.h:
1254         * text.C: remove dead spellcheck code
1255
1256 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1257
1258         * dispatchresult.h: add a val setter
1259
1260         * cursor.C (dispatch): use a tempvar for data_[i]
1261
1262 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1263
1264         * PosIterator.[Ch]: compile fix
1265
1266 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1267
1268         * text.C (cursorPar): deactivate the cursor cache
1269
1270 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1271
1272         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1273
1274 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1275
1276         * text3.C (dispatch): adjust for new DisptchResult semantics.
1277
1278         * lyxfunc.C (dispatch): handle update when return from
1279         Cursor::dispatch, adjust for new DispatchResult semantics.
1280
1281         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1282         DispatchResult(true) mean to not update. Add class functions for
1283         setting dispatched and update, as well as reading.
1284
1285         * cursor.C (dispatch): don't handle update here
1286
1287 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1288
1289         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1290         * trans_mgr.C: adjust
1291
1292         * paragraph_funcs.C (readParToken): exception safety
1293
1294         * lyxvc.h: store the vcs pointer in a scoped_ptr
1295         * lyxvc.C: adjust
1296
1297         * lyxsocket.C (serverCallback): exception safety
1298
1299         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1300
1301         * ispell.C (clone): make it return a auto_ptr
1302
1303         * factory.C (createInset): exception safety
1304         (readInset): exception safety
1305
1306         * bufferlist.C (newBuffer): exception safety
1307
1308         * Thesaurus.C (Thesaurus): use initialization for aik_
1309
1310         * MenuBackend.C (expandToc): exception safety.
1311
1312 2003-11-03  André Pönitz  <poenitz@gmx.net>
1313
1314         * buffer.C:
1315         * buffer.h:
1316         * bufferview_funcs.C: remove getInsetFromId()
1317
1318         * lyxcursor.[Ch]:
1319         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1320
1321         * lyxfunc.C:
1322         * text2.C:
1323         * text3.C: adjust
1324
1325 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1326
1327         * PosIterator.C (distance, advance): new
1328         * bufferview_funcs.[Ch] (put_selection_at): new
1329         * iterators.[Ch] (lockPath): new
1330
1331 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
1332
1333         * iterators.[Ch] (asPosIterator): added
1334         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1335         * PosIterator.[Ch]: added
1336
1337 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1338
1339         * text3.C:
1340         * lyxfunc.C:
1341         * cursor.C (dispatch):
1342         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1343
1344         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1345         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1346         contructor, add a class function dispatched. Remove operator>=
1347
1348 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1349
1350         * debug.C: only use the default constructor for debugstream
1351         (lyxerr) here.
1352
1353         * main.C (main): include debug.h and setup the lyxerr streambuf
1354         here.
1355
1356 2003-10-31  José Matos  <jamatos@lyx.org>
1357
1358         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1359
1360         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1361         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1362         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1363         * paragraph_pimpl.C (simpleTeXSpecialC):
1364         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1365         add LatexRunParams argument.
1366
1367         * exporter.C (Export): change call accordingly.
1368
1369         * latexrunparams.h: add new member to take care of the other backends.
1370 2003-10-30  José Matos  <jamatos@lyx.org>
1371
1372         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1373         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1374         factorise code for paragraph output.
1375         * buffer.[Ch]:
1376         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1377         move functions.
1378
1379 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1380
1381         * text3.C (dispatch):
1382         * lyxfunc.C (dispatch):
1383         * cursor.C (dispatch):
1384         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1385
1386         * dispatchresult.h: make the dispatch_result_t ctor explicit
1387
1388 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
1389
1390         * sgml.[Ch]:
1391         * buffer.C: small refactoring of docbook stuff
1392
1393 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1394
1395         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1396         meaning.
1397
1398 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1399
1400         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1401         operator dispatch_result_t, and operators for == != and >=
1402
1403         * cursor.C (dispatch): adjust for operator dispatch_result_t
1404         removal. comment out call to update
1405
1406         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1407
1408 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1409
1410         * text3.C:
1411         * text2.C:
1412         * text.C:
1413         * lyxtext.h:
1414         * lyxfunc.C:
1415         * cursor.C:
1416         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1417         (dispatch):
1418
1419         * dispatchresult.h: new file, DispatchResult broken out of
1420         insets/insetbase.h
1421
1422         * Makefile.am (lyx_SOURCES): add dispatchresult.h
1423
1424 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1425
1426         * text.C (rowBreakPoint): put a hack inside #if 0
1427
1428 2003-10-28  André Pönitz  <poenitz@gmx.net>
1429
1430         * lyxtext.h:
1431         * metricsinfo.C:
1432         * paragraph_funcs.C:
1433         * rowpainter.C:
1434         * text.C:
1435         * text2.C: general cleanup (lots of small stuff)
1436
1437 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1438
1439         * text2.C (cursorEnd): simple fix to the "end key goes to one
1440         before the end on last row" bug
1441
1442 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1443
1444         * text.C (backspace): fix the "zombie characters"
1445
1446 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1447
1448         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1449
1450 2003-10-27  André Pönitz  <poenitz@gmx.net>
1451
1452         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1453
1454         * factory.C: handle new InsetPagebreak, InsetLine
1455
1456         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1457         and move handling into new InsetPagebreak, InsetLine
1458
1459         * BufferView_pimpl.C:
1460         * LyXAction.C:
1461         * ParagraphParameters.C:
1462         * ParameterStruct.h:
1463         * lyxfunc.C:
1464         * lyxtext.h:
1465         * paragraph.C:
1466         * paragraph.h:
1467         * paragraph_funcs.C:
1468         * paragraph_pimpl.C:
1469         * rowpainter.C:
1470         * text.C:
1471         * text2.C:
1472         * text3.C: adjust
1473
1474 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1475
1476         * text.C:
1477         * lyxrow_funcs.[Ch]:
1478         * Bidi.C:
1479         * paragraph.C:
1480         * lyxtext.h:
1481         * rowpainter.C:
1482         * text2.C:
1483         * text3.C: remove lastPos uses in favour of Row::endpos
1484
1485 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1486
1487         * undo.C (performUndoOrRedo): fix two crashes by setting a
1488         cursor by hand and reordering some calls. Use bv->lockInset instead
1489         of inset->edit because the latter loses cursor information
1490
1491 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
1492
1493         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1494         by Martin
1495         (rowBreakPoint): fix width. change point to point + 1.
1496         Add a missing check.
1497
1498 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
1499
1500         * MenuBackend.C:
1501         * lyxfunc.C: fix (at least partly) the problems
1502         with the Nav menu and headers inside branch insets
1503         reported by Kayvan
1504
1505 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
1506
1507         * paragraph.C (getChar): add strong asserts
1508
1509         * lyxrow_funcs.C (lastPos): remove hideous hack
1510
1511         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1512         (fill): adjust to that (avoid an infinite loop)
1513
1514 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1515
1516         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1517
1518 2003-10-23  André Pönitz  <poenitz@gmx.net>
1519
1520         * RowList_fwd.h: change list<> to vector<> to gain speed
1521         after suggestion from Alfredo
1522
1523 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1524
1525         * lyxtext.h: move the bidi stuff from here...
1526         * text.C: and here
1527         * text2.C: and here
1528         * Bidi.[Ch]: ... to here
1529
1530 2003-10-23  André Pönitz  <poenitz@gmx.net>
1531
1532         * lyxtext.h:
1533         * text.C (isLastRow, isFirstRow): new functions
1534
1535         * paragraph.h: new width cache member
1536
1537         * rowpainter.C: replace RowList::iterator with Row & where possible
1538
1539         * lyxfunc.C: replace several view()->text with a single call
1540
1541         * toc.C: fix 'unused' warning
1542
1543 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1544
1545         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1546         when woring with stream::pos_type
1547         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1548
1549 2003-10-22  André Pönitz  <poenitz@gmx.net>
1550
1551         * lyxtext.h:
1552         * text.C: use Row & instead of RowList::iterator
1553
1554         * lyxrow.h: rename end() to endpos()
1555
1556         * rowpainter.C:
1557         * text.C:
1558         * text2.C: adjust
1559
1560 2003-10-22  Angus Leeming  <leeming@lyx.org>
1561
1562         * buffer.[Ch] (fully_loaded): new member function, returning true
1563         only when the file has been loaded fully.
1564         Used to prevent the premature generation of previews and by the
1565         citation inset to prevent computation of the natbib-style label.
1566
1567         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1568         templates are all set up.
1569
1570         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1571
1572 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
1573
1574         * text.C: fixed an "oops" in the "is a bit silly"
1575         bug fix
1576
1577 2003-10-21  André Pönitz  <poenitz@gmx.net>
1578
1579         * FuncStatus.[Ch]: small stuff, whitespace
1580
1581         * lyxfont.[Ch]: operator<<() for debug reasons
1582
1583         * lyxfunc.C:
1584         * lyxrow_funcs.C:
1585         * lyxtext.h: whitespace, spelling
1586
1587         * paragraph.C: naming of variables
1588
1589         * text.C:
1590         * text2.C: small stuff
1591
1592
1593 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
1594
1595         * text.C: (1) finish off the inset display() work;
1596         (2) fix the "is a bit silly" bug (accessing char
1597         past end of par).
1598
1599 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
1600
1601         * text.C: re-introduce display() for insets, fixing the
1602         various bugs (stretch of line above, math inset
1603         positioning, ...)
1604
1605 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1606
1607         * text.C (rightMargin): remove spurious semicolon
1608
1609         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1610         1415)
1611
1612 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
1613
1614         * text3.C: fix one crash due to wrong cursor def
1615
1616 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1617
1618         * vc-backend.C (scanMaster): make the regex static
1619
1620         * LaTeX.C (scanAuxFile): make the regexs static
1621
1622         * text3.C (doInsertInset, dispatch, dispatch):
1623         * text2.C (cursorUp, cursorDown):
1624         * text.C (selectNextWordToSpellcheck):
1625         * BufferView_pimpl.C (dispatch):
1626         * lyxfunc.C (dispatch):  localDispatch -> dispatch
1627
1628 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1629
1630         * lyxsocket.C: include <cerrno>
1631
1632 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1633
1634         * lyxfunc.C (dispatch): remove textcache stuff
1635
1636         * bufferlist.C (release): remove textcache stuff
1637         (closeAll): ditto
1638
1639         * TextCache.C: delete file
1640         * TextCache.h: delete file
1641
1642         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1643
1644         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1645         delete of the bv_->text.
1646         (resizeCurrentBuffer): remove texcache stuff
1647         (workAreaResize): ditto
1648
1649 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1650
1651         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1652         action.
1653
1654 2003-10-16  André Pönitz  <poenitz@gmx.net>
1655
1656         * lyxrow.[Ch]:
1657         * paragraph.h:
1658         * rowpainter.C:
1659         * text.C:
1660         * text2.C:
1661         * text3.C: speed up by storing y positions per paragraph plus per-row
1662         offset instead of having a 'full' y position in the row.
1663
1664 2003-10-15  André Pönitz  <poenitz@gmx.net>
1665
1666         * iterators.[Ch]:
1667         * iterators.[Ch]:
1668         * undo.[Ch]: make undo aware of inner insets
1669
1670 2003-10-14  Angus Leeming  <leeming@lyx.org>
1671
1672         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1673         static member functions LyX::ref() and LyX::cref.
1674         (lastfiles): new accessor functions for the new lastfiles_ member var.
1675         (addLyXView, views_): add a new LyXView to the list of views_.
1676         (updateInset): loop over all LyXViews to call their own updateInset
1677         member function, returning a pointer to the Buffer owning the inset.
1678
1679         * BufferView_pimpl.C (loadLyXFile):
1680         * MenuBackend.C (expandLastfiles):
1681         * bufferlist.C (MenuWrite, QuitLyX):
1682         lastfiles is no longer a global variable.
1683         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1684
1685         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1686         static function. Access through LyX::cref().emergencyCleanup().
1687
1688 2003-10-14  André Pönitz  <poenitz@gmx.net>
1689
1690         * iterators.[Ch]: new direct access to innermost LyXText and Inset
1691
1692         * undo.[Ch]: restoring part of 'undo in insets'
1693
1694         * Makefile.am:
1695         * undo_funcs.[Ch]: merge with undo.[Ch]
1696
1697         * tabular.C: small cleansing stuff
1698
1699 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
1700
1701         * paragraph_funcs.C (readParToken): report unknown insets as error
1702         boxes. Use the outer paragraph as location (also for unknown
1703         tokens).
1704
1705         * factory.C (readInset): do not abort on reading an unknown inset.
1706         Eat it and return 0.
1707
1708 2003-10-13  Angus Leeming  <leeming@lyx.org>
1709
1710         * lyx_main.C (LyX): remove call to setDisplayTranslator().
1711
1712         * lyxrc.C: displayTranslator is now a function,
1713         declared in GraphicsTypes.h.
1714
1715 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1716
1717         * format.C: new placeholder $$a to pass the socket address.
1718
1719         * bufferlist.[Ch]: new function getBufferFromTmp.
1720
1721         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1722           files in the temporary dir.
1723
1724 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1725
1726         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1727
1728         * Makefile.am: add lyxsocket.[Ch].
1729
1730         * lyx_main.C (error_handler): handle SIGPIPE.
1731
1732 2003-10-13  André Pönitz  <poenitz@gmx.net>
1733
1734         * BufferView_pimpl.C:
1735         * lyxtext.h:
1736         * text.C:
1737         * text2.C:
1738         * text3.C:
1739         * undo_funcs.[Ch]: use paroffset_type instead of
1740           ParagraphList::iterators to prevent multiple conversion
1741           (and get a more robust interface)
1742
1743 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1744
1745         * lyxfunc.C (dispatch): RESULT -> dispatch_result
1746         * lyxtext.h: ditto
1747         * text3.C (dispatch): ditto
1748
1749 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1750
1751         * LaTeX.C (handleFoundFile): move the static to smaller scope,
1752         move the onlyfile, use onlyfile instead of foundfile in a couple
1753         of places.
1754
1755         * DepTable.C (update): flush the error stream a bit more
1756
1757 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1758
1759         * lyxserver.C (callback): adjust
1760
1761         * lyxfunc.C (getStatus): add a missing brace in commented code
1762         (ensureBufferClean): reindent
1763         (dispatch): delete version taking a string
1764
1765 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1766
1767         * LaTeX.C (deplog): move found file handlig from here...
1768         (handleFoundFile): .. to new function here.
1769         (deplog): make sure to discover several files mentioned on the
1770         same log line.
1771
1772 2003-10-10  André Pönitz  <poenitz@gmx.net>
1773
1774         * lyxfunc.C:
1775         * lyxtext.h:
1776         * tabular.C:
1777         * text.C:
1778         * text2.C:
1779         * text3.C: fix some of the tabular crashes
1780
1781 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1782
1783         * MenuBackend.C (binding): put debug message into Debug::KBMAP
1784
1785         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1786
1787 2003-10-09  André Pönitz  <poenitz@gmx.net>
1788
1789         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1790
1791         * BufferView.C:
1792         * BufferView_pimpl.C:
1793         * bufferview_funcs.C:
1794         * lyx_cb.C:
1795         * lyxcursor.C:
1796         * lyxfind.C:
1797         * lyxfunc.C:
1798         * lyxtext.h:
1799         * text.C:
1800         * text2.C:
1801         * text3.C:
1802         * text_funcs.[Ch]:
1803         * textcursor.[Ch]:
1804         * undo_funcs.C: adjust
1805
1806 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1807
1808         * text2.C (incrementItemDepth): new function, use a backtracking
1809         algorithm to discover the correct item depth.
1810         (resetEnumCounterIfNeeded): new function, use a backtracking
1811         algorithm to discover if counter reset is needed.
1812         (setCounter): use them. Simplify a bit. Add different labels for
1813         different item depths for itemize.
1814
1815         * paragraph.C (Paragraph): remove initialization of enumdepth
1816         (operator=): ditto
1817
1818         * paragraph.h: get rid of enumdepth, and use itemdepth both for
1819         enumerate and itemize. Change the type of itemdepth to signed char.
1820
1821 2003-10-08  André Pönitz  <poenitz@gmx.net>
1822
1823         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1824           thing assignable.
1825         * text.C:
1826         * text2.C: adjust
1827
1828         * tabular.[Ch]: fix crash after 'row-insert'
1829
1830 2003-10-08  Angus Leeming  <leeming@lyx.org>
1831
1832         Fix doxygen warnings.
1833
1834         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1835         Remove CutAndPaste:: prefix from header file declaration.
1836
1837         * LColor.h (fill): remove LColor:: prefix from declaration.
1838
1839         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1840         use lyx::depth_type rather than Paragraph::depth_type so that
1841         header file and .C file match.
1842
1843         * converter.h (intToFormat): remove Converters:: prefix from declaration.
1844
1845         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1846         * aspell.C: \file aspell_local.C -> \file aspell.C
1847         * gettext.C: \file gettext.C -> \file src/gettext.C
1848         * gettext.h: \file gettext.h -> \file src/gettext.h
1849         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1850         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1851         * text.C: \file text.C -> \file src/text.C
1852
1853         * toc.C: move comment so that doxygen is not confused.
1854
1855 2003-10-07  Angus Leeming  <leeming@lyx.org>
1856
1857         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1858
1859 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1860
1861         * aspell.C:
1862         * aspell_local.h: add forgotten std::string's.
1863
1864 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1865
1866         * LaTeXFeatures.C:
1867         * LyXAction.C:
1868         * factory.C:
1869         * lfuns.h:
1870         * lyxfunc.C:
1871         * text3.C: The Box patch. Fancybox support, minipage, parbox
1872
1873 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1874
1875         * CutAndPaste.h:
1876         * DepTable.h:
1877         * FloatList.h:
1878         * LaTeXFeatures.h:
1879         * ParagraphParameters.h:
1880         * TextCache.h:
1881         * Thesaurus.h:
1882         * bufferlist.h:
1883         * exporter.h:
1884         * importer.h:
1885         * lastfiles.h:
1886         * lyxfind.h:
1887         * lyxfont.h:
1888         * lyxlex.h:
1889         * lyxtextclasslist.h:
1890         * messages.h:
1891         * paragraph.h:
1892         * paragraph_pimpl.C:
1893         * textcursor.h: add <string> and other small fixes to make Lars'
1894         std::string patch compile with STLport.
1895
1896 2003-10-06  Angus Leeming  <leeming@lyx.org>
1897
1898         * LColor.h: Add missing #include <string>.
1899
1900 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1901
1902         * All most all file in all subdirs: Make <string> be the prefered
1903         way of getting to std::string, add using declarations.
1904
1905 2003-10-06  André Pönitz  <poenitz@gmx.net>
1906
1907         * metricsinfo.C: initialize LyXFont before changing attribute.
1908         (fixes the 'math in \emph is upright' bug)
1909
1910 2003-10-06  André Pönitz  <poenitz@gmx.net>
1911
1912         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1913
1914 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1915
1916         * graph.C:
1917         * paragraph_pimpl.C: Small fixes to build using STLport
1918
1919 2003-10-02  André Pönitz  <poenitz@gmx.net>
1920
1921         * lyxfunc.C:
1922         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1923
1924 2003-10-01  André Pönitz  <poenitz@gmx.net>
1925
1926         * factory.C: assert early
1927
1928 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1929
1930         * lyx_main.C: remove the global debug object
1931
1932         * debug.h: adjust for new debugstream
1933
1934         * debug.C: adjust for new debugstream and keep the global debug
1935         object here.
1936
1937 2003-09-22  Angus Leeming  <leeming@lyx.org>
1938
1939         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1940         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1941         an incomplete class LyXFont.
1942
1943 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1944
1945         * factory.C: bug fix in branches
1946
1947 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1948
1949         * lyxfunc.C (processKeySym): adjust
1950         (dispatch): adjust
1951         (dispatch): change arg name from ev to func, adjust
1952         (sendDispatchMessage): ditto
1953
1954         * lyx_main.C (defaultKeyBindings): adjust keybindings
1955         (deadKeyBindings): ditto
1956
1957         * kbsequence.C (addkey): return a FuncRequest
1958
1959         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1960
1961         * kbmap.C (bind): take a FuncRequest as arg, adjust
1962         (read): adjust
1963         (lookup): adjust
1964         (defkey): change to take a FuncRequest as arg, adjust
1965         (findbinding): take a FuncRequest as arg, adjust.
1966
1967         * funcrequest.h (operator=): added
1968
1969         * funcrequest.C (FuncRequest): default kb_action changed from
1970         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1971
1972         * buffer.C (dispatch): simplify
1973         (dispatch): adjust to take a FuncRequest as arg, adjust
1974
1975         * boost.C (assertion_failed): change assertion message slightly
1976
1977         * ToolbarBackend.C (read): simplify
1978
1979         * MenuBackend.C (binding): adjust call to findbinding, add a
1980         message if no binding is found.
1981         (read): simplify
1982         (expandToc): correct by adding a empty FuncRequest
1983
1984         * LyXAction.C: include <boost/assert.hpp>
1985         (isPseudoAction): delete function
1986         (LookupFunc): change name to...
1987         (lookupFunc): this. change return type to FuncRequest.
1988         (getActionName): take kb_action as arg, simplify
1989         (funcHasFlag): add an assert, simplify.
1990
1991 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1992
1993         * toc.C (action): return a FuncRequest, simplify
1994
1995         * lyxfunc.C (processKeySym): adjust
1996         (getStatus): delete version that takes an int.
1997         (getStatus): adjust
1998         (dispatch): delete version that takes action as int
1999         (dispatch): adjust
2000         (sendDispatchMessage): simplify and adjust
2001
2002         * funcrequest.C (getArg): take unsigned int as arg
2003
2004         * ToolbarBackend.C (read): adjust
2005         (add): delete version that takes func as a string.
2006         (getIton): take a FuncRequest as arg
2007
2008         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2009         action.
2010
2011         * MenuBackend.C (MenuItem): add a new construct that only takes a
2012         Kind, simplify the constructor use for submenus.
2013         (add): adjust
2014         (expandLastfiles): adjust
2015         (expandDocuments): adjust
2016         (expandFormats): adjust
2017         (expandFloatListInsert): adjust
2018         (expandFloatInsert): adjust
2019         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2020
2021         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2022         Remove class variables lyx_pseudo_map and lyx_arg_map
2023
2024         * LyXAction.C (searchActionArg): delete function
2025         (getPseudoAction): delete function
2026         (retrieveActionArg): delete function
2027         (LookupFunc): make it return kb_action, simplify.
2028         (getActionName): simplify
2029
2030         * factory.C (createInset): fix new bug
2031
2032 2003-09-19  Angus Leeming  <leeming@lyx.org>
2033
2034         * CutAndPaste.C (pasteSelection): remove fudge used to set the
2035         masterFilename_ parameter in the include inset.
2036
2037         * factory.C (createInset): changes due to the changes to InsetInclude.
2038
2039 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2040
2041         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2042
2043 2003-09-18  Angus Leeming  <leeming@lyx.org>
2044
2045         * buffer.C:
2046         * BufferView.C: pass the buffer when calling Inset::getLabelList,
2047         Inset::fillWithBibKeys.
2048         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2049
2050 2003-09-18  Angus Leeming  <leeming@lyx.org>
2051
2052         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2053         variables.
2054         (ctor): pass and store a 'Buffer const &'
2055         (buffer): new member function.
2056
2057         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2058         '*this' to the LaTeXFeatures ctor.
2059
2060 2003-09-18  Angus Leeming  <leeming@lyx.org>
2061
2062         * LColor.h:
2063         * lyxfont.C:
2064         * lyxfont.h:
2065         * lyxtext.h:
2066         * text.C: rename EnumLColor as LColor_color.
2067
2068 2003-09-18  Angus Leeming  <leeming@lyx.org>
2069
2070         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2071         remove #include "insets/insetbase.h" from cursor.h.
2072
2073 2003-09-18  Angus Leeming  <leeming@lyx.org>
2074
2075         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2076         InsetOld_code to remove #include "inset.h".
2077
2078         * iterators.C: add #include "insets/inset.h"
2079
2080 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
2081
2082         * BufferView.C: remove more locking stuff that apparently doesn't
2083         do anything sensible.
2084
2085 2003-09-16  André Pönitz  <poenitz@gmx.net>
2086
2087         * paragraph.[Ch]:
2088         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2089           performance boost.
2090
2091 2003-09-16  Angus Leeming  <leeming@lyx.org>
2092
2093         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2094
2095         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2096         arg/return type.
2097
2098         * paragraph.h: remove #include "lyxfont.h". Forward declare
2099         LyXFont_size.
2100
2101 2003-09-16  Angus Leeming  <leeming@lyx.org>
2102
2103         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2104         of support/textutils.h.
2105         (isWord): move the contents of support/textutils.h's IsWordChar here.
2106
2107         * buffer.C:
2108         * lyxfind.C:
2109         * rowpainter.C:
2110         * text.C:
2111         * text2.C: add #include "paragraph.h".
2112
2113         * rowpainter.C:
2114         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2115
2116 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2117
2118         * main.C:
2119         * lyx_main.C:
2120         * lyx_cb.C:
2121         * buffer.C:
2122         * LaTeX.C: use namespace alias for lyx::support::os
2123
2124 2003-09-16  Angus Leeming  <leeming@lyx.org>
2125
2126         * bufferparams.C:
2127         * bufferview_funcs.C:
2128         * factory.C:
2129         * lyxfunc.C:
2130         * paragraph_pimpl.C:
2131         * rowpainter.C:
2132         * text.C: add #include "LColor.h".
2133
2134 2003-09-16  Angus Leeming  <leeming@lyx.org>
2135
2136         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2137         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2138         return LyXFont &.
2139         Store the FontBits::color variable as an int rather than as an
2140         LColor::colorso that we can move LColor.h out of the lyxfont.h header
2141         file.
2142
2143         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2144         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2145         string calls together.
2146
2147         * lyxrc.C: add #include "LColor.h".
2148
2149 2003-09-15  Angus Leeming  <leeming@lyx.org>
2150
2151         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2152         a cow_ptr.
2153
2154 2003-09-15  Angus Leeming  <leeming@lyx.org>
2155
2156         * LColor.h: add an EnumLColor wrapper for LColor::color.
2157
2158         * lyxfont.[Ch] (color, setColor, realColor):
2159         * lyxtext.h, text.C (backgroundColor):
2160         pass EnumLColor args to/from the functions, rather than LColor::color
2161         ones.
2162
2163         * lyxfont.h:
2164         * lyxtext.h: forward declare EnumLColor.
2165
2166         * lyx_main.C: add #include "LColor.h".
2167
2168 2003-09-15  Angus Leeming  <leeming@lyx.org>
2169
2170         * .cvsignore: add lyx-gtk.
2171
2172 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2173
2174         * Chktex.C
2175         * LaTeX.C
2176         * LaTeXFeatures.C
2177         * ParagraphParameters.C
2178         * Spacing.C
2179         * buffer.C
2180         * bufferparams.C
2181         * bufferview_funcs.C
2182         * chset.C
2183         * counters.C
2184         * funcrequest.C
2185         * lyxfont.C
2186         * lyxgluelength.C
2187         * lyxlength.C
2188         * paragraph.C
2189         * paragraph_funcs.C
2190         * text3.C
2191         * vc-backend.C: remove usage of STRCONV
2192
2193 2003-09-15  Angus Leeming  <leeming@lyx.org>
2194
2195         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2196         explicitly define the color passed to the painter.
2197
2198 2003-09-15  Angus Leeming  <leeming@lyx.org>
2199
2200         * bufferparams.C (BufferParams): reorder member initializers to avoid
2201         compiler warning.
2202
2203 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
2204
2205         * CutAndPaste.C (pasteSelection): remove an outdated #warning
2206         * text.C (updateRowPositions): remove an unusual nop
2207
2208 2003-09-12  André Pönitz  <poenitz@gmx.net>
2209
2210         * BufferView_pimpl.C:
2211         * Bullet.C:
2212         * layout.h:
2213         * lyxfunc.C:
2214         * lyxlayout.[Ch]:
2215         * lyxtextclass.C:
2216         * rowpainter.C:
2217         * text.C:
2218         * text2.C:
2219         * Counters.[Ch]: finish the 'automatic counters' job
2220
2221 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2222
2223         * aspell.C: include <boost/assert.cpp> (compile fix)
2224
2225 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
2226
2227         * boost.C (assertion_failed): use lyx::support::abort instead of
2228         assert.
2229
2230 2003-09-10  Angus Leeming  <leeming@lyx.org>
2231
2232         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2233         with their _fwd progeny.
2234
2235 2003-09-09  Angus Leeming  <leeming@lyx.org>
2236
2237         134 files throughtout the source tree: replace 'using namespace abc;'
2238         directives with the appropriate 'using abc::xyz;' declarations.
2239
2240 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2241
2242         * boost.C (emergencyCleanup): moved here from LAssert.c
2243         (assertion_failed): new function, called by BOOST_ASSERT
2244
2245         * several files: change Assert to BOOST_ASSERT
2246
2247 2003-09-09  Angus Leeming  <leeming@lyx.org>
2248
2249         * buffer.[Ch]: Add an Impl class and move Buffer's member
2250         variables into it. As a result move several header files out of
2251         buffer.h.
2252
2253         Add header files to lots of .C files all over the tree as a result.
2254
2255 2003-09-09  Angus Leeming  <leeming@lyx.org>
2256
2257         * buffer.[Ch]: make Buffer's member variables private. Add
2258         accessor functions.
2259
2260         Lots of changes all over the tree as a result.
2261
2262 2003-09-08  Angus Leeming  <leeming@lyx.org>
2263
2264         * graph.C: #include <config.h>.
2265
2266 2003-09-08  Angus Leeming  <leeming@lyx.org>
2267
2268         * BranchList.C:
2269         * BufferView.C:
2270         * BufferView_pimpl.C:
2271         * CutAndPaste.C:
2272         * DepTable.C:
2273         * LaTeX.C:
2274         * LaTeXFeatures.C:
2275         * LyXAction.C:
2276         * MenuBackend.C:
2277         * TextCache.C:
2278         * aspell.C:
2279         * buffer.C:
2280         * bufferlist.C:
2281         * changes.C:
2282         * chset.C:
2283         * converter.C:
2284         * counters.C:
2285         * debug.C:
2286         * graph.C:
2287         * ispell.C:
2288         * lyx_cb.C:
2289         * lyxfind.C:
2290         * lyxfunc.C:
2291         * lyxlex_pimpl.C:
2292         * lyxrc.C:
2293         * lyxrow.C:
2294         * paragraph.C:
2295         * rowpainter.C:
2296         * texrow.C:
2297         * text.C:
2298         * text2.C:
2299         * toc.C: remove redundant using directives.
2300
2301 2003-09-07  Angus Leeming  <leeming@lyx.org>
2302
2303         * LaTeXFeatures.h: remove #include "support/types.h".
2304         * ToolbarBackend.h: remove #include <algorithm>.
2305         * changes.h: remove #include <ctime>.
2306         * debug.h: remove #include <iosfwd>.
2307         * graph.h: remove #include "support/std_string.h".
2308         * lyx_main.h: remove #include <csignal>.
2309         * lyxlex_pimpl.h: remove #include <fstream>.
2310         * sgml.h: remove #include <algorithm>, <utility>.
2311         * toc.h: remove #include "support/std_ostream.h".
2312         Add #include <iosfwd>.
2313
2314 2003-09-07  Angus Leeming  <leeming@lyx.org>
2315
2316         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2317
2318         * converter.h: forward declare LatexRunParams.
2319         * encoding.h: remove #include "lyxrc.h".
2320         * lyxtext.h: remove #include "LColor.h".
2321         * lyxtextclass.h: remove #include "support/types.h".
2322         * trans.h: remove #include "tex-accent.h".
2323         * trans_mgr.h: remove #include "tex-accent.h".
2324         * insets/inset.h: remove #include "support/types.h", <vector>.
2325         * insets/insetcollapsable.h: remove #include "LColor.h".
2326         * insets/insetinclude.h: remove #include "dimension.h".
2327         * insets/insetlatexaccent.h: remove #include "dimension.h".
2328         * insets/insetoptarg.h:: remove #include "insettext.h".
2329         * insets/insettext.h: remove #include "dimension.h",
2330         <boost/shared_ptr.hpp>
2331
2332         * insets/renderers.h: add #include "dimension.h".
2333         * insets/updatableinset.h: add #include "support/types.h".
2334
2335         * many .C files: Associated changes.
2336
2337 2003-09-06  Angus Leeming  <leeming@lyx.org>
2338
2339         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2340         one, inside testInvariant.
2341
2342         * PrinterParams.C: new file.
2343         * PrinterParams.[Ch]: move the function bodies out of line.
2344
2345 2003-09-06  Angus Leeming  <leeming@lyx.org>
2346
2347         * ParagraphParameters.h: forward declare ParameterStruct rather than
2348         including its header file.
2349         (depth): moved out-of-line.
2350
2351 2003-09-06  Angus Leeming  <leeming@lyx.org>
2352
2353         * BufferView_pimpl.h:
2354         * kbmap.h:
2355         * kbsequence.h:
2356         * lyxfunc.h: forward declare LyXKeySym rather than
2357         #include "frontends/LyXKeySym.h".
2358
2359         * BufferView_pimpl.C:
2360         * kbmap.C:
2361         * kbsequence.C:
2362         * lyxfunc.C: associated changes.
2363
2364 2003-09-06  Angus Leeming  <leeming@lyx.org>
2365
2366         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2367         As a result, can remove the #include "insets/inset.h" from BufferView.h
2368
2369 2003-09-06  Angus Leeming  <leeming@lyx.org>
2370
2371         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2372         As a result, can remove the #include "insets/inset.h" from BufferView.h
2373
2374 2003-09-06  Angus Leeming  <leeming@lyx.org>
2375
2376         * buffer_funcs.C:
2377         * buffer.h:
2378         * bufferlist.C:
2379         * BufferView.C:
2380         * bufferview_funcs.C:
2381         * BufferView_pimpl.C:
2382         * CutAndPaste.C:
2383         * lyx_cb.C:
2384         * lyxfunc.C:
2385         * paragraph.h:
2386         * ParagraphParameters.C:
2387         * tabular.C:
2388         * text3.C:
2389         * toc.C:
2390         * undo_funcs.C:
2391         * frontends/controllers/ControlDocument.C:
2392         * insets/insetcaption.C: rearrange the #includes into some sort of
2393         coherent order.
2394
2395         * buffer.h: remove #includes ErrorList.h, undo.h
2396
2397 2003-09-06  Angus Leeming  <leeming@lyx.org>
2398
2399         * support/types.h: add a 'depth_type' typedef, used to store the
2400         nesting depth of a paragraph.
2401
2402         * paragraph.h:
2403         * ParameterStruct.h: use this lyx::depth_type typedef rather than
2404         defining explicitly.
2405
2406         * buffer.h:
2407         * paragraph_funcs.h:
2408         * ParagraphParameters.h:
2409         * sgml.h: use lyx::depth_type rather than Paragraph or
2410         ParameterStruct's depth_type.
2411
2412         * buffer.h
2413         * paragraph_funcs.h: no need to #include paragraph.h anymore.
2414
2415         * BufferView.C:
2416         * BufferView_pimpl.C:
2417         * CutAndPaste.C:
2418         * ParagraphParameters.C:
2419         * buffer_funcs.C:
2420         * bufferlist.C:
2421         * bufferview_funcs.C:
2422         * lyx_cb.C:
2423         * lyxfunc.C:
2424         * tabular.C:
2425         * text3.C:
2426         * toc.C:
2427         * undo_funcs.C:
2428         * frontends/LyXView.C:
2429         * frontends/controllers/ControlDocument.C:
2430         * frontends/controllers/ControlErrorList.C:
2431         * insets/insetbibitem.C:
2432         * insets/insetbranch.C:
2433         * insets/insetcaption.C:
2434         * insets/insetcollapsable.C:
2435         * insets/insetenv.C:
2436         * insets/insetert.C:
2437         * insets/insetfloat.C:
2438         * insets/insetfoot.C:
2439         * insets/insetfootlike.C:
2440         * insets/insetnewline.C:
2441         * insets/insetquotes.C:
2442         * insets/insettabular.C:
2443         * insets/insettext.C:
2444         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2445
2446         * frontends/controllers/ControlChanges.C: #include "changes.h".
2447
2448 2003-09-06  Angus Leeming  <leeming@lyx.org>
2449
2450         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2451         than #including paragraph.h.
2452
2453         * ParagraphList.h:
2454         * RowList.h: deleted. Superfluous.
2455
2456         * CutAndPaste.h:
2457         * iterators.h:
2458         * lyxcursor.h:
2459         * lyxtext.h:
2460         * text_funcs.h:
2461         * undo.h:
2462         * undo_funcs.h:
2463         * insets/inset.h:
2464         * insets/insettext.h: use ParagraphList_fwd.h rather than
2465         ParagraphList.h.
2466
2467         * paragraph.h: don't forward declare ParagraphList.
2468
2469         * buffer.h:
2470         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2471         rather than ParagraphList.h. paragraph.h is still needed for the
2472         Paragraph::depth_type parameters.
2473
2474         * textcursor.h: enable it to compile stand-alone in light of the
2475         above changes.
2476
2477         * bufferview_funcs.C:
2478         * iterators.C:
2479         * lyxfunc.C:
2480         * lyxrow_funcs.C:
2481         * paragraph.C:
2482         * rowpainter.C:
2483         * text.C:
2484         * text2.C:
2485         * text3.C:
2486         * text_funcs.C:
2487         * textcursor.C:
2488         * undo.C:
2489         * frontends/controllers/ControlParagraph.C:
2490         * frontends/controllers/ControlTabular.C:
2491         * insets/insetmarginal.C:
2492         * insets/insetminipage.C:
2493         * insets/insetnote.C:
2494         * insets/insetoptarg.C: add header files needed to compile again.
2495
2496 2003-09-06  Angus Leeming  <leeming@lyx.org>
2497
2498         * RowList_fwd.h: new file, forward-declaring Row rather than
2499         #including lyxrow.h.
2500
2501         * lyxrow_funcs.h:
2502         * lyxtext.h:
2503         * paragraph.h:
2504         * insets/insettext.h: use it instead of RowList.h
2505
2506         * bufferview_funcs.C:
2507         * lyxfunc.C:
2508         * lyxrow_funcs.C:
2509         * paragraph.C:
2510         * rowpainter.C:
2511         * text.C:
2512         * text2.C:
2513         * text3.C: #include "RowList.h".
2514
2515 2003-09-05  Angus Leeming  <leeming@lyx.org>
2516
2517         * factory.C (createInset):
2518         * vspace.C (c-tor): replace sscanf call with an istringstream.
2519         * ispell.C: re-add missing HP/UX headers.
2520         * lyxserver.C: re-add missing  os2 headers.
2521
2522 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
2523
2524         * BranchList.C:
2525         * graph.C:
2526         * ispell.C:
2527         * lastfiles.C:
2528         * lyx_cb.C:
2529         * lyxserver.C:
2530         * texrow.C:
2531         * text3.C: re-add missing system headers, needed for 2.95.2.
2532
2533 2003-09-05  Angus Leeming  <leeming@lyx.org>
2534
2535         Changes most place everywhere due to the removal of using directives
2536         from support/std_sstream.h.
2537
2538 2003-09-05  Angus Leeming  <leeming@lyx.org>
2539
2540         Replace LString.h with support/std_string.h,
2541         Lsstream.h with support/std_sstream.h,
2542         support/LIstream.h with support/std_istream.h,
2543         support/LOstream.h with support/std_ostream.h.
2544
2545         Changes resulting throughout the tree.
2546
2547 2003-09-05  Angus Leeming  <leeming@lyx.org>
2548
2549         * sgml.h: ensure that the header file can be compiled stand-alone.
2550         * *.C: strip out redundant #includes. (320 in total.)
2551
2552 2003-09-04  Angus Leeming  <leeming@lyx.org>
2553
2554         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2555         here (from getPackages).
2556
2557         * debug.[Ch]: add a new EXTERNAL tag.
2558
2559 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2560
2561         * text2.C (cursorEnd): simplify
2562         (setCursor): adjust
2563         (getColumnNearX): adjust
2564
2565         * text.C (computeBidiTables): adjust
2566         (fill): adjust
2567
2568         * rowpainter.C (paintChars): adjust
2569         (paintSelection): adjust
2570         (paintChangeBar): adjust
2571         (paintText): adjust
2572
2573         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2574         lastPos instead.
2575         (numberOfSeparators): adjust
2576
2577 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2578
2579         * LyXAction.C:
2580         * box.[Ch]:
2581         * lfuns.h:
2582         * lyxfunc.C:
2583         * text3.C: Restricts the mouse click functionality
2584         of insets like bibtex, include, toc and floatlist to the visible
2585         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2586         up the dialogs. Cursor has to be in front of the inset (i.e.
2587         start of row) for this to function.
2588
2589 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2590
2591         * bufferview_funcs.C (currentState): output row information
2592
2593 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2594
2595         * bufferview_funcs.C (currentState): output paragraph position
2596
2597 2003-09-04  Angus Leeming  <leeming@lyx.org>
2598
2599         * FloatList.h: move out #include "Floating.h".
2600         * LaTeX.h: move out #include "DepTable.h".
2601         * LyXAction.h: move out #include "funcrequest.h".
2602         * buffer.h: move out #include "author.h", "iterators.h".
2603         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2604         * lyx_main.h: move out #include "errorlist.h".
2605         * lyxfunc.h: move out #include "FuncStatus.h".
2606         * lyxtext: move out #include "lyxcursor.h".
2607         * paragraph_pimpl.h: move out #include "counters.h".
2608
2609 2003-09-03  Angus Leeming  <leeming@lyx.org>
2610
2611         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2612         preamble_snippets list, enabling us to add snippets to the preamble
2613         only if the snippet was not there already.
2614
2615 2003-09-04  Angus Leeming  <leeming@lyx.org>
2616
2617         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2618
2619 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2620
2621         * lyxfunc.C (dispatch): if fitCursor did something be sure to
2622         update
2623
2624 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2625
2626         * BranchList.C: point fix, earlier forgotten
2627
2628 2003-09-02  Angus Leeming  <leeming@lyx.org>
2629
2630         * box.C (contains): renamed from 'contained' after a fantastic
2631         amount of hot air.
2632
2633 2003-09-02  John Levon  <levon@movementarian.org>
2634
2635         * BufferView.C:
2636         * lyxcursor.h:
2637         * lyxcursor.C:
2638         * lyxfunc.C:
2639         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2640
2641 2003-09-02  John Levon  <levon@movementarian.org>
2642
2643         * text2.C: simplification of cursorEnd(), including partial
2644         fix for bug 1376
2645
2646 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2647
2648         * buffer.C (readFile): add a space
2649
2650 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
2651
2652         * BufferView_pimpl.C (update): remove bogus fitCursor() call
2653
2654 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2655
2656         * buffer.C (readFile): new function, take a filename and a
2657         ParagraphList::iterator
2658         (readFile): adjust
2659         (readFile): adjust, make it private. don't use setStream, make
2660         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2661         always contain the filename.
2662
2663         * BufferView.C (insertLyXFile): simplify and make it work for
2664         gzipped files.
2665
2666 2003-08-30  John Levon  <levon@movementarian.org>
2667
2668         * Makefile.am: fix dist (from Kayvan)
2669
2670 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2671
2672         * most files: change to use const Buffer refs
2673
2674 2003-08-27  André Pönitz  <poenitz@gmx.net>
2675
2676         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2677         on top of ownerPar().
2678
2679 2003-08-27  John Levon  <levon@movementarian.org>
2680
2681         * funcrequest.C: properly initialise POD members
2682
2683 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2684
2685         * lyxtext.h (top_y): move top_y from here
2686         * text.C:
2687         * text2.C:
2688         * text3.C:
2689         * BufferView.[Ch]:
2690         * BufferView_pimpl.[Ch]: to here
2691         * frontends/screen.C:
2692         * insets/insettabular.C:
2693         * insets/insettext.C: adjust
2694         * rowpainter.[Ch] (paintRows): remove LyXText & argument
2695
2696 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2697
2698         * BufferView.[Ch]:
2699         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2700
2701 2003-08-26  André Pönitz  <poenitz@gmx.net>
2702
2703         * paragraph_func.[Ch] (outerPar): new function
2704
2705         * paragraph.C:
2706         * paragraph_funcs.C:
2707         * paragraph_funcs.h:
2708         * paragraph_pimpl.C:
2709         * text2.C: remove Inset::par_owner
2710
2711 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
2712
2713         * lyxrow_funcs.C:
2714         * lyxtext.h:
2715         * text.C:
2716         * text2.C: eliminates the needFullRow/display() stuff
2717         altogether, putting the logic in metrics/draw in the insets.
2718
2719 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
2720
2721         * text2.C (redoParagraphInternal, redoParagraphs):
2722         * text.C (redoParagraph): add a call to updateRowPositions at the
2723         end of each 'metrics-like' call. Remove all others.
2724         (getRow): remove the 'y-computing' version.
2725         (getRowNearY): do not compute nor return the real y. Solve the
2726         'y < 0' problem and simplify.
2727
2728 2003-08-22  Angus Leeming  <leeming@lyx.org>
2729
2730         * *.[Ch]: clean-up of licence and author blurbs.
2731         Also move config.h out of a few .h files and into a few .C files.
2732
2733 2003-08-22  André Pönitz  <poenitz@gmx.net>
2734
2735         * lyxrow.[Ch]: add x_ and *fill_ members
2736
2737         * lyxtext.h:
2738         * text.C:
2739         * rowpainter.C:
2740         * text2.C: adjust/remove prepareToPrint() calls
2741
2742 2003-08-22  André Pönitz  <poenitz@gmx.net>
2743
2744         * lyxrow.[Ch]: add  end_ member
2745
2746         * lyxrow_funcs.C: use LyXRow::end_
2747
2748         * lyxtext.h (singleWidth): add LyXFont parameter
2749
2750         * rowpainter.C:
2751         * text2.C: adjust LyXText::singleWidth() calls
2752
2753         * text.C (redoParagraph): simplify row breaking logic
2754
2755
2756 2003-08-19  André Pönitz  <poenitz@gmx.net>
2757
2758         * funcrequest.C: initialize button_ member
2759
2760         * text3.C:
2761         * rowpainter.[Ch]: interface consolidation
2762
2763 2003-08-18  André Pönitz  <poenitz@gmx.net>
2764
2765         * BufferView.C:
2766         * BufferView_pimpl.C:
2767         * lyxfind.C:
2768         * paragraph_funcs.C:
2769         * rowpainter.C:
2770         * text3.C: remove LyXScreen::draw() and fitCursor calls
2771
2772         * BranchList.h: remove spurious semicolons
2773
2774         * MenuBackend.C: fix branchlist related crash
2775
2776 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
2777
2778         * BranchList.[Ch]:
2779         * InsetList.[Ch]:
2780         * LColor.[Ch]:
2781         * LyXAction.C:
2782         * Makefile.am:
2783         * MenuBackend.[Ch]:
2784         * bufferparams.[Ch]:
2785         * factory.C:
2786         * lfuns.h:
2787         * lyxfunc.C:
2788         * text3.C: implements the 'branch inset'
2789         idea. This allows the output of various versions of a document
2790         from a single source version, selectively outputing or suppressing
2791         output of parts of the text.
2792         This implementation contains a 'branch list editor' in a separate
2793         tab of the document settings dialog. Branches are user definable
2794         and have a "display colour" to distinguish them on-screen.
2795
2796         ColorHandler was somewhat cleaned up.
2797         (1) make possible a dynamically growing LColor list by allowing
2798         the graphic context cache to grow along (vector);
2799         (2) eliminate an IMHO unnecessary step in colour allocation.
2800
2801 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
2802
2803         * BufferView_pimpl.C: compile fix
2804
2805 2003-08-15  André Pönitz  <poenitz@gmx.net>
2806
2807         * rowpainter.C: remove extra metrics calls
2808
2809         * lyxtext.h: merge the two constructors into a single one,
2810           pass reference to owner's par list
2811
2812         * BufferView_pimpl.C:
2813         * text.C:
2814         * text2.C: adjust
2815
2816 2003-08-15  André Pönitz  <poenitz@gmx.net>
2817
2818         * lyxrow_funcs.[Ch]:
2819         * lyxtext.h:
2820         * paragraph.h:
2821         * paragraph_funcs.C:
2822         * rowpainter.C:
2823         * text.C:
2824         * text2.C:
2825         * text3.C:
2826         * text_funcs.C: split LyXText::rowlist_ into individual
2827         Paragraph::rows_ chunks
2828
2829         * BufferView.[Ch]:
2830         * BufferView_pimpl.[Ch]:
2831         * lyxfind.C:
2832         * lyxtext.h:
2833         * text3.C: remove toggleSelection()
2834
2835 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
2836
2837         * bufferlist.C: beautify two alerts (shorter text of buttons)
2838         * buffer.C: Remove redundant ' ' from message
2839         * tabular.h:
2840         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2841         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2842         rename VALIGN_CENTER to VALIGN_MIDDLE
2843
2844 2003-08-11  André Pönitz  <poenitz@gmx.net>
2845
2846         * lyxtext.h (getPar):
2847         * text.C: new function
2848
2849 2003-08-11  André Pönitz  <poenitz@gmx.net>
2850
2851         * Makefile.am:
2852         * tracer.[Ch]: remove unneeded files
2853
2854         * InsetList.[Ch]: remove resizeInsetsLyXText()
2855
2856         * lyxtext.h:
2857         * text.C:
2858         * text2.C:
2859         * text3.C: merge insertParagraphs() and appendParagraph()
2860         remove breakAgain(), update()
2861
2862         * BufferView_pimpl.[Ch]:
2863         * bufferview_funcs.[Ch]:
2864         * lyxfunc.C:
2865         * paragraph.[Ch]:
2866         * rowpainter.C:
2867         * tabular.C: adjust after text & InsetList changes.
2868
2869 2003-08-08  André Pönitz  <poenitz@gmx.net>
2870
2871         * text.C (insertChar, backspace): replace rowlist fiddling
2872         with rebreak of full par
2873
2874         * lyxtext.h:
2875         * text.C (breakAgainOneRow, redoHeightOfParagraph,
2876         checkParagraph, updateInset): removed
2877
2878 2003-08-07  André Pönitz  <poenitz@gmx.net>
2879
2880         * paragraph.C:
2881         * text3.C: merge some LFUN handlers, remove dead code
2882
2883 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2884
2885         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2886
2887 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
2888
2889         * text2.C (DEPM): fix part of bug 1255 and 1256
2890
2891 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2892
2893         * BufferView_pimpl.C (workAreaDispatch): change to use
2894         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2895         that are no mouse related.
2896
2897 2003-08-05  André Pönitz  <poenitz@gmx.net>
2898
2899         * BufferView.[Ch]:
2900         * BufferView_pimpl.[Ch]:
2901         * bufferview_funcs.C:
2902         * text2.C:
2903         * text3.C: rip out "deep update"
2904
2905         * textcursor.[Ch] (last_sel_cursor): remove unused member
2906
2907 2003-08-04  André Pönitz  <poenitz@gmx.net>
2908
2909         * BufferView.[Ch]:
2910         * BufferView_pimpl.[Ch]:
2911         * ParagraphParameters.C:
2912         * bufferview_funcs.C:
2913         * lyx_cb.C:
2914         * lyxfind.C:
2915         * lyxfunc.C:
2916         * text.C:
2917         * text2.C:
2918         * text3.C: replace "complicated" BufferView::update(...) calls with
2919         simpler ones.
2920
2921         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2922
2923 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2924
2925         * Makefile.am (lyx_SOURCES): add paper.h
2926
2927 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2928
2929         * Makefile.am: move things around so that both lyx-qt and
2930         lyx-xforms can be built (according to --with-frontend). Then lyx
2931         is a symbolic link to lyx-[firstfrontend]
2932
2933 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2934
2935         * Always use std::endl with lyxerr
2936
2937 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2938
2939         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2940
2941 2003-08-01  André Pönitz  <poenitz@gmx.net>
2942
2943         * BufferView.[Ch]:
2944         * BufferView_pimpl.[Ch]:
2945         * lyxfunc.C:
2946         * text3.C: merge BufferView::repaint() and BufferView::update()
2947
2948 2003-08-01  José Matos  <jamatos@lyx.org>
2949
2950         * buffer.[Ch]: file_format is no longer a buffer data element.
2951
2952 2003-08-01  André Pönitz  <poenitz@gmx.net>
2953
2954         * BufferView.C:
2955         * lyxtext.h:
2956         * text.C:
2957         * text2.C: make redoParagraph more independent of current cursor
2958
2959         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2960         * text.C:
2961         * text2.C: remove unneeded members
2962
2963 2003-07-30  André Pönitz  <poenitz@gmx.net>
2964
2965         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2966
2967         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2968           create a single function...
2969
2970         * paragraph_funcs.C (moveItem): ... here.
2971
2972         * text.C:
2973           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2974
2975 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2976
2977         * LColor.[Ch]: Add comment and greyedout logical colors.
2978
2979 2003-07-30  André Pönitz  <poenitz@gmx.net>
2980
2981         * tabular.C: don't use Assert too heavily. This crashes where it
2982           shouldn't
2983
2984 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2985
2986         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2987         is disabled (bug 1232)
2988
2989 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2990
2991         * factory.C: limited 'arg' scope
2992
2993 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2994
2995         * factory.C: fixed Note submenu issues
2996
2997 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2998
2999         * factory.C: submenu for Note/Comment/Greyedout
3000
3001 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
3002
3003         * lyx_main.C (LyX):
3004         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3005
3006 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
3007
3008         * LaTeXFeatures.C:
3009         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3010         greyedout. Patch provided by Jürgen Spitzmüller.
3011
3012 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3013
3014         * kbmap.C (read): fix error message when reading bind files
3015
3016 2003-07-29  Angus Leeming  <leeming@lyx.org>
3017
3018         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3019         certainly does not do what it purports to do. I am doing it, and
3020         us, a favour by killing it.
3021
3022 2003-07-28  José Matos  <jamatos@lyx.org>
3023
3024         * buffer.C (readBody, do_writeFile):
3025         * paragraph.C(readParagraph): \end_document replaces \the_end.
3026
3027 2003-07-29  André Pönitz  <poenitz@gmx.net>
3028
3029         * BufferView.[Ch]:
3030         * BufferView_pimpl.[Ch]:
3031         * lyxfunc.C:
3032         * text2.C:
3033         * text3.C:
3034         * textcursor.[Ch]: remove toggleToggle & Co
3035
3036 2003-07-28  José Matos  <jamatos@fep.up.pt>
3037
3038         * buffer.C (readParagraph):
3039         * params_func (readParToken, readParagraph):
3040         * paragraph.C (write): \layout -> \begin_layout.
3041
3042 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3043
3044         * lyxlex_pimpl.C (setFile): clean up slightly.
3045
3046         * bufferparams.h: add compressed var
3047
3048         * buffer_funcs.C (readFile): adjust for LyXLex change
3049         (newFile): ditto + simplify
3050
3051         * buffer.C (writeFile): handle writing of compressed files
3052
3053         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3054         Check if the file is compressed and set a bufferparm if so.
3055
3056         * Makefile.am (lyx_LDADD): remove explicit -lz
3057
3058 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3059
3060         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3061         makeDocBookFile): put the real LyX version in the first line of
3062         the file
3063
3064         * version.h:
3065         * version.C.in: remove lyx_docversion
3066
3067         * tabular.C (write_attribute): add a template-based version to
3068         write enums properly
3069
3070 2003-07-28  André Pönitz  <poenitz@gmx.net>
3071
3072         * lyxtext.h:
3073         * text.C:
3074         * text2.C:
3075         * text3.C: use doubles again for x-coordinates. They are needed.
3076
3077 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3078
3079         * messages.C (getLocaleDir): use lyx_localedir()
3080
3081         * lyxlex_pimpl.C (setFile): compress stuff
3082
3083         * buffer.C (writeFile): add some compression stuff
3084         (do_writeFile): new func, dont call expliti close... will this
3085         breake anything?
3086
3087         * Makefile.am (lyx_LDADD): add -lz
3088
3089 2003-07-28  José Matos  <jamatos@fep.up.pt>
3090
3091         * buffer.C: increment file format.
3092         * paragraph_funcs (readParagraph, readParToken):
3093         * paragraph.C (readParagraph): add \end_layout.
3094
3095 2003-07-27  Angus Leeming  <leeming@lyx.org>
3096
3097         * Makefile.am: remove special casing for configure-time setting of
3098         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3099
3100         * lyx_main.C (init): remove all Jean-Marc's magic setting of
3101         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3102
3103 2003-07-26  André Pönitz  <poenitz@gmx.net>
3104
3105         * paragraph_func.[Ch]:
3106         * paragraph.C (realizeFont): inline it whereever it is used
3107
3108         * rowpainter.C:
3109         * text.C:
3110         * text2.C:
3111         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3112
3113
3114 2003-07-26  André Pönitz  <poenitz@gmx.net>
3115
3116         *       lyxtext.h:
3117         * text.C:
3118         * text2.C: get rid of LyXText::need_break_row
3119
3120 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3121
3122         * toc.[Ch]: put namespace toc inside namespace lyx
3123
3124         * MenuBackend.C (expandToc2): adjust for lyx::toc
3125         (expandToc): ditto
3126
3127         * lyxfunc.C (dispatch): adjust for lyx::find
3128
3129         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3130         lyx::find instead. Reorganize a bit.
3131         (LyXReplace): rename to replace
3132         (LyXFind): rename to find
3133
3134         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3135         (dispatch): ditto
3136
3137 2003-07-26  André Pönitz  <poenitz@gmx.net>
3138
3139         * text.C (setHeightOfRow): restrict scope of temporary variable
3140
3141         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
3142           code (never has been used?)
3143
3144 2003-07-27  Asger Alstrup  <alstrup@local>
3145
3146         * text.C (fill): Optimise algorithm to exploit that we can reuse
3147         the LyXFont for many characters.
3148         (setHeightOfRow): Same thing.
3149         (rowBreakPoint): Same thing.
3150
3151 2003-07-26  Asger Alstrup  <alstrup@local>
3152
3153         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3154
3155         * text.C (singleWidth): Spurious font copying in hot-spot
3156         singleWidth avoided. Reorder tests for arabic for efficiency.
3157
3158         * text.C (fill): handle empty paragraphs better.
3159
3160 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3161
3162         * ispell.C:
3163         * encoding.h: add includes
3164
3165         * lyxrc.C: remove reading of bind files
3166
3167         * lyx_main.C (init): setup bindings and menus only if we have a
3168         gui.
3169
3170         * kbmap.C (read): new method. Do the actual reading of bind
3171         files.
3172
3173         * converter.C (dvipdfm_options):
3174         * bufferparams.C:
3175         * lyxrc.C (read):
3176         (output): adapt PAPER_* enums.
3177
3178         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3179
3180         * bufferparams.h: remove paper-related enums from there
3181
3182         * paper.h: New file. A trivial header file to hold paper-related
3183         enums. It should later expand to contain many paper-related
3184         horrors access.
3185
3186         * lyxrc.C: declare extern displayTranslator
3187
3188 2003-07-27  José Matos  <jamatos@fep.up.pt>
3189
3190         * tabular.[Ch] (linuxdoc): add support for tables and figures
3191         (linuxdoc).
3192
3193 2003-07-27  José Matos  <jamatos@fep.up.pt>
3194
3195         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3196         consistency in both functions.
3197         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3198
3199 2003-07-26  Asger Alstrup  <alstrup@local>
3200
3201         * rowpainter.C (paintRows): Change algorithm to work directly on
3202         the insets rather than asking every character in the document
3203         whether its an inset.
3204
3205 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
3206
3207         * buffer.C (openFileWrite): factorize some code
3208
3209 2003-07-26  Angus Leeming  <leeming@lyx.org>
3210
3211         * lyx_cb.C:
3212         * lyx_main.[Ch]: replace occurances of system_tempdir with
3213         os::getTmpDir().
3214
3215 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3216
3217         * rename Inset to InsetOld
3218
3219 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
3220
3221         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3222         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3223         which I think is a bit clearer. EDIT is gone, since it was
3224         premature optimisation, and broken for mathed anyway.
3225         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3226         with cursor positioning in insets as well (math insets still do not
3227         work, but that's a different story anyway.) It mysteriously
3228         crashes sometimes with undo in the first paragraph, but I'm fairly
3229         confident that this is a compiler bug.
3230
3231 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3232
3233         * paragraph.C (Paragraph): adjust for new clone return type
3234         (operator==): ditto
3235         (copyIntoMinibuffer): ditto
3236
3237 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
3238
3239         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3240         by not having a special case, and always doing a full rebreak of
3241         the document after undo.
3242
3243 2003-07-23  Angus Leeming  <leeming@lyx.org>
3244
3245         * factory.C (createInset): InsetExternal::setParams now takes a
3246         Buffer const * arg.
3247
3248 2003-07-23  Angus Leeming  <leeming@lyx.org>
3249
3250         * factory.C (createInset): changed interface to the external and
3251         graphics mailers' string2params functions.
3252
3253 2003-07-23  Angus Leeming  <leeming@lyx.org>
3254
3255         * factory.C (createInset): pass a
3256         Buffer const * parameter to InsetExternalMailer's string2params.
3257
3258 2003-07-22  John Levon  <levon@movementarian.org>
3259
3260         * Thesaurus.h: include the right aiksaurus header
3261
3262 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3263
3264         * MenuBackend.C (expand): check menu shortcuts unconditionally
3265
3266 2003-07-21  Angus Leeming  <leeming@lyx.org>
3267
3268         * factory.C (createInset): pass a
3269         buffer_path parameter to InsetGraphicsMailer's string2params.
3270
3271 2003-07-21  Angus Leeming  <leeming@lyx.org>
3272
3273         * BufferView_pimpl.C (buffer):
3274         * buffer.C (d-tor):
3275         * lyx_main.C (LyX):
3276         * lyxfunc.C (dispatch):
3277         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3278         rather than the grfx shortcut.
3279
3280 2003-07-21  André Pönitz  <poenitz@gmx.net>
3281
3282         * rowpainter.C: remove unused variables
3283
3284         * tabular_funcs.C:
3285         * tabular_funcs.h: move to tabular.C
3286         * Makefile.am: adjust
3287
3288         * tabular.[Ch]: basic optical cleaning
3289
3290         * author.h: pass references, not values
3291
3292 2003-07-18  André Pönitz  <poenitz@gmx.net>
3293
3294         * lyxtext.h:
3295         * metricsinfo.C:
3296         * metricsinfo.h:
3297         * rowpainter.C:
3298         * text.C:
3299         * text2.C:
3300         * text3.C: two-phase drawing for InsetText and InsetTabular
3301         some float -> int changes.
3302
3303 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3304
3305         * lyx_main.C: fix the fix
3306
3307 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3308
3309         * lyx_main.C: fix a crash in batch mode if no files specified
3310         * converter.C: ws
3311
3312 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
3313
3314         * format.[Ch] (papersize): moved to BufferParams
3315         * converter.[Ch] (dvips_options): moved to BufferParams
3316         (dvipdfm_options): moved to anon namespace
3317         * bufferparams.[Ch]: added above functions.
3318
3319 2003-07-17  André Pönitz  <poenitz@gmx.net>
3320
3321         * lyxtext.h:
3322         * rowpainter.C:
3323         * text2.C: don't call inset->update() anymore
3324
3325         * metricsinfo.[Ch]: add convenience constructor
3326
3327 2003-07-16  André Pönitz  <poenitz@gmx.net>
3328
3329         * lyxcursor.[Ch]:
3330         * lyxfunc.[Ch]:
3331         * text.C:
3332         * text2.C: replace the LyXCursor::irow_ member with
3333          on-demand computation of the value
3334
3335 2003-07-16  John Levon  <levon@movementarian.org>
3336
3337         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3338
3339 2003-07-15  André Pönitz  <poenitz@gmx.net>
3340
3341         * text.C:
3342         * text2.C: remove no more needed refresh_row
3343
3344 2003-07-15  André Pönitz  <poenitz@gmx.net>
3345
3346         * lyxtext.h:
3347         * rowpainter.C:
3348         * text2.C:
3349         * text3.C: refresh_status tristate -> need_update bool
3350
3351 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
3352
3353         * lyxtext.h (init): remove reinit argument (act as if always true)
3354         * text2.C: adjust to that
3355
3356 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3357
3358         * bufferview_funcs.[Ch]: introduce function replaceSelection()
3359         * text3.C: use it to delete selections in some cases
3360         (bugs 441, 673, 702, 954).
3361
3362 2003-07-14  André Pönitz  <poenitz@gmx.net>
3363
3364         * rowpainter.[Ch]: reduce interface
3365
3366 2003-07-14  André Pönitz  <poenitz@gmx.net>
3367
3368         * BufferView_pimpl.C:
3369         * text2.C: adjust after removing unused BufferView * argument
3370
3371 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
3372
3373         * text2.C (init): fix a crash fired on resize
3374
3375 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
3376
3377         * buffer.[Ch]: added new closing signal
3378         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3379         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3380         BufferView::Pimpl via the closing the signal
3381
3382 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
3383
3384         * buffer.[Ch]: take out all bv-related from buffer
3385         * BufferView.C:
3386         * BufferView_pimpl.[Ch]: connect to new signals
3387         * CutAndPaste.C: removed useless asserts
3388         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3389         * lyxvc.[Ch]:
3390         * vc-backend.[Ch]:
3391         * lyxfunc.C: moved view-related funciontality from vc here
3392         * paragraph.C: removed outdated comments
3393         * text.C: ws
3394
3395 2003-07-10  André Pönitz  <poenitz@gmx.net>
3396
3397         * BufferView_pimpl.C:
3398         * tabular.h:
3399         * tabular_funcs.C:
3400         * text.C:
3401         * text2.C: remove InsetText::InnerCache, clean up consequences
3402
3403 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
3404
3405         * ispell.C: fix two typos in error messages
3406
3407 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
3408
3409         * Extend Note inset to other forms of annotation like Comment
3410         and Greyedout. Right button click gives dialog.
3411
3412         Files modified or added (+):
3413
3414         * insetnote.[Ch]
3415         * FormNote.[Ch]      +
3416         * ControlNote.[Ch]   +
3417         * form_note.fd       +
3418         * Makefile.am in frontends/xforms, frontends/xforms/forms,
3419         frontends/controllers
3420         * xforms/Dialogs.C
3421         * factory.C
3422
3423 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3424
3425         * aspell.C: add missing namespace lyx::support
3426
3427 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
3428
3429         * BufferView.[Ch] (newFile): Add
3430         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3431         * LaTeX.[Ch] (message): added this signal and use it
3432         * buffer.[Ch] (busy, message): added these signals and use them
3433         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3434         * converter.C:
3435         * exporter.C:
3436         * format.C:
3437         * importer.C: use buffer signals instead of direct bv calling
3438         * lyx_cb.[Ch] (ShowMessage): removed
3439         * lyx_main.C:
3440         * lyxfunc.C:
3441         * paragraph_funcs.C:
3442         * text2.C: use buffer signals
3443
3444 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3445
3446         * introduce namespace lyx::graphics
3447
3448 2003-07-02  André Pönitz  <poenitz@gmx.net>
3449
3450         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3451
3452 2003-07-01  André Pönitz  <poenitz@gmx.net>
3453
3454         * text.C:
3455         * text2.C:
3456         * text3.C:
3457         * text_funcs.[Ch]:
3458         * textcursor.h:
3459         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3460           text*.C to text_func.C
3461
3462 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3463
3464         * introduce namespace lyx::support
3465
3466 2003-06-30  André Pönitz  <poenitz@gmx.net>
3467
3468         * Chktex.C:
3469         * funcrequest.C:
3470         * lyxtext.h:
3471         * text.C: re-enable --with-included-string
3472
3473 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3474
3475         * textcursor.C: add <config.h>
3476
3477         * text.C (getWord): remove const from word_location arg
3478
3479         * lyxvc.C (getLogFile): fix const type order
3480
3481         * lyxtext.h: remove const from word_location arg, add arg name
3482
3483         * lyxlayout.h: currect type on labeltype.
3484
3485         * importer.C: correct \file
3486
3487         * converter.C (intToFormat): use std:: on ret val, ws changes
3488
3489         * bufferlist.h: correct \file
3490
3491         * buffer.C (makeLinuxDocFile): fix const type order
3492         (makeDocBookFile): ditto
3493         (fillWithBibKeys): use std:: on stdlib args.
3494
3495         * CutAndPaste.C: fix authors.
3496         (availableSelections): use std:: on return vector
3497
3498 2003-06-27  André Pönitz  <poenitz@gmx.net>
3499
3500         * BufferView_pimpl.C:
3501         * bufferview_funcs.C:
3502         * lyxcursor.C:
3503         * lyxcursor.h:
3504         * lyxfunc.C:
3505         * lyxtext.h:
3506         * rowpainter.C:
3507         * text.C:
3508         * text2.C:
3509         * text3.C: remove LyXCursor::row_ member
3510
3511         * lyxtext.h:
3512         * text.C: rename fullRebreak() to partialRebreak() and implement
3513           a fullRebreak() that really bereks fully
3514
3515         * textcursor.h: new struct for cursor-related data
3516
3517 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
3518
3519         * lyx_main.C (LyX): get full path of document loaded on the
3520         command line
3521
3522 2003-06-26  André Pönitz  <poenitz@gmx.net>
3523
3524         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3525           remove unused/broken operator>,<,>=.
3526
3527         *       text.C: remove only use of broken operator<= in an Assert().
3528
3529 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3530
3531         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3532         moved errorlist_.clear to showErrorList
3533
3534 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3535
3536         * converter.C (scanLog, runLaTeX):
3537         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3538         move the bv->showErrorList call to the callers
3539         * lyxfunc.C: i.e. here...
3540         * text2.C: and here
3541         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3542         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3543         namespace, the second to...
3544         * buffer_funcs (BufferFormat, parseErrors): added
3545         * errorlist.C (ErrorList(TeXErrors const &)): removed
3546
3547 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3548
3549         * ToolbarBackend.C (getIcon): complain when icon cannot be found
3550
3551 2003-06-24  "Garst R. Reese" <reese@isn.net>
3552
3553         * debug.C: fix typo
3554
3555 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3556
3557         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3558
3559         * version.C.in: change docversion to 1.4
3560
3561 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
3562
3563         * buffer.C: fix a bug just introduced
3564
3565 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
3566
3567         * buffer.[Ch]: added the parseError signal and use it, removed
3568         sgmlError
3569         * BufferView.[Ch] (addError): moved to ...
3570         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3571         to the Buffer::parseError signal to catch (guess what) parse errors
3572         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3573
3574 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
3575
3576         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3577         ability to create a buffer and to return an existing one from
3578         the list. Moved these functions to...
3579         * buffer_funcs.[Ch]: added
3580         * BufferView.[Ch] (loadLyXFile): added
3581         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3582         job removed from bufferlist::loadLyXFile.
3583         * buffer.C (setReadOnly): make it work without view
3584         (i.e added an if (users))
3585
3586 2003-06-19  Angus Leeming  <leeming@lyx.org>
3587
3588         * lfuns.h:
3589         * LyXAction.C (init):
3590         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3591         with LFUN_DIALOG_SHOW <name> <data>.
3592
3593 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3594
3595         * CutAndPaste.C (availableSelections): small compilation fix for
3596         ancient (gcc 2.9x) compilers
3597
3598 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3599
3600         * text3.C (cursorNext): add tmp var
3601
3602         * text2.C (updateCounters): for function calling out of for clause
3603         (replaceSelectionWithString): ditto
3604         (insertStringAsParagraphs): ditto
3605         (getColumnNearX): add tmp var
3606         (setCursorFromCoordinates): add tmp var
3607         (cursorDownParagraph): add tmp var
3608         (deleteEmptyParagraphMechanism): add tmp var
3609
3610         * text.C (insertChar): add tmp var
3611
3612         * rowpainter.C (paintDepthBar): add tmp var
3613
3614         * CutAndPaste.C (availableSelections): potentially check all
3615         paragraphs in a cut to fill the shown strings.
3616
3617 2003-06-18  André Pönitz  <poenitz@gmx.net>
3618
3619         * kbmap.[Ch]: use vector<> instead of list<>
3620
3621 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
3622
3623         * text3.C (dispatch): handle arg to LFUN_PASTE, call
3624         pasteSelection with index
3625
3626         * text2.C (pasteSelection): modify, call pasteSelection with index
3627
3628         * paragraph.C (asString): reimplement version with no interval to
3629         call the one with interval.
3630
3631         * lyxtext.h: add index arg to pasteSelection
3632
3633         * MenuBackend.C (MenuItem): handle PasteRecent
3634         (Menu::read::Menutags): add md_pasterecent
3635         (read): handle it
3636         (expandPasteRecent): new function
3637         (expand): use it
3638
3639         * MenuBackend.h: add PasteRecent to MenuItem::Kind
3640
3641         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3642         the limited stack
3643         (availableSelections): new function
3644
3645 2003-06-17  Angus Leeming  <leeming@lyx.org>
3646
3647         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3648
3649 2003-06-17  Angus Leeming  <leeming@lyx.org>
3650
3651         * lfuns.h:
3652         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3653
3654         * lyxfunc.C (dispatch): invoke it.
3655
3656 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3657
3658         * iterators.C (operator++, ParPosition): reintroduce some
3659         const_cast for the benefit of older compilers.
3660
3661 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3662
3663         * text3.C (dispatch): do not modify clipboard when doing
3664         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3665         LFUN_DELETE_SKIP on a selection selection
3666
3667 2003-06-16  André Pönitz  <poenitz@gmx.net>
3668
3669         * BufferView.C:
3670         * buffer.C:
3671         * buffer.h:
3672         * paragraph.C:
3673         * tabular.[Ch]: IU of clone() and getLabelList();
3674
3675 2003-06-13  André Pönitz  <poenitz@gmx.net>
3676
3677         * tabular.h: compactification
3678
3679 2003-06-12  André Pönitz  <poenitz@gmx.net>
3680
3681         * tabular.C:
3682         * tabular.h:
3683         * tabular_funcs.h: some renaming plus whitespace
3684
3685 2003-06-12  André Pönitz  <poenitz@gmx.net>
3686
3687         * BufferView.C:
3688         * BufferView_pimpl.C:
3689         * CutAndPaste.C:
3690         * buffer.C:
3691         * iterators.[Ch]:
3692         * lyxfunc.C:
3693         * text.C:
3694         * toc.C: Return a Paragraph & for ParIterator::operator*()
3695
3696 2003-06-11  John Levon  <levon@movementarian.org>
3697
3698         * lyx_main.C:
3699         * ToolbarBackend.h:
3700         * ToolbarBackend.C: add "Toolbars" section and
3701         put the flags there
3702
3703 2003-06-10  Angus Leeming  <leeming@lyx.org>
3704
3705         * lfuns.h:
3706         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3707
3708         * lyxfunc.C (dispatch): invoke it.
3709
3710 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3711
3712         * main.C: protect <ios> with HAVE_IOS
3713         (main): protect sync_with_stdio with HAVE_IOS
3714
3715 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
3716
3717         * text2.C (cutSelection): adjust
3718         (pasteSelection): adjust
3719
3720         * messages.C: handle get of empty string
3721
3722         * main.C (main): use sync_with_stdio(false)
3723
3724         * lyxfunc.C (dispatch): adjust
3725
3726         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3727         (WriteAs): remove unneeded BufferView arg.
3728
3729         * bufferparams.h: use correct types on papersize, papersize2 and
3730         paperpackage.
3731
3732         * bufferparams.C (readToken): adjust for type
3733         (writeLaTeX): add missing cases to switch.
3734
3735         * bufferlist.C (quitWriteBuffer): adjust
3736         (close): adjust
3737
3738         * buffer.C (asciiParagraph): remove some commented code.
3739
3740         * CutAndPaste.C: remove current_view extern variable.
3741         (cutSelection): add BufferParams arg.
3742         (eraseSelection): add BufferParams arg.
3743         (pasteSelection): add Buffer const & arg
3744
3745 2003-06-07  John Levon  <levon@movementarian.org>
3746
3747         * buffer.C:
3748         * paragraph_funcs.C:
3749         * paragraph_pimpl.C:
3750         * text.C:
3751         * text2.C:
3752         * paragraph.h:
3753         * paragraph.C: allow InsetERT to freely space lines,
3754         and some consolidation of code
3755
3756 2003-06-06  José Matos  <jamatos@fep.up.pt>
3757
3758         * buffer.C (makeDocBookFile): fix bug #821
3759
3760 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
3761
3762         * BufferView_pimpl.C (dispatch): use Dialogs::visible
3763
3764 2003-06-04  Angus Leeming  <leeming@lyx.org>
3765
3766         * buffer.C: bump format to 224.
3767
3768 2003-06-05  André Pönitz  <poenitz@gmx.net>
3769
3770         * text2.C (redoParagraphs): remove two const_cast<>
3771
3772 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3773
3774         * ParagraphList.h: remove last remnants of NO_STD_LIST
3775
3776 2003-06-03  Angus Leeming  <leeming@lyx.org>
3777
3778         * factory.C (createInset): small change to the way InsetExternal's params
3779         are set.
3780
3781 2003-06-04  André Pönitz  <poenitz@gmx.net>
3782
3783         * buffer.h: use Undo directly instead of shared_ptr<Undo>
3784
3785         * paragraph_pimpl.h:
3786         * paragraph.[Ch]: some Inset -> UpdatableInset changes
3787
3788         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3789
3790         * undo_funcs.C: make some simple cases of undo work again
3791
3792 2003-06-03  John Levon  <levon@movementarian.org>
3793
3794         * ispell.C: HPUX doesn't have sys/select.h
3795         (from Albert Chin)
3796
3797 2003-06-03  John Levon  <levon@movementarian.org>
3798
3799         * CutAndPaste.C: update tabular and include inset
3800         buffer references
3801
3802         * buffer.h:
3803         * paragraph.h:
3804         * paragraph.C: remove owningBuffer(), don't pass Buffer
3805         to clone()
3806
3807         * factory.C: insetGraphicsParams changed
3808
3809 2003-06-02  John Levon  <levon@movementarian.org>
3810
3811         * LyXAction.C:
3812         * factory.C:
3813         * lfuns.h:
3814         * lyxfunc.C:
3815         * text3.C: remove insetparent
3816
3817 2003-06-02  John Levon  <levon@movementarian.org>
3818
3819         * buffer.h:
3820         * buffer.C: fix inset_iterator.end(), move out of line
3821         (bug 1149)
3822
3823 2003-06-01  John Levon  <levon@movementarian.org>
3824
3825         * text3.C: use a proper cut/paste when doing inset
3826         insert (from Jürgen Spitzmüller)
3827
3828 2003-06-01  John Levon  <levon@movementarian.org>
3829
3830         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3831
3832 2003-05-30  André Pönitz  <poenitz@gmx.net>
3833
3834         * rowpainter.C: unify second drawing phase
3835
3836 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3837
3838         * trans_mgr.C: remove one case of current_view
3839
3840         * text2.C (cursorBottom): delete NO_STD_LIST stuff
3841
3842         * paragraph_funcs.h: remove paragraph.h include
3843
3844         * paragraph.h: delete NO_STD_LIST stuff
3845
3846         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3847
3848         * buffer.h: remove paragraph.h include
3849
3850         * ParagraphList.C: delete file
3851
3852         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3853
3854         * toc.C (getTocList): adjust
3855
3856         * paragraph_pimpl.C (validate): adjust
3857
3858         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3859
3860         * paragraph.C (Paragraph): adjust
3861         (getPositionOfInset): use const_iterator, adjust
3862         (bibitem): use const_iterator, adjust
3863         (setInsetOwner): adjust
3864
3865         * iterators.C (operator++): adjust
3866
3867         * InsetList.[Ch]: Replace selfmade iterator with standard
3868         vector::iterator also introduce const_iterator. Remove getPos,
3869         getInset and setInset from InsetTable. Adjust accordingly.
3870
3871         * BufferView.C (lockInset): adjust
3872         (ChangeInsets): adjust
3873
3874         * tabular.[Ch]: delete commented same_id functions
3875
3876 2003-05-28  John Levon  <levon@movementarian.org>
3877
3878         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3879
3880 2003-05-28  André Pönitz  <poenitz@gmx.net>
3881
3882         * metricsinfo.[Ch]: remove 'fullredraw' member
3883
3884 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3885
3886         * lyxtextclass.C (operator): remove caching.
3887
3888 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3889
3890         * text3.C: adjust
3891
3892         * text2.C (cursorBottom): adjust
3893         (setCounter): use ParagraphList::find, adjust
3894
3895         * text.C (workWidth): use ParagraphList::find, adjust
3896
3897         * lyxcursor.C (LyXCursor): adjust
3898
3899         * buffer.C (inset_iterator): adjust
3900
3901         * ParagraphList.h: make iterator(value_type) private, make
3902         ParagraphList a friend of iterator.
3903
3904         * ParagraphList.C (find): new function
3905
3906         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3907
3908 2003-05-27  André Pönitz  <poenitz@gmx.net>
3909
3910         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3911
3912 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3913
3914         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3915
3916 2003-05-26  John Levon  <levon@movementarian.org>
3917
3918         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3919
3920 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3921
3922         * remove same_id from function signatures, adjust.
3923
3924 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3925
3926         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3927
3928         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3929
3930         * paragraph.C (Paragraph): get rid of same_ids parameter
3931
3932         * ParagraphList.C (insert): adjust
3933         (push_back): adjust
3934
3935 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3936
3937         * paragraph_funcs.C (breakParagraph): adjust
3938         (breakParagraphConservative): adjust
3939
3940         * buffer.C (readParagraph): adjust
3941
3942         * ParagraphList.C (insert): take a reference instead of a pointer
3943         (insert): adjust
3944
3945         * paragraph.[Ch] (id): new function
3946
3947         * bufferlist.C (newFile): adjust
3948
3949         * ParagraphList.C (ParagraphList): adjust
3950         (assign): adjust
3951         (push_back): take a reference instead of a pointer.
3952
3953         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3954
3955         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3956         instead.
3957
3958         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3959         set else use old code.
3960
3961         * ParagraphList.C: remove all NO_NEXT code and only compile this
3962         code of NO_STD_LIST is set.
3963
3964 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3965
3966         * BufferView_pimpl.C:
3967         * TextCache.C:
3968         * TextCache.h:
3969         * bufferlist.C:
3970         * errorlist.h:
3971         * format.C:
3972         * format.h:
3973         * graph.C:
3974         * lyxfunc.C:
3975         * lyxrc.C:
3976         * graphics/GraphicsConverter.C:
3977         * graphics/PreviewLoader.C: header adjustment
3978
3979 2003-05-23  Angus Leeming  <leeming@lyx.org>
3980
3981         * LaTeXFeatures.[Ch] (useBabel): new method.
3982         * bufferparams.C (writeLaTeX): use it.
3983
3984 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3985
3986         * ParagraphList.h (set): remove unused function.
3987
3988 2003-05-23  André Pönitz  <poenitz@gmx.net>
3989
3990         * BufferView.C:
3991         * BufferView_pimpl.C:
3992         * buffer.C:
3993         * buffer.h:
3994         * lyxfunc.C:
3995         * undo_funcs.C: setUndo reworked
3996
3997         * iterators.[Ch]: add access to topmost ParagraphList
3998
3999         * lyxtext.[Ch] (workWidth): add a const
4000
4001 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4002
4003         * texrow.[Ch] (increasePos): remove function
4004         * exporter.C (export): removed unused var and outdated comment
4005
4006 2003-05-23  Angus Leeming  <leeming@lyx.org>
4007
4008         * latexrunparams.h: rename fragile as moving_arg.
4009         * paragraph.C (simpleTeXOnePar): ditto.
4010         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4011
4012 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4013
4014         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4015         (createUndo): ditto
4016         (textUndoOrRedo): comment out a currently unused var.
4017
4018         * paragraph.h (NO_NEXT): enable NO_NEXT
4019
4020         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4021
4022         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4023
4024         * exporter.C (Export): adjust for removeAutoInsets removal.
4025
4026         * buffer.C (runChktex): adjust for removeAutoInsets removal.
4027
4028         * LyXAction.C (init): remove LFUN_REMOVEERRORS
4029
4030         * BufferView.[Ch] (removeAutoInsets): delete function
4031
4032 2003-05-22  Angus Leeming  <leeming@lyx.org>
4033
4034         * latexrunparams.h: add a free_spacing variable.
4035
4036         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4037         to pass moving_arg, as the data is stored in runparams.fragile.
4038
4039         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4040         to Inset::latexOptional or to simpleTeXOnePar.
4041
4042         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4043         free_spacing arg to Inset::latexOptional.
4044
4045         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4046         free_spacing arg.
4047
4048 2003-05-22  Angus Leeming  <leeming@lyx.org>
4049
4050         * latexrunparams.h: add fragile and use_babel variables.
4051
4052         * bufferparams.[Ch] (writeLaTeX): return use_babel.
4053         * buffer.C (makeLaTeXFile): store this returned value in
4054         runparams.use_babel, thus passing it to the inset::latex methods.
4055
4056         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4057         simpleTeXSpecialChars as it is now stored in runparams.fragile.
4058
4059         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4060         longer has a fragile arg, as it is stored in runparams.fragile.
4061
4062         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4063         moving_arg parameter as the data is stored in runparams.fragile.
4064
4065         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4066         a fragile parameter as the data is stored in runparams.fragile.
4067
4068 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4069
4070         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4071
4072 2003-05-22  Angus Leeming  <leeming@lyx.org>
4073
4074         * latexrunparams.h: add a 'bool nice' which defaults to false.
4075
4076         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4077         now encapsulated within runparams.
4078
4079         * bufferlist.C (updateIncludedTeXfiles):
4080         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4081
4082 2003-05-22  Angus Leeming  <leeming@lyx.org>
4083
4084         * latexrunparams.h: new file containing struct LatexRunParams.
4085         * Makefile.am: add new file.
4086
4087         * LaTeX.[Ch] (c-tor, run):
4088         * buffer.[Ch] (makeLaTeXFile):
4089         * bufferlist.[Ch] (updateIncludedTeXfiles):
4090         * converter.C (convert, scanLog):
4091         * converter.[Ch] (runLaTeX):
4092         * exporter.C (Export):
4093         * paragraph.[Ch] (simpleTeXOnePar):
4094         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4095         * paragraph_funcs.[Ch] (latexParagraphs):
4096         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4097         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4098         pass around a LatexRunParams parameter.
4099
4100 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4101
4102         * paragraph.[Ch]: remove unused constructor
4103
4104         * ParagraphList.C (erase): new function, taking two iterators
4105
4106 2003-05-22  André Pönitz  <poenitz@gmx.net>
4107
4108         * undo_funcs.C: remove duplicated code
4109
4110         * iterator.[Ch]: operator=
4111
4112 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4113
4114         * tabular.C (SetMultiColumn): ws changes
4115
4116         * rowpainter.C (paintFirst): get rid of a ->previous
4117
4118         * lyx_cb.C (getPossibleLabel): parlist simplification
4119
4120         * BufferView.C (ChangeInsets): simplify slightly.
4121
4122 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4123
4124         * LyXAction.C: new lfun space-insert, kill protected-space-insert
4125         * lfuns.h: new LFUN_SPACE
4126         * lyxfunc.C: protected space has a new lfun
4127         * paragraph_funcs.C: read new space insets
4128         * text3.C:
4129         * factory.C: handle new space insets
4130
4131 2003-05-22  André Pönitz  <poenitz@gmx.net>
4132
4133         * BufferView.C:
4134         * BufferView_pimpl.C:
4135         * buffer.[Ch]:
4136         * lyxfunc.C:
4137         * undo_funcs.C: return a ParIterator from getParFromID.
4138
4139         * iterators.[Ch]: add two const's
4140
4141 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4142
4143         * toc.C (getTocList): adjust
4144
4145         * iterators.[Ch]: rework for parlist
4146
4147         * buffer.C (par_iterator_begin): adjust
4148         (par_iterator_end): adjust
4149
4150         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4151
4152         * BufferView.C (removeAutoInsets): adjust
4153         (ChangeInsets): adjust
4154
4155 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
4156
4157         * text.C (top_y): fix bug 1110
4158
4159 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
4160
4161         * errorlist.[Ch]: added
4162         * buffer.C:
4163         * BufferView.[Ch]:
4164         * BufferView_pimpl.C:
4165         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4166         instead
4167
4168 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4169
4170         * Makefile.am: ensure that lyx is relinked upon changes to the
4171         various "convenience" libs.
4172
4173 2003-05-20  Angus Leeming  <leeming@lyx.org>
4174
4175         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4176         files are compiled in alphabetical order again.
4177
4178         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4179
4180 2003-05-19  Angus Leeming  <leeming@lyx.org>
4181
4182         * gettext.[Ch]: remove "char const * _(char const *)".
4183
4184 2003-05-19  André Pönitz  <poenitz@gmx.net>
4185
4186         * dimension.[Ch]: promote from mathed/dimension.[Ch]
4187
4188         * Makefile.am:
4189         * BufferView.C:
4190         * DepTable.h:
4191         * LaTeXFeatures.C:
4192         * buffer.C:
4193         * lyxfont.C:
4194         * lyxlex.h:
4195         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4196
4197 2003-05-19  André Pönitz  <poenitz@gmx.net>
4198
4199         * buffer.C:
4200         * lyxlayout.[Ch]:
4201         * lyxtextclass.[Ch]:
4202         * paragraph.C:
4203         * paragraph_funcs.[Ch]:
4204         * text2.C:
4205         * text3.C: more insetenv work
4206
4207 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
4208
4209         * ParagraphParameters.C (params2string): small bug fixed
4210
4211 2003-05-16  André Pönitz  <poenitz@gmx.net>
4212
4213         * debug.C:
4214         * bufferview_funcs.C: patch from Kornel Benko to prevent
4215           crash when _(...) is called twice in a statement
4216
4217 2003-05-16  André Pönitz  <poenitz@gmx.net>
4218
4219         * BufferView.C:
4220         * lyxfunc.C:
4221         * text.C:
4222         * text2.C:
4223         * text3.C:
4224         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4225
4226 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
4227
4228         * lyx_main.C (init): remove spurious static_cast
4229
4230 2003-05-14  André Pönitz  <poenitz@gmx.net>
4231
4232         * BufferView.C: fix format string
4233
4234 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
4235
4236         * BufferView.[Ch] (insertErrors): removed
4237         * BufferView.[Ch] (showErrorList): added
4238         * buffer.C (runChkTeX):
4239         * converter.C (scanLog): call showErrorList instead of inserterrors
4240
4241 2003-05-13  André Pönitz  <poenitz@gmx.net>
4242
4243         * BufferView_pimpl.C:
4244         * buffer.C:
4245         * bufferview_func.C:
4246         * MenuBackend.C:
4247         * lyxfunc.C:
4248         * lyxrc.C:
4249         * tex-accent.C:
4250         * text3.C:
4251         * toc.C:
4252         * tabular_funcs.h: tostr() from its own header
4253
4254         * ParagraphParameters.C:
4255         * ToolbarBackend.C:
4256         * bufferparams.C:
4257         * format.C:
4258         * lyxlex_pimpl.C:
4259         * text3.C: STRCONV()
4260
4261 2003-05-12  André Pönitz  <poenitz@gmx.net>
4262
4263         * BufferView.C:
4264         * BufferView_pimpl.C:
4265         * CutAndPaste.C:
4266         * LaTeX.C:
4267         * LaTeXFeatures.C:
4268         * ParagraphParameters.C:
4269         * buffer.C:
4270         * bufferlist.C:
4271         * bufferparams.C:
4272         * bufferview_funcs.C:
4273         * converter.C:
4274         * counters.C:
4275         * debug.C:
4276         * exporter.C:
4277         * format.C:
4278         * importer.C:
4279         * lyx_cb.C:
4280         * lyx_main.C:
4281         * lyxfont.C:
4282         * lyxfunc.C:
4283         * lyxvc.C:
4284         * paragraph.C:
4285         * paragraph_funcs.C:
4286         * tabular.C:
4287         * tabular_funcs.C:
4288         * text2.C:
4289         * text3.C:  boost::format -> bformat  all over the place
4290
4291
4292 2003-05-09  André Pönitz  <poenitz@gmx.net>
4293
4294         * LColor.[Ch]: Pimpl the #include <map> away
4295
4296 2003-05-09  John Levon  <levon@movementarian.org>
4297
4298         * bufferlist.C: never remove emergency saves
4299
4300 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4301
4302         * Makefile.am: better lib building
4303
4304 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4305
4306         * texrow.[Ch]: remove dependency on Paragraph and just store a id
4307         instead.
4308         * paragraph_pimpl.C (simpleTeXBlanks): adjust
4309         (simpleTeXSpecialChars): adjust
4310         (simpleTeXSpecialChars): adjust
4311         * paragraph.C (simpleTeXOnePar): adjust
4312         * buffer.C (makeLaTeXFile): adjust
4313
4314         * Makefile.am (BOOST_LIBS): allow boost as system lib.
4315
4316         * text2.C (changeDepth): parlist cleanup
4317         (getColumnNearX): ditto
4318
4319         * rowpainter.C (getLabelFont): parlist cleanup
4320
4321         * bufferlist.C (newFile): parlist cleanup
4322
4323         * CutAndPaste.C (eraseSelection): parlist cleanup
4324
4325         * BufferView_pimpl.C (trackChanges): parlist cleanup
4326         (dispatch): ditto
4327
4328         * BufferView.C (lockInset): parlist cleanup.
4329         (ChangeInsets): ditto
4330
4331 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4332
4333         * CutAndPaste.h: Update file header.
4334
4335         * CutAndPaste.C: Update file header.
4336         Store the parts cut out of the Document in a limited_stack.
4337         (copySelection): adjust
4338         (pasteSelection): new function, takes the index in the limited stack.
4339         (nrOfParagraphs): adjust
4340         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4341         simplify error inset insertion.
4342         (checkPastePossible): adjust
4343
4344 2003-05-06  John Levon  <levon@movementarian.org>
4345
4346         * text2.C: don't cast wrap inset to float
4347
4348 2003-05-05  André Pönitz  <poenitz@gmx.net>
4349
4350         * iterator.C:
4351         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4352
4353         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4354           few naked Paragraph *.
4355
4356 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
4357
4358         * bufferparams.C: Output warning if a document with missing
4359         TeX document class is loaded
4360         * exporter.C: Disable TeX exports if the document class is missing
4361         * lyxtextclass.C:
4362         * lyxtextclass.h:
4363         * lyxtextclasslist.C: Handle new textclass.lst format; new method
4364         isTeXClassAvailable()
4365
4366 2003-05-03  John Levon  <levon@movementarian.org>
4367
4368         * BufferView.h:
4369         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4370         explicit cursor show/hide
4371
4372         * BufferView_pimpl.h:
4373         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4374         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4375
4376         * lyxfunc.C: hide cursor before dispatching.
4377
4378         * lyx_cb.C:
4379         * lyxfind.C:
4380         * text.C:
4381         * text3.C: remove explicit cursor hides
4382
4383 2003-05-02  André Pönitz  <poenitz@gmx.net>
4384
4385         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4386
4387         * undo_funcs.C:
4388         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4389           linked lists
4390
4391         * text2.C: tiny whitespace
4392
4393 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4394
4395         * undo_funcs.C: almost only ws changes.
4396
4397         * ParagraphList.C (splice): just return if pl is empty.
4398
4399 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4400
4401         * ParagraphList.C (splice): new function.
4402
4403         * CutAndPaste.C (pasteSelection): use it
4404
4405 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4406
4407         * CutAndPaste.C (pasteSelection): remove the last next and
4408         previous from this file.
4409
4410 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4411
4412         * CutAndPaste.C (pasteSelection): more clean up, user proper
4413         ParagraphList functions for pasteing.
4414
4415         * ParagraphList.C (insert): new function, three arg insert
4416
4417 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4418
4419         * ParagraphList.C (insert): new function, three arg insert
4420
4421         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4422         not on paragraphs.
4423
4424 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4425
4426         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4427
4428 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4429
4430         * CutAndPaste.C (pasteSelection): remove some unneeded code.
4431
4432 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4433
4434         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4435         (copySelection): clean up a bit.
4436         (pasteSelection): use make_pair
4437
4438         * ParagraphList.C (ParagraphList): implement copy constructor
4439         (operator=): implement, base on copy constructor.
4440         (assign): new func
4441
4442         * paragraph.C (erase): return a bool
4443
4444         * paragraph_pimpl.C (erasePos): remove function, move contents...
4445         (erase): ... here. Return a bool.
4446         (erase): call erase instead of erasePos.
4447
4448 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
4449
4450         * ParagraphList.h: define PitPosPair
4451         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4452         ParagraphList, fix a bug on pasting multiple pars
4453         * text2.C: change interface to C&P
4454
4455 2003-04-30  André Pönitz  <poenitz@gmx.net>
4456
4457         * undo_func.C: revert part of yesterday's patch 2
4458
4459 2003-04-30  John Levon  <levon@movementarian.org>
4460
4461         * LColor.C: s/tabular/table/
4462
4463 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4464
4465         * text3.C (dispatch): do not convert iterator -> pointer
4466         * undo_funcs.C (setCursorParUndo): ditto
4467         * text_funcs.C (transposeChars): ditto
4468
4469         * text2.C (setLayout): ws changes only
4470
4471         * text.C (breakParagraph): do not convert iterator -> pointer
4472         (insertChar): ditto
4473         (acceptChange): ditto
4474         (rejectChange): ditto
4475         (changeCase): ditto
4476         (Delete): ditto
4477         (backspace): ditto
4478
4479         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4480         pointer
4481
4482 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4483
4484         * text3.C (gotoInset): YABG (yet another bad getChar)
4485
4486 2003-04-29  André Pönitz  <poenitz@gmx.net>
4487
4488         * paragraph.h: make operator= private unimplemented as long as
4489           it is unusable
4490
4491         * ParagraphList.C: whitespace
4492
4493         * paragraph.[Ch]:
4494         * paragraph_pimpl.[Ch]:
4495         * paragraph_funcs.C:
4496         * CutAndPaste.C:
4497         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
4498
4499         * text2.C:
4500           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4501
4502 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4503
4504         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4505         * paragraph.[Ch] (erase):
4506         * paragraph_pimpl.[Ch] (erase): change return type and value
4507         * text2.C (cutSelection): some rework
4508
4509 2003-04-28  John Levon  <levon@movementarian.org>
4510
4511         * bufferlist.C: changes for unsaved changes dialog
4512
4513 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4514
4515         * bufferlist.C (newFile): set language (messages_) for new
4516         documents also.
4517
4518         * buffer.C (readFile): ws changes only.
4519
4520 2003-04-28  André Pönitz  <poenitz@gmx.net>
4521
4522         * undo_funcs.C:
4523         * lyxfunc.C:
4524         * buffer.[Ch]:
4525         * BufferView_pimpl.C:
4526         * BufferView.C: getParFromID related ParagraphList::iterator changes
4527
4528 2003-04-28  André Pönitz  <poenitz@gmx.net>
4529
4530         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4531           Changes
4532
4533 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4534
4535         * messages.C: remove one more localedir class variable.
4536
4537 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4538
4539         * messages.C (getLocaleDir): singleton generation function
4540         (Pimpl): use it.
4541         (Messages): add a default constructor.
4542
4543         * main.C (main): do not setup localedir here, do not call
4544         gettext_init.
4545
4546         * gettext.C (_): use it.
4547         (gettext_init): delete funciton
4548
4549 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4550
4551         * gettext.C (getLyXMessages): new singleton generating function.
4552
4553         * buffer.C (updateDocLang): adjust
4554
4555         * Makefile.am (messages.o): add target
4556         (main.o): remove target
4557
4558 2003-04-27  John Levon  <levon@movementarian.org>
4559
4560         * bufferlist.C:
4561         * lyx_cb.C:
4562         * lyxfunc.C:
4563         * lyxvc.C: specify cancel button in Alert::prompt
4564
4565 2003-04-26  John Levon  <levon@movementarian.org>
4566
4567         * text3.C:
4568         * lyxfunc.C:
4569         * lfuns.h:
4570         * LyXAction.C: add LFUN_INSET_SETTINGS
4571
4572         * lyxfunc.C: don't enable tabular-feature when there's
4573         just any locking inset
4574
4575 2003-04-26  John Levon  <levon@movementarian.org>
4576
4577         * bufferlist.C: re-add Cancel to buffer close question
4578
4579         * lyxfunc.C: fix import UI a bit
4580
4581 2003-04-25  John Levon  <levon@movementarian.org>
4582
4583         * gettext.C: remove the broken asserts for now
4584
4585 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4586
4587         * messages.C: make case where setlocale cannot comply work better.
4588
4589         * buffer.C (updateDocLang): new function
4590         (changeLanguage): use it
4591         (readFile): use it
4592
4593         * text2.C (setCounter): use B_ a bit.
4594
4595         * lyxlayout.C (Read): be sure to trim the label strings.
4596
4597         * messages.C (Messages): fix typo in comment
4598
4599         * buffer.C (readFile): set message_ after file is loaded.
4600         (makeDocBookFile): remove double return
4601         (changeLanguage): reset message_ upon language change.
4602         (B_): new func, use this to get translated buffer strings.
4603
4604         * main.C: add myself and Jean Marc as authors.
4605
4606 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4607
4608         * messages.[hC]: pimplify Messages, and three different pimpls to be
4609         used in different circumstances.
4610
4611         * gettext.[Ch]: change for use with new message code.
4612
4613 2003-04-24 André Pönitz <poenitz@gmx.net>
4614
4615         * factory.C: support for eqref
4616
4617 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4618
4619         * messages.[Ch]: add missing char
4620
4621         * Makefile.am (lyx_SOURCES): add messages.[Ch]
4622
4623         * messages.[Ch]: New files
4624
4625 2003-04-18  John Levon  <levon@movementarian.org>
4626
4627         * BufferView.h:
4628         * BufferView.C:
4629         * BufferView_pimpl.C:
4630         * lfuns.h:
4631         * LyXAction.C:
4632         * lyxtext.h:
4633         * text2.C: remove layout-copy/paste (bug 778)
4634
4635 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4636
4637         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4638
4639 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4640
4641         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4642         if they succeed. Act accordingly.
4643
4644 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4645
4646         * text2.C (setCharFont): adjust
4647         (setCounter): adjust
4648         (insertStringAsLines): adjust
4649
4650         * text.C (leftMargin): adjust
4651         (setHeightOfRow): adjust
4652
4653         * rowpainter.C (paintFirst): adjust
4654         (paintLast): adjust
4655
4656         * paragraph_funcs.C (depthHook): ParagraphList::iterators
4657         (outerHook): ditto
4658         (isFirstInSequence): ditto
4659         (getEndLabel): ditto
4660         (outerFont): adjust
4661
4662         * paragraph.C (getParLanguage): comment out some hard stuff.
4663
4664         * buffer.C (insertStringAsLines): take a ParagraphList as arg
4665         (sgmlError): ditto
4666         (simpleDocBookOnePar): ditto
4667         (makeDocBookFile): use ParagraphList::iterator
4668
4669         * CutAndPaste.C (pasteSelection): adjust
4670
4671 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4672
4673         * text2.C (getFont): adjust
4674         (getLayoutFont): adjust
4675         (getLabelFont): adjust
4676
4677         * paragraph_funcs.C (TeXOnePar): adjust
4678
4679         * buffer.C (simpleLinuxDocOnePar): adjust
4680         (simpleDocBookOnePar): adjust
4681
4682         * CutAndPaste.C (pasteSelection): adjust
4683
4684         * BufferView.C (getEncoding): adjust
4685
4686         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4687
4688 2003-04-16  John Levon  <levon@movementarian.org>
4689
4690         * lyxfind.C: use parlist stuff for search/changes
4691
4692 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4693
4694         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4695
4696         * text2.C (deleteEmptyParagraphMechanism): adjust
4697
4698         * text2.[Ch] (ownerParagraph): delete func (both of them
4699
4700 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4701
4702         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4703
4704 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4705
4706         * ParagraphList.C: prepare for NO_NEXT
4707
4708 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4709
4710         * text2.C (getFont): adjust
4711         (getLayoutFont): adjust
4712         (getLabelFont): adjust
4713
4714         * paragraph.C (getFont): adjust
4715         (getLabelFont): adjust
4716         (getLayoutFont): adjust
4717
4718         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4719
4720 2003-04-15  John Levon  <levon@movementarian.org>
4721
4722         From Angus Leeming
4723
4724         * lyx_main.C: handle Include in .ui files
4725
4726 2003-04-15  John Levon  <levon@movementarian.org>
4727
4728         * MenuBackend.C: make the doc files length shorter
4729
4730         * ToolbarBackend.h:
4731         * ToolbarBackend.C: handle toolbar placement flags,
4732         Minibuffer
4733
4734 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4735
4736         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4737         adjust
4738
4739         * paragraph_funcs.C (TeXOnePar): adjust
4740
4741         * paragraph.C (getLabelFont): add outerfont arg, adjust
4742         (getLayoutFont): ditto
4743         (simpleTeXOnePar): adjust
4744
4745         * paragraph_pimpl.C (realizeFont): delete func
4746
4747 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
4748
4749         * text2.C (beforeFullRowInset): added a bad getchar check, removed
4750         row argument, constify cur argument.
4751
4752 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4753
4754         * text2.C (getFont): adjust
4755         (getLayoutFont): adjust
4756         (getLabelFont): adjust
4757
4758         * paragraph_funcs.C (TeXOnePar): adjust
4759         (outerFont): new func...
4760         (realizeFont): ...moved out from here, changed this to facilitate
4761         transition
4762
4763         * paragraph.C (getFont): take outerfont as arg, adjust
4764         (simpleTeXOnePar): add outerfont arg, adjust
4765
4766         * buffer.C (simpleLinuxDocOnePar): adjust
4767         (simpleDocBookOnePar): adjust
4768
4769         * CutAndPaste.C (pasteSelection): adjust
4770
4771         * BufferView.C (getEncoding): adjust
4772
4773 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4774
4775         * text2.C (setCharFont): adjust
4776         (setCounter): adjust
4777
4778         * text.C (leftMargin): adjust
4779         (setHeightOfRow): adjust
4780
4781         * rowpainter.C (paintFirst): adjust
4782         (paintLast): adjust
4783
4784         * paragraph_pimpl.C (realizeFont): adjust
4785
4786         * paragraph.C (isFirstInSequence): move from here...
4787         * paragraph_funcs.C (isFirstInSequence): ...to here
4788
4789         * paragraph.C (outerHook): move from here...
4790         * paragraph_funcs.C (outerHook): ...to here
4791
4792         * paragraph.C (depthHook): move from here...
4793         * paragraph_funcs.C (depthHook): ...to here
4794
4795         * paragraph.C (getEndLabel): move from here...
4796         * paragraph_funcs.C (getEndLabel): ...to here
4797
4798         * text2.C (realizeFont): move from here...
4799         * paragraph_funcs.C (realizeFont): ...to here
4800
4801 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4802
4803         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4804
4805 2003-04-14  Angus Leeming  <leeming@lyx.org>
4806
4807         * LColor.[Ch]: scrap LColor mathcursor.
4808
4809 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4810
4811         * lyxlex.[Ch] (text): delete function
4812         * trans.C (Load): adjust
4813         * paragraph_funcs.C (readParToken): adjust
4814
4815 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4816
4817         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4818         vector<char> instead of a char[].
4819
4820         * lyxlex_pimpl.C (getString): adjust
4821         (next): adjust
4822         (lex): use getString
4823         (eatLine): adjust
4824         (nextToken): adjust
4825
4826         * lyxlex.C (text): use pimpl_->getString()
4827         (getBool): ditto
4828         (findToken): ditto
4829
4830 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4831
4832         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4833         (makeFontEntriesLayoutSpecific): temp var for par.size()
4834         (setLayout): temp var for ownerParagraphs().end()
4835         (fullRebreak): temp var for rows().end()
4836         (selectionAsString): temp var for boost::next(startpit), realize
4837         that the while really is a regular for loop.
4838         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4839         setCursor in one place.
4840         (setParagraph): temp vr for ownerParagraphs().end()
4841         (updateCounters): make the while loop a for loop
4842         (cutSelection): temp var for ownerParagraphs().end()
4843         (updateInset): make the do {} while() a regular for loop
4844         (getCursorX): use temp vars
4845         (setCurrentFont): use temp vars
4846         (getColumnNearX): use temp vars
4847
4848 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4849
4850         * text.C (transformChar): use temp var for getChar
4851         (computeBidiTables): use temp var for row->par()
4852         (fill): move temp vars for row->par() and pit->layout() earlier in
4853         the function.
4854         (labelFill): use temp var for row->par()
4855         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4856         asc and desc, realize that pit never changes and that firstpit is
4857         just a duplicate and not needed. Exchange rit->par() with pit in a
4858         lot of places.
4859         (breakAgain): use a temp var for boost::next(rit)
4860         (breakAgainOneRow): ditto
4861         (breakParagraph): use a temp var for rows().begin()
4862         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4863         (cursorRightOneWord): use temp var for cursor.par() and
4864         cursor.pos(), remove usage of tmpcursor.
4865         (cursorLeftOneWord): use temp var for cursor.par() and
4866         cursor.pos() only set cur at end of function.
4867
4868 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4869
4870         * text.C, text2.C: exchange all usage of Paragraph::next with
4871         boost::next(ParagraphList::iterator)
4872
4873         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4874
4875         * text2.C (cursorTop): simplify implementation
4876         (cursorBottom): ditto
4877         (setParagraph): use ParagraphList::iterator
4878         (setCurrentFont): adjust
4879         (getColumnNearX): adjust
4880         (cursorRight): adjust
4881         (cursorLeft): remove usage of Paragraph::previous
4882         (cursorUpParagraph): ditto
4883         (deleteEmptyParagraphMechanism): slight cleanup
4884
4885         * text.C (isBoundary): take a Paragraph const & instead of a
4886         pointer as arg.
4887         (addressBreakPoint): ditto
4888         (leftMargin): remove usage of Paragraph::previous.
4889         (setHeightOfRow): ditto
4890         (cursorLeftOneWord): ditto
4891         (selectNextWordToSpellcheck): ditto
4892         (Delete): ditto
4893         (backspace): ditto
4894         (breakParagraph): remove one usage of Paragraph::next
4895         (redoParagraph): ditto
4896         (acceptChange): ditto
4897         (insertChar): adjust
4898         (rowBreakPoint): adjust
4899
4900         * bufferview_funcs.C (toggleAndShow): adjust
4901
4902 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4903
4904         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4905         methods to access it.
4906         * lyxtext.h:
4907         * text.C: Added updateRowPositions to compute all row positions.
4908         Make top_y and getRowNearY() to use the cached y position
4909
4910 2003-04-11  John Levon  <levon@movementarian.org>
4911
4912         * text.C (rowBreakPoint): reintroduce the labelEnd
4913         checks, code copied from the row fill stuff. Deep voodoo.
4914
4915         * text.C (fill): add a comment and debugging for the
4916         next poor soul.
4917
4918 2003-04-11  John Levon  <levon@movementarian.org>
4919
4920         * text.C: make sure fullrow insets get wrapped to the next line,
4921         even when they're in a manual label
4922
4923 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4924
4925         * text2.C (insertParagraph): make it take ParagraphList::iterator
4926         as arg.
4927         (setLayout): make it return ParagraphList::iterator
4928         (redoParagraphs): ditto
4929         (setCounter): ditto
4930         (checkParagraph): ditto
4931
4932         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4933
4934         * text2.C: adjust several funcs.
4935         (realizeFont): take a ParagraphList::iterator as arg.
4936         (getLayoutFont): ditto
4937         (getLabelFont): ditto
4938         (setCharFont): ditto
4939
4940         * text.C: adjust several funcs.
4941
4942 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4943
4944         * text.C (selectNextWordToSpellcheck): don't accidentally
4945         skip insets
4946
4947 2003-04-10  John Levon  <levon@movementarian.org>
4948
4949         * ToolbarBackend.C (getIcon): special handling for
4950         LFUN_MATH_DELIM
4951
4952 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4953
4954         * text2.C (cursorRight): a getChar assert fixed
4955
4956 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4957
4958         * text2.C (getFont): change to take a ParagraphList::iterator
4959         instead of Paragraph*
4960         Adjust several functions.
4961
4962         * text.C (transformChar): change to take a ParagraphList::iterator
4963         instead of Paragraph*
4964         (singleWidth): ditto
4965         Adjust several functions.
4966
4967         * rowpainter.C: adjust several functions
4968         * rowpainter.h:store a ParagraphList::iterator and not a
4969         Paragraph&.
4970
4971
4972 2003-04-09  John Levon  <levon@movementarian.org>
4973
4974         * lyxfunc.C:
4975         * lfuns.h:
4976         * LyXAction.h:
4977         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4978         and the "help" bits as well
4979
4980 2003-04-09  John Levon  <levon@movementarian.org>
4981
4982         * ToolbarBackend.h:
4983         * ToolbarBackend.C: allow multiple toolbars
4984
4985 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4986
4987         * undo_funcs.C (setCursorParUndo): adjust
4988
4989         * text_funcs.C (transposeChars): adjust
4990
4991         * text3.C (gotoNextInset): adjust
4992         (dispatch): adjust
4993
4994         * text2.C (setLayout): adjust
4995         (changeDepth): adjust
4996         (setFont): adjust
4997         (redoParagraphs): adjust
4998         (selectionAsString): adjust
4999         (setParagraph): adjust
5000         (insertInset): adjust
5001         (cutSelection): adjust
5002         (copySelection): adjust
5003         (pasteSelection): adjust
5004         (insertStringAsLines): adjust
5005         (updateInset): adjust
5006         (setCursor): change to take a ParagraphList::iterator parameter
5007         (setCursorIntern): change to take a ParagraphList::iterator parameter
5008         (setCurrentFont): adjust
5009         (cursorLeft): adjust
5010         (cursorRight): adjust
5011         (deleteEmptyParagraphMechanism): adjust
5012
5013         * text.C (breakParagraph): adjust
5014         (insertChar): adjust
5015         (acceptChange): adjust
5016         (rejectChange): adjust
5017         (selectNextWordToSpellcheck): adjust
5018         (changeCase): adjust
5019         (Delete): adjust
5020         (backspace): adjust
5021
5022         * lyxfind.C (SearchForward): adjust
5023         (SearchBackward): adjust
5024         (nextChange): adjust
5025
5026         * lyxcursor.C (par): adjust
5027
5028         * lyxcursor.h: store a ParagraphList::iterator instead of a
5029         Paragraph*
5030
5031         * lyx_cb.C (getPossibleLabel): adjust
5032
5033         * bufferview_funcs.C (toggleAndShow): adjust
5034
5035         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5036         (dispatch): adjust
5037
5038         * BufferView.C (removeAutoInsets): adjust
5039         (lockedInsetStoreUndo): adjust
5040
5041 2003-04-09  John Levon  <levon@movementarian.org>
5042
5043         * ToolbarBackend.C: try icon without argument
5044         if with argument fails
5045
5046 2003-04-08  John Levon  <levon@movementarian.org>
5047
5048         * ToolbarBackend.h:
5049         * ToolbarBackend.C: add getIcon(), handle tooltip,
5050         and change from "Icon" to "Item".
5051
5052 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5053
5054         * BufferView.C (lockInset): another bad getchar crunched
5055
5056 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5057
5058         * text2.C (changeDepth): do not setUndo on test_only (make undo work
5059         again)
5060
5061 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
5062
5063         * lyxfind.C (searchForward, searchBackwards): bug 782
5064
5065 2003-04-07  John Levon  <levon@movementarian.org>
5066
5067         * paragraph.C: remove dead comment
5068
5069         * text.C: remove troublesome depth-fiddling code
5070         in leftMargin() and rightMargin() (bug 1017)
5071
5072         * text.C: fix breaking of rows in nested lists
5073         (bug 1004)
5074
5075         * text2.C (updateCounters): fix up depth values
5076         (bug 1013)
5077
5078 2003-04-07  John Levon  <levon@movementarian.org>
5079
5080         * BufferView_pimpl.C: clear message when doc finishes resizing,
5081         and after a mouse event
5082
5083         * lyxfunc.C: clear message after exiting inset
5084
5085 2003-04-07  John Levon  <levon@movementarian.org>
5086
5087         * bufferview_funcs.C: show math status not outside
5088         status in the statusbar
5089
5090 2003-04-07  John Levon  <levon@movementarian.org>
5091
5092         * lyxfunc.C: note status changed after a depth change
5093
5094 2003-04-04  Angus Leeming  <leeming@lyx.org>
5095
5096         * LaTeX.h: move AuxInfo operator==, != out of line.
5097         Remove LaTeX virtual destructor; nothing derives from it.
5098         Move operator()() out of public area and rename it startscript().
5099         Change protected for private.
5100
5101 2003-04-04  Angus Leeming  <leeming@lyx.org>
5102
5103         * lyxfunc.C:
5104         * text2.C: remove unneeded #includes.
5105
5106 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5107
5108         * text2.C (dEPM): fix the heigth of the next row
5109
5110 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5111
5112         * text.C: squashed an invalid getChar requester + some ws changes
5113
5114 2003-04-03  John Levon  <levon@movementarian.org>
5115
5116         * bufferview_funcs.h:
5117         * bufferview_funcs.C:
5118         * lyxfunc.C:
5119         * lyxtext.h:
5120         * text2.C: make getStatus work for the env depth lfuns
5121
5122 2003-04-03  John Levon  <levon@movementarian.org>
5123
5124         * bufferview_funcs.h:
5125         * bufferview_funcs.C:
5126         * lyxfunc.C:
5127         * lyxtext.h:
5128         * text2.C: parlistize decDepth(), by merging it with incDepth()
5129
5130 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5131
5132         * lyxrow.h: store a ParagraphList::iterator instead of a
5133         Paragraph* and adjust other class functions to suit.
5134
5135         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5136         above.
5137
5138 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5139
5140         * text2.C (setCursor): do not anchor to cursor row for the time being
5141
5142 2003-04-02  John Levon  <levon@movementarian.org>
5143
5144         * LyXAction.C:
5145         * lfuns.h:
5146         * lyx_main.C:
5147         * lyxtext.h:
5148         * text.C:
5149         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5150
5151 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5152
5153         * paragraph.h: make ParagraphList and ParagraphList::iterator
5154         friends of Paragraph.
5155
5156         * buffer.C (makeLinuxDocFile): move towards ParagraphList
5157
5158         * ParagraphList.C: Use the private next_ and previous_ from
5159         Paragraph.
5160
5161 2003-04-01  John Levon  <levon@movementarian.org>
5162
5163         * ToolbarBackend.h:
5164         * ToolbarBackend.C:
5165         * Makefile.am: rename, remove defaults gunk
5166
5167         * MenuBackend.h:
5168         * MenuBackend.C: remove defaults gunk
5169
5170         * Languages.h:
5171         * Languages.C: remove defaults gunk
5172
5173         * lyx_main.h:
5174         * lyx_main.C: error out if files couldn't be found.
5175
5176 2003-04-02  John Levon  <levon@movementarian.org>
5177
5178         * text2.C: make incDepth() use parlist
5179
5180 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5181
5182         * undo_funcs.C (firstUndoParagraph): adjust
5183
5184         * text3.C (gotoInset): adjust
5185         (dispatch): adjust, and rewrite loop.
5186
5187         * text2.C (init): adjust, and rewrite loop.
5188         (redoParagraphs): adjust
5189         (updateInset): adjust, and rewrite loop.
5190         (deleteEmptyParagraphMechanism): adjust
5191
5192         * tabular.C (LyXTabular): adjust
5193         (SetMultiColumn): adjust
5194         (TeXRow): adjust
5195
5196         * lyxtext.[Ch] (ownerParagraph): delete function
5197         (ownerParagraphs): new function returns a ParagraphList.
5198
5199         * BufferView.C (removeAutoInsets): adjust
5200         (insertErrors): adjust
5201         (setCursorFromRow): adjust
5202
5203 2003-04-01  Angus Leeming  <leeming@lyx.org>
5204
5205         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5206         in the frontends.
5207
5208 2003-04-02  John Levon  <levon@movementarian.org>
5209
5210         * lyxtext.h:
5211         * text.C:
5212         * Makefile.am:
5213         * text_funcs.h:
5214         * text_funcs.C: make transposeChars a free function
5215
5216         * lyxrow_funcs.C: remove wrong comment
5217
5218 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5219
5220         * lyxtext.h: adjust
5221         * rowpainter.C: adjust
5222         * text.C: adjust
5223         * text2.C: adjust
5224         * text3.C: adjust
5225
5226         * lyxrow_funcs. [Ch]: new files
5227
5228         * lyxrow.[Ch]: remove next and previous pointers
5229         (next,previous): remove accessor functions
5230         (isParEnd): move to lyxrow_funcs
5231         (lastPos): move to lyxrow_funcs
5232         (nextRowIsAllInset): move to lyxrow_funcs
5233         (lastPrintablePos): move to lyxrow_funcs
5234         (numberOfSeparators): move to lyxrow_funcs
5235         (numberOfHfills): move to lyxrow_funcs
5236         (numberOfLabelHfills): move to lyxrow_funcs
5237         (hfillExpansion): move to lyxrow_funcs
5238
5239         * lyxfunc.C: adjust
5240
5241         * bufferview_funcs.C (toggleAndShow): adjust
5242
5243         * RowList.h: Remove class RowList from file leave just a
5244         std::list<Row>.
5245
5246         * RowList.C: delete file
5247
5248         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5249         and lyxrow_funcs.h
5250
5251 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5252
5253         * text3.C (cursorPrevious): adjust
5254         (cursorNext): adjust
5255         (dispatch): adjust
5256
5257         * text2.C (redoHeightOfParagraph): adjust
5258         (redoDrawingOfParagraph): adjust
5259         (setCursor): adjust
5260
5261         * text.C (breakParagraph): adjust
5262         (insertChar): adjust
5263         (backspace): adjust
5264
5265         * rowpainter.C (RowPainter): adjust
5266         (leftMargin): simplify and adjust
5267         (most rowpainter functions): adjust.
5268
5269         * rowpainter.h: store the row as RowList::iterator not as Row*
5270
5271         * lyxcursor.C (row): taka RowList::iterator as arg
5272         (irow): ditto
5273
5274         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5275         of Row*.
5276
5277 2003-04-01  Angus Leeming  <leeming@lyx.org>
5278
5279         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5280         stuff like bool Bool.
5281
5282 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5283
5284         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5285         rewrite a loop
5286
5287 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5288
5289         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5290         RowList::iterator.
5291
5292         * lyxtext.h (rows): drop one version and leve a const variant that
5293         returns a RowList::iterator.
5294
5295 2003-03-31  Angus Leeming  <leeming@lyx.org>
5296
5297         * text.C (fill): ensure that the signature is the same as that in the
5298         header file.
5299
5300 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
5301
5302         * text2.C (redoParagraphs): adjust
5303         (updateCounters): adjust
5304         (checkParagraph): adjust
5305         (getColumnNearX): adjust and reformat a bit.
5306
5307         * text.C (top_y): adjust
5308         (workWidth): adjust
5309         (leftMargin): adjust
5310         (prepareToPrint): adjust
5311         (getRow): adjust
5312         (getRowNearY): adjust
5313
5314         * lyxtext.h: make rowlist_ mutable.
5315
5316         * RowList.h: add const_iterator
5317         * RowList.C: adjust for RowList::const_iterator.
5318
5319         * text2.C (getCursorX): make it take a RowList::iterator as arg,
5320         adjust.
5321
5322 2003-03-31  John Levon  <levon@movementarian.org>
5323
5324         * lyxrc.h:
5325         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5326
5327         * lyx_main.C: set default fonts from using lyx_gui funcs
5328
5329         * exporter.C: pdf_mode moved from lyxrc
5330
5331         * lyx_cb.C:
5332         * lyxfunc.C: changes from above
5333
5334 2003-03-31  John Levon  <levon@movementarian.org>
5335
5336         * lyx_main.C: fix to the last fix
5337
5338 2003-03-31  John Levon  <levon@movementarian.org>
5339
5340         * bufferlist.C: "Load original" -> "Load Original"
5341
5342         * converter.C:
5343         * exporter.C:
5344         * importer.C:
5345         * lyx_main.C:
5346         * format.C: more Alert cleanups
5347
5348 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5349
5350         * text2.C (removeParagraph): make it take a RowList::iterator as
5351         arg, adjust.
5352         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5353         (postRowPaint): make it take a RowList::iterator as arg, adjust.
5354
5355         * text.C (anchor_row): make it take a RowList::iterator as arg,
5356         adjust.
5357         (computeBidiTables): make it take a const reference to Row instead
5358         of Row pointer, adjust.
5359         (leftMargin): make it take a RowList::iterator as arg, adjust.
5360         (rowBreakPoint): adjust
5361         (breakAgainOneRow): make it take a RowList::iterator as arg,
5362         adjust.
5363         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5364
5365         * bufferview_funcs.C (toggleAndShow): adjust
5366
5367 2003-03-30  John Levon  <levon@movementarian.org>
5368
5369         * Makefile.am:
5370         * BoostFormat.h:
5371         * boost-inst.C: moved to support
5372
5373         * several files: changes as a result
5374
5375 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5376
5377         * text2.C (LyXText): adjust.
5378         (init): adjust
5379         (removeRow): make it take a RowList::iterator as arg, adjust.
5380         (fullRebreak): adjust
5381         (deleteEmptyParagraphMechanism): adjust
5382         (clearPaint): adjust
5383         (postPaint): adjust
5384
5385         * text.C (top_y): adjust
5386         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5387         (breakAgain): make it take a RowList::iterator as arg, adjust.
5388         (breakParagraph): adjust
5389         (insertChar): adjust
5390         (backspace): adjust
5391
5392         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5393         need_break_row, and refresh_row.
5394
5395         * text3.C (dispatch): adjust
5396
5397         * text2.C (checkParagraph): adjust
5398         (setCursor): adjust
5399         (setCursorFromCoordinates): adjust
5400
5401         * text.C (top_y): adjust
5402         (workWidth): adjust
5403         (getRow): make it return a RowList::iterator, adjust
5404         (getRowNearY): make it return a RowList::iterator, adjust
5405
5406         * text2.C (init): adjust
5407         (insertRow): remove function
5408         (insertParagraph): adjust
5409         (redoParagraphs): adjust
5410         (fullRebreak): adjust
5411         (updateCounters): adjust
5412
5413         * text.C (top_y): rewrite to use RowList iterators.
5414         (top_y): adjust
5415         (setHeightOfRow): rewrite to sue RowList iterators.
5416         (appendParagraph): adjust
5417         (breakAgain): adjust
5418         (breakAgainOneRow): adjust
5419         (breakParagraph): adjust
5420         (getRow): adjust
5421         (getRowNearY): adjust, and remove commented code.
5422
5423         * lyxtext.h (firstRow): delete function
5424         (lastRow): delete function
5425         (rows): new function (const and non-const versions.)
5426         (insertRow): delete function
5427
5428         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5429
5430 2003-03-29  John Levon  <levon@movementarian.org>
5431
5432         * BufferView_pimpl.C: always update scrollbar top
5433         because pasting text when we're anchored could mean we
5434         miss an update altogether
5435
5436 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5437
5438         * text2.C (init): use rowlist_.end() and not 0.
5439         (insertRow): change to take a RowList::iterator as arg, adjust
5440         for this.
5441         (insertParagraph): change to take a RowList::iterator as arg,
5442         adjust for this.
5443         (redoParagraphs): remove some debug msgs.
5444
5445         * text.C (appendParagraph): change to take a RowList::iterator
5446         arg, adjust for this.
5447         (breakAgain): add an assert
5448         (breakAgainOneRow): ditto
5449
5450 2003-03-29  John Levon  <levon@movementarian.org>
5451
5452         * text2.C: do not clear selection after inc/decDepth
5453         (bug 550)
5454
5455 2003-03-29  John Levon  <levon@movementarian.org>
5456
5457         * BufferView.C:
5458         * buffer.C: fix broken strerrors according to Lars
5459
5460 2003-03-29  John Levon  <levon@movementarian.org>
5461
5462         * converters.C: more Alert cleanups
5463
5464 2003-03-29  John Levon  <levon@movementarian.org>
5465
5466         * bufferview_funcs.C: remove pointless Alert
5467
5468         * buffer.C: fix confusing error message when
5469         a template is chmoded 000
5470
5471 2003-03-29  John Levon  <levon@movementarian.org>
5472
5473         * BufferView.C:
5474         * BufferView.h:
5475         * BufferView_pimpl.C: Alert fixes
5476
5477         * Makefile.am:
5478         * tabular.C:
5479         * tabular-old.C: remove unused table compat reading
5480
5481 2003-03-29  John Levon  <levon@movementarian.org>
5482
5483         * BufferView.C:
5484         * buffer.C:
5485         * lyx_cb.h:
5486         * lyx_cb.C: more Alert cleanups
5487
5488         * lyxfunc.C: don't allow chktex if not latex document
5489
5490 2003-03-29  John Levon  <levon@movementarian.org>
5491
5492         * lyx_cb.C:
5493         * BufferView.C:
5494         * buffer.C: warnings pushed down from support/,
5495         kill err_alert
5496
5497 2003-03-29  John Levon  <levon@movementarian.org>
5498
5499         * lyxfunc.C: safety check for C-r (revert)
5500
5501 2003-03-29  John Levon  <levon@movementarian.org>
5502
5503         * bufferlist.h:
5504         * bufferlist.C: several UI fixes using Alert::prompt.
5505         Fix the pointless looping quit code. Fix stupid revert
5506         behaviour (bug 938)
5507
5508         * lyxvc.h:
5509         * lyxvc.C:
5510         * lyx_cb.C: use Alert::prompt
5511
5512         * lyx_main.C: remove a silly question
5513
5514         * lyxfunc.C: remove a couple of silly questions,
5515         use Alert::prompt
5516
5517 2003-03-28  John Levon  <levon@movementarian.org>
5518
5519         * text2.C: fix bug 974 (End on empty par)
5520
5521 2003-03-28  John Levon  <levon@movementarian.org>
5522
5523         * BufferView_pimpl.C:
5524         * LyXAction.C:
5525         * lfuns.h: remove do-nothing math greek lfuns
5526
5527 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5528
5529         * lyxgluelength.h (isValidGlueLength): add default arg on
5530         parameter 2. Remove default arg from friend in class.
5531
5532         * lyxlength.h (isValidLength): add default arg on parameter 2.
5533         Remove default arg from friend in class.
5534
5535         * text2.C (LyXText): adjust, initialize refresh_row.
5536         (init): adjust
5537         (removeRow): adjust
5538         (insertRow): adjust
5539         (insertParagraph): adjst
5540         (redoParagraphs): adjust
5541         (fullRebreak): adjust
5542         (updateCounters): adjust
5543         (deleteEmptyParagraphMechanism): first attempt at fixing a
5544         crashing bug.
5545
5546         * text.C (top_y): adjust
5547         (setHeightOfRow): adjust
5548         (getRow): adjust
5549         (getRowNearY): adjust
5550
5551         * lyxtext.h: include RowList.h
5552         (~LyXText): not needed anymore, deleted.
5553         (firstRow): modify for RowList
5554         (lastRow): new function
5555         Delete firstrow and lastrow class variables, add a Rowlist
5556         rowlist_ class variable.
5557
5558         * lyxrow.C (lastPos): use empty() and not !size() to check if a
5559         paragraph is empty.
5560
5561         * RowList.C (insert): fix case where it == begin().
5562
5563 2003-03-26  Angus Leeming  <leeming@lyx.org>
5564
5565         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5566         the thesaurus dialog.
5567
5568 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5569
5570         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5571
5572         * RowList.[Ch]: new files
5573
5574         * ParagraphList.C (erase): handle the case where it == begin
5575         correctly.
5576
5577 2003-03-25  John Levon  <levon@movementarian.org>
5578
5579         * Makefile.am:
5580         * aspell_local.h:
5581         * aspell.C: add new aspell support
5582
5583         * lyxrc.h:
5584         * lyxrc.C: Make use_pspell be use_spell_lib. Always
5585         have it accessible.
5586
5587 2003-03-25  Angus Leeming  <leeming@lyx.org>
5588
5589         * lfuns.h:
5590         * LyXAction.C (init): new LFUN_INSET_INSERT.
5591
5592         * BufferView_pimpl.C (dispatch): split out part of the
5593         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5594
5595         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5596         LFUN_INSET_APPLY.
5597
5598 2003-03-25  Angus Leeming  <leeming@lyx.org>
5599
5600         * lyxfunc.C (dispatch): changes to the Dialogs interface.
5601
5602 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
5603
5604         * text2.C:
5605         * text3.C: remove useless row->height(0)
5606
5607 2003-03-25  John Levon  <levon@movementarian.org>
5608
5609         * lyxtext.h:
5610         * text2.C:
5611         * text3.C: rename the refreshing stuff to better names
5612
5613 2003-03-24  John Levon  <levon@movementarian.org>
5614
5615         * BufferView_pimpl.h:
5616         * BufferView_pimpl.C: update layout choice on a mouse
5617         press/release
5618
5619 2003-03-23  John Levon  <levon@movementarian.org>
5620
5621         * Makefile.am: fix commandtags.h reference
5622
5623 2003-03-22  John Levon  <levon@movementarian.org>
5624
5625         * BufferView_pimpl.C:
5626         * lyxtext.h:
5627         * rowpainter.C:
5628         * rowpainter.h:
5629         * text.C:
5630         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5631
5632 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
5633
5634         * lyxtext.h:
5635         * text.C: take the rtl methods out of line
5636
5637 2003-03-21 André Pönitz <poenitz@gmx.net>
5638
5639         * metricsinfo.[Ch]: new files containing structures to be passed around
5640         during the two-phase-drawing...
5641
5642 2003-03-21 André Pönitz <poenitz@gmx.net>
5643
5644         * lyxtextclass.C: read 'environment' tag.
5645
5646 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
5647
5648         * text2.C (removeRow): fix bug 964
5649
5650 2003-03-20  John Levon  <levon@movementarian.org>
5651
5652         * rowpainter.C:
5653         * text.C:
5654         * text2.C: paint cleanups. Inset::update() dropped font
5655         parameter
5656
5657 2003-03-19  John Levon  <levon@movementarian.org>
5658
5659         * lyxfunc.C: only fitcursor/markDirty if available()
5660
5661 2003-03-19  John Levon  <levon@movementarian.org>
5662
5663         * commandtags.h: rename to ...
5664
5665         * lfuns.h: ... this, and renumber / cleanup
5666
5667 2003-03-19  John Levon  <levon@movementarian.org>
5668
5669         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5670         fit the cursor after an lfun
5671
5672         * BufferView.h:
5673         * BufferView.C:
5674         * BufferView_pimpl.h:
5675         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5676
5677         * LyXAction.C: layout-character should have ReadOnly
5678
5679         * ParagraphParameters.C:
5680         * buffer.C:
5681         * bufferview_funcs.C:
5682         * lyx_cb.C:
5683         * lyxfind.C:
5684         * lyxtext.h:
5685         * text.C:
5686         * text2.C:
5687         * text3.C:
5688         * undo_funcs.C: changes from above
5689
5690 2003-03-18  John Levon  <levon@movementarian.org>
5691
5692         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5693         remove it from update()
5694
5695         * lyxfunc.C: update layout choice after an lfun
5696
5697         * text3.C: remove extra updateLayoutChoice()s
5698
5699 2003-03-18  John Levon  <levon@movementarian.org>
5700
5701         * text.C: top_y change means full repaint, fix
5702         a drawing bug with cursor movement
5703
5704 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5705
5706         * lyxtext.h:
5707         * text.C:
5708         * text2.C: anchor row on setCursor
5709
5710 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5711
5712         * lyxtext.h: remove almost all mutable keywords
5713         * text.C:
5714         * text2.C:
5715         * text3.C: remove const keywords accordingly
5716
5717 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5718
5719         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5720         anon namespace
5721         (TeXEnvironment): ditto
5722         (TeXOnePar): ditto
5723
5724 2003-03-17  John Levon  <levon@movementarian.org>
5725
5726         * text.C (rowBreakPoint): remove attempt to fix displayed
5727         math insets inside a manual label
5728
5729 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5730
5731         * lyxtext.h: remove BufferView* as first arg from almost all class
5732         functions.
5733         * other files: adjust.
5734
5735 2003-03-17  John Levon  <levon@movementarian.org>
5736
5737         * lyxtext.h:
5738         * undo_funcs.C:
5739         * text2.C: more paint cleanups
5740
5741         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5742
5743         * rowpainter.h:
5744         * rowpainter.C: remove "smart" background painting code
5745
5746 2003-03-16  John Levon  <levon@movementarian.org>
5747
5748         * lyxtext.h:
5749         * text.C:
5750         * text2.C:
5751         * text3.C: add helper functions for setting refresh_row/y
5752
5753 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
5754
5755         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5756         newline inset which *can* get inserted in the pass_thru layouts.
5757         This is primarily for literate documents.
5758
5759 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
5760
5761         * buffer.C: increment LYX_FORMAT to 223
5762
5763 2003-03-14 André Pönitz <poenitz@gmx.net>
5764
5765         * textclass.h: prepare for environment handling, ws changes
5766         * lyxlayout.C: read latexheader and latexfooter tags
5767
5768 2003-03-14  John Levon  <levon@movementarian.org>
5769
5770         * text2.C: rewrite ::status() a bit
5771
5772 2003-03-13  John Levon  <levon@movementarian.org>
5773
5774         * lyxtext.h: add some docs
5775
5776 2003-03-13  John Levon  <levon@movementarian.org>
5777
5778         * lyxtext.h:
5779         * text.C:
5780         * text2.C:
5781         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5782
5783 2003-03-13  John Levon  <levon@movementarian.org>
5784
5785         * text3.C: fix appendix redrawing
5786
5787 2003-03-13  John Levon  <levon@movementarian.org>
5788
5789         * text.C (setHeightOfRow):
5790         * rowpainter.h:
5791         * rowpainter.C: make appendix mark have the text
5792           "Appendix" so the user knows what it is
5793
5794         * LColor.h:
5795         * LColor.C: s/appendixline/appendix/ from above
5796
5797 2003-03-13  John Levon  <levon@movementarian.org>
5798
5799         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5800
5801         * text.C: fix a getChar(pos) bug properly
5802
5803 2003-03-13  Angus Leeming  <leeming@lyx.org>
5804
5805         * commandtags.h:
5806         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5807         Probably only temporary. Let's see how things pan out.
5808
5809         * BufferView.C (unlockInset):
5810         * BufferView_pimpl.C (fitCursor):
5811         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5812
5813         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5814         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5815
5816         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5817         new functions that convert ParagraphParameters to and from a string.
5818
5819         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5820         BufferView::Pimpl's dispatch.
5821         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5822
5823 2003-03-13 André Pönitz <poenitz@gmx.net>
5824
5825         * lyxfunc.C:
5826         * text3.C:
5827         * factory.C: make it aware of InsetEnv
5828
5829 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5830
5831         * text2.C (setCursor): never ask for one past last
5832         (setCursor): add some debugging messages.
5833
5834         * text.C (singleWidth): never ask for one past last
5835         (singleWidth): ditto
5836         (leftMargin): ditto
5837         (rightMargin): ditto
5838         (rowBreakPoint): ditto
5839         (setHeightOfRow): ditto
5840         (prepareToPrint): ditto
5841
5842         * rowpainter.C (paintBackground): never ask for one past last
5843         (paintText): never ask for one past last
5844
5845         * paragraph_pimpl.C (getChar): make the assert stricter, never
5846         allow the one past last pos to be taken
5847
5848         * paragraph.C (getChar): ws changes only
5849
5850         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5851         (numberOfSeparators): ditto
5852         (numberOfHfills): ditto
5853
5854 2003-03-12  John Levon  <levon@movementarian.org>
5855
5856         * author.h:
5857         * author.C:
5858         * bufferparams.h:
5859         * bufferparams.C:
5860         * paragraph_funcs.C: fix per-buffer authorlists
5861
5862 2003-03-12  John Levon  <levon@movementarian.org>
5863
5864         * text.C: fix newline in right address
5865
5866 2003-03-12  Angus Leeming  <leeming@lyx.org>
5867
5868         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5869         duplicate those in LyXFunc::dispatch.
5870
5871         * commandtags.h:
5872         * LyXAction.C:
5873         * ToolbarDefaults.C:
5874         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5875         Add LFUN_FONTFREE_UPDATE.
5876
5877         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5878         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5879
5880         * bufferview_func.[Ch]: several new functions to facilliate
5881         transfer of data to and from the character dialog.
5882
5883 2003-03-12  John Levon  <levon@movementarian.org>
5884
5885         * buffer.C:
5886         * paragraph.h:
5887         * paragraph.C:
5888         * paragraph_funcs.C:
5889         * paragraph_pimpl.C:
5890         * sgml.C:
5891         * tabular.C:
5892         * text.C:
5893         * text3.C: remove META_NEWLINE in favour of an inset
5894
5895         * rowpainter.h:
5896         * rowpainter.C: remove paintNewline (done by inset)
5897
5898 2003-03-12  John Levon  <levon@movementarian.org>
5899
5900         * paragraph_pimpl.C: complain about bad getChar()s
5901         for a while at least
5902
5903 2003-03-12  John Levon  <levon@movementarian.org>
5904
5905         * buffer.h:
5906         * buffer.C: move paragraph read into a separate function,
5907         a little renaming to reflect that.
5908
5909         * bufferparams.h:
5910         * bufferparams.C: remove the author_ids map, not necessary now
5911
5912         * factory.h:
5913         * factory.C: moved Buffer::readInset to here
5914
5915         * paragraph_funcs.h:
5916         * paragraph_funcs.C: readParagraph free function moved from
5917         buffer.C
5918
5919         * tabular.C: name change
5920
5921 2003-03-12  John Levon  <levon@movementarian.org>
5922
5923         * buffer.C:
5924         * ParagraphParameters.C: move par params input to
5925         a read() method
5926
5927         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5928         behave like a normal read from the stream wrt reading
5929         a line vs. a \\token
5930
5931 2003-03-12  John Levon  <levon@movementarian.org>
5932
5933         * paragraph.C:
5934         * ParagraphParameters.h:
5935         * ParagraphParameters.C: move output code to a
5936         ::write() method
5937
5938 2003-03-12  John Levon  <levon@movementarian.org>
5939
5940         * BufferView.C (insertLyXFile):
5941         * buffer.h:
5942         * buffer.C:
5943         * tabular.C: use a parlist iterator for creating the
5944           document.
5945
5946 2003-03-12  John Levon  <levon@movementarian.org>
5947
5948         * buffer.C: make current_change static local not
5949           static file-scope
5950
5951 2003-03-12  John Levon  <levon@movementarian.org>
5952
5953         * buffer.C: fix insertStringAsLines for change tracking
5954
5955 2003-03-12  John Levon  <levon@movementarian.org>
5956
5957         * BufferView.C:
5958         * tabular.C:
5959         * buffer.h:
5960         * buffer.C:
5961         * bufferparams.h:
5962         * bufferparams.C: move author list into params. Rename some
5963           functions. Move the header reading into a separate token
5964           loop. Move the header token reading into BufferParams.
5965
5966 2003-03-12  John Levon  <levon@movementarian.org>
5967
5968         * changes.C: put debug inside lyxerr.debugging() checks
5969
5970 2003-03-11 André Pönitz <poenitz@gmx.net>
5971
5972         * factory.C: make it aware of InsetHFill
5973
5974 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5975
5976         * buffer.C (latexParagraphs): move function from here...
5977         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5978         args.
5979
5980 2003-03-10  Angus Leeming  <leeming@lyx.org>
5981
5982         * LyXAction.C (init): fix bug in poplating array with multiple entries
5983         with the same LFUN (spotted by JMarc).
5984
5985 2003-03-10  John Levon  <levon@movementarian.org>
5986
5987         * text.C:
5988         * text2.C: move getColumnNearX() near its
5989         only call site
5990
5991 2003-03-10  John Levon  <levon@movementarian.org>
5992
5993         * text.C: fix break before a minipage
5994
5995 2003-03-10  John Levon  <levon@movementarian.org>
5996
5997         * text.C: fix the last commit
5998
5999 2003-03-09  John Levon  <levon@movementarian.org>
6000
6001         * lyxtext.h:
6002         * text.C:
6003         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6004         bug 365 (don't break before insets unless needed). Don't
6005         return a value > last under any circumstances.
6006
6007 2003-03-09  Angus Leeming  <leeming@lyx.org>
6008
6009         * BufferView_pimpl.C (trackChanges, dispatch): call
6010         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6011
6012 2003-03-09  Angus Leeming  <leeming@lyx.org>
6013
6014         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6015         than Dialogs::showAboutlyx().
6016
6017 2003-03-09  Angus Leeming  <leeming@lyx.org>
6018
6019         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6020         than Dialogs::showTabularCreate().
6021
6022 2003-03-09  John Levon  <levon@movementarian.org>
6023
6024         * lyxtext.h:
6025         * text.C:
6026         * text2.C: 3rd arg to nextBreakPoint was always the same.
6027           Use references.
6028
6029 2003-03-08  John Levon  <levon@movementarian.org>
6030
6031         * lyxrow.C:
6032         * paragraph.C:
6033         * paragraph.h:
6034         * rowpainter.C:
6035         * text.C:
6036         * text2.C: Remove the "main" bit from the "main body"
6037           notion.
6038
6039 2003-03-08  John Levon  <levon@movementarian.org>
6040
6041         * text.C (leftMargin): The left margin of an empty
6042         manual label paragraph should not include the label width
6043         string length.
6044
6045         * text.C (prepareToPrint): don't attempt to measure hfills
6046         for empty manual label paragraphs - the answer should be 0
6047
6048 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6049
6050         * CutAndPaste.C: remove commented code and reindent.
6051
6052 2003-03-08  John Levon  <levon@movementarian.org>
6053
6054         * lyxfunc.h:
6055         * lyxfunc.C: move reloadBuffer()
6056
6057         * BufferView.h:
6058         * BufferView.C: to here
6059
6060         * lyxvc.C: add comment
6061
6062         * vc-backend.h:
6063         * vc-backend.C: call bv->reload() to avoid
6064           getStatus() check on MENURELOAD
6065
6066 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
6067
6068         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6069         to an old format .dep file.
6070
6071 2003-03-07  Angus Leeming  <leeming@lyx.org>
6072
6073         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6074         when the LFUN_MOUSE_RELEASE should have been handled by
6075         inset->localDispatch.
6076
6077 2003-03-07  Angus Leeming  <leeming@lyx.org>
6078
6079         * BufferView_pimpl.C (dispatch):
6080         * LyXAction.C (init):
6081         * ToolbarDefaults.C (init):
6082         * commandtags.h:
6083         * lyxfunc.C (getStatus):
6084         remove LFUN_INSET_GRAPHICS.
6085
6086         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6087
6088 2003-03-07  Angus Leeming  <leeming@lyx.org>
6089
6090         * commandtags.h:
6091         * LyXAction.C (init):
6092         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6093
6094         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6095
6096         * commandtags.h:
6097         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6098
6099         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6100         localDispatch method LFUN_INSET_DIALOG_UPDATE.
6101
6102 2003-03-07  Angus Leeming  <leeming@lyx.org>
6103
6104         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6105         remove "ert".
6106
6107 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6108
6109         * ParagraphList.C (front): new function
6110         (back): implement
6111
6112 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
6113
6114         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6115         and top_row_offset_. removed var first_y.
6116         * text.C (top_y):
6117         * text2.C (LyXText, removeRow):
6118         * text3.C:
6119         * BufferView_pimpl.C:
6120         use these methods instead of using first_y
6121
6122 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6123
6124         * text2.C (pasteSelection): adjust for checkPastePossible
6125
6126         * CutAndPaste.C: remove Paragraph * buf and replace with
6127         ParagraphList paragraphs.
6128         (DeleteBuffer): delete
6129         (cutSelection): change the tc type to textclass_type
6130         (copySelection): change the tc type to textclass_type
6131         (copySelection): adjust for ParagraphList
6132         (pasteSelection): change the tc type to textclass_type
6133         (pasteSelection): adjust for Paragraphlist
6134         (nrOfParagraphs): simplify for ParagraphList
6135         (checkPastePossible): simplify for ParagraphList
6136         (checkPastePossible): remove unused arg
6137
6138         * ParagraphList.C (insert): handle the case where there are no
6139         paragraphs yet.
6140
6141         * CutAndPaste.h: make CutAndPaste a namespace.
6142
6143         * text3.C (dispatch): adjust
6144
6145         * text.C (breakParagraph): add a ParagraphList as arg
6146
6147         * paragraph_funcs.C (breakParagraph): change to take a
6148         BufferParams and a ParagraphList as args.
6149         (breakParagraphConservative): ditto
6150         (mergeParagraph): ditto
6151         (TeXDeeper): add a ParagraphList arg
6152         (TeXEnvironment): ditto
6153         (TeXOnePar): ditto
6154
6155         * buffer.C (readLyXformat2): adjust
6156         (insertStringAsLines): adjust
6157         (latexParagraphs): adjust
6158
6159         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6160         (cutSelection): adjust
6161         (pasteSelection): adjust
6162
6163         * BufferView_pimpl.C (insertInset): adjust
6164
6165 2003-03-05  Angus Leeming  <leeming@lyx.org>
6166
6167         * commandtags.h:
6168         * LyXAction.C (init):
6169         * BufferView_pimpl.C (dispatch):
6170         * lyxfunc.C (getStatus):
6171         remove LFUN_CHILD_INSERT.
6172
6173         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6174
6175 2003-03-05  Angus Leeming  <leeming@lyx.org>
6176
6177         * commandtags.h:
6178         * LyXAction.C (init):
6179         * src/factory.C (createInset):
6180         * lyxfunc.C (getStatus):
6181         * text3.C (dispatch):
6182         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6183
6184         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6185
6186 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6187
6188         * ParagraphList.C (insert): handle insert right before end()
6189         (erase): fix cases where it can be first or last paragraph.
6190
6191 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6192
6193         * paragraph_funcs.C (TeXEnvironment): remove all usage of
6194         Paragraph::next and Paragraph::previous
6195         (TeXOnePar): ditto
6196
6197         * text.C (breakParagraph): adjust
6198
6199         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6200         BufferParams& as arg.
6201         (breakParagraph): use ParagraphList::insert
6202         (breakParagraphConservative): take a Buffer* instead of a
6203         BufferParams& as arg.
6204         (breakParagraphConservative): use ParagraphList::insert.
6205
6206         * buffer.C (insertStringAsLines): un-const it
6207         (insertStringAsLines): adjust
6208
6209         * ParagraphList.C (insert): new function
6210
6211         * CutAndPaste.C (pasteSelection): adjust
6212
6213         * text.C (backspace): adjust
6214
6215         * tabular.C (SetMultiColumn): adjust
6216
6217         * CutAndPaste.C (cutSelection): adjust
6218         (pasteSelection): adjust
6219
6220         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6221         Buffer const * as arg
6222
6223         * ParagraphList.C (erase): new function
6224         * paragraph_funcs.C (mergeParagraph): use it
6225         (mergeParagraph): make it take a Buffer* instead of a
6226         BufferParams* as arg
6227
6228         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6229         as arg
6230         (breakParagraphConservative): ditto
6231
6232         * paragraph.h: remove the breakParagraph friend
6233
6234         * paragraph.C (eraseIntern): new function
6235         (setChange): new function
6236
6237         * paragraph_funcs.C (mergeParagraph): make it take a
6238         ParagraphList::iterator instead of a Paragraph *, adjust
6239         accordingly.
6240
6241         * paragraph.h: move an #endif so that the change tracking stuff
6242         also works in the NO_NEXT case.
6243
6244 2003-03-04  Angus Leeming  <leeming@lyx.org>
6245
6246         * commandtags.h:
6247         * LyXAction.C: new LFUN_INSET_MODIFY.
6248
6249         * BufferView_pimpl.C (dispatch): if an inset is found to be open
6250         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6251
6252 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6253
6254         * several files: ws changes only
6255
6256         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6257         (TeXEnvironment): ditto
6258         (TeXDeeper): ditto
6259
6260         * buffer.C (makeLaTeXFile): adjust
6261         (latexParagraphs): make it take ParagraphList::iterator as args
6262
6263 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6264
6265         * buffer.C (latexParagraphs): adjust
6266
6267         * paragraph.C (TeXOnePar): move function...
6268         (optArgInset): move function...
6269         (TeXEnvironment): move function...
6270         * paragraph_pimpl.C (TeXDeeper): move function...
6271         * paragraph_funcs.C: ...here
6272
6273         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6274
6275 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6276
6277         * buffer.C (readInset): remove compability code for old Figure and
6278         InsetInfo insets
6279
6280 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6281
6282         * buffer.C: ws changes
6283         (readInset):
6284
6285         * BufferView_pimpl.C: ditto
6286         * author.C: ditto
6287         * buffer.h: ditto
6288         * bufferlist.h: ditto
6289         * changes.h: ditto
6290         * lyxfunc.C: ditto
6291
6292 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
6293
6294         * converter.[Ch]: split into itself +
6295         * graph.[Ch]
6296         * format.[Ch]
6297         * Makefile.am: += graph.[Ch] + format.[Ch]
6298         * MenuBackend.C
6299         * buffer.C
6300         * exporter.C
6301         * importer.C
6302         * lyx_main.C
6303         * lyxfunc.C
6304         * lyxrc.C: added #include "format.h"
6305
6306 2003-02-27  Angus Leeming  <leeming@lyx.org>
6307
6308         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6309           a label.
6310
6311         * factory.C (createInset): add "label" to the factory.
6312
6313         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6314           string and do no more.
6315
6316 2003-02-27  Angus Leeming  <leeming@lyx.org>
6317
6318         * commandtags.h:
6319         * LyXAction.C (init):
6320         * factory.C (createInset):
6321         * BufferView_pimpl.C (dispatch):
6322           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6323
6324         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6325
6326         * lyxfunc.C (dispatch):
6327         * text3.C (dispatch): pass name to params2string.
6328
6329 2003-02-26  Angus Leeming  <leeming@lyx.org>
6330
6331         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6332           blocks together.
6333           Rearrange the ~includes. Strip out the unnecessary ones.
6334
6335         * factory.C (createInset): reformat.
6336           create new insets for the various LFUN_XYZ_APPLY lfuns.
6337
6338 2003-02-26  John Levon  <levon@movementarian.org>
6339
6340         * lyxrow.h:
6341         * lyxrow.C: add isParStart,isParEnd helpers
6342
6343         * paragraph.h: make isInserted/DeletedText take refs
6344
6345         * paragraph_funcs.h:
6346         * paragraph_funcs.C: remove #if 0'd code
6347
6348         * lyxtext.h:
6349         * text3.C:
6350         * text2.C:
6351         * text.C: use lyxrow helpers above.
6352           Move draw and paint routines to RowPainter.
6353           Make several methods use refs not pointers.
6354           Make backgroundColor() const.
6355           Add markChangeInDraw(), isInInset().
6356           Merge changeRegionCase into changeCase.
6357           Make workWidth() shouldn't-happen code into an Assert.
6358
6359         * rowpainter.h:
6360         * rowpainter.C: new class for painting a row.
6361
6362         * vspace.h:
6363         * vspace.C: make inPixels take a ref
6364
6365 2003-02-26  Angus Leeming  <leeming@lyx.org>
6366
6367         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6368         LFUN_REF_APPLY.
6369
6370 2003-02-25  John Levon  <levon@movementarian.org>
6371
6372         * ispell.C: give the forked command a more accurate name
6373
6374 2003-02-22  John Levon  <levon@movementarian.org>
6375
6376         * toc.h:
6377         * toc.C: make TocItem store an id not a Paragraph *
6378           (bug #913)
6379
6380 2003-02-21  Angus Leeming  <leeming@lyx.org>
6381
6382         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6383           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6384           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6385           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6386           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6387           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6388
6389         * BufferView_pimpl.C (dispatch):
6390         * LyXAction.C (init):
6391         * factory.C (createInset):
6392         * lyxfunc.C (getStatus, dispatch):
6393         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6394
6395 2003-02-21  Angus Leeming  <leeming@lyx.org>
6396
6397         * BufferView_pimpl.C (MenuInsertLyXFile):
6398         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6399         * lyxfunc.C (menuNew, open, doImport):
6400           no longer pass a LyXView & to fileDlg.
6401
6402 2003-02-21  Angus Leeming  <leeming@lyx.org>
6403
6404         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6405         * LyXAction.C: change, BIBKEY to BIBITEM.
6406         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6407         Change InsetBibKey to InsetBibitem.
6408         Change BIBKEY_CODE to BIBITEM_CODE.
6409         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6410         * factory.C: replace insetbib.h with insetbibitem.h.
6411         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6412         * paragraph.C: replace insetbib.h with insetbibitem.h.
6413         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6414         Change bibkey() to bibitem().
6415         * text.C: remove insetbib.h.
6416         * text2.C: replace insetbib.h with insetbibitem.h.
6417         change bibkey() to bibitem().
6418         * text3.C: remove insetbib.h.
6419         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6420
6421 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6422
6423         * lyxrc.C (output): enclose user email in quotes (in case there are
6424         several words)
6425
6426 2003-02-18  John Levon  <levon@movementarian.org>
6427
6428         * buffer.h: add std::
6429
6430 2003-02-17  John Levon  <levon@movementarian.org>
6431
6432         * SpellBase.h:
6433         * ispell.h:
6434         * ispell.C:
6435         * pspell.h:
6436         * pspell.C: reworking. Especially in ispell, a large
6437           number of clean ups and bug fixes.
6438
6439         * lyxfunc.C: fix revert to behave sensibly
6440
6441 2003-02-17 André Pönitz <poenitz@gmx.net>
6442
6443         * LyXAction.C:
6444         * commandtags.h: new LFUN_INSERT_BIBKEY
6445
6446         * layout.h:
6447         * lyxlayout.C:
6448         * buffer.C:
6449         * factory.C:
6450         * text.C:
6451         * text2.C:
6452         * text3.C:
6453         * paragraph.[Ch]:
6454         * paragraph_func.C: remove special bibkey handling
6455
6456 2003-02-17  John Levon  <levon@movementarian.org>
6457
6458         * text.C (Delete): fix case where delete at the end of
6459           the very first paragraph would not merge the pars
6460
6461 2003-02-17  John Levon  <levon@movementarian.org>
6462
6463         * lyxrow.C: fix lastPrintablePos()
6464
6465 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6466
6467         * bufferparams.C (writeLaTeX): add a std:here
6468
6469         * buffer.C: and remove a using directive there
6470
6471 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6472
6473         * buffer.C (makeLaTeXFile): move the code that generates the
6474           preamble...
6475
6476         * bufferparams.C (writeLaTeX): ... in this new method
6477
6478         * LaTeXFeatures.C (getEncodingSet): make const
6479           (getLanguages): make const
6480
6481         * MenuBackend.C (binding): returns the binding associated to this
6482           action
6483           (add): sets the status of each item by calling getStatus. Adds
6484           some intelligence.
6485           (read): add support for OptSubMenu
6486           (expand): remove extra separator at the end of expanded menu
6487
6488 2003-02-15  John Levon  <levon@movementarian.org>
6489
6490         * BufferView.C:
6491         * BufferView_pimpl.C:
6492         * bufferlist.h:
6493         * bufferlist.C: remove pointless BufferStorage bloat. Remove
6494           inset code that had no actual effect. Remove unneeded status
6495           code.
6496
6497 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6498
6499         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6500           in preamble
6501
6502 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
6503
6504         * text.C (drawLengthMarker): also draw an arrow marker for
6505           symbolic lengths (medskip...)
6506
6507 2003-02-14  John Levon  <levon@movementarian.org>
6508
6509         * tabular.h:
6510         * tabular.C: better method names
6511
6512 2003-02-14  John Levon  <levon@movementarian.org>
6513
6514         * BufferView_pimpl.C:
6515         * bufferlist.C:
6516         * buffer.C:
6517         * converter.C:
6518         * lyx_cb.C:
6519         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6520           it's a more accurate name. Remove some pointless uses.
6521
6522 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6523
6524         * text2.C (LyXText): change order of initilizers to shut off
6525           warnings
6526
6527 2003-02-14  John Levon  <levon@movementarian.org>
6528
6529         * buffer.C: use ParIterator for getParFromID()
6530
6531         * paragraph.h:
6532         * paragraph.C:
6533         * paragraph_pimpl.h:
6534         * paragraph_pimpl.C: remove unused getParFromID()
6535
6536 2003-02-14  John Levon  <levon@movementarian.org>
6537
6538         * buffer.C: remove some very old #if 0'd parse code
6539
6540 2003-02-13  John Levon  <levon@movementarian.org>
6541
6542         * text.h:
6543         * text.C:
6544         * text2.C: move hfillExpansion(), numberOfSeparators(),
6545           rowLast(), rowLastPrintable(), numberofHfills(),
6546           numberOfLabelHfills() ...
6547
6548         * lyxrow.h:
6549         * lyxrow.C: ... to member functions here.
6550
6551         * paragraph.h:
6552         * paragraph.C:
6553         * lyxtext.h:
6554         * text.C: remove LyXText::beginningOfMainBody(), and call
6555           p->beginningOfMainBody() directly. Move the check for
6556           LABEL_MANUAL into the latter.
6557
6558         * text.h:
6559         * text.C:
6560         * text2.C:
6561         * vspace.C:
6562         * BufferView.h:
6563         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6564
6565         * text.h:
6566         * text.C:
6567         * text2.C:
6568         * text3.C:
6569         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6570           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6571
6572 2003-02-13  John Levon  <levon@movementarian.org>
6573
6574         * CutAndPaste.C: remove debug
6575
6576 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6577
6578         * paragraph.C (asString): remove two unused variables
6579
6580         * lyxtextclass.C (readTitleType):
6581           (Read):
6582           (LyXTextClass): handle new members titletype_ and titlename_
6583
6584         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6585
6586 2003-02-09  John Levon  <levon@movementarian.org>
6587
6588         * buffer.h:
6589         * buffer.C: replace hand-coded list with a map for the dep clean
6590
6591 2003-02-08  John Levon  <levon@movementarian.org>
6592
6593         * LaTeX.C: consolidate code into showRunMessage() helper
6594
6595 2003-02-08  John Levon  <levon@movementarian.org>
6596
6597         * lyxfind.C:
6598         * lyxtext.h:
6599         * text2.C:
6600         * BufferView.C: change setSelectionOverString() to setSelectionRange()
6601           and pass the size in explicitly
6602
6603         * BufferView_pimpl.h:
6604         * BufferView_pimpl.C:
6605         * BufferView.h:
6606         * BufferView.C: add getCurrentChange()
6607
6608         * BufferView_pimpl.h:
6609         * BufferView_pimpl.C: handle change lfuns
6610
6611         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6612           for changes. Mark pasted paragraphs as new.
6613
6614         * support/lyxtime.h:
6615         * support/lyxtime.C:
6616         * DepTable.C: abstract time_t as lyx::time_type
6617
6618         * LColor.h:
6619         * LColor.C: add colours for new text, deleted text, changebars
6620
6621         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6622           package use "usenames" option.
6623
6624         * commandtags.h:
6625         * lyxfunc.C:
6626         * LyXAction.C: add change lfuns
6627
6628         * Makefile.am:
6629         * author.h:
6630         * author.C: author handling
6631
6632         * buffer.h:
6633         * buffer.C: add a per-buffer author list, with first entry as
6634           current author. Handle new .lyx tokens for change tracking. Output
6635           author list to .lyx file. Output dvipost stuff to .tex preamble.
6636           Bump lyx format to 222.
6637
6638         * bufferlist.h:
6639         * bufferlist.C: add setCurrentAuthor() to reset current author details
6640           in all buffers.
6641
6642         * bufferparams.h:
6643         * bufferparams.C: add param for tracking
6644
6645         * bufferview_funcs.C: output change info in minibuffer
6646
6647         * Makefile.am:
6648         * changes.h:
6649         * changes.C: add change-tracking structure
6650
6651         * debug.h:
6652         * debug.C: add CHANGES debug flag
6653
6654         * lyxfind.h:
6655         * lyxfind.C: add code for finding the next change piece
6656
6657         * lyxrc.h:
6658         * lyxrc.C: add user_name and user_email
6659
6660         * lyxrow.h:
6661         * lyxrow.C: add a metric for the top of the text line
6662
6663         * lyxtext.h:
6664         * text.C: implement accept/rejectChange()
6665
6666         * lyxtext.h:
6667         * text.C: paint changebars. Paint new/deleted text in the chosen
6668         colours. Strike through deleted text.
6669
6670         * paragraph.h:
6671         * paragraph.C:
6672         * paragraph_pimpl.h:
6673         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6674           in the current change to the insert functions. Rework erase to
6675           mark text as deleted, adding an eraseIntern() and a range-based
6676           erase(). Implement per-paragraph change lookup and
6677           accept/reject.
6678
6679         * paragraph_funcs.C: Fixup paste for change tracking.
6680
6681         * tabular.C: mark added row/columns as new.
6682
6683         * text.C: fix rowLast() to never return -1. Don't allow
6684           spellchecking of deleted text. Track transpose changes. Don't
6685           allow paragraph break or merge where appropriate.
6686
6687         * text2.C: leave cursor at end of selection after a cut.
6688
6689 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6690
6691         * text.C (getLengthMarkerHeight):
6692         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6693         visible on screen too.
6694
6695 2003-02-07  John Levon  <levon@movementarian.org>
6696
6697         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6698
6699 2003-02-05  Angus Leeming  <leeming@lyx.org>
6700
6701         * lyxserver.C (read_ready): revert my patch of 11 September last year
6702         as it sends PC cpu through the roof. Presumably this means that
6703         the lyxserver will no longer run on an Alpha...
6704
6705 2003-01-30  Angus Leeming  <leeming@lyx.org>
6706
6707         * factory.C (createInset): create an InsetCommandParam of type "index"
6708         and use it to 'do the right thing'.
6709
6710         * text2.C (getStringToIndex): ensure that cursor position is always
6711         reset to the reset_cursor position.
6712
6713 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6714
6715         * lyxfunc.C (getStatus): "buffer-export custom" should never be
6716         disabled.
6717
6718 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
6719
6720         * bufferview.C:
6721         * lyxcb.C:
6722         * lyxfunc.C: Output messages with identical spelling, punctuation,
6723         and spaces
6724
6725 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
6726
6727         * MenuBackend.C (expandFormats): List only viewable export formats
6728         in "View" menu
6729
6730         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6731         message
6732
6733         * lyxfunc.C (getStatus): Make sure that formats other than
6734         "fax" can also be disabled
6735
6736 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6737
6738         * text3.C (dispatch): put the lfuns that insert insets in 3
6739         groups, and call doInsertInset with appropriate arguments.
6740         (doInsertInset): new function, that creates an inset and inserts
6741         it according to some boolean parameters.
6742
6743 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6744
6745         * buffer.C (readFile): remember to pass on 'par' when calling
6746         readFile recursively.
6747
6748 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6749
6750         * MenuBackend.C (expandFormats): add "..." to import formats.
6751
6752 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
6753
6754         * paragraph.C (asString): Remove XForms RTL hacks.
6755
6756 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
6757         * buffer.C: fix typo
6758
6759 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6760
6761         * Makefile.am (LIBS): delete var
6762         (lyx_LDADD): add @LIBS@ here instead.
6763
6764 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
6765
6766         * Clarify the meaning of "wheel mouse jump"
6767
6768 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6769
6770         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6771         tabular in a float
6772
6773 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6774
6775         * importer.C (Loaders): do not preallocate 3 elements in the
6776         vector, since one ends up with 6 elements otherwise
6777
6778 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6779
6780         * DepTable.C (write): write the file name as last element of the
6781         .dep file (because it may contain spaces)
6782         (read): read info in the right order
6783
6784 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6785
6786         * paragraph_pimpl.C (simpleTeXBlanks):
6787         (simpleTeXSpecialChars):
6788         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6789
6790         * tabular.C (latex): add some missing case statements. Reindent.
6791
6792         * MenuBackend.C (expandToc): remove unused variable.
6793
6794 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
6795
6796         * LColor.C:
6797         * LaTeX.C:
6798         * LyXAction.C:
6799         * MenuBackend.C:
6800         * buffer.C:
6801         * exporter.C:
6802         * lyxfunc.C:
6803         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6804         and the like.
6805
6806 2003-01-05  John Levon  <levon@movementarian.org>
6807
6808         * BufferView.h:
6809         * BufferView.C: add getEncoding()
6810
6811         * kbsequence.h:
6812         * kbsequence.C: do not store last keypress
6813
6814         * lyxfunc.h:
6815         * lyxfunc.C: store last keypress here instead. Pass encoding
6816           to getISOEncoded()
6817
6818 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6819
6820         * lyx_main.C (init): remove annoying error message when following
6821         symbolic links (bug #780)
6822
6823 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6824
6825         * text.C (insertChar):
6826         * lyxrc.C (getDescription): remove extra spaces
6827
6828 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6829
6830         * lyxrc.C (getDescription): remove extra spaces
6831
6832 2002-12-20  John Levon  <levon@movementarian.org>
6833
6834         * text3.C: hack fix for page up/down across tall rows
6835
6836 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6837
6838         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6839         not been invoked
6840
6841 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6842
6843         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6844         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6845         thesaurus is not compiled in
6846
6847 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
6848
6849         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6850
6851 2002-12-16  Angus Leeming  <leeming@lyx.org>
6852
6853         * lyxrc.[Ch]:
6854         * lyx_main.C (init): remove override_x_deadkeys stuff.
6855
6856 2002-12-12  John Levon  <levon@movementarian.org>
6857
6858         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6859           insert. Only remove shift modifier under strict
6860           circumstances.
6861
6862 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6863
6864         * MenuBackend.C (expandToc): fix crash.
6865
6866 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6867
6868         * MenuBackend.C (expandToc): gettext on float names.
6869
6870 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6871
6872         * lyxlength.[Ch]: set default unit to UNIT_NONE,
6873         implement bool empty() [bug 490]
6874
6875 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6876
6877         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6878
6879 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6880
6881         * several files: ws changes
6882
6883 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6884
6885         * text2.C (setCounter): clean up a bit, use boost.format.
6886         (updateCounters): initialize par upon declaration.
6887
6888         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6889         if the layout exists. We do not just store the layout any more.
6890         (SwitchLayoutsBetweenClasses): use boost.format
6891
6892 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6893
6894         * converter.C (convert): if from and to files are the same, use a
6895         temporary files as intermediary
6896
6897 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6898
6899         * commandtags.h:
6900         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6901
6902 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6903
6904         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6905
6906 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6907
6908         * tabular.C (asciiPrintCell): use string(size, char) instead of
6909         explicit loop.
6910
6911         * sgml.C (openTag): fix order of arguments to string constructor
6912         (closeTag): ditto
6913
6914         * lyxfunc.C (dispatch): use boost.format
6915
6916         * lots of files: change "c" -> 'c'
6917
6918 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6919
6920         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6921
6922 2002-11-25  Angus Leeming  <leeming@lyx.org>
6923
6924         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6925
6926         * lyx_main.C (init): compile fix.
6927
6928 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6929
6930         * lyx_cb.C (start): boost.formatify
6931         do not include <iostream>
6932
6933         * lengthcommon.C: ws only
6934
6935         * boost-inst.C,BoostFormat.h: add more explict instantations
6936
6937 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6938
6939         * lots of files: handle USE_BOOST_FORMAT
6940
6941 2002-11-21  John Levon  <levon@movementarian.org>
6942
6943         * pspell.C: fix compile
6944
6945 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6946
6947         * lyxfunc.C (dispatch): use boost::format
6948         (open): ditto
6949         (doImport): ditto
6950
6951         * lyxfont.C (stateText): use boost::format
6952
6953         * lyx_main.C (LyX): use boost::format
6954         (init): ditto
6955         (queryUserLyXDir): ditto
6956         (readRcFile): ditto
6957         (parse_dbg): ditto
6958         (typedef boost::function): use the recommened syntax.
6959
6960         * importer.C (Import): use boost::format
6961
6962         * debug.C (showLevel): use boost::format
6963
6964         * converter.C (view): use boost::format
6965         (convert): ditto
6966         (move): ditto
6967         (scanLog): ditto
6968
6969         * bufferview_funcs.C (currentState): use boost::format
6970
6971         * bufferlist.C (emergencyWrite): use boost::format
6972
6973         * buffer.C (readLyXformat2): use boost::format
6974         (parseSingleLyXformat2Token): ditto
6975
6976         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6977
6978         * LaTeX.C (run): use boost::format
6979
6980         * Chktex.C (scanLogFile): use boost::format
6981
6982         * BufferView_pimpl.C (savePosition): use boost::format
6983         (restorePosition): ditto
6984         (MenuInsertLyXFile): ditto
6985
6986         * BoostFormat.h: help file for explicit instation.
6987
6988 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6989
6990         * tabular.C (latex): Support for block alignment in fixed width
6991         columns.
6992
6993 2002-11-17  John Levon  <levon@movementarian.org>
6994
6995         * BufferView_pimpl.C:
6996         * lyx_cb.C:
6997         * lyxfunc.C: split filedialog into open/save
6998
6999 2002-11-08  Juergen Vigna  <jug@sad.it>
7000
7001         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7002         by my last patch (hopefully).
7003
7004 2002-11-08  John Levon  <levon@movementarian.org>
7005
7006         * iterators.h:
7007         * iterators.C:
7008         * buffer.h:
7009         * buffer.C:
7010         * paragraph.h:
7011         * paragraph.C:
7012         * toc.h:
7013         * toc.C: ParConstIterator, and use it (from Lars)
7014
7015 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
7016
7017         * lyxtextclass.[Ch]: revise and add doxygen comments
7018
7019 2002-11-07  John Levon  <levon@movementarian.org>
7020
7021         * text.C: fix progress value for spellchecker
7022
7023         * toc.C: fix navigate menu for insetwrap inside minipage
7024
7025         * paragraph_funcs.C: added FIXME for suspect code
7026
7027 2002-11-07  John Levon  <levon@movementarian.org>
7028
7029         * BufferView_pimpl.C: fix redrawing of insets
7030           on buffer switch
7031
7032 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7033
7034         * text2.C (updateCounters): fix bug 668
7035
7036 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
7037
7038         * text3.C (dispatch): Do not make the buffer dirty when moving the
7039         cursor.
7040
7041 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7042
7043         * vc-backend.C: STRCONV
7044         (scanMaster): ditto
7045
7046         * text2.C (setCounter): STRCONV
7047
7048         * paragraph.C (asString): STRCONV
7049
7050         * lyxlength.C (asString): STRCONV
7051         (asLatexString): ditto
7052
7053         * lyxgluelength.C (asString): STRCONV
7054         (asLatexString): ditto
7055
7056         * lyxfunc.C (dispatch): STRCONV
7057         (open): ditto
7058
7059         * lyxfont.C (stateText): STRCONV
7060
7061         * importer.C (Import): STRCONV
7062
7063         * counters.C (labelItem): STRCONV
7064         (numberLabel): ditto
7065         (numberLabel): remove unused ostringstream o
7066
7067         * chset.C: STRCONV
7068         (loadFile): ditto
7069
7070         * bufferview_funcs.C (currentState): STRCONV
7071
7072         * buffer.C (readFile): STRCONV
7073         (asciiParagraph): ditto
7074         (makeLaTeXFile): ditto
7075
7076         * Spacing.C (writeEnvirBegin): STRCONV
7077
7078         * LaTeXFeatures.C (getLanguages): STRCONV
7079         (getPackages): ditto
7080         (getMacros): ditto
7081         (getBabelOptions): ditto
7082         (getTClassPreamble): ditto
7083         (getLyXSGMLEntities): ditto
7084         (getIncludedFiles): ditto
7085
7086         * LaTeX.C: STRCONV
7087         (run): ditto
7088         (scanAuxFile): ditto
7089         (deplog): ditto
7090
7091         * LString.h: add the STRCONV macros
7092
7093         * BufferView_pimpl.C (savePosition): STRCONV
7094         (restorePosition): ditto
7095         (MenuInsertLyXFile): ditto
7096
7097         * vc-backend.C (scanMaster): change from submatch[...] to
7098         submatch.str(...)
7099
7100         * funcrequest.C: include config.h
7101
7102         * factory.C: include config.h
7103
7104         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7105
7106         * box.C: include config.h
7107
7108         * LaTeX.C (scanAuxFile): change from submatch[...] to
7109         submatch.str(...)
7110         (deplog): ditto
7111
7112 2002-10-25  Angus Leeming  <leeming@lyx.org>
7113
7114         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7115
7116         * ispell.[Ch] (setError): new method.
7117         * ispell.C (c-tor): move out child process into new class LaunchIspell.
7118         Use setError() insetead of goto END.
7119
7120         * lyx_cb.C (AutoSave): move out child process into new class
7121         AutoSaveBuffer.
7122
7123 2002-10-30  John Levon  <levon@movementarian.org>
7124
7125         * text3.C: make start appendix undoable
7126
7127 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
7128
7129         * lyxlength.C (inPixels): Fix returned value.
7130
7131         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7132         environment.
7133
7134 2002-10-24  Angus Leeming  <leeming@lyx.org>
7135
7136         * lyxgluelength.h: no need to forward declare BufferParams
7137         or BufferView, so don't.
7138
7139 2002-10-21  John Levon  <levon@movementarian.org>
7140
7141         * BufferView.C: menuUndo ->undo, redo
7142
7143         * BufferView.h: document, remove dead, make some methods private
7144
7145         * paragraph_funcs.h:
7146         * paragraph_funcs.C:
7147         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7148
7149         * buffer.h:
7150         * buffer.C:
7151         * sgml.h:
7152         * sgml.C: move sgml open/close tag into sgml.C
7153
7154         * bufferview_funcs.h: unused prototype
7155
7156         * lyxfunc.h:
7157         * lyxfunc.C: remove unused
7158
7159         * lyxtext.h:
7160         * text.C: remove unused
7161
7162 2002-10-21  John Levon  <levon@movementarian.org>
7163
7164         * BufferView.h:
7165         * BufferView.C:
7166         * BufferView_pimpl.h:
7167         * BufferView_pimpl.C: fix mouse wheel handling based on
7168           patch from Darren Freeman
7169
7170 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
7171
7172         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7173
7174 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
7175
7176         * lyxlength.C (inPixels): Fix hanfling of negative length.
7177         Fix LyXLength::MU case.
7178
7179 2002-10-16  John Levon  <levon@movementarian.org>
7180
7181         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7182
7183 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7184
7185         * converter.C (view): add support for $$i (file name) and $$p
7186         (file path) for the viewer command. If $$i is not specified, then
7187         it is appended to the command (for compatibility with old syntax)
7188
7189 2002-10-14  Juergen Vigna  <jug@sad.it>
7190
7191         * undo_funcs.C (textHandleUndo): alter the order in which the
7192         new undopar is added to the LyXText, as we have to set first
7193         the right prev/next and then add it as otherwise the rebuild of
7194         LyXText is not correct. Also reset the cursor to the right paragraph,
7195         with this IMO we could remove the hack in "redoParagraphs()".
7196
7197 2002-10-09  Angus Leeming  <leeming@lyx.org>
7198
7199         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7200         to turn off an optimisation if a new inset is to be inserted.
7201
7202 2002-10-11 André Pönitz <poenitz@gmx.net>
7203
7204         * lyxtext.h: make some functions public to allow access
7205         from inset/lyxtext for handling LFUN_PRIOR/NEXT
7206
7207 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7208
7209         * text3.C (dispatch): when changing layout, avoid an infinite loop
7210         [bug #652]
7211
7212 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7213
7214         * lyxrc.C (read): treat a viewer or converter command of "none" as
7215         if it were empty.
7216
7217         * MenuBackend.C (expandFormats): for an update, also allow the
7218         formats that are not viewable
7219
7220         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7221         script if it is newer than the lyxrc.defaults in user directory
7222
7223 2002-10-07 André Pönitz <poenitz@gmx.net>
7224
7225         * text.C: Vitaly Lipatov's small i18n fix
7226
7227 2002-09-25  Angus Leeming  <leeming@lyx.org>
7228
7229         * ispell.h: doxygen fix.
7230
7231 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
7232
7233         * buffer.h (readFile): Add a new argument to the method, to allow
7234         reading of old-format templates.
7235
7236 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
7237
7238         * toc.C (getTocList): Get TOC from InsetWrap.
7239
7240 2002-09-16  John Levon  <levon@movementarian.org>
7241
7242         * lyxfunc.C: check tabular for cut/copy too
7243
7244 2002-09-12  John Levon  <levon@movementarian.org>
7245
7246         * LyXAction.C: tidy
7247
7248         * factory.h:
7249         * factory.C: add header
7250
7251         * paragraph_funcs.h:
7252         * paragraph_funcs.C: cleanup
7253
7254 2002-09-11  John Levon  <levon@movementarian.org>
7255
7256         * PrinterParams.h: odd/even default to true
7257
7258 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
7259
7260         * PrinterParams.h: update printer parameters for new xforms dialog
7261
7262 2002-09-11  Angus Leeming  <leeming@lyx.org>
7263
7264         * lyxserver.C (read_ready): re-write to make it more transparent
7265         and to make it work in coherent fashion under Tru64 Unix.
7266
7267 2002-09-11  André Pönitz <poenitz@gmx.net>
7268
7269         * commandtags.h:
7270         * LyXAction.C:
7271         * text3.C: implement LFUN_WORDSEL
7272
7273 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7274
7275         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7276         make floatlist_ a boost::shared_ptr<FloatList>
7277
7278         * lyxtextclass.C: include FloatList.h
7279         (LyXTextClass): initialize floatlist_
7280         (TextClassTags): add TC_NOFLOAT
7281         (Read): match "nofloat" to TC_NOFLOAT and use it.
7282         (readFloat): modify call to floatlist_
7283         (floats): ditto
7284         (floats): ditto
7285
7286         * FloatList.[Ch] (FloatList): remove commented out float
7287         initialization.
7288         (erase): new function
7289
7290 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7291
7292         * MenuBackend.C (expandToc): fix crash when there is no document
7293         open
7294
7295 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
7296
7297         * many files: Add insetwrap.
7298
7299 2002-09-09  John Levon  <levon@movementarian.org>
7300
7301         * text2.C: remove confusing and awkward depth wraparound
7302
7303 2002-09-09  John Levon  <levon@movementarian.org>
7304
7305         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7306
7307         * buffer.h:
7308         * buffer.C: remove getIncludeonlyList()
7309
7310         * paragraph.C:
7311         * lyxfunc.C: remove headers
7312
7313 2002-09-09  Juergen Vigna  <jug@sad.it>
7314
7315         * text.C (getColumnNearX): fix form Michael this is most
7316         probably a cut&paste bug.
7317
7318 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7319
7320         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7321
7322         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7323         references, ws changes.
7324
7325         * text2.C (init): update counters after init
7326         (insertParagraph): no need to set counter on idividual paragraphs.
7327         (setCounter): access the counters object in the textclass object
7328         on in the buffer object.
7329         (updateCounters): ditto
7330
7331         * lyxtextclass.C: include counters.h, add variable ctrs_ as
7332         shared_ptr<Counters> to avoid loading counters.h in all
7333         compilation units.
7334         (LyXTextClass): initialize ctrs_
7335         (TextClassTags): add TC_COUNTER, and ...
7336         (Read): use it here.
7337         (CounterTags): new tags
7338         (readCounter): new function
7339         (counters): new funtion
7340         (defaultLayoutName): return a const reference
7341
7342         * counters.C (Counters): remove contructor
7343         (newCounter): remove a couple of unneeded statements.
7344         (newCounter): simplify a bit.
7345         (numberLabel): some small formatting changes.
7346
7347         * buffer.[Ch]: remove all traces of counters, move the Counters
7348         object to the LyXTextClass.
7349
7350 2002-09-06  Alain Castera  <castera@in2p3.fr>
7351
7352         * tabular.C: uses \tabularnewline; uses >{...} construct from array
7353         package to set the horizontal alignment on fixed width columns.
7354
7355         * lyx_sty.C:
7356         * lyx_sty.h: added tabularnewline macro def.
7357
7358         * LaTeXFeatures.C: added NeedTabularnewline macro feature
7359
7360 2002-09-06  John Levon  <levon@movementarian.org>
7361
7362         * LyXAction.C: tooltips for sub/superscript
7363
7364         * MenuBackend.C: a bit more verbose
7365
7366         * lyxfunc.C: tiny clean
7367
7368         * undo_funcs.C: document undo_frozen
7369
7370 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7371
7372         * counters.C (Counters): add missing algorithm counter.
7373
7374         * text2.C (setCounter): lookup the counter with layouts latexname
7375         instead of by section number.
7376         (setCounter): use a hackish way to lookup the correct enum
7377         counter.
7378         a float name->type change
7379         reset enum couners with counter name directly instead of depth value.
7380
7381         * counters.C (Counters): remove the push_backs, change to use the
7382         float type not the float name.
7383         (labelItem): remove unused string, float name->type change
7384
7385         * counters.h: don't include vector, loose the enums and sects vectors
7386
7387 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7388
7389         * lyxtextclass.C (TextClassTags): add TC_FLOAT
7390         (Read): add float->TC_FLOAT to textclassTags
7391         (Read): and handle it in the switch
7392         (readFloat): new function
7393
7394         * FloatList.C (FloatList): comment out the hardcoded float
7395         definitions.
7396
7397         * lyxlayout.h: ws change.
7398
7399 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
7400
7401         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7402
7403 2002-09-03  Angus Leeming  <leeming@lyx.org>
7404
7405         * BufferView_pimpl.h: qualified name is not allowed in member
7406         declaration: WorkArea & Pimpl::workarea() const;
7407
7408         * factory.C: added using std::endl directive.
7409
7410         * text3.C: added using std::find and std::vector directives.
7411
7412 2002-08-29  André Pönitz <poenitz@gmx.net>
7413
7414         * lyxtext.h:
7415         * text2.C: remove unused member number_of_rows
7416
7417         * Makefile.am:
7418         * BufferView2.C: remove file, move contents to...
7419         * BufferView.C: ... here
7420
7421         * BufferView_pimpl.C:
7422         * factory.C: move more inset creation to factory
7423
7424         * vspace.C: avoid direct usage of LyXText, ws changes
7425
7426         * BufferView.[Ch]:
7427                 don't provide direct access to WorkArea, use two simple
7428                 acessors haveSelction() and workHeight() instead
7429
7430
7431 2002-08-29  John Levon  <levon@movementarian.org>
7432
7433         * BufferView_pimpl.C (dispatch): do not continue when
7434           no buffer
7435
7436 2002-08-28  André Pönitz <poenitz@gmx.net>
7437
7438         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7439
7440         * BufferView.h:
7441         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7442
7443 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
7444
7445         * buffer.C: increment LYX_FORMAT to 221
7446
7447         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7448         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7449
7450         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7451
7452         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7453
7454 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7455
7456         * factory.C (createInset): use LyXTextClass::floats
7457
7458         * MenuBackend.C (expandFloatListInsert):
7459         (expandFloatInsert):
7460         (expandToc):
7461
7462         * text2.C (setCounter):
7463
7464         * LaTeXFeatures.C (useFloat):
7465         (getFloatDefinitions):
7466
7467         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7468
7469         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7470         floatlist_, with accessor floats().
7471
7472         * FloatList.h: remove global FloatList
7473
7474 2002-08-26  André Pönitz <poenitz@gmx.net>
7475
7476         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7477
7478         * BufferView.h:
7479         * BufferView2.C:
7480         * BufferView_pimpl.C:
7481         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7482
7483 2002-08-25  John Levon  <levon@movementarian.org>
7484
7485         * LyXAction.C: fix margin note description
7486
7487 2002-08-24  John Levon  <levon@movementarian.org>
7488
7489         * buffer.C:
7490         * bufferlist.C:
7491         * bufferview_funcs.C:
7492         * lyxfont.C:
7493         * undo_funcs.C: cleanups
7494
7495         * lyxfunc.C: disable CUT/COPY when no selection
7496
7497 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
7498
7499         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7500         in "enum UNIT"; e.g. PTW for Percent of TextWidth
7501
7502         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7503         Add backward compatibility to "mono", "gray" and "no".
7504
7505 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
7506
7507         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7508         (and file_format >= 200).
7509
7510 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7511
7512         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7513
7514 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7515
7516         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7517
7518 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
7519
7520         * BufferView_pimpl.C:
7521         * LyXAction.C:
7522         * buffer.C:
7523         * commandtags.h:
7524         * lyxfunc.C:
7525         * paragraph.[Ch]:
7526         * text2.C:
7527         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7528         inset and code to make it  work with the paragraph code. The inset
7529         can be anywhere in the paragraph, but will only do the expected
7530         thing in LaTeX if the layout file contains the parameter line
7531                         OptionalArgs    1
7532         (or more generally, a nonzero value) for that layout.
7533
7534 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7535
7536         * paragraph.h: remove the declaration of undefined counters class
7537         function.
7538
7539 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
7540
7541         * text2.C (setCounter):  fixed enumeration mis-count as reported by
7542         Dr. Richard Hawkins.
7543
7544 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7545
7546         * paragraph_funcs.h: remove some unneeded includes
7547
7548         * text.C (backspace): pasteParagraph now in global scipe
7549
7550         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7551         (pasteSelection): ditto
7552
7553         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7554         * paragraph_funcs.C (pasteParagraph): ... here
7555
7556 2002-08-20  André Pönitz <poenitz@gmx.net>
7557
7558         * commandtags.h: new LFUNs for swapping/copying table row/colums
7559
7560         * LyXAction.C:
7561         * lyxfunc.C: support for new lfuns
7562
7563 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7564
7565         * tabular.C:
7566         * buffer.[Ch]: remove NO_COMPABILITY stuff
7567
7568 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
7569
7570         * boost.C (throw_exception): new file, with helper function for
7571         boost compiled without exceptions.
7572
7573         * paragraph.h:
7574         * lyxlength.C:
7575         * buffer.C:
7576         * ParameterStruct.h:
7577         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7578
7579         * bufferlist.C (emergencyWriteAll): use boost bind
7580
7581         * BufferView_pimpl.C (moveCursorUpdate): remove inline
7582
7583         * text.C: include paragraph_funcs.h
7584         (breakParagraph): breakParagraph is now in global scope
7585
7586         * paragraph_funcs.[Ch]: new files
7587
7588         * paragraph.C (breakParagraph,breakParagraphConservative): move to
7589         global scope
7590
7591         * buffer.C: include paragraph_funcs.h
7592         (insertStringAsLines): breakParagraph is now in global scope
7593
7594         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7595         paragraph_funcs.C
7596
7597         * CutAndPaste.C: include paragraph_funcs.h
7598         (cutSelection): breakParagraphConservative is now in global scope
7599         (pasteSelection): ditto
7600
7601         * buffer.h: declare oprator== and operator!= for
7602         Buffer::inset_iterator
7603
7604         * bufferlist.C (emergencyWrite): don't use fmt(...)
7605
7606         * text3.C: add using std::endl
7607
7608         * BufferView.C (moveCursorUpdate): remove default arg
7609
7610 2002-08-20  André Pönitz <poenitz@gmx.net>
7611
7612         * buffer.[Ch]: move inline functions to .C
7613
7614         * BufferView2.C:
7615         * BufferView_pimpl.C:
7616         * text.C:
7617         * buffer.[Ch]: use improved inset_iterator
7618
7619         * buffer.C:
7620         * paragraph.[Ch]: write one paragraph at a time
7621
7622 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
7623
7624         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7625         style if style is not specified.
7626
7627 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7628
7629         * text2.C (setCounter): when searching for right label for a
7630         caption, make sure to recurse to parent insets (so that a caption
7631         in a minipage in a figure float works) (bug #568)
7632
7633 2002-08-20  André Pönitz <poenitz@gmx.net>
7634
7635         * text3.C: new file for LyXText::dispatch() and helpers
7636
7637         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7638
7639         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7640
7641 2002-08-19  André Pönitz <poenitz@gmx.net>
7642
7643         * lyxtext.h:
7644         * text.C: new LyXText::dispatch()
7645
7646         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7647
7648 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
7649
7650         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7651
7652         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7653         Hebrew text.
7654
7655 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7656
7657         * Makefile.am: use $(variables) instead of @substitutions@
7658
7659 2002-08-15  André Pönitz <poenitz@gmx.net>
7660
7661         * lyxfunc.C:
7662         * BufferView_pimpl.C: streamlining mathed <-> outer world
7663         interaction
7664
7665         * commandtags.h:
7666         * LyXAction.C: remove unused LFUN_MATH
7667
7668 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7669
7670         * paragraph.[Ch]: add some NO_NEXT ifdefs.
7671
7672 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7673
7674         * paragraph.C (Paragraph): reformat a bit
7675         (cutIntoMinibuffer): use builtin InsetList function instad of
7676         doing it manually.
7677         (getInset): ditto
7678
7679         * buffer.C: include boost/bind.hpp, add using std::for_each
7680         (writeFileAscii): use ParagraphList iterators
7681         (validate): use for_each for validate traversal of paragraphs
7682         (getBibkeyList): use ParagraphList iterators
7683         (resizeInsets): use for_each to resizeInsetsLyXText for all
7684         paragraphs.
7685         (getParFromID): use ParagraphList iterators
7686
7687         * BufferView2.C (lockInset): use paragraph list and iterators
7688
7689 2002-08-14  John Levon  <levon@movementarian.org>
7690
7691         * lyxserver.C: remove spurious xforms include
7692
7693 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7694
7695         * lyxfunc.C (getStatus): disable math-extern outside of math mode
7696
7697 2002-08-13  André Pönitz <poenitz@gmx.net>
7698
7699         * LyXAction.[Ch]:
7700         * lyxfunc.C: further cleaning
7701
7702 2002-08-13  André Pönitz <poenitz@gmx.net>
7703
7704         * funcrequest.h: new constructor
7705
7706         * funcrequest.C: move stuff here from .h
7707
7708         * Makefile.am:
7709         * BufferView_pimpl.C:
7710         * LyXAction.C:
7711         * toc.C:
7712         * lyxfunc.C: subsequent changes
7713
7714         * lyxfunc.h: new view() member function
7715
7716         * lyxfunc.C: subsequent changes
7717
7718 2002-08-13  Angus Leeming  <leeming@lyx.org>
7719
7720         * BufferView2.C:
7721         * BufferView_pimpl.C:
7722         * buffer.C:
7723         * converter.C:
7724         * importer.C:
7725         * lyxfunc.C:
7726         * lyxvc.C:
7727         * toc.C:
7728         * vc-backend.C:
7729         changes due to the changed LyXView interface that now returns references
7730         to member variables not pointers.
7731
7732 2002-08-13  Angus Leeming  <leeming@lyx.org>
7733
7734         * WordLangTuple (word, lang_code): return references to strings,
7735         not strings.
7736
7737         * BufferView.h:
7738         * SpellBase.h:
7739         * lyxtext.h: forward-declare WordLangTuple.
7740
7741         * BufferView2.C:
7742         * ispell.C:
7743         * pspell.C:
7744         * text.C: #include "WordLangTuple.h".
7745
7746         * lyxtext.h:
7747         * text.C: (selectNextWordToSpellcheck): constify return type.
7748
7749 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
7750
7751         * buffer.C:
7752         * buffer.h:
7753         * lyxtext.h:
7754         * paragraph.C:
7755         * paragraph_pimpl.h:
7756         * text.C:
7757         * text2.C:
7758         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7759         suggested by Angus.
7760         Made updateCounter always count from start of buffer, and removed
7761         second argument (par).
7762         Reverted floats number display to '#'. Perhaps I'll try again when the
7763         code base is sanitized a bit.
7764
7765 2002-08-12  Angus Leeming  <leeming@lyx.org>
7766
7767         * buffer.[Ch] (getLabelList): constify.
7768
7769 2002-08-07  André Pönitz <poenitz@gmx.net>
7770
7771         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7772
7773         * funcrequest.h: extension to keep mouse (x,y) position
7774
7775 2002-08-12  Juergen Vigna  <jug@sad.it>
7776
7777         * BufferView2.C (insertErrors): forbid undo when inserting error
7778         insets.
7779
7780         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7781
7782 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7783
7784         * ParagraphList.[Ch]: new files
7785
7786         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7787
7788         * BufferView2.C (lockInset): ParagraphList changes
7789         * toc.C: ditto
7790         * text2.C: ditto
7791         * bufferlist.C: ditto
7792         * buffer.h: ditto
7793         * buffer.C: ditto
7794
7795 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7796
7797         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7798         unused class variable counter_,
7799
7800         * paragraph.[Ch] (getFirstCounter): delete unused function
7801
7802         * counters.C: include LAssert.h
7803         (reset): add a new function with no arg, change other version to
7804         not have def. arg and to not allow empty arg.
7805
7806         * text2.C (setCounter): remove empty arg from call to Counters::reset
7807
7808 2002-08-11  John Levon  <levon@movementarian.org>
7809
7810         * Makefile.am: add WordLangTuple.h
7811
7812 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7813
7814         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7815         lyxfunc.C lyxlex_pimpl.C: ws changes only.
7816
7817         * insets/insettext.C: InsetList changes
7818
7819         * graphics/GraphicsSupport.C (operator()): InsetList changes
7820
7821         * toc.C (getTocList): InsetList changes
7822
7823         * paragraph_pimpl.[Ch]: InsetList changes
7824
7825         * paragraph.[Ch]: InsetList changes
7826
7827         * buffer.C (inset_iterator): InsetList changes
7828         (setParagraph): ditto
7829         * buffer.h (inset_iterator): ditto
7830         * iterators.C (operator++): ditto
7831         * iterators.h: ditto
7832
7833         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7834
7835         * InsetList.[Ch]: new files, most InsetList handling moved out of
7836         paragraph.C.
7837
7838         * BufferView2.C (removeAutoInsets): InsetList changes
7839         (lockInset): ditto
7840         (ChangeInsets): ditto
7841
7842 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7843
7844         * paragraph_pimpl.h (empty): new function
7845
7846         * paragraph.[Ch] (empty): new function
7847
7848         * other files: use the new Paragraph::empty function
7849
7850 2002-08-09  John Levon  <levon@movementarian.org>
7851
7852         * lyxtext.h: remove unused refresh_height
7853
7854 2002-08-09  John Levon  <levon@movementarian.org>
7855
7856         * Makefile.am:
7857         * sgml.h:
7858         * sgml.C:
7859         * buffer.C:
7860         * paragraph.h:
7861         * paragraph.C: move sgml char escaping out of paragraph
7862
7863         * paragraph.h:
7864         * paragraph.C: remove id setter
7865
7866         * buffer.C:
7867         * paragraph.C:
7868         * paragraph_pimpl.C: remove dead tex_code_break_column
7869
7870         * bufferview_funcs.C: small cleanup
7871
7872         * lyxfunc.C: remove dead proto
7873
7874         * lyxtext.h: make some stuff private. Remove some dead stuff.
7875
7876         * lyxgluelength.C: make as[LyX]String() readable
7877
7878 2002-08-08  John Levon  <levon@movementarian.org>
7879
7880         * LyXAction.h:
7881         * LyXAction.C:
7882         * MenuBackend.C:
7883         * ToolbarDefaults.C:
7884         * lyxfunc.C:
7885         * lyxrc.C:
7886         * toc.C: lyxaction cleanup
7887
7888 2002-08-08  John Levon  <levon@movementarian.org>
7889
7890         * BufferView2.C: small cleanup
7891
7892         * lyxfind.h:
7893         * lyxfind.C: move unnecessary header into the .C
7894
7895 2002-08-08  John Levon  <levon@movementarian.org>
7896
7897         * funcrequest.h: just tedious nonsense
7898
7899         * lyx_main.h:
7900         * lyx_main.C: cleanups
7901
7902         * buffer.C:
7903         * vspace.C: remove dead header lyx_main.h
7904
7905 2002-08-07  Angus Leeming  <leeming@lyx.org>
7906
7907         * Paragraph.[Ch]:
7908         * paragraph_pimpl.h:
7909         Forward declare class Counters in paragraph.h by moving the ctrs member
7910         variable into Paragraph::Pimpl.
7911         (counters): new method, returning a reference to pimpl_->ctrs.
7912
7913         * text2.C: ensuing changes.
7914
7915 2002-08-07  John Levon  <levon@movementarian.org>
7916
7917         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7918
7919         * BufferView_pimpl.C: announce X selection on double/triple
7920           click
7921
7922         * lyx_main.C: use correct bool in batch dispatch
7923
7924         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7925
7926 2002-08-07  André Pönitz <poenitz@gmx.net>
7927
7928         * funcrequest.h: new class to wrap a kb_action and its argument
7929
7930         * BufferView.[Ch]:
7931         * BufferView_pimpl[Ch]:
7932         * LaTeX.C:
7933         * LyXAction.[Ch]:
7934         * lyxfunc.[Ch]:
7935         * lyxrc.C: subsequent changes
7936
7937
7938 2002-08-07  John Levon  <levon@movementarian.org>
7939
7940         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7941           document options change.
7942
7943 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7944
7945         * counters.[Ch]
7946         * text2.C
7947         * paragraph.[Ch]
7948         * makefile.am: move counters functionality over from
7949         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7950
7951 2002-08-06  John Levon  <levon@movementarian.org>
7952
7953         * WordLangTuple.h: new file for word + language code tuple
7954
7955         * SpellBase.h:
7956         * pspell.h:
7957         * pspell.C:
7958         * ispell.h:
7959         * ispell.C:
7960         * lyxtext.h:
7961         * text.C:
7962         * text2.C:
7963         * BufferView.h:
7964         * BufferView2.C: use WordLangTuple
7965
7966         * layout.h:
7967         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7968
7969 2002-08-06  John Levon  <levon@movementarian.org>
7970
7971         * lyx_main.C: fix cmdline batch handling
7972
7973 2002-08-06  André Pönitz <poenitz@gmx.net>
7974
7975         * lyxrc.C: set default for show_banner to true
7976
7977 2002-08-06  John Levon  <levon@movementarian.org>
7978
7979         * pspell.C: fix a crash, and allow new aspell to work
7980
7981 2002-08-06  John Levon  <levon@movementarian.org>
7982
7983         * lyxfunc.C:
7984         * kbmap.C: small cleanup
7985
7986         * vspace.h:
7987         * vspace.C: add const
7988
7989 2002-08-05  John Levon  <levon@movementarian.org>
7990
7991         * LyXAction.C: back to tabular-insert
7992
7993 2002-08-04  John Levon  <levon@movementarian.org>
7994
7995         * BufferView.h:
7996         * BufferView.C: cosmetic change
7997
7998         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7999
8000         * bufferlist.C:
8001         * buffer.h:
8002         * buffer.C:
8003         * lyxcb.h:
8004         * lyxcb.C:
8005         * lyxserver.C:
8006         * lyxvc.C:
8007         * vc-backend.C:
8008         * BufferView2.C: purge all "Lyx" not "LyX" strings
8009
8010         * lyxcursor.h:
8011         * lyxcursor.C: attempt to add some documentation
8012
8013         * lyxfunc.C:
8014         * commandtags.h:
8015         * LyXAction.C:
8016         * ToolbarDefaults.C:
8017         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8018           merge with LFUN_TABULAR_INSERT
8019
8020         * Makefile.am:
8021         * SpellBase.h:
8022         * ispell.h:
8023         * ispell.C:
8024         * pspell.h:
8025         * pspell.C: split up i/pspell implementations into separate
8026           files, many cleanups
8027
8028         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8029
8030         * text2.C: some cleanup
8031
8032         * lyxfunc.C: don't check for isp_command == "none" any more, it
8033           didn't make any sense
8034
8035 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
8036
8037         * counters.[Ch]
8038         * text2.C
8039         * paragraph.[Ch]
8040         * makefile.am: move counters functionality over
8041         from text2.C/paragraph.[Ch] to counters.[Ch], and
8042         make proper C++.
8043 2002-08-02  John Levon  <levon@movementarian.org>
8044
8045         * buffer.C: s/lyxconvert/lyx2lyx/
8046
8047 2002-08-02  Angus Leeming  <leeming@lyx.org>
8048
8049         * lyxlex.C: revert John's change as it breaks reading of the user
8050         preamble.
8051
8052 2002-08-02  Angus Leeming  <leeming@lyx.org>
8053
8054         * importer.C (Import):
8055         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8056         changes due to LyXView::view() now returning a boost::shared_ptr.
8057
8058 2002-08-02  John Levon  <levon@movementarian.org>
8059
8060         * lyxlex.C: small cleanup
8061
8062 2002-08-02  John Levon  <levon@movementarian.org>
8063
8064         * text2.C (status): small cleanup, no logic change
8065
8066 2002-08-01  John Levon  <levon@movementarian.org>
8067
8068         * buffer.h:
8069         * buffer.C (writeFile): don't output alerts, caller
8070           handles this
8071
8072         * bufferlist.C:
8073         * lyx_cb.C: from above
8074
8075         * lyxfunc.C: allow to open non-existent files
8076
8077 2002-07-31  John Levon  <levon@movementarian.org>
8078
8079         * lyxserver.C: don't let incidental errors get
8080           in the way (errno)
8081
8082 2002-07-30  John Levon  <levon@movementarian.org>
8083
8084         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8085
8086 2002-07-30  John Levon  <levon@movementarian.org>
8087
8088         * lyxserver.h:
8089         * lyxserver.C: remove I/O callback too
8090
8091 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8092
8093         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8094         log.
8095
8096 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8097
8098         * many files: strip,frontStrip -> trim,ltrim,rtrim
8099
8100 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8101
8102         * PrinterParams.h: remove extern containsOnly, and include
8103         support/lstrings.h instead.
8104
8105         * LaTeX.C (scanAuxFile): modify because of strip changes
8106         (deplog): ditto
8107         * buffer.C (makeLaTeXFile): ditto
8108         * bufferparams.C (writeFile): ditt
8109         * lyxfont.C (stateText): ditto
8110         * lyxserver.C (read_ready): ditto
8111         * vc-backend.C (scanMaster): ditto
8112
8113         * BufferView_pimpl.h: ws changes
8114
8115         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8116
8117 2002-07-26  André Pönitz <poenitz@gmx.net>
8118
8119         * kb_sequence.C: remove unnedred usings
8120
8121 2002-07-26  Juergen Vigna  <jug@sad.it>
8122
8123         * lyxfind.C (LyXReplace): we have to check better if the returned
8124         text is not of theLockingInset()->getLockingInset().
8125
8126 2002-07-25  Juergen Vigna  <jug@sad.it>
8127
8128         * lyxfind.C (LyXReplace): don't replace if we don't get the
8129         right LyXText.
8130
8131         * undo_funcs.C (createUndo): remove debugging code.
8132
8133 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
8134
8135         * buffer.C (parseSingleLyXformat2Token): Use default placement
8136         when reading old floats.
8137
8138         * FloatList.C (FloatList): Change the default placement of figure
8139         and tables to "tbp".
8140
8141 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
8142
8143         * MenuBackend.C: using std::max
8144
8145 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8146
8147         * MenuBackend.C (expandToc):
8148         (expandToc2): code moved from xforms menu frontend. It is now
8149         generic and TOCs are transparent to menu frontends.
8150
8151 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8152
8153         * toc.C (getTocList): protect against buf=0
8154
8155         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8156         Menu as first parameter. Now, this calls itself recursively to
8157         expand a whole tree (this will be useful for TOC handling)
8158         (expandFloatInsert): remove 'wide' version of floats
8159
8160         * MenuBackend.h (submenuname): returns the name of the submenu.
8161         (submenu): returns the submenu itself, provided it has been
8162         created by MenuBackend::expand
8163
8164 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8165
8166         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8167         insets which have noFontChange == true. (bug #172)
8168
8169 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8170
8171         * BufferView_pimpl.C: add connection objects and use them...
8172         (Pimpl): here.
8173
8174 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8175
8176         * MenuBackend.C (expandLastfiles):
8177         (expandDocuments):
8178         (expandFormats):
8179         (expandFloatListInsert):
8180         (expandFloatInsert):
8181         (expand): split expand in parts
8182
8183 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8184
8185         * lyx_gui.C: use lyx_gui::exit()
8186
8187 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8188
8189         * LyXAction.C: show the failing pseudo action
8190
8191 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
8192
8193         * buffer.C (readFile): Run the lyxconvert script in order to read
8194         old files.
8195
8196 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8197
8198         * LyXAction.C:
8199         * commandtags.h:
8200         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8201
8202 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8203
8204         * LyXAction.C:
8205         * commandtags.h:
8206         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8207
8208 2002-07-22  Herbert Voss  <voss@lyx.org>
8209
8210         * lengthcommon.C:
8211         * lyxlength.[Ch]: add support for the vertical lengths
8212
8213 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
8214
8215         * toc.[Ch]: std:: fixes
8216
8217 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8218
8219         * lyxrc.C: do not include lyx_main.h
8220
8221         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8222         for layouts
8223
8224         * lyxrc.C:
8225         * encoding.C:
8226         * bufferlist.C:
8227         * BufferView2.C: include "lyxlex.h"
8228
8229         * tabular.h:
8230         * bufferparams.h: do not #include "lyxlex.h"
8231
8232         * lyxtextclasslist.C (Add): remove method
8233         (classlist): renamed to classlist_
8234
8235         * paragraph_pimpl.C:
8236         * paragraph.C:
8237         * text2.C:
8238         * CutAndPaste.C:
8239         * bufferview_funcs.C:
8240         * bufferlist.C:
8241         * text.C:
8242         * LaTeXFeatures.C:
8243         * buffer.C:
8244         * toc.C (getTocList): use BufferParams::getLyXTextClass
8245
8246         * toc.C (getTocList): use InsetFloat::addToToc
8247
8248         * toc.[Ch]: new files, containing helper functions to handle table
8249         of contents
8250
8251         * lyxfunc.C (dispatch): no need to remove spaces around command
8252         given as a string
8253         (getStatus): handle LFUN_SEQUENCE by returning the status of the
8254         first command of the sequence; it is not very clever, but I do not
8255         have a better idea, actually
8256
8257         * LyXAction.C (LookupFunc): make sure to remove space at the
8258         beginning and end of the command
8259
8260 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8261
8262         * MenuBackend.C (getMenubar): new method: return the menubar of
8263         this menu set
8264         (read): treat differently reading of menu and menubar (in
8265         particular, the menubar has no name now)
8266         (Menu::menubar): remove
8267
8268         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8269         saving is finished
8270
8271 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8272
8273         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8274         a bibitem inset in a RTL paragraph.
8275
8276 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
8277
8278         * paragraph_pimpl.C: constify
8279
8280         * BufferView_pimpl.C:
8281         * LaTeX.C:
8282         * lyxfunc.C: fix dispatch in a nicer way
8283
8284 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8285
8286         * lyxfunc.C (dispatch):
8287         * BufferView_pimpl.C:
8288         * BufferView_pimpl.h:
8289         * BufferView.C:
8290         * BufferView.h: rename Dispatch() to dispatch()
8291
8292         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8293
8294         * lyxlayout.C (Read): honor DependsOn tag
8295
8296         * lyxlayout.[Ch] (depends_on): new method
8297
8298         * version.C.in: update lyx_docversion
8299
8300         * LaTeXFeatures.C (getMacros): only define \LyX when needed
8301
8302         * paragraph.C (validate): remove from here...
8303         * paragraph_pimpl.C (validate): ... and move here
8304         (isTextAt): make it const
8305
8306         * buffer.C (getLists): ws cleanup
8307
8308 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8309
8310         * language.C (read): Use iso8859-1 encoding in latex_lang
8311         (this prevents LyX from crashing when using iso10646-1 encoding).
8312
8313 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8314
8315         * text2.C (toggleInset): if cursor is inside an inset, close the
8316         inset and leave cursor _after_ it
8317
8318 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8319
8320         * lyxfunc.C: move minibuffer completion handling out of here
8321
8322 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8323
8324         * BufferView_pimpl.C:
8325         * LaTeX.C: fix dispatch calls
8326
8327 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
8328
8329         * text.C (drawChars): Fix Arabic text rendering.
8330
8331 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
8332
8333         * LyXAction.C:
8334         * commandtags.h:
8335         * lyxfunc.C: remove message-push/pop
8336
8337         * lyxserver.C:
8338         * lyxfunc.h:
8339         * lyxfunc.C: rationalise some code by removing verboseDispatch
8340           in favour of a bool argument to dispatch()
8341
8342 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8343
8344         * lyx_main.C (init): make sure to read symlinks as absolute paths
8345
8346 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8347
8348         * lyxfunc.h:
8349         * lyxfunc.C: no need for commandshortcut to be a member
8350
8351 2002-07-15  André Pönitz <poenitz@gmx.net>
8352
8353         * converter.C: add support for $$s (scripts from lib/scripts dir)
8354         * lyx_main.C: white space
8355
8356 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8357
8358         * bufferlist.C:
8359         * lyxrc.h:
8360         * lyxrc.C: remove second exit confirmation
8361
8362 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8363
8364         * BufferView.h:
8365         * BufferView.C:
8366         * BufferView2.C:
8367         * BufferView_pimpl.h:
8368         * BufferView_pimpl.C:
8369         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8370
8371 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8372
8373         * MenuBackend.C (expand): add numeric shortcuts to document menu
8374
8375         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8376
8377 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8378
8379         * lyxfont.C (setLyXFamily):
8380         (setLyXSeries):
8381         (setLyXShape):
8382         (setLyXSize):
8383         (setLyXMisc):
8384         (lyxRead):
8385         * debug.C (value):
8386         * buffer.C (asciiParagraph): use ascii_lowercase
8387
8388 2002-07-15  Mike Fabian  <mfabian@suse.de>
8389
8390         * lyxlex_pimpl.C (search_kw):
8391         * lyxlex.C (getLongString):
8392         * converter.h (operator<):
8393         * converter.C (operator<):
8394         * buffer.C (parseSingleLyXformat2Token):
8395         (asciiParagraph):
8396         * ToolbarDefaults.C (read):
8397         * MenuBackend.C (checkShortcuts):
8398         (read):
8399         * LColor.C (getFromGUIName):
8400         (getFromLyXName): use the compare_ascii_no_case instead of
8401         compare_no_case, because in turkish, 'i' is not the lowercase
8402         version of 'I', and thus turkish locale breaks parsing of tags.
8403
8404 2002-07-16  Angus Leeming  <leeming@lyx.org>
8405
8406         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8407         now takes a Buffer const & argument.
8408
8409 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
8410
8411         * BufferView.C (resize): check there's a buffer to resize
8412
8413 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
8414
8415         * lyxfunc.C: remove dead code
8416
8417         * lyxserver.h:
8418         * lyxserver.C: use lyx_guii::set_read_callback
8419
8420 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
8421
8422         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8423         an inset in a RTL paragraph.
8424
8425 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8426
8427         * lyxfunc.C: repaint after a font size update
8428
8429 2002-07-15  André Pönitz <poenitz@gmx.net>
8430
8431         * lyxlength.C: inBP should be able to return negative values
8432
8433 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8434
8435         * lyxfunc.C: use lyx_gui::update_fonts()
8436
8437 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8438
8439         * lyxfunc.C: use lyx_gui::update_color()
8440
8441 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8442
8443         * bufferlist.C:
8444         * lyxfunc.h:
8445         * lyxfunc.C:
8446         * lyxrc.h:
8447         * lyxrc.C: remove file->new asks for name option, and let
8448           buffer-new take an argument
8449
8450 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8451
8452         * BufferView_pimpl.C: remove unneeded extra repaint()
8453
8454 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
8455
8456         * LyXAction.C: allow command-sequence with NoBuffer
8457
8458         * lyxfunc.C: don't insist on trailing ';' for command-sequence
8459
8460 2002-07-10  Angus Leeming  <leeming@lyx.org>
8461
8462         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8463
8464 2002-07-09  Angus Leeming  <leeming@lyx.org>
8465
8466         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8467
8468 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8469
8470         * lengthcommon.h: whitespace
8471
8472         * lyxfunc.C: update scrollbar after goto paragraph
8473
8474         * lyxtext.h: factor out page break drawing, and fix it so
8475           page break/added space paints as selected nicely
8476
8477 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8478
8479         * BufferView_pimpl.C: add FIXMEs, clean up a little
8480
8481 2002-07-09  André Pönitz <poenitz@gmx.net>
8482
8483         * lyxfont.[Ch]: support for wasy symbols
8484
8485 2002-07-08  André Pönitz <poenitz@gmx.net>
8486
8487         * BufferView_pimpl.C: apply John's patch for #93.
8488
8489 2002-07-05  Angus Leeming  <leeming@lyx.org>
8490
8491         * BufferView_pimpl.C (buffer): generate previews if desired.
8492
8493         * LColor.h: add "preview" to the color enum.
8494
8495         * LColor.C (LColor): add a corresponding entry to the items array.
8496
8497         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8498         with this buffer.
8499
8500 2002-07-05  Angus Leeming  <leeming@lyx.org>
8501
8502         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8503         The body of the code is now in the method that is passed an ostream &
8504         rather than a file name.
8505         Pass an additional only_preamble parameter, useful for the forthcoming
8506         preview stuff.
8507
8508 2002-07-03  André Pönitz <poenitz@gmx.net>
8509
8510         * lyxfunc.C: simplify getStatus() a bit for math stuff
8511
8512 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8513
8514         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8515
8516 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8517
8518         * text.C (changeRegionCase): do not change case of all the
8519         document when region ends at paragraph end (bug #461)
8520
8521 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8522
8523         * paragraph.C (startTeXParParams):
8524         (endTeXParParams): add \protect when necessary
8525
8526 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8527
8528         * BufferView_pimpl.C (workAreaExpose): remove warning
8529
8530 2002-06-27  Angus Leeming  <leeming@lyx.org>
8531
8532         * Makefile.am: add lyxlayout_ptr_fwd.h.
8533
8534 2002-06-26  André Pönitz <poenitz@gmx.net>
8535
8536         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8537
8538 2002-06-25  Angus Leeming  <leeming@lyx.org>
8539
8540         * lyxfunc.C (dispatch): Comment out the call to
8541         grfx::GCache::changeDisplay. The method no longer exists now that the
8542         pixmap generation part of the graphics loader has been moved into
8543         InsetGraphics.
8544
8545 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8546
8547         * text2.C: layout as layout
8548
8549         * text.C: layout as layout
8550
8551         * tabular.C (OldFormatRead): layout as layout
8552
8553         * paragraph_pimpl.C (TeXDeeper): layout as layout
8554         (realizeFont): layout as layout
8555
8556         * paragraph.C (writeFile): layout as layout
8557         (validate): layout as layout
8558         (getFont): layout as layout
8559         (getLabelFont): layout as layout
8560         (getLayoutFont): layout as layout
8561         (breakParagraph): layout as layout
8562         (stripLeadingSpaces): layout as layout
8563         (getEndLabel): layout as layout
8564         (getMaxDepthAfter): layout as layout
8565         (applyLayout): layout as layout
8566         (TeXOnePar): layout as layout
8567         (simpleTeXOnePar): layout as layout
8568         (TeXEnvironment): layout as layout
8569         (layout): layout as layout
8570         (layout): layout as layout
8571
8572         * lyxtextclass.C (compare_name): new functor to work with
8573         shared_ptr, layout as layout
8574         (Read): layout as layout
8575         (hasLayout): layout as layout
8576         (operator): layout as layout
8577         (delete_layout): layout as layout
8578         (defaultLayout): layout as layout
8579
8580         * lyxlayout_ptr_fwd.h: new file
8581
8582         * lyxlayout.C (Read): layout as layout
8583
8584         * lyx_cb.C (MenuInsertLabel): layout as layout
8585
8586         * bufferlist.C (newFile): layout as layout
8587
8588         * buffer.C (readLyXformat2): layout as layout
8589         (parseSingleLyXformat2Token): layout as layout
8590         (insertStringAsLines): layout as layout
8591         (asciiParagraph): layout as layout
8592         (latexParagraphs): layout as layout
8593         (makeLinuxDocFile): layout as layout
8594         (simpleLinuxDocOnePar): layout as layout
8595         (makeDocBookFile): layout as layout
8596         (simpleDocBookOnePar): layout as layout
8597         (getLists): layout as layout
8598
8599         * LaTeXFeatures.C (getTClassPreamble): layout as layout
8600
8601         * CutAndPaste.C (cutSelection): layout as layout
8602         (pasteSelection): layout as layout
8603         (SwitchLayoutsBetweenClasses): layout as layout
8604
8605         * BufferView_pimpl.C (Dispatch): layout as layout
8606         (smartQuote): layout as layout
8607
8608         * BufferView2.C (unlockInset): layout as layout
8609
8610 2002-06-24  André Pönitz <poenitz@gmx.net>
8611
8612         * lyxfunc.C: fix #487
8613
8614 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8615
8616         * lyxrc.h:
8617         * lyxrc.C:
8618         * lyxfunc.C: remove display_shortcuts, show_banner
8619
8620 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8621
8622         * Buffer_pimpl.C: oops, update on resize
8623
8624 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8625
8626         * buffer.C:
8627         * converter.C:
8628         * exporter.C:
8629         * lyxfunc.C:
8630         * BufferView.h:
8631         * BufferView.C: use repaint()
8632
8633         * BufferView_pimpl.h:
8634         * BufferView_pimpl.C: s/updateScreen()/repaint()/
8635           as it's a clearer description. Remove superfluous
8636           redraws.
8637
8638 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8639
8640         * text.C: fix bug 488. Not ideal, but getting
8641           getWord() to work properly for the insets that
8642           matter is more difficult ...
8643
8644 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8645
8646         * BufferView_pimpl.C:
8647         * LyXAction.C:
8648         * commandtags.h:
8649         * lyxfunc.C: remove the six million index lyxfuncs to just
8650           one, and DTRT (bug 458)
8651
8652 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8653
8654         * BufferView.h:
8655         * BufferView.C:
8656         * BufferView_pimpl.h:
8657         * BufferView_pimpl.C: clean up resize() stuff,
8658           and unnecessary updateScreen()s
8659
8660 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8661
8662         * BufferView.h:
8663         * BufferView.C:
8664         * BufferView_pimpl.h:
8665         * BufferView_pimpl.C:
8666         * lyxfind.h:
8667         * lyxfind.C:
8668         * minibuffer.C: remove focus management of workarea,
8669           not needed. Use screen's greyOut()
8670
8671 2002-06-17  Herbert Voss  <voss@lyx.org>
8672
8673         * converter.C: (convert) do not post a message, when converting
8674         fails, let the calling function decide what to do in this case
8675
8676 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
8677
8678         * lyxfunc.C: tidy up a little
8679
8680 2002-06-16    <alstrup@diku.dk>
8681
8682         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8683         Got rid of FORMS_H_LOCATION include. Now we are
8684         GUII.
8685
8686 2002-06-15  LyX Development team  <lyx@rilke>
8687
8688         * buffer.[Ch] (sgmlOpenTag):
8689         (sgmlCloseTag): Added support for avoiding pernicious mixed
8690         content. Return number of lines written.
8691
8692         (makeLinuxDocFile):
8693         (makeDocBookFile): Fixed calls to sgml*Tag.
8694         Simple white space clean.
8695
8696         (simpleDocBookOnePar): Simple white space clean.
8697
8698         * tabular.[Ch] (docBook): Renamed to docbook and got another
8699         argument to related with the pernicious mixed content.
8700
8701         (docbookRow): Fixed calls for docbook inset method.
8702
8703 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
8704
8705         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8706         so it's X11 independent.
8707
8708         * kb*.[Ch]: ditto.
8709
8710         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8711
8712 2002-06-15  Lyx Development team  <lyx@electronia>
8713
8714         * intl.h: Renamed getTrans to getTransManager.
8715
8716 2002-06-14  Angus Leeming  <leeming@lyx.org>
8717
8718         * Makefile.am: nuke forgotten stl_string_fwd.h.
8719
8720 2002-06-12  Angus Leeming  <leeming@lyx.org>
8721
8722         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8723
8724 2002-06-13  Angus Leeming  <leeming@lyx.org>
8725
8726         * LaTeX.C:
8727         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8728
8729 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
8730
8731         * kbmap.C (getiso): add support for cyrillic and greek
8732
8733 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8734
8735         * BufferView.h:
8736         * BufferView.C:
8737         * BufferView_pimpl.h:
8738         * BufferView_pimpl.C: move bogus scrolling logic
8739           to xforms
8740
8741 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8742
8743         * lyxfunc.C:
8744         * BufferView_pimpl.C: view->resize() change
8745
8746 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8747
8748         * BufferView_pimpl.C: topCursorVisible
8749           prototype change
8750
8751 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8752
8753         * Makefile.am:
8754         * lyx_gui.h:
8755         * lyx_gui.C: move to frontends/
8756
8757         * main.C:
8758         * lyx_main.h:
8759         * lyx_main.C: changes from above
8760
8761 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8762
8763         * intl.C:
8764         * intl.h:
8765         * kbmap.C:
8766         * kbsequence.C:
8767         * lyx_cb.C:
8768         * lyx_main.C: minor tidy
8769
8770 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8771
8772         * BufferView_pimpl.h:
8773         * BufferView_pimpl.C:
8774         * BufferView.h:
8775         * BufferView.C: make painter() const,
8776           remove dead code
8777
8778         * BufferView2.C: use screen() accessor
8779
8780         * lyx_main.h:
8781         * lyx_main.C: some minor cleanup
8782
8783 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8784
8785         * BufferView_pimpl.h:
8786         * BufferView_pimpl.C: remove enter/leaveView,
8787           use workHeight()
8788
8789 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8790
8791         * BufferView.h:
8792         * BufferView.C:
8793         * BufferView2.C:
8794         * BufferView_pimpl.h:
8795         * BufferView_pimpl.C: only construct screen once,
8796           rename
8797
8798         * lyxrc.C: remove pointless comment
8799
8800 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8801
8802         * BufferView.h:
8803         * BufferView.C: remove active() and belowMouse()
8804
8805         * BufferView_pimpl.h:
8806         * BufferView_pimpl.C: use workarea() not workarea_,
8807           and make it use a scoped_ptr instead
8808
8809 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8810
8811         * lyx_gui.C: add debug message on BadWindow
8812
8813 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8814
8815         * sp_spell.C: fdopen is not part of the C++ standard.
8816
8817         * paragraph.C (InsetIterator): use >= instead of ==
8818
8819 2002-06-07  Angus Leeming  <leeming@lyx.org>
8820
8821         Fixes needed to compile with Compaq cxx 6.5.
8822         * BufferView_pimpl.C:
8823         * DepTable.C:
8824         * buffer.C:
8825         * converter.C:
8826         * encoding.C:
8827         * lyx_gui.C:
8828         * lyx_main.C:
8829         * lyxtextclasslist.C:
8830         * minibuffer.C:
8831         * sp_spell.C:
8832         * tabular_funcs.C:
8833         * vc-backend.C:
8834         all c-library variables have been moved into namespace std. Wrap
8835         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8836
8837         * lyxlength.C:
8838         * tabular-old.C:
8839         * tabular.C:
8840         Add a using std::abs declaration.
8841
8842         * kbmap.h (modifier_pair):
8843         * paragraph.h (InsetTable, InsetList):
8844         * lyxfont.h (FontBits):
8845         type definition made public.
8846
8847         * bufferlist.C (emergencyWriteAll): the compiler complains that
8848         there is more than one possible lyx::class_fun template to choose from.
8849         I re-named the void specialisation as lyx::void_class_fun.
8850
8851         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8852
8853         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8854         the compiler is is unable to find tostr in write_attribute.
8855
8856 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8857
8858         * buffer.C (sgmlError): hide #warning
8859
8860 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8861
8862         * xtl/*: get rid of xtl, which is not in use anyway
8863
8864         * LyXAction.C (init):
8865         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8866         were unimplemented xtl experimentation
8867
8868 2002-06-04  André Pönitz <poenitz@gmx.net>
8869
8870         * lyxfunc.C: disable array operation on simple formulae
8871
8872 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
8873
8874         * converter.C: constify a bit
8875
8876 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
8877
8878         * lyx_gui.C: check xforms version correctly
8879
8880 2002-04-30  Herbert Voss  <voss@lyx.org>
8881
8882         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8883         "keep" option
8884
8885 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
8886
8887         * lyxvc.C: fix bug 416 (make sure buffer is saved before
8888           attempt to register it with a VCS)
8889
8890 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8891
8892         * lyx_main.C (init): honor variables LYX_DIR_13x and
8893         LYX_USERDIR_13x
8894
8895 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8896
8897         * buffer.h:
8898         * buffer.C:
8899         * lyx_main.C: fix a crash on bad command line,
8900           and give a useful exit status on error
8901
8902         * lyxfunc.C (doImport): allow -i lyx to work
8903
8904 2002-03-30  André Pönitz <poenitz@gmx.net>
8905
8906         * lyxfunc.C: mathed font changes
8907
8908 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8909
8910         * LaTeX.C:
8911         * importer.h:
8912         * importer.C:
8913         * lyx_sty.h:
8914         * lyx_sty.C:
8915         * lyxlex.C:
8916         * lyxrow.h:
8917         * lyxtext.h:
8918         * paragraph.h:
8919         * paragraph.C:
8920         * texrow.h:
8921         * texrow.C:
8922         * text.C:
8923         * trans_mgr.h: srcdocs, and some minor cleanups
8924
8925 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8926
8927         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8928         call getFont all the time)
8929
8930 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8931
8932         * switch from SigC signals to boost::signals
8933
8934 2002-05-29  André Pönitz <poenitz@gmx.net>
8935
8936         * paragraph_pimpl.C (getChar): don't call size() too often...
8937
8938 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8939
8940         * paragraph_pimpl.C (insertChar): do not try to update tables when
8941         appending (pos == size())
8942
8943         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8944         in order to reduce drastically the number of comparisons needed to
8945         parse a large document
8946
8947 2002-05-29  André Pönitz <poenitz@gmx.net>
8948
8949         * text.C:
8950         * text2.C:
8951         * lyxtextclass.C:
8952         * sp_pspell.h:
8953         * textclasslist.[Ch]:
8954         * sp_ispell.h: whitespace change
8955
8956 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8957
8958         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8959         lyxaction directly now.
8960
8961 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8962
8963         * trans.C:
8964         * lyxfont.C:
8965         * lyxvc.C: remove unused headers
8966
8967 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8968
8969         * Makefile.am:
8970         * buffer.h:
8971         * undostack.h:
8972         * undostack.C:
8973         * undo_funcs.h:
8974         * undo_funcs.C: some cleanups. Use shared_ptr
8975           and a template for the undo stacks.
8976
8977 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8978
8979         * BufferView_pimpl.h:
8980         * BufferView_pimpl.C:
8981         * kbmap.h:
8982         * kbmap.C:
8983         * kbsequence.h:
8984         * kbsequence.C:
8985         * lyxfunc.h:
8986         * lyxfunc.C:
8987         * text2.C: use key_state/mouse_state
8988
8989 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8990
8991         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8992         and LSubstring
8993
8994         * chset.C: change include order
8995         (loadFile): use boost regex and get rid of LRegex and LSubstring
8996
8997         * Makefile.am (BOOST_LIBS): new variable
8998         (lyx_LDADD): use it
8999
9000         * LaTeX.C: change include order.
9001         (scanAuxFile): use boost regex and get rid of LRegex and
9002         LSubstring
9003         (deplog): ditto
9004
9005 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9006
9007         * ColorHandler.h:
9008         * ColorHandler.C:
9009         * FontInfo.h:
9010         * FontInfo.C: moved to frontends/xforms/
9011
9012         * FontLoader.h:
9013         * FontLoader.C: moved into frontends for GUIIzation
9014
9015         * Makefile.am:
9016         * lyx_gui.C:
9017         * lyxfont.C:
9018         * lyxfunc.C: changes from above
9019
9020 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9021
9022         * LColor.C: remove spurious X include
9023
9024         * BufferView_pimpl.C:
9025         * Makefile.am:
9026         * font.h:
9027         * font.C:
9028         * text.C:
9029         * text2.C: move font metrics to frontends/
9030
9031 2002-05-24  Juergen Vigna  <jug@sad.it>
9032
9033         * undo_funcs.C (textHandleUndo): fix the cursor selection after
9034         setting the undo_cursor.
9035
9036         * ParagraphParameters.h: include local includes first.
9037
9038 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9039
9040         * BufferView_pimpl.C:
9041         * BufferView_pimpl.h:
9042         * Makefile.am:
9043         * WorkArea.h:
9044         * WorkArea.C:
9045         * screen.C: move WorkArea into frontends/
9046
9047         * lyxscreen.h:
9048         * screen.C:
9049         * text.C:
9050         * BufferView.C:
9051         * BufferView2.C: move LyXScreen into frontends/
9052
9053         * lyxlookup.h:
9054         * lyxlookup.C:
9055         * lyx_gui.C: move lyxlookup into frontends/xforms/
9056
9057 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9058
9059         * BufferView2.C:
9060         * BufferView_pimpl.C:
9061         * FontLoader.C:
9062         * LyXView.h:
9063         * LyXView.C:
9064         * Makefile.am:
9065         * WorkArea.C:
9066         * XFormsView.h:
9067         * XFormsView.C:
9068         * buffer.C:
9069         * bufferlist.C:
9070         * bufferview_funcs.C:
9071         * converter.C:
9072         * importer.C:
9073         * lyx_cb.C:
9074         * lyx_gui.C:
9075         * lyx_main.C:
9076         * lyx_find.C:
9077         * lyxfunc.C:
9078         * lyxvc.C:
9079         * minibuffer.C:
9080         * text.C:
9081         * text2.C:
9082         * trans.C:
9083         * vc-backend.C: move LyX/XFormsView into frontends/
9084
9085 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9086
9087         * Makefile.am:
9088         * PainterBase.C:
9089         * PainterBase.h:
9090         * Painter.C:
9091         * Painter.h:
9092         * WorkArea.C:
9093         * WorkArea.h:
9094         * screen.C:
9095         * tabular.C:
9096         * text.C:
9097         * text2.C: move Painter to frontends/
9098
9099 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9100
9101         * buffer.C: comment out some some code that depend upon lyx_format
9102         < 220
9103
9104         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9105         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9106
9107         * buffer.h (NO_COMPABILITY): turn off compability
9108
9109         * ColorHandler.C: include scoped_array.hpp
9110
9111         * font.C: Use more specific smart_ptr header.
9112         * Painter.C: ditto
9113         * gettext.C: ditto
9114         * ShareContainer.h: ditto
9115         * lyx_main.h: ditto
9116         * kbmap.h: ditto
9117         * FontInfo.h: ditto
9118         * BufferView_pimpl.h: ditto
9119         * ColorHandler.h: ditto
9120
9121         * kbmap.C (defkey): change call to shared_ptr::reset
9122
9123 2002-05-21  Juergen Vigna  <jug@sad.it>
9124
9125         * buffer.C (insertErtContents): fix to insert ert asis if it is
9126         non empty. Skip it completely if it contains only whitespaces.
9127
9128 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
9129
9130         * BufferView_pimpl.C:
9131         * BufferView2.C: clear selection on paste (bug 393)
9132
9133 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9134
9135         * DepTable.C: include ctime
9136
9137 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
9138
9139         * buffer.C (latexParagraphs): Add new argument (moving_arg).
9140
9141 2002-05-14  Juergen Vigna  <jug@sad.it>
9142
9143         * text.C (breakParagraph): fixed function to honor the keepempty
9144         layout in the right maner and also to permit the right breaking
9145         algorithm on empty or non empyt keepempty paragraphs.
9146
9147         * paragraph.C (breakParagraph): we have to check also if the par
9148         is really empty (!size()) for isempty otherwise we do the wrong
9149         paragraph break.
9150
9151 2002-05-10  Juergen Vigna  <jug@sad.it>
9152
9153         * buffer.[Ch] : The following are only changes to the ert
9154         compatibility read reading old LaTeX layout and font stuff and
9155         convert it to ERTInsets.
9156
9157         * buffer.h: added isErtInset().
9158
9159         * buffer.C (struct ErtComp): add a fromlayout bool to check
9160         if we're inside a LaTeX layout.
9161         (isErtInset): new helper function.
9162         (insertErtContents): look for other ert insets before this one
9163         and insert the contents there, so that we don't have subsequent
9164         ERT insets with nothing between them. This way we create only one
9165         inset with multiple paragraphs. Also check if we don't insert only
9166         spaces ' ' as they are ignored anyway afterwards in the .tex file
9167         so if we have only spaces we will ignore this latex part in the
9168         new file.
9169         (parseSingleLyXformat2Token \\layout): better compatibility when
9170         reading layout-latex stuff.
9171         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9172         language tag.
9173         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9174         stuff after reading the inset only get the information back from
9175         the stack.
9176
9177 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
9178
9179         * buffer.C (makeLaTeXFile): Put language options after loading babel.
9180
9181         * LaTeXFeatures.C (getBabelOptions): New method.
9182
9183 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9184
9185         * BufferView_pimpl.C (Dispatch): work around missing argument for
9186         'layout'
9187
9188 2002-05-08  Juergen Vigna  <jug@sad.it>
9189
9190         * text.C (leftMargin): handle paragraph leftindent.
9191
9192         * paragraph.C (writeFile): write the new \\leftindent tag.
9193         (validate): handle leftindent code.
9194         (TeXEnvironment): handle paragraphleftindent code again.
9195
9196         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9197
9198         * buffer.C (parseSingleLyXformat2Token): added compatibility code
9199         for paragrap_extra indent code and new token \\leftindent.
9200         (latexParagraphs): handle the leftindent as environment.
9201
9202         * ParameterStruct.h: added leftindent support.
9203
9204         * ParagraphParameters.C (leftIndent): added support functions for
9205         the paragraph left indent.
9206
9207         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9208         more appropriate.
9209
9210 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
9211
9212         * paragraph.C (isRightToLeftPar): Return false for a paragraph
9213         inside insetERT.
9214
9215         * text.C (computeBidiTables): No bidi in insetERT.
9216
9217         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9218         in RTL documents.
9219
9220 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9221
9222         * version.C.in: pre 5
9223
9224 2002-05-02  José Matos  <jamatos@fep.up.pt>
9225         * buffer.C (makeDocBookFile): white space changes, add newline to
9226         command styles.
9227         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9228
9229         * tabular.C (docBook): fix typo.
9230
9231 2002-05-03  Juergen Vigna  <jug@sad.it>
9232
9233         * screen.C (drawFromTo): recalculate the rowpointer if we had a
9234         change in LyXText as we can not be sure it was not freed.
9235         (drawOneRow): remove unused code.
9236
9237         * text.C (drawInset): redo the calculation of the need_break_row as
9238         it could have a row which was already freed.
9239         (draw): look at the return value of drawInset and return false if
9240         it also returned false.
9241         (paintRowText): look at the return value of draw and return false if
9242         it also returned false.
9243
9244         * lyxtext.h: added bool return type to drawInset() and draw() so that
9245         if we have a change in the row so that the rowbreak has to be redone
9246         we abort drawing as it will be called again.
9247
9248 2002-05-02  Juergen Vigna  <jug@sad.it>
9249
9250         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9251         a change in the maintext also if we're inside an inset.
9252         (Dispatch): set the cursor again after a break line and after the
9253         screen has been updated as it could be we're in a different row.
9254
9255         * text2.C (fixCursorAfterDelete): check to make sure we don't request
9256         to set the cursor behind the pargraph with > size().
9257         (setCursor): check also for the same paragraph when checking where
9258         to put the cursor if we have a NFR inset.
9259
9260         * buffer.C (parseSingleLyXformat2Token): move the compatibility
9261         parts of layout read further up as it still was in the wrong
9262         position.
9263
9264 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9265
9266         * screen.C (drawFromTo): change sine fullRebreak always return
9267         true.
9268
9269         * buffer.C (parseSingleLyXformat2Token): reindent some
9270
9271         * BufferView_pimpl.C (update): change since fullRebreak always
9272         return true.
9273         (Dispatch): git rid of the last hardcoded "Standard"s.
9274
9275 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9276
9277         * text2.[Ch] (fullRebreak): make it return void now that we always
9278         returned true.
9279
9280 2002-04-30  Juergen Vigna  <jug@sad.it>
9281
9282         * buffer.C (parseSingleLyXformat2Token): reset the font before the
9283         ert compatibility check for "latex" layout.
9284
9285 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
9286
9287         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9288         minipages: use col% instead of p%, and also use the current font.
9289         (makeLaTeXFile): Fix use babel condition.
9290         (parseSingleLyXformat2Token): Correct font when reading old floats.
9291
9292 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
9293
9294         * BufferView_pimpl.C (Dispatch): Check that float type exists when
9295         inserting list of floats.
9296
9297 2002-04-25  Herbert Voss  <voss@lyx.org>
9298
9299         * MenuBackend.C (expand): don't add the graphics extensions to the
9300         export menu
9301
9302 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9303
9304         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9305         non-existing layout, do not complain if it was the default layout
9306         of the original class (bug #342)
9307
9308 2002-04-24  Juergen Vigna  <jug@sad.it>
9309
9310         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9311         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9312
9313 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
9314
9315         * buffer.C (getBibkeyList): If using \bibliography, return the
9316         option field with the reference itself. Enables us to provide natbib
9317         support when using \bibliography.
9318
9319 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
9320
9321         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9322
9323         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9324         natbib is provided by the LaTeX class.
9325
9326 2002-04-23  Juergen Vigna  <jug@sad.it>
9327
9328         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9329         Wakeup functions.
9330
9331         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9332
9333 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9334
9335         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9336
9337         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9338         ensuremath around textordmasculine, textordfeminine and
9339         textdegree.
9340
9341 2002-04-19  Juergen Vigna  <jug@sad.it>
9342
9343         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9344         reinitializing the buffer otherwise row-dimensions may be wrong.
9345         (update): reset also the selection cursors if they do exits otherwise
9346         their x/y positions may be wrong.
9347
9348         * text2.C (cursorDown): don't enter the inset if we came from a row
9349         above and are one row over the inset.
9350
9351         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9352         really leaving an inset.
9353
9354 2002-04-18  Juergen Vigna  <jug@sad.it>
9355
9356         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9357         of the selected paragraph does not have the selected layout also if
9358         the last one had!
9359
9360         * text2.C (setLayout): fixed bug which did not change last selected
9361         paragraph.
9362
9363         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9364         changed the read and substituted \\end_float with \\end_inset!
9365
9366         * BufferView_pimpl.C (cursorPrevious):
9367         (cursorNext): fixed to make it work with rows heigher than the work
9368         area without moving the cursor only the draw of the row.
9369         (workAreaMotionNotify): fix jumping over high rows.
9370
9371 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9372
9373         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9374         Ressler.
9375
9376 2002-04-16  Juergen Vigna  <jug@sad.it>
9377
9378         * text2.C (setCursor): set also the irow().
9379         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9380         (cursorUp):
9381         (cursorDown): support for locking an inset if the x_fix value goes
9382         inside it. That way I can transverse insets too with cursor up/down.
9383
9384         * lyxrow.h: added irow helper function same as other (i) functions.
9385
9386         * BufferView_pimpl.C (cursorPrevious):
9387         (cursorNext): fixed for insets!
9388
9389 2002-04-15  Juergen Vigna  <jug@sad.it>
9390
9391         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9392         position otherwise it is wrong in some cases.
9393
9394         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9395         inside the inset before the call.
9396
9397 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
9398
9399         * buffer.[Ch] (getBibkeyList): make it const.
9400
9401 2002-04-12  Juergen Vigna  <jug@sad.it>
9402
9403         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9404
9405         * text2.C (getCursorX): new helper function
9406         (setCursor): compute also ix_
9407         (setCursorFromCoordinates): set also ix.
9408
9409         * lyxcursor.h: added ix_ and helper functions.
9410
9411         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9412
9413         * buffer.C (insertStringAsLines): dont break paragraph if the this
9414         paragraph is inside an inset which does not permit it!
9415
9416         * text.C (breakParagraph): honor keepempty flag and break the paragraph
9417         also with no chars on this paragraph.
9418         (paintRowText): only paint stuff if it's inside the workarea!
9419
9420         * paragraph.C (breakParagraph): honor keepempty flag and break the
9421         paragraph always below not above.
9422
9423         * BufferView2.C (unlockInset): update the paragraph layout on inset
9424         unlock as we changed paragraph in such a case.
9425
9426         * lyxfind.C (LyXFind): clear the former selection if not found!
9427
9428         * text2.C (insertInset): freeze Undo after setUndo so that it is not
9429         again called in insertChar().
9430
9431         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9432         an inset which uses the whole row!
9433         (rightMargin): ditto.
9434         (insertChar): force a rebreak if we inserted an inset!
9435
9436 2002-03-28  Herbert Voss  <voss@lyx.org>
9437
9438         * lyxlength.[Ch]: add inBP() to get the right PS-point
9439         units (BigPoint). With inPixels we have rounding errors
9440
9441 2002-04-11  Juergen Vigna  <jug@sad.it>
9442
9443         * text2.C (setCursorFromCoordinates): set iy to the right value.
9444         (setCursor): add check if row->previous exists!
9445
9446         * buffer.C (parseSingleLyXformat2Token): reset font after read of
9447         an old float_type as this was the case in the old code!
9448
9449         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9450
9451         * BufferView2.C (showLockedInsetCursor): use iy
9452         (fitLockedInsetCursor): ditto
9453
9454         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9455         locked insets as there we have the right value now.
9456
9457         * lyxcursor.C: added iy_ variable and iy functions to set to the
9458         baseline of cursor-y of the locked inset.
9459
9460         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9461         (setCursor): fixed for insets which need a full row.
9462
9463         * text.C (rowLastPrintable): don't ignore the last space when before
9464         an inset which needs a full row.
9465         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9466         as last character of a row when before a inset which needs a full row.
9467
9468 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9469
9470         * version.C.in: update date
9471
9472         * text2.C (fullRebreak): try to always return true and see what
9473         happens...
9474
9475 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9476
9477         * MenuBackend.C (expand): use Floating::listName
9478
9479         * FloatList.C (FloatList): add listName argument to the built-in
9480         floats
9481
9482         * Floating.[Ch]: add listName member, which is the 'List of XXX'
9483         text associated with the float.
9484
9485 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9486
9487         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9488
9489 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9490
9491         * ShareContainer.h: add a couple of missing typenames.
9492
9493 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
9494
9495         * lyxrc.C (getDescription): use _() correctly rather than N_().
9496
9497 2002-03-28  Herbert Voss  <voss@lyx.org>
9498
9499         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9500         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9501
9502 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9503
9504         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9505         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9506
9507 2002-03-29  Juergen Vigna  <jug@sad.it>
9508
9509         * lyxfunc.C (dispatch): add a missing fitCursor call.
9510
9511         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9512         it was scrolled by a cursor move, so return the bool status.
9513
9514         * BufferView.C (fitCursor): return the bool flag also to the outside
9515         world as this is needed.
9516
9517         * screen.C (toggleToggle): don't subtract the offset if it's positive.
9518
9519         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9520         call the edit() as it is not needed (and wrong) IMO.
9521         (workAreaButtonPress): set the screen_first variable before evt.
9522         unlock the inset as this may change screen_first and then we have
9523         a wrong y position for the click!
9524
9525 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9526
9527         * MenuBackend.C (expand): another translation that I missed
9528
9529 2002-03-28  Juergen Vigna  <jug@sad.it>
9530
9531         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9532
9533         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9534
9535 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9536
9537         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9538
9539         * MenuBackend.C (expand): fix export/view/update when there is no
9540         document open.
9541
9542 2002-03-27  Herbert Voss  <voss@lyx.org>
9543
9544         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9545         and text%
9546
9547 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9548
9549         * bufferview_funcs.C (currentState): only show paragraph number
9550         for is DEVEL_VERSION is set.
9551
9552         * lyxfunc.C (dispatch): put warning in INFO channel
9553
9554         * MenuBackend.C (expand): translate the name of floats
9555
9556         * FloatList.C (FloatList): mark the float names for translation
9557
9558         * converter.C (convert): use LibScriptSearch
9559
9560 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9561
9562         * MenuBackend.C (defaults): fix default menu (we might as well get
9563         rid of it...)
9564
9565 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9566
9567         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9568         directory.
9569
9570 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9571
9572         * lyxvc.C: reorder includes.
9573
9574 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
9575
9576         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9577           properly
9578
9579 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
9580
9581         * CutAndPaste.C: change layouts earlier on paste
9582           to avoid crashing when calling getFont()
9583
9584 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
9585
9586         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9587         irritating #error.
9588
9589 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9590
9591         * WorkArea.C: remove 'Pending' debug message.
9592
9593         * most files: ws cleanup
9594
9595         * buffer.[Ch]: ws changes
9596
9597         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9598
9599 2002-03-21  Juergen Vigna  <jug@sad.it>
9600
9601         * tabular.C (SetMultiColumn): collapse also the contents of the
9602         cells and set the last border right. Added a Buffer const * param.
9603
9604 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9605
9606         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9607         linking or not.
9608
9609 2002-03-19  Juergen Vigna  <jug@sad.it>
9610
9611         * text2.C (clearSelection): reset also xsel_cache.
9612
9613         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9614         where it needs to be called (John tells us to do so too :)
9615         (selectionLost): reset sel_cache.
9616
9617         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9618
9619 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9620
9621         * text2.C (setCursorIntern): put debuging code in INSETS channel
9622
9623 2002-03-19  André Pönitz <poenitz@gmx.net>
9624
9625         * lyxfunc.C: tiny whitespace change
9626
9627 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9628
9629         * ToolbarDefaults.C (init):
9630         * LyXAction.C (init):
9631         * commandtags.h:
9632         * BufferView_pimpl.C (Dispatch):
9633         * lyxfunc.C (dispatch): remove LFUN_DEPTH
9634
9635 2002-03-19  Allan Rae  <rae@lyx.org>
9636
9637         * exporter.C (Export): removeAutoInsets before doing anything else.
9638         While I've just introduced a dependency on BufferView this really is
9639         the best place to clean the buffer otherwise you need to cleanup in
9640         a dozen places before calling export or cleanup in a dozen functions
9641         that export calls.
9642
9643         * converter.C (runLaTeX):
9644         (scanLog): Better handling of removeAutoInsets and screen updates.
9645
9646         * lyxfunc.C (dispatch): small whitespace changes
9647
9648 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9649
9650         * WorkArea.C (C_WorkAreaEvent): return a value.
9651         (event_cb): return 1 if we handled the event, 0 otherwise.
9652
9653         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9654
9655 2002-03-18  Juergen Vigna  <jug@sad.it>
9656
9657         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9658         (GetAdditionalWidth): ditto.
9659         (RightLine): ditto.
9660         (LeftLine): ditto.
9661
9662         * BufferView2.C (copy): use getLyXText() so that we do it inside an
9663         inset if we're there actually (probably not used right now but this
9664         is the direction to go for unifying code).
9665         (paste): disable code to clear the selection.
9666
9667         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9668         inside an InsetText and move the check further up as it is in the
9669         wrong place.
9670
9671         * text2.C (pasteSelection): set a selection over the pasted text.
9672
9673 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
9674
9675         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9676         and libgraphics to build on Cygwin.
9677
9678 2002-03-15  Juergen Vigna  <jug@sad.it>
9679
9680         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9681         inserting an Inset into the paragraph. I know this is not the best
9682         fix but we already use current_view in CutAndPaste so we will remove
9683         all of it's using at the same time.
9684
9685         * buffer.C (sgmlError): deactivated function till it is rewritten in
9686         the right mode, now it can create problems.
9687
9688         * paragraph.C (isLineSeparator): check if getInset returns != 0,
9689         before accessing it.
9690
9691 2002-03-14  Juergen Vigna  <jug@sad.it>
9692
9693         * undo_funcs.C (textHandleUndo): do the right thing when updating
9694         the inset after the undo/redo.
9695
9696         * text2.C (setCursor): just some testcode for #44 not ready yet.
9697
9698         * undo_funcs.C (textHandleUndo): set the next() and previous()
9699         pointers of the paragraph to 0 before deleting otherwise we have
9700         problems with the Paragraph::[destructor].
9701
9702         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9703         on a paragraph insertion.
9704
9705 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9706
9707         * buffer.C (asciiParagraph): use += operator for char append to
9708         string.
9709
9710         * paragraph.C (getFontSettings): compare >= not just >
9711         (highestFontInRange): ditto
9712         (setFont): ditto
9713
9714 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9715
9716         * paragraph.C: change several algorithm to be more appripriate for
9717         the problem domain. This is lookip in FontList and in the InsetList.
9718
9719 2002-03-13  André Pönitz <poenitz@gmx.net>
9720
9721         * commandtags.h:
9722         * LyXAction.C: remove unused LFUN_MATH_MACROARG
9723
9724 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
9725
9726         * commandtags.h:
9727         * LyXAction.C:
9728         * lyxfunc.C:
9729         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9730
9731 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9732
9733         * Painter.C (display): anon helper function, adjust code for this
9734         change.
9735         (pixmap): remove function.
9736
9737         * Painter.h: remove private display variable.
9738
9739         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9740
9741 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
9742
9743         * WorkArea.[Ch]: remove figinset_canvas cruft.
9744
9745 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9746
9747         * lyxtextclass.C (operator): add one item cache optimization.
9748
9749         * bufferlist.h: doxy changes
9750
9751         * bufferlist.C: ws changes
9752
9753         * DepTable.[Ch] (ext_exist): place const in the right spot.
9754
9755         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9756         call resizeInsets.
9757         (workAreaExpose): call resizeInsets when the with BufferView changes.
9758         (Dispatch): adjust for protectedBlank removal
9759         (specialChar): call updateInset if the insert went ok.
9760
9761         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9762         specialChar instead.
9763
9764         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9765
9766         * BufferView.h: doxy change
9767
9768         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9769
9770         * lyxtextclass.C (operator[]): remove non-const version
9771         (defaultLayout): remove non-const version
9772
9773 2002-03-12  Juergen Vigna  <jug@sad.it>
9774
9775         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9776         did resize the LyXText too.
9777
9778         * buffer.C (readLyXformat2): set layout information on newly allocated
9779         paragraphs.
9780
9781         * tabular.C (OldFormatRead): set layout information on the paragraph.
9782
9783 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9784
9785         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9786
9787 2002-03-11  Juergen Vigna  <jug@sad.it>
9788
9789         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9790         plainly wrong.
9791         (resizeCurrentBuffer): force also the insets to resize themselfes.
9792         (moveCursorUpdate): fixed up for InsetText.
9793
9794 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
9795
9796         * commandtags.h:
9797         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9798         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9799         value of Dialogs::tooltipsEnabled().
9800         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9801
9802 2002-03-08  Juergen Vigna  <jug@sad.it>
9803
9804         * BufferView_pimpl.C (updateInset): update inset inside inset also
9805         if it isn't inside theLockingInset().
9806
9807 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9808
9809         * buffer.C (asciiParagraph): redo some of the word and line length
9810         handling.
9811         (getLists): look for Caption instead of caption.
9812
9813 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9814
9815         * buffer.C (Buffer): initialize niceFile to true
9816         (makeLaTeXFile):
9817         (makeLinuxDocFile):
9818         (makeDocBookFile): make sure niceFile is true on exit
9819
9820 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9821
9822         * buffer.C (makeLaTeXFile): escape ~ in \input@path
9823
9824 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
9825
9826         * LyXSendto.C: remove.
9827         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9828         * lyx_gui.C: remove now-redundant comment.
9829         * ColorHandler.h: remove forward declaration of class WorkArea.
9830         * lyxfunc.C: remove #include "WorkArea.h".
9831
9832 2002-03-07  Juergen Vigna  <jug@sad.it>
9833
9834         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9835         got moved away with the DEPM and also set the inset_owner always
9836         right which before could have been omitted.
9837
9838 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9839
9840         * buffer.C (parseSingleLyXformat2Token): use default layout is the
9841         wanted layout is not found.
9842
9843 2002-03-07  Juergen Vigna  <jug@sad.it>
9844
9845         * CutAndPaste.C (cutSelection): another layout settings forgotten.
9846
9847 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9848
9849         * paragraph.C (breakParagraph): use default layout not layout of
9850         prev paragraph.
9851         (Paragraph): clear ParagraphParameters.
9852
9853 2002-03-06  Juergen Vigna  <jug@sad.it>
9854
9855         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9856         otherwise it would not be a valid lenght. Fixed a special case in
9857         the minipage compatibility read where we end the document with a
9858         minipage.
9859
9860         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9861         was set as it could be 0 for InsetTexts first entry.
9862
9863 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9864
9865         * paragraph.C (writeFile): if layout is empty write out
9866         defaultLayoutName().
9867
9868         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9869         file without named layout we set layout to defaultLayoutName().
9870
9871 2002-03-06  Juergen Vigna  <jug@sad.it>
9872
9873         * CutAndPaste.C (copySelection): set layout for new paragraph.
9874
9875         * text.C (prepareToPrint): leave ERT inset left aligned
9876         (leftMargin): don't indent paragraphs inside ERT insets
9877
9878 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9879
9880         * paragraph.C (breakParagraph): dont call clear do the work manually
9881
9882         * paragraph.[Ch] (clear): remove function
9883
9884 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9885
9886         * paragraph.C (Paragraph): dont call clear, the work has already
9887         been done.
9888
9889         * lyxtextclass.C (operator): assert if n is empty
9890
9891         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9892         work manually instead.
9893
9894 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9895
9896         * BufferView_pimpl.C: protect selectionLost against text == 0
9897
9898 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9899
9900         * text.C (breakParagraph): fix a setting layout to '0' problem.
9901
9902 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9903
9904         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9905         final location of file, for the included files, and graphics.
9906
9907 2002-03-05  Juergen Vigna  <jug@sad.it>
9908
9909         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9910
9911 2002-03-04  Juergen Vigna  <jug@sad.it>
9912
9913         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9914
9915         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9916         last column of multicolumn cells.
9917         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9918
9919 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9920
9921         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9922         file if it doesn't go to a temporary file.
9923
9924         * buffer.C (sgmlOpenTag):
9925         (sgmlCloseTag):  remove extra newline insertion.
9926
9927 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9928
9929         * text.C (getRowNearY): comment out debug msg
9930
9931 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9932
9933         * text2.C: first -> first_y
9934
9935         * text.C (getRowNearY): add some attemts at a possible
9936         optimization, not working.
9937
9938         * tabular.[Ch]: add BufferParams to several function so that newly
9939         created paragraph can be initialized to he default layotu for the
9940         buffers textclass.
9941
9942         * tabular-old.C (ReadOld): add buf->params to call of Init
9943
9944         * screen.C: rename text->first to text->first_y
9945
9946         * paragraph.C (breakParagraph): always set layout in the broken
9947         paragraph
9948
9949         * lyxtextclass.C (Read): remove lowercase
9950         (hasLayout): ditto
9951         (operator): ditto
9952         (delete_layout): ditto
9953
9954         * lyxtext.h: rename first -> first_y
9955
9956         * lyxlayout.C (Read): remove lowercase
9957         (name): ditto
9958         (setName): ditto
9959         (obsoleted_by): ditto
9960
9961         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9962
9963         * buffer.C (insertErtContents): add params are to InsetERT
9964         (parseSingleLyXformat2Token): add code to check if a paragraphs
9965         layout really exist.
9966         (parseSingleLyXformat2Token): add params to several inset
9967         constructors
9968         (asciiParagraph): remove lowercase, do the layout comparisons with
9969         no_case
9970
9971         * BufferView_pimpl.C (cursorNext): first -> first_y
9972         (resizeCurrentBuffer): first -> first_y
9973         (updateScrollbar): first -> first_y
9974         (scrollCB): first -> first_y
9975         (workAreaMotionNotify): first -> first_y
9976         (workAreaButtonPress): first -> first_y
9977         (checkInsetHit): first -> first_y
9978         (cursorPrevious): first -> first_y
9979         (cursorNext): first -> first_y
9980         (Dispatch): add buffer_->params to severl inset contructors
9981
9982 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9983
9984         * lyxlayout.C (Read): remove some debug info that I forgot.
9985
9986         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9987         clean up the code slightly.
9988         (makeLinuxDocFile): ditto
9989         (makeDocBookFile): ditto
9990
9991         * text2.C: layout as string
9992
9993         * text.C: layout as string
9994
9995         * paragraph_pimpl.C: layout as string
9996
9997         * paragraph.[Ch]: layout as string
9998
9999         * lyxtextclasslist.[Ch]: layout as string
10000
10001         * lyxtextclass.[Ch]: layout as string
10002
10003         * lyxtext.h: layout as string
10004
10005         * lyxlayout.[Ch]: layout as string
10006
10007         * lyx_cb.C: layout as string
10008
10009         * bufferview_funcs.C: layout as string
10010
10011         * bufferparams.C: layout as string
10012
10013         * buffer.C: layout as string
10014
10015         * LyXView.[Ch]: layout as string
10016
10017         * LaTeXFeatures.[Ch]: layout as string
10018
10019         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10020
10021         * BufferView_pimpl.C: change current_layout to string, remove
10022         lyx::layout_type.
10023         (Dispatch):
10024         (smartQuote):
10025         (insertInset):
10026         (workAreaButtonRelease): layout as string
10027
10028         * BufferView2.C (unlockInset): adjust
10029
10030         * vspace.C (asLatexCommand): use an explict temp variable.
10031
10032 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10033
10034         * Makefile.am: use FRONTEND_*
10035
10036 2002-03-01  Juergen Vigna  <jug@sad.it>
10037
10038         * tabular.C (SetWidthOfMulticolCell): changed to something better
10039         I hope but still work in progress.
10040         (recalculateMulticolumnsOfColumn): renamed function from
10041         recalculateMulticolCells as it is more appropriate now.
10042         (SetWidthOfCell): calculate multicols better.
10043
10044 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10045
10046         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10047
10048         * lyxfunc.C (processKeySym): print sequence also if it is
10049         `deleted' (complete)
10050
10051         * kbsequence.C (print): print sequence even if it is deleted
10052         (complete would be a better word, actually).
10053
10054         * lyxfunc.C (dispatch): print complete options after a prefix key
10055
10056         * vspace.C (asLatexCommand): rewrite in a slightly different form.
10057
10058 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
10059
10060         * text2.C (setCharFont): eliminate setCharFont code duplication.
10061
10062 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10063
10064         * BufferView_pimpl.C (Dispatch): remove bogus handling of
10065         LFUN_TABULAR_FEATURE (bug #177)
10066
10067 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
10068
10069         * Makefile.am: remove figure.h
10070
10071 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
10072
10073         * Bufferview_pimpl.C:
10074         * CutAndPasteC:
10075         * LaTeX.C:
10076         * LyXSendto.C:
10077         * buffer.C:
10078         * bufferlist.C:
10079         * converter.C:
10080         * language.C:
10081         * lyxfunc.C:
10082         * lyxvc.C:
10083         * paragraph.C:
10084         * text.C:
10085         * text2.C: remove #include "lyx_gui_misc.h".
10086
10087         * LaTeX.C: added #include <cstdio>
10088
10089 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10090
10091         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10092         that the paragraph following this one can have.
10093
10094         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10095
10096         * vspace.C (asLatexCommand): fix bogus gcc warning
10097
10098         * Makefile.am (lyx_SOURCES): remove vms_defines.h
10099
10100 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
10101
10102         * text2.C (setLayout): get rid of redundant code
10103
10104 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
10105
10106         * text2.C (incDepth): make sure depth cannot be increased beyond
10107         reasonable values.
10108
10109 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
10110
10111         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10112         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10113
10114         * PainterBase.h (image):
10115         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10116         a LyXImage const *.
10117
10118 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10119
10120         * BufferView.C:
10121         * BufferView.h:
10122         * BufferView_pimpl.C:
10123         * BufferView_pimpl.h:
10124         * LaTeXFeatures.C:
10125         * LyXAction.C:
10126         * LyXView.C:
10127         * Makefile.am:
10128         * UpdateList.h:
10129         * UpdateList.C:
10130         * buffer.C:
10131         * figure.h:
10132         * figureForm.C:
10133         * figureForm.h:
10134         * figure_form.C:
10135         * figure_form.h:
10136         * lyx_cb.C:
10137         * lyx_gui.C:
10138         * lyx_gui_misc.C:
10139         * lyxfunc.C:
10140         * sp_base.h:
10141         * sp_ispell.h:
10142         * sp_pspell.h:
10143         * sp_spell.C: remove fig inset, and the crap house of
10144           cards that follows it
10145
10146 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10147
10148         * Makefile.am:
10149         * lyxserver.C:
10150         * os2_defines.h:
10151         * os2_errortable.h:
10152         * nt_defines.h: move .h into support/
10153
10154         * vms_defines.h: remove
10155
10156         * WorkArea.C: add space in debug output
10157
10158         * text2.C:
10159         * paragraph.C:
10160         * buffer.C: add WITH_WARNINGS
10161
10162         * vc-backend.h:
10163         * vc-backend.C:
10164         * bufferlist.C: s/retrive/retrieve/, add docs
10165
10166         * vspace.h:
10167         * vspace.C:
10168         * kbmap.h:
10169         * lyxlength.h:
10170         * lyxgluelength.h:
10171         * length_common.h:
10172         * chset.h:
10173         * chset.C: add docs
10174
10175         * lyxgui.C: add ID to X error handler
10176
10177         * lyxtestclass.c: fix typo
10178
10179 2002-02-26  Juergen Vigna  <jug@sad.it>
10180
10181         * tabular_funcs.C (write_attribute): changed so that some default
10182         attributes are not written at all.
10183         (getTokenValue): set default values before trying to read the
10184         value so we have the return value always set as default if we don't
10185         find the token we search for.
10186
10187         * tabular.C (Write): write bools as bools not as strings!
10188
10189 2002-02-22  Juergen Vigna  <jug@sad.it>
10190
10191         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10192         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10193
10194         * text.C (leftMargin): don't add an indent for paragraphs inside
10195         tabular cells (fix #208).
10196
10197 2002-02-21  José Matos  <jamatos@fep.up.pt>
10198
10199         * tabular.C (docBook): fixed support for long tables.
10200
10201 2002-02-20  Juergen Vigna  <jug@sad.it>
10202
10203         * text2.C (getFont): get the drawing font of the Inset if this
10204         paragraph is inside an inset (only important for InsetERT for now).
10205
10206         * buffer.C (insertErtContents): use new lanugage params in ERT
10207         constructor.
10208
10209         * CutAndPaste.C: commenting out seemingly uneeded code.
10210
10211 2002-02-19  Allan Rae  <rae@lyx.org>
10212
10213         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10214         Iterators might be simple to use but they also get invalidated.
10215         (removeAutoInsets): renamed saved cursor tracking variables and added
10216         some comments to clarify what everything does.
10217
10218 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
10219
10220         * Chktex.C:
10221         * LaTeX.C:
10222         * LyXSendto.C:
10223         * converter.C:
10224         * lyx_cb.C:
10225         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10226         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10227
10228         * lyxfunc.C:
10229         * vc-backend.h: remove #include "support/syscall.h"
10230
10231         * LaTeX.C:
10232         * LyXSendto.C:
10233         * converter.C: rearrange #includes in Lars' approved fashion.
10234
10235         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10236         forward declare class Timeout in the header file.
10237
10238         * XFormsView.C: changes due to the above.
10239
10240         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10241         similar to LyXView.
10242
10243         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10244         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10245
10246 2002-02-18  José Matos  <jamatos@fep.up.pt>
10247
10248         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10249         insets contents.
10250
10251 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
10252
10253         * a lot of small ws changes
10254         * add a lot of using std::XXX
10255         * use std construcs some places where approp.
10256         * use some exisint stuff from lyxfunctional where approp.
10257         * Make file changes to use partial linking (lets test this now...)
10258
10259 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10260
10261         * Chktex.C:
10262         * buffer.C:
10263         remove #include "support/syscontr.h" as it's redundant. Always has been.
10264
10265         * Chktex.C:
10266         * LaTeX.C:
10267         * LyXSendto.C:
10268         * converter.C:
10269         * lyx_cb.C:
10270         * vc-backend.C:
10271         change Systemcalls::System to Systemcalls::Wait and
10272         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10273         No change of functionality, just reflects the stripped down Systemcalls
10274         class.
10275
10276 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10277
10278         * debug.[Ch]: add a GRAPHICS type to the enum.
10279
10280 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10281
10282         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10283
10284         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10285         there is an inset.
10286
10287 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10288
10289         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10290         match the changes below.
10291
10292         * text2.C (toggleInset): if there is not editable inset at cursor
10293         position, try to see if cursor is _inside_ a collapsable inset
10294         and close it.
10295
10296 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10297
10298         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10299         document menu has a nice checkbox
10300
10301 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10302
10303         * lyxlength.C (asLatexString): change PW to output as percent of
10304         \textwidth.
10305
10306         * lengthcommon.C: change '%' to 't%'
10307
10308         * lyxfunc.C (dispatch): a few comments from Martin
10309
10310 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
10311
10312         * WorkArea.h:
10313         * WorkArea.C:
10314         * BufferView_pimpl.h:
10315         * BufferView_pimpl.C: clear our selection when X tells us we've lost
10316           the X selection.
10317
10318 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10319
10320         * vspace.C (inPixels): fix compiler warning
10321
10322 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10323
10324         * lyxfunc.C (getStatus): fix status message for disabled commands.
10325
10326 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
10327
10328         * BufferView_pimpl.C: fix crash on close buffer
10329         during selection (#227)
10330
10331 2002-01-27  Herbert Voss  <voss@lyx.org>
10332
10333         * buffer.C: link old Figure to new graphic inset
10334
10335 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
10336
10337         * FontLoader.C (getFontinfo): Change the latex font names in order
10338         to match the names of type1inst.
10339
10340 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10341
10342         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10343
10344         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10345         (extchanged): ditto
10346         (ext_exist): ditto
10347         (remove_files_with_extension): ditto
10348         (remove_file): ditto
10349         (write): ditto
10350
10351         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10352         document is smaller than the work area height. Do not initialize
10353         static variables to 0.
10354
10355 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10356
10357         * lyx_gui.C (init): give the toolbar tooltips a normal font.
10358
10359         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10360         LFUN_LAYOUT_PARAGRAPHS.
10361
10362         * tabular.C (GetCellFromInset): new method. Finds an inset in a
10363         tabular. It is possible to provide a possible cell, which will
10364         typically be the actcell from the corresponding insettabular
10365
10366         * lyxfunc.C (getStatus): small cleanup; disable
10367         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10368         true
10369
10370 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10371
10372         * tabular.C (Validate): remove broken optimization (fixes bug #201)
10373
10374         * paragraph.C (startTeXParParams):
10375         (endTeXParParams): new methods. The LaTeX code to
10376         start/end paragraph formatting
10377         (simpleTeXOnePar): call startTeXParParams also when paragraph is
10378         empty (fixes bug #200)
10379
10380         * vspace.C (inPixels): adapt to the change below
10381         (inPixels): [later] more cleanups (remove unused variables)
10382
10383         * lyxlength.C (inPixels): change to use a width and a height as
10384         parameter.
10385
10386 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10387
10388         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10389         Replaced with \paperwidth
10390
10391         * DepTable.C (insert): add std:: qualifier
10392
10393 2002-01-18  Allan Rae  <rae@lyx.org>
10394
10395         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
10396         updated also?
10397
10398         * text.C (drawInset): Turned out I didn't know enough about how
10399         rebreaking worked.  This fixes most of the redraw problems.  I see
10400         an occasional cursor trail when a line is broken now and the cursor
10401         placement can seem out by a few pixels also after a rebreak.
10402
10403 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10404
10405         * buffer.C (parseSingleLyXformat2Token): update because minipage
10406         width is now a LyXLength
10407
10408         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10409
10410         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10411         math insets
10412
10413 2002-01-17  Juergen Vigna  <jug@sad.it>
10414
10415         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10416
10417         * BufferView2.C (lockInset): call edit() so that theLockingInset()
10418         is set correctly and the inset is updated correctly.
10419
10420 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10421
10422         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10423         the beginning of the loop.
10424
10425 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
10426
10427         * lyxrc.C: improve help for use_scalable_fonts
10428
10429 2002-01-17  Allan Rae  <rae@lyx.org>
10430
10431         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10432
10433 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10434
10435         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10436         make sure to set their inset_owner to the right value (bug #171)
10437
10438 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
10439
10440         * DepTable.h
10441         * DepTable.C: Implement mtime checking to reduce time spent doing
10442         CRCs.
10443
10444 2002-01-16  Juergen Vigna  <jug@sad.it>
10445
10446         * tabular.C (GetAdditionalHeight): one of error fixed.
10447
10448         * lyxrc.C (output): small fix in writing use_pspell.
10449
10450 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
10451
10452         * sp_base.h: #include LString.h
10453
10454 2002-01-16  Allan Rae  <rae@lyx.org>
10455
10456         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
10457         Can someone check this please?
10458
10459         * text.C (drawInset): It was possible that p.row would be removed by
10460         breakAgainOneRow upsetting a few other settings.  There may be another
10461         small tweak possible by setting need_break_row = 0 when p.row has been
10462         removed but I don't know enough about the logic here.
10463
10464 2002-01-15  Allan Rae  <rae@lyx.org>
10465
10466         * text.C (insertChar): removed conditional truism.
10467
10468         * BufferView2.C (removeAutoInsets): More tweaks.
10469         cur_par_prev could be a stray pointer.  Check for trailing empty line
10470         in case last line was cur_par and only had an error inset on it.
10471
10472 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10473
10474         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10475         absolute
10476
10477         * vc-backend.C (most methods):
10478         * exporter.C (Export):
10479         * converter.C (convert):
10480         (runLaTeX):
10481         * LyXSendto.C (SendtoApplyCB):
10482         * lyxfunc.C (dispatch):
10483         (menuNew):
10484         (open):
10485         (doImport):
10486         * lyx_cb.C (AutoSave):
10487         (InsertAsciiFile):
10488         * BufferView_pimpl.C (MenuInsertLyXFile):
10489         * buffer.C (runChktex): use Buffer::filePath().
10490
10491         * buffer.h: rename filename to filename_; rename filepath to
10492         filepath_ and make it private
10493         (filePath): new method
10494
10495         * buffer.C (writeFile): use fileName()
10496         (getLatexName):
10497
10498         * lyx_main.C (init): fix starting  of LyX when the binary is a
10499         link from so,ewhere else.
10500
10501         * minibuffer.C: include <cctype> for isprint
10502
10503 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10504
10505         * buffer.C (parseSingleLyXformat2Token): changes associated with the
10506         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10507         name clash with InsetCollapsable's width function.
10508
10509 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10510
10511         * lastfiles.C: include <iterator>
10512
10513 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10514
10515         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10516         std::count.
10517
10518         * buffer.C (makeLaTeXFile): ditto.
10519         Also make loop operation more transparent.
10520
10521 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10522
10523         * ToolbarDefaults.C: remove trailing comma closing namespace.
10524
10525         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10526
10527         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10528         as in WorkArea.
10529
10530         * trans.C (Load): comment out unused variable, allowed.
10531
10532 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10533
10534         * minibuffer.[Ch] (append_char): new method to recieve input from the
10535         drop-down completion browser. If a key was pressed, then recieve this
10536         char and append it to the existing string.
10537         (peek_event): modify the positioning data passed to the completion
10538         browser so that it can be placed above the minibuffer rather than below.
10539 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10540
10541         * LyXAction.C (init): alloe error-next for readonly documents.
10542
10543         * BufferView2.C (ChangeRefsIfUnique): use standard version of
10544         count.
10545
10546 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10547
10548         * bufferlist.C (readFile): create the buffer _after_ checking that
10549         the file exists.
10550
10551         * lyxfunc.C (verboseDispatch): fix handling of arguments
10552
10553         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10554
10555         * lyxrc.C: use string::erase() instead of initializing to "".
10556
10557
10558 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10559
10560         * BufferView_pimpl.h:
10561         * BufferView_pimpl.C:
10562         * WorkArea.h:
10563         * WorkArea.C:
10564         * text2.C: tell X when we have made a selection for copying
10565
10566 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10567
10568         * BufferView_pimpl.C (MenuInsertLyXFile):
10569         * lyxfunc.C (menuNew):
10570         (open):
10571         (doImport): add shortcuts to directory buttons
10572
10573         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10574         open a float)
10575
10576         * lyxfunc.C (setStatusMessage):
10577         (getStatusMessage): new methods
10578         (getStatus):use setStatusMessage instead of setErrorMessage
10579         (dispatch): when function is disabled, set error message here
10580         [instead of in getStatus previously]
10581
10582         * BufferView_pimpl.C (workAreaButtonRelease): update
10583         toolbar/menubar here too.
10584
10585 2002-01-13  Allan Rae  <rae@lyx.org>
10586
10587         * BufferView2.C (removeAutoInsets): finished off earlier fix.
10588         Now seems indestructible.  Remaining task is to audit all other
10589         code affected by deleteEmptyParagraphMechanism.  One small quirk
10590         left is that an empty document with an error in the preamble can
10591         be made to report an error but no error box appears.  I don't know
10592         where it goes.
10593         (removeAutoInsets): Improved comments.
10594
10595 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
10596
10597         * Thesaurus.h:
10598         * Thesaurus.C: update for Aiksaurus 0.14
10599
10600 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10601
10602         * text2.C (firstParagraph): removed member function, all uses
10603         replaces with ownerParagraph
10604         (redoParagraphs): here
10605         (updateInset): here
10606         (toggleAppendix): here
10607         * BufferView2.C (insertErrors): here
10608         (setCursorFromRow): here
10609
10610 2002-01-13  Allan Rae  <rae@lyx.org>
10611
10612         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10613         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10614         There is still a way to segfault this although you may have to do this
10615         multiple times: Have an InsetERT with an unknown command in it.
10616         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10617         <down-arrow>, <Enter> again, View->DVI, BANG!
10618
10619         * text2.C (setCursor):
10620         (deleteEmptyParagraphMechanism):
10621         * lyxtext.h (setCursor):
10622         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10623         Making use of the return value may help fix other bugs.
10624
10625 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10626
10627         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10628
10629         * LyXView.C (updateMenubar): call MenuBar::update here
10630         (updateToolbar): but not here
10631         (showState): do not update toolbar/menubar
10632
10633         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10634         should need to care about that.
10635
10636         * lyxfunc.C (verboseDispatch): simplify a bit
10637         (getStatus): have a version which takes a pseudoaction, and
10638         another which requires a (kb_action,string).
10639
10640         * LyXAction.C (retrieveActionArg): make it work also when action
10641         is not a pseudo-action.
10642         (getActionName): simplify a bit
10643         (helpText):
10644
10645 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10646
10647         * lyxfunc.C (verboseDispatch): new families of methods with
10648         several ways to specify a command and a bool to indicate whether
10649         the command name and shortcut should be displayed in minibuffer
10650         (eventually, we could extend that to a finer bitmask like
10651         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10652         (dispatch): the pristine dispatch command which just, well,
10653         dispatchs! Note it still sets its result to minibuffer; I'm not
10654         sure we want that.
10655
10656         * lyxfunc.h: remove setHintMessage
10657
10658         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10659
10660 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10661
10662         * BufferView_pimpl.C (specialChar): delete new inset if we have
10663         not been able to insert it.
10664
10665         * kbmap.C: revert to using int instead of kb_action, since all we
10666         are dealing with is pseudo-actions.
10667
10668         * LyXAction.C (searchActionArg): change to return int instead of
10669         kb_action, since the result is a pseudoaction.
10670
10671 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
10672
10673         * buffer.C (insertErtContents): Fix (partially) the font bug.
10674
10675 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10676
10677         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10678         as the other one is broken on my machine!
10679
10680 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
10681
10682         * commandtags.h:
10683         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10684
10685 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
10686
10687         * lyxrc.[Ch]: change names and descriptions of popup font variables to
10688         reflect their actual use. Provide compatibility code for older lyxrc
10689         files.
10690
10691         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10692         FL_NORMAL_STYLE.
10693         change names of popup font variables in line with the changes to lyxrc.C
10694
10695 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10696
10697         * buffer.C (asciiParagraph): avoid outputing a word twice after
10698         an inset.
10699
10700         * lyxrc.C (getDescription): document that document_path and
10701         template_path can be empty.
10702
10703 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10704
10705         * LaTeXFeatures.C (getMacros):
10706         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10707
10708         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10709
10710         * LaTeXFeatures.C (useFloat): require "float" here instead of in
10711         getPackages.
10712         (getPackages): rename feature "floats" to "float". Use an array to
10713         iterate over 'simple' features (i.e. just a \usepackage). Add
10714         handling of "amsmath" (renamed from "amsstyle").
10715
10716 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
10717
10718         * LaTeXFeatures.C (require): Prevent duplicate entries in the
10719         features list.
10720
10721 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
10722
10723         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10724         FuncStaus::FuncStatus & FuncStaus::some_method().
10725
10726 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
10727
10728         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10729         of the func_satus stuff. Edited and massaged in various ways by
10730         JMarc.
10731
10732         * lyxfunc.C (getStatus): use FuncStatus
10733
10734 2002-01-08  Juergen Vigna  <jug@sad.it>
10735
10736         * text.C (nextBreakPoint): use function Inset::isChar().
10737
10738         * paragraph.C (TeXOnePar): use function
10739         Inset::forceDefaultParagraphs.
10740
10741         * buffer.C (latexParagraphs): use function
10742         Inset::forceDefaultParagraphs.
10743
10744 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10745
10746         * lyx_gui.C (init): set the style of the menu popups to
10747         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10748
10749 2002-01-07  Juergen Vigna  <jug@sad.it>
10750
10751         * text.C (setHeightOfRow): small fix
10752         (prepareToPrint): don't look at alignment if we don't have the place
10753         for doing it.
10754
10755 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10756
10757         * box.C: New file. Move the Box methods and functions out of box.h,
10758         following Lars' suggestion.
10759
10760 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10761
10762         * box.h: #include "support/LOstream.h", needed for inlined function.
10763
10764         * lyxtextclass.C:
10765         * lyxtextclasslist.C: added some using std declarations.
10766
10767 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
10768
10769         * box.h: make signed dimensions to allow insets wider than
10770           the screen (bug #162)
10771
10772         * BufferView_pimpl.C: add some insetHit debug
10773
10774 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
10775
10776         * vc-backend.C: add FIXME
10777
10778 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10779
10780         * lyxfunc.C (getStatus): enable code for showing math font status
10781         in toolbar/menu.
10782
10783 2002-01-07  Juergen Vigna  <jug@sad.it>
10784
10785         * text.C (nextBreakPoint): removed debug output not needed anymore.
10786
10787 2002-01-06  Juergen Vigna  <jug@sad.it>
10788
10789         * text.C (nextBreakPoint): fixed up this function we had this bug
10790         since ever but now hopefully we break row better.
10791         (insertChar): we have to check if an inset is the next char as it
10792         could now happen that a large inset is causing a break.
10793
10794 2002-01-05  Juergen Vigna  <jug@sad.it>
10795
10796         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10797         if it doesn't like to be drawed.
10798
10799 2002-01-04  Juergen Vigna  <jug@sad.it>
10800
10801         * BufferView2.C (lockInset): forgot to set a cursor.
10802
10803         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10804
10805 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
10806
10807         * FormMathsPanel.C:
10808         * FormMathsPanel.h
10809         * MathsSymbols.C:
10810         * form_maths_panel.C:
10811         * form_maths_panel.h:
10812         * form_maths_panel.fd: implemented sub- and super- buttons in math
10813         panel.
10814
10815         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10816         (or ^ space) to be used as in TeX (req'd by André).
10817
10818         * lyxfunc.C: Allow ^ and _ again to be used both as
10819         super/subscript (mathed) and as themselves (in text).
10820
10821 2002-01-03  Allan Rae  <rae@lyx.org>
10822
10823         * LyXView.C (updateWindowTitle): Setup a short icon title of either
10824         "LyX" or the filename of the current buffer if it has one.  This is a
10825         modified form of John Levon's patch.
10826
10827         * XFormsView.C (setWindowTitle): also set icon title.
10828
10829         * LyXView.h (setWindowTitle): signature changed.
10830         * XFormsView.h (setWindowTitle): ditto.
10831
10832 2002-01-02  Juergen Vigna  <jug@sad.it>
10833
10834         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10835
10836 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10837
10838         * screen.C (topCursorVisible): introduce a temp var for
10839         text->cursor.row(), handle the case where this row is null. (kindo
10840         hachish)
10841
10842         * text2.C (setCursor): add a couple of asserts.
10843
10844         * paragraph.h (inset_iterator): add -> operator
10845
10846         * paragraph.[Ch] (autoDeleteInsets): remove member function
10847
10848         * BufferView2.C (removeAutoInsets): rewrite to handle the old
10849         cursor pos correctly and handle inset deletion by itself.
10850         (insertErrors): move iterator declaration out of for expression
10851
10852         * lyxtextclass.C: add <algorithm>
10853
10854         * Makefile.am: added the new files to sources, removed layout.C
10855
10856         * layout.C: removed file
10857
10858         * layout.h: remove LYX_DUMMY_LAYOUT
10859
10860         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10861         layout.
10862
10863         * lyxlayout.[Ch]:
10864         * lyxtextclass.[Ch]:
10865         * lyxtextclasslist.[Ch]: new files
10866
10867         * include order changes to a lot of files, also changes because of
10868         the six new files.
10869
10870 2001-12-27  Juergen Vigna  <jug@sad.it>
10871
10872         * buffer.C (asciiParagraph): more fixes.
10873
10874         * tabular.C (ascii): make ascii export support export of only the
10875         data separated by a column-delimiter.
10876         (ascii): better support for ascii export.
10877
10878         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10879
10880 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10881
10882         * tabular_funcs.C: use a "using std::getline" instead of the
10883         previous fix from Angus (necessary for cxx + lyxstring)
10884
10885 2001-12-24  Juergen Vigna  <jug@sad.it>
10886
10887         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10888
10889         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10890         problems. First check a minipage also if we have some ert-contents
10891         (not only on par->size(), second set the right depth of the paragraph
10892         on the relink to the root-paragraph-list!
10893
10894         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10895         which then did not anymore update the main paragraphs on undo/redo!
10896
10897 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10898
10899         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10900         code. Support all font-changing funcs (even those which are not in
10901         menu currently). Support for reporting font settings in
10902         mathed (disabled until Andre provides a function on mathed's side).
10903
10904         * func_status.h (toggle): small helper function to set toggle
10905         state on a flag.
10906
10907 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10908
10909         * tabular_funcs.C: getline -> std::getline
10910
10911 2001-12-21  Juergen Vigna  <jug@sad.it>
10912
10913         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10914         accessed and could be 0 (I couldn't generate this but it seems
10915         Michael could!).
10916
10917 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10918
10919         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10920         * tabular_funcs.h: here and include iosfwd
10921
10922 2001-12-20  Juergen Vigna  <jug@sad.it>
10923
10924         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10925         inside inset but undo_par was.
10926
10927 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10928
10929         * Thesaurus.C: always include <config.h> in sources.
10930
10931         * Painter.h:
10932         * lyxlookup.h:
10933         * box.h: do not include <config.h> in header files
10934
10935         * text.C (paintLastRow): remove unused variable
10936
10937         * text.C (transformChar):
10938         (insertChar):
10939         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10940
10941         * Painter.C (text):
10942         * font.C (width): rewrite to use uppercase() instead of
10943         islower/toupper.
10944
10945         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10946
10947 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10948
10949         * lyxfind.C: clean up of find failure position change
10950
10951 2001-12-20  Juergen Vigna  <jug@sad.it>
10952
10953         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10954
10955         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10956         (TeXRow): added to LaTeX a single tabular row.
10957         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10958         (Latex): simplified and finally good LT-h/f support.
10959         (various_functions): just small adaptions for LT-h/f support.
10960
10961         * tabular_funcs.[hC]: added and moved here all not classfunctions
10962         of LyXTabular.
10963
10964 2001-12-19  Juergen Vigna  <jug@sad.it>
10965
10966         * tabular.[Ch]: better support for longtabular options (not finished
10967         yet!)
10968
10969 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10970
10971         * text.C (paintLastRow): use the label font instead of the font of
10972         the last character to compute the size of *_BOX. This makes more
10973         sense and avoids a crash with empty paragraphs.
10974         Use Painter::rectangle to draw EMPTY_BOX.
10975
10976 2001-12-19  Juergen Vigna  <jug@sad.it>
10977
10978         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10979         the paragraphs if the replaced paragraph is not the first one!
10980         Tried to delete not used paragraphs but does not work yet so for
10981         now it's inside #ifdef's and by default off!
10982
10983 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10984
10985         * MenuBackend.C: include "lyx_main.h" instead of declaring
10986         lastfiles (actually was declared as LastFiles* instead of a
10987         scoped_ptr).
10988
10989 2001-12-17  Juergen Vigna  <jug@sad.it>
10990
10991         * tabular.C (AppendColumn): applied John's fix
10992
10993 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10994
10995         * BufferView.h:
10996         * BufferView.C:
10997         * BufferView_pimpl.h:
10998         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10999
11000         * Makefile.am:
11001         * box.h: new start of class for above
11002
11003         * lyxfunc.C: ignore space-only minibuffer dispatches.
11004           Show the command name when it doesn't exist
11005
11006         * minibuffer.C: don't add empty lines to the history
11007
11008         * minibuffer.C: add a space on dropdown completion
11009
11010 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
11011
11012         * text.C: fix line above/below drawing in insets
11013
11014 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11015
11016         * lyxlength.C (LyXLength): Initialize private variables.
11017
11018 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
11019
11020         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11021         when inserting error insets.
11022
11023 2001-12-13  Juergen Vigna  <jug@sad.it>
11024
11025         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11026         actually sometimes the before-paragraph.
11027         (setUndo): don't clear the redostack if we're not actually undoing!
11028
11029 2001-12-06  Juergen Vigna  <jug@sad.it>
11030
11031         * undo_funcs.C (textHandleUndo): well after John's hint I got here
11032         and fixed redoing of main paragraph, so we can use it now ;)
11033
11034         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11035
11036 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11037
11038         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11039         Juergen's request
11040
11041 2001-12-13  André Pönitz <poenitz@gmx.net>
11042
11043         * undostack.[Ch]:
11044         * undo_func.C: minor cleanup
11045
11046 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11047
11048         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11049         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11050         font in urw-fonts package which is marked as -urw-fontspecific and
11051         does not work (incidentally, changing the encoding in the
11052         fonts.dir of this package to -adobe-fontspecific fixes the
11053         problem).
11054
11055         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11056         is a crash when undoing first paragraph (Juergen, please take a
11057         look). THis does not mean the undo fix is wrong, just that it
11058         uncovers problems.
11059
11060         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11061         the (Paragraph*) version when needed instead of duplicating the
11062         code.
11063
11064         * text.C (workWidth): use Inset::parOwner to find out where the
11065         inset has been inserted. This is a huge performance gain for large
11066         documents with lots of insets. If Inset::parOwner is not set, fall
11067         back on the brute force method
11068
11069         * paragraph_pimpl.C (insertInset):
11070         * paragraph.C (Paragraph):
11071         (cutIntoMinibuffer): set parOwner of insets when
11072         inserting/removing them
11073
11074         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11075
11076 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
11077
11078         * commandtags.h:
11079         * LyXAction.C:
11080         * lyx_main.C:
11081         * lyxfunc.C:
11082         * mathed/formulabase.C:
11083         * mathed/math_cursor.[Ch]:
11084         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11085
11086
11087 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11088
11089         * lyxlength.[Ch] (operator!=): new function
11090
11091 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11092
11093         * text.C (workWidth): use Inset::parOwner to find out where the
11094         inset has been inserted. This is a huge performance gain for large
11095         documents with lots of insets. If Inset::parOwner is not set, fall
11096         back on the brute force method
11097
11098         * paragraph_pimpl.C (insertInset):
11099         * paragraph.C (Paragraph):
11100         (cutIntoMinibuffer): set parOwner of insets when
11101         inserting/removing them
11102
11103         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11104
11105 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11106
11107         * tabular-old.C (getTokenValue):
11108         * tabular.C (getTokenValue):
11109         (write_attribute): new versions for LyXLength
11110         (everywhere): adjust the use of widths
11111
11112         * tabular.h: change the type of widths from string to LyXLength
11113
11114 2001-12-11  Ben Stanley <bds02@uow.edu.au>
11115
11116         * paragraph.C: fixed missing line number count when exporting
11117         Environments to LaTeX file
11118
11119         * buffer.C: added informational message for checking line numbers.
11120
11121 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11122
11123         * text2.C (deleteEmptyParagraphMechanism): if there is only one
11124         paragraph, do the 'double space' part, but not the 'empty
11125         paragraph' one.
11126
11127         * text.C (workWidth): small optimization
11128         (getLengthMarkerHeight): use minimal size for negative lengths.
11129
11130 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
11131
11132         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11133
11134         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11135
11136 2001-12-11  André Pönitz <poenitz@gmx.net>
11137
11138         * FontLoader.C:
11139         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11140
11141 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11142
11143         * text2.C: keep selection on a setFont()
11144
11145 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11146
11147         * lyx_cb.C: another bv->text misuse, from insert label
11148
11149 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11150
11151         * kbsequence.h:
11152         * kbsequence.C: re-instate nmodifier mask
11153
11154 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
11155
11156         * lyx_main.h: make lyxGUI private.
11157
11158 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11159
11160         * lyxfind.C: place the cursor correctly on failed search
11161
11162 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11163
11164         * text.C (getLengthMarkerHeight): for small heights, the arrows
11165         are not always on top/bottom of the text
11166         (drawLengthMarker): smaller arrows; take the left margin in
11167         account; draw also vfills.
11168         (paintFirstRow):
11169         (paintLastRow): remove special code for vfill and standard spaces,
11170         since everything is handled in drawLengthMarker now.
11171
11172 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11173
11174         * buffer.C (insertErtContents): try to handle font and language
11175         interaction a bit better.g
11176
11177         * ColorHandler.C (updateColor): change the hash to cover the whole
11178         LColor enum, ws cleanup
11179         (getGCLinepars): ditto
11180         (getGCLinepars): only lookup in the linecache once.
11181
11182 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
11183
11184         * iterators.C (operator++): Make the iterator more robust
11185
11186         * BufferView2.C (removeAutoInsets): Use paragraph iterators
11187         (John's patch)
11188         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11189
11190 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11191
11192         * lyxtext.h:
11193         * text.C: better added space drawing
11194
11195 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11196
11197         * LyXView.C:
11198         * BufferView2.C: fix layout combo update on inset unlock
11199
11200 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11201
11202         * Makefile.am: don't compile unused files
11203
11204 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11205
11206         * lyxfunc.C:
11207         * commandtags.h:
11208         * LyXAction.C: remove old LFUN_LAYOUTNO
11209
11210 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11211
11212         * paragraph_pimpl.h:
11213         * paragraph_pimpl.C: isTextAt() doesn't need font param
11214
11215 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11216
11217         * lyxlex.h:
11218         * lyxlex.C: little cleanup
11219
11220 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11221
11222         * BufferView_pimpl.C: fix insertAscii for insets
11223
11224 2001-12-05  Juergen Vigna  <jug@sad.it>
11225
11226         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11227         set the right font on the "multi" paragraph paste!
11228
11229 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11230
11231         * trans_decl.h:
11232         * trans_mgr.[Ch]:
11233         * trans.[Ch]:
11234         * lyxgluelength.C:
11235         * lyxlength.C: remove out-commented code.
11236
11237         * BufferView_pimpl:
11238         * CutAndPaste.C:
11239         * DepTable.C:
11240         * buffer.C:
11241         * chset.C:
11242         * lastfiles.C:
11243         * lyxlex.C:
11244         * lyxlex_pimpl.C:
11245         * lyxserver.C:
11246         * screen.C:
11247         * tabular-old.C:
11248         * tabular.C:
11249         * text.C:
11250         * trans_mgr.C:
11251         * vc-backend.C: change "while(" to "while ("
11252
11253         * lyxlength.[Ch]: add zero function to check if length is zero or
11254         not
11255         * lyxgluelength.C: use it
11256
11257 2001-12-05  Allan Rae  <rae@lyx.org>
11258
11259         * lyxlength.C: Attempted a fix for the abs(int) header selection.
11260         Works for 2.95.3, from what I understand of Garst's reports this should
11261         work for other g++ versions.  We're screwed if the abs(int) definition
11262         changed between bugfix releases of gcc.
11263
11264 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11265
11266         * text.C: fix chapter label offset !
11267
11268 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11269
11270         * lyxtext.h:
11271         * text.C: fix hfill at end of line, clean up
11272
11273 2001-12-04  Juergen Vigna  <jug@sad.it>
11274
11275         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11276         that we force an update of the inset and it's owners if neccessary.
11277
11278 2001-12-03  Juergen Vigna  <jug@sad.it>
11279
11280         * text.C (rowLast): simplified code
11281
11282 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11283
11284         * lyxfunc.C: fix show options on timeout
11285
11286 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11287
11288         * screen.C (topCursorVisible): scroll half a page when the cursor
11289         reached top of bottom of screen
11290
11291 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
11292
11293         * minibuffer.C: deactivate on loss of focus
11294
11295 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11296
11297         * vspace.[Ch] (operator!=): add operator.
11298
11299 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
11300
11301         * BufferView_pimpl.C: refuse to open an inset when
11302         there's a selection.
11303
11304 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
11305
11306         * BufferView_pimpl.C: allow to click on RHS of full row insets
11307
11308 2001-11-30  Juergen Vigna  <jug@sad.it>
11309
11310         * tabular.C (LyXTabular): add a same_id to set the same id's in the
11311         insets for undo reasons.
11312
11313 2001-11-28  André Pönitz <poenitz@gmx.net>
11314
11315         * vspace.[Ch]: cosmetical changes
11316
11317 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11318
11319         * LyXAction.h:
11320         * LyXAction.C:
11321         * lyxfunc.h:
11322         * lyxfunc.C:
11323         * kbmap.h:
11324         * kbmap.C:
11325         * lyxrc.C:
11326         * kbsequence.h:
11327         * kbsequence.C: part re-write of old kb code
11328
11329         * Painter.C:
11330         * WorkArea.C: remove Lgb_bug_find_hack
11331
11332 2001-11-30  José Matos <jamatos@fep.up.pt>
11333
11334         * buffer.C (makeDocBookFile): add a comment to point a hack.
11335         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11336         Fixed a double write of labels.
11337
11338 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11339
11340         * LaTeX.C:
11341         * LaTeX.h Fixed bug in LaTeX class where it would not
11342         re-run latex if no depfiles were changed, but the .dvi was removed.
11343
11344 2001-11-28  André Pönitz <poenitz@gmx.net>
11345
11346         * all the files from the change on 2001/11/26:
11347         use lyx::layout_type instead of LyXTextClass::size_type
11348         use lyx::textclass_type instead of LyXTextClassList::size_type
11349
11350 2001-11-29  Juergen Vigna  <jug@sad.it>
11351
11352         * text.C: added support for paragraph::isFreeSpacing()
11353
11354         * buffer.C: same as above
11355
11356         * paragraph.h: inserted isFreeSpacing() function to enable
11357         FreeSpacing inside InsetERT.
11358
11359         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11360         of the paragraph's in the cut/copy buffer to 0!
11361
11362         * text2.C (removeRow): remove the assert as it can!
11363
11364         * lyxtext.h: added helper function firstRow returning firstrow and
11365         made firstrow private again.
11366
11367         * BufferView2.C (lockInset): don't relock if we're already locked!
11368
11369         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11370         the only paragraph.
11371         (removeRow): added Assert::(firstrow)
11372
11373         * debug.C: forgot to add INSETTEXT here.
11374
11375 2001-11-28  Juergen Vigna  <jug@sad.it>
11376
11377         * sp_spell.C (initialize): changed error text to more general
11378         spellchecker command use (not only ispell!)
11379
11380         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11381
11382         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11383
11384 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11385
11386         * vspace.C: initialise lyxgluelength on failure
11387
11388 2001-11-28  Allan Rae  <rae@lyx.org>
11389
11390         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11391         declaration & definition that looks like a function declaration.
11392
11393 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11394
11395         * BufferView2.C (copy):
11396         (copyEnvironment): do not clear the selection when doing a copy.
11397
11398         * text.C (paintFirstRow): compilation fix
11399
11400 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
11401
11402         * tabular.C (Latex): correct line count when writing latex.
11403
11404 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
11405
11406         * paragraph_pimpl.h:
11407         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11408           bug a bit
11409
11410 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11411
11412         * text.C:
11413         * LColor.h:
11414         * LColor.C: change vfillline->added_space
11415
11416         * text.C: add markers and text for added space
11417
11418         * vspace.C: fix comment
11419
11420 2001-11-28  André Pönitz <poenitz@gmx.net>
11421
11422         * paragraph.C: whitespace changes
11423         * all the other files from the change on 2001/11/26:
11424         change *::pos_type into lyx::pos_type
11425
11426 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
11427
11428         * buffer.C (parseSingleLyXformat2Token): Set the language to the
11429         language of the document when inserting error insets.
11430
11431 2001-11-26  André Pönitz <poenitz@gmx.net>
11432
11433         * BufferView_pimpl.[Ch]:
11434         *       CutAndPaste.C:
11435         * buffer.[Ch]:
11436         * lyxcursor.[Ch]:
11437         * lyxfind.C:
11438         * lyxfunc.C:
11439         * lyxrow.[Ch]:
11440         * paragraph.[Ch]:
11441         * paragraph_pimpl.[Ch]:
11442         * sp_spell.C:
11443         * text.C:
11444         * text2.C: reduce header dependencies, introduce type for positions
11445
11446 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11447
11448         * <various>: change to use Alert.h
11449
11450 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
11451
11452         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11453         when encountering an unknown token.
11454         (readLyXformat2): Show an error message if there were unknown tokens.
11455
11456 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
11457
11458         * BufferView2.C:
11459         * BufferView_pimpl.C:
11460         * buffer.C:
11461         * paragraph.h:
11462         * text.C:
11463         * text2.C: use par->isInset()
11464
11465 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11466
11467         * paragraph_pimpl.h:
11468         * paragraph_pimpl.C: cleanup
11469
11470 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11471
11472         * text2.C (removeRow):
11473         * text.C (setHeightOfRow): remove useless (and costly) call to
11474         getRow.
11475
11476 2001-11-20  Allan Rae  <rae@lyx.org>
11477
11478         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11479         Now need Inset*::checkInsertChar() to return true for appropriate
11480         cases so that the characters in the minibuffer will actually be
11481         inserted.
11482
11483 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11484
11485         * text.C: change the order of the includes.
11486         (workWidth): initialize it at once.
11487         (workWidth): make maxw unsigned
11488         (setHeightOfRow): remove unused variable (inset)
11489         (selectSelectedWord): remove unused variable (inset)
11490         (paintRowText): fix drawing of hfill characters, and clean up a bit.
11491
11492 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11493
11494         * lyxserver.C (emergencyCleanup): do not try to close pipes if
11495         server is not running.
11496         (openConnection):
11497         (closeConnection): add debug info when server is disabled.
11498
11499         * ColorHandler.C (getGCForeground): send debug message to GUI
11500         channel.
11501
11502         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11503
11504         * kbmap.C (bind): modify because return conventions of
11505         kb_sequence::parse have changed.
11506
11507         * kbsequence.C (parse): only ignore spaces and not any stupid
11508         control character. This avoids tests like s[i] <= ' ', which are
11509         guaranteed to fail with 8bit characters and signed chars.
11510         Change return code to string::npos when there have been no error
11511         (0 was a bad idea when error is at first character)
11512
11513 2001-11-14  José Matos  <jamatos@fep.up.pt>
11514
11515         * buffer.h:
11516         * buffer.C (simpleDocBookOnePar): removed unused argument.
11517
11518 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11519
11520         * text.C (selectNextWordToSpellcheck): do not test explicitely for
11521         insets which are part of a word. Paragraph::isLetter takes care of
11522         that now. Use Paragraph::isInset to identify insets.
11523         (selectSelectedWord): do not test for hyphenation break.
11524
11525         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11526         that protected spaces are considered as spaces.
11527
11528         * paragraph.C (isLetter): cleanup the code for ispell extras; use
11529         Inset::isLetter.
11530
11531 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
11532
11533         * lyxserver.h:
11534         * lyxserver.C: fix it. and small cleanup.
11535
11536 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11537
11538         * BufferView_pimpl.C: use inline helpers
11539
11540         * LaTeXFeatures.h:
11541         * LaTeXFeatures.C: fix typos
11542
11543         * Spacing.h:
11544         * Spacing.C: move spacing_string into class
11545
11546         * ToolbarDefaults.C: move stuff into namespace anon
11547
11548         * layout.h: update enum
11549
11550         * lyxfunc.C: use better debug
11551
11552         * minibuffer.h: fix typo
11553
11554         * debug.h:
11555         * debug.C:
11556         * WorkArea.C: add and use Debug::WORKAREA
11557
11558         * lyxtext.h:
11559         * text.C:
11560         * text2.C: code re-organisation, inline helpers
11561
11562 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
11563
11564         * Layout.C: replaced a few cases of std::vector.size() == 0 with
11565         std::vector.empty().
11566
11567 2001-11-09  Allan Rae  <rae@lyx.org>
11568
11569         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11570         '\n's after tables.  Tabular and ERT inset work now makes this no
11571         longer necessary.
11572
11573 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11574
11575         * minibuffer.h:
11576         * minibuffer.C: fix crash, improve drop-down completion
11577
11578 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
11579
11580         * lyxserver.h:
11581         * lyxserver.C: invalidate fd's when doing endPipe()
11582
11583 2001-11-08  José Matos  <jamatos@fep.up.pt>
11584
11585         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11586         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11587
11588         * paragraph.h:
11589         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11590
11591 2001-11-07  José Matos  <jamatos@fep.up.pt>
11592
11593         * buffer.h:
11594         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11595         const qualifier.
11596
11597         * buffer.C (sgmlOpenTag):
11598         * buffer.C (sgmlCloseTag): removed debug info.
11599
11600         * buffer.h (sgmlOpenTag):
11601         * buffer.h (sgmlCloseTag): made public.
11602
11603 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11604
11605         * buffer.C (saveParamsAsDefaults):
11606         * lyx_cb.C (MenuLayoutSave): remove
11607
11608         * LyXAction.C (init):
11609         * commandtags.h:
11610         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11611
11612 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11613
11614         * buffer.C (setPaperStuff): removed from here...
11615
11616         * bufferparams.C (setPaperStuff): ... and moved there.
11617
11618 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
11619
11620         * minibuffer.h:
11621         * minibuffer.C:
11622         * XFormsView.C: add support for drop-down completion
11623
11624 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
11625
11626         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11627         commands.
11628
11629 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11630
11631         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11632         disabled.
11633
11634 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
11635
11636         * lyx_main.C: change ref to known bugs
11637
11638 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
11639
11640         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11641         to work around older babel problems.
11642
11643 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11644
11645         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11646
11647 2001-10-24  Juergen Vigna  <jug@sad.it>
11648
11649         * tabular-old.C (ReadOld): below variable changes reflected.
11650
11651         * tabular.[Ch]: added ltType struct for longtable header/footer
11652         defines and changed all instances where they are used. Added
11653         future support for double top/bottom rows.
11654
11655 2001-10-24  José Matos  <jamatos@fep.up.pt>
11656
11657         * buffer.h (docbookHandleCaption):
11658         * buffer.C (docbookHandleCaption): removed unused function.
11659         (makeDocBookFile): moved docbook supported version to v4.1.
11660
11661 2001-10-24  José Matos  <jamatos@fep.up.pt>
11662
11663         * tabular.h:
11664         * tabular.C (docbookRow): new function to export docbook code of a row.
11665         (DocBook): now honors the longtable flags.
11666
11667 2001-10-23  José Matos  <jamatos@fep.up.pt>
11668
11669         * LaTeXFeatures.h:
11670         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11671         of the lyx defined sgml entities used in a docbook/linuxdoc document.
11672
11673         * buffer.C (makeLinuxDocFile):
11674         (makeDocBookFile): reworked the preamble, more clean, and with
11675         support for lyx defined entities. Changed the document declaration
11676         to be more XML friendly.
11677
11678         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11679         if we need to output XML that should be done with a filter.
11680
11681 2001-10-22  Juergen Vigna  <jug@sad.it>
11682
11683         * sp_pspell.h (class PSpell): add alive function needed in the
11684         controller to see if the spellchecker could be started.
11685
11686 2001-10-22  Juergen Vigna  <jug@sad.it>
11687
11688         * buffer.C (insertStringAsLines): modify the font for inserting
11689         chars in certain conditions by calling checkInsertChar(font).
11690
11691 2001-10-19  Juergen Vigna  <jug@sad.it>
11692
11693         * text.C (workWidth): use getRow instead of wrong algorithm.
11694         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11695
11696 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
11697
11698         * lyxserver.h:
11699         * lyxserver.C:
11700         * lyx_main.h:
11701         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11702
11703 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11704
11705         * text.C (workWidth): do not search for the exact row when
11706         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11707         optimization for big documents.
11708
11709 2001-10-18  Juergen Vigna  <jug@sad.it>
11710
11711         * text.C (workWidth): new function with added Inset * parameter.
11712
11713 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11714
11715         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11716
11717         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11718         change return type of getColumnNearX.
11719
11720
11721         * text.C (changeRegionCase): use uppercase/lowercase instead of
11722         toupper/tolower.
11723         (leftMargin):
11724         (rightMargin): simplify code by factoring out the uses of
11725         textclasslist.
11726         (labelFill):
11727         (numberOfHfills):
11728         (setHeightOfRow):
11729         (appendParagraph): use Paragraph::size_type
11730
11731 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11732
11733         * vspace.C (asLatexString): add a missing break
11734
11735 2001-10-15  Herbert Voss  <voss@perce.de>
11736
11737         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11738
11739 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11740
11741         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11742         is not available.
11743
11744 2001-10-10  André Pönitz <poenitz@gmx.net>
11745
11746         * lyxfunc.C: removed greek_kb_flag.
11747
11748 2001-10-10  Herbert Voss  <voss@perce.de>
11749
11750         * lyx_main.C: delete global string help_lyxdir.
11751
11752 2001-10-09  Herbert Voss  <voss@perce.de>
11753
11754         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11755
11756         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11757
11758         * lyx_main.C: added global string help_lyxdir.
11759
11760         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11761
11762 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11763
11764         * lyxrc.C (set_font_norm_type): support iso8859-4
11765
11766 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
11767
11768         * LaTeX.C (deplog): add another regex for MikTeX
11769
11770 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11771
11772         * lyxrc.C (set_font_norm_type): support iso8859-3
11773
11774 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11775
11776         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11777
11778         * LaTeXFeatures.C: remove special case of french and index
11779
11780         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11781         before \begin{document}). This solves several incompatibilities.
11782
11783 2001-10-03  Garst Reese  <reese@isn.net>
11784
11785         * lyx_cb.C: change CheckTex error msg.
11786
11787 2001-10-03  José Matos  <jamatos@fep.up.pt>
11788
11789         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11790
11791 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11792
11793         * .cvsignore: update
11794
11795         * lyx_main.C (commandLineVersionInfo): use new style version info.
11796
11797         * buffer.C (writeFile):
11798         (makeLaTeXFile):
11799         (makeLinuxDocFile):
11800         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11801
11802         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11803
11804         * version.h: update to use stuff in version.C
11805
11806         * version.C.in: new file. Contains version information determined
11807         at compile time. This is a merging of version.h and
11808         version_info.h.in.
11809
11810 2001-10-03  Juergen Vigna  <jug@sad.it>
11811
11812         * BufferView_pimpl.C (update): don't change "dirty" status in
11813         updateInset call.
11814
11815 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
11816
11817         * WorkArea.C (c-tor): re-position version string slightly.
11818
11819 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
11820
11821         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11822         revert to previous code.
11823
11824         WorkArea.[Ch]: (show, destroySplash): methods removed.
11825
11826         WorkArea.C: rework code so that it's an amalgam of the codes before and
11827         after the splash screen was moved to WorkArea.
11828
11829 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11830
11831         * lyxrc.C (read):
11832         * vspace.C (inPixels):
11833         (lyx_advance):
11834         * kbmap.C (bind):
11835         * buffer.C (insertStringAsLines):
11836         (asciiParagraph): fix types to be large enough
11837
11838         * lyxlex_pimpl.h: change member status from short to int
11839
11840         * layout.h: fix type of endlabeltype
11841
11842         * kbmap.C (bind):
11843         * kbsequence.C (parse): change return type to string::size_type
11844
11845         * LaTeX.C (updateBibtexDependencies): comment out unneeded
11846         variable
11847
11848         * Bullet.C (bulletSize):
11849         (bulletEntry): do not use short ints as parameters
11850
11851         * BufferView2.C (insertLyXFile): change a char to an int.
11852
11853         * WorkArea.C (WorkArea): remove unneeded floats in computation
11854
11855 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11856
11857         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11858
11859         * paragraph.C (asString): Do not ignore newline/hfill chars when
11860         copying to the clipboard.
11861
11862 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
11863
11864         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11865         after a multi-line inset.
11866
11867 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
11868
11869         * paragraph.C (validate): Set NeedLyXFootnoteCode
11870
11871 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11872
11873         * lyxfont.C (LyXSizeNames): changed increase-error to increase
11874         and decrease-error to decrease.
11875
11876 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11877
11878         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11879         it more readable (should be equivalent)
11880
11881 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11882
11883         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11884
11885 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11886
11887         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11888         of a cursor (row, etc.) after a character has been deleted
11889         (deleteEmptyParagraphMechanism): call the method above on _all_
11890         cursors held by the LyXText when a double space has been
11891         detected/deleted.
11892
11893 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11894
11895         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11896         pixmap.
11897         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11898
11899         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11900         background. Use greyOut() and the new show() methods to toggle between
11901         the foreground and background. Add code to remove the splash after
11902         its initial showing.
11903
11904         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11905         (create_forms): no longer call Dialogs::showSplash.
11906
11907 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11908
11909         * .cvsignore: add version_info.h
11910
11911 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11912
11913         * version_info.h.in: new file
11914
11915         * Makefile.am: add version_info.h.in
11916
11917         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11918         version_info.h instead of VERSION_INFO
11919
11920 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11921
11922         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11923         The ERT inset now returns string().
11924
11925 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11926
11927         * lyxtext.h, text.C (selectNextWord): renamed as
11928         selectNextWordToSpellcheck.
11929
11930         * text.C (selectNextWordToSpellcheck): Modified to not select
11931         words inside an ERT inset.
11932
11933 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11934
11935         * lyx_cb.C (MenuLayoutSave): change a bit the question
11936
11937         * sp_base.h: include <sys/types.h>
11938
11939 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11940
11941         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11942
11943 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11944
11945         * several files: fix typos in user-visible strings
11946
11947 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11948
11949         * text2.C (pasteSelection): do not set the selection, since it
11950         will be cleared later. Actually, the intent was to fix the way the
11951         selection was set, but I figured rmoving the code was just as good.
11952
11953 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11954
11955         * FontLoader.C (available): Check if font is available without
11956         loading the font.
11957
11958 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11959
11960         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11961
11962 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11963
11964         * lyxrc.[Ch]: added display_graphics variable and associated code.
11965
11966 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11967
11968         * bufferparams.C (hasClassDefaults): new method. Returns true if
11969         the buffer parameters correspond to known class defaults
11970
11971 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11972
11973         * XFormsView.C (show): set minimum size to the main window.
11974
11975 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11976
11977         * text2.C (copySelection):
11978         (cutSelection):
11979         * lyxfind.C (LyXReplace):
11980         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11981         LyXText::selectionAsString.
11982
11983         * paragraph.C (asString): add "label" argument to the second form
11984
11985         * text2.C (selectionAsString): add "label" argument and pass it to
11986         Paragraph::asString.
11987
11988 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11989
11990         * lyx_main.C (commandLineHelp): remove version information
11991
11992 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11993
11994         * lyx_main.C: add -version commandline option
11995
11996 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11997
11998         * paragraph.h: make the optional constructor arg required instead.
11999         some modifications to other files because of this.
12000
12001         * minibuffer.C (C_MiniBuffer_peek_event): make it static
12002
12003         * lyxserver.C (C_LyXComm_callback): make it static
12004
12005         * lyx_main.C (error_handler): make it static
12006
12007         * lyx_gui.C (LyX_XErrHandler): make it static
12008
12009         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12010
12011         * WorkArea.C: make the extern "C" methods static.
12012
12013         * Makefile.am (lyx_LDADD): simplify
12014
12015 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12016
12017         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12018         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12019
12020         * LyXAction.C (init):
12021         * lyxfunc.C (dispatch): associated code removal.
12022
12023 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12024
12025         * lyxfont.h (isSymbolFont): shut off warning
12026
12027         * text.C (setHeightOfRow):
12028         (getVisibleRow): fix crash with empty paragraphs which have a
12029         bottom line
12030
12031 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
12032
12033         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12034         code.
12035
12036 2001-09-04  José Matos  <jamatos@fep.up.pt>
12037         * buffer.C
12038         * buffer.h
12039         * tabular.C (docbook): rename docBook method to docbook.
12040
12041 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12042
12043         * Makefile.am: add dependencies to main.o.
12044
12045 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
12046
12047         * FontLoader.C (available): Return false if !lyxrc.use_gui
12048
12049 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
12050
12051         * FontInfo.C (query):
12052         * converter.C (view):
12053         * importer.C (Import):
12054         * exporter.C (Export): Can not -> cannot.
12055
12056 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
12057
12058         * BufferView_pimpl.C: allow to create index inset even if
12059           string is empty
12060
12061 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12062
12063         * buffer.C (getLists): replace boost::tie code with an explicit pair
12064         as boost::tie can break some compilers.
12065
12066         * iterators.h: Added a std:: declaration to the return type of
12067         ParIterator::size.
12068
12069 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
12070
12071         * lyxrc.C: add help for view_dvi_paper_option, default to safe
12072           case.
12073
12074 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
12075
12076         * iterators.[Ch]: New files. Provide paragraph iterators.
12077
12078         * buffer.C (changeLanguage): Use paragraph iterators.
12079         (isMultiLingual): ditto
12080
12081         * BufferView2.C (ChangeInsets): Use paragraph iterators.
12082
12083 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
12084
12085         * FontLoader.C: Support for cmr font.
12086
12087 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
12088
12089         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12090         (available): New method.
12091
12092         * FontInfo.C (getFontname): Use scalable fonts even when
12093         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12094         found.
12095
12096 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12097
12098         * converter.C (Formats::view): reverted! Incorrect fix.
12099
12100 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12101
12102         * converter.C (Formats::view): only output the -paper option
12103         if the dvi viewer is xdvi, thereby fixing bug #233429.
12104
12105 2001-08-23  Herbert Voss  <voss@perce>
12106
12107         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12108
12109 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
12110
12111         * Spacing.h (Spacing): Set space to Default on in the default
12112         constructor.
12113
12114 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12115
12116         * vc-backend.h (RCS::versionString): add RCS to version
12117         (CVS::versionString): add CVS to version
12118
12119         * vc-backend.C (scanMaster): do not add CVS to version.
12120         (scanMaster): do not add RCS to version
12121
12122         * lyxvc.C (versionString): new method
12123
12124         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12125
12126 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12127
12128         * Spacing.C (set): initialize fval
12129
12130 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
12131
12132         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12133         " or \.
12134
12135 2001-08-16  Juergen Vigna  <jug@sad.it>
12136
12137         * lyxfunc.C (dispatch): implemented the new FINISHED states.
12138
12139 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12140
12141         * BufferView_pimpl.C:
12142         * figureForm.C:
12143         * lyxtext.h:
12144         * text2.C: setParagraph takes linespacing now
12145
12146 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
12147
12148         * LyxAction.C: add internal LFUN_CITATION_INSERT
12149
12150         * LyXView.C: actually apply fix
12151
12152         * bufferlist.C: fix open non-existent file
12153
12154         * lyxfind.C: fix indentation
12155
12156         * lyxfunc.C: remove unneeded assert, fix typo
12157
12158 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12159
12160         * MenuBackend.C: use "Floatname List"
12161
12162 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
12163
12164         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12165         when converting LaTeX layout to insetERT.
12166         Generate a non-collapsed float when reading old float
12167
12168 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12169
12170         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12171         ERT insets.
12172
12173 2001-08-13  Juergen Vigna  <jug@sad.it>
12174
12175         * text.C (fill): return 0 instead of 20 as this seems to be the more
12176         correct value.
12177
12178 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12179
12180         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12181         lyxrc.font_norm.
12182
12183 2001-08-13  Juergen Vigna  <jug@sad.it>
12184
12185         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12186         casesensitive off.
12187         (SearchBackward): comment out the unlocking of the inset_owner this
12188         should not be needed!
12189
12190 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
12191
12192         * Many files: Remove inherit_language, and add latex_language
12193
12194         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12195         collapsible insets.
12196
12197 2001-08-10  Juergen Vigna  <jug@sad.it>
12198
12199         * text.C (prepareToPrint): fixed hfill-width in draw!
12200
12201         * BufferView2.C (selectLastWord): save the selection cursor as this
12202         now is cleared in the function LyXText::clearSelection!
12203
12204 2001-08-08  Juergen Vigna  <jug@sad.it>
12205
12206         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12207         BACKSPACE type functions.
12208
12209         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12210         is only cutted from the document but not put in the cut-buffer, where
12211         still the old stuff should be.
12212
12213         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12214
12215         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12216
12217         * tabular.C (SetWidthOfCell): fixed special case where the width
12218         was not updated!
12219         (LeftLine): handle '|' in align_special.
12220         (RightLine): ditto
12221         (LeftAlreadyDrawed): ditto
12222         (SetWidthOfCell): ditto
12223
12224 2001-08-07  Juergen Vigna  <jug@sad.it>
12225
12226         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12227
12228 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12229
12230         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12231         * lyxlex.[hC]: ditto
12232
12233 2001-08-06  Juergen Vigna  <jug@sad.it>
12234
12235         * text.C (getVisibleRow): fix up row clearing a bit.
12236
12237 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12238
12239         * minibuffer.C: make sure the X server sees the changes in the input.
12240
12241 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12242
12243         * paragraph.C (getFont): split into...
12244         (getLabelFont): this
12245         (getLayoutFont): and this
12246         * paragraph_pimpl.C (realizeFont): calling this
12247
12248         * text2.C (getFont): split into...
12249         (getLayoutFont): this
12250         (getLabelFont): and this
12251         (realizeFont): all three calling this
12252
12253         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12254         files where used.
12255
12256 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12257
12258         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12259
12260 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
12261
12262         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12263         layouts from the Quote inset insertion.
12264
12265 2001-08-03  Juergen Vigna  <jug@sad.it>
12266
12267         * BufferView_pimpl.C (update): do the fitCursor only at the end!
12268
12269         * screen.C (drawFromTo): don't call fitcursor here and do the loop
12270         only if status not is already CHANGED_IN_DRAW (second level).
12271
12272         * text.C (draw): don't set the need_break_row when inside an
12273         InsetText LyXText.
12274
12275 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12276
12277         * buffer.C (parseSingleLyXformat2Token): handle more latex
12278         conversion cases.
12279
12280         * bufferview_funcs.[hC]: change function names to
12281         begin with small char, adjust other files.
12282
12283 2001-08-02  André Pönitz <poenitz@gmx.net>
12284
12285         * lyxfunc.C:
12286         BufferView_pimpl.C: remove broken special code for math-greek
12287
12288 2001-08-02  Juergen Vigna  <jug@sad.it>
12289
12290         * BufferView_pimpl.C (update): redone this function so that we
12291         update the text again if there was a CHANGE_IN_DRAW.
12292
12293         * screen.C (cursorToggle): removed LyXText parameter and recoded.
12294         (drawFromTo): added a new internal bool which is used by draw() and
12295         redraw() function.
12296         (general): some cursor drawing problems fixed.
12297
12298 2001-08-01  Juergen Vigna  <jug@sad.it>
12299
12300         * lyxfind.C (LyXFind): fixed
12301         (SearchForward): ditto
12302         (SearchBackward): ditto
12303
12304         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12305         spurius drawing of the cursor in the main area.
12306
12307         * text2.C (status): small fix which could lead to a segfault!
12308         (clearSelection): remove unneeded BufferView param.
12309
12310 2001-08-01  André Pönitz <poenitz@gmx.net>
12311
12312         * lyxfunc.C: small change due to changed mathed interface
12313
12314 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12315
12316         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12317
12318 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
12319
12320         * lyxfunc.c: fail gracefully if file doesn't exist
12321
12322         * LyXSendto.C:
12323         * buffer.C:
12324         * lyxfunc.C:
12325         * BufferView_pimpl.C: IsDirWriteable() proto changed
12326
12327         * LyXView.C: fix updateWindowTitle() to store the last title
12328
12329 2001-07-31  Juergen Vigna  <jug@sad.it>
12330
12331         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12332         the font (wrong since using of Paragraph::highestFontInRange).
12333
12334         * paragraph.C (highestFontInRange): added a default_size parameter.
12335
12336         * text.C (getVisibleRow): minor clear row changes (still not perfect).
12337         (setHeightOfRow): reformat
12338
12339 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12340
12341         * converter.[hC] + affected files: move to (inital-char)lowercase
12342         function names.
12343
12344         * ParagraphParameters.C (ParagraphParameters): remove commented code
12345
12346         * PainterBase.[Ch]: remove commented code
12347
12348         * LaTeXFeatures.h: add "bool floats" for float.sty
12349
12350         * LaTeXFeatures.C (LaTeXFeatures): init floats
12351         (require): handle float
12352         (getPackages): do it with floats
12353
12354 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12355
12356         * BufferView_pimpl.C (Dispatch): improve handling of
12357         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12358
12359         * commandtags.h: #include lyxfont.h here temporarily to avoid
12360         keybinding bug.
12361
12362         * bufferlist.h: include LString.h here.
12363
12364 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12365
12366         * text2.C (getStringToIndex): new method.
12367
12368 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
12369
12370         * *: Reduced header file dependencies all over.
12371
12372 2001-07-30  Baruch Even  <baruch@lyx.org>
12373
12374         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12375
12376 2001-07-29  Baruch Even  <baruch@lyx.org>
12377
12378         * buffer.C (readInset): Changed GRAPHICS to Graphics.
12379
12380 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12381
12382         * ParameterStruct.h (endif): add a default constructor to make
12383         sure that all variables is initialized.
12384
12385         * ParagraphParameters.C (ParagraphParameters): adjust
12386
12387 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12388
12389         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12390         index; also, check that there is something to index, and that it
12391         does not span over several paragraphs.
12392         (doubleClick): use WHOLE_WORD_STRICT for double click.
12393
12394         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12395
12396         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12397         scheme.
12398
12399 2001-07-26  Baruch Even  <baruch@lyx.org>
12400
12401         * buffer.C (readInset): Changed to call up InsetGraphics when reading
12402         an InsetFig figure, backwards compatible reading of old figure code.
12403
12404 2001-07-27  Juergen Vigna  <jug@sad.it>
12405
12406         * text2.C: font.realize function adaption.
12407
12408         * text.C (draw): add a warnings lyxerr text if needed.
12409
12410         * layout.C: font.realize function adaption.
12411
12412         * language.C: add inherit_language and implement it's handlings
12413
12414         * bufferview_funcs.C (StyleReset): remove language parameter from
12415         font creation (should be language_inherit now).
12416
12417         * bufferparams.C (writeFile): handle ignore_language.
12418
12419         * paragraph.C (getFontSettings): the language has to be resolved
12420         otherwise we have problems in LyXFont!
12421
12422         * lyxfont.C (lyxWriteChanges): added document_language parameter
12423         (update): removed unneeded language parameter
12424
12425         * paragraph.C (validate): fixed wrong output of color-package when
12426         using interface colors for certain fonts in certain environments,
12427         which should not seen as that on the final output.
12428
12429 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
12430
12431         * BufferView_pimpl.C:
12432         * Thesaurus.h:
12433         * Thesaurus.C:
12434         * Makefile.am:
12435         * commandtags.h:
12436         * LyXAction.C: add thesaurus support
12437
12438         * lyxfind.h:
12439         * lyxfind.C: add "once" parameter, for thesaurus, to not
12440           move to the next match
12441
12442 2001-07-26  Juergen Vigna  <jug@sad.it>
12443
12444         * lyxfont.C (realize): honor ignore_language too!
12445         (resolved): ditto.
12446
12447         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12448
12449         * text.C (draw): one place more for ignore_language to not draw
12450         itself!
12451
12452 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
12453
12454         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12455
12456 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12457
12458         * buffer.C (parseSingleLyXformat2Token): a more general fix for
12459         the minipage conversion problem.
12460
12461 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12462
12463         * buffer.C (parseSingleLyXformat2Token): check minipage if we
12464         insert an inset.
12465
12466 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12467
12468         * BufferView.h: don't forward declare WorkArea
12469
12470         * BufferView.C: don't include WorkArea.h
12471
12472 2001-07-25  André Pönitz <poenitz@gmx.net>
12473
12474         * commandtags.h:
12475         * LyXAction.C:
12476         * lyxfunc.C:  new LFUN 'math-space'
12477
12478         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12479
12480 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12481
12482         * text2.C (toggleInset): call open/close
12483
12484 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12485
12486         * lyxfunc.C (dispatch): add debug for the disabled case
12487
12488         * font.C (buttonText): make similar to rectText
12489
12490         * buffer.C (readInset): comment out parsing of insetlist and
12491         insttheorem
12492
12493         * PainterBase.C (rectText): small correction
12494
12495         * BufferView_pimpl.C: comment out insettheorem and insetlist
12496         * LyXAction.C: ditto
12497         * commandtags.h: ditto
12498
12499 2001-07-24  Juergen Vigna  <jug@sad.it>
12500
12501         * text.C (draw): honor the ignore_language.
12502
12503         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12504
12505 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12506
12507         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12508         char inset.
12509
12510 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12511
12512         * lyxtext.h: remove unused (and unimplemented) methods
12513
12514 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12515
12516         * text.C (getVisibleRow): honor background color
12517
12518         * PainterBase.h:
12519         * Painter.h: remove default color argument for fillRectangle
12520
12521         * text.C (backgroundColor): new method
12522
12523 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12524
12525         * text.C (getVisibleRow): adjust
12526
12527         * font.[Ch] (rectText): new method, metrics
12528         (buttonText): new method, metrics
12529
12530         * PainterBase.[hC]: make rectText and buttonText always draw and take
12531         fewer paramteres.
12532
12533 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12534
12535         * ToolbarDefaults.C (read):
12536         * MenuBackend.C (read): allow escaping in all strings
12537
12538         * BufferView_pimpl.C (insertAndEditInset): new method.
12539         (Dispatch): use insertAndEditInset whenever appropriate.
12540
12541         * BufferView_pimpl.C (insertNote): removed
12542
12543         * BufferView_pimpl.C (smartQuote): new method, moved from
12544         BufferView; if an insetquote cannot be inserted, insert a '"'
12545         character instead.
12546
12547         * BufferView2.C: remove insertCorrectQuote();
12548
12549         * lyxfunc.C (getStatus): Add support for all remaingin
12550         inset-insert lfuns.
12551
12552         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12553
12554         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12555         command (necessary to pass " as parameter of self-insert.
12556
12557         * text.C (selectWordWhenUnderCursor):
12558         (selectWord): add word_location parameter
12559         (selectWordWhenUnderCursor): same + remove special code for word
12560         boundary.
12561         (selectNextWord): use kind() to guess type of insetspecialchar,
12562         not latex().
12563
12564         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12565         (insertErtContents): create ert insets as collapsed.
12566         (readInset): better compatibility code for Info inset.
12567
12568 2001-07-20  Juergen Vigna  <jug@sad.it>
12569
12570         * lyxfunc.C (dispatch): use always LyXFind now!
12571
12572         * text2.C (init): add a reinit flag so that the LyXText can be
12573         reinited instead of deleted and reallocated (used in InsetText).
12574
12575         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12576
12577         * text.C: ditto
12578
12579         * text2.C: ditto
12580
12581 2001-07-18  Juergen Vigna  <jug@sad.it>
12582
12583         * text.C (selectNextWord): handle insets inside inset by calling
12584         always the bv->text functions so that we can go up the_locking_inset!
12585
12586         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12587         in strange locations when inside an inset!
12588
12589         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12590         handling to include insets.
12591
12592         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12593
12594 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12595
12596         * LyXAction.C (init):
12597         * commandtags.h:
12598         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12599         LIGATURE_BREAK, since the name is so stupid.
12600
12601 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12602
12603         * buffer.C (readInset): enable reading of new InsetNotes as well as old
12604         InsetInfos.
12605
12606         * FontLoader.C: remove FORMS_H_LOCATION cruft.
12607
12608         * sp_form.[Ch]: remove.
12609
12610         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12611
12612         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12613         InsetInfo.
12614
12615         * src/buffer.C (readInset): ditto.
12616
12617 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12618
12619         * BufferView_pimpl.C (specialChar): new method. Obsoletes
12620         menuSeparator(), endOfSentenceDot(), ldots() and
12621         hyphenationPoint(), which are therefore removed.
12622         (Dispatch): handle LFUN_HYPHENATION_BREAK.
12623
12624         * LyXAction.C (init):
12625         * commandtags.h: add LFUN_HYPHENATION_BREAK.
12626
12627         * paragraph.C (getWord): removed.
12628
12629         * BufferView_pimpl.C (Dispatch): use last word or selection for
12630         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12631
12632         * lyx_main.C (queryUserLyXDir): do not ask before creating
12633         user_dir, except if it has been named explicitely.
12634
12635 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12636
12637         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12638         a document of zero size.
12639
12640 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
12641
12642         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12643         approriately in the c-tor and in require().
12644         (getPackages): output the appropriate LaTeX for natbib support.
12645
12646         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12647         variables "use_natbib" and "use_numerical_citations" when reading the
12648         LyX file.
12649         (readInset): read the various natbib cite commands.
12650         (validate): white-space change.
12651
12652         * bufferparams.[Ch]: new variables "bool use_natbib" and
12653         "bool use_numerical_citations".
12654         (writeFile): output them in the LyX file.
12655
12656 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12657
12658         * lyxfunc.C (getStatus): add support for all the inset insertion
12659         commands.
12660
12661         * text2.C (insertInset):
12662         * paragraph.C (insetAllowed):
12663         * BufferView_pimpl.C (insertInset): update to take in account the
12664         renaming of insertInsetAllowed
12665
12666         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12667
12668         * text2.C (getInset): new method. returns inset at cursor position.
12669
12670         * BufferView_pimpl.C (Dispatch): changes because of this.
12671
12672         * LyXAction.C (init): rename open-stuff to inset-toggle.
12673
12674         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12675
12676         * text2.C (toggleInset): renamed from openStuff; use
12677         Inset::open().
12678
12679 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
12680
12681         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12682
12683         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12684
12685 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
12686
12687         * buffer.C (readLyXformat2): Add filename to the error dialog
12688
12689 2001-07-18  Juergen Vigna  <jug@sad.it>
12690
12691         * tabular.C (GetCellNumber): put an assert here instead of the check!
12692
12693 2001-07-17  Juergen Vigna  <jug@sad.it>
12694
12695         * BufferView_pimpl.C (toggleSelection): adapted too.
12696
12697         * text.C (selectNextWord): adapted for use with insets.
12698         (selectSelectedWord): ditto
12699
12700 2001-07-17  Juergen Vigna  <jug@sad.it>
12701
12702         * sp_spell.C (PSpell): fix initialitation order.
12703
12704 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12705
12706         * paragraph.C: spacing
12707
12708 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
12709
12710         * sp_spell.C: repair language selection for pspell
12711
12712 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12713
12714         * lyxfunc.h: change more methods to begin with lower char.
12715
12716 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
12717
12718         * buffer.C (parseSingleLyXformat2Token): Generate error insets
12719         for unknown layouts.
12720
12721 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12722
12723         * buffer.C (readLyXformat2): Generate an error dialog if there are
12724         unknown layouts.
12725
12726 2001-07-16  Juergen Vigna  <jug@sad.it>
12727
12728         * sp_spell.C: always compile ISpell part.
12729
12730         * lyxrc.C: added use_pspell entry and it's handling.
12731
12732 2001-07-13  Juergen Vigna  <jug@sad.it>
12733
12734         * sp_spell.C: removed double includes.
12735
12736 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
12737
12738         Consistent use of Lsstream.h:
12739         * Lsstream.h: added using std::stringstream for consistencies sake.
12740
12741         * buffer.C: removed using std::stringstream
12742
12743         * lyxfont.C (stateText):
12744         * paragraph.C (asString):
12745         * text.C (selectNextWord, selectSelectedWord):
12746         * text2.C (setCounter):
12747         * vspace.C (asString, asLatexString):
12748         std::ostringstream -> ostringstream.
12749
12750 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12751
12752         * LyXAction.C: add LFUN_HELP_ABOUTLYX
12753         * commandtags.h: add LFUN_HELP_ABOUTLYX
12754         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12755
12756 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12757
12758         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12759         cursorToggle()
12760         * lyx_gui_misc.C: remove spellchecker
12761         * lyxfunc.C: showSpellchecker
12762         * sp_base.h: added
12763         * sp_ispell.h: added
12764         * sp_pspell.h: added
12765         * sp_spell.C: added
12766         * sp_form.[Ch]: removed
12767         * spellchecker.[Ch]: removed
12768
12769 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
12770
12771         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12772         is set.
12773         (simpleTeXSpecialChars): Simply print the input character without
12774         any special translation if pass_thru is set.
12775
12776         * layout.h: Added bool pass_thru to layout class for being able to
12777         implement pass through of a paragraph for Literate Programming.
12778
12779         * layout.C: add LT_PASS_THRU to LayoutTags enum.
12780         * layout.C (LyXLayout): set pass_thru to flase in constructor.
12781         * layout.C (Read): add "passthru" to list of layout tags and add
12782         code to set the pass_thru boolean when it is read.
12783
12784 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12785
12786         * trans_decl.h: remove allowed from KmodInfo
12787
12788         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12789         remove allowed code
12790         (Load): adjust
12791
12792         * paragraph_pimpl.C (erase): use boost::prior
12793
12794         * Painter.C (text): use data() instead of c_str() when length is
12795         also provided.
12796         * WorkArea.C (putClipboard): ditto
12797         * font.h (width): ditto
12798
12799         * BufferView2.C: use it-> instead of (*it). for iterators
12800         * texrow.C: ditto
12801         * paragraph_pimpl.C: ditto
12802         * paragraph.C: ditto
12803         * minibuffer.C: ditto
12804         * language.C: ditto
12805         * kbmap.C: ditto
12806         * encoding.C: ditto
12807         * counters.C: ditto
12808         * converter.C: ditto
12809         * chset.C: ditto
12810         * Variables.C: ditto
12811         * TextCache.C: ditto
12812         * MenuBackend.C: ditto
12813         * LyXAction.C: ditto
12814         * LColor.C: ditto
12815         * FloatList.C: ditto
12816         * DepTable.C: ditto
12817         * ColorHandler.C (LyXColorHandler): ditto
12818
12819 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12820
12821         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12822
12823         * text2.C (openStuff): reintroduce this method (which had been
12824         nuked in NEW_INSETS frenzy).
12825
12826         * lyxfunc.C (Dispatch): when an action has not been handled, use
12827         its name in the error message, not its number.
12828
12829         * paragraph.C (inInset): change method name to begin with lowercase.
12830
12831         * undo_funcs.C:
12832         * text2.C: updates because of this.
12833
12834 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12835
12836         * ToolbarDefaults.C (add): add spaces in error message
12837
12838 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12839
12840         * buffer.C (readLyXformat2): initialize the ert comp. variables.
12841         (readLyXformat2): rename return_par to first_par, use lyxlex's
12842         pushToken and remove the manual push handling.
12843         (parseSingleLyXformat2Token): add another ert comp. variable:
12844         in_tabular, rename return_par to first_par. handle newlines better
12845
12846 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12847
12848         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12849
12850 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12851
12852         * text2.C (getParFromID): removed
12853
12854         * buffer.C (getParFromID): new method moved form lyxtext.
12855         * BufferView2.C (insertErrors): adjust
12856         (setCursorFromRow): adjust
12857         * BufferView_pimpl.C (restorePosition): adjust
12858         * lyxfunc.C (Dispatch): adjust
12859         * undo_funcs.C (textUndo): adjust
12860         (textRedo): adjust
12861         (textHandleUndo): adjust
12862         (textHandleUndo): adjust
12863
12864 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12865
12866         * buffer.C: up' the LYX_FORMAT
12867
12868         * lyxfont.h: turn NO_LATEX on as default
12869
12870         * buffer.C (insertErtContents): new methods of tex style compability.
12871         (parseSingleLyXformat2Token): use it several places.
12872         * tabular.C (OldFormatRead): and here
12873
12874 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12875
12876         * text2.C: remove some commented code.
12877         reindent file.
12878
12879         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12880         * trans.C: changes because of the above.
12881
12882 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
12883
12884         * text2.C (setCounter): Fix counters bug with bibliography layout.
12885
12886 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12887
12888         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12889         own member functions
12890         (simpleTeXSpecialChars): ditto
12891
12892 2001-07-06  Juergen Vigna  <jug@sad.it>
12893
12894         * a lot of files: changed the access to LyXText::status and the
12895         call of undo-functions.
12896
12897         * undo.[Ch]: added a inset_id to the undo informations.
12898
12899         * undo_funcs.[Ch]: added and moved here all undo functions.
12900
12901         * lyxtext.h: give the status enum a weight, made status_ a private
12902         variable and made accessor functions for it, removed the whole bunch
12903         of undo-functions as they are now in their own file, make some
12904         functions publically available. Added function ownerParagraph with
12905         int parameter.
12906
12907         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12908         made InInset() a const function, added getParFromID() function.
12909
12910         * buffer.[Ch]: added const version for inset_iterator functions,
12911         added getInsetFromID() function.
12912
12913         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12914         changed undo functions for new version.
12915
12916 2001-07-05  Juergen Vigna  <jug@sad.it>
12917
12918         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12919         unknow mechanism does not call the proper constructor but only this
12920         one also if I request the other!?
12921
12922 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12923
12924         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12925
12926         * text2.C (LyXText): use initialization lists.
12927
12928         * lyxtext.h (Selection): initialize set_ and mark_
12929         (init): remove method
12930
12931 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12932
12933         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12934
12935 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12936
12937         * screen.[Ch]: change method names to begin with lowercase
12938
12939         * BufferView_pimpl.C (updateScrollbar): simplify further and
12940         hopefully make it a bit faster.
12941
12942 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12943
12944         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12945         calling directly xforms functions.
12946
12947         * Painter.C (Painter):
12948         * lyx_cb.C (MenuWrite):
12949         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12950         fl_display.
12951
12952         * lyx_gui.C: remove bogus guiruntime extern declaration.
12953
12954 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12955
12956         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12957         in NEW_INSETS
12958         (redoDrawingOfParagraph): ditto
12959         (redoParagraphs): ditto
12960         (cutSelection): don't create a object for CutAndPaste use the
12961         static method directly
12962         (pasteSelection): ditto
12963
12964         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12965         LyXview (+ rename)
12966
12967 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12968
12969         * modifications to some other files because of this.
12970
12971         * Makefile.am (lyx_SOURCES): add XFormsView
12972
12973         * XFormsView.[Ch]: new files
12974
12975         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12976         the main window. Move the gui dependent stuff to XFormsView
12977
12978 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12979
12980         * tabular.C (GetCellInset): update cur_cell also in the row/col
12981         version of this function.
12982
12983         * lyxfunc.C: no need to include figure_form.h here.
12984
12985         * FontLoader.h:
12986         * lyxfunc.h:
12987         * lyxscreen.h:
12988         * text2.C:
12989         * lyxvc.C: no need to include forms.h here.
12990
12991 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12992
12993         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12994
12995         * lyxfunc.C (Dispatch):
12996         * Spacing.C (set):
12997         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12998         constructor argument.
12999
13000 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13001
13002         * paragraph.C (Paragraph): dont't clear, and just set layout.
13003         (makeSameLayout): use params's copy contructor.
13004
13005         * ParagraphParameters.[Ch] (makeSame): delete method
13006
13007 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
13008
13009         * Variables.[Ch]: fix indentation, rename set to isSet
13010
13011 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13012
13013         * lyxfunc.C (Dispatch): fix typo
13014
13015 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13016
13017         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13018         upper_bound.
13019
13020         * bufferlist.C: include assert.h for emergencyWrite().
13021
13022 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13023
13024         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13025           give up at last (bug #425202) !
13026
13027 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
13028
13029         * lyx_gui_misc.C:
13030         * sp_form.h:
13031         * sp_form.C:
13032         * spellchecker.h:
13033         * spellchecker.C: strip spellchecker options and bring up
13034           preferences tab instead
13035
13036 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13037
13038         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13039         the istringstream constructor
13040
13041 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13042
13043         * paragraph.C (getLayout): fix return value
13044
13045         * paragraph.h: do not declare getLayout as inline.
13046
13047         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13048
13049 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13050
13051         * lyxcursor.h (operator<): new func
13052         (operator>): new func
13053         (operator>=): new func
13054         (operator<=): new func
13055
13056         * text.C (changeCase): use selection.start and selection.end
13057         (changeRegionCase): require from to be <= to. Require par to be a
13058         valid paragraph.
13059
13060         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13061
13062 2001-06-27  Juergen Vigna  <jug@sad.it>
13063
13064         * text.C (cursorLeftOneWord): changed to return the cursor and added
13065         overlay with BufferView * parameter which calls this one.
13066         (getWord): added
13067         (selectWord): use new getWord function.
13068         (changeCase): renamed from changeWordCase as and extended to work
13069         also on selections.
13070
13071         * lyxtext.h: added enum word_location
13072
13073         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13074         changeCase as this operates now also on selections.
13075
13076 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
13077
13078         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13079
13080         * many files: send debug output to Debug::INFO instead of
13081         Debug::ANY.
13082
13083         * converter.C (View):
13084         (Convert):
13085         (Move): send debug output to Debug::FILES instead of console.
13086
13087 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
13088
13089         * lyxfunc.C (getStatus): use func_status
13090
13091         * func_status.h: new header, describing the results of
13092         LyXFunc::getStatus;
13093
13094         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13095         LFUN_MATH_HALIGN.
13096
13097 2001-06-25  The LyX Project  <jug@sad.it>
13098
13099         * buffer.C (sgmlOpenTag):
13100         (sgmlCloseTag):
13101         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
13102
13103 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13104
13105         * text2.C: remove some dead code
13106
13107         * tabular.C (GetCellInset): store the last cell checked (gotten)
13108
13109         * tabular.h: add the helper for the speedup
13110
13111         * lyxtext.h: remove some dead code
13112
13113 2001-06-26  The LyX Project  <Asger>
13114
13115         * paragraph.C: Change export to LaTeX of alignment to
13116         \begin{center} and family for better roundtrip work with reLyX.
13117
13118         * Tune the math drawing a bit.
13119
13120 2001-06-25  The LyX Project  <Asger>
13121
13122         * LColor.C (LColor): New color for math background. New color
13123         for buttons.
13124
13125 2001-06-25  The LyX Project  <jug@sad.it>
13126
13127         * lyxfunc.C (MenuNew): remove extra check for .lyx file
13128
13129         * lyxfunc.C (Open):
13130         * bufferlist.C (newFile): do not restrict to files ending with
13131         .lyx
13132
13133         * BufferView_pimpl.C (MenuInsertLyXFile):
13134
13135 2001-06-24  The LyX Project  <jug@sad.it>
13136
13137         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13138         of compare_no_case
13139
13140 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13141
13142         * lyxtext.h: rename most methods to begin with a small char.
13143         Lots of changes because of this.
13144
13145         * paragraph.C (Paragraph): do not call fitToSize
13146         (erase): call Pimpl::erase
13147         (insertChar): call Pimpl::insertChar
13148         (insertInset): call Pipl::insertInset
13149         (breakParagraph): do not call fitToSize
13150         (breakParagraphConservative): do not call fitToSize
13151         (fitToSize): remove method
13152
13153         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13154
13155 2001-06-24  The LyX Project  <Asger>
13156
13157         * Fix Qt compilation^2
13158
13159 2001-06-24  The LyX Project  <jug@sad.it>
13160
13161         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13162         depthHook(getDepth()-1).
13163
13164         * paragraph.h:
13165         * ParagraphParameters.h:
13166         * ParameterStruct.h: change type of depth to unsigned int ==
13167         depth_type. Many adaptations to other files before of that.
13168
13169 2001-06-24  The LyX Project  <Asger>
13170
13171         * Fix Qt compilation.
13172
13173 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13174
13175         * paragraph.h: renamed several methods to begin with small letter.
13176         several changes to many parts of the code because of this.
13177
13178 2001-06-23  The LyX Project  <jug@sad.it>
13179
13180         * text2.C (InsertStringAsLines): renamed from InsertStringA;
13181         rewritten to discard all double spaces when KeepEmpty is off
13182         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13183         to only handle newlines but not fiddle with spaces and friends.
13184
13185         * lyxfunc.C (MenuNew): when doing 'new from template', use
13186         template_path as default directory
13187
13188 2001-06-23  The LyX Project  <Asger>
13189
13190         * Clean-up of header file includes all over
13191         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13192
13193 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13194
13195         * paragraph.h: renamed from lyxparagraph.h
13196
13197 2001-06-23  Asger  <lyx@violet.home.sad.it>
13198
13199         * Buffer.h: Removed Buffer::resize
13200         * BufferList.h: Removed BufferList::resize
13201         * LyXView.h: Added LyXView::resize. This way, we will only reflow
13202         the document lazily when we change the width, or the font settings.
13203
13204 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13205
13206         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13207
13208 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13209
13210         * buffer.h: remove out of date comment
13211
13212 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13213
13214         * lyxscreen.h:
13215         * screen.C: fix "theoretical" GC leak
13216
13217 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13218
13219         * LaTeX.C (scanAuxFile):
13220         (deplog): remove trailing \r when reading stream (useful under
13221         win32)
13222
13223 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
13224
13225         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13226         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13227         and BufferView::theLockingInset(Inset*), so should use them and not
13228         access bv_->text->the_locking_inset directly.
13229
13230         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13231
13232 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13233
13234         * Makefile.am:
13235         * tex-defs.h: remove old unused file
13236
13237 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
13238
13239         * BufferView_pimpl.C: fix typo, remove minibuffer message
13240           when buffer has loaded
13241
13242 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13243
13244         * lyxfunc.C (Dispatch): use stringstream
13245         (MenuNew): use stringstream
13246         (Open): use stringstream
13247
13248         * importer.C (Import): use stringstream
13249
13250         * bufferview_funcs.C (CurrentState): use stringstream
13251
13252         * LaTeX.C (run): use stringstream
13253
13254         * BufferView_pimpl.C (savePosition): use stringstream
13255         (restorePosition): use stringstream
13256         (MenuInsertLyXFile): use stringstream
13257
13258 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
13259
13260         * BufferView.C:
13261         * Bullet.C:
13262         * ColorHandler.C:
13263         * FontInfo.C:
13264         * FontLoader.C:
13265         * LColor.C:
13266         * LaTeXFeatures.C:
13267         * Painter.C:
13268         * gettext.C:
13269         * lyx_gui_misc.C:
13270         * lyxserver.C:
13271         * vspace.C: removed // -*- C++ -*- as first line.
13272
13273         * lyxfind.h:
13274         * version.h: added // -*- C++ -*- as first line.
13275
13276 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13277
13278         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13279
13280         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13281         of string
13282
13283 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13284
13285         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13286         of floats.
13287
13288 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13289
13290         * gettext.C: include LString.h even when --disable-nls is on.
13291
13292 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
13293
13294         * converter.h (Get): changed argument type from int to
13295         FormatList::size_type to avoid unnecessary conversion.
13296
13297         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13298         before using it.
13299
13300 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13301
13302         * gettext.h: include LString.h even when --disable-nls is on.
13303
13304 2001-06-07  Juergen Vigna  <jug@sad.it>
13305
13306         * text.C (BreakAgain): subst spaces with tabs.
13307
13308         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13309         (resizeInsetsLyXText): set force on resizeLyXText.
13310
13311 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13312
13313         * gettext.h (gettext_init):
13314         (locale_init): use a real definition instead of a macro
13315
13316 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13317
13318         * Bufferview_pimpl.C:
13319         * LColor.h:
13320         * LColor.C: further lcolor tidies
13321
13322 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13323
13324         * BufferView_pimpl.C (updateScrollbar): simplify.
13325
13326         * BufferView2.C: don't include insets/insetinfo.h, change
13327         prototype for insertInset and call the Pimpl version. let
13328         updateInset call Pimpl version.
13329
13330         * BufferView.h: move inset_slept to BufferView::Pimpl, move
13331         gotoInset to BufferView::Pimpl
13332
13333 2001-06-01  Juergen Vigna  <jug@sad.it>
13334
13335         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13336         inside a LockingInset (is the update needed at all?).
13337
13338 2001-05-31  Juergen Vigna  <jug@sad.it>
13339
13340         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13341         here not the old one otherwise how should we compare it afterwards
13342         if it's the same!
13343
13344 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13345
13346         * lyxfont.C:
13347         * tabular.C:
13348         * tabular-old.C:
13349         * FontInfo.C: bring C functions into global namespace when
13350         necessary
13351
13352 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13353
13354         * LString.h: make sure config.h has been loaded before LString.h.
13355
13356         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13357         (one for each char read by EatLine!).
13358
13359         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13360         variables.
13361
13362 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13363
13364         * paragraph.C (BreakParagraph): set the inset_owner in the new par
13365         to the same as the par we break from
13366
13367 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13368
13369         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13370
13371         * MenuBackend.C (expand): also create menu entries for wide
13372         versions of the floats.
13373
13374         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13375
13376         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13377
13378         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13379         frontends/Makefile.am
13380
13381         * text2.C: adjust
13382         * text.C: adjust
13383
13384
13385         * tabular.C (getTokenValue): add std::
13386
13387         * tabular-old.C (getTokenValue): add std::
13388         (getTokenValue): ditto
13389         (getTokenValue): ditto
13390
13391         * screen.C (ToggleSelection): adjust
13392
13393         * lyxtext.h: put selection cursors inside a Selection struct.
13394
13395         * lyxfunc.C (moveCursorUpdate): adjust
13396
13397         * lyxfont.C (latexWriteStartChanges): add std::
13398
13399         * lyxfind.C: adjust
13400
13401         * font.h: delete with(char const *, LyXFont const &)
13402
13403         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13404
13405         * FontInfo.C (getFontname): add std::
13406
13407         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13408         (workAreaButtonPress): adjust
13409         (tripleClick): adjust
13410         (update): adjust
13411         (moveCursorUpdate): adjust
13412         (Dispatch): adjust
13413
13414         * BufferView2.C (gotoInset): adjust
13415
13416 2001-05-30  Juergen Vigna  <jug@sad.it>
13417
13418         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13419         to check pspell I add this as default as I now have new pspell
13420         libraries and they seem to use this.
13421
13422 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13423
13424         * text2.C (CutSelection): make the cursor valid before the call to
13425         ClearSelection.
13426
13427 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13428
13429         * kbsequence.C (parse): de-uglify a bit the parsing code, which
13430         relied on 0 terminated strings and other horrors. Bug found due to
13431         the new assert in lyxstring!
13432
13433         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13434         KP_ keys.
13435
13436 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13437
13438         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13439         to latinkeys.bind.
13440
13441         * lyxfunc.C (processKeySym): change method of getting to the
13442         self-insert char.
13443
13444         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13445         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13446         * BufferView_pimpl.[Ch]: here as private methods.
13447
13448 2001-05-28  Juergen Vigna  <jug@sad.it>
13449
13450         * text.C (SetHeightOfRow): added the update() call again as it is
13451         needed to initialize inset dimensions!
13452
13453 2001-05-16  Juergen Vigna  <jug@sad.it>
13454
13455         * text2.C (SetCharFont): Add new function with BufferView * and
13456         bool toggleall parameters for setting insets internal fonts.
13457         (SetFont): Freeze the undo as we may change fonts in Insets and
13458         all this change should be inside only one Undo!
13459
13460         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13461         setting font's in insets as for them we have the SetFont function!
13462
13463 2001-05-15  Juergen Vigna  <jug@sad.it>
13464
13465         * text2.C (ClearSelection): to be sure we REALLY don't have any
13466         selection anymore!
13467
13468         * tabular.C (TeXCellPreamble): fixed the left border problem for
13469         multicolumn cells.
13470
13471 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
13472
13473         * LaTeX.C (deplog): Make sure that the main .tex file is in the
13474         dependancy file
13475
13476 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13477
13478         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13479         LFUN_BREAKPARAGRAPH.
13480
13481         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13482         help test to "internal only", similar for LFUN_INSERT_URL
13483
13484         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13485         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13486         auto_region_delete and deadkeys.
13487
13488 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
13489
13490         * LColor.h:
13491         * LColor.C: remove some dead entries, tidy a little
13492
13493 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13494
13495         * lyxfunc.C (processKeySym): comment the Escape handling, remove
13496         commented code.
13497         (Dispatch): implement LFUN_ESCAPE
13498
13499         * commandtags.h: add LFUN_ESCAPE
13500
13501         * LyXAction.C (init): add entry for LFUN_ESCAPE
13502
13503         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13504         Remove commented code.
13505         (insertNote): moved here
13506         (open_new_inset): moved here
13507
13508         * BufferView[2].[Ch]: move insertNote and open_new_inset to
13509         BufferView_pimpl
13510
13511 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13512
13513         * kbmap.C (findbinding): clean it up and make it work correctly.
13514
13515         * lyx_main.C (init): do not pass argc and argv as parameters
13516
13517 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
13518
13519         * buffer.C: fix path for OS/2 & Win32
13520
13521         * lyx_gui.C:
13522         * lyx_main:
13523         * lyx_main.C: Added os:: class.
13524
13525         * os2_defines.h: update
13526
13527 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13528
13529         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13530         better by trying again with reduced state.
13531
13532 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13533
13534         * lyxrc.C (read): print error about invalid key sequence only when
13535         debugging (because not all latinX keysyms are known to some X
13536         servers)
13537
13538         * kbsequence.C (getiso): add a few std:: qualifiers
13539         (getiso): comment out extra return statement.
13540
13541 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13542
13543         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13544         handling.
13545         (Dispatch): enhance the accent inset a bit. (not perfect)
13546
13547 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13548
13549         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13550
13551 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13552
13553         * bufferlist.C (emergencyWrite): fix assert() call
13554
13555 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
13556
13557         * text.C (InsertChar): Added trivial patch to only send the "you
13558         can not do multiple spaces this way" message once during a
13559         session.
13560
13561 2001-05-08  Baruch Even  <baruch@lyx.org>
13562
13563         * Makefile.am: Changed order of libraries to get LyX to link properly
13564         with the gnome frontend.
13565
13566 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13567
13568         * LaTeXFeatures.h: add a std:: qualifier
13569
13570 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13571
13572         * paragraph.C (String): use stringstream
13573
13574 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13575
13576         * paragraph.C (writeFile): remove footflag arg
13577
13578         * buffer.C (makeLaTeXFile): use stringstream
13579         (latexParagraphs): remove footnot gurba
13580
13581         * LaTeXFeatures.C (getPackages): use stringstream
13582         (getMacros): likewise
13583         (getTClassPreamble): likewise
13584         (getFloatDefinitions): new method
13585
13586         * paragraph.C (writeFile): reindent
13587         (Erase): reindent
13588
13589         * WorkArea.h: revert the xpos + etc changes.
13590
13591         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13592
13593         * lyxparagraph.[Ch]: add copy constructor, remove Clone
13594
13595         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13596         (pasteSelection): likewise
13597         * text2.C (CreateUndo): likewise
13598
13599 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13600
13601         * minibuffer.C (peek_event): temporarily reduce the functionality
13602         of the minibuffer (to allow args on lfuns)
13603
13604         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13605         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13606
13607         * buffer.C (readInset): add compability reading of old float
13608         lists, add reading of new style float list.
13609         (readInset): avoid reevaluation of inscmd.getCmdName()
13610         (getLists): reindent
13611
13612         * MenuBackend.C (MenuItem): implement parsing of
13613         md_floatlistinsert and md_floatinsert.
13614         (expand::LastFiles): move initalizaton of iterators out of loop,
13615         avoid reevaluation.
13616         (expand::Documents): introduce typdedef vector<string> Strings,
13617         and use it.
13618         (expand::ExportFormats): introduce typedef vector<Format const *>
13619         Formats, and use it.
13620         (expand): implement FloatListInsert and FloatInsert.
13621
13622         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13623         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13624         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13625
13626         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13627         handling.
13628         (Dispatch::LFUN_FLOAT_LIST): implement
13629
13630 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13631
13632         * LaTeX.C (run): Fix problem with --export code.
13633
13634 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13635
13636         * BufferView.[Ch] (workarea): removed.
13637         (getClipboard) new method; wrapper for workarea()->getClipboard()
13638
13639         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13640         bug.
13641
13642         * WorkArea.h (width, height, xpos, ypos): These methods all
13643         returned the dimensions of the work_area sub-area of WorkArea,
13644         resulting in a position error if the WorkArea were resized. Now
13645         return the dimensions of the entire WorkArea.
13646
13647         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13648
13649 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13650
13651         * LaTeX.C (deplog): correct the syntax of regex reg1
13652
13653 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13654
13655         * undo.C: remove !NEW_INSETS cruft
13656
13657 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13658
13659         * text2.C: remove !NEW_INSETS cruft
13660
13661         * text.C: remove !NEW_INSETS cruft
13662
13663         * tabular.C: remove !NEW_INSETS cruft
13664
13665         * spellchecker.C: remove !NEW_INSETS cruft
13666
13667         * lyxtext.h: remove !NEW_INSETS cruft
13668
13669         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13670
13671         * lyxfunc.C: remove !NEW_INSETS cruft
13672
13673         * lyxfind.C: remove !NEW_INSETS cruft
13674
13675         * lyx_cb.C: remove !NEW_INSETS cruft
13676
13677         * figureForm.C: remove  !NEW_INSETS cruft
13678
13679         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13680
13681         * buffer.[Ch]: remove !NEW_INSETS cruft
13682
13683         * ToolbarDefaults.C: remove !NEW_INSETS cruft
13684
13685         * CutAndPaste.C: remove !NEW_INSETS cruft
13686
13687         * BufferView_pimpl.C: remove !NEW_INSETS cruft
13688
13689         * BufferView2.C: remove !NEW_INSETS cruft
13690
13691         * BufferView.h: remove !NEW_INSETS cruft
13692
13693 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13694
13695         * Lsstream.h: include LString.h before the sstream headers to
13696         fix problem with gcc 2.95.3 and lyxstring
13697
13698 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13699
13700         * lyx_main.C: add using directives when needed for C functions
13701         declared in std:: namespace.
13702
13703 2001-04-27  Juergen Vigna  <jug@sad.it>
13704
13705         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13706         (SetHeightOfRow): comment out the update call should not be needed!
13707
13708 2001-04-13  Juergen Vigna  <jug@sad.it>
13709
13710         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13711         (LyXTabular): tried to minimize operator= operations (and realized
13712         hopfully Lars wish).
13713
13714 2001-04-27  Juergen Vigna  <jug@sad.it>
13715
13716         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13717
13718 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13719
13720         * lyxfunc.C (Dispatch): hack to make listof algorithm work
13721
13722         * buffer.C (readInset): hack to make listof algorithm work
13723
13724         * BufferView_pimpl.C: hack to make listof algorithm work
13725
13726 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13727
13728         * LyXAction.C: removed all !NEW_INSETS cruft
13729         (init): moved lfun_item in method
13730
13731         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13732
13733 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13734
13735         * BufferView2.C (theLockingInset): white space.
13736
13737 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13738
13739         * minibuffer.C: include <iostream>
13740
13741         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13742
13743         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13744
13745         * commandtags.h: add LFUN_TRANSPOSE_CHARS
13746
13747         * text.[Ch] (TransposeChars): new method
13748
13749 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13750
13751         * call message directly through LyXView instead of through LyXFunc
13752         * BufferView2.C: adjust
13753         * BufferView_pimpl.C: adjust
13754         * FontLoader.C: adjust
13755         * buffer.C: adjust
13756         * bufferview_funcs.C: adjust
13757         * converter.C: adjust
13758         * figureForm.C: adjust
13759         * importer.C: adjust
13760         * lyx_cb.C: adjust
13761         * lyx_gui_misc.C: adjust
13762         * lyxfunc.C: adjust
13763         * lyxvc.C: adjust
13764         * text2.C: adjust
13765         + more files in subdirs
13766
13767         * lyxparagraph.h (size): move up int file
13768         (GetLayout): ditto
13769
13770         * adjust all uses of Assert to lyx::Assert.
13771
13772         * BufferView2.C (ChangeCitationsIfUnique): adjust for
13773         lyxfunctional in namespace lyx
13774         * layout.C (hasLayout): ditto
13775         (GetLayout): ditto
13776         (GetLayout): ditto
13777         (delete_layout): ditto
13778         (NumberOfClass): ditto
13779         * converter.C (GetFormat): ditto
13780         (GetNumber): ditto
13781         (Add): ditto
13782         (Delete): ditto
13783         (SetViewer): ditto
13784         * bufferlist.C (getFileNames): ditto
13785         (emergencyWriteAll): ditto
13786         (exists): ditto
13787         (getBuffer): ditto
13788         * MenuBackend.C (hasSubmenu): ditto
13789         (hasMenu): ditto
13790         (getMenu): ditto
13791         * BufferView_pimpl.C (getInsetByCode): ditto
13792
13793 2001-04-18  Juergen Vigna  <jug@sad.it>
13794
13795         * vspace.C (asLatexString): fixed the 100% problem.
13796
13797 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13798
13799         * lyxfunc.C (Dispatch):
13800         * minibuffer.C:
13801         * minibuffer.h: add a few std:: qualifiers
13802
13803 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13804
13805         * minibuffer.[Ch]: reimplement so that commands is initiated and
13806         run from lyxfunc, simplified som handling, and made the completion
13807         and history code for complete. wip.
13808
13809         * lyxfunc.C (processKeySym): call message
13810         (miniDispatch): new temporary method
13811         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13812         (LFUN_MESSAGE): implement
13813         (LFUN_MESSAGE_PUSH): implement
13814         (LFUN_MESSAGE_POP): implement
13815         (initMiniBuffer): the initial/defualt minibuffer message.
13816
13817         * lyxfont.[Ch]: inline some more getters
13818
13819         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13820
13821         * lyx_gui_misc.[Ch] (WriteStatus): remove method
13822
13823         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13824         (AutoSave): use LFUN_MESSAGE
13825         (Reconfigure): ditto
13826
13827         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13828
13829         * figureForm.C: use LFUN_MESSAGE
13830
13831         * converter.C (runLaTeX): use LFUN_MESSAGE
13832
13833         * bufferview_funcs.C: use LFUN_MESSAGE
13834         (Melt): ditto
13835         (changeDepth): ditto
13836
13837         * bufferparams.h: use boost::
13838
13839         * bufferlist.h: inherit privately from noncopyable
13840
13841         * bufferlist.C (loadLyXFile): remove some commented code.
13842
13843         * buffer.C (runChktex): use LFUN_MESSAGE
13844
13845         * ShareContainer.h: inherit privately from noncopyable
13846
13847         * ParagraphParameters.[hC] (depth): inline it.
13848
13849         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13850         methods.
13851         (message): new method
13852         (messagePush): ditto
13853         (messagePop): ditto
13854         (show): init minibuffer
13855         (showState): direct call
13856
13857         * LaTeX.[Ch]: inherit privately from noncopyable
13858         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13859         instead of WriteStatus.
13860
13861         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13862
13863         * BufferView_pimpl.C (buffer): don't init minibuffer
13864         (workAreaButtonPress): use LFUN_MESSAGE
13865         (workAreaButtonRelease): ditto
13866         (savePosition): ditto
13867         (restorePosition): ditto
13868         (MenuInsertLyXFile): ditto
13869         (workAreaExpose): don't init minibuffer
13870         (update): remove commented code, simplify
13871
13872         * BufferView2.C (openStuff): use LFUN_MESSAGE
13873         (toggleFloat): ditto
13874         (menuUndo): ditto
13875         (menuRedo): ditto
13876         (copyEnvironment): ditto
13877         (pasteEnvironment): ditto
13878         (copy): ditto
13879         (cut): ditto
13880         (paste): ditto
13881         (gotoInset): ditto
13882         (updateInset): remove some commented code
13883
13884         * lastfiles.h: inherit privately from noncopyable
13885         * layout.h: ditto
13886         * lyx_gui.h: ditto
13887         * lyx_main.h: ditto
13888         * lyxlex.h: ditto
13889         * lyxlex_pimpl.h: ditto
13890
13891         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13892         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13893         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13894
13895         * LyXAction.h: inherit privately from noncopyable, add methods
13896         func_begin, func_end, returning iterators to the func map.
13897
13898         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13899         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13900         (func_begin): new method
13901         (func_end): new method
13902
13903         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13904         and not)
13905         (copySelection): ditto
13906         (pasteSelection): ditto
13907
13908         * BufferView.C: whitespace change
13909         * BufferView.h: inherit privately from noncopyable
13910
13911 2001-04-16  Allan Rae  <rae@lyx.org>
13912
13913         * tabular-old.C (l_getline):
13914         * spellchecker.C (sc_check_word):
13915         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13916         an unrecognised preprocessor directive.  So ensure they're wrapped.
13917
13918 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13919
13920         * src/exporter.C (Export): Give an error message when path to file
13921         contains spaces.
13922
13923 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13924
13925         * LaTeX.C (deplog): Always check that foundfile exists.
13926
13927 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13928
13929         * lyx_main.h:
13930         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13931
13932 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13933
13934         * tabular.[Ch] (getLabelList): implement new method
13935
13936         * minibuffer.h: comment ouf setTiimer
13937
13938         * minibuffer.C (ExecutingCB): constify res
13939         (peek_event): constify s
13940         (Set): constify ntext
13941         (Init): constify nicename
13942
13943         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13944
13945         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13946         (savePosition): use two params to Minibuffer::Set
13947         (restorePosition): ditto
13948
13949 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13950
13951         * lyx_main.C: include language.h
13952
13953         * Makefile.am (lyx_main.o): add language.h
13954
13955 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13956
13957         * exporter.C:
13958         * paragraph.C:
13959         * screen.C:
13960         * tabular.C:
13961         * CutAndPaste.C: include gettext.h
13962
13963         * lyxfont.h: remove old hack with ON and OFF.
13964
13965         * lyxparagraph.h:
13966         * lyxfont.h: do not include language.h...
13967
13968         * BufferView2.C:
13969         * LaTeXFeatures.C:
13970         * Painter.C:
13971         * bufferview_funcs.C:
13972         * font.C:
13973         * lyxfont.C:
13974         * text.C:
13975         * text2.C:
13976         * trans_mgr.C:
13977         * paragraph.C: ... but do it here instead
13978
13979 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13980
13981         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13982
13983         * tabular.C: small reformat
13984
13985         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13986         NEW_INSETS version
13987         (GetChar): ditto
13988         (BreakParagraph): ditto
13989         (SetOnlyLayout): ditto
13990         (SetLayout): ditto
13991
13992         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13993         with one arg less.
13994
13995         * lastfiles.C: removed most using decl, add std:: where needed
13996
13997         * buffer.C: ws changes
13998
13999         * MenuBackend.C (class compare_format): put into anon namespace
14000         (expand): constify label, names, action, action2
14001         (expand):
14002
14003         * text.C (SingleWidth): constify font
14004         (IsBoundary): constify rtl2
14005         (GetVisibleRow): constify ww
14006
14007         * LaTeX.C (deplog): constify logfile
14008
14009         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14010         start_x, end_x
14011         (workAreaExpose): constify widthChange, heightChange
14012
14013         * lyxrow.C (par): moved
14014         (height): moved
14015         (next): moved
14016         * lyxrow.h: as inlines here
14017
14018         * lyxfont.h (shape): moved from lyxfont.C
14019         (emph): moved from lyxfont.C
14020
14021         * lyxfont.C (LyXFont): use initialization list for all
14022         constructors
14023         (shape): move to lyxfont.h as inline
14024         (emph): move to lyxfont.h as inline
14025
14026
14027 2001-04-04  Juergen Vigna  <jug@sad.it>
14028
14029         * vspace.C: had to include stdio.h for use of sscanf
14030
14031 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
14032
14033         * BufferView.h:
14034         * BufferView_pimpl.h: remove xforms cruft. Both classes are
14035         independent of xforms.
14036
14037 2001-04-02  Juergen Vigna  <jug@sad.it>
14038
14039         * spellchecker.C: fixed namespace placing!
14040
14041 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
14042
14043         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14044         the LyXParagraph * is 0.
14045
14046 2001-03-29  Juergen Vigna  <jug@sad.it>
14047
14048         * vspace.C: added support for %, c%, p%, l%.
14049         (stringFromUnit): added helper function.
14050         (asLatexString): changed to give right results for the %-values.
14051
14052         * buffer.C: convert the widthp in a width%.
14053
14054 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
14055
14056         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14057         figureForm.[Ch].
14058
14059         * figureForm.[Ch]: stripped the FD_from_figure manipulation
14060         code out of lux_cb.[Ch], ready for its (imminent?) removal.
14061
14062         * lyx_cb.[Ch]: see above.
14063
14064         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14065         form1.[Ch].
14066
14067         * form1.[Ch]:
14068         * lyx.[Ch]: replaced by figure_form.[Ch].
14069
14070         * lyx_gui.C:
14071         * lyx_gui_misc.C:
14072         * lyxfunc.C: changed headers associated with above changes.
14073
14074 2001-03-27  Juergen Vigna  <jug@sad.it>
14075
14076         * BufferView_pimpl.C: set the temporary cursor right!
14077
14078 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
14079
14080         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14081
14082 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
14083
14084         * LString.h: removed "using std::getline"!
14085
14086         * BufferView_pimpl.C (Dispatch): changes due to changes in
14087         InsetInclude::Params.
14088
14089         * buffer.C (tag_name): removed redundant break statements as they were
14090         producing lots of warnings with my compiler.
14091
14092 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14093
14094         * LString.h: add "using std::getline" when using the real <string>.
14095
14096 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
14097
14098         * buffer.C: removed bitset usage.
14099         PAR_TAG moved to an anonymous name space.
14100         (tag_name): new funtion, also in the anonymous namespace.
14101         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14102         (makeDocBookFile): clean code. Completed transition from string arrays
14103         to string vectors.
14104         (SimpleDocBookOnePar): code clean.
14105
14106 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14107
14108         * tabular.C: add some comments.
14109
14110 2001-03-22  Juergen Vigna  <jug@sad.it>
14111
14112         * buffer.C (parseSingleLyXformat2Token): redone the minipage
14113         compatibility read a bit and fixed bug with minipage in different
14114         depth.
14115
14116 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
14117
14118         * buffer.C (pop_tag): removed.
14119         (push_tag): removed.
14120         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14121         array replaced with vector. Added support for CDATA sections.
14122         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14123         at any nest level.
14124         (makeDocBookFile): XML conformant declaration of CDATA section,
14125         fixed bug related to <emphasis> in the first paragraph char.
14126         (sgmlOpenTag): exclude empty tags.
14127         (sgmlCloseTag): ditto.
14128
14129         * buffer.h (pop_tag): removed.
14130         (push_tag): removed.
14131
14132 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
14133
14134         * language.h (Languages): added size_type and size().
14135
14136 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14137
14138         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14139         response on compability reading of minipages. One probliem is that
14140         the old usage of minipages was «flertydig»
14141
14142         * several files here and in subdirs: don't use static at file
14143         scope use anon namespaces instead.
14144
14145 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
14146
14147         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14148         LaTeX output. This is necessary for Literate document
14149         processing.
14150
14151 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14152
14153         * buffer.C: insert hfill when needed.
14154
14155         * tabular.C (l_getline): use string::erase, small whitespace change.
14156
14157         * BufferView_pimpl.C: try the anon namespace.
14158         * WorkArea.C: ditto
14159
14160 2001-03-16  Juergen Vigna  <jug@sad.it>
14161
14162         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14163         otherwise it won't open options-dialogs.
14164
14165         * buffer.C: honor pextraWidth(p) on converting minipages.
14166
14167         * tabular.C (l_getline): changed the functions to strip trailing \r.
14168
14169 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
14170
14171         * BufferView_pimpl.C:
14172         * minibuffer..C: added "using SigC::slot" declaration.
14173
14174 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14175
14176         * lyxlex_pimpl.h: noncopyable is in namespace boost.
14177
14178         * text2.C: ditto
14179
14180         * text.C: ditto
14181
14182         * paragraph.C: ditto
14183
14184         * lyxtext.h: NO_PEXTRA
14185
14186         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14187
14188         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14189         * ParameterStruct.h: ditto
14190         * ParagraphParameters.h: ditto
14191         * lyxparagraph.h: ditto
14192
14193 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14194
14195         * buffer.C: add compability for minipage alignment.
14196         (latexParagraphs): remove unwanted pextra check.
14197
14198         * several files: remove CXX_WORKING_NAMESPACES
14199
14200         * buffer.C (pop_tag): tie is in namespace boost
14201
14202         * BufferView.h: noncopyable is in namespace boost
14203         * lyxlex.h: ditto
14204         * lyx_main.h: ditto
14205         * lyx_gui.h: ditto
14206         * layout.h: ditto
14207         * lastfiles.h: ditto
14208         * bufferlist.h: ditto
14209         * ShareContainer.h: ditto
14210         * LyXView.h: ditto
14211         * LyXAction.h: ditto
14212         * LaTeX.h: ditto
14213
14214 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14215
14216         * Merging changes from BRANCH_MVC back into HEAD.
14217
14218         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14219
14220 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
14221
14222         * BufferView_pimpl.C: change from intl.C
14223
14224         * combox.h:
14225         * combox.C:
14226         * Makefile.am: move combox.*
14227
14228         * form1.h:
14229         * form1.C:
14230         * lyx_gui.C:
14231         * intl.h:
14232         * intl.C: remove dialog (covered by prefs)
14233
14234 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14235
14236         * lyxfunc.C (Dispatch): removed redundant break statement.
14237
14238 2001-03-14  Juergen Vigna  <jug@sad.it>
14239
14240         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14241
14242 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14243
14244         * buffer.C: add hack to fix compability reading of minipages.
14245
14246 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
14247
14248         * buffer.C (getLists): Cleanup.
14249
14250 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14251
14252         * lyxfont.C (update): don't honor toggleall on font size.
14253
14254 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
14255
14256         * bmtable.c:
14257         * bmtable.h:
14258         * Makefile.am: moved to frontends/xforms/
14259
14260         * lyx_gui_misc.C:
14261         * lyxfunc.C:
14262         * BufferView_pimpl.C: changes for moved mathpanel
14263
14264 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14265
14266         * gettext.h: fix gettext_init() in --disable-nls
14267
14268 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14269
14270         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14271
14272 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
14273
14274         * lyx.C:
14275         * lyx.h: strip external form
14276
14277 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14278
14279         * BufferView_pimpl.C: add comment, destroySplash()
14280
14281 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14282
14283         * BufferView_pimpl.C:
14284         * LyXAction.C:
14285         * buffer.C:
14286         * commandtags.h:
14287         * lyxfunc.C: use re-worked insetinclude
14288
14289 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14290
14291         * buffer.C: add using std::stringstream.
14292
14293         * lyx_cb.C: readd using std::ios.
14294
14295         * buffer.C: add using std::map.
14296
14297         * BufferView_pimpl.C: add using std::vector.
14298
14299         * ShareContainer.h: add std:: to swap.
14300
14301         * buffer.h: add some typedefs
14302         * buffer.C (getLists): use them
14303         (getLists): renamed from getTocList.
14304         add a counter for the different float types and use it in the
14305         generated string.
14306         (getLists): use the same counter for the NEW_INSETS and the "non"
14307         NEW_INSETS
14308
14309         * lyx_cb.h: remove unused items, includes, using etc.
14310
14311         * ShareContainer.h: remove some commented code, add more comments
14312         and "documentation".
14313
14314 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14315
14316         * buffer.C (getTocList): make the list also when NEW_INSETS is
14317         defined.
14318
14319         * buffer.h: remove TocType
14320
14321         * buffer.C (getTocList): change to return a map<string,
14322         vector<TocItem> >, implement for dynamic number of list.
14323
14324         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14325         * text2.C (PasteSelection): adjust
14326         * CutAndPaste.C (pasteSelection): adjust
14327
14328         * FloatList.C (FloatList): update from the new_insets branch.
14329         * Floating.[Ch]: ditto
14330         * LaTeXFeatures.C: ditto
14331         * buffer.C: ditto
14332         * lyxlex_pimpl.C: ditto
14333
14334         * paragraph.C (Last): remove when NEW_INSETS is defined.
14335
14336         * other file: changes because of the above.
14337
14338 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14339
14340         * lyxparagraph.h: rename next to next_, previous to previous_,
14341         make them private for NEW_INSETS. Rename Next() to next(),
14342         Previous() to previous().
14343
14344         * other files: changes because of the above.
14345
14346 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
14347
14348         * BufferView.h:
14349         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14350         problem.
14351
14352 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14353
14354         * main.C (main): pass lyx_localedir to gettext_init().
14355
14356         * gettext.h: remove locale_init and gettext_init macros
14357
14358         * gettext.C (locale_init): new function
14359         (gettext_init): new function
14360
14361         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14362         setlocale().
14363
14364 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
14365
14366         * Moved credits to frontends:
14367         * credits.[Ch]: removed
14368         * credits_form.[Ch]: removed
14369         * lyx_gui_misc.C: remove credits stuff
14370         * Makefile.am:
14371
14372 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14373
14374         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14375
14376         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14377         unneeded destructor.
14378
14379         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14380         a standalone pointer again.
14381
14382         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14383
14384 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
14385
14386         * Makefile.am:
14387         * filedlg.h:
14388         * filedlg.C:
14389         * LyXAction.C:
14390         * ToolbarDefaults.C:
14391         * bufferlist.C:
14392         * commandtags.h:
14393         * form1.C:
14394         * form1.h:
14395         * lyx_cb.C:
14396         * lyx_cb.h:
14397         * lyxfunc.h:
14398         * lyxfunc.C:
14399         * BufferView_pimpl.C: use new file dialog in GUII
14400
14401         * lyx_cb.h:
14402         * lyx_cb.C: remove LayoutsCB to Toolbar
14403
14404 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14405
14406         * ShareContainer.h (get): add std:: qualifier
14407
14408 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14409
14410         * ShareContainer.h: define a proper ShareContainer::value_type
14411         type (and use typename to please compaq cxx)
14412
14413 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14414
14415         * lyxparagraph.h: move serveral local vars to
14416         ParameterStruct/ParagraphParameters., use ShareContainer in
14417         FontTable., make vars in FontTable private and add getter and
14418         setter.
14419
14420         * paragraph.C: changes because of the above.
14421
14422         * lyxfont.h: remove copy constructor and copy assignment. (the
14423         default ones is ok), move number inside FontBits. move inlines to
14424         lyxfont.C
14425
14426         * lyxfont.C: add number to initializaton of statics, move several
14427         inlines here. constify several local vars. some whitespace
14428         cleanup. Dont hide outerscope variables.
14429
14430         * Spacing.h: add two new constructors to match the set methods.
14431
14432         * ShareContainer.h: new file, will perhaps be moved to support
14433
14434         * ParameterStruct.h: new file
14435
14436         * ParagraphParameters.h: new file
14437
14438         * ParagraphParameters.C: new file
14439
14440         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14441         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14442
14443         * BufferView_pimpl.C: ParagraphParameter changes.
14444         * buffer.C: Likewise.
14445         * bufferview_funcs.C: Likewise.
14446         * text.C: Likewise.
14447         * text2.C: Likewise.
14448
14449 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14450
14451         * lyxfind.C (LyXReplace): do not redefine default argument in
14452         implementation.
14453         (IsStringInText): ditto
14454         (SearchForward): ditto
14455         (SearchBackward): ditto
14456
14457 2001-03-06  Juergen Vigna  <jug@sad.it>
14458
14459         * lyxfind.C (IsStringInText): put parentes around expressions.
14460
14461 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
14462
14463         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14464
14465 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
14466
14467         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14468
14469         * stl_string_fwd.h: add comment
14470
14471         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14472
14473         * tabular.h:
14474         * tabular.C: remove unused DocBook methods
14475
14476         * intl.C:
14477         * language.C:
14478         * paragraph.C:
14479         * buffer.C:
14480         killed DO_USE_DEFAULT_LANGUAGE
14481
14482 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14483
14484         * lyx_gui.C: do not include language.h.
14485
14486         * bufferview_funcs.C (ToggleAndShow): do not provide optional
14487         arguments in function implementation.
14488
14489 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14490
14491         * BufferView_pimpl.C: add <ctime>
14492
14493 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14494
14495         * BufferView_pimpl.C: add using std::find_if
14496
14497 2001-02-27  José Matos  <jamatos@fep.up.pt>
14498
14499         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14500         by OnlyPath.
14501
14502 2001-02-11  José Matos  <jamatos@fep.up.pt>
14503
14504         * buffer.C (makeDocBookFile): command styles now have a parameter as
14505         "title" by default.
14506
14507 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
14508
14509         * layout_forms.[Ch]: removed
14510         * lyx_cb.[Ch]: out character
14511         * lyx_gui.C: out character
14512         * lyx_gui_misc.C: out character
14513         * bufferview_funcs.C: : out character,
14514         added toggleall as parameter in ToggleAndShow
14515
14516 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
14517
14518         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14519
14520         * text2.C (SetCurrentFont): Disable number property at boundary.
14521
14522 2001-02-26  Juergen Vigna  <jug@sad.it>
14523
14524         * lyxfunc.C (getStatus): added a string argument override function so
14525         that this is correctly called from LyXFunc::Dispatch if it contains a
14526         do_not_use_argument which is used!
14527         (Dispatch): added check for "custom" export and call appropriate func.
14528
14529 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
14530
14531         * lyxrc.C: Add language_command_local, language_use_babel and
14532         language_global_options.
14533
14534         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14535
14536         * buffer.C (makeLaTeXFile): Use language_use_babel and
14537         language_global_options.
14538
14539 2001-02-23  Juergen Vigna  <jug@sad.it>
14540
14541         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14542         which works with LyXText and putted it inside BufferView. Here now we
14543         only call for that part the BufferView::Dispatch() function.
14544
14545         * BufferView.C (Dispatch): added.
14546
14547         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14548         functions which needs to use a LyXText over from LyXFunc.
14549         (MenuInsertLyXFile): added
14550         (getInsetByCode): added
14551         (moveCursorUpdate): added
14552         (static TEXT): added
14553
14554 2001-02-22  Juergen Vigna  <jug@sad.it>
14555
14556         * BufferView_pimpl.C (update): call a status update to see if LyXText
14557         needs it.
14558
14559 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14560
14561         * vc-backend.C (revert): implement for CVS
14562         (getLog): implement for CVS
14563
14564 2001-02-20  Juergen Vigna  <jug@sad.it>
14565
14566         * text2.C (ClearSelection): added BufferView param for inset_owner call
14567
14568         * lyxfunc.C (TEXT): added this function and use it instead of
14569         directly owner->view()-text of getLyXText().
14570
14571 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
14572
14573         * src/layout_forms.C: out preamble
14574         * src/layout_forms.h: out preamble
14575         * src/lyx_cb.C: out preamble
14576         * src/lyx_cb.h: out preamble
14577         * src/lyx_gui.C: out preamble
14578         * src/lyx_gui_misc.C: out preamble
14579         * src/lyxfunc.C: connect with guii preamble
14580
14581 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
14582
14583         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14584
14585 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
14586
14587         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14588         whether to run bibtex.
14589
14590 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
14591
14592         * Makefile.am (lyx_SOURCES): Remove BackStack.h
14593
14594 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14595
14596         * Makefile.am (lyx_SOURCES): removed bibforms.h
14597
14598         * vspace.h: doxygen
14599
14600         * text.C (GetVisibleRow): make several local vars const
14601
14602         * tabular.C: small cleanup.
14603
14604         * lyxserver.C (callback): use compare instead of strncmp
14605
14606         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14607         inlines to after class or to paragraph.C
14608
14609         * lyxfont.h: remove friend operator!=
14610
14611         * converter.h: move friend bool operator< to non friend and after
14612         class def.
14613
14614         * combox.h: small cleanup
14615
14616         * buffer.h: doxygen, remove unused constructor, move inclas inlies
14617         to inlines after class def.
14618
14619         * buffer.C (pop_tag): use string operations instead of strcmp
14620
14621         * bmtable.c: doxygen, small cleanup
14622
14623         * LaTeX.h: remove friend operator==
14624
14625 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
14626
14627         * screen.C:
14628         * lyxrc.[Ch]:
14629         * lyxfunc.C:
14630         * lyxfont.[Ch]:
14631         * lyx_cb.C:
14632         * intl.[Ch]:
14633         * commandtags.h:
14634         * buffer.C:
14635         * WorkArea.[Ch]:
14636         * LyXAction.C:
14637         * BufferView_pimpl.C:
14638         * BufferView.[Ch]: remove cruft
14639
14640 2001-02-14  Juergen Vigna  <jug@sad.it>
14641
14642         * lyxfunc.C: removed #if 0 unused code
14643
14644         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14645
14646         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14647
14648         * text2.C (SetSelection): added a BufferView * parameter
14649
14650 2001-02-13  Juergen Vigna  <jug@sad.it>
14651
14652         * lyxfunc.C (Dispatch): fixed protected blank problem.
14653         * BufferView2.C (protectedBlank): added LyxText * parameter.
14654
14655         * tabular.C (AppendRow): forgot to set row_info of newly added row.
14656         (AppendColumn): same as above for column_info.
14657
14658         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14659         (moveCursorUpdate): use a LyXText param for support of InsetText.
14660
14661         * BufferView_pimpl.C (doubleClick): added support for InsetText.
14662         (tripleClick): ditto
14663
14664         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14665
14666         * BufferView_pimpl.C (update): added LyXText param to honor insets.
14667
14668         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14669
14670         * text2.C (SetSelection): set correct update status if inset_owner
14671         (ToggleFree): ditto
14672
14673 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
14674
14675         * tabular.C: remove some commented code.
14676
14677 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
14678
14679         * BufferView_pimpl.C: call hideSplash()
14680
14681         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14682
14683         * include_form.h:
14684         * bibforms.h: remove
14685
14686         * lyxfunc.C:
14687         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14688           add LFUN_CHILD_CREATE
14689
14690         * counters.h: fix tiny typo
14691
14692         * lyx_cb.C:
14693         * lyx.h:
14694         * lyx_gui.C:
14695         * lyx.C: move splash to frontends/xforms/
14696
14697         * lyx_gui_misc.C: move Include and Bibform to frontends
14698
14699         * lyxvc.h: clarify comment
14700
14701         * vspace.C: tiny housekeeping
14702
14703 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
14704
14705         * text.C (PrepareToPrint): RTL Fix.
14706
14707         * paragraph.C (GetUChar): New method.
14708         (String):  Use GetUChar.
14709
14710         * buffer.C (asciiParagraph): Use GetUChar.
14711
14712 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
14713
14714         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14715
14716 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
14717
14718         * buffer.h:
14719         * buffer.C: rename to getLogName(), handle
14720           build log / latex log nicely
14721
14722 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14723
14724         * MenuBackend.C:
14725         * MenuBackend.h: remove support for reference menuitem type.
14726
14727 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
14728
14729         * BufferView_pimpl.C: housekeeping
14730         * BufferView_pimpl.h:
14731         * LyXView.h:
14732         * Makefile.am:
14733         * Timeout.C:
14734         * Timeout.h:
14735         * minibuffer.h: move Timeout GUI-I
14736
14737 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
14738
14739         * lyxrc.C (read): Update converters data-structures.
14740
14741 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
14742
14743         * LaTeX.h (operator!=): add operator != for Aux_Info
14744
14745 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
14746
14747         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14748
14749         * LaTeXLog.C: deleted, useful code moved to Buffer
14750
14751         * buffer.h:
14752         * buffer.C: new function getLatexLogName()
14753
14754         * lyx_gui_misc.C:
14755         * lyx_gui.C:
14756         * lyxvc.C:
14757         * lyxvc.h:
14758         * lyxfunc.C: use frontends for LaTeX and VC logs
14759
14760 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14761
14762         * LaTeX.h: yet another std:: that Allan forgot.
14763
14764         * Variables.C (set): renamed from isset(), because this clashes
14765         with some HP-UX macros (grr).
14766
14767 2001-02-06  Allan Rae  <rae@lyx.org>
14768
14769         * LaTeX.h: Another bug fix.  Missing std:: this time.
14770
14771 2001-02-04  Allan Rae  <rae@lyx.org>
14772
14773         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14774         floats problem. I've left it commented out because it's not quite
14775         correct.  It should also test that the current object is a table or
14776         figure inset.  But I haven't gotten around to figuring out how to do
14777         that.  I *think* it'll be something like: "table" == inset.type()
14778
14779         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14780         bool.
14781
14782 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
14783
14784         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14785         all the citation/databases/styles in the auxilary file.
14786         (run): Rerun latex if there was a babel language error.
14787
14788 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
14789
14790         * text.C (Backspace): Preserve the font when changing newline char
14791         with a space.
14792         (BreakParagraph): If the cursor is before a space, delete the space.
14793
14794         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14795
14796 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
14797
14798         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14799         new argument (code).
14800         (ChangeCitationsIfUnique): New method.
14801
14802         * paragraph.C (GetPositionOfInset): Handle bibkey.
14803
14804 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14805
14806         * BufferView_pimpl.h: change type of Position::par_pos to
14807         LyXParagraph::size_type.
14808
14809 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
14810
14811         * BufferView_pimpl.C (savePosition, restorePosition): Write
14812         messages to minibuffer.
14813
14814 2001-01-28  José Matos  <jamatos@fep.up.pt>
14815
14816         * buffer.C (makeDocBookFile): adds support for document language.
14817         A silly restriction on the name of LatexCommand types where removed.
14818         Added support for CDATA sections, allows to chars unescaped, used
14819         among others in code, to avoid escape < and >.
14820
14821 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14822
14823         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14824         saved positions instrad of a stack. Furthermore, a position is
14825         stored using paragraph id/paragraph position.
14826
14827         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14828         Remove LFUN_REF_BACK.
14829
14830 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14831
14832         * converter.C (dvipdfm_options): New method.
14833
14834 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14835
14836         * vspace.C (isValidLength): Fix for empty input string.
14837
14838 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14839
14840         * LyXAction.C (init): change description of LFUN_FIGURE to
14841         "Insert Graphics"
14842
14843 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14844
14845         * LaTeX.C: add using directive
14846
14847 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14848
14849         * MenuBackend.C (expand): Fix the sorting of the formats.
14850
14851 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14852
14853         * lyx_main.C: tiny error message fix
14854
14855 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14856
14857         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14858         calling fl_initialize(). This fixes the problem with ',' as
14859         decimal separator in text files.
14860
14861 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14862
14863         * trans.C (process): Fix the keymap bug.
14864
14865 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
14866
14867         * LaTeX.C (scanAuxFiles): New method. Provides support for
14868         multiple bibliographies (when using the bibtopic/bibunits pacakges).
14869         (scanLogFile) Scan for "run BibTeX" messages.
14870
14871         * buffer.C (makeLaTeXFile): Do not load the ae package when using
14872         OT1 font encoding. Also, load the aecompl package if the ae
14873         package is loaded.
14874
14875         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14876
14877 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14878
14879         * texrow.C (increasePos): turn two error messages into debug
14880         messages.
14881
14882 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
14883
14884         * LaTeX.C (scanAux): Handle the \@input macro.
14885         (runBibTeX): Use scanAux().
14886
14887         * language.C (latex_options_): New field.
14888
14889         * LaTeXFeatures.C (getMacros): Add language macros.
14890
14891         * buffer.C (makeLaTeXFile): Small fix.
14892
14893 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14894
14895         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14896
14897         * text2.C: add a using directive.
14898
14899 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14900
14901         * BufferView2.C:
14902         * lyx_gui_misc.h:
14903         * lyxfr1.C:
14904         * lyxfunc.C: kill LyXBell.
14905
14906 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14907
14908         * text.C (IsBoundary): Remove the error message
14909
14910         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14911
14912         * lyxrc.C (setDefaults): Correct initialization value for
14913         font_norm_type.
14914
14915 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14916
14917         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14918         gotoError().
14919
14920         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14921         and GotoNextNote().
14922
14923         * src/LyXAction.C: Added reference-next.
14924
14925         * text.C (InsertChar): Use contains instead of strchr.
14926
14927         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14928
14929 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14930
14931         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14932         alignment commands (when needed).
14933
14934         * text.C (InsertChar): Add ':' to number separator chars.