]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
f4acffa5018dea28683b85a1c478045b90b372ad
[lyx.git] / src / ChangeLog
1 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2
3         * rowpainter.C (paintSelection): fix x coordinates
4
5 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
6
7         * text.C (rowBreakPoint): fix breaking before displayed insets
8
9 2004-03-01  André Pönitz  <poenitz@gmx.net>
10
11         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
12
13         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
14
15         * Makefile.am:
16         * BufferView.C:
17         * BufferView_pimpl.C:
18         * buffer.C:
19         * lyxfind.C:
20         * lyxfunc.C:
21         * text.C:
22         * text2.C:
23         * text3.C: adjust
24
25 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
26
27         * lyxtext.h:
28         * text.C:
29         * text2.C:
30         * rowpainter.C:
31         * BufferView_pimpl.C: rename textwidth -> maxwidth, 
32         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
33
34 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
35
36         * Bidi.[Ch] (computeTables): const correctness
37         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
38         fill_hfill, fill_label_hfill and x from Row
39         * lyxtext.h: prepareToPrint returns a RowMetrics
40         * rowPainter.C: adjust
41         * text.C (prepareToPrint): use width, not textWidth. adjust
42         (redoParagraphInternal, cursorX): adjust
43         * text2.C (getColumnNearX): adjust
44         (init): put a default value to the top LyXText::width
45
46 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
47
48         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here 
49
50 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
51
52         * lyxtext.h: add FontIterator class 
53
54         * text.C (FontIterator, operator*, operator->, operator++): add
55         (rowBreakPoint, setRowWidth): adjust (fixing a
56         rebreaking bug)
57
58 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
59
60         * BufferView_pimpl.C (workAreaDispatch): allow also
61         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
62
63 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
64
65         * text.C (rowBreakPoint): fix a bug showing with very large insets
66
67 2004-02-25  André Pönitz  <poenitz@gmx.net>
68
69         * text3.C:
70         * cursor.[Ch]: move some mathed specific code to mathed
71
72 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
73
74         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
75         use_tempdir in preferences
76         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
77         tempfile creation
78         * lyx_main.C: ensure that tempdir is valid
79         * lyxlex.h: correct typo
80         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
81         * paragraph.[Ch] (isMultiLingual): make const
82         * cursor.[Ch] (openable): make const
83
84 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
85
86         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
87
88 2004-02-20  André Pönitz  <poenitz@gmx.net>
89
90         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
91
92         * cursor.[Ch]: prepare for localized getStatus()
93
94         * lyxtext.h:
95         * tabular.C:
96         * text.C:
97         * text2.C:
98         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
99
100 2004-02-20  André Pönitz  <poenitz@gmx.net>
101
102         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
103
104 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
105
106         * text2.C (setCursorFromCoordinates): switch to absolute coords
107         (cursorUp): adjust
108         (cursorDown): adjust
109         * text3.C (dispatch): adjust
110
111 2004-02-16  André Pönitz  <poenitz@gmx.net>
112
113         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
114           insets/ChangeLog)
115
116         * cursor_slice.[Ch]: remove unneeded acessor function
117
118         * lyxtext.h: rename rtl() to isRTL()
119
120         * rowpainter.C:
121         * tabular.C:
122         * text.C:
123         * text2.C:
124         * text3.C: adjust
125
126 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
127
128         * rowpainter.C (paintSelection): coord fix
129
130 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
131
132         * Spacing.C: compile fix
133
134 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
135
136         * cursor.C (dispatch): restore current_ before returning
137
138 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
139
140         * text2.C (cursorUp, cursorDown): fix coords
141         (moveUp): fix crash
142
143 2004-02-12  André Pönitz  <poenitz@gmx.net>
144
145         * lyxtext.h:
146         * text.C:
147         * text2.C:
148         * text3.C: add LCursor & parameter to most cursor movement functions
149           remove usage of LyXText::cursorRow() and cursorPar()
150
151         * cursor.[Ch]: add textRow() needed members
152
153         * BufferView.C:
154         * BufferView_pimpl.C:
155         * paragraph.[Ch]:
156         * BufferView.C:
157         * BufferView_pimpl.C: adjust
158
159 2004-02-11  André Pönitz  <poenitz@gmx.net>
160
161         * lyxfunc.C:
162         * BufferView.[Ch]:
163         * BufferView_pimpl.C: shift undo/redo handling
164
165         * cursor.[Ch]: fix mathed crash
166
167         * lyxfind.C:
168         * lyxtext.h: move selectionAsText to LCursor
169
170         * output_latex.C:
171         * paragraph.C:
172         * text.C:
173         * text2.C:
174         * text3.C: adjust
175
176         * rowpainter.C: fix excessive drawing
177
178 2004-02-06  André Pönitz  <poenitz@gmx.net>
179
180         * BufferView.[Ch]:
181         * BufferView_pimpl.[Ch]:
182         * text3.C: move some text specific LFUN handling
183
184 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
185
186         * text3.C (checkInsetHit): adjust coords
187         * text2.C (getColumnNearX): adjust coords
188         (edit): adjust coords
189         * text.C (getRowNearY): add two asserts
190
191 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
192
193         * converter.C:
194         * format.C: add using std::distance to compile on gcc 2.95/stlport
195
196 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
197
198         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
199
200 2004-02-04  André Pönitz  <poenitz@gmx.net>
201
202         * BufferView.[Ch] (insertInset):
203         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value 
204
205         * text2.C:
206         * text3.C: adjust
207
208 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
209
210         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch 
211         on the default clause of the switch
212         * lyxfunc.C (dispatch): call BufferView::dispatch if the event 
213         wasn't catched by LCursor::dispatch
214
215 2004-02-03  André Pönitz  <poenitz@gmx.net>
216
217         * BufferView.C:
218         * cursor.[Ch]: some additional asserts
219
220         * undo.[Ch]: remove LyXText dependency in interface
221
222         * lyxfunc.C: adjust
223
224         * lyxtext.h (firstPar, lastPar): remove dead functions 
225
226         * text.C:
227         * text2.C:
228         * text3.C:
229         * paragraph.[Ch]: adjust
230
231 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
232
233         * lyxfind.C (find): fix argument order in call to ::find
234
235 2004-02-02  André Pönitz  <poenitz@gmx.net>
236
237         * cursor.[Ch]: remove direct access to anchor
238
239         * text.C: remove findText() hack
240
241 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
242
243         * iterators.[Ch] (lockPath): remove in favour of...
244         * BufferView.[Ch] (setCursor): this addition
245         * BufferView.C (putSelectionAt): adjust
246         * undo.C (performUndoOrRedo): adjust
247         * lyxfunc.C (dispatch): adjust
248
249 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
250
251         * iterators.C (lockPath): add a missing slice
252         * undo.C (performUndoOrRedo): remove redundant positioning code
253
254 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
255
256         * vc-backend.C (scanMaster): ";" -> ';'
257
258 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
259
260         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
261         std::binary_function
262
263         * lyxtextclass.C (compare_name): rename to...
264         (LayoutNamesEqual): ...this
265
266         * lyxlex_pimpl.C (compare_tags): inherit from
267         std::binary_function, put back into anon namespace
268
269         * lyxfind.C (MatchString): inherig from std::binary_function
270         (findChange): use empty() istead of !size()
271
272         * format.C (FormatNamesEqual): new functor
273         (getFormat): use it
274         (getNumber): use it
275         (add): use it
276         (erase): use it
277         (setViewer): use it
278
279         * converter.C (compare_Converter): rename to...
280         (ConverterEqual): ...this, and fixup a bit.
281         (getConverter): use it, and make function const
282         (getNumber): use it, and make function const
283         (add): use it
284         (erase): use it:
285
286         * bufferlist.C: add using boost::bind
287
288         * MenuBackend.C (MenuNamesEqual): new functor
289         (hasMenu): use it, and make function const
290         (hasSubmenu): use nested bind to get rid of compare_memfun.
291
292 2004-01-30  André Pönitz  <poenitz@gmx.net>
293
294         * BufferView_pimpl.C:
295         * cursor.C:
296         * cursor.h:
297         * cursor_slice.[Ch]:
298         * lyxfunc.C:
299         * lyxtext.h:
300         * paragraph_funcs.C:
301         * paragraph_funcs.h:
302         * rowpainter.C:
303         * text.C:
304         * text2.C:
305         * text3.C: move some of the edit(x,y) handling to the insets
306         some coordinate changes.
307
308 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
309
310         * text.C: add using statements for std::advance and std::distance
311
312         * paragraph.C: add using statement for std::distance
313
314         * lyxfind.C: add using statement for std::advance
315
316         * cursor.C (region): remove std:: from swap
317         (openable): use nucleus in stead of operator->
318
319         * BufferView.C: add using statements for std::distance and std::swap
320
321 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
322
323         * iterators.C: Remove the pimple, move the needed structures to
324         the header file. Create accessor for the positions stack.
325         (asPosIterator): remove function
326
327         * PosIterator.C (PosIterator): move constructors to top of file
328         (PosIterator): reimplement the constructor taking a ParIterator in
329         terms of setFrom.
330         (setFrom): new function
331         (operator!=): inline it
332
333 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
334
335         * lyxfind.C (replaceAll): use std::advance
336
337         * iterators.h: inherit from std::iterator.
338
339         * PosIterator.C (advance, distance): remove
340         * PosIterator.h: interit from std::iterator.
341
342 2004-01-26  André Pönitz  <poenitz@gmx.net>
343
344         * BufferView.[Ch]:
345         * BufferView_pimpl.[Ch]:
346         * InsetList.[Ch]:
347         * PosIterator.[Ch]:
348         * buffer.h:
349         * bufferview_funcs.C:
350         * cursor.[Ch]:
351         * cursor_slice.h:
352         * factory.[Ch]:
353         * iterators.[Ch]:
354         * lyxfind.C:
355         * lyxfunc.C:
356         * lyxtext.h:
357         * output_docbook.C:
358         * output_latex.C:
359         * output_linuxdoc.C:
360         * output_plaintext.C:
361         * paragraph.[Ch]:
362         * paragraph_funcs.[Ch]:
363         * paragraph_pimpl.[Ch]:
364         * rowpainter.C:
365         * tabular.C:
366         * tabular.h:
367         * text.C:
368         * text2.C:
369         * text3.C: more IU:  dumps most of the rest of the mathcursor
370     implementation into cursor.[Ch]; "globalize" a bit of it.
371
372 2004-01-25  Angus Leeming  <leeming@lyx.org>
373
374         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
375
376 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
377
378         * LaTeXFeatures.h: add nice_ and nice() const
379         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
380
381 2004-01-20  André Pönitz  <poenitz@gmx.net>
382
383         * BufferView.[Ch]:
384         * BufferView_pimpl.C:
385         * PosIterator.C:
386         * bufferview_funcs.C:
387         * cursor.[Ch]:
388         * cursor_slice.[Ch]:
389         * factory.C:
390         * iterators.C:
391         * lyx_cb.C:
392         * lyxfind.C:
393         * lyxfunc.C:
394         * lyxtext.h:
395         * rowpainter.C:
396         * text.C:
397         * text2.C:
398         * text3.C:
399         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
400           LCursor and mathcursor parts to LCursor and InsetBase.
401
402 2004-01-15  André Pönitz  <poenitz@gmx.net>
403
404         * cursor_slice.[Ch]: add a few covienience functions
405
406         * funcrequest.[Ch]: remove BufferView * member
407
408         * BufferView_pimpl.C:
409         * cursor.C:
410         * factory.[Ch]:
411         * lyxfind.[Ch]:
412         * lyxfunc.C:
413         * lyxtext.h:
414         * text3.C:
415         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
416
417 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
418
419         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
420         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
421
422 2004-01-13  André Pönitz  <poenitz@gmx.net>
423
424         * textcursor.[Ch]:
425         * lyxtext.h: hide cursor and selection anchor behind accessor function
426
427         * BufferView.C:
428         * BufferView_pimpl.[Ch]:
429         * PosIterator.C:
430         * bufferview_funcs.C:
431         * cursor.h:
432         * lyxfind.C:
433         * lyxfunc.C:
434         * text.C:
435         * text2.C:
436         * text3.C:
437         * undo.C: adjust
438
439         * cursor.h:
440         * cursor_slice.[Ch]: some integer type changes for inset unification
441
442         * lyxcursor.[hC]: remove, it's CursorSlice now.
443
444         * Makefile.am:
445         * BufferView_pimpl.[Ch]:
446         * bufferview_funcs.C:
447         * cursor_slice.C:
448         * lyxtext.h:
449         * text.C:
450         * text2.C:
451         * text3.C:
452         * textcursor.[Ch]: adjust
453
454 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
455
456         * text2.C (undoSpan): add and use
457         * text.C (breakParagraph): use undoSpan (fix bug 578)
458         * lyxtext.h: adjust
459
460 2004-01-08  Angus Leeming  <leeming@lyx.org>
461
462         * BufferView_pimpl.C (MenuInsertLyXFile):
463         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
464         * lyxfunc.C (menuNew, open, doImport):
465         FileFilterList change to the FileDialog open and save functions.
466
467 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
468
469         * ShareContainer.h: make isEqual and isUnique adaptable
470
471         * CutAndPaste.C: make resetOwnerAndChanges adaptable
472
473 2004-01-07  Angus Leeming  <leeming@lyx.org>
474
475         * LyXAction.C:
476         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
477
478         * BufferView_pimpl.C (dispatch): act on these LFUNs.
479
480         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
481         functions replacing find, replace and replaceAll.
482
483         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
484         LFUN_WORDFIND(FORWARD|BACKWARD).
485
486 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
487
488         * text.C (breakParagraph): remove an outdated #warning
489
490 2004-01-07  André Pönitz  <poenitz@gmx.net>
491
492         * lyxfind.C: somewhat clearer logic
493
494         * text.C: prevent crash in cursorX on unitialized row cache
495
496 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
497
498         * lyxcursor.[Ch] (operator>): add
499         * textcursor.C (selStart, selEnd): use std::min and std::max
500
501 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
502
503         * Chktex.C: include boost/format.hpp
504
505 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
506
507         * InsetList.C: replace functor MathcIt with adaptable functor
508         InsetTablePosLess
509         (insetIterator): modify accordingly
510
511         * BranchList.h: move the BranchNamesEqual functor here from...
512         * BranchList.C: ... to here
513
514         * BranchList.C: new BranchListEqual fuctor, use it. Remove
515         SameName and match.
516         (add): replace a finding loop with std::find_if.
517
518 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
519
520         * output_docbook.C: moving LatexParam functionality into
521         .layout files
522
523 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
524
525         * buffer.C: increment format to 229.
526
527 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
528
529         * LaTeXFeatures.C:
530         * lyx_sty.[Ch]: remove minipageindent_def
531
532         * LyXAction.C:
533         * factory.C:
534         * lfuns.h:
535         * lyxfunc.C:
536         * text3.C: remove LFUN_INSET_MINIPAGE
537
538 2003-12-28  Angus Leeming  <leeming@lyx.org>
539
540         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
541
542 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
543
544         * text2.C (setParagraph): fix off-by-one crash
545
546 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
547
548         * output_docbook.C: header stuff for AGU
549
550 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
551
552         * text2.C (redoCursor): remove
553         * text.C:
554         * text3.C:
555         * BufferView_pimpl.C: remove calls to redoCursor and
556         setCursor(cursor.par(), cursor.pos()) all around
557
558 2003-12-15  Angus Leeming  <leeming@lyx.org>
559
560         * buffer.C: up the format to 228.
561
562 2003-12-15  André Pönitz  <poenitz@gmx.net>
563
564         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
565         slices
566
567         * Makefile.am:
568
569         * BufferView_pimpl.C:
570         * cursor.[Ch]:
571         * lyxcursor.[Ch]:
572         * rowpainter.[Ch]:
573         * lyxtext.h:
574         * text.C:
575         * text2.C:
576         * text3.C: adjust
577
578 2003-12-15  Angus Leeming  <leeming@lyx.org>
579
580         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
581         than getFromGUIName to manipulate the color.
582
583 2003-12-14  Angus Leeming  <leeming@lyx.org>
584
585         * BranchList.[Ch]: minimize the API.
586         (Branch::getBranch, getColor): now return a 'const &'.
587         (Branch::setSelected) now returns a bool set to true if the
588         selection status changes.
589         (BranchList::clear, size, getColor, setColor, setSelected,
590         allBranches, allSelected, separator): removed.
591         (BranchList::find): new functions, returning the Branch with
592         the given name.
593         (BranchList::add, remove): return a bool indicating that
594         the operation was successful.
595
596         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
597         new InsetBranch::isBranchSlected member function.
598
599         * LColor.[Ch]: mimimize the API.
600         (fill): renamed as addColor and made private.
601         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
602         versions of these functions taking a string arg have been removed.
603
604         * bufferparams.C (readToken):
605         * lyxfunc.C (dispatch):
606         * lyxrc.C (read): changes due to the altered BranchList and
607         LColor APIs.
608
609         * factory.C (createInset, readInset): changes due to altered
610         InsetBranch c-tor.
611
612 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
613
614         * factory.C:
615         * lyxfunc.C: remove insetminipage. "minipage-insert"
616         now produces a frameless minipage box inset.
617
618 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
619
620         * textcursor.[Ch] (selStart,selEnd): add new methods
621         remove selection::start, end, use LyXCursor::operator<
622         * lyxcursor.[Ch] (operator<): add
623         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
624         * BufferView.[Ch] (unsetXSel): add
625         * text2.C (clearSelection): use unsetXSel,adjust
626         * text.C: adjust
627         * text3.C: adjust
628         * rowpainter.C: adjust
629         * bufferview_funcs.C (put_selection_at): adjust
630
631 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
632
633         * BufferView_pimpl.C: small coord. correction
634
635 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
636
637         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
638         dragging over the splash screen.
639
640 2003-12-11  Angus Leeming  <leeming@lyx.org>
641
642         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
643         as it is now handled in LyXText::dispatch.
644
645         * text3.C (doInsertInset): remove a level of nesting.
646
647 2003-12-11  Angus Leeming  <leeming@lyx.org>
648
649         * factory.C (createInset): changes due to the changed interface to
650         InsetCommandMailer::string2params.
651
652 2003-12-10  Angus Leeming  <leeming@lyx.org>
653
654         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
655         'dialog-show-new-inset <inset name>'
656
657 2003-12-10  Angus Leeming  <leeming@lyx.org>
658
659         * buffer.C: up the format to 227.
660
661         * factory.C: the box inset is now identified simply by 'Box'.
662
663 2003-12-10  Angus Leeming  <leeming@lyx.org>
664
665         * buffer.C: up the format to 226.
666
667         * factory.C: the note inset is now identified simply by 'Note'.
668
669 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
670
671         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
672         when a pit is enough. Standarize a couple of loops.
673
674 2003-12-05  Angus Leeming  <leeming@lyx.org>
675
676         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
677         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
678         data to the re-worked "log" dialog.
679
680 2003-12-03  André Pönitz  <poenitz@gmx.net>
681
682         * PosIterator.C:
683         * iterators.C:
684         * lyxtext.h:
685         * output_latex.C:
686         * paragraph_funcs.C:
687         * text.C:
688         * text2.C: use Inset::getText instead of Inset::getParagraph
689
690 2003-12-03  André Pönitz  <poenitz@gmx.net>
691
692         * buffer.[Ch]:
693         * lyxtext.h:
694         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
695         InsetText::read() as LyXText::read()
696
697 2003-12-02  Angus Leeming  <leeming@lyx.org>
698
699         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
700         type. Add a comment in the implementation that the function uses
701         the stream's bad() function rather than fail() as the std::streams
702         would do.
703
704 2003-12-02  André Pönitz  <poenitz@gmx.net>
705
706         * lyxlex.[Ch]: make interface more similar to std::stream
707
708         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
709
710 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
711
712         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
713
714 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
715
716         * vspace.[Ch]: remove VSpace::NONE
717
718 2003-12-01  André Pönitz  <poenitz@gmx.net>
719
720         * buffer.[Ch]:
721         * lyxtext.h: move ParagraphList member to LyXText
722         rename LyXText::ownerParagraphs to LyXText::paragraph
723
724         * CutAndPaste.C:
725         * bufferview_funcs.C:
726         * iterators.[Ch]:
727         * lyx_cb.C:
728         * paragraph.C:
729         * rowpainter.C:
730         * tabular.C:
731         * text.C:
732         * text2.C:
733         * text3.C: adjust
734
735         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
736
737         * undo.C: fix cursor positioning
738
739 2003-12-01  John Levon  <levon@movementarian.org>
740
741         * BufferView_pimpl.C: fix a crash on exit with
742         a buffer open
743
744 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
745
746         * BranchList.C: fix setSelected() method.
747
748 2003-11-28  André Pönitz  <poenitz@gmx.net>
749
750         * ParagraphParameters.[Ch]:
751         * ParameterStruct.h: remove space above/below from Paragraph to
752          InsetVSpace
753
754         * BufferView_pimpl.C:
755         * factory.C:
756         * lyxfunc.C:
757         * lyxtext.h:
758         * output_latex.C:
759         * paragraph.C:
760         * paragraph_funcs.C:
761         * rowpainter.[Ch]:
762         * text.C:
763         * text2.C:
764         * text3.C: adjust
765
766 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
767
768         * factory.C: Syntax change for CharStyles
769
770 2003-11-28  André Pönitz  <poenitz@gmx.net>
771
772         * BufferView.[Ch]:
773         * BufferView.[Ch]:
774         * buffer.[Ch]:
775         * buffer.[Ch]: move LyXText member
776
777 2003-11-28  André Pönitz  <poenitz@gmx.net>
778
779         * BufferView.[Ch]: make LyXText * text a private member
780
781         * BufferView_pimpl.C:
782         * cursor.C:
783         * iterators.C:
784         * lyx_cb.C:
785         * lyxfind.C:
786         * lyxtext.h:
787         * rowpainter.[Ch]:
788         * text.C:
789         * text2.C:
790         * undo.C: adjust
791
792         * output_plaintext.C: cleanup
793
794 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
795
796         * buffer.C:
797         * lyxtextclass.[Ch]: parametrize SGML document header
798
799 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
800
801         * converter.[Ch]:
802         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
803         getFlavor().
804
805 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
806
807         * text2.C (setFont): rework using PosIterator (no more recursive)
808         (setCharFont): no more needed
809         (setLayout): no more selection cursors fiddling (done by redoCursor)
810         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
811         destroy remaining ones)
812
813 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
814
815         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
816         * lyxtext.h: ditto
817         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
818         selection cursors
819         * lyxfunc.C: adjust
820         * text3.C: adjust + re-allow multi par depth changes
821         * textcursor.C: simplify a bit
822
823 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
824
825         * src/buffer.C:
826         * src/lyxlayout.C:
827         * src/lyxlayout.h:
828         * src/lyxtext.h:
829         * src/output_docbook.C:
830         * src/output_latex.C:
831         * src/paragraph.C:
832         * src/paragraph.h:
833         * src/sgml.C:
834         * src/sgml.h:
835         * src/text2.C: Introducing a number of tags parametrizing various
836         XML formats that we may want to support
837
838 2003-11-25  André Pönitz  <poenitz@gmx.net>
839
840         * InsetList.[Ch] (begein, end): inline as suggested by profiler
841
842         * lyxtext.h (leftMargin/rightMargin): simplify interface
843
844         * rowpainter.C:
845         * text.C:
846         * text2.C:
847         * text3.C: adjust
848
849 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
850
851         * lyxfunc.C (dispatch): propogate the bibtex databases from the
852         master file to any child files. Fixes bug 546.
853
854 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
855
856         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
857
858 2003-11-24  André Pönitz  <poenitz@gmx.net>
859
860         * rowpainter.C: simplification
861
862         * text2.C (updateCounters): remove call to redoParagraph on
863         changed labels as this is far too expensive.
864
865 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
866
867         * converter.C (convert): fix a crash: this function gets
868         called with buffer == 0 from importer code.
869
870 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
871
872         * text3.C (cursorPrevious): make sure that we do not compare
873         iterators form different containers.
874         (cursorNext): ditto
875
876         * rowpainter.C (paintSelection): make sure that we do not compare
877         iterators from different containers.
878
879         * text3.C (dispatch): [PRIOR] make sure that we do not compare
880         iterators from different ParagraphList containers.
881         [NEXT] ditto
882
883         * text2.C (LyXText): change order of initialization slightly
884         (operator=): new function. copy all variables except cache_par_
885         (moveUp): make sure that we do not compare iterators from
886         different ParagraphList constainers.
887         (moveDown): ditto
888
889         * text.C (firstPar): new function
890         (lastPar): new function
891         (endPar): new function
892
893         * lyxtext.h: move things around and group public functions, public
894         variables, private functions, private variables
895
896 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
897
898         * factory.C: change call to InsetERT constructor to avoid
899         additional invocation of method status
900         * text2.C (toggleInset): remove redundant update() call
901         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
902         instead of a Bufferview pointer
903
904 2003-11-21  André Pönitz  <poenitz@gmx.net>
905
906         * rowpainter.C: simplification
907
908 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
909
910         * text3.C (dispatch): make possible to extend a word/row selection
911         with the mouse
912
913 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
914
915         * lyxtext.h: x0_,y0_ -> xo_,yo_
916         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
917         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
918         * rowpainter.C (paintRows): paint full paragraphs
919
920 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
921
922         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
923         screen coordinates)
924
925 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
926
927         * lyxtext.h: add x0_, y0_
928         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
929         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
930
931 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
932
933         * text2.C (setCursorIntern): move the x_target update here *
934         * text3.C: change some bv() to true/false in calls to
935         cursorUp/Down/Right/Left
936         * cursor.C: use helper function.
937
938 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
939
940         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
941         * paragraph_funcs.[Ch]: correct comment
942         * rowpainter.C: do not paint selections away from bv->cursor()
943         Fix a long standing selection painting bug.
944         * text3.C: generalize mouse-selection code to LyXTexts other that
945         top one
946         * textcursor.C: do not use y coords if we can use par offsets
947
948 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
949
950         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
951         cursor position after e.g. inset insert)
952
953 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
954
955         * lyxfind.C (replace): adjust to locking removal + some
956         code simplification
957
958 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
959
960         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
961         of the path
962
963 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
964
965         * lyxlayout.[Ch]:
966         * output_docbook.C: XML sanitation: new layout
967         parameters InnerTag and CommandDepth
968
969 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
970
971         * BufferView_pimpl.C:
972         * factory.C:
973         * text3.C: Fix the insertion and modification of button-style
974         insets
975
976 2003-11-13  André Pönitz  <poenitz@gmx.net>
977
978         * InsetList.[Ch]: remove deleteLyXText
979
980         * paragraph.[Ch]: cache beginOfBody position
981
982         * Bidi.C:
983         * text.C:
984         * text2.C:
985         * text3.C: remove superfluous update() calls
986
987         * vspace.C: cleanup
988
989 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
990
991         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
992         * BufferView.C (fitLockedInsetCursor): remove
993         * cursor.[Ch] (getDim): add
994         * text.C (getRowNearY): add faster version
995         * text3.C: remove some update calls
996
997 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
998
999         * LaTeXFeatures.C:
1000         * LyXAction.C:
1001         * MenuBackend.C:
1002         * MenuBackend.h:
1003         * dispatchresult.h:
1004         * factory.C:
1005         * lfuns.h:
1006         * lyxfunc.C:
1007         * lyxtextclass.C:
1008         * lyxtextclass.h:
1009         * text3.C: The Character Style /XML short element patch.
1010
1011 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
1012
1013         * text3.C:
1014         * factory.C: Small step to solving 'unable to insert some insets'
1015         problem
1016
1017 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1018
1019         * cursor.[Ch] (updatePos): new function for updating the y
1020         position of the tip inset
1021         * bufferview_funcs.C (put_selection_at):
1022         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1023
1024 2003-11-11  André Pönitz  <poenitz@gmx.net>
1025
1026         * text.C: remove big comment on invalid Paragraph pointers as it is
1027         not valid anymore
1028
1029 2003-11-11  André Pönitz  <poenitz@gmx.net>
1030
1031         * text_funcs.[Ch]: merge with ...
1032
1033         * text.C: ... this
1034
1035         * lyxtext.h:
1036         * text2.C:
1037         * text3.C: adjust
1038
1039         * Makefile.am: remove text_funcs.[Ch]
1040
1041 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
1042
1043         * cursor.C (getPos): return absolute cached y coord
1044
1045         * BufferView_pimpl.C (fitCursor): new simplistic code
1046         (workAreaDispatch): add a fitCursor call
1047
1048 2003-11-10  André Pönitz  <poenitz@gmx.net>
1049
1050         * BufferView.[Ch]:
1051         * BufferView_pimpl.[Ch]: merge update() and updateInset()
1052
1053 2003-11-10  André Pönitz  <poenitz@gmx.net>
1054
1055         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1056         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1057         indicate that the cursor needs to leave an inset
1058
1059         * lyxtext.h: remove inset locking
1060
1061         * cursor.[Ch]: re-implement functionality provided by inset locking
1062
1063         * BufferView.[Ch]:
1064         * BufferView_pimpl.[Ch]:
1065         * LyXAction.C:
1066         * bufferview_funcs.[Ch]:
1067         * factory.C:
1068         * funcrequest.[Ch]:
1069         * iterators.C:
1070         * lyx_cb.C:
1071         * lyxfind.C:
1072         * lyxfunc.C:
1073         * text.C:
1074         * text2.C:
1075         * text3.C:
1076         * undo.C: adjust
1077
1078 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
1079
1080         * PosIterator.[Ch]: replace the stack with a vector, add inset
1081         accesor
1082         * iterators.[C]: adjust
1083
1084 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1085
1086         * lyxfind.C (replaceAll): mark the buffer dirty if something was
1087         replaced
1088         * paragraph_funcs.C (readParToken): put the correct id in the
1089         error item, not the id of the top paragraph
1090
1091 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1092
1093         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1094         * bufferview_funcs.C (put_selection_at): use the above
1095
1096 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1097
1098         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1099
1100 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1101
1102         * output_linuxdoc.h:
1103         * output_plaintext.h:
1104         * output.h:
1105         * output_docbook.h: add #include statements
1106
1107 2003-11-05  José Matos  <jamatos@lyx.org>
1108
1109         * output_docbook.[Ch]:
1110         * output_latex.[Ch]:
1111         * output_linuxdoc.[Ch]:
1112         * output_plaintext.[Ch]: New files for output formats.
1113         * output.[Ch]: New file for helper functions.
1114
1115         * buffer.[Ch]:
1116         * paragraph_funcs.[Ch]: output functions moved to new files.
1117
1118         * outputparams.h: rename of latexrunparams.h
1119
1120         * LaTeX.[Ch]:
1121         * buffer.[Ch]:
1122         * bufferlist.[Ch]:
1123         * converter.[Ch]:
1124         * exporter.C:
1125         * paragraph.[Ch]:
1126         * paragraph_funcs.[Ch]:
1127         * paragraph_pimpl.[Ch]:
1128         * tabular.[Ch]: rename ascii to plaintext
1129         and LatexRunParams to OutputParams.
1130
1131 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1132
1133         * iterators.[Ch] (text): require bv argument
1134         * undo.C (recordUndo):
1135         * lyxfunc.C (dispatch):
1136         * bufferview_funcs.C (put_selection_at): adjust
1137
1138 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
1139
1140         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1141
1142 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1143
1144         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1145         nestings
1146
1147 2003-11-04  André Pönitz  <poenitz@gmx.net>
1148
1149         * cursor.[Ch]: restructure
1150
1151         * BufferView.[Ch]:
1152         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1153
1154         * iterators.[Ch] (asCursor): remove
1155
1156         * lfuns.h: remove LFUN_INSET_EDIT
1157
1158         * lyxfunc.C:
1159         * tabular.C:
1160         * text.C:
1161         * text2.C:
1162         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1163
1164 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1165
1166         * lyxfind.[Ch]: complete overhaul
1167         * BufferView_pimpl.C:
1168         * lyxfunc.C: adjust
1169         * paragraph.[Ch] (insert): add
1170
1171 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1172
1173         * BufferView.[Ch]:
1174         * lyxtext.h:
1175         * text.C: remove dead spellcheck code
1176
1177 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1178
1179         * dispatchresult.h: add a val setter
1180
1181         * cursor.C (dispatch): use a tempvar for data_[i]
1182
1183 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1184
1185         * PosIterator.[Ch]: compile fix
1186
1187 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1188
1189         * text.C (cursorPar): deactivate the cursor cache
1190
1191 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1192
1193         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1194
1195 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1196
1197         * text3.C (dispatch): adjust for new DisptchResult semantics.
1198
1199         * lyxfunc.C (dispatch): handle update when return from
1200         Cursor::dispatch, adjust for new DispatchResult semantics.
1201
1202         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1203         DispatchResult(true) mean to not update. Add class functions for
1204         setting dispatched and update, as well as reading.
1205
1206         * cursor.C (dispatch): don't handle update here
1207
1208 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1209
1210         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1211         * trans_mgr.C: adjust
1212
1213         * paragraph_funcs.C (readParToken): exception safety
1214
1215         * lyxvc.h: store the vcs pointer in a scoped_ptr
1216         * lyxvc.C: adjust
1217
1218         * lyxsocket.C (serverCallback): exception safety
1219
1220         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1221
1222         * ispell.C (clone): make it return a auto_ptr
1223
1224         * factory.C (createInset): exception safety
1225         (readInset): exception safety
1226
1227         * bufferlist.C (newBuffer): exception safety
1228
1229         * Thesaurus.C (Thesaurus): use initialization for aik_
1230
1231         * MenuBackend.C (expandToc): exception safety.
1232
1233 2003-11-03  André Pönitz  <poenitz@gmx.net>
1234
1235         * buffer.C:
1236         * buffer.h:
1237         * bufferview_funcs.C: remove getInsetFromId()
1238
1239         * lyxcursor.[Ch]:
1240         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1241
1242         * lyxfunc.C:
1243         * text2.C:
1244         * text3.C: adjust
1245
1246 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1247
1248         * PosIterator.C (distance, advance): new
1249         * bufferview_funcs.[Ch] (put_selection_at): new
1250         * iterators.[Ch] (lockPath): new
1251
1252 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
1253
1254         * iterators.[Ch] (asPosIterator): added
1255         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1256         * PosIterator.[Ch]: added
1257
1258 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1259
1260         * text3.C:
1261         * lyxfunc.C:
1262         * cursor.C (dispatch):
1263         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1264
1265         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1266         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1267         contructor, add a class function dispatched. Remove operator>=
1268
1269 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1270
1271         * debug.C: only use the default constructor for debugstream
1272         (lyxerr) here.
1273
1274         * main.C (main): include debug.h and setup the lyxerr streambuf
1275         here.
1276
1277 2003-10-31  José Matos  <jamatos@lyx.org>
1278
1279         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1280
1281         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1282         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1283         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1284         * paragraph_pimpl.C (simpleTeXSpecialC):
1285         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1286         add LatexRunParams argument.
1287
1288         * exporter.C (Export): change call accordingly.
1289
1290         * latexrunparams.h: add new member to take care of the other backends.
1291 2003-10-30  José Matos  <jamatos@lyx.org>
1292
1293         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1294         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1295         factorise code for paragraph output.
1296         * buffer.[Ch]:
1297         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1298         move functions.
1299
1300 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1301
1302         * text3.C (dispatch):
1303         * lyxfunc.C (dispatch):
1304         * cursor.C (dispatch):
1305         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1306
1307         * dispatchresult.h: make the dispatch_result_t ctor explicit
1308
1309 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
1310
1311         * sgml.[Ch]:
1312         * buffer.C: small refactoring of docbook stuff
1313
1314 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1315
1316         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1317         meaning.
1318
1319 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1320
1321         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1322         operator dispatch_result_t, and operators for == != and >=
1323
1324         * cursor.C (dispatch): adjust for operator dispatch_result_t
1325         removal. comment out call to update
1326
1327         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1328
1329 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1330
1331         * text3.C:
1332         * text2.C:
1333         * text.C:
1334         * lyxtext.h:
1335         * lyxfunc.C:
1336         * cursor.C:
1337         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1338         (dispatch):
1339
1340         * dispatchresult.h: new file, DispatchResult broken out of
1341         insets/insetbase.h
1342
1343         * Makefile.am (lyx_SOURCES): add dispatchresult.h
1344
1345 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1346
1347         * text.C (rowBreakPoint): put a hack inside #if 0
1348
1349 2003-10-28  André Pönitz  <poenitz@gmx.net>
1350
1351         * lyxtext.h:
1352         * metricsinfo.C:
1353         * paragraph_funcs.C:
1354         * rowpainter.C:
1355         * text.C:
1356         * text2.C: general cleanup (lots of small stuff)
1357
1358 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1359
1360         * text2.C (cursorEnd): simple fix to the "end key goes to one
1361         before the end on last row" bug
1362
1363 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1364
1365         * text.C (backspace): fix the "zombie characters"
1366
1367 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1368
1369         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1370
1371 2003-10-27  André Pönitz  <poenitz@gmx.net>
1372
1373         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1374
1375         * factory.C: handle new InsetPagebreak, InsetLine
1376
1377         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1378         and move handling into new InsetPagebreak, InsetLine
1379
1380         * BufferView_pimpl.C:
1381         * LyXAction.C:
1382         * ParagraphParameters.C:
1383         * ParameterStruct.h:
1384         * lyxfunc.C:
1385         * lyxtext.h:
1386         * paragraph.C:
1387         * paragraph.h:
1388         * paragraph_funcs.C:
1389         * paragraph_pimpl.C:
1390         * rowpainter.C:
1391         * text.C:
1392         * text2.C:
1393         * text3.C: adjust
1394
1395 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1396
1397         * text.C:
1398         * lyxrow_funcs.[Ch]:
1399         * Bidi.C:
1400         * paragraph.C:
1401         * lyxtext.h:
1402         * rowpainter.C:
1403         * text2.C:
1404         * text3.C: remove lastPos uses in favour of Row::endpos
1405
1406 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1407
1408         * undo.C (performUndoOrRedo): fix two crashes by setting a
1409         cursor by hand and reordering some calls. Use bv->lockInset instead
1410         of inset->edit because the latter loses cursor information
1411
1412 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
1413
1414         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1415         by Martin
1416         (rowBreakPoint): fix width. change point to point + 1.
1417         Add a missing check.
1418
1419 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
1420
1421         * MenuBackend.C:
1422         * lyxfunc.C: fix (at least partly) the problems
1423         with the Nav menu and headers inside branch insets
1424         reported by Kayvan
1425
1426 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
1427
1428         * paragraph.C (getChar): add strong asserts
1429
1430         * lyxrow_funcs.C (lastPos): remove hideous hack
1431
1432         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1433         (fill): adjust to that (avoid an infinite loop)
1434
1435 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1436
1437         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1438
1439 2003-10-23  André Pönitz  <poenitz@gmx.net>
1440
1441         * RowList_fwd.h: change list<> to vector<> to gain speed
1442         after suggestion from Alfredo
1443
1444 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1445
1446         * lyxtext.h: move the bidi stuff from here...
1447         * text.C: and here
1448         * text2.C: and here
1449         * Bidi.[Ch]: ... to here
1450
1451 2003-10-23  André Pönitz  <poenitz@gmx.net>
1452
1453         * lyxtext.h:
1454         * text.C (isLastRow, isFirstRow): new functions
1455
1456         * paragraph.h: new width cache member
1457
1458         * rowpainter.C: replace RowList::iterator with Row & where possible
1459
1460         * lyxfunc.C: replace several view()->text with a single call
1461
1462         * toc.C: fix 'unused' warning
1463
1464 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1465
1466         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1467         when woring with stream::pos_type
1468         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1469
1470 2003-10-22  André Pönitz  <poenitz@gmx.net>
1471
1472         * lyxtext.h:
1473         * text.C: use Row & instead of RowList::iterator
1474
1475         * lyxrow.h: rename end() to endpos()
1476
1477         * rowpainter.C:
1478         * text.C:
1479         * text2.C: adjust
1480
1481 2003-10-22  Angus Leeming  <leeming@lyx.org>
1482
1483         * buffer.[Ch] (fully_loaded): new member function, returning true
1484         only when the file has been loaded fully.
1485         Used to prevent the premature generation of previews and by the
1486         citation inset to prevent computation of the natbib-style label.
1487
1488         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1489         templates are all set up.
1490
1491         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1492
1493 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
1494
1495         * text.C: fixed an "oops" in the "is a bit silly"
1496         bug fix
1497
1498 2003-10-21  André Pönitz  <poenitz@gmx.net>
1499
1500         * FuncStatus.[Ch]: small stuff, whitespace
1501
1502         * lyxfont.[Ch]: operator<<() for debug reasons
1503
1504         * lyxfunc.C:
1505         * lyxrow_funcs.C:
1506         * lyxtext.h: whitespace, spelling
1507
1508         * paragraph.C: naming of variables
1509
1510         * text.C:
1511         * text2.C: small stuff
1512
1513
1514 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
1515
1516         * text.C: (1) finish off the inset display() work;
1517         (2) fix the "is a bit silly" bug (accessing char
1518         past end of par).
1519
1520 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
1521
1522         * text.C: re-introduce display() for insets, fixing the
1523         various bugs (stretch of line above, math inset
1524         positioning, ...)
1525
1526 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1527
1528         * text.C (rightMargin): remove spurious semicolon
1529
1530         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1531         1415)
1532
1533 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
1534
1535         * text3.C: fix one crash due to wrong cursor def
1536
1537 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1538
1539         * vc-backend.C (scanMaster): make the regex static
1540
1541         * LaTeX.C (scanAuxFile): make the regexs static
1542
1543         * text3.C (doInsertInset, dispatch, dispatch):
1544         * text2.C (cursorUp, cursorDown):
1545         * text.C (selectNextWordToSpellcheck):
1546         * BufferView_pimpl.C (dispatch):
1547         * lyxfunc.C (dispatch):  localDispatch -> dispatch
1548
1549 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1550
1551         * lyxsocket.C: include <cerrno>
1552
1553 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1554
1555         * lyxfunc.C (dispatch): remove textcache stuff
1556
1557         * bufferlist.C (release): remove textcache stuff
1558         (closeAll): ditto
1559
1560         * TextCache.C: delete file
1561         * TextCache.h: delete file
1562
1563         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1564
1565         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1566         delete of the bv_->text.
1567         (resizeCurrentBuffer): remove texcache stuff
1568         (workAreaResize): ditto
1569
1570 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1571
1572         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1573         action.
1574
1575 2003-10-16  André Pönitz  <poenitz@gmx.net>
1576
1577         * lyxrow.[Ch]:
1578         * paragraph.h:
1579         * rowpainter.C:
1580         * text.C:
1581         * text2.C:
1582         * text3.C: speed up by storing y positions per paragraph plus per-row
1583         offset instead of having a 'full' y position in the row.
1584
1585 2003-10-15  André Pönitz  <poenitz@gmx.net>
1586
1587         * iterators.[Ch]:
1588         * iterators.[Ch]:
1589         * undo.[Ch]: make undo aware of inner insets
1590
1591 2003-10-14  Angus Leeming  <leeming@lyx.org>
1592
1593         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1594         static member functions LyX::ref() and LyX::cref.
1595         (lastfiles): new accessor functions for the new lastfiles_ member var.
1596         (addLyXView, views_): add a new LyXView to the list of views_.
1597         (updateInset): loop over all LyXViews to call their own updateInset
1598         member function, returning a pointer to the Buffer owning the inset.
1599
1600         * BufferView_pimpl.C (loadLyXFile):
1601         * MenuBackend.C (expandLastfiles):
1602         * bufferlist.C (MenuWrite, QuitLyX):
1603         lastfiles is no longer a global variable.
1604         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1605
1606         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1607         static function. Access through LyX::cref().emergencyCleanup().
1608
1609 2003-10-14  André Pönitz  <poenitz@gmx.net>
1610
1611         * iterators.[Ch]: new direct access to innermost LyXText and Inset
1612
1613         * undo.[Ch]: restoring part of 'undo in insets'
1614
1615         * Makefile.am:
1616         * undo_funcs.[Ch]: merge with undo.[Ch]
1617
1618         * tabular.C: small cleansing stuff
1619
1620 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
1621
1622         * paragraph_funcs.C (readParToken): report unknown insets as error
1623         boxes. Use the outer paragraph as location (also for unknown
1624         tokens).
1625
1626         * factory.C (readInset): do not abort on reading an unknown inset.
1627         Eat it and return 0.
1628
1629 2003-10-13  Angus Leeming  <leeming@lyx.org>
1630
1631         * lyx_main.C (LyX): remove call to setDisplayTranslator().
1632
1633         * lyxrc.C: displayTranslator is now a function,
1634         declared in GraphicsTypes.h.
1635
1636 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1637
1638         * format.C: new placeholder $$a to pass the socket address.
1639
1640         * bufferlist.[Ch]: new function getBufferFromTmp.
1641
1642         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1643           files in the temporary dir.
1644
1645 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1646
1647         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1648
1649         * Makefile.am: add lyxsocket.[Ch].
1650
1651         * lyx_main.C (error_handler): handle SIGPIPE.
1652
1653 2003-10-13  André Pönitz  <poenitz@gmx.net>
1654
1655         * BufferView_pimpl.C:
1656         * lyxtext.h:
1657         * text.C:
1658         * text2.C:
1659         * text3.C:
1660         * undo_funcs.[Ch]: use paroffset_type instead of
1661           ParagraphList::iterators to prevent multiple conversion
1662           (and get a more robust interface)
1663
1664 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1665
1666         * lyxfunc.C (dispatch): RESULT -> dispatch_result
1667         * lyxtext.h: ditto
1668         * text3.C (dispatch): ditto
1669
1670 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1671
1672         * LaTeX.C (handleFoundFile): move the static to smaller scope,
1673         move the onlyfile, use onlyfile instead of foundfile in a couple
1674         of places.
1675
1676         * DepTable.C (update): flush the error stream a bit more
1677
1678 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1679
1680         * lyxserver.C (callback): adjust
1681
1682         * lyxfunc.C (getStatus): add a missing brace in commented code
1683         (ensureBufferClean): reindent
1684         (dispatch): delete version taking a string
1685
1686 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1687
1688         * LaTeX.C (deplog): move found file handlig from here...
1689         (handleFoundFile): .. to new function here.
1690         (deplog): make sure to discover several files mentioned on the
1691         same log line.
1692
1693 2003-10-10  André Pönitz  <poenitz@gmx.net>
1694
1695         * lyxfunc.C:
1696         * lyxtext.h:
1697         * tabular.C:
1698         * text.C:
1699         * text2.C:
1700         * text3.C: fix some of the tabular crashes
1701
1702 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1703
1704         * MenuBackend.C (binding): put debug message into Debug::KBMAP
1705
1706         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1707
1708 2003-10-09  André Pönitz  <poenitz@gmx.net>
1709
1710         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1711
1712         * BufferView.C:
1713         * BufferView_pimpl.C:
1714         * bufferview_funcs.C:
1715         * lyx_cb.C:
1716         * lyxcursor.C:
1717         * lyxfind.C:
1718         * lyxfunc.C:
1719         * lyxtext.h:
1720         * text.C:
1721         * text2.C:
1722         * text3.C:
1723         * text_funcs.[Ch]:
1724         * textcursor.[Ch]:
1725         * undo_funcs.C: adjust
1726
1727 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1728
1729         * text2.C (incrementItemDepth): new function, use a backtracking
1730         algorithm to discover the correct item depth.
1731         (resetEnumCounterIfNeeded): new function, use a backtracking
1732         algorithm to discover if counter reset is needed.
1733         (setCounter): use them. Simplify a bit. Add different labels for
1734         different item depths for itemize.
1735
1736         * paragraph.C (Paragraph): remove initialization of enumdepth
1737         (operator=): ditto
1738
1739         * paragraph.h: get rid of enumdepth, and use itemdepth both for
1740         enumerate and itemize. Change the type of itemdepth to signed char.
1741
1742 2003-10-08  André Pönitz  <poenitz@gmx.net>
1743
1744         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1745           thing assignable.
1746         * text.C:
1747         * text2.C: adjust
1748
1749         * tabular.[Ch]: fix crash after 'row-insert'
1750
1751 2003-10-08  Angus Leeming  <leeming@lyx.org>
1752
1753         Fix doxygen warnings.
1754
1755         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1756         Remove CutAndPaste:: prefix from header file declaration.
1757
1758         * LColor.h (fill): remove LColor:: prefix from declaration.
1759
1760         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1761         use lyx::depth_type rather than Paragraph::depth_type so that
1762         header file and .C file match.
1763
1764         * converter.h (intToFormat): remove Converters:: prefix from declaration.
1765
1766         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1767         * aspell.C: \file aspell_local.C -> \file aspell.C
1768         * gettext.C: \file gettext.C -> \file src/gettext.C
1769         * gettext.h: \file gettext.h -> \file src/gettext.h
1770         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1771         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1772         * text.C: \file text.C -> \file src/text.C
1773
1774         * toc.C: move comment so that doxygen is not confused.
1775
1776 2003-10-07  Angus Leeming  <leeming@lyx.org>
1777
1778         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1779
1780 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1781
1782         * aspell.C:
1783         * aspell_local.h: add forgotten std::string's.
1784
1785 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1786
1787         * LaTeXFeatures.C:
1788         * LyXAction.C:
1789         * factory.C:
1790         * lfuns.h:
1791         * lyxfunc.C:
1792         * text3.C: The Box patch. Fancybox support, minipage, parbox
1793
1794 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1795
1796         * CutAndPaste.h:
1797         * DepTable.h:
1798         * FloatList.h:
1799         * LaTeXFeatures.h:
1800         * ParagraphParameters.h:
1801         * TextCache.h:
1802         * Thesaurus.h:
1803         * bufferlist.h:
1804         * exporter.h:
1805         * importer.h:
1806         * lastfiles.h:
1807         * lyxfind.h:
1808         * lyxfont.h:
1809         * lyxlex.h:
1810         * lyxtextclasslist.h:
1811         * messages.h:
1812         * paragraph.h:
1813         * paragraph_pimpl.C:
1814         * textcursor.h: add <string> and other small fixes to make Lars'
1815         std::string patch compile with STLport.
1816
1817 2003-10-06  Angus Leeming  <leeming@lyx.org>
1818
1819         * LColor.h: Add missing #include <string>.
1820
1821 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1822
1823         * All most all file in all subdirs: Make <string> be the prefered
1824         way of getting to std::string, add using declarations.
1825
1826 2003-10-06  André Pönitz  <poenitz@gmx.net>
1827
1828         * metricsinfo.C: initialize LyXFont before changing attribute.
1829         (fixes the 'math in \emph is upright' bug)
1830
1831 2003-10-06  André Pönitz  <poenitz@gmx.net>
1832
1833         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1834
1835 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1836
1837         * graph.C:
1838         * paragraph_pimpl.C: Small fixes to build using STLport
1839
1840 2003-10-02  André Pönitz  <poenitz@gmx.net>
1841
1842         * lyxfunc.C:
1843         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1844
1845 2003-10-01  André Pönitz  <poenitz@gmx.net>
1846
1847         * factory.C: assert early
1848
1849 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1850
1851         * lyx_main.C: remove the global debug object
1852
1853         * debug.h: adjust for new debugstream
1854
1855         * debug.C: adjust for new debugstream and keep the global debug
1856         object here.
1857
1858 2003-09-22  Angus Leeming  <leeming@lyx.org>
1859
1860         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1861         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1862         an incomplete class LyXFont.
1863
1864 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1865
1866         * factory.C: bug fix in branches
1867
1868 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1869
1870         * lyxfunc.C (processKeySym): adjust
1871         (dispatch): adjust
1872         (dispatch): change arg name from ev to func, adjust
1873         (sendDispatchMessage): ditto
1874
1875         * lyx_main.C (defaultKeyBindings): adjust keybindings
1876         (deadKeyBindings): ditto
1877
1878         * kbsequence.C (addkey): return a FuncRequest
1879
1880         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1881
1882         * kbmap.C (bind): take a FuncRequest as arg, adjust
1883         (read): adjust
1884         (lookup): adjust
1885         (defkey): change to take a FuncRequest as arg, adjust
1886         (findbinding): take a FuncRequest as arg, adjust.
1887
1888         * funcrequest.h (operator=): added
1889
1890         * funcrequest.C (FuncRequest): default kb_action changed from
1891         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1892
1893         * buffer.C (dispatch): simplify
1894         (dispatch): adjust to take a FuncRequest as arg, adjust
1895
1896         * boost.C (assertion_failed): change assertion message slightly
1897
1898         * ToolbarBackend.C (read): simplify
1899
1900         * MenuBackend.C (binding): adjust call to findbinding, add a
1901         message if no binding is found.
1902         (read): simplify
1903         (expandToc): correct by adding a empty FuncRequest
1904
1905         * LyXAction.C: include <boost/assert.hpp>
1906         (isPseudoAction): delete function
1907         (LookupFunc): change name to...
1908         (lookupFunc): this. change return type to FuncRequest.
1909         (getActionName): take kb_action as arg, simplify
1910         (funcHasFlag): add an assert, simplify.
1911
1912 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1913
1914         * toc.C (action): return a FuncRequest, simplify
1915
1916         * lyxfunc.C (processKeySym): adjust
1917         (getStatus): delete version that takes an int.
1918         (getStatus): adjust
1919         (dispatch): delete version that takes action as int
1920         (dispatch): adjust
1921         (sendDispatchMessage): simplify and adjust
1922
1923         * funcrequest.C (getArg): take unsigned int as arg
1924
1925         * ToolbarBackend.C (read): adjust
1926         (add): delete version that takes func as a string.
1927         (getIton): take a FuncRequest as arg
1928
1929         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1930         action.
1931
1932         * MenuBackend.C (MenuItem): add a new construct that only takes a
1933         Kind, simplify the constructor use for submenus.
1934         (add): adjust
1935         (expandLastfiles): adjust
1936         (expandDocuments): adjust
1937         (expandFormats): adjust
1938         (expandFloatListInsert): adjust
1939         (expandFloatInsert): adjust
1940         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1941
1942         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1943         Remove class variables lyx_pseudo_map and lyx_arg_map
1944
1945         * LyXAction.C (searchActionArg): delete function
1946         (getPseudoAction): delete function
1947         (retrieveActionArg): delete function
1948         (LookupFunc): make it return kb_action, simplify.
1949         (getActionName): simplify
1950
1951         * factory.C (createInset): fix new bug
1952
1953 2003-09-19  Angus Leeming  <leeming@lyx.org>
1954
1955         * CutAndPaste.C (pasteSelection): remove fudge used to set the
1956         masterFilename_ parameter in the include inset.
1957
1958         * factory.C (createInset): changes due to the changes to InsetInclude.
1959
1960 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1961
1962         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1963
1964 2003-09-18  Angus Leeming  <leeming@lyx.org>
1965
1966         * buffer.C:
1967         * BufferView.C: pass the buffer when calling Inset::getLabelList,
1968         Inset::fillWithBibKeys.
1969         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1970
1971 2003-09-18  Angus Leeming  <leeming@lyx.org>
1972
1973         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1974         variables.
1975         (ctor): pass and store a 'Buffer const &'
1976         (buffer): new member function.
1977
1978         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1979         '*this' to the LaTeXFeatures ctor.
1980
1981 2003-09-18  Angus Leeming  <leeming@lyx.org>
1982
1983         * LColor.h:
1984         * lyxfont.C:
1985         * lyxfont.h:
1986         * lyxtext.h:
1987         * text.C: rename EnumLColor as LColor_color.
1988
1989 2003-09-18  Angus Leeming  <leeming@lyx.org>
1990
1991         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1992         remove #include "insets/insetbase.h" from cursor.h.
1993
1994 2003-09-18  Angus Leeming  <leeming@lyx.org>
1995
1996         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1997         InsetOld_code to remove #include "inset.h".
1998
1999         * iterators.C: add #include "insets/inset.h"
2000
2001 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
2002
2003         * BufferView.C: remove more locking stuff that apparently doesn't
2004         do anything sensible.
2005
2006 2003-09-16  André Pönitz  <poenitz@gmx.net>
2007
2008         * paragraph.[Ch]:
2009         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2010           performance boost.
2011
2012 2003-09-16  Angus Leeming  <leeming@lyx.org>
2013
2014         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2015
2016         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2017         arg/return type.
2018
2019         * paragraph.h: remove #include "lyxfont.h". Forward declare
2020         LyXFont_size.
2021
2022 2003-09-16  Angus Leeming  <leeming@lyx.org>
2023
2024         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2025         of support/textutils.h.
2026         (isWord): move the contents of support/textutils.h's IsWordChar here.
2027
2028         * buffer.C:
2029         * lyxfind.C:
2030         * rowpainter.C:
2031         * text.C:
2032         * text2.C: add #include "paragraph.h".
2033
2034         * rowpainter.C:
2035         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2036
2037 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2038
2039         * main.C:
2040         * lyx_main.C:
2041         * lyx_cb.C:
2042         * buffer.C:
2043         * LaTeX.C: use namespace alias for lyx::support::os
2044
2045 2003-09-16  Angus Leeming  <leeming@lyx.org>
2046
2047         * bufferparams.C:
2048         * bufferview_funcs.C:
2049         * factory.C:
2050         * lyxfunc.C:
2051         * paragraph_pimpl.C:
2052         * rowpainter.C:
2053         * text.C: add #include "LColor.h".
2054
2055 2003-09-16  Angus Leeming  <leeming@lyx.org>
2056
2057         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2058         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2059         return LyXFont &.
2060         Store the FontBits::color variable as an int rather than as an
2061         LColor::colorso that we can move LColor.h out of the lyxfont.h header
2062         file.
2063
2064         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2065         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2066         string calls together.
2067
2068         * lyxrc.C: add #include "LColor.h".
2069
2070 2003-09-15  Angus Leeming  <leeming@lyx.org>
2071
2072         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2073         a cow_ptr.
2074
2075 2003-09-15  Angus Leeming  <leeming@lyx.org>
2076
2077         * LColor.h: add an EnumLColor wrapper for LColor::color.
2078
2079         * lyxfont.[Ch] (color, setColor, realColor):
2080         * lyxtext.h, text.C (backgroundColor):
2081         pass EnumLColor args to/from the functions, rather than LColor::color
2082         ones.
2083
2084         * lyxfont.h:
2085         * lyxtext.h: forward declare EnumLColor.
2086
2087         * lyx_main.C: add #include "LColor.h".
2088
2089 2003-09-15  Angus Leeming  <leeming@lyx.org>
2090
2091         * .cvsignore: add lyx-gtk.
2092
2093 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2094
2095         * Chktex.C
2096         * LaTeX.C
2097         * LaTeXFeatures.C
2098         * ParagraphParameters.C
2099         * Spacing.C
2100         * buffer.C
2101         * bufferparams.C
2102         * bufferview_funcs.C
2103         * chset.C
2104         * counters.C
2105         * funcrequest.C
2106         * lyxfont.C
2107         * lyxgluelength.C
2108         * lyxlength.C
2109         * paragraph.C
2110         * paragraph_funcs.C
2111         * text3.C
2112         * vc-backend.C: remove usage of STRCONV
2113
2114 2003-09-15  Angus Leeming  <leeming@lyx.org>
2115
2116         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2117         explicitly define the color passed to the painter.
2118
2119 2003-09-15  Angus Leeming  <leeming@lyx.org>
2120
2121         * bufferparams.C (BufferParams): reorder member initializers to avoid
2122         compiler warning.
2123
2124 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
2125
2126         * CutAndPaste.C (pasteSelection): remove an outdated #warning
2127         * text.C (updateRowPositions): remove an unusual nop
2128
2129 2003-09-12  André Pönitz  <poenitz@gmx.net>
2130
2131         * BufferView_pimpl.C:
2132         * Bullet.C:
2133         * layout.h:
2134         * lyxfunc.C:
2135         * lyxlayout.[Ch]:
2136         * lyxtextclass.C:
2137         * rowpainter.C:
2138         * text.C:
2139         * text2.C:
2140         * Counters.[Ch]: finish the 'automatic counters' job
2141
2142 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2143
2144         * aspell.C: include <boost/assert.cpp> (compile fix)
2145
2146 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
2147
2148         * boost.C (assertion_failed): use lyx::support::abort instead of
2149         assert.
2150
2151 2003-09-10  Angus Leeming  <leeming@lyx.org>
2152
2153         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2154         with their _fwd progeny.
2155
2156 2003-09-09  Angus Leeming  <leeming@lyx.org>
2157
2158         134 files throughtout the source tree: replace 'using namespace abc;'
2159         directives with the appropriate 'using abc::xyz;' declarations.
2160
2161 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2162
2163         * boost.C (emergencyCleanup): moved here from LAssert.c
2164         (assertion_failed): new function, called by BOOST_ASSERT
2165
2166         * several files: change Assert to BOOST_ASSERT
2167
2168 2003-09-09  Angus Leeming  <leeming@lyx.org>
2169
2170         * buffer.[Ch]: Add an Impl class and move Buffer's member
2171         variables into it. As a result move several header files out of
2172         buffer.h.
2173
2174         Add header files to lots of .C files all over the tree as a result.
2175
2176 2003-09-09  Angus Leeming  <leeming@lyx.org>
2177
2178         * buffer.[Ch]: make Buffer's member variables private. Add
2179         accessor functions.
2180
2181         Lots of changes all over the tree as a result.
2182
2183 2003-09-08  Angus Leeming  <leeming@lyx.org>
2184
2185         * graph.C: #include <config.h>.
2186
2187 2003-09-08  Angus Leeming  <leeming@lyx.org>
2188
2189         * BranchList.C:
2190         * BufferView.C:
2191         * BufferView_pimpl.C:
2192         * CutAndPaste.C:
2193         * DepTable.C:
2194         * LaTeX.C:
2195         * LaTeXFeatures.C:
2196         * LyXAction.C:
2197         * MenuBackend.C:
2198         * TextCache.C:
2199         * aspell.C:
2200         * buffer.C:
2201         * bufferlist.C:
2202         * changes.C:
2203         * chset.C:
2204         * converter.C:
2205         * counters.C:
2206         * debug.C:
2207         * graph.C:
2208         * ispell.C:
2209         * lyx_cb.C:
2210         * lyxfind.C:
2211         * lyxfunc.C:
2212         * lyxlex_pimpl.C:
2213         * lyxrc.C:
2214         * lyxrow.C:
2215         * paragraph.C:
2216         * rowpainter.C:
2217         * texrow.C:
2218         * text.C:
2219         * text2.C:
2220         * toc.C: remove redundant using directives.
2221
2222 2003-09-07  Angus Leeming  <leeming@lyx.org>
2223
2224         * LaTeXFeatures.h: remove #include "support/types.h".
2225         * ToolbarBackend.h: remove #include <algorithm>.
2226         * changes.h: remove #include <ctime>.
2227         * debug.h: remove #include <iosfwd>.
2228         * graph.h: remove #include "support/std_string.h".
2229         * lyx_main.h: remove #include <csignal>.
2230         * lyxlex_pimpl.h: remove #include <fstream>.
2231         * sgml.h: remove #include <algorithm>, <utility>.
2232         * toc.h: remove #include "support/std_ostream.h".
2233         Add #include <iosfwd>.
2234
2235 2003-09-07  Angus Leeming  <leeming@lyx.org>
2236
2237         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2238
2239         * converter.h: forward declare LatexRunParams.
2240         * encoding.h: remove #include "lyxrc.h".
2241         * lyxtext.h: remove #include "LColor.h".
2242         * lyxtextclass.h: remove #include "support/types.h".
2243         * trans.h: remove #include "tex-accent.h".
2244         * trans_mgr.h: remove #include "tex-accent.h".
2245         * insets/inset.h: remove #include "support/types.h", <vector>.
2246         * insets/insetcollapsable.h: remove #include "LColor.h".
2247         * insets/insetinclude.h: remove #include "dimension.h".
2248         * insets/insetlatexaccent.h: remove #include "dimension.h".
2249         * insets/insetoptarg.h:: remove #include "insettext.h".
2250         * insets/insettext.h: remove #include "dimension.h",
2251         <boost/shared_ptr.hpp>
2252
2253         * insets/renderers.h: add #include "dimension.h".
2254         * insets/updatableinset.h: add #include "support/types.h".
2255
2256         * many .C files: Associated changes.
2257
2258 2003-09-06  Angus Leeming  <leeming@lyx.org>
2259
2260         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2261         one, inside testInvariant.
2262
2263         * PrinterParams.C: new file.
2264         * PrinterParams.[Ch]: move the function bodies out of line.
2265
2266 2003-09-06  Angus Leeming  <leeming@lyx.org>
2267
2268         * ParagraphParameters.h: forward declare ParameterStruct rather than
2269         including its header file.
2270         (depth): moved out-of-line.
2271
2272 2003-09-06  Angus Leeming  <leeming@lyx.org>
2273
2274         * BufferView_pimpl.h:
2275         * kbmap.h:
2276         * kbsequence.h:
2277         * lyxfunc.h: forward declare LyXKeySym rather than
2278         #include "frontends/LyXKeySym.h".
2279
2280         * BufferView_pimpl.C:
2281         * kbmap.C:
2282         * kbsequence.C:
2283         * lyxfunc.C: associated changes.
2284
2285 2003-09-06  Angus Leeming  <leeming@lyx.org>
2286
2287         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2288         As a result, can remove the #include "insets/inset.h" from BufferView.h
2289
2290 2003-09-06  Angus Leeming  <leeming@lyx.org>
2291
2292         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2293         As a result, can remove the #include "insets/inset.h" from BufferView.h
2294
2295 2003-09-06  Angus Leeming  <leeming@lyx.org>
2296
2297         * buffer_funcs.C:
2298         * buffer.h:
2299         * bufferlist.C:
2300         * BufferView.C:
2301         * bufferview_funcs.C:
2302         * BufferView_pimpl.C:
2303         * CutAndPaste.C:
2304         * lyx_cb.C:
2305         * lyxfunc.C:
2306         * paragraph.h:
2307         * ParagraphParameters.C:
2308         * tabular.C:
2309         * text3.C:
2310         * toc.C:
2311         * undo_funcs.C:
2312         * frontends/controllers/ControlDocument.C:
2313         * insets/insetcaption.C: rearrange the #includes into some sort of
2314         coherent order.
2315
2316         * buffer.h: remove #includes ErrorList.h, undo.h
2317
2318 2003-09-06  Angus Leeming  <leeming@lyx.org>
2319
2320         * support/types.h: add a 'depth_type' typedef, used to store the
2321         nesting depth of a paragraph.
2322
2323         * paragraph.h:
2324         * ParameterStruct.h: use this lyx::depth_type typedef rather than
2325         defining explicitly.
2326
2327         * buffer.h:
2328         * paragraph_funcs.h:
2329         * ParagraphParameters.h:
2330         * sgml.h: use lyx::depth_type rather than Paragraph or
2331         ParameterStruct's depth_type.
2332
2333         * buffer.h
2334         * paragraph_funcs.h: no need to #include paragraph.h anymore.
2335
2336         * BufferView.C:
2337         * BufferView_pimpl.C:
2338         * CutAndPaste.C:
2339         * ParagraphParameters.C:
2340         * buffer_funcs.C:
2341         * bufferlist.C:
2342         * bufferview_funcs.C:
2343         * lyx_cb.C:
2344         * lyxfunc.C:
2345         * tabular.C:
2346         * text3.C:
2347         * toc.C:
2348         * undo_funcs.C:
2349         * frontends/LyXView.C:
2350         * frontends/controllers/ControlDocument.C:
2351         * frontends/controllers/ControlErrorList.C:
2352         * insets/insetbibitem.C:
2353         * insets/insetbranch.C:
2354         * insets/insetcaption.C:
2355         * insets/insetcollapsable.C:
2356         * insets/insetenv.C:
2357         * insets/insetert.C:
2358         * insets/insetfloat.C:
2359         * insets/insetfoot.C:
2360         * insets/insetfootlike.C:
2361         * insets/insetnewline.C:
2362         * insets/insetquotes.C:
2363         * insets/insettabular.C:
2364         * insets/insettext.C:
2365         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2366
2367         * frontends/controllers/ControlChanges.C: #include "changes.h".
2368
2369 2003-09-06  Angus Leeming  <leeming@lyx.org>
2370
2371         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2372         than #including paragraph.h.
2373
2374         * ParagraphList.h:
2375         * RowList.h: deleted. Superfluous.
2376
2377         * CutAndPaste.h:
2378         * iterators.h:
2379         * lyxcursor.h:
2380         * lyxtext.h:
2381         * text_funcs.h:
2382         * undo.h:
2383         * undo_funcs.h:
2384         * insets/inset.h:
2385         * insets/insettext.h: use ParagraphList_fwd.h rather than
2386         ParagraphList.h.
2387
2388         * paragraph.h: don't forward declare ParagraphList.
2389
2390         * buffer.h:
2391         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2392         rather than ParagraphList.h. paragraph.h is still needed for the
2393         Paragraph::depth_type parameters.
2394
2395         * textcursor.h: enable it to compile stand-alone in light of the
2396         above changes.
2397
2398         * bufferview_funcs.C:
2399         * iterators.C:
2400         * lyxfunc.C:
2401         * lyxrow_funcs.C:
2402         * paragraph.C:
2403         * rowpainter.C:
2404         * text.C:
2405         * text2.C:
2406         * text3.C:
2407         * text_funcs.C:
2408         * textcursor.C:
2409         * undo.C:
2410         * frontends/controllers/ControlParagraph.C:
2411         * frontends/controllers/ControlTabular.C:
2412         * insets/insetmarginal.C:
2413         * insets/insetminipage.C:
2414         * insets/insetnote.C:
2415         * insets/insetoptarg.C: add header files needed to compile again.
2416
2417 2003-09-06  Angus Leeming  <leeming@lyx.org>
2418
2419         * RowList_fwd.h: new file, forward-declaring Row rather than
2420         #including lyxrow.h.
2421
2422         * lyxrow_funcs.h:
2423         * lyxtext.h:
2424         * paragraph.h:
2425         * insets/insettext.h: use it instead of RowList.h
2426
2427         * bufferview_funcs.C:
2428         * lyxfunc.C:
2429         * lyxrow_funcs.C:
2430         * paragraph.C:
2431         * rowpainter.C:
2432         * text.C:
2433         * text2.C:
2434         * text3.C: #include "RowList.h".
2435
2436 2003-09-05  Angus Leeming  <leeming@lyx.org>
2437
2438         * factory.C (createInset):
2439         * vspace.C (c-tor): replace sscanf call with an istringstream.
2440         * ispell.C: re-add missing HP/UX headers.
2441         * lyxserver.C: re-add missing  os2 headers.
2442
2443 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
2444
2445         * BranchList.C:
2446         * graph.C:
2447         * ispell.C:
2448         * lastfiles.C:
2449         * lyx_cb.C:
2450         * lyxserver.C:
2451         * texrow.C:
2452         * text3.C: re-add missing system headers, needed for 2.95.2.
2453
2454 2003-09-05  Angus Leeming  <leeming@lyx.org>
2455
2456         Changes most place everywhere due to the removal of using directives
2457         from support/std_sstream.h.
2458
2459 2003-09-05  Angus Leeming  <leeming@lyx.org>
2460
2461         Replace LString.h with support/std_string.h,
2462         Lsstream.h with support/std_sstream.h,
2463         support/LIstream.h with support/std_istream.h,
2464         support/LOstream.h with support/std_ostream.h.
2465
2466         Changes resulting throughout the tree.
2467
2468 2003-09-05  Angus Leeming  <leeming@lyx.org>
2469
2470         * sgml.h: ensure that the header file can be compiled stand-alone.
2471         * *.C: strip out redundant #includes. (320 in total.)
2472
2473 2003-09-04  Angus Leeming  <leeming@lyx.org>
2474
2475         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2476         here (from getPackages).
2477
2478         * debug.[Ch]: add a new EXTERNAL tag.
2479
2480 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2481
2482         * text2.C (cursorEnd): simplify
2483         (setCursor): adjust
2484         (getColumnNearX): adjust
2485
2486         * text.C (computeBidiTables): adjust
2487         (fill): adjust
2488
2489         * rowpainter.C (paintChars): adjust
2490         (paintSelection): adjust
2491         (paintChangeBar): adjust
2492         (paintText): adjust
2493
2494         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2495         lastPos instead.
2496         (numberOfSeparators): adjust
2497
2498 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2499
2500         * LyXAction.C:
2501         * box.[Ch]:
2502         * lfuns.h:
2503         * lyxfunc.C:
2504         * text3.C: Restricts the mouse click functionality
2505         of insets like bibtex, include, toc and floatlist to the visible
2506         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2507         up the dialogs. Cursor has to be in front of the inset (i.e.
2508         start of row) for this to function.
2509
2510 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2511
2512         * bufferview_funcs.C (currentState): output row information
2513
2514 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2515
2516         * bufferview_funcs.C (currentState): output paragraph position
2517
2518 2003-09-04  Angus Leeming  <leeming@lyx.org>
2519
2520         * FloatList.h: move out #include "Floating.h".
2521         * LaTeX.h: move out #include "DepTable.h".
2522         * LyXAction.h: move out #include "funcrequest.h".
2523         * buffer.h: move out #include "author.h", "iterators.h".
2524         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2525         * lyx_main.h: move out #include "errorlist.h".
2526         * lyxfunc.h: move out #include "FuncStatus.h".
2527         * lyxtext: move out #include "lyxcursor.h".
2528         * paragraph_pimpl.h: move out #include "counters.h".
2529
2530 2003-09-03  Angus Leeming  <leeming@lyx.org>
2531
2532         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2533         preamble_snippets list, enabling us to add snippets to the preamble
2534         only if the snippet was not there already.
2535
2536 2003-09-04  Angus Leeming  <leeming@lyx.org>
2537
2538         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2539
2540 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2541
2542         * lyxfunc.C (dispatch): if fitCursor did something be sure to
2543         update
2544
2545 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2546
2547         * BranchList.C: point fix, earlier forgotten
2548
2549 2003-09-02  Angus Leeming  <leeming@lyx.org>
2550
2551         * box.C (contains): renamed from 'contained' after a fantastic
2552         amount of hot air.
2553
2554 2003-09-02  John Levon  <levon@movementarian.org>
2555
2556         * BufferView.C:
2557         * lyxcursor.h:
2558         * lyxcursor.C:
2559         * lyxfunc.C:
2560         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2561
2562 2003-09-02  John Levon  <levon@movementarian.org>
2563
2564         * text2.C: simplification of cursorEnd(), including partial
2565         fix for bug 1376
2566
2567 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2568
2569         * buffer.C (readFile): add a space
2570
2571 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
2572
2573         * BufferView_pimpl.C (update): remove bogus fitCursor() call
2574
2575 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2576
2577         * buffer.C (readFile): new function, take a filename and a
2578         ParagraphList::iterator
2579         (readFile): adjust
2580         (readFile): adjust, make it private. don't use setStream, make
2581         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2582         always contain the filename.
2583
2584         * BufferView.C (insertLyXFile): simplify and make it work for
2585         gzipped files.
2586
2587 2003-08-30  John Levon  <levon@movementarian.org>
2588
2589         * Makefile.am: fix dist (from Kayvan)
2590
2591 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2592
2593         * most files: change to use const Buffer refs
2594
2595 2003-08-27  André Pönitz  <poenitz@gmx.net>
2596
2597         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2598         on top of ownerPar().
2599
2600 2003-08-27  John Levon  <levon@movementarian.org>
2601
2602         * funcrequest.C: properly initialise POD members
2603
2604 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2605
2606         * lyxtext.h (top_y): move top_y from here
2607         * text.C:
2608         * text2.C:
2609         * text3.C:
2610         * BufferView.[Ch]:
2611         * BufferView_pimpl.[Ch]: to here
2612         * frontends/screen.C:
2613         * insets/insettabular.C:
2614         * insets/insettext.C: adjust
2615         * rowpainter.[Ch] (paintRows): remove LyXText & argument
2616
2617 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2618
2619         * BufferView.[Ch]:
2620         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2621
2622 2003-08-26  André Pönitz  <poenitz@gmx.net>
2623
2624         * paragraph_func.[Ch] (outerPar): new function
2625
2626         * paragraph.C:
2627         * paragraph_funcs.C:
2628         * paragraph_funcs.h:
2629         * paragraph_pimpl.C:
2630         * text2.C: remove Inset::par_owner
2631
2632 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
2633
2634         * lyxrow_funcs.C:
2635         * lyxtext.h:
2636         * text.C:
2637         * text2.C: eliminates the needFullRow/display() stuff
2638         altogether, putting the logic in metrics/draw in the insets.
2639
2640 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
2641
2642         * text2.C (redoParagraphInternal, redoParagraphs):
2643         * text.C (redoParagraph): add a call to updateRowPositions at the
2644         end of each 'metrics-like' call. Remove all others.
2645         (getRow): remove the 'y-computing' version.
2646         (getRowNearY): do not compute nor return the real y. Solve the
2647         'y < 0' problem and simplify.
2648
2649 2003-08-22  Angus Leeming  <leeming@lyx.org>
2650
2651         * *.[Ch]: clean-up of licence and author blurbs.
2652         Also move config.h out of a few .h files and into a few .C files.
2653
2654 2003-08-22  André Pönitz  <poenitz@gmx.net>
2655
2656         * lyxrow.[Ch]: add x_ and *fill_ members
2657
2658         * lyxtext.h:
2659         * text.C:
2660         * rowpainter.C:
2661         * text2.C: adjust/remove prepareToPrint() calls
2662
2663 2003-08-22  André Pönitz  <poenitz@gmx.net>
2664
2665         * lyxrow.[Ch]: add  end_ member
2666
2667         * lyxrow_funcs.C: use LyXRow::end_
2668
2669         * lyxtext.h (singleWidth): add LyXFont parameter
2670
2671         * rowpainter.C:
2672         * text2.C: adjust LyXText::singleWidth() calls
2673
2674         * text.C (redoParagraph): simplify row breaking logic
2675
2676
2677 2003-08-19  André Pönitz  <poenitz@gmx.net>
2678
2679         * funcrequest.C: initialize button_ member
2680
2681         * text3.C:
2682         * rowpainter.[Ch]: interface consolidation
2683
2684 2003-08-18  André Pönitz  <poenitz@gmx.net>
2685
2686         * BufferView.C:
2687         * BufferView_pimpl.C:
2688         * lyxfind.C:
2689         * paragraph_funcs.C:
2690         * rowpainter.C:
2691         * text3.C: remove LyXScreen::draw() and fitCursor calls
2692
2693         * BranchList.h: remove spurious semicolons
2694
2695         * MenuBackend.C: fix branchlist related crash
2696
2697 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
2698
2699         * BranchList.[Ch]:
2700         * InsetList.[Ch]:
2701         * LColor.[Ch]:
2702         * LyXAction.C:
2703         * Makefile.am:
2704         * MenuBackend.[Ch]:
2705         * bufferparams.[Ch]:
2706         * factory.C:
2707         * lfuns.h:
2708         * lyxfunc.C:
2709         * text3.C: implements the 'branch inset'
2710         idea. This allows the output of various versions of a document
2711         from a single source version, selectively outputing or suppressing
2712         output of parts of the text.
2713         This implementation contains a 'branch list editor' in a separate
2714         tab of the document settings dialog. Branches are user definable
2715         and have a "display colour" to distinguish them on-screen.
2716
2717         ColorHandler was somewhat cleaned up.
2718         (1) make possible a dynamically growing LColor list by allowing
2719         the graphic context cache to grow along (vector);
2720         (2) eliminate an IMHO unnecessary step in colour allocation.
2721
2722 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
2723
2724         * BufferView_pimpl.C: compile fix
2725
2726 2003-08-15  André Pönitz  <poenitz@gmx.net>
2727
2728         * rowpainter.C: remove extra metrics calls
2729
2730         * lyxtext.h: merge the two constructors into a single one,
2731           pass reference to owner's par list
2732
2733         * BufferView_pimpl.C:
2734         * text.C:
2735         * text2.C: adjust
2736
2737 2003-08-15  André Pönitz  <poenitz@gmx.net>
2738
2739         * lyxrow_funcs.[Ch]:
2740         * lyxtext.h:
2741         * paragraph.h:
2742         * paragraph_funcs.C:
2743         * rowpainter.C:
2744         * text.C:
2745         * text2.C:
2746         * text3.C:
2747         * text_funcs.C: split LyXText::rowlist_ into individual
2748         Paragraph::rows_ chunks
2749
2750         * BufferView.[Ch]:
2751         * BufferView_pimpl.[Ch]:
2752         * lyxfind.C:
2753         * lyxtext.h:
2754         * text3.C: remove toggleSelection()
2755
2756 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
2757
2758         * bufferlist.C: beautify two alerts (shorter text of buttons)
2759         * buffer.C: Remove redundant ' ' from message
2760         * tabular.h:
2761         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2762         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2763         rename VALIGN_CENTER to VALIGN_MIDDLE
2764
2765 2003-08-11  André Pönitz  <poenitz@gmx.net>
2766
2767         * lyxtext.h (getPar):
2768         * text.C: new function
2769
2770 2003-08-11  André Pönitz  <poenitz@gmx.net>
2771
2772         * Makefile.am:
2773         * tracer.[Ch]: remove unneeded files
2774
2775         * InsetList.[Ch]: remove resizeInsetsLyXText()
2776
2777         * lyxtext.h:
2778         * text.C:
2779         * text2.C:
2780         * text3.C: merge insertParagraphs() and appendParagraph()
2781         remove breakAgain(), update()
2782
2783         * BufferView_pimpl.[Ch]:
2784         * bufferview_funcs.[Ch]:
2785         * lyxfunc.C:
2786         * paragraph.[Ch]:
2787         * rowpainter.C:
2788         * tabular.C: adjust after text & InsetList changes.
2789
2790 2003-08-08  André Pönitz  <poenitz@gmx.net>
2791
2792         * text.C (insertChar, backspace): replace rowlist fiddling
2793         with rebreak of full par
2794
2795         * lyxtext.h:
2796         * text.C (breakAgainOneRow, redoHeightOfParagraph,
2797         checkParagraph, updateInset): removed
2798
2799 2003-08-07  André Pönitz  <poenitz@gmx.net>
2800
2801         * paragraph.C:
2802         * text3.C: merge some LFUN handlers, remove dead code
2803
2804 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2805
2806         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2807
2808 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
2809
2810         * text2.C (DEPM): fix part of bug 1255 and 1256
2811
2812 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2813
2814         * BufferView_pimpl.C (workAreaDispatch): change to use
2815         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2816         that are no mouse related.
2817
2818 2003-08-05  André Pönitz  <poenitz@gmx.net>
2819
2820         * BufferView.[Ch]:
2821         * BufferView_pimpl.[Ch]:
2822         * bufferview_funcs.C:
2823         * text2.C:
2824         * text3.C: rip out "deep update"
2825
2826         * textcursor.[Ch] (last_sel_cursor): remove unused member
2827
2828 2003-08-04  André Pönitz  <poenitz@gmx.net>
2829
2830         * BufferView.[Ch]:
2831         * BufferView_pimpl.[Ch]:
2832         * ParagraphParameters.C:
2833         * bufferview_funcs.C:
2834         * lyx_cb.C:
2835         * lyxfind.C:
2836         * lyxfunc.C:
2837         * text.C:
2838         * text2.C:
2839         * text3.C: replace "complicated" BufferView::update(...) calls with
2840         simpler ones.
2841
2842         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2843
2844 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2845
2846         * Makefile.am (lyx_SOURCES): add paper.h
2847
2848 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2849
2850         * Makefile.am: move things around so that both lyx-qt and
2851         lyx-xforms can be built (according to --with-frontend). Then lyx
2852         is a symbolic link to lyx-[firstfrontend]
2853
2854 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2855
2856         * Always use std::endl with lyxerr
2857
2858 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2859
2860         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2861
2862 2003-08-01  André Pönitz  <poenitz@gmx.net>
2863
2864         * BufferView.[Ch]:
2865         * BufferView_pimpl.[Ch]:
2866         * lyxfunc.C:
2867         * text3.C: merge BufferView::repaint() and BufferView::update()
2868
2869 2003-08-01  José Matos  <jamatos@lyx.org>
2870
2871         * buffer.[Ch]: file_format is no longer a buffer data element.
2872
2873 2003-08-01  André Pönitz  <poenitz@gmx.net>
2874
2875         * BufferView.C:
2876         * lyxtext.h:
2877         * text.C:
2878         * text2.C: make redoParagraph more independent of current cursor
2879
2880         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2881         * text.C:
2882         * text2.C: remove unneeded members
2883
2884 2003-07-30  André Pönitz  <poenitz@gmx.net>
2885
2886         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2887
2888         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2889           create a single function...
2890
2891         * paragraph_funcs.C (moveItem): ... here.
2892
2893         * text.C:
2894           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2895
2896 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2897
2898         * LColor.[Ch]: Add comment and greyedout logical colors.
2899
2900 2003-07-30  André Pönitz  <poenitz@gmx.net>
2901
2902         * tabular.C: don't use Assert too heavily. This crashes where it
2903           shouldn't
2904
2905 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2906
2907         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2908         is disabled (bug 1232)
2909
2910 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2911
2912         * factory.C: limited 'arg' scope
2913
2914 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2915
2916         * factory.C: fixed Note submenu issues
2917
2918 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2919
2920         * factory.C: submenu for Note/Comment/Greyedout
2921
2922 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2923
2924         * lyx_main.C (LyX):
2925         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2926
2927 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2928
2929         * LaTeXFeatures.C:
2930         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2931         greyedout. Patch provided by Jürgen Spitzmüller.
2932
2933 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2934
2935         * kbmap.C (read): fix error message when reading bind files
2936
2937 2003-07-29  Angus Leeming  <leeming@lyx.org>
2938
2939         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2940         certainly does not do what it purports to do. I am doing it, and
2941         us, a favour by killing it.
2942
2943 2003-07-28  José Matos  <jamatos@lyx.org>
2944
2945         * buffer.C (readBody, do_writeFile):
2946         * paragraph.C(readParagraph): \end_document replaces \the_end.
2947
2948 2003-07-29  André Pönitz  <poenitz@gmx.net>
2949
2950         * BufferView.[Ch]:
2951         * BufferView_pimpl.[Ch]:
2952         * lyxfunc.C:
2953         * text2.C:
2954         * text3.C:
2955         * textcursor.[Ch]: remove toggleToggle & Co
2956
2957 2003-07-28  José Matos  <jamatos@fep.up.pt>
2958
2959         * buffer.C (readParagraph):
2960         * params_func (readParToken, readParagraph):
2961         * paragraph.C (write): \layout -> \begin_layout.
2962
2963 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2964
2965         * lyxlex_pimpl.C (setFile): clean up slightly.
2966
2967         * bufferparams.h: add compressed var
2968
2969         * buffer_funcs.C (readFile): adjust for LyXLex change
2970         (newFile): ditto + simplify
2971
2972         * buffer.C (writeFile): handle writing of compressed files
2973
2974         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2975         Check if the file is compressed and set a bufferparm if so.
2976
2977         * Makefile.am (lyx_LDADD): remove explicit -lz
2978
2979 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2980
2981         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2982         makeDocBookFile): put the real LyX version in the first line of
2983         the file
2984
2985         * version.h:
2986         * version.C.in: remove lyx_docversion
2987
2988         * tabular.C (write_attribute): add a template-based version to
2989         write enums properly
2990
2991 2003-07-28  André Pönitz  <poenitz@gmx.net>
2992
2993         * lyxtext.h:
2994         * text.C:
2995         * text2.C:
2996         * text3.C: use doubles again for x-coordinates. They are needed.
2997
2998 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2999
3000         * messages.C (getLocaleDir): use lyx_localedir()
3001
3002         * lyxlex_pimpl.C (setFile): compress stuff
3003
3004         * buffer.C (writeFile): add some compression stuff
3005         (do_writeFile): new func, dont call expliti close... will this
3006         breake anything?
3007
3008         * Makefile.am (lyx_LDADD): add -lz
3009
3010 2003-07-28  José Matos  <jamatos@fep.up.pt>
3011
3012         * buffer.C: increment file format.
3013         * paragraph_funcs (readParagraph, readParToken):
3014         * paragraph.C (readParagraph): add \end_layout.
3015
3016 2003-07-27  Angus Leeming  <leeming@lyx.org>
3017
3018         * Makefile.am: remove special casing for configure-time setting of
3019         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3020
3021         * lyx_main.C (init): remove all Jean-Marc's magic setting of
3022         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3023
3024 2003-07-26  André Pönitz  <poenitz@gmx.net>
3025
3026         * paragraph_func.[Ch]:
3027         * paragraph.C (realizeFont): inline it whereever it is used
3028
3029         * rowpainter.C:
3030         * text.C:
3031         * text2.C:
3032         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3033
3034
3035 2003-07-26  André Pönitz  <poenitz@gmx.net>
3036
3037         *       lyxtext.h:
3038         * text.C:
3039         * text2.C: get rid of LyXText::need_break_row
3040
3041 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3042
3043         * toc.[Ch]: put namespace toc inside namespace lyx
3044
3045         * MenuBackend.C (expandToc2): adjust for lyx::toc
3046         (expandToc): ditto
3047
3048         * lyxfunc.C (dispatch): adjust for lyx::find
3049
3050         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3051         lyx::find instead. Reorganize a bit.
3052         (LyXReplace): rename to replace
3053         (LyXFind): rename to find
3054
3055         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3056         (dispatch): ditto
3057
3058 2003-07-26  André Pönitz  <poenitz@gmx.net>
3059
3060         * text.C (setHeightOfRow): restrict scope of temporary variable
3061
3062         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
3063           code (never has been used?)
3064
3065 2003-07-27  Asger Alstrup  <alstrup@local>
3066
3067         * text.C (fill): Optimise algorithm to exploit that we can reuse
3068         the LyXFont for many characters.
3069         (setHeightOfRow): Same thing.
3070         (rowBreakPoint): Same thing.
3071
3072 2003-07-26  Asger Alstrup  <alstrup@local>
3073
3074         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3075
3076         * text.C (singleWidth): Spurious font copying in hot-spot
3077         singleWidth avoided. Reorder tests for arabic for efficiency.
3078
3079         * text.C (fill): handle empty paragraphs better.
3080
3081 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3082
3083         * ispell.C:
3084         * encoding.h: add includes
3085
3086         * lyxrc.C: remove reading of bind files
3087
3088         * lyx_main.C (init): setup bindings and menus only if we have a
3089         gui.
3090
3091         * kbmap.C (read): new method. Do the actual reading of bind
3092         files.
3093
3094         * converter.C (dvipdfm_options):
3095         * bufferparams.C:
3096         * lyxrc.C (read):
3097         (output): adapt PAPER_* enums.
3098
3099         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3100
3101         * bufferparams.h: remove paper-related enums from there
3102
3103         * paper.h: New file. A trivial header file to hold paper-related
3104         enums. It should later expand to contain many paper-related
3105         horrors access.
3106
3107         * lyxrc.C: declare extern displayTranslator
3108
3109 2003-07-27  José Matos  <jamatos@fep.up.pt>
3110
3111         * tabular.[Ch] (linuxdoc): add support for tables and figures
3112         (linuxdoc).
3113
3114 2003-07-27  José Matos  <jamatos@fep.up.pt>
3115
3116         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3117         consistency in both functions.
3118         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3119
3120 2003-07-26  Asger Alstrup  <alstrup@local>
3121
3122         * rowpainter.C (paintRows): Change algorithm to work directly on
3123         the insets rather than asking every character in the document
3124         whether its an inset.
3125
3126 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
3127
3128         * buffer.C (openFileWrite): factorize some code
3129
3130 2003-07-26  Angus Leeming  <leeming@lyx.org>
3131
3132         * lyx_cb.C:
3133         * lyx_main.[Ch]: replace occurances of system_tempdir with
3134         os::getTmpDir().
3135
3136 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3137
3138         * rename Inset to InsetOld
3139
3140 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
3141
3142         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3143         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3144         which I think is a bit clearer. EDIT is gone, since it was
3145         premature optimisation, and broken for mathed anyway.
3146         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3147         with cursor positioning in insets as well (math insets still do not
3148         work, but that's a different story anyway.) It mysteriously
3149         crashes sometimes with undo in the first paragraph, but I'm fairly
3150         confident that this is a compiler bug.
3151
3152 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3153
3154         * paragraph.C (Paragraph): adjust for new clone return type
3155         (operator==): ditto
3156         (copyIntoMinibuffer): ditto
3157
3158 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
3159
3160         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3161         by not having a special case, and always doing a full rebreak of
3162         the document after undo.
3163
3164 2003-07-23  Angus Leeming  <leeming@lyx.org>
3165
3166         * factory.C (createInset): InsetExternal::setParams now takes a
3167         Buffer const * arg.
3168
3169 2003-07-23  Angus Leeming  <leeming@lyx.org>
3170
3171         * factory.C (createInset): changed interface to the external and
3172         graphics mailers' string2params functions.
3173
3174 2003-07-23  Angus Leeming  <leeming@lyx.org>
3175
3176         * factory.C (createInset): pass a
3177         Buffer const * parameter to InsetExternalMailer's string2params.
3178
3179 2003-07-22  John Levon  <levon@movementarian.org>
3180
3181         * Thesaurus.h: include the right aiksaurus header
3182
3183 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3184
3185         * MenuBackend.C (expand): check menu shortcuts unconditionally
3186
3187 2003-07-21  Angus Leeming  <leeming@lyx.org>
3188
3189         * factory.C (createInset): pass a
3190         buffer_path parameter to InsetGraphicsMailer's string2params.
3191
3192 2003-07-21  Angus Leeming  <leeming@lyx.org>
3193
3194         * BufferView_pimpl.C (buffer):
3195         * buffer.C (d-tor):
3196         * lyx_main.C (LyX):
3197         * lyxfunc.C (dispatch):
3198         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3199         rather than the grfx shortcut.
3200
3201 2003-07-21  André Pönitz  <poenitz@gmx.net>
3202
3203         * rowpainter.C: remove unused variables
3204
3205         * tabular_funcs.C:
3206         * tabular_funcs.h: move to tabular.C
3207         * Makefile.am: adjust
3208
3209         * tabular.[Ch]: basic optical cleaning
3210
3211         * author.h: pass references, not values
3212
3213 2003-07-18  André Pönitz  <poenitz@gmx.net>
3214
3215         * lyxtext.h:
3216         * metricsinfo.C:
3217         * metricsinfo.h:
3218         * rowpainter.C:
3219         * text.C:
3220         * text2.C:
3221         * text3.C: two-phase drawing for InsetText and InsetTabular
3222         some float -> int changes.
3223
3224 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3225
3226         * lyx_main.C: fix the fix
3227
3228 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3229
3230         * lyx_main.C: fix a crash in batch mode if no files specified
3231         * converter.C: ws
3232
3233 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
3234
3235         * format.[Ch] (papersize): moved to BufferParams
3236         * converter.[Ch] (dvips_options): moved to BufferParams
3237         (dvipdfm_options): moved to anon namespace
3238         * bufferparams.[Ch]: added above functions.
3239
3240 2003-07-17  André Pönitz  <poenitz@gmx.net>
3241
3242         * lyxtext.h:
3243         * rowpainter.C:
3244         * text2.C: don't call inset->update() anymore
3245
3246         * metricsinfo.[Ch]: add convenience constructor
3247
3248 2003-07-16  André Pönitz  <poenitz@gmx.net>
3249
3250         * lyxcursor.[Ch]:
3251         * lyxfunc.[Ch]:
3252         * text.C:
3253         * text2.C: replace the LyXCursor::irow_ member with
3254          on-demand computation of the value
3255
3256 2003-07-16  John Levon  <levon@movementarian.org>
3257
3258         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3259
3260 2003-07-15  André Pönitz  <poenitz@gmx.net>
3261
3262         * text.C:
3263         * text2.C: remove no more needed refresh_row
3264
3265 2003-07-15  André Pönitz  <poenitz@gmx.net>
3266
3267         * lyxtext.h:
3268         * rowpainter.C:
3269         * text2.C:
3270         * text3.C: refresh_status tristate -> need_update bool
3271
3272 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
3273
3274         * lyxtext.h (init): remove reinit argument (act as if always true)
3275         * text2.C: adjust to that
3276
3277 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3278
3279         * bufferview_funcs.[Ch]: introduce function replaceSelection()
3280         * text3.C: use it to delete selections in some cases
3281         (bugs 441, 673, 702, 954).
3282
3283 2003-07-14  André Pönitz  <poenitz@gmx.net>
3284
3285         * rowpainter.[Ch]: reduce interface
3286
3287 2003-07-14  André Pönitz  <poenitz@gmx.net>
3288
3289         * BufferView_pimpl.C:
3290         * text2.C: adjust after removing unused BufferView * argument
3291
3292 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
3293
3294         * text2.C (init): fix a crash fired on resize
3295
3296 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
3297
3298         * buffer.[Ch]: added new closing signal
3299         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3300         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3301         BufferView::Pimpl via the closing the signal
3302
3303 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
3304
3305         * buffer.[Ch]: take out all bv-related from buffer
3306         * BufferView.C:
3307         * BufferView_pimpl.[Ch]: connect to new signals
3308         * CutAndPaste.C: removed useless asserts
3309         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3310         * lyxvc.[Ch]:
3311         * vc-backend.[Ch]:
3312         * lyxfunc.C: moved view-related funciontality from vc here
3313         * paragraph.C: removed outdated comments
3314         * text.C: ws
3315
3316 2003-07-10  André Pönitz  <poenitz@gmx.net>
3317
3318         * BufferView_pimpl.C:
3319         * tabular.h:
3320         * tabular_funcs.C:
3321         * text.C:
3322         * text2.C: remove InsetText::InnerCache, clean up consequences
3323
3324 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
3325
3326         * ispell.C: fix two typos in error messages
3327
3328 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
3329
3330         * Extend Note inset to other forms of annotation like Comment
3331         and Greyedout. Right button click gives dialog.
3332
3333         Files modified or added (+):
3334
3335         * insetnote.[Ch]
3336         * FormNote.[Ch]      +
3337         * ControlNote.[Ch]   +
3338         * form_note.fd       +
3339         * Makefile.am in frontends/xforms, frontends/xforms/forms,
3340         frontends/controllers
3341         * xforms/Dialogs.C
3342         * factory.C
3343
3344 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3345
3346         * aspell.C: add missing namespace lyx::support
3347
3348 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
3349
3350         * BufferView.[Ch] (newFile): Add
3351         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3352         * LaTeX.[Ch] (message): added this signal and use it
3353         * buffer.[Ch] (busy, message): added these signals and use them
3354         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3355         * converter.C:
3356         * exporter.C:
3357         * format.C:
3358         * importer.C: use buffer signals instead of direct bv calling
3359         * lyx_cb.[Ch] (ShowMessage): removed
3360         * lyx_main.C:
3361         * lyxfunc.C:
3362         * paragraph_funcs.C:
3363         * text2.C: use buffer signals
3364
3365 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3366
3367         * introduce namespace lyx::graphics
3368
3369 2003-07-02  André Pönitz  <poenitz@gmx.net>
3370
3371         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3372
3373 2003-07-01  André Pönitz  <poenitz@gmx.net>
3374
3375         * text.C:
3376         * text2.C:
3377         * text3.C:
3378         * text_funcs.[Ch]:
3379         * textcursor.h:
3380         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3381           text*.C to text_func.C
3382
3383 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3384
3385         * introduce namespace lyx::support
3386
3387 2003-06-30  André Pönitz  <poenitz@gmx.net>
3388
3389         * Chktex.C:
3390         * funcrequest.C:
3391         * lyxtext.h:
3392         * text.C: re-enable --with-included-string
3393
3394 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3395
3396         * textcursor.C: add <config.h>
3397
3398         * text.C (getWord): remove const from word_location arg
3399
3400         * lyxvc.C (getLogFile): fix const type order
3401
3402         * lyxtext.h: remove const from word_location arg, add arg name
3403
3404         * lyxlayout.h: currect type on labeltype.
3405
3406         * importer.C: correct \file
3407
3408         * converter.C (intToFormat): use std:: on ret val, ws changes
3409
3410         * bufferlist.h: correct \file
3411
3412         * buffer.C (makeLinuxDocFile): fix const type order
3413         (makeDocBookFile): ditto
3414         (fillWithBibKeys): use std:: on stdlib args.
3415
3416         * CutAndPaste.C: fix authors.
3417         (availableSelections): use std:: on return vector
3418
3419 2003-06-27  André Pönitz  <poenitz@gmx.net>
3420
3421         * BufferView_pimpl.C:
3422         * bufferview_funcs.C:
3423         * lyxcursor.C:
3424         * lyxcursor.h:
3425         * lyxfunc.C:
3426         * lyxtext.h:
3427         * rowpainter.C:
3428         * text.C:
3429         * text2.C:
3430         * text3.C: remove LyXCursor::row_ member
3431
3432         * lyxtext.h:
3433         * text.C: rename fullRebreak() to partialRebreak() and implement
3434           a fullRebreak() that really bereks fully
3435
3436         * textcursor.h: new struct for cursor-related data
3437
3438 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
3439
3440         * lyx_main.C (LyX): get full path of document loaded on the
3441         command line
3442
3443 2003-06-26  André Pönitz  <poenitz@gmx.net>
3444
3445         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3446           remove unused/broken operator>,<,>=.
3447
3448         *       text.C: remove only use of broken operator<= in an Assert().
3449
3450 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3451
3452         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3453         moved errorlist_.clear to showErrorList
3454
3455 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3456
3457         * converter.C (scanLog, runLaTeX):
3458         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3459         move the bv->showErrorList call to the callers
3460         * lyxfunc.C: i.e. here...
3461         * text2.C: and here
3462         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3463         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3464         namespace, the second to...
3465         * buffer_funcs (BufferFormat, parseErrors): added
3466         * errorlist.C (ErrorList(TeXErrors const &)): removed
3467
3468 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3469
3470         * ToolbarBackend.C (getIcon): complain when icon cannot be found
3471
3472 2003-06-24  "Garst R. Reese" <reese@isn.net>
3473
3474         * debug.C: fix typo
3475
3476 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3477
3478         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3479
3480         * version.C.in: change docversion to 1.4
3481
3482 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
3483
3484         * buffer.C: fix a bug just introduced
3485
3486 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
3487
3488         * buffer.[Ch]: added the parseError signal and use it, removed
3489         sgmlError
3490         * BufferView.[Ch] (addError): moved to ...
3491         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3492         to the Buffer::parseError signal to catch (guess what) parse errors
3493         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3494
3495 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
3496
3497         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3498         ability to create a buffer and to return an existing one from
3499         the list. Moved these functions to...
3500         * buffer_funcs.[Ch]: added
3501         * BufferView.[Ch] (loadLyXFile): added
3502         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3503         job removed from bufferlist::loadLyXFile.
3504         * buffer.C (setReadOnly): make it work without view
3505         (i.e added an if (users))
3506
3507 2003-06-19  Angus Leeming  <leeming@lyx.org>
3508
3509         * lfuns.h:
3510         * LyXAction.C (init):
3511         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3512         with LFUN_DIALOG_SHOW <name> <data>.
3513
3514 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3515
3516         * CutAndPaste.C (availableSelections): small compilation fix for
3517         ancient (gcc 2.9x) compilers
3518
3519 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3520
3521         * text3.C (cursorNext): add tmp var
3522
3523         * text2.C (updateCounters): for function calling out of for clause
3524         (replaceSelectionWithString): ditto
3525         (insertStringAsParagraphs): ditto
3526         (getColumnNearX): add tmp var
3527         (setCursorFromCoordinates): add tmp var
3528         (cursorDownParagraph): add tmp var
3529         (deleteEmptyParagraphMechanism): add tmp var
3530
3531         * text.C (insertChar): add tmp var
3532
3533         * rowpainter.C (paintDepthBar): add tmp var
3534
3535         * CutAndPaste.C (availableSelections): potentially check all
3536         paragraphs in a cut to fill the shown strings.
3537
3538 2003-06-18  André Pönitz  <poenitz@gmx.net>
3539
3540         * kbmap.[Ch]: use vector<> instead of list<>
3541
3542 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
3543
3544         * text3.C (dispatch): handle arg to LFUN_PASTE, call
3545         pasteSelection with index
3546
3547         * text2.C (pasteSelection): modify, call pasteSelection with index
3548
3549         * paragraph.C (asString): reimplement version with no interval to
3550         call the one with interval.
3551
3552         * lyxtext.h: add index arg to pasteSelection
3553
3554         * MenuBackend.C (MenuItem): handle PasteRecent
3555         (Menu::read::Menutags): add md_pasterecent
3556         (read): handle it
3557         (expandPasteRecent): new function
3558         (expand): use it
3559
3560         * MenuBackend.h: add PasteRecent to MenuItem::Kind
3561
3562         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3563         the limited stack
3564         (availableSelections): new function
3565
3566 2003-06-17  Angus Leeming  <leeming@lyx.org>
3567
3568         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3569
3570 2003-06-17  Angus Leeming  <leeming@lyx.org>
3571
3572         * lfuns.h:
3573         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3574
3575         * lyxfunc.C (dispatch): invoke it.
3576
3577 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3578
3579         * iterators.C (operator++, ParPosition): reintroduce some
3580         const_cast for the benefit of older compilers.
3581
3582 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3583
3584         * text3.C (dispatch): do not modify clipboard when doing
3585         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3586         LFUN_DELETE_SKIP on a selection selection
3587
3588 2003-06-16  André Pönitz  <poenitz@gmx.net>
3589
3590         * BufferView.C:
3591         * buffer.C:
3592         * buffer.h:
3593         * paragraph.C:
3594         * tabular.[Ch]: IU of clone() and getLabelList();
3595
3596 2003-06-13  André Pönitz  <poenitz@gmx.net>
3597
3598         * tabular.h: compactification
3599
3600 2003-06-12  André Pönitz  <poenitz@gmx.net>
3601
3602         * tabular.C:
3603         * tabular.h:
3604         * tabular_funcs.h: some renaming plus whitespace
3605
3606 2003-06-12  André Pönitz  <poenitz@gmx.net>
3607
3608         * BufferView.C:
3609         * BufferView_pimpl.C:
3610         * CutAndPaste.C:
3611         * buffer.C:
3612         * iterators.[Ch]:
3613         * lyxfunc.C:
3614         * text.C:
3615         * toc.C: Return a Paragraph & for ParIterator::operator*()
3616
3617 2003-06-11  John Levon  <levon@movementarian.org>
3618
3619         * lyx_main.C:
3620         * ToolbarBackend.h:
3621         * ToolbarBackend.C: add "Toolbars" section and
3622         put the flags there
3623
3624 2003-06-10  Angus Leeming  <leeming@lyx.org>
3625
3626         * lfuns.h:
3627         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3628
3629         * lyxfunc.C (dispatch): invoke it.
3630
3631 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3632
3633         * main.C: protect <ios> with HAVE_IOS
3634         (main): protect sync_with_stdio with HAVE_IOS
3635
3636 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
3637
3638         * text2.C (cutSelection): adjust
3639         (pasteSelection): adjust
3640
3641         * messages.C: handle get of empty string
3642
3643         * main.C (main): use sync_with_stdio(false)
3644
3645         * lyxfunc.C (dispatch): adjust
3646
3647         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3648         (WriteAs): remove unneeded BufferView arg.
3649
3650         * bufferparams.h: use correct types on papersize, papersize2 and
3651         paperpackage.
3652
3653         * bufferparams.C (readToken): adjust for type
3654         (writeLaTeX): add missing cases to switch.
3655
3656         * bufferlist.C (quitWriteBuffer): adjust
3657         (close): adjust
3658
3659         * buffer.C (asciiParagraph): remove some commented code.
3660
3661         * CutAndPaste.C: remove current_view extern variable.
3662         (cutSelection): add BufferParams arg.
3663         (eraseSelection): add BufferParams arg.
3664         (pasteSelection): add Buffer const & arg
3665
3666 2003-06-07  John Levon  <levon@movementarian.org>
3667
3668         * buffer.C:
3669         * paragraph_funcs.C:
3670         * paragraph_pimpl.C:
3671         * text.C:
3672         * text2.C:
3673         * paragraph.h:
3674         * paragraph.C: allow InsetERT to freely space lines,
3675         and some consolidation of code
3676
3677 2003-06-06  José Matos  <jamatos@fep.up.pt>
3678
3679         * buffer.C (makeDocBookFile): fix bug #821
3680
3681 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
3682
3683         * BufferView_pimpl.C (dispatch): use Dialogs::visible
3684
3685 2003-06-04  Angus Leeming  <leeming@lyx.org>
3686
3687         * buffer.C: bump format to 224.
3688
3689 2003-06-05  André Pönitz  <poenitz@gmx.net>
3690
3691         * text2.C (redoParagraphs): remove two const_cast<>
3692
3693 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3694
3695         * ParagraphList.h: remove last remnants of NO_STD_LIST
3696
3697 2003-06-03  Angus Leeming  <leeming@lyx.org>
3698
3699         * factory.C (createInset): small change to the way InsetExternal's params
3700         are set.
3701
3702 2003-06-04  André Pönitz  <poenitz@gmx.net>
3703
3704         * buffer.h: use Undo directly instead of shared_ptr<Undo>
3705
3706         * paragraph_pimpl.h:
3707         * paragraph.[Ch]: some Inset -> UpdatableInset changes
3708
3709         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3710
3711         * undo_funcs.C: make some simple cases of undo work again
3712
3713 2003-06-03  John Levon  <levon@movementarian.org>
3714
3715         * ispell.C: HPUX doesn't have sys/select.h
3716         (from Albert Chin)
3717
3718 2003-06-03  John Levon  <levon@movementarian.org>
3719
3720         * CutAndPaste.C: update tabular and include inset
3721         buffer references
3722
3723         * buffer.h:
3724         * paragraph.h:
3725         * paragraph.C: remove owningBuffer(), don't pass Buffer
3726         to clone()
3727
3728         * factory.C: insetGraphicsParams changed
3729
3730 2003-06-02  John Levon  <levon@movementarian.org>
3731
3732         * LyXAction.C:
3733         * factory.C:
3734         * lfuns.h:
3735         * lyxfunc.C:
3736         * text3.C: remove insetparent
3737
3738 2003-06-02  John Levon  <levon@movementarian.org>
3739
3740         * buffer.h:
3741         * buffer.C: fix inset_iterator.end(), move out of line
3742         (bug 1149)
3743
3744 2003-06-01  John Levon  <levon@movementarian.org>
3745
3746         * text3.C: use a proper cut/paste when doing inset
3747         insert (from Jürgen Spitzmüller)
3748
3749 2003-06-01  John Levon  <levon@movementarian.org>
3750
3751         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3752
3753 2003-05-30  André Pönitz  <poenitz@gmx.net>
3754
3755         * rowpainter.C: unify second drawing phase
3756
3757 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3758
3759         * trans_mgr.C: remove one case of current_view
3760
3761         * text2.C (cursorBottom): delete NO_STD_LIST stuff
3762
3763         * paragraph_funcs.h: remove paragraph.h include
3764
3765         * paragraph.h: delete NO_STD_LIST stuff
3766
3767         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3768
3769         * buffer.h: remove paragraph.h include
3770
3771         * ParagraphList.C: delete file
3772
3773         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3774
3775         * toc.C (getTocList): adjust
3776
3777         * paragraph_pimpl.C (validate): adjust
3778
3779         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3780
3781         * paragraph.C (Paragraph): adjust
3782         (getPositionOfInset): use const_iterator, adjust
3783         (bibitem): use const_iterator, adjust
3784         (setInsetOwner): adjust
3785
3786         * iterators.C (operator++): adjust
3787
3788         * InsetList.[Ch]: Replace selfmade iterator with standard
3789         vector::iterator also introduce const_iterator. Remove getPos,
3790         getInset and setInset from InsetTable. Adjust accordingly.
3791
3792         * BufferView.C (lockInset): adjust
3793         (ChangeInsets): adjust
3794
3795         * tabular.[Ch]: delete commented same_id functions
3796
3797 2003-05-28  John Levon  <levon@movementarian.org>
3798
3799         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3800
3801 2003-05-28  André Pönitz  <poenitz@gmx.net>
3802
3803         * metricsinfo.[Ch]: remove 'fullredraw' member
3804
3805 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3806
3807         * lyxtextclass.C (operator): remove caching.
3808
3809 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3810
3811         * text3.C: adjust
3812
3813         * text2.C (cursorBottom): adjust
3814         (setCounter): use ParagraphList::find, adjust
3815
3816         * text.C (workWidth): use ParagraphList::find, adjust
3817
3818         * lyxcursor.C (LyXCursor): adjust
3819
3820         * buffer.C (inset_iterator): adjust
3821
3822         * ParagraphList.h: make iterator(value_type) private, make
3823         ParagraphList a friend of iterator.
3824
3825         * ParagraphList.C (find): new function
3826
3827         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3828
3829 2003-05-27  André Pönitz  <poenitz@gmx.net>
3830
3831         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3832
3833 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3834
3835         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3836
3837 2003-05-26  John Levon  <levon@movementarian.org>
3838
3839         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3840
3841 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3842
3843         * remove same_id from function signatures, adjust.
3844
3845 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3846
3847         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3848
3849         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3850
3851         * paragraph.C (Paragraph): get rid of same_ids parameter
3852
3853         * ParagraphList.C (insert): adjust
3854         (push_back): adjust
3855
3856 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3857
3858         * paragraph_funcs.C (breakParagraph): adjust
3859         (breakParagraphConservative): adjust
3860
3861         * buffer.C (readParagraph): adjust
3862
3863         * ParagraphList.C (insert): take a reference instead of a pointer
3864         (insert): adjust
3865
3866         * paragraph.[Ch] (id): new function
3867
3868         * bufferlist.C (newFile): adjust
3869
3870         * ParagraphList.C (ParagraphList): adjust
3871         (assign): adjust
3872         (push_back): take a reference instead of a pointer.
3873
3874         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3875
3876         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3877         instead.
3878
3879         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3880         set else use old code.
3881
3882         * ParagraphList.C: remove all NO_NEXT code and only compile this
3883         code of NO_STD_LIST is set.
3884
3885 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3886
3887         * BufferView_pimpl.C:
3888         * TextCache.C:
3889         * TextCache.h:
3890         * bufferlist.C:
3891         * errorlist.h:
3892         * format.C:
3893         * format.h:
3894         * graph.C:
3895         * lyxfunc.C:
3896         * lyxrc.C:
3897         * graphics/GraphicsConverter.C:
3898         * graphics/PreviewLoader.C: header adjustment
3899
3900 2003-05-23  Angus Leeming  <leeming@lyx.org>
3901
3902         * LaTeXFeatures.[Ch] (useBabel): new method.
3903         * bufferparams.C (writeLaTeX): use it.
3904
3905 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3906
3907         * ParagraphList.h (set): remove unused function.
3908
3909 2003-05-23  André Pönitz  <poenitz@gmx.net>
3910
3911         * BufferView.C:
3912         * BufferView_pimpl.C:
3913         * buffer.C:
3914         * buffer.h:
3915         * lyxfunc.C:
3916         * undo_funcs.C: setUndo reworked
3917
3918         * iterators.[Ch]: add access to topmost ParagraphList
3919
3920         * lyxtext.[Ch] (workWidth): add a const
3921
3922 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3923
3924         * texrow.[Ch] (increasePos): remove function
3925         * exporter.C (export): removed unused var and outdated comment
3926
3927 2003-05-23  Angus Leeming  <leeming@lyx.org>
3928
3929         * latexrunparams.h: rename fragile as moving_arg.
3930         * paragraph.C (simpleTeXOnePar): ditto.
3931         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3932
3933 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3934
3935         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3936         (createUndo): ditto
3937         (textUndoOrRedo): comment out a currently unused var.
3938
3939         * paragraph.h (NO_NEXT): enable NO_NEXT
3940
3941         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3942
3943         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3944
3945         * exporter.C (Export): adjust for removeAutoInsets removal.
3946
3947         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3948
3949         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3950
3951         * BufferView.[Ch] (removeAutoInsets): delete function
3952
3953 2003-05-22  Angus Leeming  <leeming@lyx.org>
3954
3955         * latexrunparams.h: add a free_spacing variable.
3956
3957         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3958         to pass moving_arg, as the data is stored in runparams.fragile.
3959
3960         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3961         to Inset::latexOptional or to simpleTeXOnePar.
3962
3963         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3964         free_spacing arg to Inset::latexOptional.
3965
3966         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3967         free_spacing arg.
3968
3969 2003-05-22  Angus Leeming  <leeming@lyx.org>
3970
3971         * latexrunparams.h: add fragile and use_babel variables.
3972
3973         * bufferparams.[Ch] (writeLaTeX): return use_babel.
3974         * buffer.C (makeLaTeXFile): store this returned value in
3975         runparams.use_babel, thus passing it to the inset::latex methods.
3976
3977         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3978         simpleTeXSpecialChars as it is now stored in runparams.fragile.
3979
3980         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3981         longer has a fragile arg, as it is stored in runparams.fragile.
3982
3983         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3984         moving_arg parameter as the data is stored in runparams.fragile.
3985
3986         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3987         a fragile parameter as the data is stored in runparams.fragile.
3988
3989 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3990
3991         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3992
3993 2003-05-22  Angus Leeming  <leeming@lyx.org>
3994
3995         * latexrunparams.h: add a 'bool nice' which defaults to false.
3996
3997         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3998         now encapsulated within runparams.
3999
4000         * bufferlist.C (updateIncludedTeXfiles):
4001         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4002
4003 2003-05-22  Angus Leeming  <leeming@lyx.org>
4004
4005         * latexrunparams.h: new file containing struct LatexRunParams.
4006         * Makefile.am: add new file.
4007
4008         * LaTeX.[Ch] (c-tor, run):
4009         * buffer.[Ch] (makeLaTeXFile):
4010         * bufferlist.[Ch] (updateIncludedTeXfiles):
4011         * converter.C (convert, scanLog):
4012         * converter.[Ch] (runLaTeX):
4013         * exporter.C (Export):
4014         * paragraph.[Ch] (simpleTeXOnePar):
4015         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4016         * paragraph_funcs.[Ch] (latexParagraphs):
4017         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4018         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4019         pass around a LatexRunParams parameter.
4020
4021 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4022
4023         * paragraph.[Ch]: remove unused constructor
4024
4025         * ParagraphList.C (erase): new function, taking two iterators
4026
4027 2003-05-22  André Pönitz  <poenitz@gmx.net>
4028
4029         * undo_funcs.C: remove duplicated code
4030
4031         * iterator.[Ch]: operator=
4032
4033 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4034
4035         * tabular.C (SetMultiColumn): ws changes
4036
4037         * rowpainter.C (paintFirst): get rid of a ->previous
4038
4039         * lyx_cb.C (getPossibleLabel): parlist simplification
4040
4041         * BufferView.C (ChangeInsets): simplify slightly.
4042
4043 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4044
4045         * LyXAction.C: new lfun space-insert, kill protected-space-insert
4046         * lfuns.h: new LFUN_SPACE
4047         * lyxfunc.C: protected space has a new lfun
4048         * paragraph_funcs.C: read new space insets
4049         * text3.C:
4050         * factory.C: handle new space insets
4051
4052 2003-05-22  André Pönitz  <poenitz@gmx.net>
4053
4054         * BufferView.C:
4055         * BufferView_pimpl.C:
4056         * buffer.[Ch]:
4057         * lyxfunc.C:
4058         * undo_funcs.C: return a ParIterator from getParFromID.
4059
4060         * iterators.[Ch]: add two const's
4061
4062 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4063
4064         * toc.C (getTocList): adjust
4065
4066         * iterators.[Ch]: rework for parlist
4067
4068         * buffer.C (par_iterator_begin): adjust
4069         (par_iterator_end): adjust
4070
4071         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4072
4073         * BufferView.C (removeAutoInsets): adjust
4074         (ChangeInsets): adjust
4075
4076 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
4077
4078         * text.C (top_y): fix bug 1110
4079
4080 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
4081
4082         * errorlist.[Ch]: added
4083         * buffer.C:
4084         * BufferView.[Ch]:
4085         * BufferView_pimpl.C:
4086         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4087         instead
4088
4089 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4090
4091         * Makefile.am: ensure that lyx is relinked upon changes to the
4092         various "convenience" libs.
4093
4094 2003-05-20  Angus Leeming  <leeming@lyx.org>
4095
4096         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4097         files are compiled in alphabetical order again.
4098
4099         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4100
4101 2003-05-19  Angus Leeming  <leeming@lyx.org>
4102
4103         * gettext.[Ch]: remove "char const * _(char const *)".
4104
4105 2003-05-19  André Pönitz  <poenitz@gmx.net>
4106
4107         * dimension.[Ch]: promote from mathed/dimension.[Ch]
4108
4109         * Makefile.am:
4110         * BufferView.C:
4111         * DepTable.h:
4112         * LaTeXFeatures.C:
4113         * buffer.C:
4114         * lyxfont.C:
4115         * lyxlex.h:
4116         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4117
4118 2003-05-19  André Pönitz  <poenitz@gmx.net>
4119
4120         * buffer.C:
4121         * lyxlayout.[Ch]:
4122         * lyxtextclass.[Ch]:
4123         * paragraph.C:
4124         * paragraph_funcs.[Ch]:
4125         * text2.C:
4126         * text3.C: more insetenv work
4127
4128 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
4129
4130         * ParagraphParameters.C (params2string): small bug fixed
4131
4132 2003-05-16  André Pönitz  <poenitz@gmx.net>
4133
4134         * debug.C:
4135         * bufferview_funcs.C: patch from Kornel Benko to prevent
4136           crash when _(...) is called twice in a statement
4137
4138 2003-05-16  André Pönitz  <poenitz@gmx.net>
4139
4140         * BufferView.C:
4141         * lyxfunc.C:
4142         * text.C:
4143         * text2.C:
4144         * text3.C:
4145         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4146
4147 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
4148
4149         * lyx_main.C (init): remove spurious static_cast
4150
4151 2003-05-14  André Pönitz  <poenitz@gmx.net>
4152
4153         * BufferView.C: fix format string
4154
4155 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
4156
4157         * BufferView.[Ch] (insertErrors): removed
4158         * BufferView.[Ch] (showErrorList): added
4159         * buffer.C (runChkTeX):
4160         * converter.C (scanLog): call showErrorList instead of inserterrors
4161
4162 2003-05-13  André Pönitz  <poenitz@gmx.net>
4163
4164         * BufferView_pimpl.C:
4165         * buffer.C:
4166         * bufferview_func.C:
4167         * MenuBackend.C:
4168         * lyxfunc.C:
4169         * lyxrc.C:
4170         * tex-accent.C:
4171         * text3.C:
4172         * toc.C:
4173         * tabular_funcs.h: tostr() from its own header
4174
4175         * ParagraphParameters.C:
4176         * ToolbarBackend.C:
4177         * bufferparams.C:
4178         * format.C:
4179         * lyxlex_pimpl.C:
4180         * text3.C: STRCONV()
4181
4182 2003-05-12  André Pönitz  <poenitz@gmx.net>
4183
4184         * BufferView.C:
4185         * BufferView_pimpl.C:
4186         * CutAndPaste.C:
4187         * LaTeX.C:
4188         * LaTeXFeatures.C:
4189         * ParagraphParameters.C:
4190         * buffer.C:
4191         * bufferlist.C:
4192         * bufferparams.C:
4193         * bufferview_funcs.C:
4194         * converter.C:
4195         * counters.C:
4196         * debug.C:
4197         * exporter.C:
4198         * format.C:
4199         * importer.C:
4200         * lyx_cb.C:
4201         * lyx_main.C:
4202         * lyxfont.C:
4203         * lyxfunc.C:
4204         * lyxvc.C:
4205         * paragraph.C:
4206         * paragraph_funcs.C:
4207         * tabular.C:
4208         * tabular_funcs.C:
4209         * text2.C:
4210         * text3.C:  boost::format -> bformat  all over the place
4211
4212
4213 2003-05-09  André Pönitz  <poenitz@gmx.net>
4214
4215         * LColor.[Ch]: Pimpl the #include <map> away
4216
4217 2003-05-09  John Levon  <levon@movementarian.org>
4218
4219         * bufferlist.C: never remove emergency saves
4220
4221 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4222
4223         * Makefile.am: better lib building
4224
4225 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4226
4227         * texrow.[Ch]: remove dependency on Paragraph and just store a id
4228         instead.
4229         * paragraph_pimpl.C (simpleTeXBlanks): adjust
4230         (simpleTeXSpecialChars): adjust
4231         (simpleTeXSpecialChars): adjust
4232         * paragraph.C (simpleTeXOnePar): adjust
4233         * buffer.C (makeLaTeXFile): adjust
4234
4235         * Makefile.am (BOOST_LIBS): allow boost as system lib.
4236
4237         * text2.C (changeDepth): parlist cleanup
4238         (getColumnNearX): ditto
4239
4240         * rowpainter.C (getLabelFont): parlist cleanup
4241
4242         * bufferlist.C (newFile): parlist cleanup
4243
4244         * CutAndPaste.C (eraseSelection): parlist cleanup
4245
4246         * BufferView_pimpl.C (trackChanges): parlist cleanup
4247         (dispatch): ditto
4248
4249         * BufferView.C (lockInset): parlist cleanup.
4250         (ChangeInsets): ditto
4251
4252 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4253
4254         * CutAndPaste.h: Update file header.
4255
4256         * CutAndPaste.C: Update file header.
4257         Store the parts cut out of the Document in a limited_stack.
4258         (copySelection): adjust
4259         (pasteSelection): new function, takes the index in the limited stack.
4260         (nrOfParagraphs): adjust
4261         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4262         simplify error inset insertion.
4263         (checkPastePossible): adjust
4264
4265 2003-05-06  John Levon  <levon@movementarian.org>
4266
4267         * text2.C: don't cast wrap inset to float
4268
4269 2003-05-05  André Pönitz  <poenitz@gmx.net>
4270
4271         * iterator.C:
4272         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4273
4274         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4275           few naked Paragraph *.
4276
4277 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
4278
4279         * bufferparams.C: Output warning if a document with missing
4280         TeX document class is loaded
4281         * exporter.C: Disable TeX exports if the document class is missing
4282         * lyxtextclass.C:
4283         * lyxtextclass.h:
4284         * lyxtextclasslist.C: Handle new textclass.lst format; new method
4285         isTeXClassAvailable()
4286
4287 2003-05-03  John Levon  <levon@movementarian.org>
4288
4289         * BufferView.h:
4290         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4291         explicit cursor show/hide
4292
4293         * BufferView_pimpl.h:
4294         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4295         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4296
4297         * lyxfunc.C: hide cursor before dispatching.
4298
4299         * lyx_cb.C:
4300         * lyxfind.C:
4301         * text.C:
4302         * text3.C: remove explicit cursor hides
4303
4304 2003-05-02  André Pönitz  <poenitz@gmx.net>
4305
4306         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4307
4308         * undo_funcs.C:
4309         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4310           linked lists
4311
4312         * text2.C: tiny whitespace
4313
4314 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4315
4316         * undo_funcs.C: almost only ws changes.
4317
4318         * ParagraphList.C (splice): just return if pl is empty.
4319
4320 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4321
4322         * ParagraphList.C (splice): new function.
4323
4324         * CutAndPaste.C (pasteSelection): use it
4325
4326 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4327
4328         * CutAndPaste.C (pasteSelection): remove the last next and
4329         previous from this file.
4330
4331 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4332
4333         * CutAndPaste.C (pasteSelection): more clean up, user proper
4334         ParagraphList functions for pasteing.
4335
4336         * ParagraphList.C (insert): new function, three arg insert
4337
4338 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4339
4340         * ParagraphList.C (insert): new function, three arg insert
4341
4342         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4343         not on paragraphs.
4344
4345 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4346
4347         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4348
4349 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4350
4351         * CutAndPaste.C (pasteSelection): remove some unneeded code.
4352
4353 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4354
4355         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4356         (copySelection): clean up a bit.
4357         (pasteSelection): use make_pair
4358
4359         * ParagraphList.C (ParagraphList): implement copy constructor
4360         (operator=): implement, base on copy constructor.
4361         (assign): new func
4362
4363         * paragraph.C (erase): return a bool
4364
4365         * paragraph_pimpl.C (erasePos): remove function, move contents...
4366         (erase): ... here. Return a bool.
4367         (erase): call erase instead of erasePos.
4368
4369 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
4370
4371         * ParagraphList.h: define PitPosPair
4372         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4373         ParagraphList, fix a bug on pasting multiple pars
4374         * text2.C: change interface to C&P
4375
4376 2003-04-30  André Pönitz  <poenitz@gmx.net>
4377
4378         * undo_func.C: revert part of yesterday's patch 2
4379
4380 2003-04-30  John Levon  <levon@movementarian.org>
4381
4382         * LColor.C: s/tabular/table/
4383
4384 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4385
4386         * text3.C (dispatch): do not convert iterator -> pointer
4387         * undo_funcs.C (setCursorParUndo): ditto
4388         * text_funcs.C (transposeChars): ditto
4389
4390         * text2.C (setLayout): ws changes only
4391
4392         * text.C (breakParagraph): do not convert iterator -> pointer
4393         (insertChar): ditto
4394         (acceptChange): ditto
4395         (rejectChange): ditto
4396         (changeCase): ditto
4397         (Delete): ditto
4398         (backspace): ditto
4399
4400         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4401         pointer
4402
4403 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4404
4405         * text3.C (gotoInset): YABG (yet another bad getChar)
4406
4407 2003-04-29  André Pönitz  <poenitz@gmx.net>
4408
4409         * paragraph.h: make operator= private unimplemented as long as
4410           it is unusable
4411
4412         * ParagraphList.C: whitespace
4413
4414         * paragraph.[Ch]:
4415         * paragraph_pimpl.[Ch]:
4416         * paragraph_funcs.C:
4417         * CutAndPaste.C:
4418         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
4419
4420         * text2.C:
4421           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4422
4423 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4424
4425         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4426         * paragraph.[Ch] (erase):
4427         * paragraph_pimpl.[Ch] (erase): change return type and value
4428         * text2.C (cutSelection): some rework
4429
4430 2003-04-28  John Levon  <levon@movementarian.org>
4431
4432         * bufferlist.C: changes for unsaved changes dialog
4433
4434 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4435
4436         * bufferlist.C (newFile): set language (messages_) for new
4437         documents also.
4438
4439         * buffer.C (readFile): ws changes only.
4440
4441 2003-04-28  André Pönitz  <poenitz@gmx.net>
4442
4443         * undo_funcs.C:
4444         * lyxfunc.C:
4445         * buffer.[Ch]:
4446         * BufferView_pimpl.C:
4447         * BufferView.C: getParFromID related ParagraphList::iterator changes
4448
4449 2003-04-28  André Pönitz  <poenitz@gmx.net>
4450
4451         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4452           Changes
4453
4454 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4455
4456         * messages.C: remove one more localedir class variable.
4457
4458 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4459
4460         * messages.C (getLocaleDir): singleton generation function
4461         (Pimpl): use it.
4462         (Messages): add a default constructor.
4463
4464         * main.C (main): do not setup localedir here, do not call
4465         gettext_init.
4466
4467         * gettext.C (_): use it.
4468         (gettext_init): delete funciton
4469
4470 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4471
4472         * gettext.C (getLyXMessages): new singleton generating function.
4473
4474         * buffer.C (updateDocLang): adjust
4475
4476         * Makefile.am (messages.o): add target
4477         (main.o): remove target
4478
4479 2003-04-27  John Levon  <levon@movementarian.org>
4480
4481         * bufferlist.C:
4482         * lyx_cb.C:
4483         * lyxfunc.C:
4484         * lyxvc.C: specify cancel button in Alert::prompt
4485
4486 2003-04-26  John Levon  <levon@movementarian.org>
4487
4488         * text3.C:
4489         * lyxfunc.C:
4490         * lfuns.h:
4491         * LyXAction.C: add LFUN_INSET_SETTINGS
4492
4493         * lyxfunc.C: don't enable tabular-feature when there's
4494         just any locking inset
4495
4496 2003-04-26  John Levon  <levon@movementarian.org>
4497
4498         * bufferlist.C: re-add Cancel to buffer close question
4499
4500         * lyxfunc.C: fix import UI a bit
4501
4502 2003-04-25  John Levon  <levon@movementarian.org>
4503
4504         * gettext.C: remove the broken asserts for now
4505
4506 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4507
4508         * messages.C: make case where setlocale cannot comply work better.
4509
4510         * buffer.C (updateDocLang): new function
4511         (changeLanguage): use it
4512         (readFile): use it
4513
4514         * text2.C (setCounter): use B_ a bit.
4515
4516         * lyxlayout.C (Read): be sure to trim the label strings.
4517
4518         * messages.C (Messages): fix typo in comment
4519
4520         * buffer.C (readFile): set message_ after file is loaded.
4521         (makeDocBookFile): remove double return
4522         (changeLanguage): reset message_ upon language change.
4523         (B_): new func, use this to get translated buffer strings.
4524
4525         * main.C: add myself and Jean Marc as authors.
4526
4527 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4528
4529         * messages.[hC]: pimplify Messages, and three different pimpls to be
4530         used in different circumstances.
4531
4532         * gettext.[Ch]: change for use with new message code.
4533
4534 2003-04-24 André Pönitz <poenitz@gmx.net>
4535
4536         * factory.C: support for eqref
4537
4538 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4539
4540         * messages.[Ch]: add missing char
4541
4542         * Makefile.am (lyx_SOURCES): add messages.[Ch]
4543
4544         * messages.[Ch]: New files
4545
4546 2003-04-18  John Levon  <levon@movementarian.org>
4547
4548         * BufferView.h:
4549         * BufferView.C:
4550         * BufferView_pimpl.C:
4551         * lfuns.h:
4552         * LyXAction.C:
4553         * lyxtext.h:
4554         * text2.C: remove layout-copy/paste (bug 778)
4555
4556 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4557
4558         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4559
4560 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4561
4562         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4563         if they succeed. Act accordingly.
4564
4565 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4566
4567         * text2.C (setCharFont): adjust
4568         (setCounter): adjust
4569         (insertStringAsLines): adjust
4570
4571         * text.C (leftMargin): adjust
4572         (setHeightOfRow): adjust
4573
4574         * rowpainter.C (paintFirst): adjust
4575         (paintLast): adjust
4576
4577         * paragraph_funcs.C (depthHook): ParagraphList::iterators
4578         (outerHook): ditto
4579         (isFirstInSequence): ditto
4580         (getEndLabel): ditto
4581         (outerFont): adjust
4582
4583         * paragraph.C (getParLanguage): comment out some hard stuff.
4584
4585         * buffer.C (insertStringAsLines): take a ParagraphList as arg
4586         (sgmlError): ditto
4587         (simpleDocBookOnePar): ditto
4588         (makeDocBookFile): use ParagraphList::iterator
4589
4590         * CutAndPaste.C (pasteSelection): adjust
4591
4592 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4593
4594         * text2.C (getFont): adjust
4595         (getLayoutFont): adjust
4596         (getLabelFont): adjust
4597
4598         * paragraph_funcs.C (TeXOnePar): adjust
4599
4600         * buffer.C (simpleLinuxDocOnePar): adjust
4601         (simpleDocBookOnePar): adjust
4602
4603         * CutAndPaste.C (pasteSelection): adjust
4604
4605         * BufferView.C (getEncoding): adjust
4606
4607         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4608
4609 2003-04-16  John Levon  <levon@movementarian.org>
4610
4611         * lyxfind.C: use parlist stuff for search/changes
4612
4613 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4614
4615         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4616
4617         * text2.C (deleteEmptyParagraphMechanism): adjust
4618
4619         * text2.[Ch] (ownerParagraph): delete func (both of them
4620
4621 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4622
4623         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4624
4625 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4626
4627         * ParagraphList.C: prepare for NO_NEXT
4628
4629 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4630
4631         * text2.C (getFont): adjust
4632         (getLayoutFont): adjust
4633         (getLabelFont): adjust
4634
4635         * paragraph.C (getFont): adjust
4636         (getLabelFont): adjust
4637         (getLayoutFont): adjust
4638
4639         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4640
4641 2003-04-15  John Levon  <levon@movementarian.org>
4642
4643         From Angus Leeming
4644
4645         * lyx_main.C: handle Include in .ui files
4646
4647 2003-04-15  John Levon  <levon@movementarian.org>
4648
4649         * MenuBackend.C: make the doc files length shorter
4650
4651         * ToolbarBackend.h:
4652         * ToolbarBackend.C: handle toolbar placement flags,
4653         Minibuffer
4654
4655 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4656
4657         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4658         adjust
4659
4660         * paragraph_funcs.C (TeXOnePar): adjust
4661
4662         * paragraph.C (getLabelFont): add outerfont arg, adjust
4663         (getLayoutFont): ditto
4664         (simpleTeXOnePar): adjust
4665
4666         * paragraph_pimpl.C (realizeFont): delete func
4667
4668 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
4669
4670         * text2.C (beforeFullRowInset): added a bad getchar check, removed
4671         row argument, constify cur argument.
4672
4673 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4674
4675         * text2.C (getFont): adjust
4676         (getLayoutFont): adjust
4677         (getLabelFont): adjust
4678
4679         * paragraph_funcs.C (TeXOnePar): adjust
4680         (outerFont): new func...
4681         (realizeFont): ...moved out from here, changed this to facilitate
4682         transition
4683
4684         * paragraph.C (getFont): take outerfont as arg, adjust
4685         (simpleTeXOnePar): add outerfont arg, adjust
4686
4687         * buffer.C (simpleLinuxDocOnePar): adjust
4688         (simpleDocBookOnePar): adjust
4689
4690         * CutAndPaste.C (pasteSelection): adjust
4691
4692         * BufferView.C (getEncoding): adjust
4693
4694 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4695
4696         * text2.C (setCharFont): adjust
4697         (setCounter): adjust
4698
4699         * text.C (leftMargin): adjust
4700         (setHeightOfRow): adjust
4701
4702         * rowpainter.C (paintFirst): adjust
4703         (paintLast): adjust
4704
4705         * paragraph_pimpl.C (realizeFont): adjust
4706
4707         * paragraph.C (isFirstInSequence): move from here...
4708         * paragraph_funcs.C (isFirstInSequence): ...to here
4709
4710         * paragraph.C (outerHook): move from here...
4711         * paragraph_funcs.C (outerHook): ...to here
4712
4713         * paragraph.C (depthHook): move from here...
4714         * paragraph_funcs.C (depthHook): ...to here
4715
4716         * paragraph.C (getEndLabel): move from here...
4717         * paragraph_funcs.C (getEndLabel): ...to here
4718
4719         * text2.C (realizeFont): move from here...
4720         * paragraph_funcs.C (realizeFont): ...to here
4721
4722 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4723
4724         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4725
4726 2003-04-14  Angus Leeming  <leeming@lyx.org>
4727
4728         * LColor.[Ch]: scrap LColor mathcursor.
4729
4730 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4731
4732         * lyxlex.[Ch] (text): delete function
4733         * trans.C (Load): adjust
4734         * paragraph_funcs.C (readParToken): adjust
4735
4736 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4737
4738         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4739         vector<char> instead of a char[].
4740
4741         * lyxlex_pimpl.C (getString): adjust
4742         (next): adjust
4743         (lex): use getString
4744         (eatLine): adjust
4745         (nextToken): adjust
4746
4747         * lyxlex.C (text): use pimpl_->getString()
4748         (getBool): ditto
4749         (findToken): ditto
4750
4751 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4752
4753         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4754         (makeFontEntriesLayoutSpecific): temp var for par.size()
4755         (setLayout): temp var for ownerParagraphs().end()
4756         (fullRebreak): temp var for rows().end()
4757         (selectionAsString): temp var for boost::next(startpit), realize
4758         that the while really is a regular for loop.
4759         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4760         setCursor in one place.
4761         (setParagraph): temp vr for ownerParagraphs().end()
4762         (updateCounters): make the while loop a for loop
4763         (cutSelection): temp var for ownerParagraphs().end()
4764         (updateInset): make the do {} while() a regular for loop
4765         (getCursorX): use temp vars
4766         (setCurrentFont): use temp vars
4767         (getColumnNearX): use temp vars
4768
4769 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4770
4771         * text.C (transformChar): use temp var for getChar
4772         (computeBidiTables): use temp var for row->par()
4773         (fill): move temp vars for row->par() and pit->layout() earlier in
4774         the function.
4775         (labelFill): use temp var for row->par()
4776         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4777         asc and desc, realize that pit never changes and that firstpit is
4778         just a duplicate and not needed. Exchange rit->par() with pit in a
4779         lot of places.
4780         (breakAgain): use a temp var for boost::next(rit)
4781         (breakAgainOneRow): ditto
4782         (breakParagraph): use a temp var for rows().begin()
4783         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4784         (cursorRightOneWord): use temp var for cursor.par() and
4785         cursor.pos(), remove usage of tmpcursor.
4786         (cursorLeftOneWord): use temp var for cursor.par() and
4787         cursor.pos() only set cur at end of function.
4788
4789 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4790
4791         * text.C, text2.C: exchange all usage of Paragraph::next with
4792         boost::next(ParagraphList::iterator)
4793
4794         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4795
4796         * text2.C (cursorTop): simplify implementation
4797         (cursorBottom): ditto
4798         (setParagraph): use ParagraphList::iterator
4799         (setCurrentFont): adjust
4800         (getColumnNearX): adjust
4801         (cursorRight): adjust
4802         (cursorLeft): remove usage of Paragraph::previous
4803         (cursorUpParagraph): ditto
4804         (deleteEmptyParagraphMechanism): slight cleanup
4805
4806         * text.C (isBoundary): take a Paragraph const & instead of a
4807         pointer as arg.
4808         (addressBreakPoint): ditto
4809         (leftMargin): remove usage of Paragraph::previous.
4810         (setHeightOfRow): ditto
4811         (cursorLeftOneWord): ditto
4812         (selectNextWordToSpellcheck): ditto
4813         (Delete): ditto
4814         (backspace): ditto
4815         (breakParagraph): remove one usage of Paragraph::next
4816         (redoParagraph): ditto
4817         (acceptChange): ditto
4818         (insertChar): adjust
4819         (rowBreakPoint): adjust
4820
4821         * bufferview_funcs.C (toggleAndShow): adjust
4822
4823 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4824
4825         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4826         methods to access it.
4827         * lyxtext.h:
4828         * text.C: Added updateRowPositions to compute all row positions.
4829         Make top_y and getRowNearY() to use the cached y position
4830
4831 2003-04-11  John Levon  <levon@movementarian.org>
4832
4833         * text.C (rowBreakPoint): reintroduce the labelEnd
4834         checks, code copied from the row fill stuff. Deep voodoo.
4835
4836         * text.C (fill): add a comment and debugging for the
4837         next poor soul.
4838
4839 2003-04-11  John Levon  <levon@movementarian.org>
4840
4841         * text.C: make sure fullrow insets get wrapped to the next line,
4842         even when they're in a manual label
4843
4844 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4845
4846         * text2.C (insertParagraph): make it take ParagraphList::iterator
4847         as arg.
4848         (setLayout): make it return ParagraphList::iterator
4849         (redoParagraphs): ditto
4850         (setCounter): ditto
4851         (checkParagraph): ditto
4852
4853         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4854
4855         * text2.C: adjust several funcs.
4856         (realizeFont): take a ParagraphList::iterator as arg.
4857         (getLayoutFont): ditto
4858         (getLabelFont): ditto
4859         (setCharFont): ditto
4860
4861         * text.C: adjust several funcs.
4862
4863 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4864
4865         * text.C (selectNextWordToSpellcheck): don't accidentally
4866         skip insets
4867
4868 2003-04-10  John Levon  <levon@movementarian.org>
4869
4870         * ToolbarBackend.C (getIcon): special handling for
4871         LFUN_MATH_DELIM
4872
4873 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4874
4875         * text2.C (cursorRight): a getChar assert fixed
4876
4877 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4878
4879         * text2.C (getFont): change to take a ParagraphList::iterator
4880         instead of Paragraph*
4881         Adjust several functions.
4882
4883         * text.C (transformChar): change to take a ParagraphList::iterator
4884         instead of Paragraph*
4885         (singleWidth): ditto
4886         Adjust several functions.
4887
4888         * rowpainter.C: adjust several functions
4889         * rowpainter.h:store a ParagraphList::iterator and not a
4890         Paragraph&.
4891
4892
4893 2003-04-09  John Levon  <levon@movementarian.org>
4894
4895         * lyxfunc.C:
4896         * lfuns.h:
4897         * LyXAction.h:
4898         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4899         and the "help" bits as well
4900
4901 2003-04-09  John Levon  <levon@movementarian.org>
4902
4903         * ToolbarBackend.h:
4904         * ToolbarBackend.C: allow multiple toolbars
4905
4906 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4907
4908         * undo_funcs.C (setCursorParUndo): adjust
4909
4910         * text_funcs.C (transposeChars): adjust
4911
4912         * text3.C (gotoNextInset): adjust
4913         (dispatch): adjust
4914
4915         * text2.C (setLayout): adjust
4916         (changeDepth): adjust
4917         (setFont): adjust
4918         (redoParagraphs): adjust
4919         (selectionAsString): adjust
4920         (setParagraph): adjust
4921         (insertInset): adjust
4922         (cutSelection): adjust
4923         (copySelection): adjust
4924         (pasteSelection): adjust
4925         (insertStringAsLines): adjust
4926         (updateInset): adjust
4927         (setCursor): change to take a ParagraphList::iterator parameter
4928         (setCursorIntern): change to take a ParagraphList::iterator parameter
4929         (setCurrentFont): adjust
4930         (cursorLeft): adjust
4931         (cursorRight): adjust
4932         (deleteEmptyParagraphMechanism): adjust
4933
4934         * text.C (breakParagraph): adjust
4935         (insertChar): adjust
4936         (acceptChange): adjust
4937         (rejectChange): adjust
4938         (selectNextWordToSpellcheck): adjust
4939         (changeCase): adjust
4940         (Delete): adjust
4941         (backspace): adjust
4942
4943         * lyxfind.C (SearchForward): adjust
4944         (SearchBackward): adjust
4945         (nextChange): adjust
4946
4947         * lyxcursor.C (par): adjust
4948
4949         * lyxcursor.h: store a ParagraphList::iterator instead of a
4950         Paragraph*
4951
4952         * lyx_cb.C (getPossibleLabel): adjust
4953
4954         * bufferview_funcs.C (toggleAndShow): adjust
4955
4956         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4957         (dispatch): adjust
4958
4959         * BufferView.C (removeAutoInsets): adjust
4960         (lockedInsetStoreUndo): adjust
4961
4962 2003-04-09  John Levon  <levon@movementarian.org>
4963
4964         * ToolbarBackend.C: try icon without argument
4965         if with argument fails
4966
4967 2003-04-08  John Levon  <levon@movementarian.org>
4968
4969         * ToolbarBackend.h:
4970         * ToolbarBackend.C: add getIcon(), handle tooltip,
4971         and change from "Icon" to "Item".
4972
4973 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4974
4975         * BufferView.C (lockInset): another bad getchar crunched
4976
4977 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4978
4979         * text2.C (changeDepth): do not setUndo on test_only (make undo work
4980         again)
4981
4982 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
4983
4984         * lyxfind.C (searchForward, searchBackwards): bug 782
4985
4986 2003-04-07  John Levon  <levon@movementarian.org>
4987
4988         * paragraph.C: remove dead comment
4989
4990         * text.C: remove troublesome depth-fiddling code
4991         in leftMargin() and rightMargin() (bug 1017)
4992
4993         * text.C: fix breaking of rows in nested lists
4994         (bug 1004)
4995
4996         * text2.C (updateCounters): fix up depth values
4997         (bug 1013)
4998
4999 2003-04-07  John Levon  <levon@movementarian.org>
5000
5001         * BufferView_pimpl.C: clear message when doc finishes resizing,
5002         and after a mouse event
5003
5004         * lyxfunc.C: clear message after exiting inset
5005
5006 2003-04-07  John Levon  <levon@movementarian.org>
5007
5008         * bufferview_funcs.C: show math status not outside
5009         status in the statusbar
5010
5011 2003-04-07  John Levon  <levon@movementarian.org>
5012
5013         * lyxfunc.C: note status changed after a depth change
5014
5015 2003-04-04  Angus Leeming  <leeming@lyx.org>
5016
5017         * LaTeX.h: move AuxInfo operator==, != out of line.
5018         Remove LaTeX virtual destructor; nothing derives from it.
5019         Move operator()() out of public area and rename it startscript().
5020         Change protected for private.
5021
5022 2003-04-04  Angus Leeming  <leeming@lyx.org>
5023
5024         * lyxfunc.C:
5025         * text2.C: remove unneeded #includes.
5026
5027 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5028
5029         * text2.C (dEPM): fix the heigth of the next row
5030
5031 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5032
5033         * text.C: squashed an invalid getChar requester + some ws changes
5034
5035 2003-04-03  John Levon  <levon@movementarian.org>
5036
5037         * bufferview_funcs.h:
5038         * bufferview_funcs.C:
5039         * lyxfunc.C:
5040         * lyxtext.h:
5041         * text2.C: make getStatus work for the env depth lfuns
5042
5043 2003-04-03  John Levon  <levon@movementarian.org>
5044
5045         * bufferview_funcs.h:
5046         * bufferview_funcs.C:
5047         * lyxfunc.C:
5048         * lyxtext.h:
5049         * text2.C: parlistize decDepth(), by merging it with incDepth()
5050
5051 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5052
5053         * lyxrow.h: store a ParagraphList::iterator instead of a
5054         Paragraph* and adjust other class functions to suit.
5055
5056         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5057         above.
5058
5059 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5060
5061         * text2.C (setCursor): do not anchor to cursor row for the time being
5062
5063 2003-04-02  John Levon  <levon@movementarian.org>
5064
5065         * LyXAction.C:
5066         * lfuns.h:
5067         * lyx_main.C:
5068         * lyxtext.h:
5069         * text.C:
5070         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5071
5072 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5073
5074         * paragraph.h: make ParagraphList and ParagraphList::iterator
5075         friends of Paragraph.
5076
5077         * buffer.C (makeLinuxDocFile): move towards ParagraphList
5078
5079         * ParagraphList.C: Use the private next_ and previous_ from
5080         Paragraph.
5081
5082 2003-04-01  John Levon  <levon@movementarian.org>
5083
5084         * ToolbarBackend.h:
5085         * ToolbarBackend.C:
5086         * Makefile.am: rename, remove defaults gunk
5087
5088         * MenuBackend.h:
5089         * MenuBackend.C: remove defaults gunk
5090
5091         * Languages.h:
5092         * Languages.C: remove defaults gunk
5093
5094         * lyx_main.h:
5095         * lyx_main.C: error out if files couldn't be found.
5096
5097 2003-04-02  John Levon  <levon@movementarian.org>
5098
5099         * text2.C: make incDepth() use parlist
5100
5101 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5102
5103         * undo_funcs.C (firstUndoParagraph): adjust
5104
5105         * text3.C (gotoInset): adjust
5106         (dispatch): adjust, and rewrite loop.
5107
5108         * text2.C (init): adjust, and rewrite loop.
5109         (redoParagraphs): adjust
5110         (updateInset): adjust, and rewrite loop.
5111         (deleteEmptyParagraphMechanism): adjust
5112
5113         * tabular.C (LyXTabular): adjust
5114         (SetMultiColumn): adjust
5115         (TeXRow): adjust
5116
5117         * lyxtext.[Ch] (ownerParagraph): delete function
5118         (ownerParagraphs): new function returns a ParagraphList.
5119
5120         * BufferView.C (removeAutoInsets): adjust
5121         (insertErrors): adjust
5122         (setCursorFromRow): adjust
5123
5124 2003-04-01  Angus Leeming  <leeming@lyx.org>
5125
5126         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5127         in the frontends.
5128
5129 2003-04-02  John Levon  <levon@movementarian.org>
5130
5131         * lyxtext.h:
5132         * text.C:
5133         * Makefile.am:
5134         * text_funcs.h:
5135         * text_funcs.C: make transposeChars a free function
5136
5137         * lyxrow_funcs.C: remove wrong comment
5138
5139 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5140
5141         * lyxtext.h: adjust
5142         * rowpainter.C: adjust
5143         * text.C: adjust
5144         * text2.C: adjust
5145         * text3.C: adjust
5146
5147         * lyxrow_funcs. [Ch]: new files
5148
5149         * lyxrow.[Ch]: remove next and previous pointers
5150         (next,previous): remove accessor functions
5151         (isParEnd): move to lyxrow_funcs
5152         (lastPos): move to lyxrow_funcs
5153         (nextRowIsAllInset): move to lyxrow_funcs
5154         (lastPrintablePos): move to lyxrow_funcs
5155         (numberOfSeparators): move to lyxrow_funcs
5156         (numberOfHfills): move to lyxrow_funcs
5157         (numberOfLabelHfills): move to lyxrow_funcs
5158         (hfillExpansion): move to lyxrow_funcs
5159
5160         * lyxfunc.C: adjust
5161
5162         * bufferview_funcs.C (toggleAndShow): adjust
5163
5164         * RowList.h: Remove class RowList from file leave just a
5165         std::list<Row>.
5166
5167         * RowList.C: delete file
5168
5169         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5170         and lyxrow_funcs.h
5171
5172 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5173
5174         * text3.C (cursorPrevious): adjust
5175         (cursorNext): adjust
5176         (dispatch): adjust
5177
5178         * text2.C (redoHeightOfParagraph): adjust
5179         (redoDrawingOfParagraph): adjust
5180         (setCursor): adjust
5181
5182         * text.C (breakParagraph): adjust
5183         (insertChar): adjust
5184         (backspace): adjust
5185
5186         * rowpainter.C (RowPainter): adjust
5187         (leftMargin): simplify and adjust
5188         (most rowpainter functions): adjust.
5189
5190         * rowpainter.h: store the row as RowList::iterator not as Row*
5191
5192         * lyxcursor.C (row): taka RowList::iterator as arg
5193         (irow): ditto
5194
5195         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5196         of Row*.
5197
5198 2003-04-01  Angus Leeming  <leeming@lyx.org>
5199
5200         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5201         stuff like bool Bool.
5202
5203 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5204
5205         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5206         rewrite a loop
5207
5208 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5209
5210         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5211         RowList::iterator.
5212
5213         * lyxtext.h (rows): drop one version and leve a const variant that
5214         returns a RowList::iterator.
5215
5216 2003-03-31  Angus Leeming  <leeming@lyx.org>
5217
5218         * text.C (fill): ensure that the signature is the same as that in the
5219         header file.
5220
5221 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
5222
5223         * text2.C (redoParagraphs): adjust
5224         (updateCounters): adjust
5225         (checkParagraph): adjust
5226         (getColumnNearX): adjust and reformat a bit.
5227
5228         * text.C (top_y): adjust
5229         (workWidth): adjust
5230         (leftMargin): adjust
5231         (prepareToPrint): adjust
5232         (getRow): adjust
5233         (getRowNearY): adjust
5234
5235         * lyxtext.h: make rowlist_ mutable.
5236
5237         * RowList.h: add const_iterator
5238         * RowList.C: adjust for RowList::const_iterator.
5239
5240         * text2.C (getCursorX): make it take a RowList::iterator as arg,
5241         adjust.
5242
5243 2003-03-31  John Levon  <levon@movementarian.org>
5244
5245         * lyxrc.h:
5246         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5247
5248         * lyx_main.C: set default fonts from using lyx_gui funcs
5249
5250         * exporter.C: pdf_mode moved from lyxrc
5251
5252         * lyx_cb.C:
5253         * lyxfunc.C: changes from above
5254
5255 2003-03-31  John Levon  <levon@movementarian.org>
5256
5257         * lyx_main.C: fix to the last fix
5258
5259 2003-03-31  John Levon  <levon@movementarian.org>
5260
5261         * bufferlist.C: "Load original" -> "Load Original"
5262
5263         * converter.C:
5264         * exporter.C:
5265         * importer.C:
5266         * lyx_main.C:
5267         * format.C: more Alert cleanups
5268
5269 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5270
5271         * text2.C (removeParagraph): make it take a RowList::iterator as
5272         arg, adjust.
5273         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5274         (postRowPaint): make it take a RowList::iterator as arg, adjust.
5275
5276         * text.C (anchor_row): make it take a RowList::iterator as arg,
5277         adjust.
5278         (computeBidiTables): make it take a const reference to Row instead
5279         of Row pointer, adjust.
5280         (leftMargin): make it take a RowList::iterator as arg, adjust.
5281         (rowBreakPoint): adjust
5282         (breakAgainOneRow): make it take a RowList::iterator as arg,
5283         adjust.
5284         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5285
5286         * bufferview_funcs.C (toggleAndShow): adjust
5287
5288 2003-03-30  John Levon  <levon@movementarian.org>
5289
5290         * Makefile.am:
5291         * BoostFormat.h:
5292         * boost-inst.C: moved to support
5293
5294         * several files: changes as a result
5295
5296 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5297
5298         * text2.C (LyXText): adjust.
5299         (init): adjust
5300         (removeRow): make it take a RowList::iterator as arg, adjust.
5301         (fullRebreak): adjust
5302         (deleteEmptyParagraphMechanism): adjust
5303         (clearPaint): adjust
5304         (postPaint): adjust
5305
5306         * text.C (top_y): adjust
5307         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5308         (breakAgain): make it take a RowList::iterator as arg, adjust.
5309         (breakParagraph): adjust
5310         (insertChar): adjust
5311         (backspace): adjust
5312
5313         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5314         need_break_row, and refresh_row.
5315
5316         * text3.C (dispatch): adjust
5317
5318         * text2.C (checkParagraph): adjust
5319         (setCursor): adjust
5320         (setCursorFromCoordinates): adjust
5321
5322         * text.C (top_y): adjust
5323         (workWidth): adjust
5324         (getRow): make it return a RowList::iterator, adjust
5325         (getRowNearY): make it return a RowList::iterator, adjust
5326
5327         * text2.C (init): adjust
5328         (insertRow): remove function
5329         (insertParagraph): adjust
5330         (redoParagraphs): adjust
5331         (fullRebreak): adjust
5332         (updateCounters): adjust
5333
5334         * text.C (top_y): rewrite to use RowList iterators.
5335         (top_y): adjust
5336         (setHeightOfRow): rewrite to sue RowList iterators.
5337         (appendParagraph): adjust
5338         (breakAgain): adjust
5339         (breakAgainOneRow): adjust
5340         (breakParagraph): adjust
5341         (getRow): adjust
5342         (getRowNearY): adjust, and remove commented code.
5343
5344         * lyxtext.h (firstRow): delete function
5345         (lastRow): delete function
5346         (rows): new function (const and non-const versions.)
5347         (insertRow): delete function
5348
5349         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5350
5351 2003-03-29  John Levon  <levon@movementarian.org>
5352
5353         * BufferView_pimpl.C: always update scrollbar top
5354         because pasting text when we're anchored could mean we
5355         miss an update altogether
5356
5357 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5358
5359         * text2.C (init): use rowlist_.end() and not 0.
5360         (insertRow): change to take a RowList::iterator as arg, adjust
5361         for this.
5362         (insertParagraph): change to take a RowList::iterator as arg,
5363         adjust for this.
5364         (redoParagraphs): remove some debug msgs.
5365
5366         * text.C (appendParagraph): change to take a RowList::iterator
5367         arg, adjust for this.
5368         (breakAgain): add an assert
5369         (breakAgainOneRow): ditto
5370
5371 2003-03-29  John Levon  <levon@movementarian.org>
5372
5373         * text2.C: do not clear selection after inc/decDepth
5374         (bug 550)
5375
5376 2003-03-29  John Levon  <levon@movementarian.org>
5377
5378         * BufferView.C:
5379         * buffer.C: fix broken strerrors according to Lars
5380
5381 2003-03-29  John Levon  <levon@movementarian.org>
5382
5383         * converters.C: more Alert cleanups
5384
5385 2003-03-29  John Levon  <levon@movementarian.org>
5386
5387         * bufferview_funcs.C: remove pointless Alert
5388
5389         * buffer.C: fix confusing error message when
5390         a template is chmoded 000
5391
5392 2003-03-29  John Levon  <levon@movementarian.org>
5393
5394         * BufferView.C:
5395         * BufferView.h:
5396         * BufferView_pimpl.C: Alert fixes
5397
5398         * Makefile.am:
5399         * tabular.C:
5400         * tabular-old.C: remove unused table compat reading
5401
5402 2003-03-29  John Levon  <levon@movementarian.org>
5403
5404         * BufferView.C:
5405         * buffer.C:
5406         * lyx_cb.h:
5407         * lyx_cb.C: more Alert cleanups
5408
5409         * lyxfunc.C: don't allow chktex if not latex document
5410
5411 2003-03-29  John Levon  <levon@movementarian.org>
5412
5413         * lyx_cb.C:
5414         * BufferView.C:
5415         * buffer.C: warnings pushed down from support/,
5416         kill err_alert
5417
5418 2003-03-29  John Levon  <levon@movementarian.org>
5419
5420         * lyxfunc.C: safety check for C-r (revert)
5421
5422 2003-03-29  John Levon  <levon@movementarian.org>
5423
5424         * bufferlist.h:
5425         * bufferlist.C: several UI fixes using Alert::prompt.
5426         Fix the pointless looping quit code. Fix stupid revert
5427         behaviour (bug 938)
5428
5429         * lyxvc.h:
5430         * lyxvc.C:
5431         * lyx_cb.C: use Alert::prompt
5432
5433         * lyx_main.C: remove a silly question
5434
5435         * lyxfunc.C: remove a couple of silly questions,
5436         use Alert::prompt
5437
5438 2003-03-28  John Levon  <levon@movementarian.org>
5439
5440         * text2.C: fix bug 974 (End on empty par)
5441
5442 2003-03-28  John Levon  <levon@movementarian.org>
5443
5444         * BufferView_pimpl.C:
5445         * LyXAction.C:
5446         * lfuns.h: remove do-nothing math greek lfuns
5447
5448 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5449
5450         * lyxgluelength.h (isValidGlueLength): add default arg on
5451         parameter 2. Remove default arg from friend in class.
5452
5453         * lyxlength.h (isValidLength): add default arg on parameter 2.
5454         Remove default arg from friend in class.
5455
5456         * text2.C (LyXText): adjust, initialize refresh_row.
5457         (init): adjust
5458         (removeRow): adjust
5459         (insertRow): adjust
5460         (insertParagraph): adjst
5461         (redoParagraphs): adjust
5462         (fullRebreak): adjust
5463         (updateCounters): adjust
5464         (deleteEmptyParagraphMechanism): first attempt at fixing a
5465         crashing bug.
5466
5467         * text.C (top_y): adjust
5468         (setHeightOfRow): adjust
5469         (getRow): adjust
5470         (getRowNearY): adjust
5471
5472         * lyxtext.h: include RowList.h
5473         (~LyXText): not needed anymore, deleted.
5474         (firstRow): modify for RowList
5475         (lastRow): new function
5476         Delete firstrow and lastrow class variables, add a Rowlist
5477         rowlist_ class variable.
5478
5479         * lyxrow.C (lastPos): use empty() and not !size() to check if a
5480         paragraph is empty.
5481
5482         * RowList.C (insert): fix case where it == begin().
5483
5484 2003-03-26  Angus Leeming  <leeming@lyx.org>
5485
5486         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5487         the thesaurus dialog.
5488
5489 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5490
5491         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5492
5493         * RowList.[Ch]: new files
5494
5495         * ParagraphList.C (erase): handle the case where it == begin
5496         correctly.
5497
5498 2003-03-25  John Levon  <levon@movementarian.org>
5499
5500         * Makefile.am:
5501         * aspell_local.h:
5502         * aspell.C: add new aspell support
5503
5504         * lyxrc.h:
5505         * lyxrc.C: Make use_pspell be use_spell_lib. Always
5506         have it accessible.
5507
5508 2003-03-25  Angus Leeming  <leeming@lyx.org>
5509
5510         * lfuns.h:
5511         * LyXAction.C (init): new LFUN_INSET_INSERT.
5512
5513         * BufferView_pimpl.C (dispatch): split out part of the
5514         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5515
5516         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5517         LFUN_INSET_APPLY.
5518
5519 2003-03-25  Angus Leeming  <leeming@lyx.org>
5520
5521         * lyxfunc.C (dispatch): changes to the Dialogs interface.
5522
5523 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
5524
5525         * text2.C:
5526         * text3.C: remove useless row->height(0)
5527
5528 2003-03-25  John Levon  <levon@movementarian.org>
5529
5530         * lyxtext.h:
5531         * text2.C:
5532         * text3.C: rename the refreshing stuff to better names
5533
5534 2003-03-24  John Levon  <levon@movementarian.org>
5535
5536         * BufferView_pimpl.h:
5537         * BufferView_pimpl.C: update layout choice on a mouse
5538         press/release
5539
5540 2003-03-23  John Levon  <levon@movementarian.org>
5541
5542         * Makefile.am: fix commandtags.h reference
5543
5544 2003-03-22  John Levon  <levon@movementarian.org>
5545
5546         * BufferView_pimpl.C:
5547         * lyxtext.h:
5548         * rowpainter.C:
5549         * rowpainter.h:
5550         * text.C:
5551         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5552
5553 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
5554
5555         * lyxtext.h:
5556         * text.C: take the rtl methods out of line
5557
5558 2003-03-21 André Pönitz <poenitz@gmx.net>
5559
5560         * metricsinfo.[Ch]: new files containing structures to be passed around
5561         during the two-phase-drawing...
5562
5563 2003-03-21 André Pönitz <poenitz@gmx.net>
5564
5565         * lyxtextclass.C: read 'environment' tag.
5566
5567 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
5568
5569         * text2.C (removeRow): fix bug 964
5570
5571 2003-03-20  John Levon  <levon@movementarian.org>
5572
5573         * rowpainter.C:
5574         * text.C:
5575         * text2.C: paint cleanups. Inset::update() dropped font
5576         parameter
5577
5578 2003-03-19  John Levon  <levon@movementarian.org>
5579
5580         * lyxfunc.C: only fitcursor/markDirty if available()
5581
5582 2003-03-19  John Levon  <levon@movementarian.org>
5583
5584         * commandtags.h: rename to ...
5585
5586         * lfuns.h: ... this, and renumber / cleanup
5587
5588 2003-03-19  John Levon  <levon@movementarian.org>
5589
5590         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5591         fit the cursor after an lfun
5592
5593         * BufferView.h:
5594         * BufferView.C:
5595         * BufferView_pimpl.h:
5596         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5597
5598         * LyXAction.C: layout-character should have ReadOnly
5599
5600         * ParagraphParameters.C:
5601         * buffer.C:
5602         * bufferview_funcs.C:
5603         * lyx_cb.C:
5604         * lyxfind.C:
5605         * lyxtext.h:
5606         * text.C:
5607         * text2.C:
5608         * text3.C:
5609         * undo_funcs.C: changes from above
5610
5611 2003-03-18  John Levon  <levon@movementarian.org>
5612
5613         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5614         remove it from update()
5615
5616         * lyxfunc.C: update layout choice after an lfun
5617
5618         * text3.C: remove extra updateLayoutChoice()s
5619
5620 2003-03-18  John Levon  <levon@movementarian.org>
5621
5622         * text.C: top_y change means full repaint, fix
5623         a drawing bug with cursor movement
5624
5625 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5626
5627         * lyxtext.h:
5628         * text.C:
5629         * text2.C: anchor row on setCursor
5630
5631 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5632
5633         * lyxtext.h: remove almost all mutable keywords
5634         * text.C:
5635         * text2.C:
5636         * text3.C: remove const keywords accordingly
5637
5638 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5639
5640         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5641         anon namespace
5642         (TeXEnvironment): ditto
5643         (TeXOnePar): ditto
5644
5645 2003-03-17  John Levon  <levon@movementarian.org>
5646
5647         * text.C (rowBreakPoint): remove attempt to fix displayed
5648         math insets inside a manual label
5649
5650 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5651
5652         * lyxtext.h: remove BufferView* as first arg from almost all class
5653         functions.
5654         * other files: adjust.
5655
5656 2003-03-17  John Levon  <levon@movementarian.org>
5657
5658         * lyxtext.h:
5659         * undo_funcs.C:
5660         * text2.C: more paint cleanups
5661
5662         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5663
5664         * rowpainter.h:
5665         * rowpainter.C: remove "smart" background painting code
5666
5667 2003-03-16  John Levon  <levon@movementarian.org>
5668
5669         * lyxtext.h:
5670         * text.C:
5671         * text2.C:
5672         * text3.C: add helper functions for setting refresh_row/y
5673
5674 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
5675
5676         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5677         newline inset which *can* get inserted in the pass_thru layouts.
5678         This is primarily for literate documents.
5679
5680 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
5681
5682         * buffer.C: increment LYX_FORMAT to 223
5683
5684 2003-03-14 André Pönitz <poenitz@gmx.net>
5685
5686         * textclass.h: prepare for environment handling, ws changes
5687         * lyxlayout.C: read latexheader and latexfooter tags
5688
5689 2003-03-14  John Levon  <levon@movementarian.org>
5690
5691         * text2.C: rewrite ::status() a bit
5692
5693 2003-03-13  John Levon  <levon@movementarian.org>
5694
5695         * lyxtext.h: add some docs
5696
5697 2003-03-13  John Levon  <levon@movementarian.org>
5698
5699         * lyxtext.h:
5700         * text.C:
5701         * text2.C:
5702         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5703
5704 2003-03-13  John Levon  <levon@movementarian.org>
5705
5706         * text3.C: fix appendix redrawing
5707
5708 2003-03-13  John Levon  <levon@movementarian.org>
5709
5710         * text.C (setHeightOfRow):
5711         * rowpainter.h:
5712         * rowpainter.C: make appendix mark have the text
5713           "Appendix" so the user knows what it is
5714
5715         * LColor.h:
5716         * LColor.C: s/appendixline/appendix/ from above
5717
5718 2003-03-13  John Levon  <levon@movementarian.org>
5719
5720         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5721
5722         * text.C: fix a getChar(pos) bug properly
5723
5724 2003-03-13  Angus Leeming  <leeming@lyx.org>
5725
5726         * commandtags.h:
5727         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5728         Probably only temporary. Let's see how things pan out.
5729
5730         * BufferView.C (unlockInset):
5731         * BufferView_pimpl.C (fitCursor):
5732         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5733
5734         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5735         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5736
5737         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5738         new functions that convert ParagraphParameters to and from a string.
5739
5740         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5741         BufferView::Pimpl's dispatch.
5742         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5743
5744 2003-03-13 André Pönitz <poenitz@gmx.net>
5745
5746         * lyxfunc.C:
5747         * text3.C:
5748         * factory.C: make it aware of InsetEnv
5749
5750 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5751
5752         * text2.C (setCursor): never ask for one past last
5753         (setCursor): add some debugging messages.
5754
5755         * text.C (singleWidth): never ask for one past last
5756         (singleWidth): ditto
5757         (leftMargin): ditto
5758         (rightMargin): ditto
5759         (rowBreakPoint): ditto
5760         (setHeightOfRow): ditto
5761         (prepareToPrint): ditto
5762
5763         * rowpainter.C (paintBackground): never ask for one past last
5764         (paintText): never ask for one past last
5765
5766         * paragraph_pimpl.C (getChar): make the assert stricter, never
5767         allow the one past last pos to be taken
5768
5769         * paragraph.C (getChar): ws changes only
5770
5771         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5772         (numberOfSeparators): ditto
5773         (numberOfHfills): ditto
5774
5775 2003-03-12  John Levon  <levon@movementarian.org>
5776
5777         * author.h:
5778         * author.C:
5779         * bufferparams.h:
5780         * bufferparams.C:
5781         * paragraph_funcs.C: fix per-buffer authorlists
5782
5783 2003-03-12  John Levon  <levon@movementarian.org>
5784
5785         * text.C: fix newline in right address
5786
5787 2003-03-12  Angus Leeming  <leeming@lyx.org>
5788
5789         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5790         duplicate those in LyXFunc::dispatch.
5791
5792         * commandtags.h:
5793         * LyXAction.C:
5794         * ToolbarDefaults.C:
5795         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5796         Add LFUN_FONTFREE_UPDATE.
5797
5798         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5799         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5800
5801         * bufferview_func.[Ch]: several new functions to facilliate
5802         transfer of data to and from the character dialog.
5803
5804 2003-03-12  John Levon  <levon@movementarian.org>
5805
5806         * buffer.C:
5807         * paragraph.h:
5808         * paragraph.C:
5809         * paragraph_funcs.C:
5810         * paragraph_pimpl.C:
5811         * sgml.C:
5812         * tabular.C:
5813         * text.C:
5814         * text3.C: remove META_NEWLINE in favour of an inset
5815
5816         * rowpainter.h:
5817         * rowpainter.C: remove paintNewline (done by inset)
5818
5819 2003-03-12  John Levon  <levon@movementarian.org>
5820
5821         * paragraph_pimpl.C: complain about bad getChar()s
5822         for a while at least
5823
5824 2003-03-12  John Levon  <levon@movementarian.org>
5825
5826         * buffer.h:
5827         * buffer.C: move paragraph read into a separate function,
5828         a little renaming to reflect that.
5829
5830         * bufferparams.h:
5831         * bufferparams.C: remove the author_ids map, not necessary now
5832
5833         * factory.h:
5834         * factory.C: moved Buffer::readInset to here
5835
5836         * paragraph_funcs.h:
5837         * paragraph_funcs.C: readParagraph free function moved from
5838         buffer.C
5839
5840         * tabular.C: name change
5841
5842 2003-03-12  John Levon  <levon@movementarian.org>
5843
5844         * buffer.C:
5845         * ParagraphParameters.C: move par params input to
5846         a read() method
5847
5848         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5849         behave like a normal read from the stream wrt reading
5850         a line vs. a \\token
5851
5852 2003-03-12  John Levon  <levon@movementarian.org>
5853
5854         * paragraph.C:
5855         * ParagraphParameters.h:
5856         * ParagraphParameters.C: move output code to a
5857         ::write() method
5858
5859 2003-03-12  John Levon  <levon@movementarian.org>
5860
5861         * BufferView.C (insertLyXFile):
5862         * buffer.h:
5863         * buffer.C:
5864         * tabular.C: use a parlist iterator for creating the
5865           document.
5866
5867 2003-03-12  John Levon  <levon@movementarian.org>
5868
5869         * buffer.C: make current_change static local not
5870           static file-scope
5871
5872 2003-03-12  John Levon  <levon@movementarian.org>
5873
5874         * buffer.C: fix insertStringAsLines for change tracking
5875
5876 2003-03-12  John Levon  <levon@movementarian.org>
5877
5878         * BufferView.C:
5879         * tabular.C:
5880         * buffer.h:
5881         * buffer.C:
5882         * bufferparams.h:
5883         * bufferparams.C: move author list into params. Rename some
5884           functions. Move the header reading into a separate token
5885           loop. Move the header token reading into BufferParams.
5886
5887 2003-03-12  John Levon  <levon@movementarian.org>
5888
5889         * changes.C: put debug inside lyxerr.debugging() checks
5890
5891 2003-03-11 André Pönitz <poenitz@gmx.net>
5892
5893         * factory.C: make it aware of InsetHFill
5894
5895 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5896
5897         * buffer.C (latexParagraphs): move function from here...
5898         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5899         args.
5900
5901 2003-03-10  Angus Leeming  <leeming@lyx.org>
5902
5903         * LyXAction.C (init): fix bug in poplating array with multiple entries
5904         with the same LFUN (spotted by JMarc).
5905
5906 2003-03-10  John Levon  <levon@movementarian.org>
5907
5908         * text.C:
5909         * text2.C: move getColumnNearX() near its
5910         only call site
5911
5912 2003-03-10  John Levon  <levon@movementarian.org>
5913
5914         * text.C: fix break before a minipage
5915
5916 2003-03-10  John Levon  <levon@movementarian.org>
5917
5918         * text.C: fix the last commit
5919
5920 2003-03-09  John Levon  <levon@movementarian.org>
5921
5922         * lyxtext.h:
5923         * text.C:
5924         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5925         bug 365 (don't break before insets unless needed). Don't
5926         return a value > last under any circumstances.
5927
5928 2003-03-09  Angus Leeming  <leeming@lyx.org>
5929
5930         * BufferView_pimpl.C (trackChanges, dispatch): call
5931         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5932
5933 2003-03-09  Angus Leeming  <leeming@lyx.org>
5934
5935         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5936         than Dialogs::showAboutlyx().
5937
5938 2003-03-09  Angus Leeming  <leeming@lyx.org>
5939
5940         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5941         than Dialogs::showTabularCreate().
5942
5943 2003-03-09  John Levon  <levon@movementarian.org>
5944
5945         * lyxtext.h:
5946         * text.C:
5947         * text2.C: 3rd arg to nextBreakPoint was always the same.
5948           Use references.
5949
5950 2003-03-08  John Levon  <levon@movementarian.org>
5951
5952         * lyxrow.C:
5953         * paragraph.C:
5954         * paragraph.h:
5955         * rowpainter.C:
5956         * text.C:
5957         * text2.C: Remove the "main" bit from the "main body"
5958           notion.
5959
5960 2003-03-08  John Levon  <levon@movementarian.org>
5961
5962         * text.C (leftMargin): The left margin of an empty
5963         manual label paragraph should not include the label width
5964         string length.
5965
5966         * text.C (prepareToPrint): don't attempt to measure hfills
5967         for empty manual label paragraphs - the answer should be 0
5968
5969 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5970
5971         * CutAndPaste.C: remove commented code and reindent.
5972
5973 2003-03-08  John Levon  <levon@movementarian.org>
5974
5975         * lyxfunc.h:
5976         * lyxfunc.C: move reloadBuffer()
5977
5978         * BufferView.h:
5979         * BufferView.C: to here
5980
5981         * lyxvc.C: add comment
5982
5983         * vc-backend.h:
5984         * vc-backend.C: call bv->reload() to avoid
5985           getStatus() check on MENURELOAD
5986
5987 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
5988
5989         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5990         to an old format .dep file.
5991
5992 2003-03-07  Angus Leeming  <leeming@lyx.org>
5993
5994         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5995         when the LFUN_MOUSE_RELEASE should have been handled by
5996         inset->localDispatch.
5997
5998 2003-03-07  Angus Leeming  <leeming@lyx.org>
5999
6000         * BufferView_pimpl.C (dispatch):
6001         * LyXAction.C (init):
6002         * ToolbarDefaults.C (init):
6003         * commandtags.h:
6004         * lyxfunc.C (getStatus):
6005         remove LFUN_INSET_GRAPHICS.
6006
6007         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6008
6009 2003-03-07  Angus Leeming  <leeming@lyx.org>
6010
6011         * commandtags.h:
6012         * LyXAction.C (init):
6013         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6014
6015         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6016
6017         * commandtags.h:
6018         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6019
6020         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6021         localDispatch method LFUN_INSET_DIALOG_UPDATE.
6022
6023 2003-03-07  Angus Leeming  <leeming@lyx.org>
6024
6025         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6026         remove "ert".
6027
6028 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6029
6030         * ParagraphList.C (front): new function
6031         (back): implement
6032
6033 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
6034
6035         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6036         and top_row_offset_. removed var first_y.
6037         * text.C (top_y):
6038         * text2.C (LyXText, removeRow):
6039         * text3.C:
6040         * BufferView_pimpl.C:
6041         use these methods instead of using first_y
6042
6043 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6044
6045         * text2.C (pasteSelection): adjust for checkPastePossible
6046
6047         * CutAndPaste.C: remove Paragraph * buf and replace with
6048         ParagraphList paragraphs.
6049         (DeleteBuffer): delete
6050         (cutSelection): change the tc type to textclass_type
6051         (copySelection): change the tc type to textclass_type
6052         (copySelection): adjust for ParagraphList
6053         (pasteSelection): change the tc type to textclass_type
6054         (pasteSelection): adjust for Paragraphlist
6055         (nrOfParagraphs): simplify for ParagraphList
6056         (checkPastePossible): simplify for ParagraphList
6057         (checkPastePossible): remove unused arg
6058
6059         * ParagraphList.C (insert): handle the case where there are no
6060         paragraphs yet.
6061
6062         * CutAndPaste.h: make CutAndPaste a namespace.
6063
6064         * text3.C (dispatch): adjust
6065
6066         * text.C (breakParagraph): add a ParagraphList as arg
6067
6068         * paragraph_funcs.C (breakParagraph): change to take a
6069         BufferParams and a ParagraphList as args.
6070         (breakParagraphConservative): ditto
6071         (mergeParagraph): ditto
6072         (TeXDeeper): add a ParagraphList arg
6073         (TeXEnvironment): ditto
6074         (TeXOnePar): ditto
6075
6076         * buffer.C (readLyXformat2): adjust
6077         (insertStringAsLines): adjust
6078         (latexParagraphs): adjust
6079
6080         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6081         (cutSelection): adjust
6082         (pasteSelection): adjust
6083
6084         * BufferView_pimpl.C (insertInset): adjust
6085
6086 2003-03-05  Angus Leeming  <leeming@lyx.org>
6087
6088         * commandtags.h:
6089         * LyXAction.C (init):
6090         * BufferView_pimpl.C (dispatch):
6091         * lyxfunc.C (getStatus):
6092         remove LFUN_CHILD_INSERT.
6093
6094         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6095
6096 2003-03-05  Angus Leeming  <leeming@lyx.org>
6097
6098         * commandtags.h:
6099         * LyXAction.C (init):
6100         * src/factory.C (createInset):
6101         * lyxfunc.C (getStatus):
6102         * text3.C (dispatch):
6103         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6104
6105         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6106
6107 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6108
6109         * ParagraphList.C (insert): handle insert right before end()
6110         (erase): fix cases where it can be first or last paragraph.
6111
6112 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6113
6114         * paragraph_funcs.C (TeXEnvironment): remove all usage of
6115         Paragraph::next and Paragraph::previous
6116         (TeXOnePar): ditto
6117
6118         * text.C (breakParagraph): adjust
6119
6120         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6121         BufferParams& as arg.
6122         (breakParagraph): use ParagraphList::insert
6123         (breakParagraphConservative): take a Buffer* instead of a
6124         BufferParams& as arg.
6125         (breakParagraphConservative): use ParagraphList::insert.
6126
6127         * buffer.C (insertStringAsLines): un-const it
6128         (insertStringAsLines): adjust
6129
6130         * ParagraphList.C (insert): new function
6131
6132         * CutAndPaste.C (pasteSelection): adjust
6133
6134         * text.C (backspace): adjust
6135
6136         * tabular.C (SetMultiColumn): adjust
6137
6138         * CutAndPaste.C (cutSelection): adjust
6139         (pasteSelection): adjust
6140
6141         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6142         Buffer const * as arg
6143
6144         * ParagraphList.C (erase): new function
6145         * paragraph_funcs.C (mergeParagraph): use it
6146         (mergeParagraph): make it take a Buffer* instead of a
6147         BufferParams* as arg
6148
6149         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6150         as arg
6151         (breakParagraphConservative): ditto
6152
6153         * paragraph.h: remove the breakParagraph friend
6154
6155         * paragraph.C (eraseIntern): new function
6156         (setChange): new function
6157
6158         * paragraph_funcs.C (mergeParagraph): make it take a
6159         ParagraphList::iterator instead of a Paragraph *, adjust
6160         accordingly.
6161
6162         * paragraph.h: move an #endif so that the change tracking stuff
6163         also works in the NO_NEXT case.
6164
6165 2003-03-04  Angus Leeming  <leeming@lyx.org>
6166
6167         * commandtags.h:
6168         * LyXAction.C: new LFUN_INSET_MODIFY.
6169
6170         * BufferView_pimpl.C (dispatch): if an inset is found to be open
6171         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6172
6173 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6174
6175         * several files: ws changes only
6176
6177         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6178         (TeXEnvironment): ditto
6179         (TeXDeeper): ditto
6180
6181         * buffer.C (makeLaTeXFile): adjust
6182         (latexParagraphs): make it take ParagraphList::iterator as args
6183
6184 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6185
6186         * buffer.C (latexParagraphs): adjust
6187
6188         * paragraph.C (TeXOnePar): move function...
6189         (optArgInset): move function...
6190         (TeXEnvironment): move function...
6191         * paragraph_pimpl.C (TeXDeeper): move function...
6192         * paragraph_funcs.C: ...here
6193
6194         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6195
6196 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6197
6198         * buffer.C (readInset): remove compability code for old Figure and
6199         InsetInfo insets
6200
6201 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6202
6203         * buffer.C: ws changes
6204         (readInset):
6205
6206         * BufferView_pimpl.C: ditto
6207         * author.C: ditto
6208         * buffer.h: ditto
6209         * bufferlist.h: ditto
6210         * changes.h: ditto
6211         * lyxfunc.C: ditto
6212
6213 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
6214
6215         * converter.[Ch]: split into itself +
6216         * graph.[Ch]
6217         * format.[Ch]
6218         * Makefile.am: += graph.[Ch] + format.[Ch]
6219         * MenuBackend.C
6220         * buffer.C
6221         * exporter.C
6222         * importer.C
6223         * lyx_main.C
6224         * lyxfunc.C
6225         * lyxrc.C: added #include "format.h"
6226
6227 2003-02-27  Angus Leeming  <leeming@lyx.org>
6228
6229         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6230           a label.
6231
6232         * factory.C (createInset): add "label" to the factory.
6233
6234         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6235           string and do no more.
6236
6237 2003-02-27  Angus Leeming  <leeming@lyx.org>
6238
6239         * commandtags.h:
6240         * LyXAction.C (init):
6241         * factory.C (createInset):
6242         * BufferView_pimpl.C (dispatch):
6243           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6244
6245         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6246
6247         * lyxfunc.C (dispatch):
6248         * text3.C (dispatch): pass name to params2string.
6249
6250 2003-02-26  Angus Leeming  <leeming@lyx.org>
6251
6252         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6253           blocks together.
6254           Rearrange the ~includes. Strip out the unnecessary ones.
6255
6256         * factory.C (createInset): reformat.
6257           create new insets for the various LFUN_XYZ_APPLY lfuns.
6258
6259 2003-02-26  John Levon  <levon@movementarian.org>
6260
6261         * lyxrow.h:
6262         * lyxrow.C: add isParStart,isParEnd helpers
6263
6264         * paragraph.h: make isInserted/DeletedText take refs
6265
6266         * paragraph_funcs.h:
6267         * paragraph_funcs.C: remove #if 0'd code
6268
6269         * lyxtext.h:
6270         * text3.C:
6271         * text2.C:
6272         * text.C: use lyxrow helpers above.
6273           Move draw and paint routines to RowPainter.
6274           Make several methods use refs not pointers.
6275           Make backgroundColor() const.
6276           Add markChangeInDraw(), isInInset().
6277           Merge changeRegionCase into changeCase.
6278           Make workWidth() shouldn't-happen code into an Assert.
6279
6280         * rowpainter.h:
6281         * rowpainter.C: new class for painting a row.
6282
6283         * vspace.h:
6284         * vspace.C: make inPixels take a ref
6285
6286 2003-02-26  Angus Leeming  <leeming@lyx.org>
6287
6288         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6289         LFUN_REF_APPLY.
6290
6291 2003-02-25  John Levon  <levon@movementarian.org>
6292
6293         * ispell.C: give the forked command a more accurate name
6294
6295 2003-02-22  John Levon  <levon@movementarian.org>
6296
6297         * toc.h:
6298         * toc.C: make TocItem store an id not a Paragraph *
6299           (bug #913)
6300
6301 2003-02-21  Angus Leeming  <leeming@lyx.org>
6302
6303         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6304           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6305           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6306           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6307           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6308           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6309
6310         * BufferView_pimpl.C (dispatch):
6311         * LyXAction.C (init):
6312         * factory.C (createInset):
6313         * lyxfunc.C (getStatus, dispatch):
6314         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6315
6316 2003-02-21  Angus Leeming  <leeming@lyx.org>
6317
6318         * BufferView_pimpl.C (MenuInsertLyXFile):
6319         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6320         * lyxfunc.C (menuNew, open, doImport):
6321           no longer pass a LyXView & to fileDlg.
6322
6323 2003-02-21  Angus Leeming  <leeming@lyx.org>
6324
6325         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6326         * LyXAction.C: change, BIBKEY to BIBITEM.
6327         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6328         Change InsetBibKey to InsetBibitem.
6329         Change BIBKEY_CODE to BIBITEM_CODE.
6330         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6331         * factory.C: replace insetbib.h with insetbibitem.h.
6332         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6333         * paragraph.C: replace insetbib.h with insetbibitem.h.
6334         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6335         Change bibkey() to bibitem().
6336         * text.C: remove insetbib.h.
6337         * text2.C: replace insetbib.h with insetbibitem.h.
6338         change bibkey() to bibitem().
6339         * text3.C: remove insetbib.h.
6340         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6341
6342 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6343
6344         * lyxrc.C (output): enclose user email in quotes (in case there are
6345         several words)
6346
6347 2003-02-18  John Levon  <levon@movementarian.org>
6348
6349         * buffer.h: add std::
6350
6351 2003-02-17  John Levon  <levon@movementarian.org>
6352
6353         * SpellBase.h:
6354         * ispell.h:
6355         * ispell.C:
6356         * pspell.h:
6357         * pspell.C: reworking. Especially in ispell, a large
6358           number of clean ups and bug fixes.
6359
6360         * lyxfunc.C: fix revert to behave sensibly
6361
6362 2003-02-17 André Pönitz <poenitz@gmx.net>
6363
6364         * LyXAction.C:
6365         * commandtags.h: new LFUN_INSERT_BIBKEY
6366
6367         * layout.h:
6368         * lyxlayout.C:
6369         * buffer.C:
6370         * factory.C:
6371         * text.C:
6372         * text2.C:
6373         * text3.C:
6374         * paragraph.[Ch]:
6375         * paragraph_func.C: remove special bibkey handling
6376
6377 2003-02-17  John Levon  <levon@movementarian.org>
6378
6379         * text.C (Delete): fix case where delete at the end of
6380           the very first paragraph would not merge the pars
6381
6382 2003-02-17  John Levon  <levon@movementarian.org>
6383
6384         * lyxrow.C: fix lastPrintablePos()
6385
6386 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6387
6388         * bufferparams.C (writeLaTeX): add a std:here
6389
6390         * buffer.C: and remove a using directive there
6391
6392 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6393
6394         * buffer.C (makeLaTeXFile): move the code that generates the
6395           preamble...
6396
6397         * bufferparams.C (writeLaTeX): ... in this new method
6398
6399         * LaTeXFeatures.C (getEncodingSet): make const
6400           (getLanguages): make const
6401
6402         * MenuBackend.C (binding): returns the binding associated to this
6403           action
6404           (add): sets the status of each item by calling getStatus. Adds
6405           some intelligence.
6406           (read): add support for OptSubMenu
6407           (expand): remove extra separator at the end of expanded menu
6408
6409 2003-02-15  John Levon  <levon@movementarian.org>
6410
6411         * BufferView.C:
6412         * BufferView_pimpl.C:
6413         * bufferlist.h:
6414         * bufferlist.C: remove pointless BufferStorage bloat. Remove
6415           inset code that had no actual effect. Remove unneeded status
6416           code.
6417
6418 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6419
6420         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6421           in preamble
6422
6423 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
6424
6425         * text.C (drawLengthMarker): also draw an arrow marker for
6426           symbolic lengths (medskip...)
6427
6428 2003-02-14  John Levon  <levon@movementarian.org>
6429
6430         * tabular.h:
6431         * tabular.C: better method names
6432
6433 2003-02-14  John Levon  <levon@movementarian.org>
6434
6435         * BufferView_pimpl.C:
6436         * bufferlist.C:
6437         * buffer.C:
6438         * converter.C:
6439         * lyx_cb.C:
6440         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6441           it's a more accurate name. Remove some pointless uses.
6442
6443 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6444
6445         * text2.C (LyXText): change order of initilizers to shut off
6446           warnings
6447
6448 2003-02-14  John Levon  <levon@movementarian.org>
6449
6450         * buffer.C: use ParIterator for getParFromID()
6451
6452         * paragraph.h:
6453         * paragraph.C:
6454         * paragraph_pimpl.h:
6455         * paragraph_pimpl.C: remove unused getParFromID()
6456
6457 2003-02-14  John Levon  <levon@movementarian.org>
6458
6459         * buffer.C: remove some very old #if 0'd parse code
6460
6461 2003-02-13  John Levon  <levon@movementarian.org>
6462
6463         * text.h:
6464         * text.C:
6465         * text2.C: move hfillExpansion(), numberOfSeparators(),
6466           rowLast(), rowLastPrintable(), numberofHfills(),
6467           numberOfLabelHfills() ...
6468
6469         * lyxrow.h:
6470         * lyxrow.C: ... to member functions here.
6471
6472         * paragraph.h:
6473         * paragraph.C:
6474         * lyxtext.h:
6475         * text.C: remove LyXText::beginningOfMainBody(), and call
6476           p->beginningOfMainBody() directly. Move the check for
6477           LABEL_MANUAL into the latter.
6478
6479         * text.h:
6480         * text.C:
6481         * text2.C:
6482         * vspace.C:
6483         * BufferView.h:
6484         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6485
6486         * text.h:
6487         * text.C:
6488         * text2.C:
6489         * text3.C:
6490         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6491           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6492
6493 2003-02-13  John Levon  <levon@movementarian.org>
6494
6495         * CutAndPaste.C: remove debug
6496
6497 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6498
6499         * paragraph.C (asString): remove two unused variables
6500
6501         * lyxtextclass.C (readTitleType):
6502           (Read):
6503           (LyXTextClass): handle new members titletype_ and titlename_
6504
6505         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6506
6507 2003-02-09  John Levon  <levon@movementarian.org>
6508
6509         * buffer.h:
6510         * buffer.C: replace hand-coded list with a map for the dep clean
6511
6512 2003-02-08  John Levon  <levon@movementarian.org>
6513
6514         * LaTeX.C: consolidate code into showRunMessage() helper
6515
6516 2003-02-08  John Levon  <levon@movementarian.org>
6517
6518         * lyxfind.C:
6519         * lyxtext.h:
6520         * text2.C:
6521         * BufferView.C: change setSelectionOverString() to setSelectionRange()
6522           and pass the size in explicitly
6523
6524         * BufferView_pimpl.h:
6525         * BufferView_pimpl.C:
6526         * BufferView.h:
6527         * BufferView.C: add getCurrentChange()
6528
6529         * BufferView_pimpl.h:
6530         * BufferView_pimpl.C: handle change lfuns
6531
6532         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6533           for changes. Mark pasted paragraphs as new.
6534
6535         * support/lyxtime.h:
6536         * support/lyxtime.C:
6537         * DepTable.C: abstract time_t as lyx::time_type
6538
6539         * LColor.h:
6540         * LColor.C: add colours for new text, deleted text, changebars
6541
6542         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6543           package use "usenames" option.
6544
6545         * commandtags.h:
6546         * lyxfunc.C:
6547         * LyXAction.C: add change lfuns
6548
6549         * Makefile.am:
6550         * author.h:
6551         * author.C: author handling
6552
6553         * buffer.h:
6554         * buffer.C: add a per-buffer author list, with first entry as
6555           current author. Handle new .lyx tokens for change tracking. Output
6556           author list to .lyx file. Output dvipost stuff to .tex preamble.
6557           Bump lyx format to 222.
6558
6559         * bufferlist.h:
6560         * bufferlist.C: add setCurrentAuthor() to reset current author details
6561           in all buffers.
6562
6563         * bufferparams.h:
6564         * bufferparams.C: add param for tracking
6565
6566         * bufferview_funcs.C: output change info in minibuffer
6567
6568         * Makefile.am:
6569         * changes.h:
6570         * changes.C: add change-tracking structure
6571
6572         * debug.h:
6573         * debug.C: add CHANGES debug flag
6574
6575         * lyxfind.h:
6576         * lyxfind.C: add code for finding the next change piece
6577
6578         * lyxrc.h:
6579         * lyxrc.C: add user_name and user_email
6580
6581         * lyxrow.h:
6582         * lyxrow.C: add a metric for the top of the text line
6583
6584         * lyxtext.h:
6585         * text.C: implement accept/rejectChange()
6586
6587         * lyxtext.h:
6588         * text.C: paint changebars. Paint new/deleted text in the chosen
6589         colours. Strike through deleted text.
6590
6591         * paragraph.h:
6592         * paragraph.C:
6593         * paragraph_pimpl.h:
6594         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6595           in the current change to the insert functions. Rework erase to
6596           mark text as deleted, adding an eraseIntern() and a range-based
6597           erase(). Implement per-paragraph change lookup and
6598           accept/reject.
6599
6600         * paragraph_funcs.C: Fixup paste for change tracking.
6601
6602         * tabular.C: mark added row/columns as new.
6603
6604         * text.C: fix rowLast() to never return -1. Don't allow
6605           spellchecking of deleted text. Track transpose changes. Don't
6606           allow paragraph break or merge where appropriate.
6607
6608         * text2.C: leave cursor at end of selection after a cut.
6609
6610 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6611
6612         * text.C (getLengthMarkerHeight):
6613         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6614         visible on screen too.
6615
6616 2003-02-07  John Levon  <levon@movementarian.org>
6617
6618         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6619
6620 2003-02-05  Angus Leeming  <leeming@lyx.org>
6621
6622         * lyxserver.C (read_ready): revert my patch of 11 September last year
6623         as it sends PC cpu through the roof. Presumably this means that
6624         the lyxserver will no longer run on an Alpha...
6625
6626 2003-01-30  Angus Leeming  <leeming@lyx.org>
6627
6628         * factory.C (createInset): create an InsetCommandParam of type "index"
6629         and use it to 'do the right thing'.
6630
6631         * text2.C (getStringToIndex): ensure that cursor position is always
6632         reset to the reset_cursor position.
6633
6634 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6635
6636         * lyxfunc.C (getStatus): "buffer-export custom" should never be
6637         disabled.
6638
6639 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
6640
6641         * bufferview.C:
6642         * lyxcb.C:
6643         * lyxfunc.C: Output messages with identical spelling, punctuation,
6644         and spaces
6645
6646 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
6647
6648         * MenuBackend.C (expandFormats): List only viewable export formats
6649         in "View" menu
6650
6651         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6652         message
6653
6654         * lyxfunc.C (getStatus): Make sure that formats other than
6655         "fax" can also be disabled
6656
6657 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6658
6659         * text3.C (dispatch): put the lfuns that insert insets in 3
6660         groups, and call doInsertInset with appropriate arguments.
6661         (doInsertInset): new function, that creates an inset and inserts
6662         it according to some boolean parameters.
6663
6664 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6665
6666         * buffer.C (readFile): remember to pass on 'par' when calling
6667         readFile recursively.
6668
6669 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6670
6671         * MenuBackend.C (expandFormats): add "..." to import formats.
6672
6673 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
6674
6675         * paragraph.C (asString): Remove XForms RTL hacks.
6676
6677 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
6678         * buffer.C: fix typo
6679
6680 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6681
6682         * Makefile.am (LIBS): delete var
6683         (lyx_LDADD): add @LIBS@ here instead.
6684
6685 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
6686
6687         * Clarify the meaning of "wheel mouse jump"
6688
6689 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6690
6691         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6692         tabular in a float
6693
6694 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6695
6696         * importer.C (Loaders): do not preallocate 3 elements in the
6697         vector, since one ends up with 6 elements otherwise
6698
6699 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6700
6701         * DepTable.C (write): write the file name as last element of the
6702         .dep file (because it may contain spaces)
6703         (read): read info in the right order
6704
6705 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6706
6707         * paragraph_pimpl.C (simpleTeXBlanks):
6708         (simpleTeXSpecialChars):
6709         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6710
6711         * tabular.C (latex): add some missing case statements. Reindent.
6712
6713         * MenuBackend.C (expandToc): remove unused variable.
6714
6715 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
6716
6717         * LColor.C:
6718         * LaTeX.C:
6719         * LyXAction.C:
6720         * MenuBackend.C:
6721         * buffer.C:
6722         * exporter.C:
6723         * lyxfunc.C:
6724         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6725         and the like.
6726
6727 2003-01-05  John Levon  <levon@movementarian.org>
6728
6729         * BufferView.h:
6730         * BufferView.C: add getEncoding()
6731
6732         * kbsequence.h:
6733         * kbsequence.C: do not store last keypress
6734
6735         * lyxfunc.h:
6736         * lyxfunc.C: store last keypress here instead. Pass encoding
6737           to getISOEncoded()
6738
6739 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6740
6741         * lyx_main.C (init): remove annoying error message when following
6742         symbolic links (bug #780)
6743
6744 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6745
6746         * text.C (insertChar):
6747         * lyxrc.C (getDescription): remove extra spaces
6748
6749 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6750
6751         * lyxrc.C (getDescription): remove extra spaces
6752
6753 2002-12-20  John Levon  <levon@movementarian.org>
6754
6755         * text3.C: hack fix for page up/down across tall rows
6756
6757 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6758
6759         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6760         not been invoked
6761
6762 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6763
6764         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6765         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6766         thesaurus is not compiled in
6767
6768 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
6769
6770         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6771
6772 2002-12-16  Angus Leeming  <leeming@lyx.org>
6773
6774         * lyxrc.[Ch]:
6775         * lyx_main.C (init): remove override_x_deadkeys stuff.
6776
6777 2002-12-12  John Levon  <levon@movementarian.org>
6778
6779         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6780           insert. Only remove shift modifier under strict
6781           circumstances.
6782
6783 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6784
6785         * MenuBackend.C (expandToc): fix crash.
6786
6787 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6788
6789         * MenuBackend.C (expandToc): gettext on float names.
6790
6791 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6792
6793         * lyxlength.[Ch]: set default unit to UNIT_NONE,
6794         implement bool empty() [bug 490]
6795
6796 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6797
6798         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6799
6800 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6801
6802         * several files: ws changes
6803
6804 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6805
6806         * text2.C (setCounter): clean up a bit, use boost.format.
6807         (updateCounters): initialize par upon declaration.
6808
6809         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6810         if the layout exists. We do not just store the layout any more.
6811         (SwitchLayoutsBetweenClasses): use boost.format
6812
6813 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6814
6815         * converter.C (convert): if from and to files are the same, use a
6816         temporary files as intermediary
6817
6818 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6819
6820         * commandtags.h:
6821         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6822
6823 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6824
6825         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6826
6827 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6828
6829         * tabular.C (asciiPrintCell): use string(size, char) instead of
6830         explicit loop.
6831
6832         * sgml.C (openTag): fix order of arguments to string constructor
6833         (closeTag): ditto
6834
6835         * lyxfunc.C (dispatch): use boost.format
6836
6837         * lots of files: change "c" -> 'c'
6838
6839 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6840
6841         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6842
6843 2002-11-25  Angus Leeming  <leeming@lyx.org>
6844
6845         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6846
6847         * lyx_main.C (init): compile fix.
6848
6849 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6850
6851         * lyx_cb.C (start): boost.formatify
6852         do not include <iostream>
6853
6854         * lengthcommon.C: ws only
6855
6856         * boost-inst.C,BoostFormat.h: add more explict instantations
6857
6858 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6859
6860         * lots of files: handle USE_BOOST_FORMAT
6861
6862 2002-11-21  John Levon  <levon@movementarian.org>
6863
6864         * pspell.C: fix compile
6865
6866 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6867
6868         * lyxfunc.C (dispatch): use boost::format
6869         (open): ditto
6870         (doImport): ditto
6871
6872         * lyxfont.C (stateText): use boost::format
6873
6874         * lyx_main.C (LyX): use boost::format
6875         (init): ditto
6876         (queryUserLyXDir): ditto
6877         (readRcFile): ditto
6878         (parse_dbg): ditto
6879         (typedef boost::function): use the recommened syntax.
6880
6881         * importer.C (Import): use boost::format
6882
6883         * debug.C (showLevel): use boost::format
6884
6885         * converter.C (view): use boost::format
6886         (convert): ditto
6887         (move): ditto
6888         (scanLog): ditto
6889
6890         * bufferview_funcs.C (currentState): use boost::format
6891
6892         * bufferlist.C (emergencyWrite): use boost::format
6893
6894         * buffer.C (readLyXformat2): use boost::format
6895         (parseSingleLyXformat2Token): ditto
6896
6897         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6898
6899         * LaTeX.C (run): use boost::format
6900
6901         * Chktex.C (scanLogFile): use boost::format
6902
6903         * BufferView_pimpl.C (savePosition): use boost::format
6904         (restorePosition): ditto
6905         (MenuInsertLyXFile): ditto
6906
6907         * BoostFormat.h: help file for explicit instation.
6908
6909 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6910
6911         * tabular.C (latex): Support for block alignment in fixed width
6912         columns.
6913
6914 2002-11-17  John Levon  <levon@movementarian.org>
6915
6916         * BufferView_pimpl.C:
6917         * lyx_cb.C:
6918         * lyxfunc.C: split filedialog into open/save
6919
6920 2002-11-08  Juergen Vigna  <jug@sad.it>
6921
6922         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6923         by my last patch (hopefully).
6924
6925 2002-11-08  John Levon  <levon@movementarian.org>
6926
6927         * iterators.h:
6928         * iterators.C:
6929         * buffer.h:
6930         * buffer.C:
6931         * paragraph.h:
6932         * paragraph.C:
6933         * toc.h:
6934         * toc.C: ParConstIterator, and use it (from Lars)
6935
6936 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6937
6938         * lyxtextclass.[Ch]: revise and add doxygen comments
6939
6940 2002-11-07  John Levon  <levon@movementarian.org>
6941
6942         * text.C: fix progress value for spellchecker
6943
6944         * toc.C: fix navigate menu for insetwrap inside minipage
6945
6946         * paragraph_funcs.C: added FIXME for suspect code
6947
6948 2002-11-07  John Levon  <levon@movementarian.org>
6949
6950         * BufferView_pimpl.C: fix redrawing of insets
6951           on buffer switch
6952
6953 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6954
6955         * text2.C (updateCounters): fix bug 668
6956
6957 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
6958
6959         * text3.C (dispatch): Do not make the buffer dirty when moving the
6960         cursor.
6961
6962 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6963
6964         * vc-backend.C: STRCONV
6965         (scanMaster): ditto
6966
6967         * text2.C (setCounter): STRCONV
6968
6969         * paragraph.C (asString): STRCONV
6970
6971         * lyxlength.C (asString): STRCONV
6972         (asLatexString): ditto
6973
6974         * lyxgluelength.C (asString): STRCONV
6975         (asLatexString): ditto
6976
6977         * lyxfunc.C (dispatch): STRCONV
6978         (open): ditto
6979
6980         * lyxfont.C (stateText): STRCONV
6981
6982         * importer.C (Import): STRCONV
6983
6984         * counters.C (labelItem): STRCONV
6985         (numberLabel): ditto
6986         (numberLabel): remove unused ostringstream o
6987
6988         * chset.C: STRCONV
6989         (loadFile): ditto
6990
6991         * bufferview_funcs.C (currentState): STRCONV
6992
6993         * buffer.C (readFile): STRCONV
6994         (asciiParagraph): ditto
6995         (makeLaTeXFile): ditto
6996
6997         * Spacing.C (writeEnvirBegin): STRCONV
6998
6999         * LaTeXFeatures.C (getLanguages): STRCONV
7000         (getPackages): ditto
7001         (getMacros): ditto
7002         (getBabelOptions): ditto
7003         (getTClassPreamble): ditto
7004         (getLyXSGMLEntities): ditto
7005         (getIncludedFiles): ditto
7006
7007         * LaTeX.C: STRCONV
7008         (run): ditto
7009         (scanAuxFile): ditto
7010         (deplog): ditto
7011
7012         * LString.h: add the STRCONV macros
7013
7014         * BufferView_pimpl.C (savePosition): STRCONV
7015         (restorePosition): ditto
7016         (MenuInsertLyXFile): ditto
7017
7018         * vc-backend.C (scanMaster): change from submatch[...] to
7019         submatch.str(...)
7020
7021         * funcrequest.C: include config.h
7022
7023         * factory.C: include config.h
7024
7025         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7026
7027         * box.C: include config.h
7028
7029         * LaTeX.C (scanAuxFile): change from submatch[...] to
7030         submatch.str(...)
7031         (deplog): ditto
7032
7033 2002-10-25  Angus Leeming  <leeming@lyx.org>
7034
7035         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7036
7037         * ispell.[Ch] (setError): new method.
7038         * ispell.C (c-tor): move out child process into new class LaunchIspell.
7039         Use setError() insetead of goto END.
7040
7041         * lyx_cb.C (AutoSave): move out child process into new class
7042         AutoSaveBuffer.
7043
7044 2002-10-30  John Levon  <levon@movementarian.org>
7045
7046         * text3.C: make start appendix undoable
7047
7048 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
7049
7050         * lyxlength.C (inPixels): Fix returned value.
7051
7052         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7053         environment.
7054
7055 2002-10-24  Angus Leeming  <leeming@lyx.org>
7056
7057         * lyxgluelength.h: no need to forward declare BufferParams
7058         or BufferView, so don't.
7059
7060 2002-10-21  John Levon  <levon@movementarian.org>
7061
7062         * BufferView.C: menuUndo ->undo, redo
7063
7064         * BufferView.h: document, remove dead, make some methods private
7065
7066         * paragraph_funcs.h:
7067         * paragraph_funcs.C:
7068         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7069
7070         * buffer.h:
7071         * buffer.C:
7072         * sgml.h:
7073         * sgml.C: move sgml open/close tag into sgml.C
7074
7075         * bufferview_funcs.h: unused prototype
7076
7077         * lyxfunc.h:
7078         * lyxfunc.C: remove unused
7079
7080         * lyxtext.h:
7081         * text.C: remove unused
7082
7083 2002-10-21  John Levon  <levon@movementarian.org>
7084
7085         * BufferView.h:
7086         * BufferView.C:
7087         * BufferView_pimpl.h:
7088         * BufferView_pimpl.C: fix mouse wheel handling based on
7089           patch from Darren Freeman
7090
7091 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
7092
7093         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7094
7095 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
7096
7097         * lyxlength.C (inPixels): Fix hanfling of negative length.
7098         Fix LyXLength::MU case.
7099
7100 2002-10-16  John Levon  <levon@movementarian.org>
7101
7102         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7103
7104 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7105
7106         * converter.C (view): add support for $$i (file name) and $$p
7107         (file path) for the viewer command. If $$i is not specified, then
7108         it is appended to the command (for compatibility with old syntax)
7109
7110 2002-10-14  Juergen Vigna  <jug@sad.it>
7111
7112         * undo_funcs.C (textHandleUndo): alter the order in which the
7113         new undopar is added to the LyXText, as we have to set first
7114         the right prev/next and then add it as otherwise the rebuild of
7115         LyXText is not correct. Also reset the cursor to the right paragraph,
7116         with this IMO we could remove the hack in "redoParagraphs()".
7117
7118 2002-10-09  Angus Leeming  <leeming@lyx.org>
7119
7120         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7121         to turn off an optimisation if a new inset is to be inserted.
7122
7123 2002-10-11 André Pönitz <poenitz@gmx.net>
7124
7125         * lyxtext.h: make some functions public to allow access
7126         from inset/lyxtext for handling LFUN_PRIOR/NEXT
7127
7128 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7129
7130         * text3.C (dispatch): when changing layout, avoid an infinite loop
7131         [bug #652]
7132
7133 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7134
7135         * lyxrc.C (read): treat a viewer or converter command of "none" as
7136         if it were empty.
7137
7138         * MenuBackend.C (expandFormats): for an update, also allow the
7139         formats that are not viewable
7140
7141         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7142         script if it is newer than the lyxrc.defaults in user directory
7143
7144 2002-10-07 André Pönitz <poenitz@gmx.net>
7145
7146         * text.C: Vitaly Lipatov's small i18n fix
7147
7148 2002-09-25  Angus Leeming  <leeming@lyx.org>
7149
7150         * ispell.h: doxygen fix.
7151
7152 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
7153
7154         * buffer.h (readFile): Add a new argument to the method, to allow
7155         reading of old-format templates.
7156
7157 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
7158
7159         * toc.C (getTocList): Get TOC from InsetWrap.
7160
7161 2002-09-16  John Levon  <levon@movementarian.org>
7162
7163         * lyxfunc.C: check tabular for cut/copy too
7164
7165 2002-09-12  John Levon  <levon@movementarian.org>
7166
7167         * LyXAction.C: tidy
7168
7169         * factory.h:
7170         * factory.C: add header
7171
7172         * paragraph_funcs.h:
7173         * paragraph_funcs.C: cleanup
7174
7175 2002-09-11  John Levon  <levon@movementarian.org>
7176
7177         * PrinterParams.h: odd/even default to true
7178
7179 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
7180
7181         * PrinterParams.h: update printer parameters for new xforms dialog
7182
7183 2002-09-11  Angus Leeming  <leeming@lyx.org>
7184
7185         * lyxserver.C (read_ready): re-write to make it more transparent
7186         and to make it work in coherent fashion under Tru64 Unix.
7187
7188 2002-09-11  André Pönitz <poenitz@gmx.net>
7189
7190         * commandtags.h:
7191         * LyXAction.C:
7192         * text3.C: implement LFUN_WORDSEL
7193
7194 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7195
7196         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7197         make floatlist_ a boost::shared_ptr<FloatList>
7198
7199         * lyxtextclass.C: include FloatList.h
7200         (LyXTextClass): initialize floatlist_
7201         (TextClassTags): add TC_NOFLOAT
7202         (Read): match "nofloat" to TC_NOFLOAT and use it.
7203         (readFloat): modify call to floatlist_
7204         (floats): ditto
7205         (floats): ditto
7206
7207         * FloatList.[Ch] (FloatList): remove commented out float
7208         initialization.
7209         (erase): new function
7210
7211 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7212
7213         * MenuBackend.C (expandToc): fix crash when there is no document
7214         open
7215
7216 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
7217
7218         * many files: Add insetwrap.
7219
7220 2002-09-09  John Levon  <levon@movementarian.org>
7221
7222         * text2.C: remove confusing and awkward depth wraparound
7223
7224 2002-09-09  John Levon  <levon@movementarian.org>
7225
7226         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7227
7228         * buffer.h:
7229         * buffer.C: remove getIncludeonlyList()
7230
7231         * paragraph.C:
7232         * lyxfunc.C: remove headers
7233
7234 2002-09-09  Juergen Vigna  <jug@sad.it>
7235
7236         * text.C (getColumnNearX): fix form Michael this is most
7237         probably a cut&paste bug.
7238
7239 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7240
7241         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7242
7243         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7244         references, ws changes.
7245
7246         * text2.C (init): update counters after init
7247         (insertParagraph): no need to set counter on idividual paragraphs.
7248         (setCounter): access the counters object in the textclass object
7249         on in the buffer object.
7250         (updateCounters): ditto
7251
7252         * lyxtextclass.C: include counters.h, add variable ctrs_ as
7253         shared_ptr<Counters> to avoid loading counters.h in all
7254         compilation units.
7255         (LyXTextClass): initialize ctrs_
7256         (TextClassTags): add TC_COUNTER, and ...
7257         (Read): use it here.
7258         (CounterTags): new tags
7259         (readCounter): new function
7260         (counters): new funtion
7261         (defaultLayoutName): return a const reference
7262
7263         * counters.C (Counters): remove contructor
7264         (newCounter): remove a couple of unneeded statements.
7265         (newCounter): simplify a bit.
7266         (numberLabel): some small formatting changes.
7267
7268         * buffer.[Ch]: remove all traces of counters, move the Counters
7269         object to the LyXTextClass.
7270
7271 2002-09-06  Alain Castera  <castera@in2p3.fr>
7272
7273         * tabular.C: uses \tabularnewline; uses >{...} construct from array
7274         package to set the horizontal alignment on fixed width columns.
7275
7276         * lyx_sty.C:
7277         * lyx_sty.h: added tabularnewline macro def.
7278
7279         * LaTeXFeatures.C: added NeedTabularnewline macro feature
7280
7281 2002-09-06  John Levon  <levon@movementarian.org>
7282
7283         * LyXAction.C: tooltips for sub/superscript
7284
7285         * MenuBackend.C: a bit more verbose
7286
7287         * lyxfunc.C: tiny clean
7288
7289         * undo_funcs.C: document undo_frozen
7290
7291 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7292
7293         * counters.C (Counters): add missing algorithm counter.
7294
7295         * text2.C (setCounter): lookup the counter with layouts latexname
7296         instead of by section number.
7297         (setCounter): use a hackish way to lookup the correct enum
7298         counter.
7299         a float name->type change
7300         reset enum couners with counter name directly instead of depth value.
7301
7302         * counters.C (Counters): remove the push_backs, change to use the
7303         float type not the float name.
7304         (labelItem): remove unused string, float name->type change
7305
7306         * counters.h: don't include vector, loose the enums and sects vectors
7307
7308 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7309
7310         * lyxtextclass.C (TextClassTags): add TC_FLOAT
7311         (Read): add float->TC_FLOAT to textclassTags
7312         (Read): and handle it in the switch
7313         (readFloat): new function
7314
7315         * FloatList.C (FloatList): comment out the hardcoded float
7316         definitions.
7317
7318         * lyxlayout.h: ws change.
7319
7320 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
7321
7322         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7323
7324 2002-09-03  Angus Leeming  <leeming@lyx.org>
7325
7326         * BufferView_pimpl.h: qualified name is not allowed in member
7327         declaration: WorkArea & Pimpl::workarea() const;
7328
7329         * factory.C: added using std::endl directive.
7330
7331         * text3.C: added using std::find and std::vector directives.
7332
7333 2002-08-29  André Pönitz <poenitz@gmx.net>
7334
7335         * lyxtext.h:
7336         * text2.C: remove unused member number_of_rows
7337
7338         * Makefile.am:
7339         * BufferView2.C: remove file, move contents to...
7340         * BufferView.C: ... here
7341
7342         * BufferView_pimpl.C:
7343         * factory.C: move more inset creation to factory
7344
7345         * vspace.C: avoid direct usage of LyXText, ws changes
7346
7347         * BufferView.[Ch]:
7348                 don't provide direct access to WorkArea, use two simple
7349                 acessors haveSelction() and workHeight() instead
7350
7351
7352 2002-08-29  John Levon  <levon@movementarian.org>
7353
7354         * BufferView_pimpl.C (dispatch): do not continue when
7355           no buffer
7356
7357 2002-08-28  André Pönitz <poenitz@gmx.net>
7358
7359         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7360
7361         * BufferView.h:
7362         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7363
7364 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
7365
7366         * buffer.C: increment LYX_FORMAT to 221
7367
7368         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7369         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7370
7371         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7372
7373         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7374
7375 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7376
7377         * factory.C (createInset): use LyXTextClass::floats
7378
7379         * MenuBackend.C (expandFloatListInsert):
7380         (expandFloatInsert):
7381         (expandToc):
7382
7383         * text2.C (setCounter):
7384
7385         * LaTeXFeatures.C (useFloat):
7386         (getFloatDefinitions):
7387
7388         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7389
7390         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7391         floatlist_, with accessor floats().
7392
7393         * FloatList.h: remove global FloatList
7394
7395 2002-08-26  André Pönitz <poenitz@gmx.net>
7396
7397         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7398
7399         * BufferView.h:
7400         * BufferView2.C:
7401         * BufferView_pimpl.C:
7402         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7403
7404 2002-08-25  John Levon  <levon@movementarian.org>
7405
7406         * LyXAction.C: fix margin note description
7407
7408 2002-08-24  John Levon  <levon@movementarian.org>
7409
7410         * buffer.C:
7411         * bufferlist.C:
7412         * bufferview_funcs.C:
7413         * lyxfont.C:
7414         * undo_funcs.C: cleanups
7415
7416         * lyxfunc.C: disable CUT/COPY when no selection
7417
7418 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
7419
7420         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7421         in "enum UNIT"; e.g. PTW for Percent of TextWidth
7422
7423         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7424         Add backward compatibility to "mono", "gray" and "no".
7425
7426 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
7427
7428         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7429         (and file_format >= 200).
7430
7431 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7432
7433         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7434
7435 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7436
7437         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7438
7439 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
7440
7441         * BufferView_pimpl.C:
7442         * LyXAction.C:
7443         * buffer.C:
7444         * commandtags.h:
7445         * lyxfunc.C:
7446         * paragraph.[Ch]:
7447         * text2.C:
7448         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7449         inset and code to make it  work with the paragraph code. The inset
7450         can be anywhere in the paragraph, but will only do the expected
7451         thing in LaTeX if the layout file contains the parameter line
7452                         OptionalArgs    1
7453         (or more generally, a nonzero value) for that layout.
7454
7455 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7456
7457         * paragraph.h: remove the declaration of undefined counters class
7458         function.
7459
7460 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
7461
7462         * text2.C (setCounter):  fixed enumeration mis-count as reported by
7463         Dr. Richard Hawkins.
7464
7465 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7466
7467         * paragraph_funcs.h: remove some unneeded includes
7468
7469         * text.C (backspace): pasteParagraph now in global scipe
7470
7471         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7472         (pasteSelection): ditto
7473
7474         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7475         * paragraph_funcs.C (pasteParagraph): ... here
7476
7477 2002-08-20  André Pönitz <poenitz@gmx.net>
7478
7479         * commandtags.h: new LFUNs for swapping/copying table row/colums
7480
7481         * LyXAction.C:
7482         * lyxfunc.C: support for new lfuns
7483
7484 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7485
7486         * tabular.C:
7487         * buffer.[Ch]: remove NO_COMPABILITY stuff
7488
7489 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
7490
7491         * boost.C (throw_exception): new file, with helper function for
7492         boost compiled without exceptions.
7493
7494         * paragraph.h:
7495         * lyxlength.C:
7496         * buffer.C:
7497         * ParameterStruct.h:
7498         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7499
7500         * bufferlist.C (emergencyWriteAll): use boost bind
7501
7502         * BufferView_pimpl.C (moveCursorUpdate): remove inline
7503
7504         * text.C: include paragraph_funcs.h
7505         (breakParagraph): breakParagraph is now in global scope
7506
7507         * paragraph_funcs.[Ch]: new files
7508
7509         * paragraph.C (breakParagraph,breakParagraphConservative): move to
7510         global scope
7511
7512         * buffer.C: include paragraph_funcs.h
7513         (insertStringAsLines): breakParagraph is now in global scope
7514
7515         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7516         paragraph_funcs.C
7517
7518         * CutAndPaste.C: include paragraph_funcs.h
7519         (cutSelection): breakParagraphConservative is now in global scope
7520         (pasteSelection): ditto
7521
7522         * buffer.h: declare oprator== and operator!= for
7523         Buffer::inset_iterator
7524
7525         * bufferlist.C (emergencyWrite): don't use fmt(...)
7526
7527         * text3.C: add using std::endl
7528
7529         * BufferView.C (moveCursorUpdate): remove default arg
7530
7531 2002-08-20  André Pönitz <poenitz@gmx.net>
7532
7533         * buffer.[Ch]: move inline functions to .C
7534
7535         * BufferView2.C:
7536         * BufferView_pimpl.C:
7537         * text.C:
7538         * buffer.[Ch]: use improved inset_iterator
7539
7540         * buffer.C:
7541         * paragraph.[Ch]: write one paragraph at a time
7542
7543 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
7544
7545         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7546         style if style is not specified.
7547
7548 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7549
7550         * text2.C (setCounter): when searching for right label for a
7551         caption, make sure to recurse to parent insets (so that a caption
7552         in a minipage in a figure float works) (bug #568)
7553
7554 2002-08-20  André Pönitz <poenitz@gmx.net>
7555
7556         * text3.C: new file for LyXText::dispatch() and helpers
7557
7558         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7559
7560         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7561
7562 2002-08-19  André Pönitz <poenitz@gmx.net>
7563
7564         * lyxtext.h:
7565         * text.C: new LyXText::dispatch()
7566
7567         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7568
7569 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
7570
7571         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7572
7573         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7574         Hebrew text.
7575
7576 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7577
7578         * Makefile.am: use $(variables) instead of @substitutions@
7579
7580 2002-08-15  André Pönitz <poenitz@gmx.net>
7581
7582         * lyxfunc.C:
7583         * BufferView_pimpl.C: streamlining mathed <-> outer world
7584         interaction
7585
7586         * commandtags.h:
7587         * LyXAction.C: remove unused LFUN_MATH
7588
7589 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7590
7591         * paragraph.[Ch]: add some NO_NEXT ifdefs.
7592
7593 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7594
7595         * paragraph.C (Paragraph): reformat a bit
7596         (cutIntoMinibuffer): use builtin InsetList function instad of
7597         doing it manually.
7598         (getInset): ditto
7599
7600         * buffer.C: include boost/bind.hpp, add using std::for_each
7601         (writeFileAscii): use ParagraphList iterators
7602         (validate): use for_each for validate traversal of paragraphs
7603         (getBibkeyList): use ParagraphList iterators
7604         (resizeInsets): use for_each to resizeInsetsLyXText for all
7605         paragraphs.
7606         (getParFromID): use ParagraphList iterators
7607
7608         * BufferView2.C (lockInset): use paragraph list and iterators
7609
7610 2002-08-14  John Levon  <levon@movementarian.org>
7611
7612         * lyxserver.C: remove spurious xforms include
7613
7614 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7615
7616         * lyxfunc.C (getStatus): disable math-extern outside of math mode
7617
7618 2002-08-13  André Pönitz <poenitz@gmx.net>
7619
7620         * LyXAction.[Ch]:
7621         * lyxfunc.C: further cleaning
7622
7623 2002-08-13  André Pönitz <poenitz@gmx.net>
7624
7625         * funcrequest.h: new constructor
7626
7627         * funcrequest.C: move stuff here from .h
7628
7629         * Makefile.am:
7630         * BufferView_pimpl.C:
7631         * LyXAction.C:
7632         * toc.C:
7633         * lyxfunc.C: subsequent changes
7634
7635         * lyxfunc.h: new view() member function
7636
7637         * lyxfunc.C: subsequent changes
7638
7639 2002-08-13  Angus Leeming  <leeming@lyx.org>
7640
7641         * BufferView2.C:
7642         * BufferView_pimpl.C:
7643         * buffer.C:
7644         * converter.C:
7645         * importer.C:
7646         * lyxfunc.C:
7647         * lyxvc.C:
7648         * toc.C:
7649         * vc-backend.C:
7650         changes due to the changed LyXView interface that now returns references
7651         to member variables not pointers.
7652
7653 2002-08-13  Angus Leeming  <leeming@lyx.org>
7654
7655         * WordLangTuple (word, lang_code): return references to strings,
7656         not strings.
7657
7658         * BufferView.h:
7659         * SpellBase.h:
7660         * lyxtext.h: forward-declare WordLangTuple.
7661
7662         * BufferView2.C:
7663         * ispell.C:
7664         * pspell.C:
7665         * text.C: #include "WordLangTuple.h".
7666
7667         * lyxtext.h:
7668         * text.C: (selectNextWordToSpellcheck): constify return type.
7669
7670 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
7671
7672         * buffer.C:
7673         * buffer.h:
7674         * lyxtext.h:
7675         * paragraph.C:
7676         * paragraph_pimpl.h:
7677         * text.C:
7678         * text2.C:
7679         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7680         suggested by Angus.
7681         Made updateCounter always count from start of buffer, and removed
7682         second argument (par).
7683         Reverted floats number display to '#'. Perhaps I'll try again when the
7684         code base is sanitized a bit.
7685
7686 2002-08-12  Angus Leeming  <leeming@lyx.org>
7687
7688         * buffer.[Ch] (getLabelList): constify.
7689
7690 2002-08-07  André Pönitz <poenitz@gmx.net>
7691
7692         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7693
7694         * funcrequest.h: extension to keep mouse (x,y) position
7695
7696 2002-08-12  Juergen Vigna  <jug@sad.it>
7697
7698         * BufferView2.C (insertErrors): forbid undo when inserting error
7699         insets.
7700
7701         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7702
7703 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7704
7705         * ParagraphList.[Ch]: new files
7706
7707         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7708
7709         * BufferView2.C (lockInset): ParagraphList changes
7710         * toc.C: ditto
7711         * text2.C: ditto
7712         * bufferlist.C: ditto
7713         * buffer.h: ditto
7714         * buffer.C: ditto
7715
7716 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7717
7718         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7719         unused class variable counter_,
7720
7721         * paragraph.[Ch] (getFirstCounter): delete unused function
7722
7723         * counters.C: include LAssert.h
7724         (reset): add a new function with no arg, change other version to
7725         not have def. arg and to not allow empty arg.
7726
7727         * text2.C (setCounter): remove empty arg from call to Counters::reset
7728
7729 2002-08-11  John Levon  <levon@movementarian.org>
7730
7731         * Makefile.am: add WordLangTuple.h
7732
7733 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7734
7735         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7736         lyxfunc.C lyxlex_pimpl.C: ws changes only.
7737
7738         * insets/insettext.C: InsetList changes
7739
7740         * graphics/GraphicsSupport.C (operator()): InsetList changes
7741
7742         * toc.C (getTocList): InsetList changes
7743
7744         * paragraph_pimpl.[Ch]: InsetList changes
7745
7746         * paragraph.[Ch]: InsetList changes
7747
7748         * buffer.C (inset_iterator): InsetList changes
7749         (setParagraph): ditto
7750         * buffer.h (inset_iterator): ditto
7751         * iterators.C (operator++): ditto
7752         * iterators.h: ditto
7753
7754         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7755
7756         * InsetList.[Ch]: new files, most InsetList handling moved out of
7757         paragraph.C.
7758
7759         * BufferView2.C (removeAutoInsets): InsetList changes
7760         (lockInset): ditto
7761         (ChangeInsets): ditto
7762
7763 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7764
7765         * paragraph_pimpl.h (empty): new function
7766
7767         * paragraph.[Ch] (empty): new function
7768
7769         * other files: use the new Paragraph::empty function
7770
7771 2002-08-09  John Levon  <levon@movementarian.org>
7772
7773         * lyxtext.h: remove unused refresh_height
7774
7775 2002-08-09  John Levon  <levon@movementarian.org>
7776
7777         * Makefile.am:
7778         * sgml.h:
7779         * sgml.C:
7780         * buffer.C:
7781         * paragraph.h:
7782         * paragraph.C: move sgml char escaping out of paragraph
7783
7784         * paragraph.h:
7785         * paragraph.C: remove id setter
7786
7787         * buffer.C:
7788         * paragraph.C:
7789         * paragraph_pimpl.C: remove dead tex_code_break_column
7790
7791         * bufferview_funcs.C: small cleanup
7792
7793         * lyxfunc.C: remove dead proto
7794
7795         * lyxtext.h: make some stuff private. Remove some dead stuff.
7796
7797         * lyxgluelength.C: make as[LyX]String() readable
7798
7799 2002-08-08  John Levon  <levon@movementarian.org>
7800
7801         * LyXAction.h:
7802         * LyXAction.C:
7803         * MenuBackend.C:
7804         * ToolbarDefaults.C:
7805         * lyxfunc.C:
7806         * lyxrc.C:
7807         * toc.C: lyxaction cleanup
7808
7809 2002-08-08  John Levon  <levon@movementarian.org>
7810
7811         * BufferView2.C: small cleanup
7812
7813         * lyxfind.h:
7814         * lyxfind.C: move unnecessary header into the .C
7815
7816 2002-08-08  John Levon  <levon@movementarian.org>
7817
7818         * funcrequest.h: just tedious nonsense
7819
7820         * lyx_main.h:
7821         * lyx_main.C: cleanups
7822
7823         * buffer.C:
7824         * vspace.C: remove dead header lyx_main.h
7825
7826 2002-08-07  Angus Leeming  <leeming@lyx.org>
7827
7828         * Paragraph.[Ch]:
7829         * paragraph_pimpl.h:
7830         Forward declare class Counters in paragraph.h by moving the ctrs member
7831         variable into Paragraph::Pimpl.
7832         (counters): new method, returning a reference to pimpl_->ctrs.
7833
7834         * text2.C: ensuing changes.
7835
7836 2002-08-07  John Levon  <levon@movementarian.org>
7837
7838         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7839
7840         * BufferView_pimpl.C: announce X selection on double/triple
7841           click
7842
7843         * lyx_main.C: use correct bool in batch dispatch
7844
7845         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7846
7847 2002-08-07  André Pönitz <poenitz@gmx.net>
7848
7849         * funcrequest.h: new class to wrap a kb_action and its argument
7850
7851         * BufferView.[Ch]:
7852         * BufferView_pimpl[Ch]:
7853         * LaTeX.C:
7854         * LyXAction.[Ch]:
7855         * lyxfunc.[Ch]:
7856         * lyxrc.C: subsequent changes
7857
7858
7859 2002-08-07  John Levon  <levon@movementarian.org>
7860
7861         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7862           document options change.
7863
7864 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7865
7866         * counters.[Ch]
7867         * text2.C
7868         * paragraph.[Ch]
7869         * makefile.am: move counters functionality over from
7870         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7871
7872 2002-08-06  John Levon  <levon@movementarian.org>
7873
7874         * WordLangTuple.h: new file for word + language code tuple
7875
7876         * SpellBase.h:
7877         * pspell.h:
7878         * pspell.C:
7879         * ispell.h:
7880         * ispell.C:
7881         * lyxtext.h:
7882         * text.C:
7883         * text2.C:
7884         * BufferView.h:
7885         * BufferView2.C: use WordLangTuple
7886
7887         * layout.h:
7888         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7889
7890 2002-08-06  John Levon  <levon@movementarian.org>
7891
7892         * lyx_main.C: fix cmdline batch handling
7893
7894 2002-08-06  André Pönitz <poenitz@gmx.net>
7895
7896         * lyxrc.C: set default for show_banner to true
7897
7898 2002-08-06  John Levon  <levon@movementarian.org>
7899
7900         * pspell.C: fix a crash, and allow new aspell to work
7901
7902 2002-08-06  John Levon  <levon@movementarian.org>
7903
7904         * lyxfunc.C:
7905         * kbmap.C: small cleanup
7906
7907         * vspace.h:
7908         * vspace.C: add const
7909
7910 2002-08-05  John Levon  <levon@movementarian.org>
7911
7912         * LyXAction.C: back to tabular-insert
7913
7914 2002-08-04  John Levon  <levon@movementarian.org>
7915
7916         * BufferView.h:
7917         * BufferView.C: cosmetic change
7918
7919         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7920
7921         * bufferlist.C:
7922         * buffer.h:
7923         * buffer.C:
7924         * lyxcb.h:
7925         * lyxcb.C:
7926         * lyxserver.C:
7927         * lyxvc.C:
7928         * vc-backend.C:
7929         * BufferView2.C: purge all "Lyx" not "LyX" strings
7930
7931         * lyxcursor.h:
7932         * lyxcursor.C: attempt to add some documentation
7933
7934         * lyxfunc.C:
7935         * commandtags.h:
7936         * LyXAction.C:
7937         * ToolbarDefaults.C:
7938         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7939           merge with LFUN_TABULAR_INSERT
7940
7941         * Makefile.am:
7942         * SpellBase.h:
7943         * ispell.h:
7944         * ispell.C:
7945         * pspell.h:
7946         * pspell.C: split up i/pspell implementations into separate
7947           files, many cleanups
7948
7949         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7950
7951         * text2.C: some cleanup
7952
7953         * lyxfunc.C: don't check for isp_command == "none" any more, it
7954           didn't make any sense
7955
7956 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
7957
7958         * counters.[Ch]
7959         * text2.C
7960         * paragraph.[Ch]
7961         * makefile.am: move counters functionality over
7962         from text2.C/paragraph.[Ch] to counters.[Ch], and
7963         make proper C++.
7964 2002-08-02  John Levon  <levon@movementarian.org>
7965
7966         * buffer.C: s/lyxconvert/lyx2lyx/
7967
7968 2002-08-02  Angus Leeming  <leeming@lyx.org>
7969
7970         * lyxlex.C: revert John's change as it breaks reading of the user
7971         preamble.
7972
7973 2002-08-02  Angus Leeming  <leeming@lyx.org>
7974
7975         * importer.C (Import):
7976         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7977         changes due to LyXView::view() now returning a boost::shared_ptr.
7978
7979 2002-08-02  John Levon  <levon@movementarian.org>
7980
7981         * lyxlex.C: small cleanup
7982
7983 2002-08-02  John Levon  <levon@movementarian.org>
7984
7985         * text2.C (status): small cleanup, no logic change
7986
7987 2002-08-01  John Levon  <levon@movementarian.org>
7988
7989         * buffer.h:
7990         * buffer.C (writeFile): don't output alerts, caller
7991           handles this
7992
7993         * bufferlist.C:
7994         * lyx_cb.C: from above
7995
7996         * lyxfunc.C: allow to open non-existent files
7997
7998 2002-07-31  John Levon  <levon@movementarian.org>
7999
8000         * lyxserver.C: don't let incidental errors get
8001           in the way (errno)
8002
8003 2002-07-30  John Levon  <levon@movementarian.org>
8004
8005         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8006
8007 2002-07-30  John Levon  <levon@movementarian.org>
8008
8009         * lyxserver.h:
8010         * lyxserver.C: remove I/O callback too
8011
8012 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8013
8014         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8015         log.
8016
8017 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8018
8019         * many files: strip,frontStrip -> trim,ltrim,rtrim
8020
8021 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8022
8023         * PrinterParams.h: remove extern containsOnly, and include
8024         support/lstrings.h instead.
8025
8026         * LaTeX.C (scanAuxFile): modify because of strip changes
8027         (deplog): ditto
8028         * buffer.C (makeLaTeXFile): ditto
8029         * bufferparams.C (writeFile): ditt
8030         * lyxfont.C (stateText): ditto
8031         * lyxserver.C (read_ready): ditto
8032         * vc-backend.C (scanMaster): ditto
8033
8034         * BufferView_pimpl.h: ws changes
8035
8036         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8037
8038 2002-07-26  André Pönitz <poenitz@gmx.net>
8039
8040         * kb_sequence.C: remove unnedred usings
8041
8042 2002-07-26  Juergen Vigna  <jug@sad.it>
8043
8044         * lyxfind.C (LyXReplace): we have to check better if the returned
8045         text is not of theLockingInset()->getLockingInset().
8046
8047 2002-07-25  Juergen Vigna  <jug@sad.it>
8048
8049         * lyxfind.C (LyXReplace): don't replace if we don't get the
8050         right LyXText.
8051
8052         * undo_funcs.C (createUndo): remove debugging code.
8053
8054 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
8055
8056         * buffer.C (parseSingleLyXformat2Token): Use default placement
8057         when reading old floats.
8058
8059         * FloatList.C (FloatList): Change the default placement of figure
8060         and tables to "tbp".
8061
8062 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
8063
8064         * MenuBackend.C: using std::max
8065
8066 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8067
8068         * MenuBackend.C (expandToc):
8069         (expandToc2): code moved from xforms menu frontend. It is now
8070         generic and TOCs are transparent to menu frontends.
8071
8072 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8073
8074         * toc.C (getTocList): protect against buf=0
8075
8076         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8077         Menu as first parameter. Now, this calls itself recursively to
8078         expand a whole tree (this will be useful for TOC handling)
8079         (expandFloatInsert): remove 'wide' version of floats
8080
8081         * MenuBackend.h (submenuname): returns the name of the submenu.
8082         (submenu): returns the submenu itself, provided it has been
8083         created by MenuBackend::expand
8084
8085 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8086
8087         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8088         insets which have noFontChange == true. (bug #172)
8089
8090 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8091
8092         * BufferView_pimpl.C: add connection objects and use them...
8093         (Pimpl): here.
8094
8095 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8096
8097         * MenuBackend.C (expandLastfiles):
8098         (expandDocuments):
8099         (expandFormats):
8100         (expandFloatListInsert):
8101         (expandFloatInsert):
8102         (expand): split expand in parts
8103
8104 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8105
8106         * lyx_gui.C: use lyx_gui::exit()
8107
8108 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8109
8110         * LyXAction.C: show the failing pseudo action
8111
8112 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
8113
8114         * buffer.C (readFile): Run the lyxconvert script in order to read
8115         old files.
8116
8117 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8118
8119         * LyXAction.C:
8120         * commandtags.h:
8121         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8122
8123 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8124
8125         * LyXAction.C:
8126         * commandtags.h:
8127         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8128
8129 2002-07-22  Herbert Voss  <voss@lyx.org>
8130
8131         * lengthcommon.C:
8132         * lyxlength.[Ch]: add support for the vertical lengths
8133
8134 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
8135
8136         * toc.[Ch]: std:: fixes
8137
8138 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8139
8140         * lyxrc.C: do not include lyx_main.h
8141
8142         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8143         for layouts
8144
8145         * lyxrc.C:
8146         * encoding.C:
8147         * bufferlist.C:
8148         * BufferView2.C: include "lyxlex.h"
8149
8150         * tabular.h:
8151         * bufferparams.h: do not #include "lyxlex.h"
8152
8153         * lyxtextclasslist.C (Add): remove method
8154         (classlist): renamed to classlist_
8155
8156         * paragraph_pimpl.C:
8157         * paragraph.C:
8158         * text2.C:
8159         * CutAndPaste.C:
8160         * bufferview_funcs.C:
8161         * bufferlist.C:
8162         * text.C:
8163         * LaTeXFeatures.C:
8164         * buffer.C:
8165         * toc.C (getTocList): use BufferParams::getLyXTextClass
8166
8167         * toc.C (getTocList): use InsetFloat::addToToc
8168
8169         * toc.[Ch]: new files, containing helper functions to handle table
8170         of contents
8171
8172         * lyxfunc.C (dispatch): no need to remove spaces around command
8173         given as a string
8174         (getStatus): handle LFUN_SEQUENCE by returning the status of the
8175         first command of the sequence; it is not very clever, but I do not
8176         have a better idea, actually
8177
8178         * LyXAction.C (LookupFunc): make sure to remove space at the
8179         beginning and end of the command
8180
8181 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8182
8183         * MenuBackend.C (getMenubar): new method: return the menubar of
8184         this menu set
8185         (read): treat differently reading of menu and menubar (in
8186         particular, the menubar has no name now)
8187         (Menu::menubar): remove
8188
8189         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8190         saving is finished
8191
8192 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8193
8194         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8195         a bibitem inset in a RTL paragraph.
8196
8197 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
8198
8199         * paragraph_pimpl.C: constify
8200
8201         * BufferView_pimpl.C:
8202         * LaTeX.C:
8203         * lyxfunc.C: fix dispatch in a nicer way
8204
8205 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8206
8207         * lyxfunc.C (dispatch):
8208         * BufferView_pimpl.C:
8209         * BufferView_pimpl.h:
8210         * BufferView.C:
8211         * BufferView.h: rename Dispatch() to dispatch()
8212
8213         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8214
8215         * lyxlayout.C (Read): honor DependsOn tag
8216
8217         * lyxlayout.[Ch] (depends_on): new method
8218
8219         * version.C.in: update lyx_docversion
8220
8221         * LaTeXFeatures.C (getMacros): only define \LyX when needed
8222
8223         * paragraph.C (validate): remove from here...
8224         * paragraph_pimpl.C (validate): ... and move here
8225         (isTextAt): make it const
8226
8227         * buffer.C (getLists): ws cleanup
8228
8229 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8230
8231         * language.C (read): Use iso8859-1 encoding in latex_lang
8232         (this prevents LyX from crashing when using iso10646-1 encoding).
8233
8234 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8235
8236         * text2.C (toggleInset): if cursor is inside an inset, close the
8237         inset and leave cursor _after_ it
8238
8239 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8240
8241         * lyxfunc.C: move minibuffer completion handling out of here
8242
8243 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8244
8245         * BufferView_pimpl.C:
8246         * LaTeX.C: fix dispatch calls
8247
8248 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
8249
8250         * text.C (drawChars): Fix Arabic text rendering.
8251
8252 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
8253
8254         * LyXAction.C:
8255         * commandtags.h:
8256         * lyxfunc.C: remove message-push/pop
8257
8258         * lyxserver.C:
8259         * lyxfunc.h:
8260         * lyxfunc.C: rationalise some code by removing verboseDispatch
8261           in favour of a bool argument to dispatch()
8262
8263 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8264
8265         * lyx_main.C (init): make sure to read symlinks as absolute paths
8266
8267 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8268
8269         * lyxfunc.h:
8270         * lyxfunc.C: no need for commandshortcut to be a member
8271
8272 2002-07-15  André Pönitz <poenitz@gmx.net>
8273
8274         * converter.C: add support for $$s (scripts from lib/scripts dir)
8275         * lyx_main.C: white space
8276
8277 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8278
8279         * bufferlist.C:
8280         * lyxrc.h:
8281         * lyxrc.C: remove second exit confirmation
8282
8283 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8284
8285         * BufferView.h:
8286         * BufferView.C:
8287         * BufferView2.C:
8288         * BufferView_pimpl.h:
8289         * BufferView_pimpl.C:
8290         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8291
8292 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8293
8294         * MenuBackend.C (expand): add numeric shortcuts to document menu
8295
8296         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8297
8298 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8299
8300         * lyxfont.C (setLyXFamily):
8301         (setLyXSeries):
8302         (setLyXShape):
8303         (setLyXSize):
8304         (setLyXMisc):
8305         (lyxRead):
8306         * debug.C (value):
8307         * buffer.C (asciiParagraph): use ascii_lowercase
8308
8309 2002-07-15  Mike Fabian  <mfabian@suse.de>
8310
8311         * lyxlex_pimpl.C (search_kw):
8312         * lyxlex.C (getLongString):
8313         * converter.h (operator<):
8314         * converter.C (operator<):
8315         * buffer.C (parseSingleLyXformat2Token):
8316         (asciiParagraph):
8317         * ToolbarDefaults.C (read):
8318         * MenuBackend.C (checkShortcuts):
8319         (read):
8320         * LColor.C (getFromGUIName):
8321         (getFromLyXName): use the compare_ascii_no_case instead of
8322         compare_no_case, because in turkish, 'i' is not the lowercase
8323         version of 'I', and thus turkish locale breaks parsing of tags.
8324
8325 2002-07-16  Angus Leeming  <leeming@lyx.org>
8326
8327         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8328         now takes a Buffer const & argument.
8329
8330 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
8331
8332         * BufferView.C (resize): check there's a buffer to resize
8333
8334 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
8335
8336         * lyxfunc.C: remove dead code
8337
8338         * lyxserver.h:
8339         * lyxserver.C: use lyx_guii::set_read_callback
8340
8341 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
8342
8343         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8344         an inset in a RTL paragraph.
8345
8346 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8347
8348         * lyxfunc.C: repaint after a font size update
8349
8350 2002-07-15  André Pönitz <poenitz@gmx.net>
8351
8352         * lyxlength.C: inBP should be able to return negative values
8353
8354 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8355
8356         * lyxfunc.C: use lyx_gui::update_fonts()
8357
8358 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8359
8360         * lyxfunc.C: use lyx_gui::update_color()
8361
8362 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8363
8364         * bufferlist.C:
8365         * lyxfunc.h:
8366         * lyxfunc.C:
8367         * lyxrc.h:
8368         * lyxrc.C: remove file->new asks for name option, and let
8369           buffer-new take an argument
8370
8371 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8372
8373         * BufferView_pimpl.C: remove unneeded extra repaint()
8374
8375 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
8376
8377         * LyXAction.C: allow command-sequence with NoBuffer
8378
8379         * lyxfunc.C: don't insist on trailing ';' for command-sequence
8380
8381 2002-07-10  Angus Leeming  <leeming@lyx.org>
8382
8383         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8384
8385 2002-07-09  Angus Leeming  <leeming@lyx.org>
8386
8387         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8388
8389 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8390
8391         * lengthcommon.h: whitespace
8392
8393         * lyxfunc.C: update scrollbar after goto paragraph
8394
8395         * lyxtext.h: factor out page break drawing, and fix it so
8396           page break/added space paints as selected nicely
8397
8398 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8399
8400         * BufferView_pimpl.C: add FIXMEs, clean up a little
8401
8402 2002-07-09  André Pönitz <poenitz@gmx.net>
8403
8404         * lyxfont.[Ch]: support for wasy symbols
8405
8406 2002-07-08  André Pönitz <poenitz@gmx.net>
8407
8408         * BufferView_pimpl.C: apply John's patch for #93.
8409
8410 2002-07-05  Angus Leeming  <leeming@lyx.org>
8411
8412         * BufferView_pimpl.C (buffer): generate previews if desired.
8413
8414         * LColor.h: add "preview" to the color enum.
8415
8416         * LColor.C (LColor): add a corresponding entry to the items array.
8417
8418         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8419         with this buffer.
8420
8421 2002-07-05  Angus Leeming  <leeming@lyx.org>
8422
8423         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8424         The body of the code is now in the method that is passed an ostream &
8425         rather than a file name.
8426         Pass an additional only_preamble parameter, useful for the forthcoming
8427         preview stuff.
8428
8429 2002-07-03  André Pönitz <poenitz@gmx.net>
8430
8431         * lyxfunc.C: simplify getStatus() a bit for math stuff
8432
8433 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8434
8435         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8436
8437 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8438
8439         * text.C (changeRegionCase): do not change case of all the
8440         document when region ends at paragraph end (bug #461)
8441
8442 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8443
8444         * paragraph.C (startTeXParParams):
8445         (endTeXParParams): add \protect when necessary
8446
8447 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8448
8449         * BufferView_pimpl.C (workAreaExpose): remove warning
8450
8451 2002-06-27  Angus Leeming  <leeming@lyx.org>
8452
8453         * Makefile.am: add lyxlayout_ptr_fwd.h.
8454
8455 2002-06-26  André Pönitz <poenitz@gmx.net>
8456
8457         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8458
8459 2002-06-25  Angus Leeming  <leeming@lyx.org>
8460
8461         * lyxfunc.C (dispatch): Comment out the call to
8462         grfx::GCache::changeDisplay. The method no longer exists now that the
8463         pixmap generation part of the graphics loader has been moved into
8464         InsetGraphics.
8465
8466 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8467
8468         * text2.C: layout as layout
8469
8470         * text.C: layout as layout
8471
8472         * tabular.C (OldFormatRead): layout as layout
8473
8474         * paragraph_pimpl.C (TeXDeeper): layout as layout
8475         (realizeFont): layout as layout
8476
8477         * paragraph.C (writeFile): layout as layout
8478         (validate): layout as layout
8479         (getFont): layout as layout
8480         (getLabelFont): layout as layout
8481         (getLayoutFont): layout as layout
8482         (breakParagraph): layout as layout
8483         (stripLeadingSpaces): layout as layout
8484         (getEndLabel): layout as layout
8485         (getMaxDepthAfter): layout as layout
8486         (applyLayout): layout as layout
8487         (TeXOnePar): layout as layout
8488         (simpleTeXOnePar): layout as layout
8489         (TeXEnvironment): layout as layout
8490         (layout): layout as layout
8491         (layout): layout as layout
8492
8493         * lyxtextclass.C (compare_name): new functor to work with
8494         shared_ptr, layout as layout
8495         (Read): layout as layout
8496         (hasLayout): layout as layout
8497         (operator): layout as layout
8498         (delete_layout): layout as layout
8499         (defaultLayout): layout as layout
8500
8501         * lyxlayout_ptr_fwd.h: new file
8502
8503         * lyxlayout.C (Read): layout as layout
8504
8505         * lyx_cb.C (MenuInsertLabel): layout as layout
8506
8507         * bufferlist.C (newFile): layout as layout
8508
8509         * buffer.C (readLyXformat2): layout as layout
8510         (parseSingleLyXformat2Token): layout as layout
8511         (insertStringAsLines): layout as layout
8512         (asciiParagraph): layout as layout
8513         (latexParagraphs): layout as layout
8514         (makeLinuxDocFile): layout as layout
8515         (simpleLinuxDocOnePar): layout as layout
8516         (makeDocBookFile): layout as layout
8517         (simpleDocBookOnePar): layout as layout
8518         (getLists): layout as layout
8519
8520         * LaTeXFeatures.C (getTClassPreamble): layout as layout
8521
8522         * CutAndPaste.C (cutSelection): layout as layout
8523         (pasteSelection): layout as layout
8524         (SwitchLayoutsBetweenClasses): layout as layout
8525
8526         * BufferView_pimpl.C (Dispatch): layout as layout
8527         (smartQuote): layout as layout
8528
8529         * BufferView2.C (unlockInset): layout as layout
8530
8531 2002-06-24  André Pönitz <poenitz@gmx.net>
8532
8533         * lyxfunc.C: fix #487
8534
8535 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8536
8537         * lyxrc.h:
8538         * lyxrc.C:
8539         * lyxfunc.C: remove display_shortcuts, show_banner
8540
8541 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8542
8543         * Buffer_pimpl.C: oops, update on resize
8544
8545 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8546
8547         * buffer.C:
8548         * converter.C:
8549         * exporter.C:
8550         * lyxfunc.C:
8551         * BufferView.h:
8552         * BufferView.C: use repaint()
8553
8554         * BufferView_pimpl.h:
8555         * BufferView_pimpl.C: s/updateScreen()/repaint()/
8556           as it's a clearer description. Remove superfluous
8557           redraws.
8558
8559 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8560
8561         * text.C: fix bug 488. Not ideal, but getting
8562           getWord() to work properly for the insets that
8563           matter is more difficult ...
8564
8565 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8566
8567         * BufferView_pimpl.C:
8568         * LyXAction.C:
8569         * commandtags.h:
8570         * lyxfunc.C: remove the six million index lyxfuncs to just
8571           one, and DTRT (bug 458)
8572
8573 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8574
8575         * BufferView.h:
8576         * BufferView.C:
8577         * BufferView_pimpl.h:
8578         * BufferView_pimpl.C: clean up resize() stuff,
8579           and unnecessary updateScreen()s
8580
8581 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8582
8583         * BufferView.h:
8584         * BufferView.C:
8585         * BufferView_pimpl.h:
8586         * BufferView_pimpl.C:
8587         * lyxfind.h:
8588         * lyxfind.C:
8589         * minibuffer.C: remove focus management of workarea,
8590           not needed. Use screen's greyOut()
8591
8592 2002-06-17  Herbert Voss  <voss@lyx.org>
8593
8594         * converter.C: (convert) do not post a message, when converting
8595         fails, let the calling function decide what to do in this case
8596
8597 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
8598
8599         * lyxfunc.C: tidy up a little
8600
8601 2002-06-16    <alstrup@diku.dk>
8602
8603         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8604         Got rid of FORMS_H_LOCATION include. Now we are
8605         GUII.
8606
8607 2002-06-15  LyX Development team  <lyx@rilke>
8608
8609         * buffer.[Ch] (sgmlOpenTag):
8610         (sgmlCloseTag): Added support for avoiding pernicious mixed
8611         content. Return number of lines written.
8612
8613         (makeLinuxDocFile):
8614         (makeDocBookFile): Fixed calls to sgml*Tag.
8615         Simple white space clean.
8616
8617         (simpleDocBookOnePar): Simple white space clean.
8618
8619         * tabular.[Ch] (docBook): Renamed to docbook and got another
8620         argument to related with the pernicious mixed content.
8621
8622         (docbookRow): Fixed calls for docbook inset method.
8623
8624 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
8625
8626         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8627         so it's X11 independent.
8628
8629         * kb*.[Ch]: ditto.
8630
8631         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8632
8633 2002-06-15  Lyx Development team  <lyx@electronia>
8634
8635         * intl.h: Renamed getTrans to getTransManager.
8636
8637 2002-06-14  Angus Leeming  <leeming@lyx.org>
8638
8639         * Makefile.am: nuke forgotten stl_string_fwd.h.
8640
8641 2002-06-12  Angus Leeming  <leeming@lyx.org>
8642
8643         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8644
8645 2002-06-13  Angus Leeming  <leeming@lyx.org>
8646
8647         * LaTeX.C:
8648         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8649
8650 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
8651
8652         * kbmap.C (getiso): add support for cyrillic and greek
8653
8654 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8655
8656         * BufferView.h:
8657         * BufferView.C:
8658         * BufferView_pimpl.h:
8659         * BufferView_pimpl.C: move bogus scrolling logic
8660           to xforms
8661
8662 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8663
8664         * lyxfunc.C:
8665         * BufferView_pimpl.C: view->resize() change
8666
8667 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8668
8669         * BufferView_pimpl.C: topCursorVisible
8670           prototype change
8671
8672 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8673
8674         * Makefile.am:
8675         * lyx_gui.h:
8676         * lyx_gui.C: move to frontends/
8677
8678         * main.C:
8679         * lyx_main.h:
8680         * lyx_main.C: changes from above
8681
8682 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8683
8684         * intl.C:
8685         * intl.h:
8686         * kbmap.C:
8687         * kbsequence.C:
8688         * lyx_cb.C:
8689         * lyx_main.C: minor tidy
8690
8691 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8692
8693         * BufferView_pimpl.h:
8694         * BufferView_pimpl.C:
8695         * BufferView.h:
8696         * BufferView.C: make painter() const,
8697           remove dead code
8698
8699         * BufferView2.C: use screen() accessor
8700
8701         * lyx_main.h:
8702         * lyx_main.C: some minor cleanup
8703
8704 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8705
8706         * BufferView_pimpl.h:
8707         * BufferView_pimpl.C: remove enter/leaveView,
8708           use workHeight()
8709
8710 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8711
8712         * BufferView.h:
8713         * BufferView.C:
8714         * BufferView2.C:
8715         * BufferView_pimpl.h:
8716         * BufferView_pimpl.C: only construct screen once,
8717           rename
8718
8719         * lyxrc.C: remove pointless comment
8720
8721 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8722
8723         * BufferView.h:
8724         * BufferView.C: remove active() and belowMouse()
8725
8726         * BufferView_pimpl.h:
8727         * BufferView_pimpl.C: use workarea() not workarea_,
8728           and make it use a scoped_ptr instead
8729
8730 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8731
8732         * lyx_gui.C: add debug message on BadWindow
8733
8734 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8735
8736         * sp_spell.C: fdopen is not part of the C++ standard.
8737
8738         * paragraph.C (InsetIterator): use >= instead of ==
8739
8740 2002-06-07  Angus Leeming  <leeming@lyx.org>
8741
8742         Fixes needed to compile with Compaq cxx 6.5.
8743         * BufferView_pimpl.C:
8744         * DepTable.C:
8745         * buffer.C:
8746         * converter.C:
8747         * encoding.C:
8748         * lyx_gui.C:
8749         * lyx_main.C:
8750         * lyxtextclasslist.C:
8751         * minibuffer.C:
8752         * sp_spell.C:
8753         * tabular_funcs.C:
8754         * vc-backend.C:
8755         all c-library variables have been moved into namespace std. Wrap
8756         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8757
8758         * lyxlength.C:
8759         * tabular-old.C:
8760         * tabular.C:
8761         Add a using std::abs declaration.
8762
8763         * kbmap.h (modifier_pair):
8764         * paragraph.h (InsetTable, InsetList):
8765         * lyxfont.h (FontBits):
8766         type definition made public.
8767
8768         * bufferlist.C (emergencyWriteAll): the compiler complains that
8769         there is more than one possible lyx::class_fun template to choose from.
8770         I re-named the void specialisation as lyx::void_class_fun.
8771
8772         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8773
8774         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8775         the compiler is is unable to find tostr in write_attribute.
8776
8777 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8778
8779         * buffer.C (sgmlError): hide #warning
8780
8781 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8782
8783         * xtl/*: get rid of xtl, which is not in use anyway
8784
8785         * LyXAction.C (init):
8786         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8787         were unimplemented xtl experimentation
8788
8789 2002-06-04  André Pönitz <poenitz@gmx.net>
8790
8791         * lyxfunc.C: disable array operation on simple formulae
8792
8793 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
8794
8795         * converter.C: constify a bit
8796
8797 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
8798
8799         * lyx_gui.C: check xforms version correctly
8800
8801 2002-04-30  Herbert Voss  <voss@lyx.org>
8802
8803         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8804         "keep" option
8805
8806 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
8807
8808         * lyxvc.C: fix bug 416 (make sure buffer is saved before
8809           attempt to register it with a VCS)
8810
8811 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8812
8813         * lyx_main.C (init): honor variables LYX_DIR_13x and
8814         LYX_USERDIR_13x
8815
8816 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8817
8818         * buffer.h:
8819         * buffer.C:
8820         * lyx_main.C: fix a crash on bad command line,
8821           and give a useful exit status on error
8822
8823         * lyxfunc.C (doImport): allow -i lyx to work
8824
8825 2002-03-30  André Pönitz <poenitz@gmx.net>
8826
8827         * lyxfunc.C: mathed font changes
8828
8829 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8830
8831         * LaTeX.C:
8832         * importer.h:
8833         * importer.C:
8834         * lyx_sty.h:
8835         * lyx_sty.C:
8836         * lyxlex.C:
8837         * lyxrow.h:
8838         * lyxtext.h:
8839         * paragraph.h:
8840         * paragraph.C:
8841         * texrow.h:
8842         * texrow.C:
8843         * text.C:
8844         * trans_mgr.h: srcdocs, and some minor cleanups
8845
8846 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8847
8848         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8849         call getFont all the time)
8850
8851 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8852
8853         * switch from SigC signals to boost::signals
8854
8855 2002-05-29  André Pönitz <poenitz@gmx.net>
8856
8857         * paragraph_pimpl.C (getChar): don't call size() too often...
8858
8859 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8860
8861         * paragraph_pimpl.C (insertChar): do not try to update tables when
8862         appending (pos == size())
8863
8864         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8865         in order to reduce drastically the number of comparisons needed to
8866         parse a large document
8867
8868 2002-05-29  André Pönitz <poenitz@gmx.net>
8869
8870         * text.C:
8871         * text2.C:
8872         * lyxtextclass.C:
8873         * sp_pspell.h:
8874         * textclasslist.[Ch]:
8875         * sp_ispell.h: whitespace change
8876
8877 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8878
8879         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8880         lyxaction directly now.
8881
8882 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8883
8884         * trans.C:
8885         * lyxfont.C:
8886         * lyxvc.C: remove unused headers
8887
8888 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8889
8890         * Makefile.am:
8891         * buffer.h:
8892         * undostack.h:
8893         * undostack.C:
8894         * undo_funcs.h:
8895         * undo_funcs.C: some cleanups. Use shared_ptr
8896           and a template for the undo stacks.
8897
8898 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8899
8900         * BufferView_pimpl.h:
8901         * BufferView_pimpl.C:
8902         * kbmap.h:
8903         * kbmap.C:
8904         * kbsequence.h:
8905         * kbsequence.C:
8906         * lyxfunc.h:
8907         * lyxfunc.C:
8908         * text2.C: use key_state/mouse_state
8909
8910 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8911
8912         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8913         and LSubstring
8914
8915         * chset.C: change include order
8916         (loadFile): use boost regex and get rid of LRegex and LSubstring
8917
8918         * Makefile.am (BOOST_LIBS): new variable
8919         (lyx_LDADD): use it
8920
8921         * LaTeX.C: change include order.
8922         (scanAuxFile): use boost regex and get rid of LRegex and
8923         LSubstring
8924         (deplog): ditto
8925
8926 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8927
8928         * ColorHandler.h:
8929         * ColorHandler.C:
8930         * FontInfo.h:
8931         * FontInfo.C: moved to frontends/xforms/
8932
8933         * FontLoader.h:
8934         * FontLoader.C: moved into frontends for GUIIzation
8935
8936         * Makefile.am:
8937         * lyx_gui.C:
8938         * lyxfont.C:
8939         * lyxfunc.C: changes from above
8940
8941 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8942
8943         * LColor.C: remove spurious X include
8944
8945         * BufferView_pimpl.C:
8946         * Makefile.am:
8947         * font.h:
8948         * font.C:
8949         * text.C:
8950         * text2.C: move font metrics to frontends/
8951
8952 2002-05-24  Juergen Vigna  <jug@sad.it>
8953
8954         * undo_funcs.C (textHandleUndo): fix the cursor selection after
8955         setting the undo_cursor.
8956
8957         * ParagraphParameters.h: include local includes first.
8958
8959 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8960
8961         * BufferView_pimpl.C:
8962         * BufferView_pimpl.h:
8963         * Makefile.am:
8964         * WorkArea.h:
8965         * WorkArea.C:
8966         * screen.C: move WorkArea into frontends/
8967
8968         * lyxscreen.h:
8969         * screen.C:
8970         * text.C:
8971         * BufferView.C:
8972         * BufferView2.C: move LyXScreen into frontends/
8973
8974         * lyxlookup.h:
8975         * lyxlookup.C:
8976         * lyx_gui.C: move lyxlookup into frontends/xforms/
8977
8978 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8979
8980         * BufferView2.C:
8981         * BufferView_pimpl.C:
8982         * FontLoader.C:
8983         * LyXView.h:
8984         * LyXView.C:
8985         * Makefile.am:
8986         * WorkArea.C:
8987         * XFormsView.h:
8988         * XFormsView.C:
8989         * buffer.C:
8990         * bufferlist.C:
8991         * bufferview_funcs.C:
8992         * converter.C:
8993         * importer.C:
8994         * lyx_cb.C:
8995         * lyx_gui.C:
8996         * lyx_main.C:
8997         * lyx_find.C:
8998         * lyxfunc.C:
8999         * lyxvc.C:
9000         * minibuffer.C:
9001         * text.C:
9002         * text2.C:
9003         * trans.C:
9004         * vc-backend.C: move LyX/XFormsView into frontends/
9005
9006 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9007
9008         * Makefile.am:
9009         * PainterBase.C:
9010         * PainterBase.h:
9011         * Painter.C:
9012         * Painter.h:
9013         * WorkArea.C:
9014         * WorkArea.h:
9015         * screen.C:
9016         * tabular.C:
9017         * text.C:
9018         * text2.C: move Painter to frontends/
9019
9020 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9021
9022         * buffer.C: comment out some some code that depend upon lyx_format
9023         < 220
9024
9025         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9026         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9027
9028         * buffer.h (NO_COMPABILITY): turn off compability
9029
9030         * ColorHandler.C: include scoped_array.hpp
9031
9032         * font.C: Use more specific smart_ptr header.
9033         * Painter.C: ditto
9034         * gettext.C: ditto
9035         * ShareContainer.h: ditto
9036         * lyx_main.h: ditto
9037         * kbmap.h: ditto
9038         * FontInfo.h: ditto
9039         * BufferView_pimpl.h: ditto
9040         * ColorHandler.h: ditto
9041
9042         * kbmap.C (defkey): change call to shared_ptr::reset
9043
9044 2002-05-21  Juergen Vigna  <jug@sad.it>
9045
9046         * buffer.C (insertErtContents): fix to insert ert asis if it is
9047         non empty. Skip it completely if it contains only whitespaces.
9048
9049 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
9050
9051         * BufferView_pimpl.C:
9052         * BufferView2.C: clear selection on paste (bug 393)
9053
9054 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9055
9056         * DepTable.C: include ctime
9057
9058 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
9059
9060         * buffer.C (latexParagraphs): Add new argument (moving_arg).
9061
9062 2002-05-14  Juergen Vigna  <jug@sad.it>
9063
9064         * text.C (breakParagraph): fixed function to honor the keepempty
9065         layout in the right maner and also to permit the right breaking
9066         algorithm on empty or non empyt keepempty paragraphs.
9067
9068         * paragraph.C (breakParagraph): we have to check also if the par
9069         is really empty (!size()) for isempty otherwise we do the wrong
9070         paragraph break.
9071
9072 2002-05-10  Juergen Vigna  <jug@sad.it>
9073
9074         * buffer.[Ch] : The following are only changes to the ert
9075         compatibility read reading old LaTeX layout and font stuff and
9076         convert it to ERTInsets.
9077
9078         * buffer.h: added isErtInset().
9079
9080         * buffer.C (struct ErtComp): add a fromlayout bool to check
9081         if we're inside a LaTeX layout.
9082         (isErtInset): new helper function.
9083         (insertErtContents): look for other ert insets before this one
9084         and insert the contents there, so that we don't have subsequent
9085         ERT insets with nothing between them. This way we create only one
9086         inset with multiple paragraphs. Also check if we don't insert only
9087         spaces ' ' as they are ignored anyway afterwards in the .tex file
9088         so if we have only spaces we will ignore this latex part in the
9089         new file.
9090         (parseSingleLyXformat2Token \\layout): better compatibility when
9091         reading layout-latex stuff.
9092         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9093         language tag.
9094         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9095         stuff after reading the inset only get the information back from
9096         the stack.
9097
9098 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
9099
9100         * buffer.C (makeLaTeXFile): Put language options after loading babel.
9101
9102         * LaTeXFeatures.C (getBabelOptions): New method.
9103
9104 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9105
9106         * BufferView_pimpl.C (Dispatch): work around missing argument for
9107         'layout'
9108
9109 2002-05-08  Juergen Vigna  <jug@sad.it>
9110
9111         * text.C (leftMargin): handle paragraph leftindent.
9112
9113         * paragraph.C (writeFile): write the new \\leftindent tag.
9114         (validate): handle leftindent code.
9115         (TeXEnvironment): handle paragraphleftindent code again.
9116
9117         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9118
9119         * buffer.C (parseSingleLyXformat2Token): added compatibility code
9120         for paragrap_extra indent code and new token \\leftindent.
9121         (latexParagraphs): handle the leftindent as environment.
9122
9123         * ParameterStruct.h: added leftindent support.
9124
9125         * ParagraphParameters.C (leftIndent): added support functions for
9126         the paragraph left indent.
9127
9128         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9129         more appropriate.
9130
9131 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
9132
9133         * paragraph.C (isRightToLeftPar): Return false for a paragraph
9134         inside insetERT.
9135
9136         * text.C (computeBidiTables): No bidi in insetERT.
9137
9138         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9139         in RTL documents.
9140
9141 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9142
9143         * version.C.in: pre 5
9144
9145 2002-05-02  José Matos  <jamatos@fep.up.pt>
9146         * buffer.C (makeDocBookFile): white space changes, add newline to
9147         command styles.
9148         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9149
9150         * tabular.C (docBook): fix typo.
9151
9152 2002-05-03  Juergen Vigna  <jug@sad.it>
9153
9154         * screen.C (drawFromTo): recalculate the rowpointer if we had a
9155         change in LyXText as we can not be sure it was not freed.
9156         (drawOneRow): remove unused code.
9157
9158         * text.C (drawInset): redo the calculation of the need_break_row as
9159         it could have a row which was already freed.
9160         (draw): look at the return value of drawInset and return false if
9161         it also returned false.
9162         (paintRowText): look at the return value of draw and return false if
9163         it also returned false.
9164
9165         * lyxtext.h: added bool return type to drawInset() and draw() so that
9166         if we have a change in the row so that the rowbreak has to be redone
9167         we abort drawing as it will be called again.
9168
9169 2002-05-02  Juergen Vigna  <jug@sad.it>
9170
9171         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9172         a change in the maintext also if we're inside an inset.
9173         (Dispatch): set the cursor again after a break line and after the
9174         screen has been updated as it could be we're in a different row.
9175
9176         * text2.C (fixCursorAfterDelete): check to make sure we don't request
9177         to set the cursor behind the pargraph with > size().
9178         (setCursor): check also for the same paragraph when checking where
9179         to put the cursor if we have a NFR inset.
9180
9181         * buffer.C (parseSingleLyXformat2Token): move the compatibility
9182         parts of layout read further up as it still was in the wrong
9183         position.
9184
9185 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9186
9187         * screen.C (drawFromTo): change sine fullRebreak always return
9188         true.
9189
9190         * buffer.C (parseSingleLyXformat2Token): reindent some
9191
9192         * BufferView_pimpl.C (update): change since fullRebreak always
9193         return true.
9194         (Dispatch): git rid of the last hardcoded "Standard"s.
9195
9196 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9197
9198         * text2.[Ch] (fullRebreak): make it return void now that we always
9199         returned true.
9200
9201 2002-04-30  Juergen Vigna  <jug@sad.it>
9202
9203         * buffer.C (parseSingleLyXformat2Token): reset the font before the
9204         ert compatibility check for "latex" layout.
9205
9206 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
9207
9208         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9209         minipages: use col% instead of p%, and also use the current font.
9210         (makeLaTeXFile): Fix use babel condition.
9211         (parseSingleLyXformat2Token): Correct font when reading old floats.
9212
9213 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
9214
9215         * BufferView_pimpl.C (Dispatch): Check that float type exists when
9216         inserting list of floats.
9217
9218 2002-04-25  Herbert Voss  <voss@lyx.org>
9219
9220         * MenuBackend.C (expand): don't add the graphics extensions to the
9221         export menu
9222
9223 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9224
9225         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9226         non-existing layout, do not complain if it was the default layout
9227         of the original class (bug #342)
9228
9229 2002-04-24  Juergen Vigna  <jug@sad.it>
9230
9231         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9232         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9233
9234 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
9235
9236         * buffer.C (getBibkeyList): If using \bibliography, return the
9237         option field with the reference itself. Enables us to provide natbib
9238         support when using \bibliography.
9239
9240 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
9241
9242         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9243
9244         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9245         natbib is provided by the LaTeX class.
9246
9247 2002-04-23  Juergen Vigna  <jug@sad.it>
9248
9249         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9250         Wakeup functions.
9251
9252         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9253
9254 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9255
9256         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9257
9258         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9259         ensuremath around textordmasculine, textordfeminine and
9260         textdegree.
9261
9262 2002-04-19  Juergen Vigna  <jug@sad.it>
9263
9264         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9265         reinitializing the buffer otherwise row-dimensions may be wrong.
9266         (update): reset also the selection cursors if they do exits otherwise
9267         their x/y positions may be wrong.
9268
9269         * text2.C (cursorDown): don't enter the inset if we came from a row
9270         above and are one row over the inset.
9271
9272         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9273         really leaving an inset.
9274
9275 2002-04-18  Juergen Vigna  <jug@sad.it>
9276
9277         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9278         of the selected paragraph does not have the selected layout also if
9279         the last one had!
9280
9281         * text2.C (setLayout): fixed bug which did not change last selected
9282         paragraph.
9283
9284         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9285         changed the read and substituted \\end_float with \\end_inset!
9286
9287         * BufferView_pimpl.C (cursorPrevious):
9288         (cursorNext): fixed to make it work with rows heigher than the work
9289         area without moving the cursor only the draw of the row.
9290         (workAreaMotionNotify): fix jumping over high rows.
9291
9292 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9293
9294         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9295         Ressler.
9296
9297 2002-04-16  Juergen Vigna  <jug@sad.it>
9298
9299         * text2.C (setCursor): set also the irow().
9300         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9301         (cursorUp):
9302         (cursorDown): support for locking an inset if the x_fix value goes
9303         inside it. That way I can transverse insets too with cursor up/down.
9304
9305         * lyxrow.h: added irow helper function same as other (i) functions.
9306
9307         * BufferView_pimpl.C (cursorPrevious):
9308         (cursorNext): fixed for insets!
9309
9310 2002-04-15  Juergen Vigna  <jug@sad.it>
9311
9312         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9313         position otherwise it is wrong in some cases.
9314
9315         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9316         inside the inset before the call.
9317
9318 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
9319
9320         * buffer.[Ch] (getBibkeyList): make it const.
9321
9322 2002-04-12  Juergen Vigna  <jug@sad.it>
9323
9324         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9325
9326         * text2.C (getCursorX): new helper function
9327         (setCursor): compute also ix_
9328         (setCursorFromCoordinates): set also ix.
9329
9330         * lyxcursor.h: added ix_ and helper functions.
9331
9332         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9333
9334         * buffer.C (insertStringAsLines): dont break paragraph if the this
9335         paragraph is inside an inset which does not permit it!
9336
9337         * text.C (breakParagraph): honor keepempty flag and break the paragraph
9338         also with no chars on this paragraph.
9339         (paintRowText): only paint stuff if it's inside the workarea!
9340
9341         * paragraph.C (breakParagraph): honor keepempty flag and break the
9342         paragraph always below not above.
9343
9344         * BufferView2.C (unlockInset): update the paragraph layout on inset
9345         unlock as we changed paragraph in such a case.
9346
9347         * lyxfind.C (LyXFind): clear the former selection if not found!
9348
9349         * text2.C (insertInset): freeze Undo after setUndo so that it is not
9350         again called in insertChar().
9351
9352         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9353         an inset which uses the whole row!
9354         (rightMargin): ditto.
9355         (insertChar): force a rebreak if we inserted an inset!
9356
9357 2002-03-28  Herbert Voss  <voss@lyx.org>
9358
9359         * lyxlength.[Ch]: add inBP() to get the right PS-point
9360         units (BigPoint). With inPixels we have rounding errors
9361
9362 2002-04-11  Juergen Vigna  <jug@sad.it>
9363
9364         * text2.C (setCursorFromCoordinates): set iy to the right value.
9365         (setCursor): add check if row->previous exists!
9366
9367         * buffer.C (parseSingleLyXformat2Token): reset font after read of
9368         an old float_type as this was the case in the old code!
9369
9370         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9371
9372         * BufferView2.C (showLockedInsetCursor): use iy
9373         (fitLockedInsetCursor): ditto
9374
9375         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9376         locked insets as there we have the right value now.
9377
9378         * lyxcursor.C: added iy_ variable and iy functions to set to the
9379         baseline of cursor-y of the locked inset.
9380
9381         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9382         (setCursor): fixed for insets which need a full row.
9383
9384         * text.C (rowLastPrintable): don't ignore the last space when before
9385         an inset which needs a full row.
9386         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9387         as last character of a row when before a inset which needs a full row.
9388
9389 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9390
9391         * version.C.in: update date
9392
9393         * text2.C (fullRebreak): try to always return true and see what
9394         happens...
9395
9396 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9397
9398         * MenuBackend.C (expand): use Floating::listName
9399
9400         * FloatList.C (FloatList): add listName argument to the built-in
9401         floats
9402
9403         * Floating.[Ch]: add listName member, which is the 'List of XXX'
9404         text associated with the float.
9405
9406 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9407
9408         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9409
9410 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9411
9412         * ShareContainer.h: add a couple of missing typenames.
9413
9414 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
9415
9416         * lyxrc.C (getDescription): use _() correctly rather than N_().
9417
9418 2002-03-28  Herbert Voss  <voss@lyx.org>
9419
9420         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9421         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9422
9423 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9424
9425         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9426         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9427
9428 2002-03-29  Juergen Vigna  <jug@sad.it>
9429
9430         * lyxfunc.C (dispatch): add a missing fitCursor call.
9431
9432         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9433         it was scrolled by a cursor move, so return the bool status.
9434
9435         * BufferView.C (fitCursor): return the bool flag also to the outside
9436         world as this is needed.
9437
9438         * screen.C (toggleToggle): don't subtract the offset if it's positive.
9439
9440         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9441         call the edit() as it is not needed (and wrong) IMO.
9442         (workAreaButtonPress): set the screen_first variable before evt.
9443         unlock the inset as this may change screen_first and then we have
9444         a wrong y position for the click!
9445
9446 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9447
9448         * MenuBackend.C (expand): another translation that I missed
9449
9450 2002-03-28  Juergen Vigna  <jug@sad.it>
9451
9452         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9453
9454         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9455
9456 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9457
9458         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9459
9460         * MenuBackend.C (expand): fix export/view/update when there is no
9461         document open.
9462
9463 2002-03-27  Herbert Voss  <voss@lyx.org>
9464
9465         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9466         and text%
9467
9468 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9469
9470         * bufferview_funcs.C (currentState): only show paragraph number
9471         for is DEVEL_VERSION is set.
9472
9473         * lyxfunc.C (dispatch): put warning in INFO channel
9474
9475         * MenuBackend.C (expand): translate the name of floats
9476
9477         * FloatList.C (FloatList): mark the float names for translation
9478
9479         * converter.C (convert): use LibScriptSearch
9480
9481 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9482
9483         * MenuBackend.C (defaults): fix default menu (we might as well get
9484         rid of it...)
9485
9486 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9487
9488         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9489         directory.
9490
9491 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9492
9493         * lyxvc.C: reorder includes.
9494
9495 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
9496
9497         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9498           properly
9499
9500 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
9501
9502         * CutAndPaste.C: change layouts earlier on paste
9503           to avoid crashing when calling getFont()
9504
9505 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
9506
9507         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9508         irritating #error.
9509
9510 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9511
9512         * WorkArea.C: remove 'Pending' debug message.
9513
9514         * most files: ws cleanup
9515
9516         * buffer.[Ch]: ws changes
9517
9518         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9519
9520 2002-03-21  Juergen Vigna  <jug@sad.it>
9521
9522         * tabular.C (SetMultiColumn): collapse also the contents of the
9523         cells and set the last border right. Added a Buffer const * param.
9524
9525 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9526
9527         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9528         linking or not.
9529
9530 2002-03-19  Juergen Vigna  <jug@sad.it>
9531
9532         * text2.C (clearSelection): reset also xsel_cache.
9533
9534         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9535         where it needs to be called (John tells us to do so too :)
9536         (selectionLost): reset sel_cache.
9537
9538         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9539
9540 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9541
9542         * text2.C (setCursorIntern): put debuging code in INSETS channel
9543
9544 2002-03-19  André Pönitz <poenitz@gmx.net>
9545
9546         * lyxfunc.C: tiny whitespace change
9547
9548 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9549
9550         * ToolbarDefaults.C (init):
9551         * LyXAction.C (init):
9552         * commandtags.h:
9553         * BufferView_pimpl.C (Dispatch):
9554         * lyxfunc.C (dispatch): remove LFUN_DEPTH
9555
9556 2002-03-19  Allan Rae  <rae@lyx.org>
9557
9558         * exporter.C (Export): removeAutoInsets before doing anything else.
9559         While I've just introduced a dependency on BufferView this really is
9560         the best place to clean the buffer otherwise you need to cleanup in
9561         a dozen places before calling export or cleanup in a dozen functions
9562         that export calls.
9563
9564         * converter.C (runLaTeX):
9565         (scanLog): Better handling of removeAutoInsets and screen updates.
9566
9567         * lyxfunc.C (dispatch): small whitespace changes
9568
9569 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9570
9571         * WorkArea.C (C_WorkAreaEvent): return a value.
9572         (event_cb): return 1 if we handled the event, 0 otherwise.
9573
9574         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9575
9576 2002-03-18  Juergen Vigna  <jug@sad.it>
9577
9578         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9579         (GetAdditionalWidth): ditto.
9580         (RightLine): ditto.
9581         (LeftLine): ditto.
9582
9583         * BufferView2.C (copy): use getLyXText() so that we do it inside an
9584         inset if we're there actually (probably not used right now but this
9585         is the direction to go for unifying code).
9586         (paste): disable code to clear the selection.
9587
9588         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9589         inside an InsetText and move the check further up as it is in the
9590         wrong place.
9591
9592         * text2.C (pasteSelection): set a selection over the pasted text.
9593
9594 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
9595
9596         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9597         and libgraphics to build on Cygwin.
9598
9599 2002-03-15  Juergen Vigna  <jug@sad.it>
9600
9601         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9602         inserting an Inset into the paragraph. I know this is not the best
9603         fix but we already use current_view in CutAndPaste so we will remove
9604         all of it's using at the same time.
9605
9606         * buffer.C (sgmlError): deactivated function till it is rewritten in
9607         the right mode, now it can create problems.
9608
9609         * paragraph.C (isLineSeparator): check if getInset returns != 0,
9610         before accessing it.
9611
9612 2002-03-14  Juergen Vigna  <jug@sad.it>
9613
9614         * undo_funcs.C (textHandleUndo): do the right thing when updating
9615         the inset after the undo/redo.
9616
9617         * text2.C (setCursor): just some testcode for #44 not ready yet.
9618
9619         * undo_funcs.C (textHandleUndo): set the next() and previous()
9620         pointers of the paragraph to 0 before deleting otherwise we have
9621         problems with the Paragraph::[destructor].
9622
9623         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9624         on a paragraph insertion.
9625
9626 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9627
9628         * buffer.C (asciiParagraph): use += operator for char append to
9629         string.
9630
9631         * paragraph.C (getFontSettings): compare >= not just >
9632         (highestFontInRange): ditto
9633         (setFont): ditto
9634
9635 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9636
9637         * paragraph.C: change several algorithm to be more appripriate for
9638         the problem domain. This is lookip in FontList and in the InsetList.
9639
9640 2002-03-13  André Pönitz <poenitz@gmx.net>
9641
9642         * commandtags.h:
9643         * LyXAction.C: remove unused LFUN_MATH_MACROARG
9644
9645 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
9646
9647         * commandtags.h:
9648         * LyXAction.C:
9649         * lyxfunc.C:
9650         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9651
9652 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9653
9654         * Painter.C (display): anon helper function, adjust code for this
9655         change.
9656         (pixmap): remove function.
9657
9658         * Painter.h: remove private display variable.
9659
9660         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9661
9662 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
9663
9664         * WorkArea.[Ch]: remove figinset_canvas cruft.
9665
9666 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9667
9668         * lyxtextclass.C (operator): add one item cache optimization.
9669
9670         * bufferlist.h: doxy changes
9671
9672         * bufferlist.C: ws changes
9673
9674         * DepTable.[Ch] (ext_exist): place const in the right spot.
9675
9676         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9677         call resizeInsets.
9678         (workAreaExpose): call resizeInsets when the with BufferView changes.
9679         (Dispatch): adjust for protectedBlank removal
9680         (specialChar): call updateInset if the insert went ok.
9681
9682         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9683         specialChar instead.
9684
9685         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9686
9687         * BufferView.h: doxy change
9688
9689         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9690
9691         * lyxtextclass.C (operator[]): remove non-const version
9692         (defaultLayout): remove non-const version
9693
9694 2002-03-12  Juergen Vigna  <jug@sad.it>
9695
9696         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9697         did resize the LyXText too.
9698
9699         * buffer.C (readLyXformat2): set layout information on newly allocated
9700         paragraphs.
9701
9702         * tabular.C (OldFormatRead): set layout information on the paragraph.
9703
9704 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9705
9706         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9707
9708 2002-03-11  Juergen Vigna  <jug@sad.it>
9709
9710         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9711         plainly wrong.
9712         (resizeCurrentBuffer): force also the insets to resize themselfes.
9713         (moveCursorUpdate): fixed up for InsetText.
9714
9715 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
9716
9717         * commandtags.h:
9718         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9719         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9720         value of Dialogs::tooltipsEnabled().
9721         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9722
9723 2002-03-08  Juergen Vigna  <jug@sad.it>
9724
9725         * BufferView_pimpl.C (updateInset): update inset inside inset also
9726         if it isn't inside theLockingInset().
9727
9728 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9729
9730         * buffer.C (asciiParagraph): redo some of the word and line length
9731         handling.
9732         (getLists): look for Caption instead of caption.
9733
9734 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9735
9736         * buffer.C (Buffer): initialize niceFile to true
9737         (makeLaTeXFile):
9738         (makeLinuxDocFile):
9739         (makeDocBookFile): make sure niceFile is true on exit
9740
9741 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9742
9743         * buffer.C (makeLaTeXFile): escape ~ in \input@path
9744
9745 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
9746
9747         * LyXSendto.C: remove.
9748         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9749         * lyx_gui.C: remove now-redundant comment.
9750         * ColorHandler.h: remove forward declaration of class WorkArea.
9751         * lyxfunc.C: remove #include "WorkArea.h".
9752
9753 2002-03-07  Juergen Vigna  <jug@sad.it>
9754
9755         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9756         got moved away with the DEPM and also set the inset_owner always
9757         right which before could have been omitted.
9758
9759 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9760
9761         * buffer.C (parseSingleLyXformat2Token): use default layout is the
9762         wanted layout is not found.
9763
9764 2002-03-07  Juergen Vigna  <jug@sad.it>
9765
9766         * CutAndPaste.C (cutSelection): another layout settings forgotten.
9767
9768 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9769
9770         * paragraph.C (breakParagraph): use default layout not layout of
9771         prev paragraph.
9772         (Paragraph): clear ParagraphParameters.
9773
9774 2002-03-06  Juergen Vigna  <jug@sad.it>
9775
9776         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9777         otherwise it would not be a valid lenght. Fixed a special case in
9778         the minipage compatibility read where we end the document with a
9779         minipage.
9780
9781         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9782         was set as it could be 0 for InsetTexts first entry.
9783
9784 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9785
9786         * paragraph.C (writeFile): if layout is empty write out
9787         defaultLayoutName().
9788
9789         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9790         file without named layout we set layout to defaultLayoutName().
9791
9792 2002-03-06  Juergen Vigna  <jug@sad.it>
9793
9794         * CutAndPaste.C (copySelection): set layout for new paragraph.
9795
9796         * text.C (prepareToPrint): leave ERT inset left aligned
9797         (leftMargin): don't indent paragraphs inside ERT insets
9798
9799 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9800
9801         * paragraph.C (breakParagraph): dont call clear do the work manually
9802
9803         * paragraph.[Ch] (clear): remove function
9804
9805 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9806
9807         * paragraph.C (Paragraph): dont call clear, the work has already
9808         been done.
9809
9810         * lyxtextclass.C (operator): assert if n is empty
9811
9812         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9813         work manually instead.
9814
9815 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9816
9817         * BufferView_pimpl.C: protect selectionLost against text == 0
9818
9819 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9820
9821         * text.C (breakParagraph): fix a setting layout to '0' problem.
9822
9823 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9824
9825         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9826         final location of file, for the included files, and graphics.
9827
9828 2002-03-05  Juergen Vigna  <jug@sad.it>
9829
9830         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9831
9832 2002-03-04  Juergen Vigna  <jug@sad.it>
9833
9834         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9835
9836         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9837         last column of multicolumn cells.
9838         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9839
9840 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9841
9842         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9843         file if it doesn't go to a temporary file.
9844
9845         * buffer.C (sgmlOpenTag):
9846         (sgmlCloseTag):  remove extra newline insertion.
9847
9848 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9849
9850         * text.C (getRowNearY): comment out debug msg
9851
9852 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9853
9854         * text2.C: first -> first_y
9855
9856         * text.C (getRowNearY): add some attemts at a possible
9857         optimization, not working.
9858
9859         * tabular.[Ch]: add BufferParams to several function so that newly
9860         created paragraph can be initialized to he default layotu for the
9861         buffers textclass.
9862
9863         * tabular-old.C (ReadOld): add buf->params to call of Init
9864
9865         * screen.C: rename text->first to text->first_y
9866
9867         * paragraph.C (breakParagraph): always set layout in the broken
9868         paragraph
9869
9870         * lyxtextclass.C (Read): remove lowercase
9871         (hasLayout): ditto
9872         (operator): ditto
9873         (delete_layout): ditto
9874
9875         * lyxtext.h: rename first -> first_y
9876
9877         * lyxlayout.C (Read): remove lowercase
9878         (name): ditto
9879         (setName): ditto
9880         (obsoleted_by): ditto
9881
9882         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9883
9884         * buffer.C (insertErtContents): add params are to InsetERT
9885         (parseSingleLyXformat2Token): add code to check if a paragraphs
9886         layout really exist.
9887         (parseSingleLyXformat2Token): add params to several inset
9888         constructors
9889         (asciiParagraph): remove lowercase, do the layout comparisons with
9890         no_case
9891
9892         * BufferView_pimpl.C (cursorNext): first -> first_y
9893         (resizeCurrentBuffer): first -> first_y
9894         (updateScrollbar): first -> first_y
9895         (scrollCB): first -> first_y
9896         (workAreaMotionNotify): first -> first_y
9897         (workAreaButtonPress): first -> first_y
9898         (checkInsetHit): first -> first_y
9899         (cursorPrevious): first -> first_y
9900         (cursorNext): first -> first_y
9901         (Dispatch): add buffer_->params to severl inset contructors
9902
9903 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9904
9905         * lyxlayout.C (Read): remove some debug info that I forgot.
9906
9907         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9908         clean up the code slightly.
9909         (makeLinuxDocFile): ditto
9910         (makeDocBookFile): ditto
9911
9912         * text2.C: layout as string
9913
9914         * text.C: layout as string
9915
9916         * paragraph_pimpl.C: layout as string
9917
9918         * paragraph.[Ch]: layout as string
9919
9920         * lyxtextclasslist.[Ch]: layout as string
9921
9922         * lyxtextclass.[Ch]: layout as string
9923
9924         * lyxtext.h: layout as string
9925
9926         * lyxlayout.[Ch]: layout as string
9927
9928         * lyx_cb.C: layout as string
9929
9930         * bufferview_funcs.C: layout as string
9931
9932         * bufferparams.C: layout as string
9933
9934         * buffer.C: layout as string
9935
9936         * LyXView.[Ch]: layout as string
9937
9938         * LaTeXFeatures.[Ch]: layout as string
9939
9940         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9941
9942         * BufferView_pimpl.C: change current_layout to string, remove
9943         lyx::layout_type.
9944         (Dispatch):
9945         (smartQuote):
9946         (insertInset):
9947         (workAreaButtonRelease): layout as string
9948
9949         * BufferView2.C (unlockInset): adjust
9950
9951         * vspace.C (asLatexCommand): use an explict temp variable.
9952
9953 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9954
9955         * Makefile.am: use FRONTEND_*
9956
9957 2002-03-01  Juergen Vigna  <jug@sad.it>
9958
9959         * tabular.C (SetWidthOfMulticolCell): changed to something better
9960         I hope but still work in progress.
9961         (recalculateMulticolumnsOfColumn): renamed function from
9962         recalculateMulticolCells as it is more appropriate now.
9963         (SetWidthOfCell): calculate multicols better.
9964
9965 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9966
9967         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9968
9969         * lyxfunc.C (processKeySym): print sequence also if it is
9970         `deleted' (complete)
9971
9972         * kbsequence.C (print): print sequence even if it is deleted
9973         (complete would be a better word, actually).
9974
9975         * lyxfunc.C (dispatch): print complete options after a prefix key
9976
9977         * vspace.C (asLatexCommand): rewrite in a slightly different form.
9978
9979 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
9980
9981         * text2.C (setCharFont): eliminate setCharFont code duplication.
9982
9983 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9984
9985         * BufferView_pimpl.C (Dispatch): remove bogus handling of
9986         LFUN_TABULAR_FEATURE (bug #177)
9987
9988 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
9989
9990         * Makefile.am: remove figure.h
9991
9992 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
9993
9994         * Bufferview_pimpl.C:
9995         * CutAndPasteC:
9996         * LaTeX.C:
9997         * LyXSendto.C:
9998         * buffer.C:
9999         * bufferlist.C:
10000         * converter.C:
10001         * language.C:
10002         * lyxfunc.C:
10003         * lyxvc.C:
10004         * paragraph.C:
10005         * text.C:
10006         * text2.C: remove #include "lyx_gui_misc.h".
10007
10008         * LaTeX.C: added #include <cstdio>
10009
10010 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10011
10012         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10013         that the paragraph following this one can have.
10014
10015         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10016
10017         * vspace.C (asLatexCommand): fix bogus gcc warning
10018
10019         * Makefile.am (lyx_SOURCES): remove vms_defines.h
10020
10021 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
10022
10023         * text2.C (setLayout): get rid of redundant code
10024
10025 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
10026
10027         * text2.C (incDepth): make sure depth cannot be increased beyond
10028         reasonable values.
10029
10030 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
10031
10032         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10033         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10034
10035         * PainterBase.h (image):
10036         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10037         a LyXImage const *.
10038
10039 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10040
10041         * BufferView.C:
10042         * BufferView.h:
10043         * BufferView_pimpl.C:
10044         * BufferView_pimpl.h:
10045         * LaTeXFeatures.C:
10046         * LyXAction.C:
10047         * LyXView.C:
10048         * Makefile.am:
10049         * UpdateList.h:
10050         * UpdateList.C:
10051         * buffer.C:
10052         * figure.h:
10053         * figureForm.C:
10054         * figureForm.h:
10055         * figure_form.C:
10056         * figure_form.h:
10057         * lyx_cb.C:
10058         * lyx_gui.C:
10059         * lyx_gui_misc.C:
10060         * lyxfunc.C:
10061         * sp_base.h:
10062         * sp_ispell.h:
10063         * sp_pspell.h:
10064         * sp_spell.C: remove fig inset, and the crap house of
10065           cards that follows it
10066
10067 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10068
10069         * Makefile.am:
10070         * lyxserver.C:
10071         * os2_defines.h:
10072         * os2_errortable.h:
10073         * nt_defines.h: move .h into support/
10074
10075         * vms_defines.h: remove
10076
10077         * WorkArea.C: add space in debug output
10078
10079         * text2.C:
10080         * paragraph.C:
10081         * buffer.C: add WITH_WARNINGS
10082
10083         * vc-backend.h:
10084         * vc-backend.C:
10085         * bufferlist.C: s/retrive/retrieve/, add docs
10086
10087         * vspace.h:
10088         * vspace.C:
10089         * kbmap.h:
10090         * lyxlength.h:
10091         * lyxgluelength.h:
10092         * length_common.h:
10093         * chset.h:
10094         * chset.C: add docs
10095
10096         * lyxgui.C: add ID to X error handler
10097
10098         * lyxtestclass.c: fix typo
10099
10100 2002-02-26  Juergen Vigna  <jug@sad.it>
10101
10102         * tabular_funcs.C (write_attribute): changed so that some default
10103         attributes are not written at all.
10104         (getTokenValue): set default values before trying to read the
10105         value so we have the return value always set as default if we don't
10106         find the token we search for.
10107
10108         * tabular.C (Write): write bools as bools not as strings!
10109
10110 2002-02-22  Juergen Vigna  <jug@sad.it>
10111
10112         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10113         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10114
10115         * text.C (leftMargin): don't add an indent for paragraphs inside
10116         tabular cells (fix #208).
10117
10118 2002-02-21  José Matos  <jamatos@fep.up.pt>
10119
10120         * tabular.C (docBook): fixed support for long tables.
10121
10122 2002-02-20  Juergen Vigna  <jug@sad.it>
10123
10124         * text2.C (getFont): get the drawing font of the Inset if this
10125         paragraph is inside an inset (only important for InsetERT for now).
10126
10127         * buffer.C (insertErtContents): use new lanugage params in ERT
10128         constructor.
10129
10130         * CutAndPaste.C: commenting out seemingly uneeded code.
10131
10132 2002-02-19  Allan Rae  <rae@lyx.org>
10133
10134         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10135         Iterators might be simple to use but they also get invalidated.
10136         (removeAutoInsets): renamed saved cursor tracking variables and added
10137         some comments to clarify what everything does.
10138
10139 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
10140
10141         * Chktex.C:
10142         * LaTeX.C:
10143         * LyXSendto.C:
10144         * converter.C:
10145         * lyx_cb.C:
10146         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10147         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10148
10149         * lyxfunc.C:
10150         * vc-backend.h: remove #include "support/syscall.h"
10151
10152         * LaTeX.C:
10153         * LyXSendto.C:
10154         * converter.C: rearrange #includes in Lars' approved fashion.
10155
10156         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10157         forward declare class Timeout in the header file.
10158
10159         * XFormsView.C: changes due to the above.
10160
10161         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10162         similar to LyXView.
10163
10164         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10165         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10166
10167 2002-02-18  José Matos  <jamatos@fep.up.pt>
10168
10169         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10170         insets contents.
10171
10172 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
10173
10174         * a lot of small ws changes
10175         * add a lot of using std::XXX
10176         * use std construcs some places where approp.
10177         * use some exisint stuff from lyxfunctional where approp.
10178         * Make file changes to use partial linking (lets test this now...)
10179
10180 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10181
10182         * Chktex.C:
10183         * buffer.C:
10184         remove #include "support/syscontr.h" as it's redundant. Always has been.
10185
10186         * Chktex.C:
10187         * LaTeX.C:
10188         * LyXSendto.C:
10189         * converter.C:
10190         * lyx_cb.C:
10191         * vc-backend.C:
10192         change Systemcalls::System to Systemcalls::Wait and
10193         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10194         No change of functionality, just reflects the stripped down Systemcalls
10195         class.
10196
10197 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10198
10199         * debug.[Ch]: add a GRAPHICS type to the enum.
10200
10201 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10202
10203         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10204
10205         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10206         there is an inset.
10207
10208 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10209
10210         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10211         match the changes below.
10212
10213         * text2.C (toggleInset): if there is not editable inset at cursor
10214         position, try to see if cursor is _inside_ a collapsable inset
10215         and close it.
10216
10217 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10218
10219         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10220         document menu has a nice checkbox
10221
10222 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10223
10224         * lyxlength.C (asLatexString): change PW to output as percent of
10225         \textwidth.
10226
10227         * lengthcommon.C: change '%' to 't%'
10228
10229         * lyxfunc.C (dispatch): a few comments from Martin
10230
10231 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
10232
10233         * WorkArea.h:
10234         * WorkArea.C:
10235         * BufferView_pimpl.h:
10236         * BufferView_pimpl.C: clear our selection when X tells us we've lost
10237           the X selection.
10238
10239 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10240
10241         * vspace.C (inPixels): fix compiler warning
10242
10243 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10244
10245         * lyxfunc.C (getStatus): fix status message for disabled commands.
10246
10247 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
10248
10249         * BufferView_pimpl.C: fix crash on close buffer
10250         during selection (#227)
10251
10252 2002-01-27  Herbert Voss  <voss@lyx.org>
10253
10254         * buffer.C: link old Figure to new graphic inset
10255
10256 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
10257
10258         * FontLoader.C (getFontinfo): Change the latex font names in order
10259         to match the names of type1inst.
10260
10261 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10262
10263         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10264
10265         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10266         (extchanged): ditto
10267         (ext_exist): ditto
10268         (remove_files_with_extension): ditto
10269         (remove_file): ditto
10270         (write): ditto
10271
10272         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10273         document is smaller than the work area height. Do not initialize
10274         static variables to 0.
10275
10276 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10277
10278         * lyx_gui.C (init): give the toolbar tooltips a normal font.
10279
10280         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10281         LFUN_LAYOUT_PARAGRAPHS.
10282
10283         * tabular.C (GetCellFromInset): new method. Finds an inset in a
10284         tabular. It is possible to provide a possible cell, which will
10285         typically be the actcell from the corresponding insettabular
10286
10287         * lyxfunc.C (getStatus): small cleanup; disable
10288         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10289         true
10290
10291 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10292
10293         * tabular.C (Validate): remove broken optimization (fixes bug #201)
10294
10295         * paragraph.C (startTeXParParams):
10296         (endTeXParParams): new methods. The LaTeX code to
10297         start/end paragraph formatting
10298         (simpleTeXOnePar): call startTeXParParams also when paragraph is
10299         empty (fixes bug #200)
10300
10301         * vspace.C (inPixels): adapt to the change below
10302         (inPixels): [later] more cleanups (remove unused variables)
10303
10304         * lyxlength.C (inPixels): change to use a width and a height as
10305         parameter.
10306
10307 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10308
10309         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10310         Replaced with \paperwidth
10311
10312         * DepTable.C (insert): add std:: qualifier
10313
10314 2002-01-18  Allan Rae  <rae@lyx.org>
10315
10316         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
10317         updated also?
10318
10319         * text.C (drawInset): Turned out I didn't know enough about how
10320         rebreaking worked.  This fixes most of the redraw problems.  I see
10321         an occasional cursor trail when a line is broken now and the cursor
10322         placement can seem out by a few pixels also after a rebreak.
10323
10324 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10325
10326         * buffer.C (parseSingleLyXformat2Token): update because minipage
10327         width is now a LyXLength
10328
10329         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10330
10331         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10332         math insets
10333
10334 2002-01-17  Juergen Vigna  <jug@sad.it>
10335
10336         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10337
10338         * BufferView2.C (lockInset): call edit() so that theLockingInset()
10339         is set correctly and the inset is updated correctly.
10340
10341 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10342
10343         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10344         the beginning of the loop.
10345
10346 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
10347
10348         * lyxrc.C: improve help for use_scalable_fonts
10349
10350 2002-01-17  Allan Rae  <rae@lyx.org>
10351
10352         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10353
10354 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10355
10356         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10357         make sure to set their inset_owner to the right value (bug #171)
10358
10359 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
10360
10361         * DepTable.h
10362         * DepTable.C: Implement mtime checking to reduce time spent doing
10363         CRCs.
10364
10365 2002-01-16  Juergen Vigna  <jug@sad.it>
10366
10367         * tabular.C (GetAdditionalHeight): one of error fixed.
10368
10369         * lyxrc.C (output): small fix in writing use_pspell.
10370
10371 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
10372
10373         * sp_base.h: #include LString.h
10374
10375 2002-01-16  Allan Rae  <rae@lyx.org>
10376
10377         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
10378         Can someone check this please?
10379
10380         * text.C (drawInset): It was possible that p.row would be removed by
10381         breakAgainOneRow upsetting a few other settings.  There may be another
10382         small tweak possible by setting need_break_row = 0 when p.row has been
10383         removed but I don't know enough about the logic here.
10384
10385 2002-01-15  Allan Rae  <rae@lyx.org>
10386
10387         * text.C (insertChar): removed conditional truism.
10388
10389         * BufferView2.C (removeAutoInsets): More tweaks.
10390         cur_par_prev could be a stray pointer.  Check for trailing empty line
10391         in case last line was cur_par and only had an error inset on it.
10392
10393 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10394
10395         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10396         absolute
10397
10398         * vc-backend.C (most methods):
10399         * exporter.C (Export):
10400         * converter.C (convert):
10401         (runLaTeX):
10402         * LyXSendto.C (SendtoApplyCB):
10403         * lyxfunc.C (dispatch):
10404         (menuNew):
10405         (open):
10406         (doImport):
10407         * lyx_cb.C (AutoSave):
10408         (InsertAsciiFile):
10409         * BufferView_pimpl.C (MenuInsertLyXFile):
10410         * buffer.C (runChktex): use Buffer::filePath().
10411
10412         * buffer.h: rename filename to filename_; rename filepath to
10413         filepath_ and make it private
10414         (filePath): new method
10415
10416         * buffer.C (writeFile): use fileName()
10417         (getLatexName):
10418
10419         * lyx_main.C (init): fix starting  of LyX when the binary is a
10420         link from so,ewhere else.
10421
10422         * minibuffer.C: include <cctype> for isprint
10423
10424 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10425
10426         * buffer.C (parseSingleLyXformat2Token): changes associated with the
10427         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10428         name clash with InsetCollapsable's width function.
10429
10430 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10431
10432         * lastfiles.C: include <iterator>
10433
10434 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10435
10436         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10437         std::count.
10438
10439         * buffer.C (makeLaTeXFile): ditto.
10440         Also make loop operation more transparent.
10441
10442 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10443
10444         * ToolbarDefaults.C: remove trailing comma closing namespace.
10445
10446         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10447
10448         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10449         as in WorkArea.
10450
10451         * trans.C (Load): comment out unused variable, allowed.
10452
10453 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10454
10455         * minibuffer.[Ch] (append_char): new method to recieve input from the
10456         drop-down completion browser. If a key was pressed, then recieve this
10457         char and append it to the existing string.
10458         (peek_event): modify the positioning data passed to the completion
10459         browser so that it can be placed above the minibuffer rather than below.
10460 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10461
10462         * LyXAction.C (init): alloe error-next for readonly documents.
10463
10464         * BufferView2.C (ChangeRefsIfUnique): use standard version of
10465         count.
10466
10467 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10468
10469         * bufferlist.C (readFile): create the buffer _after_ checking that
10470         the file exists.
10471
10472         * lyxfunc.C (verboseDispatch): fix handling of arguments
10473
10474         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10475
10476         * lyxrc.C: use string::erase() instead of initializing to "".
10477
10478
10479 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10480
10481         * BufferView_pimpl.h:
10482         * BufferView_pimpl.C:
10483         * WorkArea.h:
10484         * WorkArea.C:
10485         * text2.C: tell X when we have made a selection for copying
10486
10487 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10488
10489         * BufferView_pimpl.C (MenuInsertLyXFile):
10490         * lyxfunc.C (menuNew):
10491         (open):
10492         (doImport): add shortcuts to directory buttons
10493
10494         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10495         open a float)
10496
10497         * lyxfunc.C (setStatusMessage):
10498         (getStatusMessage): new methods
10499         (getStatus):use setStatusMessage instead of setErrorMessage
10500         (dispatch): when function is disabled, set error message here
10501         [instead of in getStatus previously]
10502
10503         * BufferView_pimpl.C (workAreaButtonRelease): update
10504         toolbar/menubar here too.
10505
10506 2002-01-13  Allan Rae  <rae@lyx.org>
10507
10508         * BufferView2.C (removeAutoInsets): finished off earlier fix.
10509         Now seems indestructible.  Remaining task is to audit all other
10510         code affected by deleteEmptyParagraphMechanism.  One small quirk
10511         left is that an empty document with an error in the preamble can
10512         be made to report an error but no error box appears.  I don't know
10513         where it goes.
10514         (removeAutoInsets): Improved comments.
10515
10516 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
10517
10518         * Thesaurus.h:
10519         * Thesaurus.C: update for Aiksaurus 0.14
10520
10521 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10522
10523         * text2.C (firstParagraph): removed member function, all uses
10524         replaces with ownerParagraph
10525         (redoParagraphs): here
10526         (updateInset): here
10527         (toggleAppendix): here
10528         * BufferView2.C (insertErrors): here
10529         (setCursorFromRow): here
10530
10531 2002-01-13  Allan Rae  <rae@lyx.org>
10532
10533         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10534         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10535         There is still a way to segfault this although you may have to do this
10536         multiple times: Have an InsetERT with an unknown command in it.
10537         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10538         <down-arrow>, <Enter> again, View->DVI, BANG!
10539
10540         * text2.C (setCursor):
10541         (deleteEmptyParagraphMechanism):
10542         * lyxtext.h (setCursor):
10543         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10544         Making use of the return value may help fix other bugs.
10545
10546 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10547
10548         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10549
10550         * LyXView.C (updateMenubar): call MenuBar::update here
10551         (updateToolbar): but not here
10552         (showState): do not update toolbar/menubar
10553
10554         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10555         should need to care about that.
10556
10557         * lyxfunc.C (verboseDispatch): simplify a bit
10558         (getStatus): have a version which takes a pseudoaction, and
10559         another which requires a (kb_action,string).
10560
10561         * LyXAction.C (retrieveActionArg): make it work also when action
10562         is not a pseudo-action.
10563         (getActionName): simplify a bit
10564         (helpText):
10565
10566 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10567
10568         * lyxfunc.C (verboseDispatch): new families of methods with
10569         several ways to specify a command and a bool to indicate whether
10570         the command name and shortcut should be displayed in minibuffer
10571         (eventually, we could extend that to a finer bitmask like
10572         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10573         (dispatch): the pristine dispatch command which just, well,
10574         dispatchs! Note it still sets its result to minibuffer; I'm not
10575         sure we want that.
10576
10577         * lyxfunc.h: remove setHintMessage
10578
10579         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10580
10581 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10582
10583         * BufferView_pimpl.C (specialChar): delete new inset if we have
10584         not been able to insert it.
10585
10586         * kbmap.C: revert to using int instead of kb_action, since all we
10587         are dealing with is pseudo-actions.
10588
10589         * LyXAction.C (searchActionArg): change to return int instead of
10590         kb_action, since the result is a pseudoaction.
10591
10592 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
10593
10594         * buffer.C (insertErtContents): Fix (partially) the font bug.
10595
10596 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10597
10598         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10599         as the other one is broken on my machine!
10600
10601 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
10602
10603         * commandtags.h:
10604         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10605
10606 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
10607
10608         * lyxrc.[Ch]: change names and descriptions of popup font variables to
10609         reflect their actual use. Provide compatibility code for older lyxrc
10610         files.
10611
10612         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10613         FL_NORMAL_STYLE.
10614         change names of popup font variables in line with the changes to lyxrc.C
10615
10616 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10617
10618         * buffer.C (asciiParagraph): avoid outputing a word twice after
10619         an inset.
10620
10621         * lyxrc.C (getDescription): document that document_path and
10622         template_path can be empty.
10623
10624 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10625
10626         * LaTeXFeatures.C (getMacros):
10627         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10628
10629         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10630
10631         * LaTeXFeatures.C (useFloat): require "float" here instead of in
10632         getPackages.
10633         (getPackages): rename feature "floats" to "float". Use an array to
10634         iterate over 'simple' features (i.e. just a \usepackage). Add
10635         handling of "amsmath" (renamed from "amsstyle").
10636
10637 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
10638
10639         * LaTeXFeatures.C (require): Prevent duplicate entries in the
10640         features list.
10641
10642 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
10643
10644         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10645         FuncStaus::FuncStatus & FuncStaus::some_method().
10646
10647 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
10648
10649         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10650         of the func_satus stuff. Edited and massaged in various ways by
10651         JMarc.
10652
10653         * lyxfunc.C (getStatus): use FuncStatus
10654
10655 2002-01-08  Juergen Vigna  <jug@sad.it>
10656
10657         * text.C (nextBreakPoint): use function Inset::isChar().
10658
10659         * paragraph.C (TeXOnePar): use function
10660         Inset::forceDefaultParagraphs.
10661
10662         * buffer.C (latexParagraphs): use function
10663         Inset::forceDefaultParagraphs.
10664
10665 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10666
10667         * lyx_gui.C (init): set the style of the menu popups to
10668         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10669
10670 2002-01-07  Juergen Vigna  <jug@sad.it>
10671
10672         * text.C (setHeightOfRow): small fix
10673         (prepareToPrint): don't look at alignment if we don't have the place
10674         for doing it.
10675
10676 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10677
10678         * box.C: New file. Move the Box methods and functions out of box.h,
10679         following Lars' suggestion.
10680
10681 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10682
10683         * box.h: #include "support/LOstream.h", needed for inlined function.
10684
10685         * lyxtextclass.C:
10686         * lyxtextclasslist.C: added some using std declarations.
10687
10688 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
10689
10690         * box.h: make signed dimensions to allow insets wider than
10691           the screen (bug #162)
10692
10693         * BufferView_pimpl.C: add some insetHit debug
10694
10695 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
10696
10697         * vc-backend.C: add FIXME
10698
10699 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10700
10701         * lyxfunc.C (getStatus): enable code for showing math font status
10702         in toolbar/menu.
10703
10704 2002-01-07  Juergen Vigna  <jug@sad.it>
10705
10706         * text.C (nextBreakPoint): removed debug output not needed anymore.
10707
10708 2002-01-06  Juergen Vigna  <jug@sad.it>
10709
10710         * text.C (nextBreakPoint): fixed up this function we had this bug
10711         since ever but now hopefully we break row better.
10712         (insertChar): we have to check if an inset is the next char as it
10713         could now happen that a large inset is causing a break.
10714
10715 2002-01-05  Juergen Vigna  <jug@sad.it>
10716
10717         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10718         if it doesn't like to be drawed.
10719
10720 2002-01-04  Juergen Vigna  <jug@sad.it>
10721
10722         * BufferView2.C (lockInset): forgot to set a cursor.
10723
10724         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10725
10726 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
10727
10728         * FormMathsPanel.C:
10729         * FormMathsPanel.h
10730         * MathsSymbols.C:
10731         * form_maths_panel.C:
10732         * form_maths_panel.h:
10733         * form_maths_panel.fd: implemented sub- and super- buttons in math
10734         panel.
10735
10736         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10737         (or ^ space) to be used as in TeX (req'd by André).
10738
10739         * lyxfunc.C: Allow ^ and _ again to be used both as
10740         super/subscript (mathed) and as themselves (in text).
10741
10742 2002-01-03  Allan Rae  <rae@lyx.org>
10743
10744         * LyXView.C (updateWindowTitle): Setup a short icon title of either
10745         "LyX" or the filename of the current buffer if it has one.  This is a
10746         modified form of John Levon's patch.
10747
10748         * XFormsView.C (setWindowTitle): also set icon title.
10749
10750         * LyXView.h (setWindowTitle): signature changed.
10751         * XFormsView.h (setWindowTitle): ditto.
10752
10753 2002-01-02  Juergen Vigna  <jug@sad.it>
10754
10755         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10756
10757 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10758
10759         * screen.C (topCursorVisible): introduce a temp var for
10760         text->cursor.row(), handle the case where this row is null. (kindo
10761         hachish)
10762
10763         * text2.C (setCursor): add a couple of asserts.
10764
10765         * paragraph.h (inset_iterator): add -> operator
10766
10767         * paragraph.[Ch] (autoDeleteInsets): remove member function
10768
10769         * BufferView2.C (removeAutoInsets): rewrite to handle the old
10770         cursor pos correctly and handle inset deletion by itself.
10771         (insertErrors): move iterator declaration out of for expression
10772
10773         * lyxtextclass.C: add <algorithm>
10774
10775         * Makefile.am: added the new files to sources, removed layout.C
10776
10777         * layout.C: removed file
10778
10779         * layout.h: remove LYX_DUMMY_LAYOUT
10780
10781         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10782         layout.
10783
10784         * lyxlayout.[Ch]:
10785         * lyxtextclass.[Ch]:
10786         * lyxtextclasslist.[Ch]: new files
10787
10788         * include order changes to a lot of files, also changes because of
10789         the six new files.
10790
10791 2001-12-27  Juergen Vigna  <jug@sad.it>
10792
10793         * buffer.C (asciiParagraph): more fixes.
10794
10795         * tabular.C (ascii): make ascii export support export of only the
10796         data separated by a column-delimiter.
10797         (ascii): better support for ascii export.
10798
10799         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10800
10801 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10802
10803         * tabular_funcs.C: use a "using std::getline" instead of the
10804         previous fix from Angus (necessary for cxx + lyxstring)
10805
10806 2001-12-24  Juergen Vigna  <jug@sad.it>
10807
10808         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10809
10810         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10811         problems. First check a minipage also if we have some ert-contents
10812         (not only on par->size(), second set the right depth of the paragraph
10813         on the relink to the root-paragraph-list!
10814
10815         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10816         which then did not anymore update the main paragraphs on undo/redo!
10817
10818 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10819
10820         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10821         code. Support all font-changing funcs (even those which are not in
10822         menu currently). Support for reporting font settings in
10823         mathed (disabled until Andre provides a function on mathed's side).
10824
10825         * func_status.h (toggle): small helper function to set toggle
10826         state on a flag.
10827
10828 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10829
10830         * tabular_funcs.C: getline -> std::getline
10831
10832 2001-12-21  Juergen Vigna  <jug@sad.it>
10833
10834         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10835         accessed and could be 0 (I couldn't generate this but it seems
10836         Michael could!).
10837
10838 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10839
10840         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10841         * tabular_funcs.h: here and include iosfwd
10842
10843 2001-12-20  Juergen Vigna  <jug@sad.it>
10844
10845         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10846         inside inset but undo_par was.
10847
10848 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10849
10850         * Thesaurus.C: always include <config.h> in sources.
10851
10852         * Painter.h:
10853         * lyxlookup.h:
10854         * box.h: do not include <config.h> in header files
10855
10856         * text.C (paintLastRow): remove unused variable
10857
10858         * text.C (transformChar):
10859         (insertChar):
10860         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10861
10862         * Painter.C (text):
10863         * font.C (width): rewrite to use uppercase() instead of
10864         islower/toupper.
10865
10866         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10867
10868 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10869
10870         * lyxfind.C: clean up of find failure position change
10871
10872 2001-12-20  Juergen Vigna  <jug@sad.it>
10873
10874         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10875
10876         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10877         (TeXRow): added to LaTeX a single tabular row.
10878         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10879         (Latex): simplified and finally good LT-h/f support.
10880         (various_functions): just small adaptions for LT-h/f support.
10881
10882         * tabular_funcs.[hC]: added and moved here all not classfunctions
10883         of LyXTabular.
10884
10885 2001-12-19  Juergen Vigna  <jug@sad.it>
10886
10887         * tabular.[Ch]: better support for longtabular options (not finished
10888         yet!)
10889
10890 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10891
10892         * text.C (paintLastRow): use the label font instead of the font of
10893         the last character to compute the size of *_BOX. This makes more
10894         sense and avoids a crash with empty paragraphs.
10895         Use Painter::rectangle to draw EMPTY_BOX.
10896
10897 2001-12-19  Juergen Vigna  <jug@sad.it>
10898
10899         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10900         the paragraphs if the replaced paragraph is not the first one!
10901         Tried to delete not used paragraphs but does not work yet so for
10902         now it's inside #ifdef's and by default off!
10903
10904 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10905
10906         * MenuBackend.C: include "lyx_main.h" instead of declaring
10907         lastfiles (actually was declared as LastFiles* instead of a
10908         scoped_ptr).
10909
10910 2001-12-17  Juergen Vigna  <jug@sad.it>
10911
10912         * tabular.C (AppendColumn): applied John's fix
10913
10914 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10915
10916         * BufferView.h:
10917         * BufferView.C:
10918         * BufferView_pimpl.h:
10919         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10920
10921         * Makefile.am:
10922         * box.h: new start of class for above
10923
10924         * lyxfunc.C: ignore space-only minibuffer dispatches.
10925           Show the command name when it doesn't exist
10926
10927         * minibuffer.C: don't add empty lines to the history
10928
10929         * minibuffer.C: add a space on dropdown completion
10930
10931 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10932
10933         * text.C: fix line above/below drawing in insets
10934
10935 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10936
10937         * lyxlength.C (LyXLength): Initialize private variables.
10938
10939 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10940
10941         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10942         when inserting error insets.
10943
10944 2001-12-13  Juergen Vigna  <jug@sad.it>
10945
10946         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10947         actually sometimes the before-paragraph.
10948         (setUndo): don't clear the redostack if we're not actually undoing!
10949
10950 2001-12-06  Juergen Vigna  <jug@sad.it>
10951
10952         * undo_funcs.C (textHandleUndo): well after John's hint I got here
10953         and fixed redoing of main paragraph, so we can use it now ;)
10954
10955         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10956
10957 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10958
10959         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10960         Juergen's request
10961
10962 2001-12-13  André Pönitz <poenitz@gmx.net>
10963
10964         * undostack.[Ch]:
10965         * undo_func.C: minor cleanup
10966
10967 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10968
10969         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10970         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10971         font in urw-fonts package which is marked as -urw-fontspecific and
10972         does not work (incidentally, changing the encoding in the
10973         fonts.dir of this package to -adobe-fontspecific fixes the
10974         problem).
10975
10976         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10977         is a crash when undoing first paragraph (Juergen, please take a
10978         look). THis does not mean the undo fix is wrong, just that it
10979         uncovers problems.
10980
10981         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10982         the (Paragraph*) version when needed instead of duplicating the
10983         code.
10984
10985         * text.C (workWidth): use Inset::parOwner to find out where the
10986         inset has been inserted. This is a huge performance gain for large
10987         documents with lots of insets. If Inset::parOwner is not set, fall
10988         back on the brute force method
10989
10990         * paragraph_pimpl.C (insertInset):
10991         * paragraph.C (Paragraph):
10992         (cutIntoMinibuffer): set parOwner of insets when
10993         inserting/removing them
10994
10995         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10996
10997 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
10998
10999         * commandtags.h:
11000         * LyXAction.C:
11001         * lyx_main.C:
11002         * lyxfunc.C:
11003         * mathed/formulabase.C:
11004         * mathed/math_cursor.[Ch]:
11005         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11006
11007
11008 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11009
11010         * lyxlength.[Ch] (operator!=): new function
11011
11012 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11013
11014         * text.C (workWidth): use Inset::parOwner to find out where the
11015         inset has been inserted. This is a huge performance gain for large
11016         documents with lots of insets. If Inset::parOwner is not set, fall
11017         back on the brute force method
11018
11019         * paragraph_pimpl.C (insertInset):
11020         * paragraph.C (Paragraph):
11021         (cutIntoMinibuffer): set parOwner of insets when
11022         inserting/removing them
11023
11024         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11025
11026 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11027
11028         * tabular-old.C (getTokenValue):
11029         * tabular.C (getTokenValue):
11030         (write_attribute): new versions for LyXLength
11031         (everywhere): adjust the use of widths
11032
11033         * tabular.h: change the type of widths from string to LyXLength
11034
11035 2001-12-11  Ben Stanley <bds02@uow.edu.au>
11036
11037         * paragraph.C: fixed missing line number count when exporting
11038         Environments to LaTeX file
11039
11040         * buffer.C: added informational message for checking line numbers.
11041
11042 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11043
11044         * text2.C (deleteEmptyParagraphMechanism): if there is only one
11045         paragraph, do the 'double space' part, but not the 'empty
11046         paragraph' one.
11047
11048         * text.C (workWidth): small optimization
11049         (getLengthMarkerHeight): use minimal size for negative lengths.
11050
11051 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
11052
11053         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11054
11055         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11056
11057 2001-12-11  André Pönitz <poenitz@gmx.net>
11058
11059         * FontLoader.C:
11060         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11061
11062 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11063
11064         * text2.C: keep selection on a setFont()
11065
11066 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11067
11068         * lyx_cb.C: another bv->text misuse, from insert label
11069
11070 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11071
11072         * kbsequence.h:
11073         * kbsequence.C: re-instate nmodifier mask
11074
11075 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
11076
11077         * lyx_main.h: make lyxGUI private.
11078
11079 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11080
11081         * lyxfind.C: place the cursor correctly on failed search
11082
11083 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11084
11085         * text.C (getLengthMarkerHeight): for small heights, the arrows
11086         are not always on top/bottom of the text
11087         (drawLengthMarker): smaller arrows; take the left margin in
11088         account; draw also vfills.
11089         (paintFirstRow):
11090         (paintLastRow): remove special code for vfill and standard spaces,
11091         since everything is handled in drawLengthMarker now.
11092
11093 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11094
11095         * buffer.C (insertErtContents): try to handle font and language
11096         interaction a bit better.g
11097
11098         * ColorHandler.C (updateColor): change the hash to cover the whole
11099         LColor enum, ws cleanup
11100         (getGCLinepars): ditto
11101         (getGCLinepars): only lookup in the linecache once.
11102
11103 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
11104
11105         * iterators.C (operator++): Make the iterator more robust
11106
11107         * BufferView2.C (removeAutoInsets): Use paragraph iterators
11108         (John's patch)
11109         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11110
11111 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11112
11113         * lyxtext.h:
11114         * text.C: better added space drawing
11115
11116 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11117
11118         * LyXView.C:
11119         * BufferView2.C: fix layout combo update on inset unlock
11120
11121 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11122
11123         * Makefile.am: don't compile unused files
11124
11125 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11126
11127         * lyxfunc.C:
11128         * commandtags.h:
11129         * LyXAction.C: remove old LFUN_LAYOUTNO
11130
11131 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11132
11133         * paragraph_pimpl.h:
11134         * paragraph_pimpl.C: isTextAt() doesn't need font param
11135
11136 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11137
11138         * lyxlex.h:
11139         * lyxlex.C: little cleanup
11140
11141 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11142
11143         * BufferView_pimpl.C: fix insertAscii for insets
11144
11145 2001-12-05  Juergen Vigna  <jug@sad.it>
11146
11147         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11148         set the right font on the "multi" paragraph paste!
11149
11150 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11151
11152         * trans_decl.h:
11153         * trans_mgr.[Ch]:
11154         * trans.[Ch]:
11155         * lyxgluelength.C:
11156         * lyxlength.C: remove out-commented code.
11157
11158         * BufferView_pimpl:
11159         * CutAndPaste.C:
11160         * DepTable.C:
11161         * buffer.C:
11162         * chset.C:
11163         * lastfiles.C:
11164         * lyxlex.C:
11165         * lyxlex_pimpl.C:
11166         * lyxserver.C:
11167         * screen.C:
11168         * tabular-old.C:
11169         * tabular.C:
11170         * text.C:
11171         * trans_mgr.C:
11172         * vc-backend.C: change "while(" to "while ("
11173
11174         * lyxlength.[Ch]: add zero function to check if length is zero or
11175         not
11176         * lyxgluelength.C: use it
11177
11178 2001-12-05  Allan Rae  <rae@lyx.org>
11179
11180         * lyxlength.C: Attempted a fix for the abs(int) header selection.
11181         Works for 2.95.3, from what I understand of Garst's reports this should
11182         work for other g++ versions.  We're screwed if the abs(int) definition
11183         changed between bugfix releases of gcc.
11184
11185 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11186
11187         * text.C: fix chapter label offset !
11188
11189 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11190
11191         * lyxtext.h:
11192         * text.C: fix hfill at end of line, clean up
11193
11194 2001-12-04  Juergen Vigna  <jug@sad.it>
11195
11196         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11197         that we force an update of the inset and it's owners if neccessary.
11198
11199 2001-12-03  Juergen Vigna  <jug@sad.it>
11200
11201         * text.C (rowLast): simplified code
11202
11203 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11204
11205         * lyxfunc.C: fix show options on timeout
11206
11207 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11208
11209         * screen.C (topCursorVisible): scroll half a page when the cursor
11210         reached top of bottom of screen
11211
11212 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
11213
11214         * minibuffer.C: deactivate on loss of focus
11215
11216 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11217
11218         * vspace.[Ch] (operator!=): add operator.
11219
11220 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
11221
11222         * BufferView_pimpl.C: refuse to open an inset when
11223         there's a selection.
11224
11225 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
11226
11227         * BufferView_pimpl.C: allow to click on RHS of full row insets
11228
11229 2001-11-30  Juergen Vigna  <jug@sad.it>
11230
11231         * tabular.C (LyXTabular): add a same_id to set the same id's in the
11232         insets for undo reasons.
11233
11234 2001-11-28  André Pönitz <poenitz@gmx.net>
11235
11236         * vspace.[Ch]: cosmetical changes
11237
11238 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11239
11240         * LyXAction.h:
11241         * LyXAction.C:
11242         * lyxfunc.h:
11243         * lyxfunc.C:
11244         * kbmap.h:
11245         * kbmap.C:
11246         * lyxrc.C:
11247         * kbsequence.h:
11248         * kbsequence.C: part re-write of old kb code
11249
11250         * Painter.C:
11251         * WorkArea.C: remove Lgb_bug_find_hack
11252
11253 2001-11-30  José Matos <jamatos@fep.up.pt>
11254
11255         * buffer.C (makeDocBookFile): add a comment to point a hack.
11256         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11257         Fixed a double write of labels.
11258
11259 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11260
11261         * LaTeX.C:
11262         * LaTeX.h Fixed bug in LaTeX class where it would not
11263         re-run latex if no depfiles were changed, but the .dvi was removed.
11264
11265 2001-11-28  André Pönitz <poenitz@gmx.net>
11266
11267         * all the files from the change on 2001/11/26:
11268         use lyx::layout_type instead of LyXTextClass::size_type
11269         use lyx::textclass_type instead of LyXTextClassList::size_type
11270
11271 2001-11-29  Juergen Vigna  <jug@sad.it>
11272
11273         * text.C: added support for paragraph::isFreeSpacing()
11274
11275         * buffer.C: same as above
11276
11277         * paragraph.h: inserted isFreeSpacing() function to enable
11278         FreeSpacing inside InsetERT.
11279
11280         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11281         of the paragraph's in the cut/copy buffer to 0!
11282
11283         * text2.C (removeRow): remove the assert as it can!
11284
11285         * lyxtext.h: added helper function firstRow returning firstrow and
11286         made firstrow private again.
11287
11288         * BufferView2.C (lockInset): don't relock if we're already locked!
11289
11290         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11291         the only paragraph.
11292         (removeRow): added Assert::(firstrow)
11293
11294         * debug.C: forgot to add INSETTEXT here.
11295
11296 2001-11-28  Juergen Vigna  <jug@sad.it>
11297
11298         * sp_spell.C (initialize): changed error text to more general
11299         spellchecker command use (not only ispell!)
11300
11301         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11302
11303         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11304
11305 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11306
11307         * vspace.C: initialise lyxgluelength on failure
11308
11309 2001-11-28  Allan Rae  <rae@lyx.org>
11310
11311         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11312         declaration & definition that looks like a function declaration.
11313
11314 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11315
11316         * BufferView2.C (copy):
11317         (copyEnvironment): do not clear the selection when doing a copy.
11318
11319         * text.C (paintFirstRow): compilation fix
11320
11321 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
11322
11323         * tabular.C (Latex): correct line count when writing latex.
11324
11325 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
11326
11327         * paragraph_pimpl.h:
11328         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11329           bug a bit
11330
11331 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11332
11333         * text.C:
11334         * LColor.h:
11335         * LColor.C: change vfillline->added_space
11336
11337         * text.C: add markers and text for added space
11338
11339         * vspace.C: fix comment
11340
11341 2001-11-28  André Pönitz <poenitz@gmx.net>
11342
11343         * paragraph.C: whitespace changes
11344         * all the other files from the change on 2001/11/26:
11345         change *::pos_type into lyx::pos_type
11346
11347 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
11348
11349         * buffer.C (parseSingleLyXformat2Token): Set the language to the
11350         language of the document when inserting error insets.
11351
11352 2001-11-26  André Pönitz <poenitz@gmx.net>
11353
11354         * BufferView_pimpl.[Ch]:
11355         *       CutAndPaste.C:
11356         * buffer.[Ch]:
11357         * lyxcursor.[Ch]:
11358         * lyxfind.C:
11359         * lyxfunc.C:
11360         * lyxrow.[Ch]:
11361         * paragraph.[Ch]:
11362         * paragraph_pimpl.[Ch]:
11363         * sp_spell.C:
11364         * text.C:
11365         * text2.C: reduce header dependencies, introduce type for positions
11366
11367 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11368
11369         * <various>: change to use Alert.h
11370
11371 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
11372
11373         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11374         when encountering an unknown token.
11375         (readLyXformat2): Show an error message if there were unknown tokens.
11376
11377 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
11378
11379         * BufferView2.C:
11380         * BufferView_pimpl.C:
11381         * buffer.C:
11382         * paragraph.h:
11383         * text.C:
11384         * text2.C: use par->isInset()
11385
11386 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11387
11388         * paragraph_pimpl.h:
11389         * paragraph_pimpl.C: cleanup
11390
11391 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11392
11393         * text2.C (removeRow):
11394         * text.C (setHeightOfRow): remove useless (and costly) call to
11395         getRow.
11396
11397 2001-11-20  Allan Rae  <rae@lyx.org>
11398
11399         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11400         Now need Inset*::checkInsertChar() to return true for appropriate
11401         cases so that the characters in the minibuffer will actually be
11402         inserted.
11403
11404 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11405
11406         * text.C: change the order of the includes.
11407         (workWidth): initialize it at once.
11408         (workWidth): make maxw unsigned
11409         (setHeightOfRow): remove unused variable (inset)
11410         (selectSelectedWord): remove unused variable (inset)
11411         (paintRowText): fix drawing of hfill characters, and clean up a bit.
11412
11413 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11414
11415         * lyxserver.C (emergencyCleanup): do not try to close pipes if
11416         server is not running.
11417         (openConnection):
11418         (closeConnection): add debug info when server is disabled.
11419
11420         * ColorHandler.C (getGCForeground): send debug message to GUI
11421         channel.
11422
11423         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11424
11425         * kbmap.C (bind): modify because return conventions of
11426         kb_sequence::parse have changed.
11427
11428         * kbsequence.C (parse): only ignore spaces and not any stupid
11429         control character. This avoids tests like s[i] <= ' ', which are
11430         guaranteed to fail with 8bit characters and signed chars.
11431         Change return code to string::npos when there have been no error
11432         (0 was a bad idea when error is at first character)
11433
11434 2001-11-14  José Matos  <jamatos@fep.up.pt>
11435
11436         * buffer.h:
11437         * buffer.C (simpleDocBookOnePar): removed unused argument.
11438
11439 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11440
11441         * text.C (selectNextWordToSpellcheck): do not test explicitely for
11442         insets which are part of a word. Paragraph::isLetter takes care of
11443         that now. Use Paragraph::isInset to identify insets.
11444         (selectSelectedWord): do not test for hyphenation break.
11445
11446         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11447         that protected spaces are considered as spaces.
11448
11449         * paragraph.C (isLetter): cleanup the code for ispell extras; use
11450         Inset::isLetter.
11451
11452 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
11453
11454         * lyxserver.h:
11455         * lyxserver.C: fix it. and small cleanup.
11456
11457 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11458
11459         * BufferView_pimpl.C: use inline helpers
11460
11461         * LaTeXFeatures.h:
11462         * LaTeXFeatures.C: fix typos
11463
11464         * Spacing.h:
11465         * Spacing.C: move spacing_string into class
11466
11467         * ToolbarDefaults.C: move stuff into namespace anon
11468
11469         * layout.h: update enum
11470
11471         * lyxfunc.C: use better debug
11472
11473         * minibuffer.h: fix typo
11474
11475         * debug.h:
11476         * debug.C:
11477         * WorkArea.C: add and use Debug::WORKAREA
11478
11479         * lyxtext.h:
11480         * text.C:
11481         * text2.C: code re-organisation, inline helpers
11482
11483 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
11484
11485         * Layout.C: replaced a few cases of std::vector.size() == 0 with
11486         std::vector.empty().
11487
11488 2001-11-09  Allan Rae  <rae@lyx.org>
11489
11490         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11491         '\n's after tables.  Tabular and ERT inset work now makes this no
11492         longer necessary.
11493
11494 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11495
11496         * minibuffer.h:
11497         * minibuffer.C: fix crash, improve drop-down completion
11498
11499 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
11500
11501         * lyxserver.h:
11502         * lyxserver.C: invalidate fd's when doing endPipe()
11503
11504 2001-11-08  José Matos  <jamatos@fep.up.pt>
11505
11506         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11507         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11508
11509         * paragraph.h:
11510         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11511
11512 2001-11-07  José Matos  <jamatos@fep.up.pt>
11513
11514         * buffer.h:
11515         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11516         const qualifier.
11517
11518         * buffer.C (sgmlOpenTag):
11519         * buffer.C (sgmlCloseTag): removed debug info.
11520
11521         * buffer.h (sgmlOpenTag):
11522         * buffer.h (sgmlCloseTag): made public.
11523
11524 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11525
11526         * buffer.C (saveParamsAsDefaults):
11527         * lyx_cb.C (MenuLayoutSave): remove
11528
11529         * LyXAction.C (init):
11530         * commandtags.h:
11531         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11532
11533 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11534
11535         * buffer.C (setPaperStuff): removed from here...
11536
11537         * bufferparams.C (setPaperStuff): ... and moved there.
11538
11539 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
11540
11541         * minibuffer.h:
11542         * minibuffer.C:
11543         * XFormsView.C: add support for drop-down completion
11544
11545 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
11546
11547         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11548         commands.
11549
11550 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11551
11552         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11553         disabled.
11554
11555 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
11556
11557         * lyx_main.C: change ref to known bugs
11558
11559 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
11560
11561         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11562         to work around older babel problems.
11563
11564 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11565
11566         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11567
11568 2001-10-24  Juergen Vigna  <jug@sad.it>
11569
11570         * tabular-old.C (ReadOld): below variable changes reflected.
11571
11572         * tabular.[Ch]: added ltType struct for longtable header/footer
11573         defines and changed all instances where they are used. Added
11574         future support for double top/bottom rows.
11575
11576 2001-10-24  José Matos  <jamatos@fep.up.pt>
11577
11578         * buffer.h (docbookHandleCaption):
11579         * buffer.C (docbookHandleCaption): removed unused function.
11580         (makeDocBookFile): moved docbook supported version to v4.1.
11581
11582 2001-10-24  José Matos  <jamatos@fep.up.pt>
11583
11584         * tabular.h:
11585         * tabular.C (docbookRow): new function to export docbook code of a row.
11586         (DocBook): now honors the longtable flags.
11587
11588 2001-10-23  José Matos  <jamatos@fep.up.pt>
11589
11590         * LaTeXFeatures.h:
11591         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11592         of the lyx defined sgml entities used in a docbook/linuxdoc document.
11593
11594         * buffer.C (makeLinuxDocFile):
11595         (makeDocBookFile): reworked the preamble, more clean, and with
11596         support for lyx defined entities. Changed the document declaration
11597         to be more XML friendly.
11598
11599         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11600         if we need to output XML that should be done with a filter.
11601
11602 2001-10-22  Juergen Vigna  <jug@sad.it>
11603
11604         * sp_pspell.h (class PSpell): add alive function needed in the
11605         controller to see if the spellchecker could be started.
11606
11607 2001-10-22  Juergen Vigna  <jug@sad.it>
11608
11609         * buffer.C (insertStringAsLines): modify the font for inserting
11610         chars in certain conditions by calling checkInsertChar(font).
11611
11612 2001-10-19  Juergen Vigna  <jug@sad.it>
11613
11614         * text.C (workWidth): use getRow instead of wrong algorithm.
11615         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11616
11617 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
11618
11619         * lyxserver.h:
11620         * lyxserver.C:
11621         * lyx_main.h:
11622         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11623
11624 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11625
11626         * text.C (workWidth): do not search for the exact row when
11627         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11628         optimization for big documents.
11629
11630 2001-10-18  Juergen Vigna  <jug@sad.it>
11631
11632         * text.C (workWidth): new function with added Inset * parameter.
11633
11634 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11635
11636         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11637
11638         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11639         change return type of getColumnNearX.
11640
11641
11642         * text.C (changeRegionCase): use uppercase/lowercase instead of
11643         toupper/tolower.
11644         (leftMargin):
11645         (rightMargin): simplify code by factoring out the uses of
11646         textclasslist.
11647         (labelFill):
11648         (numberOfHfills):
11649         (setHeightOfRow):
11650         (appendParagraph): use Paragraph::size_type
11651
11652 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11653
11654         * vspace.C (asLatexString): add a missing break
11655
11656 2001-10-15  Herbert Voss  <voss@perce.de>
11657
11658         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11659
11660 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11661
11662         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11663         is not available.
11664
11665 2001-10-10  André Pönitz <poenitz@gmx.net>
11666
11667         * lyxfunc.C: removed greek_kb_flag.
11668
11669 2001-10-10  Herbert Voss  <voss@perce.de>
11670
11671         * lyx_main.C: delete global string help_lyxdir.
11672
11673 2001-10-09  Herbert Voss  <voss@perce.de>
11674
11675         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11676
11677         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11678
11679         * lyx_main.C: added global string help_lyxdir.
11680
11681         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11682
11683 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11684
11685         * lyxrc.C (set_font_norm_type): support iso8859-4
11686
11687 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
11688
11689         * LaTeX.C (deplog): add another regex for MikTeX
11690
11691 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11692
11693         * lyxrc.C (set_font_norm_type): support iso8859-3
11694
11695 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11696
11697         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11698
11699         * LaTeXFeatures.C: remove special case of french and index
11700
11701         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11702         before \begin{document}). This solves several incompatibilities.
11703
11704 2001-10-03  Garst Reese  <reese@isn.net>
11705
11706         * lyx_cb.C: change CheckTex error msg.
11707
11708 2001-10-03  José Matos  <jamatos@fep.up.pt>
11709
11710         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11711
11712 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11713
11714         * .cvsignore: update
11715
11716         * lyx_main.C (commandLineVersionInfo): use new style version info.
11717
11718         * buffer.C (writeFile):
11719         (makeLaTeXFile):
11720         (makeLinuxDocFile):
11721         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11722
11723         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11724
11725         * version.h: update to use stuff in version.C
11726
11727         * version.C.in: new file. Contains version information determined
11728         at compile time. This is a merging of version.h and
11729         version_info.h.in.
11730
11731 2001-10-03  Juergen Vigna  <jug@sad.it>
11732
11733         * BufferView_pimpl.C (update): don't change "dirty" status in
11734         updateInset call.
11735
11736 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
11737
11738         * WorkArea.C (c-tor): re-position version string slightly.
11739
11740 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
11741
11742         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11743         revert to previous code.
11744
11745         WorkArea.[Ch]: (show, destroySplash): methods removed.
11746
11747         WorkArea.C: rework code so that it's an amalgam of the codes before and
11748         after the splash screen was moved to WorkArea.
11749
11750 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11751
11752         * lyxrc.C (read):
11753         * vspace.C (inPixels):
11754         (lyx_advance):
11755         * kbmap.C (bind):
11756         * buffer.C (insertStringAsLines):
11757         (asciiParagraph): fix types to be large enough
11758
11759         * lyxlex_pimpl.h: change member status from short to int
11760
11761         * layout.h: fix type of endlabeltype
11762
11763         * kbmap.C (bind):
11764         * kbsequence.C (parse): change return type to string::size_type
11765
11766         * LaTeX.C (updateBibtexDependencies): comment out unneeded
11767         variable
11768
11769         * Bullet.C (bulletSize):
11770         (bulletEntry): do not use short ints as parameters
11771
11772         * BufferView2.C (insertLyXFile): change a char to an int.
11773
11774         * WorkArea.C (WorkArea): remove unneeded floats in computation
11775
11776 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11777
11778         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11779
11780         * paragraph.C (asString): Do not ignore newline/hfill chars when
11781         copying to the clipboard.
11782
11783 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
11784
11785         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11786         after a multi-line inset.
11787
11788 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
11789
11790         * paragraph.C (validate): Set NeedLyXFootnoteCode
11791
11792 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11793
11794         * lyxfont.C (LyXSizeNames): changed increase-error to increase
11795         and decrease-error to decrease.
11796
11797 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11798
11799         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11800         it more readable (should be equivalent)
11801
11802 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11803
11804         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11805
11806 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11807
11808         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11809         of a cursor (row, etc.) after a character has been deleted
11810         (deleteEmptyParagraphMechanism): call the method above on _all_
11811         cursors held by the LyXText when a double space has been
11812         detected/deleted.
11813
11814 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11815
11816         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11817         pixmap.
11818         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11819
11820         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11821         background. Use greyOut() and the new show() methods to toggle between
11822         the foreground and background. Add code to remove the splash after
11823         its initial showing.
11824
11825         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11826         (create_forms): no longer call Dialogs::showSplash.
11827
11828 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11829
11830         * .cvsignore: add version_info.h
11831
11832 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11833
11834         * version_info.h.in: new file
11835
11836         * Makefile.am: add version_info.h.in
11837
11838         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11839         version_info.h instead of VERSION_INFO
11840
11841 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11842
11843         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11844         The ERT inset now returns string().
11845
11846 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11847
11848         * lyxtext.h, text.C (selectNextWord): renamed as
11849         selectNextWordToSpellcheck.
11850
11851         * text.C (selectNextWordToSpellcheck): Modified to not select
11852         words inside an ERT inset.
11853
11854 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11855
11856         * lyx_cb.C (MenuLayoutSave): change a bit the question
11857
11858         * sp_base.h: include <sys/types.h>
11859
11860 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11861
11862         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11863
11864 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11865
11866         * several files: fix typos in user-visible strings
11867
11868 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11869
11870         * text2.C (pasteSelection): do not set the selection, since it
11871         will be cleared later. Actually, the intent was to fix the way the
11872         selection was set, but I figured rmoving the code was just as good.
11873
11874 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11875
11876         * FontLoader.C (available): Check if font is available without
11877         loading the font.
11878
11879 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11880
11881         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11882
11883 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11884
11885         * lyxrc.[Ch]: added display_graphics variable and associated code.
11886
11887 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11888
11889         * bufferparams.C (hasClassDefaults): new method. Returns true if
11890         the buffer parameters correspond to known class defaults
11891
11892 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11893
11894         * XFormsView.C (show): set minimum size to the main window.
11895
11896 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11897
11898         * text2.C (copySelection):
11899         (cutSelection):
11900         * lyxfind.C (LyXReplace):
11901         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11902         LyXText::selectionAsString.
11903
11904         * paragraph.C (asString): add "label" argument to the second form
11905
11906         * text2.C (selectionAsString): add "label" argument and pass it to
11907         Paragraph::asString.
11908
11909 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11910
11911         * lyx_main.C (commandLineHelp): remove version information
11912
11913 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11914
11915         * lyx_main.C: add -version commandline option
11916
11917 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11918
11919         * paragraph.h: make the optional constructor arg required instead.
11920         some modifications to other files because of this.
11921
11922         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11923
11924         * lyxserver.C (C_LyXComm_callback): make it static
11925
11926         * lyx_main.C (error_handler): make it static
11927
11928         * lyx_gui.C (LyX_XErrHandler): make it static
11929
11930         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11931
11932         * WorkArea.C: make the extern "C" methods static.
11933
11934         * Makefile.am (lyx_LDADD): simplify
11935
11936 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11937
11938         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11939         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11940
11941         * LyXAction.C (init):
11942         * lyxfunc.C (dispatch): associated code removal.
11943
11944 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11945
11946         * lyxfont.h (isSymbolFont): shut off warning
11947
11948         * text.C (setHeightOfRow):
11949         (getVisibleRow): fix crash with empty paragraphs which have a
11950         bottom line
11951
11952 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
11953
11954         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11955         code.
11956
11957 2001-09-04  José Matos  <jamatos@fep.up.pt>
11958         * buffer.C
11959         * buffer.h
11960         * tabular.C (docbook): rename docBook method to docbook.
11961
11962 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11963
11964         * Makefile.am: add dependencies to main.o.
11965
11966 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
11967
11968         * FontLoader.C (available): Return false if !lyxrc.use_gui
11969
11970 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
11971
11972         * FontInfo.C (query):
11973         * converter.C (view):
11974         * importer.C (Import):
11975         * exporter.C (Export): Can not -> cannot.
11976
11977 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
11978
11979         * BufferView_pimpl.C: allow to create index inset even if
11980           string is empty
11981
11982 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11983
11984         * buffer.C (getLists): replace boost::tie code with an explicit pair
11985         as boost::tie can break some compilers.
11986
11987         * iterators.h: Added a std:: declaration to the return type of
11988         ParIterator::size.
11989
11990 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
11991
11992         * lyxrc.C: add help for view_dvi_paper_option, default to safe
11993           case.
11994
11995 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
11996
11997         * iterators.[Ch]: New files. Provide paragraph iterators.
11998
11999         * buffer.C (changeLanguage): Use paragraph iterators.
12000         (isMultiLingual): ditto
12001
12002         * BufferView2.C (ChangeInsets): Use paragraph iterators.
12003
12004 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
12005
12006         * FontLoader.C: Support for cmr font.
12007
12008 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
12009
12010         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12011         (available): New method.
12012
12013         * FontInfo.C (getFontname): Use scalable fonts even when
12014         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12015         found.
12016
12017 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12018
12019         * converter.C (Formats::view): reverted! Incorrect fix.
12020
12021 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12022
12023         * converter.C (Formats::view): only output the -paper option
12024         if the dvi viewer is xdvi, thereby fixing bug #233429.
12025
12026 2001-08-23  Herbert Voss  <voss@perce>
12027
12028         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12029
12030 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
12031
12032         * Spacing.h (Spacing): Set space to Default on in the default
12033         constructor.
12034
12035 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12036
12037         * vc-backend.h (RCS::versionString): add RCS to version
12038         (CVS::versionString): add CVS to version
12039
12040         * vc-backend.C (scanMaster): do not add CVS to version.
12041         (scanMaster): do not add RCS to version
12042
12043         * lyxvc.C (versionString): new method
12044
12045         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12046
12047 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12048
12049         * Spacing.C (set): initialize fval
12050
12051 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
12052
12053         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12054         " or \.
12055
12056 2001-08-16  Juergen Vigna  <jug@sad.it>
12057
12058         * lyxfunc.C (dispatch): implemented the new FINISHED states.
12059
12060 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12061
12062         * BufferView_pimpl.C:
12063         * figureForm.C:
12064         * lyxtext.h:
12065         * text2.C: setParagraph takes linespacing now
12066
12067 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
12068
12069         * LyxAction.C: add internal LFUN_CITATION_INSERT
12070
12071         * LyXView.C: actually apply fix
12072
12073         * bufferlist.C: fix open non-existent file
12074
12075         * lyxfind.C: fix indentation
12076
12077         * lyxfunc.C: remove unneeded assert, fix typo
12078
12079 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12080
12081         * MenuBackend.C: use "Floatname List"
12082
12083 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
12084
12085         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12086         when converting LaTeX layout to insetERT.
12087         Generate a non-collapsed float when reading old float
12088
12089 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12090
12091         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12092         ERT insets.
12093
12094 2001-08-13  Juergen Vigna  <jug@sad.it>
12095
12096         * text.C (fill): return 0 instead of 20 as this seems to be the more
12097         correct value.
12098
12099 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12100
12101         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12102         lyxrc.font_norm.
12103
12104 2001-08-13  Juergen Vigna  <jug@sad.it>
12105
12106         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12107         casesensitive off.
12108         (SearchBackward): comment out the unlocking of the inset_owner this
12109         should not be needed!
12110
12111 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
12112
12113         * Many files: Remove inherit_language, and add latex_language
12114
12115         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12116         collapsible insets.
12117
12118 2001-08-10  Juergen Vigna  <jug@sad.it>
12119
12120         * text.C (prepareToPrint): fixed hfill-width in draw!
12121
12122         * BufferView2.C (selectLastWord): save the selection cursor as this
12123         now is cleared in the function LyXText::clearSelection!
12124
12125 2001-08-08  Juergen Vigna  <jug@sad.it>
12126
12127         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12128         BACKSPACE type functions.
12129
12130         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12131         is only cutted from the document but not put in the cut-buffer, where
12132         still the old stuff should be.
12133
12134         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12135
12136         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12137
12138         * tabular.C (SetWidthOfCell): fixed special case where the width
12139         was not updated!
12140         (LeftLine): handle '|' in align_special.
12141         (RightLine): ditto
12142         (LeftAlreadyDrawed): ditto
12143         (SetWidthOfCell): ditto
12144
12145 2001-08-07  Juergen Vigna  <jug@sad.it>
12146
12147         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12148
12149 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12150
12151         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12152         * lyxlex.[hC]: ditto
12153
12154 2001-08-06  Juergen Vigna  <jug@sad.it>
12155
12156         * text.C (getVisibleRow): fix up row clearing a bit.
12157
12158 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12159
12160         * minibuffer.C: make sure the X server sees the changes in the input.
12161
12162 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12163
12164         * paragraph.C (getFont): split into...
12165         (getLabelFont): this
12166         (getLayoutFont): and this
12167         * paragraph_pimpl.C (realizeFont): calling this
12168
12169         * text2.C (getFont): split into...
12170         (getLayoutFont): this
12171         (getLabelFont): and this
12172         (realizeFont): all three calling this
12173
12174         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12175         files where used.
12176
12177 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12178
12179         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12180
12181 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
12182
12183         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12184         layouts from the Quote inset insertion.
12185
12186 2001-08-03  Juergen Vigna  <jug@sad.it>
12187
12188         * BufferView_pimpl.C (update): do the fitCursor only at the end!
12189
12190         * screen.C (drawFromTo): don't call fitcursor here and do the loop
12191         only if status not is already CHANGED_IN_DRAW (second level).
12192
12193         * text.C (draw): don't set the need_break_row when inside an
12194         InsetText LyXText.
12195
12196 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12197
12198         * buffer.C (parseSingleLyXformat2Token): handle more latex
12199         conversion cases.
12200
12201         * bufferview_funcs.[hC]: change function names to
12202         begin with small char, adjust other files.
12203
12204 2001-08-02  André Pönitz <poenitz@gmx.net>
12205
12206         * lyxfunc.C:
12207         BufferView_pimpl.C: remove broken special code for math-greek
12208
12209 2001-08-02  Juergen Vigna  <jug@sad.it>
12210
12211         * BufferView_pimpl.C (update): redone this function so that we
12212         update the text again if there was a CHANGE_IN_DRAW.
12213
12214         * screen.C (cursorToggle): removed LyXText parameter and recoded.
12215         (drawFromTo): added a new internal bool which is used by draw() and
12216         redraw() function.
12217         (general): some cursor drawing problems fixed.
12218
12219 2001-08-01  Juergen Vigna  <jug@sad.it>
12220
12221         * lyxfind.C (LyXFind): fixed
12222         (SearchForward): ditto
12223         (SearchBackward): ditto
12224
12225         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12226         spurius drawing of the cursor in the main area.
12227
12228         * text2.C (status): small fix which could lead to a segfault!
12229         (clearSelection): remove unneeded BufferView param.
12230
12231 2001-08-01  André Pönitz <poenitz@gmx.net>
12232
12233         * lyxfunc.C: small change due to changed mathed interface
12234
12235 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12236
12237         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12238
12239 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
12240
12241         * lyxfunc.c: fail gracefully if file doesn't exist
12242
12243         * LyXSendto.C:
12244         * buffer.C:
12245         * lyxfunc.C:
12246         * BufferView_pimpl.C: IsDirWriteable() proto changed
12247
12248         * LyXView.C: fix updateWindowTitle() to store the last title
12249
12250 2001-07-31  Juergen Vigna  <jug@sad.it>
12251
12252         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12253         the font (wrong since using of Paragraph::highestFontInRange).
12254
12255         * paragraph.C (highestFontInRange): added a default_size parameter.
12256
12257         * text.C (getVisibleRow): minor clear row changes (still not perfect).
12258         (setHeightOfRow): reformat
12259
12260 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12261
12262         * converter.[hC] + affected files: move to (inital-char)lowercase
12263         function names.
12264
12265         * ParagraphParameters.C (ParagraphParameters): remove commented code
12266
12267         * PainterBase.[Ch]: remove commented code
12268
12269         * LaTeXFeatures.h: add "bool floats" for float.sty
12270
12271         * LaTeXFeatures.C (LaTeXFeatures): init floats
12272         (require): handle float
12273         (getPackages): do it with floats
12274
12275 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12276
12277         * BufferView_pimpl.C (Dispatch): improve handling of
12278         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12279
12280         * commandtags.h: #include lyxfont.h here temporarily to avoid
12281         keybinding bug.
12282
12283         * bufferlist.h: include LString.h here.
12284
12285 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12286
12287         * text2.C (getStringToIndex): new method.
12288
12289 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
12290
12291         * *: Reduced header file dependencies all over.
12292
12293 2001-07-30  Baruch Even  <baruch@lyx.org>
12294
12295         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12296
12297 2001-07-29  Baruch Even  <baruch@lyx.org>
12298
12299         * buffer.C (readInset): Changed GRAPHICS to Graphics.
12300
12301 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12302
12303         * ParameterStruct.h (endif): add a default constructor to make
12304         sure that all variables is initialized.
12305
12306         * ParagraphParameters.C (ParagraphParameters): adjust
12307
12308 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12309
12310         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12311         index; also, check that there is something to index, and that it
12312         does not span over several paragraphs.
12313         (doubleClick): use WHOLE_WORD_STRICT for double click.
12314
12315         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12316
12317         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12318         scheme.
12319
12320 2001-07-26  Baruch Even  <baruch@lyx.org>
12321
12322         * buffer.C (readInset): Changed to call up InsetGraphics when reading
12323         an InsetFig figure, backwards compatible reading of old figure code.
12324
12325 2001-07-27  Juergen Vigna  <jug@sad.it>
12326
12327         * text2.C: font.realize function adaption.
12328
12329         * text.C (draw): add a warnings lyxerr text if needed.
12330
12331         * layout.C: font.realize function adaption.
12332
12333         * language.C: add inherit_language and implement it's handlings
12334
12335         * bufferview_funcs.C (StyleReset): remove language parameter from
12336         font creation (should be language_inherit now).
12337
12338         * bufferparams.C (writeFile): handle ignore_language.
12339
12340         * paragraph.C (getFontSettings): the language has to be resolved
12341         otherwise we have problems in LyXFont!
12342
12343         * lyxfont.C (lyxWriteChanges): added document_language parameter
12344         (update): removed unneeded language parameter
12345
12346         * paragraph.C (validate): fixed wrong output of color-package when
12347         using interface colors for certain fonts in certain environments,
12348         which should not seen as that on the final output.
12349
12350 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
12351
12352         * BufferView_pimpl.C:
12353         * Thesaurus.h:
12354         * Thesaurus.C:
12355         * Makefile.am:
12356         * commandtags.h:
12357         * LyXAction.C: add thesaurus support
12358
12359         * lyxfind.h:
12360         * lyxfind.C: add "once" parameter, for thesaurus, to not
12361           move to the next match
12362
12363 2001-07-26  Juergen Vigna  <jug@sad.it>
12364
12365         * lyxfont.C (realize): honor ignore_language too!
12366         (resolved): ditto.
12367
12368         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12369
12370         * text.C (draw): one place more for ignore_language to not draw
12371         itself!
12372
12373 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
12374
12375         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12376
12377 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12378
12379         * buffer.C (parseSingleLyXformat2Token): a more general fix for
12380         the minipage conversion problem.
12381
12382 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12383
12384         * buffer.C (parseSingleLyXformat2Token): check minipage if we
12385         insert an inset.
12386
12387 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12388
12389         * BufferView.h: don't forward declare WorkArea
12390
12391         * BufferView.C: don't include WorkArea.h
12392
12393 2001-07-25  André Pönitz <poenitz@gmx.net>
12394
12395         * commandtags.h:
12396         * LyXAction.C:
12397         * lyxfunc.C:  new LFUN 'math-space'
12398
12399         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12400
12401 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12402
12403         * text2.C (toggleInset): call open/close
12404
12405 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12406
12407         * lyxfunc.C (dispatch): add debug for the disabled case
12408
12409         * font.C (buttonText): make similar to rectText
12410
12411         * buffer.C (readInset): comment out parsing of insetlist and
12412         insttheorem
12413
12414         * PainterBase.C (rectText): small correction
12415
12416         * BufferView_pimpl.C: comment out insettheorem and insetlist
12417         * LyXAction.C: ditto
12418         * commandtags.h: ditto
12419
12420 2001-07-24  Juergen Vigna  <jug@sad.it>
12421
12422         * text.C (draw): honor the ignore_language.
12423
12424         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12425
12426 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12427
12428         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12429         char inset.
12430
12431 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12432
12433         * lyxtext.h: remove unused (and unimplemented) methods
12434
12435 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12436
12437         * text.C (getVisibleRow): honor background color
12438
12439         * PainterBase.h:
12440         * Painter.h: remove default color argument for fillRectangle
12441
12442         * text.C (backgroundColor): new method
12443
12444 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12445
12446         * text.C (getVisibleRow): adjust
12447
12448         * font.[Ch] (rectText): new method, metrics
12449         (buttonText): new method, metrics
12450
12451         * PainterBase.[hC]: make rectText and buttonText always draw and take
12452         fewer paramteres.
12453
12454 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12455
12456         * ToolbarDefaults.C (read):
12457         * MenuBackend.C (read): allow escaping in all strings
12458
12459         * BufferView_pimpl.C (insertAndEditInset): new method.
12460         (Dispatch): use insertAndEditInset whenever appropriate.
12461
12462         * BufferView_pimpl.C (insertNote): removed
12463
12464         * BufferView_pimpl.C (smartQuote): new method, moved from
12465         BufferView; if an insetquote cannot be inserted, insert a '"'
12466         character instead.
12467
12468         * BufferView2.C: remove insertCorrectQuote();
12469
12470         * lyxfunc.C (getStatus): Add support for all remaingin
12471         inset-insert lfuns.
12472
12473         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12474
12475         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12476         command (necessary to pass " as parameter of self-insert.
12477
12478         * text.C (selectWordWhenUnderCursor):
12479         (selectWord): add word_location parameter
12480         (selectWordWhenUnderCursor): same + remove special code for word
12481         boundary.
12482         (selectNextWord): use kind() to guess type of insetspecialchar,
12483         not latex().
12484
12485         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12486         (insertErtContents): create ert insets as collapsed.
12487         (readInset): better compatibility code for Info inset.
12488
12489 2001-07-20  Juergen Vigna  <jug@sad.it>
12490
12491         * lyxfunc.C (dispatch): use always LyXFind now!
12492
12493         * text2.C (init): add a reinit flag so that the LyXText can be
12494         reinited instead of deleted and reallocated (used in InsetText).
12495
12496         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12497
12498         * text.C: ditto
12499
12500         * text2.C: ditto
12501
12502 2001-07-18  Juergen Vigna  <jug@sad.it>
12503
12504         * text.C (selectNextWord): handle insets inside inset by calling
12505         always the bv->text functions so that we can go up the_locking_inset!
12506
12507         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12508         in strange locations when inside an inset!
12509
12510         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12511         handling to include insets.
12512
12513         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12514
12515 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12516
12517         * LyXAction.C (init):
12518         * commandtags.h:
12519         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12520         LIGATURE_BREAK, since the name is so stupid.
12521
12522 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12523
12524         * buffer.C (readInset): enable reading of new InsetNotes as well as old
12525         InsetInfos.
12526
12527         * FontLoader.C: remove FORMS_H_LOCATION cruft.
12528
12529         * sp_form.[Ch]: remove.
12530
12531         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12532
12533         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12534         InsetInfo.
12535
12536         * src/buffer.C (readInset): ditto.
12537
12538 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12539
12540         * BufferView_pimpl.C (specialChar): new method. Obsoletes
12541         menuSeparator(), endOfSentenceDot(), ldots() and
12542         hyphenationPoint(), which are therefore removed.
12543         (Dispatch): handle LFUN_HYPHENATION_BREAK.
12544
12545         * LyXAction.C (init):
12546         * commandtags.h: add LFUN_HYPHENATION_BREAK.
12547
12548         * paragraph.C (getWord): removed.
12549
12550         * BufferView_pimpl.C (Dispatch): use last word or selection for
12551         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12552
12553         * lyx_main.C (queryUserLyXDir): do not ask before creating
12554         user_dir, except if it has been named explicitely.
12555
12556 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12557
12558         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12559         a document of zero size.
12560
12561 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
12562
12563         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12564         approriately in the c-tor and in require().
12565         (getPackages): output the appropriate LaTeX for natbib support.
12566
12567         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12568         variables "use_natbib" and "use_numerical_citations" when reading the
12569         LyX file.
12570         (readInset): read the various natbib cite commands.
12571         (validate): white-space change.
12572
12573         * bufferparams.[Ch]: new variables "bool use_natbib" and
12574         "bool use_numerical_citations".
12575         (writeFile): output them in the LyX file.
12576
12577 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12578
12579         * lyxfunc.C (getStatus): add support for all the inset insertion
12580         commands.
12581
12582         * text2.C (insertInset):
12583         * paragraph.C (insetAllowed):
12584         * BufferView_pimpl.C (insertInset): update to take in account the
12585         renaming of insertInsetAllowed
12586
12587         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12588
12589         * text2.C (getInset): new method. returns inset at cursor position.
12590
12591         * BufferView_pimpl.C (Dispatch): changes because of this.
12592
12593         * LyXAction.C (init): rename open-stuff to inset-toggle.
12594
12595         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12596
12597         * text2.C (toggleInset): renamed from openStuff; use
12598         Inset::open().
12599
12600 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
12601
12602         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12603
12604         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12605
12606 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
12607
12608         * buffer.C (readLyXformat2): Add filename to the error dialog
12609
12610 2001-07-18  Juergen Vigna  <jug@sad.it>
12611
12612         * tabular.C (GetCellNumber): put an assert here instead of the check!
12613
12614 2001-07-17  Juergen Vigna  <jug@sad.it>
12615
12616         * BufferView_pimpl.C (toggleSelection): adapted too.
12617
12618         * text.C (selectNextWord): adapted for use with insets.
12619         (selectSelectedWord): ditto
12620
12621 2001-07-17  Juergen Vigna  <jug@sad.it>
12622
12623         * sp_spell.C (PSpell): fix initialitation order.
12624
12625 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12626
12627         * paragraph.C: spacing
12628
12629 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
12630
12631         * sp_spell.C: repair language selection for pspell
12632
12633 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12634
12635         * lyxfunc.h: change more methods to begin with lower char.
12636
12637 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
12638
12639         * buffer.C (parseSingleLyXformat2Token): Generate error insets
12640         for unknown layouts.
12641
12642 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12643
12644         * buffer.C (readLyXformat2): Generate an error dialog if there are
12645         unknown layouts.
12646
12647 2001-07-16  Juergen Vigna  <jug@sad.it>
12648
12649         * sp_spell.C: always compile ISpell part.
12650
12651         * lyxrc.C: added use_pspell entry and it's handling.
12652
12653 2001-07-13  Juergen Vigna  <jug@sad.it>
12654
12655         * sp_spell.C: removed double includes.
12656
12657 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
12658
12659         Consistent use of Lsstream.h:
12660         * Lsstream.h: added using std::stringstream for consistencies sake.
12661
12662         * buffer.C: removed using std::stringstream
12663
12664         * lyxfont.C (stateText):
12665         * paragraph.C (asString):
12666         * text.C (selectNextWord, selectSelectedWord):
12667         * text2.C (setCounter):
12668         * vspace.C (asString, asLatexString):
12669         std::ostringstream -> ostringstream.
12670
12671 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12672
12673         * LyXAction.C: add LFUN_HELP_ABOUTLYX
12674         * commandtags.h: add LFUN_HELP_ABOUTLYX
12675         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12676
12677 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12678
12679         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12680         cursorToggle()
12681         * lyx_gui_misc.C: remove spellchecker
12682         * lyxfunc.C: showSpellchecker
12683         * sp_base.h: added
12684         * sp_ispell.h: added
12685         * sp_pspell.h: added
12686         * sp_spell.C: added
12687         * sp_form.[Ch]: removed
12688         * spellchecker.[Ch]: removed
12689
12690 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
12691
12692         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12693         is set.
12694         (simpleTeXSpecialChars): Simply print the input character without
12695         any special translation if pass_thru is set.
12696
12697         * layout.h: Added bool pass_thru to layout class for being able to
12698         implement pass through of a paragraph for Literate Programming.
12699
12700         * layout.C: add LT_PASS_THRU to LayoutTags enum.
12701         * layout.C (LyXLayout): set pass_thru to flase in constructor.
12702         * layout.C (Read): add "passthru" to list of layout tags and add
12703         code to set the pass_thru boolean when it is read.
12704
12705 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12706
12707         * trans_decl.h: remove allowed from KmodInfo
12708
12709         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12710         remove allowed code
12711         (Load): adjust
12712
12713         * paragraph_pimpl.C (erase): use boost::prior
12714
12715         * Painter.C (text): use data() instead of c_str() when length is
12716         also provided.
12717         * WorkArea.C (putClipboard): ditto
12718         * font.h (width): ditto
12719
12720         * BufferView2.C: use it-> instead of (*it). for iterators
12721         * texrow.C: ditto
12722         * paragraph_pimpl.C: ditto
12723         * paragraph.C: ditto
12724         * minibuffer.C: ditto
12725         * language.C: ditto
12726         * kbmap.C: ditto
12727         * encoding.C: ditto
12728         * counters.C: ditto
12729         * converter.C: ditto
12730         * chset.C: ditto
12731         * Variables.C: ditto
12732         * TextCache.C: ditto
12733         * MenuBackend.C: ditto
12734         * LyXAction.C: ditto
12735         * LColor.C: ditto
12736         * FloatList.C: ditto
12737         * DepTable.C: ditto
12738         * ColorHandler.C (LyXColorHandler): ditto
12739
12740 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12741
12742         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12743
12744         * text2.C (openStuff): reintroduce this method (which had been
12745         nuked in NEW_INSETS frenzy).
12746
12747         * lyxfunc.C (Dispatch): when an action has not been handled, use
12748         its name in the error message, not its number.
12749
12750         * paragraph.C (inInset): change method name to begin with lowercase.
12751
12752         * undo_funcs.C:
12753         * text2.C: updates because of this.
12754
12755 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12756
12757         * ToolbarDefaults.C (add): add spaces in error message
12758
12759 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12760
12761         * buffer.C (readLyXformat2): initialize the ert comp. variables.
12762         (readLyXformat2): rename return_par to first_par, use lyxlex's
12763         pushToken and remove the manual push handling.
12764         (parseSingleLyXformat2Token): add another ert comp. variable:
12765         in_tabular, rename return_par to first_par. handle newlines better
12766
12767 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12768
12769         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12770
12771 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12772
12773         * text2.C (getParFromID): removed
12774
12775         * buffer.C (getParFromID): new method moved form lyxtext.
12776         * BufferView2.C (insertErrors): adjust
12777         (setCursorFromRow): adjust
12778         * BufferView_pimpl.C (restorePosition): adjust
12779         * lyxfunc.C (Dispatch): adjust
12780         * undo_funcs.C (textUndo): adjust
12781         (textRedo): adjust
12782         (textHandleUndo): adjust
12783         (textHandleUndo): adjust
12784
12785 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12786
12787         * buffer.C: up' the LYX_FORMAT
12788
12789         * lyxfont.h: turn NO_LATEX on as default
12790
12791         * buffer.C (insertErtContents): new methods of tex style compability.
12792         (parseSingleLyXformat2Token): use it several places.
12793         * tabular.C (OldFormatRead): and here
12794
12795 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12796
12797         * text2.C: remove some commented code.
12798         reindent file.
12799
12800         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12801         * trans.C: changes because of the above.
12802
12803 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
12804
12805         * text2.C (setCounter): Fix counters bug with bibliography layout.
12806
12807 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12808
12809         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12810         own member functions
12811         (simpleTeXSpecialChars): ditto
12812
12813 2001-07-06  Juergen Vigna  <jug@sad.it>
12814
12815         * a lot of files: changed the access to LyXText::status and the
12816         call of undo-functions.
12817
12818         * undo.[Ch]: added a inset_id to the undo informations.
12819
12820         * undo_funcs.[Ch]: added and moved here all undo functions.
12821
12822         * lyxtext.h: give the status enum a weight, made status_ a private
12823         variable and made accessor functions for it, removed the whole bunch
12824         of undo-functions as they are now in their own file, make some
12825         functions publically available. Added function ownerParagraph with
12826         int parameter.
12827
12828         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12829         made InInset() a const function, added getParFromID() function.
12830
12831         * buffer.[Ch]: added const version for inset_iterator functions,
12832         added getInsetFromID() function.
12833
12834         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12835         changed undo functions for new version.
12836
12837 2001-07-05  Juergen Vigna  <jug@sad.it>
12838
12839         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12840         unknow mechanism does not call the proper constructor but only this
12841         one also if I request the other!?
12842
12843 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12844
12845         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12846
12847         * text2.C (LyXText): use initialization lists.
12848
12849         * lyxtext.h (Selection): initialize set_ and mark_
12850         (init): remove method
12851
12852 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12853
12854         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12855
12856 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12857
12858         * screen.[Ch]: change method names to begin with lowercase
12859
12860         * BufferView_pimpl.C (updateScrollbar): simplify further and
12861         hopefully make it a bit faster.
12862
12863 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12864
12865         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12866         calling directly xforms functions.
12867
12868         * Painter.C (Painter):
12869         * lyx_cb.C (MenuWrite):
12870         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12871         fl_display.
12872
12873         * lyx_gui.C: remove bogus guiruntime extern declaration.
12874
12875 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12876
12877         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12878         in NEW_INSETS
12879         (redoDrawingOfParagraph): ditto
12880         (redoParagraphs): ditto
12881         (cutSelection): don't create a object for CutAndPaste use the
12882         static method directly
12883         (pasteSelection): ditto
12884
12885         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12886         LyXview (+ rename)
12887
12888 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12889
12890         * modifications to some other files because of this.
12891
12892         * Makefile.am (lyx_SOURCES): add XFormsView
12893
12894         * XFormsView.[Ch]: new files
12895
12896         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12897         the main window. Move the gui dependent stuff to XFormsView
12898
12899 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12900
12901         * tabular.C (GetCellInset): update cur_cell also in the row/col
12902         version of this function.
12903
12904         * lyxfunc.C: no need to include figure_form.h here.
12905
12906         * FontLoader.h:
12907         * lyxfunc.h:
12908         * lyxscreen.h:
12909         * text2.C:
12910         * lyxvc.C: no need to include forms.h here.
12911
12912 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12913
12914         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12915
12916         * lyxfunc.C (Dispatch):
12917         * Spacing.C (set):
12918         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12919         constructor argument.
12920
12921 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12922
12923         * paragraph.C (Paragraph): dont't clear, and just set layout.
12924         (makeSameLayout): use params's copy contructor.
12925
12926         * ParagraphParameters.[Ch] (makeSame): delete method
12927
12928 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12929
12930         * Variables.[Ch]: fix indentation, rename set to isSet
12931
12932 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12933
12934         * lyxfunc.C (Dispatch): fix typo
12935
12936 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12937
12938         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12939         upper_bound.
12940
12941         * bufferlist.C: include assert.h for emergencyWrite().
12942
12943 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12944
12945         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12946           give up at last (bug #425202) !
12947
12948 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12949
12950         * lyx_gui_misc.C:
12951         * sp_form.h:
12952         * sp_form.C:
12953         * spellchecker.h:
12954         * spellchecker.C: strip spellchecker options and bring up
12955           preferences tab instead
12956
12957 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12958
12959         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12960         the istringstream constructor
12961
12962 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12963
12964         * paragraph.C (getLayout): fix return value
12965
12966         * paragraph.h: do not declare getLayout as inline.
12967
12968         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12969
12970 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12971
12972         * lyxcursor.h (operator<): new func
12973         (operator>): new func
12974         (operator>=): new func
12975         (operator<=): new func
12976
12977         * text.C (changeCase): use selection.start and selection.end
12978         (changeRegionCase): require from to be <= to. Require par to be a
12979         valid paragraph.
12980
12981         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12982
12983 2001-06-27  Juergen Vigna  <jug@sad.it>
12984
12985         * text.C (cursorLeftOneWord): changed to return the cursor and added
12986         overlay with BufferView * parameter which calls this one.
12987         (getWord): added
12988         (selectWord): use new getWord function.
12989         (changeCase): renamed from changeWordCase as and extended to work
12990         also on selections.
12991
12992         * lyxtext.h: added enum word_location
12993
12994         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12995         changeCase as this operates now also on selections.
12996
12997 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
12998
12999         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13000
13001         * many files: send debug output to Debug::INFO instead of
13002         Debug::ANY.
13003
13004         * converter.C (View):
13005         (Convert):
13006         (Move): send debug output to Debug::FILES instead of console.
13007
13008 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
13009
13010         * lyxfunc.C (getStatus): use func_status
13011
13012         * func_status.h: new header, describing the results of
13013         LyXFunc::getStatus;
13014
13015         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13016         LFUN_MATH_HALIGN.
13017
13018 2001-06-25  The LyX Project  <jug@sad.it>
13019
13020         * buffer.C (sgmlOpenTag):
13021         (sgmlCloseTag):
13022         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
13023
13024 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13025
13026         * text2.C: remove some dead code
13027
13028         * tabular.C (GetCellInset): store the last cell checked (gotten)
13029
13030         * tabular.h: add the helper for the speedup
13031
13032         * lyxtext.h: remove some dead code
13033
13034 2001-06-26  The LyX Project  <Asger>
13035
13036         * paragraph.C: Change export to LaTeX of alignment to
13037         \begin{center} and family for better roundtrip work with reLyX.
13038
13039         * Tune the math drawing a bit.
13040
13041 2001-06-25  The LyX Project  <Asger>
13042
13043         * LColor.C (LColor): New color for math background. New color
13044         for buttons.
13045
13046 2001-06-25  The LyX Project  <jug@sad.it>
13047
13048         * lyxfunc.C (MenuNew): remove extra check for .lyx file
13049
13050         * lyxfunc.C (Open):
13051         * bufferlist.C (newFile): do not restrict to files ending with
13052         .lyx
13053
13054         * BufferView_pimpl.C (MenuInsertLyXFile):
13055
13056 2001-06-24  The LyX Project  <jug@sad.it>
13057
13058         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13059         of compare_no_case
13060
13061 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13062
13063         * lyxtext.h: rename most methods to begin with a small char.
13064         Lots of changes because of this.
13065
13066         * paragraph.C (Paragraph): do not call fitToSize
13067         (erase): call Pimpl::erase
13068         (insertChar): call Pimpl::insertChar
13069         (insertInset): call Pipl::insertInset
13070         (breakParagraph): do not call fitToSize
13071         (breakParagraphConservative): do not call fitToSize
13072         (fitToSize): remove method
13073
13074         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13075
13076 2001-06-24  The LyX Project  <Asger>
13077
13078         * Fix Qt compilation^2
13079
13080 2001-06-24  The LyX Project  <jug@sad.it>
13081
13082         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13083         depthHook(getDepth()-1).
13084
13085         * paragraph.h:
13086         * ParagraphParameters.h:
13087         * ParameterStruct.h: change type of depth to unsigned int ==
13088         depth_type. Many adaptations to other files before of that.
13089
13090 2001-06-24  The LyX Project  <Asger>
13091
13092         * Fix Qt compilation.
13093
13094 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13095
13096         * paragraph.h: renamed several methods to begin with small letter.
13097         several changes to many parts of the code because of this.
13098
13099 2001-06-23  The LyX Project  <jug@sad.it>
13100
13101         * text2.C (InsertStringAsLines): renamed from InsertStringA;
13102         rewritten to discard all double spaces when KeepEmpty is off
13103         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13104         to only handle newlines but not fiddle with spaces and friends.
13105
13106         * lyxfunc.C (MenuNew): when doing 'new from template', use
13107         template_path as default directory
13108
13109 2001-06-23  The LyX Project  <Asger>
13110
13111         * Clean-up of header file includes all over
13112         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13113
13114 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13115
13116         * paragraph.h: renamed from lyxparagraph.h
13117
13118 2001-06-23  Asger  <lyx@violet.home.sad.it>
13119
13120         * Buffer.h: Removed Buffer::resize
13121         * BufferList.h: Removed BufferList::resize
13122         * LyXView.h: Added LyXView::resize. This way, we will only reflow
13123         the document lazily when we change the width, or the font settings.
13124
13125 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13126
13127         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13128
13129 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13130
13131         * buffer.h: remove out of date comment
13132
13133 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13134
13135         * lyxscreen.h:
13136         * screen.C: fix "theoretical" GC leak
13137
13138 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13139
13140         * LaTeX.C (scanAuxFile):
13141         (deplog): remove trailing \r when reading stream (useful under
13142         win32)
13143
13144 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
13145
13146         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13147         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13148         and BufferView::theLockingInset(Inset*), so should use them and not
13149         access bv_->text->the_locking_inset directly.
13150
13151         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13152
13153 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13154
13155         * Makefile.am:
13156         * tex-defs.h: remove old unused file
13157
13158 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
13159
13160         * BufferView_pimpl.C: fix typo, remove minibuffer message
13161           when buffer has loaded
13162
13163 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13164
13165         * lyxfunc.C (Dispatch): use stringstream
13166         (MenuNew): use stringstream
13167         (Open): use stringstream
13168
13169         * importer.C (Import): use stringstream
13170
13171         * bufferview_funcs.C (CurrentState): use stringstream
13172
13173         * LaTeX.C (run): use stringstream
13174
13175         * BufferView_pimpl.C (savePosition): use stringstream
13176         (restorePosition): use stringstream
13177         (MenuInsertLyXFile): use stringstream
13178
13179 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
13180
13181         * BufferView.C:
13182         * Bullet.C:
13183         * ColorHandler.C:
13184         * FontInfo.C:
13185         * FontLoader.C:
13186         * LColor.C:
13187         * LaTeXFeatures.C:
13188         * Painter.C:
13189         * gettext.C:
13190         * lyx_gui_misc.C:
13191         * lyxserver.C:
13192         * vspace.C: removed // -*- C++ -*- as first line.
13193
13194         * lyxfind.h:
13195         * version.h: added // -*- C++ -*- as first line.
13196
13197 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13198
13199         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13200
13201         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13202         of string
13203
13204 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13205
13206         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13207         of floats.
13208
13209 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13210
13211         * gettext.C: include LString.h even when --disable-nls is on.
13212
13213 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
13214
13215         * converter.h (Get): changed argument type from int to
13216         FormatList::size_type to avoid unnecessary conversion.
13217
13218         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13219         before using it.
13220
13221 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13222
13223         * gettext.h: include LString.h even when --disable-nls is on.
13224
13225 2001-06-07  Juergen Vigna  <jug@sad.it>
13226
13227         * text.C (BreakAgain): subst spaces with tabs.
13228
13229         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13230         (resizeInsetsLyXText): set force on resizeLyXText.
13231
13232 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13233
13234         * gettext.h (gettext_init):
13235         (locale_init): use a real definition instead of a macro
13236
13237 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13238
13239         * Bufferview_pimpl.C:
13240         * LColor.h:
13241         * LColor.C: further lcolor tidies
13242
13243 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13244
13245         * BufferView_pimpl.C (updateScrollbar): simplify.
13246
13247         * BufferView2.C: don't include insets/insetinfo.h, change
13248         prototype for insertInset and call the Pimpl version. let
13249         updateInset call Pimpl version.
13250
13251         * BufferView.h: move inset_slept to BufferView::Pimpl, move
13252         gotoInset to BufferView::Pimpl
13253
13254 2001-06-01  Juergen Vigna  <jug@sad.it>
13255
13256         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13257         inside a LockingInset (is the update needed at all?).
13258
13259 2001-05-31  Juergen Vigna  <jug@sad.it>
13260
13261         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13262         here not the old one otherwise how should we compare it afterwards
13263         if it's the same!
13264
13265 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13266
13267         * lyxfont.C:
13268         * tabular.C:
13269         * tabular-old.C:
13270         * FontInfo.C: bring C functions into global namespace when
13271         necessary
13272
13273 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13274
13275         * LString.h: make sure config.h has been loaded before LString.h.
13276
13277         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13278         (one for each char read by EatLine!).
13279
13280         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13281         variables.
13282
13283 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13284
13285         * paragraph.C (BreakParagraph): set the inset_owner in the new par
13286         to the same as the par we break from
13287
13288 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13289
13290         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13291
13292         * MenuBackend.C (expand): also create menu entries for wide
13293         versions of the floats.
13294
13295         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13296
13297         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13298
13299         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13300         frontends/Makefile.am
13301
13302         * text2.C: adjust
13303         * text.C: adjust
13304
13305
13306         * tabular.C (getTokenValue): add std::
13307
13308         * tabular-old.C (getTokenValue): add std::
13309         (getTokenValue): ditto
13310         (getTokenValue): ditto
13311
13312         * screen.C (ToggleSelection): adjust
13313
13314         * lyxtext.h: put selection cursors inside a Selection struct.
13315
13316         * lyxfunc.C (moveCursorUpdate): adjust
13317
13318         * lyxfont.C (latexWriteStartChanges): add std::
13319
13320         * lyxfind.C: adjust
13321
13322         * font.h: delete with(char const *, LyXFont const &)
13323
13324         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13325
13326         * FontInfo.C (getFontname): add std::
13327
13328         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13329         (workAreaButtonPress): adjust
13330         (tripleClick): adjust
13331         (update): adjust
13332         (moveCursorUpdate): adjust
13333         (Dispatch): adjust
13334
13335         * BufferView2.C (gotoInset): adjust
13336
13337 2001-05-30  Juergen Vigna  <jug@sad.it>
13338
13339         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13340         to check pspell I add this as default as I now have new pspell
13341         libraries and they seem to use this.
13342
13343 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13344
13345         * text2.C (CutSelection): make the cursor valid before the call to
13346         ClearSelection.
13347
13348 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13349
13350         * kbsequence.C (parse): de-uglify a bit the parsing code, which
13351         relied on 0 terminated strings and other horrors. Bug found due to
13352         the new assert in lyxstring!
13353
13354         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13355         KP_ keys.
13356
13357 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13358
13359         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13360         to latinkeys.bind.
13361
13362         * lyxfunc.C (processKeySym): change method of getting to the
13363         self-insert char.
13364
13365         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13366         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13367         * BufferView_pimpl.[Ch]: here as private methods.
13368
13369 2001-05-28  Juergen Vigna  <jug@sad.it>
13370
13371         * text.C (SetHeightOfRow): added the update() call again as it is
13372         needed to initialize inset dimensions!
13373
13374 2001-05-16  Juergen Vigna  <jug@sad.it>
13375
13376         * text2.C (SetCharFont): Add new function with BufferView * and
13377         bool toggleall parameters for setting insets internal fonts.
13378         (SetFont): Freeze the undo as we may change fonts in Insets and
13379         all this change should be inside only one Undo!
13380
13381         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13382         setting font's in insets as for them we have the SetFont function!
13383
13384 2001-05-15  Juergen Vigna  <jug@sad.it>
13385
13386         * text2.C (ClearSelection): to be sure we REALLY don't have any
13387         selection anymore!
13388
13389         * tabular.C (TeXCellPreamble): fixed the left border problem for
13390         multicolumn cells.
13391
13392 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
13393
13394         * LaTeX.C (deplog): Make sure that the main .tex file is in the
13395         dependancy file
13396
13397 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13398
13399         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13400         LFUN_BREAKPARAGRAPH.
13401
13402         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13403         help test to "internal only", similar for LFUN_INSERT_URL
13404
13405         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13406         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13407         auto_region_delete and deadkeys.
13408
13409 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
13410
13411         * LColor.h:
13412         * LColor.C: remove some dead entries, tidy a little
13413
13414 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13415
13416         * lyxfunc.C (processKeySym): comment the Escape handling, remove
13417         commented code.
13418         (Dispatch): implement LFUN_ESCAPE
13419
13420         * commandtags.h: add LFUN_ESCAPE
13421
13422         * LyXAction.C (init): add entry for LFUN_ESCAPE
13423
13424         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13425         Remove commented code.
13426         (insertNote): moved here
13427         (open_new_inset): moved here
13428
13429         * BufferView[2].[Ch]: move insertNote and open_new_inset to
13430         BufferView_pimpl
13431
13432 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13433
13434         * kbmap.C (findbinding): clean it up and make it work correctly.
13435
13436         * lyx_main.C (init): do not pass argc and argv as parameters
13437
13438 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
13439
13440         * buffer.C: fix path for OS/2 & Win32
13441
13442         * lyx_gui.C:
13443         * lyx_main:
13444         * lyx_main.C: Added os:: class.
13445
13446         * os2_defines.h: update
13447
13448 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13449
13450         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13451         better by trying again with reduced state.
13452
13453 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13454
13455         * lyxrc.C (read): print error about invalid key sequence only when
13456         debugging (because not all latinX keysyms are known to some X
13457         servers)
13458
13459         * kbsequence.C (getiso): add a few std:: qualifiers
13460         (getiso): comment out extra return statement.
13461
13462 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13463
13464         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13465         handling.
13466         (Dispatch): enhance the accent inset a bit. (not perfect)
13467
13468 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13469
13470         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13471
13472 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13473
13474         * bufferlist.C (emergencyWrite): fix assert() call
13475
13476 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
13477
13478         * text.C (InsertChar): Added trivial patch to only send the "you
13479         can not do multiple spaces this way" message once during a
13480         session.
13481
13482 2001-05-08  Baruch Even  <baruch@lyx.org>
13483
13484         * Makefile.am: Changed order of libraries to get LyX to link properly
13485         with the gnome frontend.
13486
13487 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13488
13489         * LaTeXFeatures.h: add a std:: qualifier
13490
13491 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13492
13493         * paragraph.C (String): use stringstream
13494
13495 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13496
13497         * paragraph.C (writeFile): remove footflag arg
13498
13499         * buffer.C (makeLaTeXFile): use stringstream
13500         (latexParagraphs): remove footnot gurba
13501
13502         * LaTeXFeatures.C (getPackages): use stringstream
13503         (getMacros): likewise
13504         (getTClassPreamble): likewise
13505         (getFloatDefinitions): new method
13506
13507         * paragraph.C (writeFile): reindent
13508         (Erase): reindent
13509
13510         * WorkArea.h: revert the xpos + etc changes.
13511
13512         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13513
13514         * lyxparagraph.[Ch]: add copy constructor, remove Clone
13515
13516         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13517         (pasteSelection): likewise
13518         * text2.C (CreateUndo): likewise
13519
13520 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13521
13522         * minibuffer.C (peek_event): temporarily reduce the functionality
13523         of the minibuffer (to allow args on lfuns)
13524
13525         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13526         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13527
13528         * buffer.C (readInset): add compability reading of old float
13529         lists, add reading of new style float list.
13530         (readInset): avoid reevaluation of inscmd.getCmdName()
13531         (getLists): reindent
13532
13533         * MenuBackend.C (MenuItem): implement parsing of
13534         md_floatlistinsert and md_floatinsert.
13535         (expand::LastFiles): move initalizaton of iterators out of loop,
13536         avoid reevaluation.
13537         (expand::Documents): introduce typdedef vector<string> Strings,
13538         and use it.
13539         (expand::ExportFormats): introduce typedef vector<Format const *>
13540         Formats, and use it.
13541         (expand): implement FloatListInsert and FloatInsert.
13542
13543         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13544         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13545         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13546
13547         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13548         handling.
13549         (Dispatch::LFUN_FLOAT_LIST): implement
13550
13551 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13552
13553         * LaTeX.C (run): Fix problem with --export code.
13554
13555 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13556
13557         * BufferView.[Ch] (workarea): removed.
13558         (getClipboard) new method; wrapper for workarea()->getClipboard()
13559
13560         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13561         bug.
13562
13563         * WorkArea.h (width, height, xpos, ypos): These methods all
13564         returned the dimensions of the work_area sub-area of WorkArea,
13565         resulting in a position error if the WorkArea were resized. Now
13566         return the dimensions of the entire WorkArea.
13567
13568         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13569
13570 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13571
13572         * LaTeX.C (deplog): correct the syntax of regex reg1
13573
13574 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13575
13576         * undo.C: remove !NEW_INSETS cruft
13577
13578 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13579
13580         * text2.C: remove !NEW_INSETS cruft
13581
13582         * text.C: remove !NEW_INSETS cruft
13583
13584         * tabular.C: remove !NEW_INSETS cruft
13585
13586         * spellchecker.C: remove !NEW_INSETS cruft
13587
13588         * lyxtext.h: remove !NEW_INSETS cruft
13589
13590         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13591
13592         * lyxfunc.C: remove !NEW_INSETS cruft
13593
13594         * lyxfind.C: remove !NEW_INSETS cruft
13595
13596         * lyx_cb.C: remove !NEW_INSETS cruft
13597
13598         * figureForm.C: remove  !NEW_INSETS cruft
13599
13600         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13601
13602         * buffer.[Ch]: remove !NEW_INSETS cruft
13603
13604         * ToolbarDefaults.C: remove !NEW_INSETS cruft
13605
13606         * CutAndPaste.C: remove !NEW_INSETS cruft
13607
13608         * BufferView_pimpl.C: remove !NEW_INSETS cruft
13609
13610         * BufferView2.C: remove !NEW_INSETS cruft
13611
13612         * BufferView.h: remove !NEW_INSETS cruft
13613
13614 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13615
13616         * Lsstream.h: include LString.h before the sstream headers to
13617         fix problem with gcc 2.95.3 and lyxstring
13618
13619 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13620
13621         * lyx_main.C: add using directives when needed for C functions
13622         declared in std:: namespace.
13623
13624 2001-04-27  Juergen Vigna  <jug@sad.it>
13625
13626         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13627         (SetHeightOfRow): comment out the update call should not be needed!
13628
13629 2001-04-13  Juergen Vigna  <jug@sad.it>
13630
13631         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13632         (LyXTabular): tried to minimize operator= operations (and realized
13633         hopfully Lars wish).
13634
13635 2001-04-27  Juergen Vigna  <jug@sad.it>
13636
13637         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13638
13639 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13640
13641         * lyxfunc.C (Dispatch): hack to make listof algorithm work
13642
13643         * buffer.C (readInset): hack to make listof algorithm work
13644
13645         * BufferView_pimpl.C: hack to make listof algorithm work
13646
13647 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13648
13649         * LyXAction.C: removed all !NEW_INSETS cruft
13650         (init): moved lfun_item in method
13651
13652         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13653
13654 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13655
13656         * BufferView2.C (theLockingInset): white space.
13657
13658 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13659
13660         * minibuffer.C: include <iostream>
13661
13662         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13663
13664         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13665
13666         * commandtags.h: add LFUN_TRANSPOSE_CHARS
13667
13668         * text.[Ch] (TransposeChars): new method
13669
13670 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13671
13672         * call message directly through LyXView instead of through LyXFunc
13673         * BufferView2.C: adjust
13674         * BufferView_pimpl.C: adjust
13675         * FontLoader.C: adjust
13676         * buffer.C: adjust
13677         * bufferview_funcs.C: adjust
13678         * converter.C: adjust
13679         * figureForm.C: adjust
13680         * importer.C: adjust
13681         * lyx_cb.C: adjust
13682         * lyx_gui_misc.C: adjust
13683         * lyxfunc.C: adjust
13684         * lyxvc.C: adjust
13685         * text2.C: adjust
13686         + more files in subdirs
13687
13688         * lyxparagraph.h (size): move up int file
13689         (GetLayout): ditto
13690
13691         * adjust all uses of Assert to lyx::Assert.
13692
13693         * BufferView2.C (ChangeCitationsIfUnique): adjust for
13694         lyxfunctional in namespace lyx
13695         * layout.C (hasLayout): ditto
13696         (GetLayout): ditto
13697         (GetLayout): ditto
13698         (delete_layout): ditto
13699         (NumberOfClass): ditto
13700         * converter.C (GetFormat): ditto
13701         (GetNumber): ditto
13702         (Add): ditto
13703         (Delete): ditto
13704         (SetViewer): ditto
13705         * bufferlist.C (getFileNames): ditto
13706         (emergencyWriteAll): ditto
13707         (exists): ditto
13708         (getBuffer): ditto
13709         * MenuBackend.C (hasSubmenu): ditto
13710         (hasMenu): ditto
13711         (getMenu): ditto
13712         * BufferView_pimpl.C (getInsetByCode): ditto
13713
13714 2001-04-18  Juergen Vigna  <jug@sad.it>
13715
13716         * vspace.C (asLatexString): fixed the 100% problem.
13717
13718 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13719
13720         * lyxfunc.C (Dispatch):
13721         * minibuffer.C:
13722         * minibuffer.h: add a few std:: qualifiers
13723
13724 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13725
13726         * minibuffer.[Ch]: reimplement so that commands is initiated and
13727         run from lyxfunc, simplified som handling, and made the completion
13728         and history code for complete. wip.
13729
13730         * lyxfunc.C (processKeySym): call message
13731         (miniDispatch): new temporary method
13732         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13733         (LFUN_MESSAGE): implement
13734         (LFUN_MESSAGE_PUSH): implement
13735         (LFUN_MESSAGE_POP): implement
13736         (initMiniBuffer): the initial/defualt minibuffer message.
13737
13738         * lyxfont.[Ch]: inline some more getters
13739
13740         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13741
13742         * lyx_gui_misc.[Ch] (WriteStatus): remove method
13743
13744         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13745         (AutoSave): use LFUN_MESSAGE
13746         (Reconfigure): ditto
13747
13748         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13749
13750         * figureForm.C: use LFUN_MESSAGE
13751
13752         * converter.C (runLaTeX): use LFUN_MESSAGE
13753
13754         * bufferview_funcs.C: use LFUN_MESSAGE
13755         (Melt): ditto
13756         (changeDepth): ditto
13757
13758         * bufferparams.h: use boost::
13759
13760         * bufferlist.h: inherit privately from noncopyable
13761
13762         * bufferlist.C (loadLyXFile): remove some commented code.
13763
13764         * buffer.C (runChktex): use LFUN_MESSAGE
13765
13766         * ShareContainer.h: inherit privately from noncopyable
13767
13768         * ParagraphParameters.[hC] (depth): inline it.
13769
13770         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13771         methods.
13772         (message): new method
13773         (messagePush): ditto
13774         (messagePop): ditto
13775         (show): init minibuffer
13776         (showState): direct call
13777
13778         * LaTeX.[Ch]: inherit privately from noncopyable
13779         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13780         instead of WriteStatus.
13781
13782         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13783
13784         * BufferView_pimpl.C (buffer): don't init minibuffer
13785         (workAreaButtonPress): use LFUN_MESSAGE
13786         (workAreaButtonRelease): ditto
13787         (savePosition): ditto
13788         (restorePosition): ditto
13789         (MenuInsertLyXFile): ditto
13790         (workAreaExpose): don't init minibuffer
13791         (update): remove commented code, simplify
13792
13793         * BufferView2.C (openStuff): use LFUN_MESSAGE
13794         (toggleFloat): ditto
13795         (menuUndo): ditto
13796         (menuRedo): ditto
13797         (copyEnvironment): ditto
13798         (pasteEnvironment): ditto
13799         (copy): ditto
13800         (cut): ditto
13801         (paste): ditto
13802         (gotoInset): ditto
13803         (updateInset): remove some commented code
13804
13805         * lastfiles.h: inherit privately from noncopyable
13806         * layout.h: ditto
13807         * lyx_gui.h: ditto
13808         * lyx_main.h: ditto
13809         * lyxlex.h: ditto
13810         * lyxlex_pimpl.h: ditto
13811
13812         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13813         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13814         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13815
13816         * LyXAction.h: inherit privately from noncopyable, add methods
13817         func_begin, func_end, returning iterators to the func map.
13818
13819         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13820         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13821         (func_begin): new method
13822         (func_end): new method
13823
13824         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13825         and not)
13826         (copySelection): ditto
13827         (pasteSelection): ditto
13828
13829         * BufferView.C: whitespace change
13830         * BufferView.h: inherit privately from noncopyable
13831
13832 2001-04-16  Allan Rae  <rae@lyx.org>
13833
13834         * tabular-old.C (l_getline):
13835         * spellchecker.C (sc_check_word):
13836         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13837         an unrecognised preprocessor directive.  So ensure they're wrapped.
13838
13839 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13840
13841         * src/exporter.C (Export): Give an error message when path to file
13842         contains spaces.
13843
13844 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13845
13846         * LaTeX.C (deplog): Always check that foundfile exists.
13847
13848 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13849
13850         * lyx_main.h:
13851         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13852
13853 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13854
13855         * tabular.[Ch] (getLabelList): implement new method
13856
13857         * minibuffer.h: comment ouf setTiimer
13858
13859         * minibuffer.C (ExecutingCB): constify res
13860         (peek_event): constify s
13861         (Set): constify ntext
13862         (Init): constify nicename
13863
13864         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13865
13866         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13867         (savePosition): use two params to Minibuffer::Set
13868         (restorePosition): ditto
13869
13870 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13871
13872         * lyx_main.C: include language.h
13873
13874         * Makefile.am (lyx_main.o): add language.h
13875
13876 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13877
13878         * exporter.C:
13879         * paragraph.C:
13880         * screen.C:
13881         * tabular.C:
13882         * CutAndPaste.C: include gettext.h
13883
13884         * lyxfont.h: remove old hack with ON and OFF.
13885
13886         * lyxparagraph.h:
13887         * lyxfont.h: do not include language.h...
13888
13889         * BufferView2.C:
13890         * LaTeXFeatures.C:
13891         * Painter.C:
13892         * bufferview_funcs.C:
13893         * font.C:
13894         * lyxfont.C:
13895         * text.C:
13896         * text2.C:
13897         * trans_mgr.C:
13898         * paragraph.C: ... but do it here instead
13899
13900 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13901
13902         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13903
13904         * tabular.C: small reformat
13905
13906         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13907         NEW_INSETS version
13908         (GetChar): ditto
13909         (BreakParagraph): ditto
13910         (SetOnlyLayout): ditto
13911         (SetLayout): ditto
13912
13913         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13914         with one arg less.
13915
13916         * lastfiles.C: removed most using decl, add std:: where needed
13917
13918         * buffer.C: ws changes
13919
13920         * MenuBackend.C (class compare_format): put into anon namespace
13921         (expand): constify label, names, action, action2
13922         (expand):
13923
13924         * text.C (SingleWidth): constify font
13925         (IsBoundary): constify rtl2
13926         (GetVisibleRow): constify ww
13927
13928         * LaTeX.C (deplog): constify logfile
13929
13930         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13931         start_x, end_x
13932         (workAreaExpose): constify widthChange, heightChange
13933
13934         * lyxrow.C (par): moved
13935         (height): moved
13936         (next): moved
13937         * lyxrow.h: as inlines here
13938
13939         * lyxfont.h (shape): moved from lyxfont.C
13940         (emph): moved from lyxfont.C
13941
13942         * lyxfont.C (LyXFont): use initialization list for all
13943         constructors
13944         (shape): move to lyxfont.h as inline
13945         (emph): move to lyxfont.h as inline
13946
13947
13948 2001-04-04  Juergen Vigna  <jug@sad.it>
13949
13950         * vspace.C: had to include stdio.h for use of sscanf
13951
13952 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
13953
13954         * BufferView.h:
13955         * BufferView_pimpl.h: remove xforms cruft. Both classes are
13956         independent of xforms.
13957
13958 2001-04-02  Juergen Vigna  <jug@sad.it>
13959
13960         * spellchecker.C: fixed namespace placing!
13961
13962 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
13963
13964         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13965         the LyXParagraph * is 0.
13966
13967 2001-03-29  Juergen Vigna  <jug@sad.it>
13968
13969         * vspace.C: added support for %, c%, p%, l%.
13970         (stringFromUnit): added helper function.
13971         (asLatexString): changed to give right results for the %-values.
13972
13973         * buffer.C: convert the widthp in a width%.
13974
13975 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
13976
13977         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13978         figureForm.[Ch].
13979
13980         * figureForm.[Ch]: stripped the FD_from_figure manipulation
13981         code out of lux_cb.[Ch], ready for its (imminent?) removal.
13982
13983         * lyx_cb.[Ch]: see above.
13984
13985         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13986         form1.[Ch].
13987
13988         * form1.[Ch]:
13989         * lyx.[Ch]: replaced by figure_form.[Ch].
13990
13991         * lyx_gui.C:
13992         * lyx_gui_misc.C:
13993         * lyxfunc.C: changed headers associated with above changes.
13994
13995 2001-03-27  Juergen Vigna  <jug@sad.it>
13996
13997         * BufferView_pimpl.C: set the temporary cursor right!
13998
13999 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
14000
14001         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14002
14003 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
14004
14005         * LString.h: removed "using std::getline"!
14006
14007         * BufferView_pimpl.C (Dispatch): changes due to changes in
14008         InsetInclude::Params.
14009
14010         * buffer.C (tag_name): removed redundant break statements as they were
14011         producing lots of warnings with my compiler.
14012
14013 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14014
14015         * LString.h: add "using std::getline" when using the real <string>.
14016
14017 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
14018
14019         * buffer.C: removed bitset usage.
14020         PAR_TAG moved to an anonymous name space.
14021         (tag_name): new funtion, also in the anonymous namespace.
14022         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14023         (makeDocBookFile): clean code. Completed transition from string arrays
14024         to string vectors.
14025         (SimpleDocBookOnePar): code clean.
14026
14027 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14028
14029         * tabular.C: add some comments.
14030
14031 2001-03-22  Juergen Vigna  <jug@sad.it>
14032
14033         * buffer.C (parseSingleLyXformat2Token): redone the minipage
14034         compatibility read a bit and fixed bug with minipage in different
14035         depth.
14036
14037 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
14038
14039         * buffer.C (pop_tag): removed.
14040         (push_tag): removed.
14041         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14042         array replaced with vector. Added support for CDATA sections.
14043         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14044         at any nest level.
14045         (makeDocBookFile): XML conformant declaration of CDATA section,
14046         fixed bug related to <emphasis> in the first paragraph char.
14047         (sgmlOpenTag): exclude empty tags.
14048         (sgmlCloseTag): ditto.
14049
14050         * buffer.h (pop_tag): removed.
14051         (push_tag): removed.
14052
14053 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
14054
14055         * language.h (Languages): added size_type and size().
14056
14057 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14058
14059         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14060         response on compability reading of minipages. One probliem is that
14061         the old usage of minipages was «flertydig»
14062
14063         * several files here and in subdirs: don't use static at file
14064         scope use anon namespaces instead.
14065
14066 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
14067
14068         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14069         LaTeX output. This is necessary for Literate document
14070         processing.
14071
14072 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14073
14074         * buffer.C: insert hfill when needed.
14075
14076         * tabular.C (l_getline): use string::erase, small whitespace change.
14077
14078         * BufferView_pimpl.C: try the anon namespace.
14079         * WorkArea.C: ditto
14080
14081 2001-03-16  Juergen Vigna  <jug@sad.it>
14082
14083         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14084         otherwise it won't open options-dialogs.
14085
14086         * buffer.C: honor pextraWidth(p) on converting minipages.
14087
14088         * tabular.C (l_getline): changed the functions to strip trailing \r.
14089
14090 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
14091
14092         * BufferView_pimpl.C:
14093         * minibuffer..C: added "using SigC::slot" declaration.
14094
14095 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14096
14097         * lyxlex_pimpl.h: noncopyable is in namespace boost.
14098
14099         * text2.C: ditto
14100
14101         * text.C: ditto
14102
14103         * paragraph.C: ditto
14104
14105         * lyxtext.h: NO_PEXTRA
14106
14107         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14108
14109         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14110         * ParameterStruct.h: ditto
14111         * ParagraphParameters.h: ditto
14112         * lyxparagraph.h: ditto
14113
14114 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14115
14116         * buffer.C: add compability for minipage alignment.
14117         (latexParagraphs): remove unwanted pextra check.
14118
14119         * several files: remove CXX_WORKING_NAMESPACES
14120
14121         * buffer.C (pop_tag): tie is in namespace boost
14122
14123         * BufferView.h: noncopyable is in namespace boost
14124         * lyxlex.h: ditto
14125         * lyx_main.h: ditto
14126         * lyx_gui.h: ditto
14127         * layout.h: ditto
14128         * lastfiles.h: ditto
14129         * bufferlist.h: ditto
14130         * ShareContainer.h: ditto
14131         * LyXView.h: ditto
14132         * LyXAction.h: ditto
14133         * LaTeX.h: ditto
14134
14135 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14136
14137         * Merging changes from BRANCH_MVC back into HEAD.
14138
14139         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14140
14141 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
14142
14143         * BufferView_pimpl.C: change from intl.C
14144
14145         * combox.h:
14146         * combox.C:
14147         * Makefile.am: move combox.*
14148
14149         * form1.h:
14150         * form1.C:
14151         * lyx_gui.C:
14152         * intl.h:
14153         * intl.C: remove dialog (covered by prefs)
14154
14155 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14156
14157         * lyxfunc.C (Dispatch): removed redundant break statement.
14158
14159 2001-03-14  Juergen Vigna  <jug@sad.it>
14160
14161         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14162
14163 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14164
14165         * buffer.C: add hack to fix compability reading of minipages.
14166
14167 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
14168
14169         * buffer.C (getLists): Cleanup.
14170
14171 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14172
14173         * lyxfont.C (update): don't honor toggleall on font size.
14174
14175 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
14176
14177         * bmtable.c:
14178         * bmtable.h:
14179         * Makefile.am: moved to frontends/xforms/
14180
14181         * lyx_gui_misc.C:
14182         * lyxfunc.C:
14183         * BufferView_pimpl.C: changes for moved mathpanel
14184
14185 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14186
14187         * gettext.h: fix gettext_init() in --disable-nls
14188
14189 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14190
14191         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14192
14193 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
14194
14195         * lyx.C:
14196         * lyx.h: strip external form
14197
14198 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14199
14200         * BufferView_pimpl.C: add comment, destroySplash()
14201
14202 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14203
14204         * BufferView_pimpl.C:
14205         * LyXAction.C:
14206         * buffer.C:
14207         * commandtags.h:
14208         * lyxfunc.C: use re-worked insetinclude
14209
14210 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14211
14212         * buffer.C: add using std::stringstream.
14213
14214         * lyx_cb.C: readd using std::ios.
14215
14216         * buffer.C: add using std::map.
14217
14218         * BufferView_pimpl.C: add using std::vector.
14219
14220         * ShareContainer.h: add std:: to swap.
14221
14222         * buffer.h: add some typedefs
14223         * buffer.C (getLists): use them
14224         (getLists): renamed from getTocList.
14225         add a counter for the different float types and use it in the
14226         generated string.
14227         (getLists): use the same counter for the NEW_INSETS and the "non"
14228         NEW_INSETS
14229
14230         * lyx_cb.h: remove unused items, includes, using etc.
14231
14232         * ShareContainer.h: remove some commented code, add more comments
14233         and "documentation".
14234
14235 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14236
14237         * buffer.C (getTocList): make the list also when NEW_INSETS is
14238         defined.
14239
14240         * buffer.h: remove TocType
14241
14242         * buffer.C (getTocList): change to return a map<string,
14243         vector<TocItem> >, implement for dynamic number of list.
14244
14245         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14246         * text2.C (PasteSelection): adjust
14247         * CutAndPaste.C (pasteSelection): adjust
14248
14249         * FloatList.C (FloatList): update from the new_insets branch.
14250         * Floating.[Ch]: ditto
14251         * LaTeXFeatures.C: ditto
14252         * buffer.C: ditto
14253         * lyxlex_pimpl.C: ditto
14254
14255         * paragraph.C (Last): remove when NEW_INSETS is defined.
14256
14257         * other file: changes because of the above.
14258
14259 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14260
14261         * lyxparagraph.h: rename next to next_, previous to previous_,
14262         make them private for NEW_INSETS. Rename Next() to next(),
14263         Previous() to previous().
14264
14265         * other files: changes because of the above.
14266
14267 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
14268
14269         * BufferView.h:
14270         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14271         problem.
14272
14273 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14274
14275         * main.C (main): pass lyx_localedir to gettext_init().
14276
14277         * gettext.h: remove locale_init and gettext_init macros
14278
14279         * gettext.C (locale_init): new function
14280         (gettext_init): new function
14281
14282         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14283         setlocale().
14284
14285 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
14286
14287         * Moved credits to frontends:
14288         * credits.[Ch]: removed
14289         * credits_form.[Ch]: removed
14290         * lyx_gui_misc.C: remove credits stuff
14291         * Makefile.am:
14292
14293 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14294
14295         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14296
14297         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14298         unneeded destructor.
14299
14300         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14301         a standalone pointer again.
14302
14303         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14304
14305 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
14306
14307         * Makefile.am:
14308         * filedlg.h:
14309         * filedlg.C:
14310         * LyXAction.C:
14311         * ToolbarDefaults.C:
14312         * bufferlist.C:
14313         * commandtags.h:
14314         * form1.C:
14315         * form1.h:
14316         * lyx_cb.C:
14317         * lyx_cb.h:
14318         * lyxfunc.h:
14319         * lyxfunc.C:
14320         * BufferView_pimpl.C: use new file dialog in GUII
14321
14322         * lyx_cb.h:
14323         * lyx_cb.C: remove LayoutsCB to Toolbar
14324
14325 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14326
14327         * ShareContainer.h (get): add std:: qualifier
14328
14329 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14330
14331         * ShareContainer.h: define a proper ShareContainer::value_type
14332         type (and use typename to please compaq cxx)
14333
14334 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14335
14336         * lyxparagraph.h: move serveral local vars to
14337         ParameterStruct/ParagraphParameters., use ShareContainer in
14338         FontTable., make vars in FontTable private and add getter and
14339         setter.
14340
14341         * paragraph.C: changes because of the above.
14342
14343         * lyxfont.h: remove copy constructor and copy assignment. (the
14344         default ones is ok), move number inside FontBits. move inlines to
14345         lyxfont.C
14346
14347         * lyxfont.C: add number to initializaton of statics, move several
14348         inlines here. constify several local vars. some whitespace
14349         cleanup. Dont hide outerscope variables.
14350
14351         * Spacing.h: add two new constructors to match the set methods.
14352
14353         * ShareContainer.h: new file, will perhaps be moved to support
14354
14355         * ParameterStruct.h: new file
14356
14357         * ParagraphParameters.h: new file
14358
14359         * ParagraphParameters.C: new file
14360
14361         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14362         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14363
14364         * BufferView_pimpl.C: ParagraphParameter changes.
14365         * buffer.C: Likewise.
14366         * bufferview_funcs.C: Likewise.
14367         * text.C: Likewise.
14368         * text2.C: Likewise.
14369
14370 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14371
14372         * lyxfind.C (LyXReplace): do not redefine default argument in
14373         implementation.
14374         (IsStringInText): ditto
14375         (SearchForward): ditto
14376         (SearchBackward): ditto
14377
14378 2001-03-06  Juergen Vigna  <jug@sad.it>
14379
14380         * lyxfind.C (IsStringInText): put parentes around expressions.
14381
14382 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
14383
14384         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14385
14386 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
14387
14388         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14389
14390         * stl_string_fwd.h: add comment
14391
14392         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14393
14394         * tabular.h:
14395         * tabular.C: remove unused DocBook methods
14396
14397         * intl.C:
14398         * language.C:
14399         * paragraph.C:
14400         * buffer.C:
14401         killed DO_USE_DEFAULT_LANGUAGE
14402
14403 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14404
14405         * lyx_gui.C: do not include language.h.
14406
14407         * bufferview_funcs.C (ToggleAndShow): do not provide optional
14408         arguments in function implementation.
14409
14410 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14411
14412         * BufferView_pimpl.C: add <ctime>
14413
14414 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14415
14416         * BufferView_pimpl.C: add using std::find_if
14417
14418 2001-02-27  José Matos  <jamatos@fep.up.pt>
14419
14420         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14421         by OnlyPath.
14422
14423 2001-02-11  José Matos  <jamatos@fep.up.pt>
14424
14425         * buffer.C (makeDocBookFile): command styles now have a parameter as
14426         "title" by default.
14427
14428 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
14429
14430         * layout_forms.[Ch]: removed
14431         * lyx_cb.[Ch]: out character
14432         * lyx_gui.C: out character
14433         * lyx_gui_misc.C: out character
14434         * bufferview_funcs.C: : out character,
14435         added toggleall as parameter in ToggleAndShow
14436
14437 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
14438
14439         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14440
14441         * text2.C (SetCurrentFont): Disable number property at boundary.
14442
14443 2001-02-26  Juergen Vigna  <jug@sad.it>
14444
14445         * lyxfunc.C (getStatus): added a string argument override function so
14446         that this is correctly called from LyXFunc::Dispatch if it contains a
14447         do_not_use_argument which is used!
14448         (Dispatch): added check for "custom" export and call appropriate func.
14449
14450 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
14451
14452         * lyxrc.C: Add language_command_local, language_use_babel and
14453         language_global_options.
14454
14455         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14456
14457         * buffer.C (makeLaTeXFile): Use language_use_babel and
14458         language_global_options.
14459
14460 2001-02-23  Juergen Vigna  <jug@sad.it>
14461
14462         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14463         which works with LyXText and putted it inside BufferView. Here now we
14464         only call for that part the BufferView::Dispatch() function.
14465
14466         * BufferView.C (Dispatch): added.
14467
14468         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14469         functions which needs to use a LyXText over from LyXFunc.
14470         (MenuInsertLyXFile): added
14471         (getInsetByCode): added
14472         (moveCursorUpdate): added
14473         (static TEXT): added
14474
14475 2001-02-22  Juergen Vigna  <jug@sad.it>
14476
14477         * BufferView_pimpl.C (update): call a status update to see if LyXText
14478         needs it.
14479
14480 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14481
14482         * vc-backend.C (revert): implement for CVS
14483         (getLog): implement for CVS
14484
14485 2001-02-20  Juergen Vigna  <jug@sad.it>
14486
14487         * text2.C (ClearSelection): added BufferView param for inset_owner call
14488
14489         * lyxfunc.C (TEXT): added this function and use it instead of
14490         directly owner->view()-text of getLyXText().
14491
14492 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
14493
14494         * src/layout_forms.C: out preamble
14495         * src/layout_forms.h: out preamble
14496         * src/lyx_cb.C: out preamble
14497         * src/lyx_cb.h: out preamble
14498         * src/lyx_gui.C: out preamble
14499         * src/lyx_gui_misc.C: out preamble
14500         * src/lyxfunc.C: connect with guii preamble
14501
14502 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
14503
14504         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14505
14506 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
14507
14508         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14509         whether to run bibtex.
14510
14511 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
14512
14513         * Makefile.am (lyx_SOURCES): Remove BackStack.h
14514
14515 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14516
14517         * Makefile.am (lyx_SOURCES): removed bibforms.h
14518
14519         * vspace.h: doxygen
14520
14521         * text.C (GetVisibleRow): make several local vars const
14522
14523         * tabular.C: small cleanup.
14524
14525         * lyxserver.C (callback): use compare instead of strncmp
14526
14527         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14528         inlines to after class or to paragraph.C
14529
14530         * lyxfont.h: remove friend operator!=
14531
14532         * converter.h: move friend bool operator< to non friend and after
14533         class def.
14534
14535         * combox.h: small cleanup
14536
14537         * buffer.h: doxygen, remove unused constructor, move inclas inlies
14538         to inlines after class def.
14539
14540         * buffer.C (pop_tag): use string operations instead of strcmp
14541
14542         * bmtable.c: doxygen, small cleanup
14543
14544         * LaTeX.h: remove friend operator==
14545
14546 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
14547
14548         * screen.C:
14549         * lyxrc.[Ch]:
14550         * lyxfunc.C:
14551         * lyxfont.[Ch]:
14552         * lyx_cb.C:
14553         * intl.[Ch]:
14554         * commandtags.h:
14555         * buffer.C:
14556         * WorkArea.[Ch]:
14557         * LyXAction.C:
14558         * BufferView_pimpl.C:
14559         * BufferView.[Ch]: remove cruft
14560
14561 2001-02-14  Juergen Vigna  <jug@sad.it>
14562
14563         * lyxfunc.C: removed #if 0 unused code
14564
14565         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14566
14567         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14568
14569         * text2.C (SetSelection): added a BufferView * parameter
14570
14571 2001-02-13  Juergen Vigna  <jug@sad.it>
14572
14573         * lyxfunc.C (Dispatch): fixed protected blank problem.
14574         * BufferView2.C (protectedBlank): added LyxText * parameter.
14575
14576         * tabular.C (AppendRow): forgot to set row_info of newly added row.
14577         (AppendColumn): same as above for column_info.
14578
14579         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14580         (moveCursorUpdate): use a LyXText param for support of InsetText.
14581
14582         * BufferView_pimpl.C (doubleClick): added support for InsetText.
14583         (tripleClick): ditto
14584
14585         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14586
14587         * BufferView_pimpl.C (update): added LyXText param to honor insets.
14588
14589         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14590
14591         * text2.C (SetSelection): set correct update status if inset_owner
14592         (ToggleFree): ditto
14593
14594 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
14595
14596         * tabular.C: remove some commented code.
14597
14598 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
14599
14600         * BufferView_pimpl.C: call hideSplash()
14601
14602         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14603
14604         * include_form.h:
14605         * bibforms.h: remove
14606
14607         * lyxfunc.C:
14608         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14609           add LFUN_CHILD_CREATE
14610
14611         * counters.h: fix tiny typo
14612
14613         * lyx_cb.C:
14614         * lyx.h:
14615         * lyx_gui.C:
14616         * lyx.C: move splash to frontends/xforms/
14617
14618         * lyx_gui_misc.C: move Include and Bibform to frontends
14619
14620         * lyxvc.h: clarify comment
14621
14622         * vspace.C: tiny housekeeping
14623
14624 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
14625
14626         * text.C (PrepareToPrint): RTL Fix.
14627
14628         * paragraph.C (GetUChar): New method.
14629         (String):  Use GetUChar.
14630
14631         * buffer.C (asciiParagraph): Use GetUChar.
14632
14633 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
14634
14635         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14636
14637 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
14638
14639         * buffer.h:
14640         * buffer.C: rename to getLogName(), handle
14641           build log / latex log nicely
14642
14643 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14644
14645         * MenuBackend.C:
14646         * MenuBackend.h: remove support for reference menuitem type.
14647
14648 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
14649
14650         * BufferView_pimpl.C: housekeeping
14651         * BufferView_pimpl.h:
14652         * LyXView.h:
14653         * Makefile.am:
14654         * Timeout.C:
14655         * Timeout.h:
14656         * minibuffer.h: move Timeout GUI-I
14657
14658 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
14659
14660         * lyxrc.C (read): Update converters data-structures.
14661
14662 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
14663
14664         * LaTeX.h (operator!=): add operator != for Aux_Info
14665
14666 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
14667
14668         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14669
14670         * LaTeXLog.C: deleted, useful code moved to Buffer
14671
14672         * buffer.h:
14673         * buffer.C: new function getLatexLogName()
14674
14675         * lyx_gui_misc.C:
14676         * lyx_gui.C:
14677         * lyxvc.C:
14678         * lyxvc.h:
14679         * lyxfunc.C: use frontends for LaTeX and VC logs
14680
14681 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14682
14683         * LaTeX.h: yet another std:: that Allan forgot.
14684
14685         * Variables.C (set): renamed from isset(), because this clashes
14686         with some HP-UX macros (grr).
14687
14688 2001-02-06  Allan Rae  <rae@lyx.org>
14689
14690         * LaTeX.h: Another bug fix.  Missing std:: this time.
14691
14692 2001-02-04  Allan Rae  <rae@lyx.org>
14693
14694         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14695         floats problem. I've left it commented out because it's not quite
14696         correct.  It should also test that the current object is a table or
14697         figure inset.  But I haven't gotten around to figuring out how to do
14698         that.  I *think* it'll be something like: "table" == inset.type()
14699
14700         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14701         bool.
14702
14703 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
14704
14705         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14706         all the citation/databases/styles in the auxilary file.
14707         (run): Rerun latex if there was a babel language error.
14708
14709 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
14710
14711         * text.C (Backspace): Preserve the font when changing newline char
14712         with a space.
14713         (BreakParagraph): If the cursor is before a space, delete the space.
14714
14715         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14716
14717 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
14718
14719         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14720         new argument (code).
14721         (ChangeCitationsIfUnique): New method.
14722
14723         * paragraph.C (GetPositionOfInset): Handle bibkey.
14724
14725 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14726
14727         * BufferView_pimpl.h: change type of Position::par_pos to
14728         LyXParagraph::size_type.
14729
14730 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
14731
14732         * BufferView_pimpl.C (savePosition, restorePosition): Write
14733         messages to minibuffer.
14734
14735 2001-01-28  José Matos  <jamatos@fep.up.pt>
14736
14737         * buffer.C (makeDocBookFile): adds support for document language.
14738         A silly restriction on the name of LatexCommand types where removed.
14739         Added support for CDATA sections, allows to chars unescaped, used
14740         among others in code, to avoid escape < and >.
14741
14742 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14743
14744         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14745         saved positions instrad of a stack. Furthermore, a position is
14746         stored using paragraph id/paragraph position.
14747
14748         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14749         Remove LFUN_REF_BACK.
14750
14751 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14752
14753         * converter.C (dvipdfm_options): New method.
14754
14755 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14756
14757         * vspace.C (isValidLength): Fix for empty input string.
14758
14759 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14760
14761         * LyXAction.C (init): change description of LFUN_FIGURE to
14762         "Insert Graphics"
14763
14764 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14765
14766         * LaTeX.C: add using directive
14767
14768 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14769
14770         * MenuBackend.C (expand): Fix the sorting of the formats.
14771
14772 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14773
14774         * lyx_main.C: tiny error message fix
14775
14776 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14777
14778         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14779         calling fl_initialize(). This fixes the problem with ',' as
14780         decimal separator in text files.
14781
14782 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14783
14784         * trans.C (process): Fix the keymap bug.
14785
14786 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
14787
14788         * LaTeX.C (scanAuxFiles): New method. Provides support for
14789         multiple bibliographies (when using the bibtopic/bibunits pacakges).
14790         (scanLogFile) Scan for "run BibTeX" messages.
14791
14792         * buffer.C (makeLaTeXFile): Do not load the ae package when using
14793         OT1 font encoding. Also, load the aecompl package if the ae
14794         package is loaded.
14795
14796         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14797
14798 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14799
14800         * texrow.C (increasePos): turn two error messages into debug
14801         messages.
14802
14803 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
14804
14805         * LaTeX.C (scanAux): Handle the \@input macro.
14806         (runBibTeX): Use scanAux().
14807
14808         * language.C (latex_options_): New field.
14809
14810         * LaTeXFeatures.C (getMacros): Add language macros.
14811
14812         * buffer.C (makeLaTeXFile): Small fix.
14813
14814 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14815
14816         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14817
14818         * text2.C: add a using directive.
14819
14820 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14821
14822         * BufferView2.C:
14823         * lyx_gui_misc.h:
14824         * lyxfr1.C:
14825         * lyxfunc.C: kill LyXBell.
14826
14827 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14828
14829         * text.C (IsBoundary): Remove the error message
14830
14831         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14832
14833         * lyxrc.C (setDefaults): Correct initialization value for
14834         font_norm_type.
14835
14836 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14837
14838         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14839         gotoError().
14840
14841         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14842         and GotoNextNote().
14843
14844         * src/LyXAction.C: Added reference-next.
14845
14846         * text.C (InsertChar): Use contains instead of strchr.
14847
14848         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14849
14850 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14851
14852         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14853         alignment commands (when needed).
14854
14855         * text.C (InsertChar): Add ':' to number separator chars.