]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
fix row breaking before display()ed insets
[lyx.git] / src / ChangeLog
1 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2
3         * text.C (rowBreakPoint): fix breaking before displayed insets
4
5 2004-03-01  André Pönitz  <poenitz@gmx.net>
6
7         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
8
9         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
10
11         * Makefile.am:
12         * BufferView.C:
13         * BufferView_pimpl.C:
14         * buffer.C:
15         * lyxfind.C:
16         * lyxfunc.C:
17         * text.C:
18         * text2.C:
19         * text3.C: adjust
20
21 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
22
23         * lyxtext.h:
24         * text.C:
25         * text2.C:
26         * rowpainter.C:
27         * BufferView_pimpl.C: rename textwidth -> maxwidth, 
28         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
29
30 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
31
32         * Bidi.[Ch] (computeTables): const correctness
33         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
34         fill_hfill, fill_label_hfill and x from Row
35         * lyxtext.h: prepareToPrint returns a RowMetrics
36         * rowPainter.C: adjust
37         * text.C (prepareToPrint): use width, not textWidth. adjust
38         (redoParagraphInternal, cursorX): adjust
39         * text2.C (getColumnNearX): adjust
40         (init): put a default value to the top LyXText::width
41
42 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
43
44         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here 
45
46 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
47
48         * lyxtext.h: add FontIterator class 
49
50         * text.C (FontIterator, operator*, operator->, operator++): add
51         (rowBreakPoint, setRowWidth): adjust (fixing a
52         rebreaking bug)
53
54 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
55
56         * BufferView_pimpl.C (workAreaDispatch): allow also
57         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
58
59 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
60
61         * text.C (rowBreakPoint): fix a bug showing with very large insets
62
63 2004-02-25  André Pönitz  <poenitz@gmx.net>
64
65         * text3.C:
66         * cursor.[Ch]: move some mathed specific code to mathed
67
68 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
69
70         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
71         use_tempdir in preferences
72         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
73         tempfile creation
74         * lyx_main.C: ensure that tempdir is valid
75         * lyxlex.h: correct typo
76         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
77         * paragraph.[Ch] (isMultiLingual): make const
78         * cursor.[Ch] (openable): make const
79
80 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
81
82         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
83
84 2004-02-20  André Pönitz  <poenitz@gmx.net>
85
86         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
87
88         * cursor.[Ch]: prepare for localized getStatus()
89
90         * lyxtext.h:
91         * tabular.C:
92         * text.C:
93         * text2.C:
94         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
95
96 2004-02-20  André Pönitz  <poenitz@gmx.net>
97
98         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
99
100 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
101
102         * text2.C (setCursorFromCoordinates): switch to absolute coords
103         (cursorUp): adjust
104         (cursorDown): adjust
105         * text3.C (dispatch): adjust
106
107 2004-02-16  André Pönitz  <poenitz@gmx.net>
108
109         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
110           insets/ChangeLog)
111
112         * cursor_slice.[Ch]: remove unneeded acessor function
113
114         * lyxtext.h: rename rtl() to isRTL()
115
116         * rowpainter.C:
117         * tabular.C:
118         * text.C:
119         * text2.C:
120         * text3.C: adjust
121
122 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
123
124         * rowpainter.C (paintSelection): coord fix
125
126 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
127
128         * Spacing.C: compile fix
129
130 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
131
132         * cursor.C (dispatch): restore current_ before returning
133
134 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
135
136         * text2.C (cursorUp, cursorDown): fix coords
137         (moveUp): fix crash
138
139 2004-02-12  André Pönitz  <poenitz@gmx.net>
140
141         * lyxtext.h:
142         * text.C:
143         * text2.C:
144         * text3.C: add LCursor & parameter to most cursor movement functions
145           remove usage of LyXText::cursorRow() and cursorPar()
146
147         * cursor.[Ch]: add textRow() needed members
148
149         * BufferView.C:
150         * BufferView_pimpl.C:
151         * paragraph.[Ch]:
152         * BufferView.C:
153         * BufferView_pimpl.C: adjust
154
155 2004-02-11  André Pönitz  <poenitz@gmx.net>
156
157         * lyxfunc.C:
158         * BufferView.[Ch]:
159         * BufferView_pimpl.C: shift undo/redo handling
160
161         * cursor.[Ch]: fix mathed crash
162
163         * lyxfind.C:
164         * lyxtext.h: move selectionAsText to LCursor
165
166         * output_latex.C:
167         * paragraph.C:
168         * text.C:
169         * text2.C:
170         * text3.C: adjust
171
172         * rowpainter.C: fix excessive drawing
173
174 2004-02-06  André Pönitz  <poenitz@gmx.net>
175
176         * BufferView.[Ch]:
177         * BufferView_pimpl.[Ch]:
178         * text3.C: move some text specific LFUN handling
179
180 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
181
182         * text3.C (checkInsetHit): adjust coords
183         * text2.C (getColumnNearX): adjust coords
184         (edit): adjust coords
185         * text.C (getRowNearY): add two asserts
186
187 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
188
189         * converter.C:
190         * format.C: add using std::distance to compile on gcc 2.95/stlport
191
192 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
193
194         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
195
196 2004-02-04  André Pönitz  <poenitz@gmx.net>
197
198         * BufferView.[Ch] (insertInset):
199         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value 
200
201         * text2.C:
202         * text3.C: adjust
203
204 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
205
206         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch 
207         on the default clause of the switch
208         * lyxfunc.C (dispatch): call BufferView::dispatch if the event 
209         wasn't catched by LCursor::dispatch
210
211 2004-02-03  André Pönitz  <poenitz@gmx.net>
212
213         * BufferView.C:
214         * cursor.[Ch]: some additional asserts
215
216         * undo.[Ch]: remove LyXText dependency in interface
217
218         * lyxfunc.C: adjust
219
220         * lyxtext.h (firstPar, lastPar): remove dead functions 
221
222         * text.C:
223         * text2.C:
224         * text3.C:
225         * paragraph.[Ch]: adjust
226
227 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
228
229         * lyxfind.C (find): fix argument order in call to ::find
230
231 2004-02-02  André Pönitz  <poenitz@gmx.net>
232
233         * cursor.[Ch]: remove direct access to anchor
234
235         * text.C: remove findText() hack
236
237 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
238
239         * iterators.[Ch] (lockPath): remove in favour of...
240         * BufferView.[Ch] (setCursor): this addition
241         * BufferView.C (putSelectionAt): adjust
242         * undo.C (performUndoOrRedo): adjust
243         * lyxfunc.C (dispatch): adjust
244
245 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
246
247         * iterators.C (lockPath): add a missing slice
248         * undo.C (performUndoOrRedo): remove redundant positioning code
249
250 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
251
252         * vc-backend.C (scanMaster): ";" -> ';'
253
254 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
255
256         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
257         std::binary_function
258
259         * lyxtextclass.C (compare_name): rename to...
260         (LayoutNamesEqual): ...this
261
262         * lyxlex_pimpl.C (compare_tags): inherit from
263         std::binary_function, put back into anon namespace
264
265         * lyxfind.C (MatchString): inherig from std::binary_function
266         (findChange): use empty() istead of !size()
267
268         * format.C (FormatNamesEqual): new functor
269         (getFormat): use it
270         (getNumber): use it
271         (add): use it
272         (erase): use it
273         (setViewer): use it
274
275         * converter.C (compare_Converter): rename to...
276         (ConverterEqual): ...this, and fixup a bit.
277         (getConverter): use it, and make function const
278         (getNumber): use it, and make function const
279         (add): use it
280         (erase): use it:
281
282         * bufferlist.C: add using boost::bind
283
284         * MenuBackend.C (MenuNamesEqual): new functor
285         (hasMenu): use it, and make function const
286         (hasSubmenu): use nested bind to get rid of compare_memfun.
287
288 2004-01-30  André Pönitz  <poenitz@gmx.net>
289
290         * BufferView_pimpl.C:
291         * cursor.C:
292         * cursor.h:
293         * cursor_slice.[Ch]:
294         * lyxfunc.C:
295         * lyxtext.h:
296         * paragraph_funcs.C:
297         * paragraph_funcs.h:
298         * rowpainter.C:
299         * text.C:
300         * text2.C:
301         * text3.C: move some of the edit(x,y) handling to the insets
302         some coordinate changes.
303
304 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
305
306         * text.C: add using statements for std::advance and std::distance
307
308         * paragraph.C: add using statement for std::distance
309
310         * lyxfind.C: add using statement for std::advance
311
312         * cursor.C (region): remove std:: from swap
313         (openable): use nucleus in stead of operator->
314
315         * BufferView.C: add using statements for std::distance and std::swap
316
317 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
318
319         * iterators.C: Remove the pimple, move the needed structures to
320         the header file. Create accessor for the positions stack.
321         (asPosIterator): remove function
322
323         * PosIterator.C (PosIterator): move constructors to top of file
324         (PosIterator): reimplement the constructor taking a ParIterator in
325         terms of setFrom.
326         (setFrom): new function
327         (operator!=): inline it
328
329 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
330
331         * lyxfind.C (replaceAll): use std::advance
332
333         * iterators.h: inherit from std::iterator.
334
335         * PosIterator.C (advance, distance): remove
336         * PosIterator.h: interit from std::iterator.
337
338 2004-01-26  André Pönitz  <poenitz@gmx.net>
339
340         * BufferView.[Ch]:
341         * BufferView_pimpl.[Ch]:
342         * InsetList.[Ch]:
343         * PosIterator.[Ch]:
344         * buffer.h:
345         * bufferview_funcs.C:
346         * cursor.[Ch]:
347         * cursor_slice.h:
348         * factory.[Ch]:
349         * iterators.[Ch]:
350         * lyxfind.C:
351         * lyxfunc.C:
352         * lyxtext.h:
353         * output_docbook.C:
354         * output_latex.C:
355         * output_linuxdoc.C:
356         * output_plaintext.C:
357         * paragraph.[Ch]:
358         * paragraph_funcs.[Ch]:
359         * paragraph_pimpl.[Ch]:
360         * rowpainter.C:
361         * tabular.C:
362         * tabular.h:
363         * text.C:
364         * text2.C:
365         * text3.C: more IU:  dumps most of the rest of the mathcursor
366     implementation into cursor.[Ch]; "globalize" a bit of it.
367
368 2004-01-25  Angus Leeming  <leeming@lyx.org>
369
370         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
371
372 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
373
374         * LaTeXFeatures.h: add nice_ and nice() const
375         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
376
377 2004-01-20  André Pönitz  <poenitz@gmx.net>
378
379         * BufferView.[Ch]:
380         * BufferView_pimpl.C:
381         * PosIterator.C:
382         * bufferview_funcs.C:
383         * cursor.[Ch]:
384         * cursor_slice.[Ch]:
385         * factory.C:
386         * iterators.C:
387         * lyx_cb.C:
388         * lyxfind.C:
389         * lyxfunc.C:
390         * lyxtext.h:
391         * rowpainter.C:
392         * text.C:
393         * text2.C:
394         * text3.C:
395         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
396           LCursor and mathcursor parts to LCursor and InsetBase.
397
398 2004-01-15  André Pönitz  <poenitz@gmx.net>
399
400         * cursor_slice.[Ch]: add a few covienience functions
401
402         * funcrequest.[Ch]: remove BufferView * member
403
404         * BufferView_pimpl.C:
405         * cursor.C:
406         * factory.[Ch]:
407         * lyxfind.[Ch]:
408         * lyxfunc.C:
409         * lyxtext.h:
410         * text3.C:
411         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
412
413 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
414
415         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
416         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
417
418 2004-01-13  André Pönitz  <poenitz@gmx.net>
419
420         * textcursor.[Ch]:
421         * lyxtext.h: hide cursor and selection anchor behind accessor function
422
423         * BufferView.C:
424         * BufferView_pimpl.[Ch]:
425         * PosIterator.C:
426         * bufferview_funcs.C:
427         * cursor.h:
428         * lyxfind.C:
429         * lyxfunc.C:
430         * text.C:
431         * text2.C:
432         * text3.C:
433         * undo.C: adjust
434
435         * cursor.h:
436         * cursor_slice.[Ch]: some integer type changes for inset unification
437
438         * lyxcursor.[hC]: remove, it's CursorSlice now.
439
440         * Makefile.am:
441         * BufferView_pimpl.[Ch]:
442         * bufferview_funcs.C:
443         * cursor_slice.C:
444         * lyxtext.h:
445         * text.C:
446         * text2.C:
447         * text3.C:
448         * textcursor.[Ch]: adjust
449
450 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
451
452         * text2.C (undoSpan): add and use
453         * text.C (breakParagraph): use undoSpan (fix bug 578)
454         * lyxtext.h: adjust
455
456 2004-01-08  Angus Leeming  <leeming@lyx.org>
457
458         * BufferView_pimpl.C (MenuInsertLyXFile):
459         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
460         * lyxfunc.C (menuNew, open, doImport):
461         FileFilterList change to the FileDialog open and save functions.
462
463 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
464
465         * ShareContainer.h: make isEqual and isUnique adaptable
466
467         * CutAndPaste.C: make resetOwnerAndChanges adaptable
468
469 2004-01-07  Angus Leeming  <leeming@lyx.org>
470
471         * LyXAction.C:
472         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
473
474         * BufferView_pimpl.C (dispatch): act on these LFUNs.
475
476         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
477         functions replacing find, replace and replaceAll.
478
479         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
480         LFUN_WORDFIND(FORWARD|BACKWARD).
481
482 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
483
484         * text.C (breakParagraph): remove an outdated #warning
485
486 2004-01-07  André Pönitz  <poenitz@gmx.net>
487
488         * lyxfind.C: somewhat clearer logic
489
490         * text.C: prevent crash in cursorX on unitialized row cache
491
492 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
493
494         * lyxcursor.[Ch] (operator>): add
495         * textcursor.C (selStart, selEnd): use std::min and std::max
496
497 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
498
499         * Chktex.C: include boost/format.hpp
500
501 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
502
503         * InsetList.C: replace functor MathcIt with adaptable functor
504         InsetTablePosLess
505         (insetIterator): modify accordingly
506
507         * BranchList.h: move the BranchNamesEqual functor here from...
508         * BranchList.C: ... to here
509
510         * BranchList.C: new BranchListEqual fuctor, use it. Remove
511         SameName and match.
512         (add): replace a finding loop with std::find_if.
513
514 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
515
516         * output_docbook.C: moving LatexParam functionality into
517         .layout files
518
519 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
520
521         * buffer.C: increment format to 229.
522
523 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
524
525         * LaTeXFeatures.C:
526         * lyx_sty.[Ch]: remove minipageindent_def
527
528         * LyXAction.C:
529         * factory.C:
530         * lfuns.h:
531         * lyxfunc.C:
532         * text3.C: remove LFUN_INSET_MINIPAGE
533
534 2003-12-28  Angus Leeming  <leeming@lyx.org>
535
536         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
537
538 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
539
540         * text2.C (setParagraph): fix off-by-one crash
541
542 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
543
544         * output_docbook.C: header stuff for AGU
545
546 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
547
548         * text2.C (redoCursor): remove
549         * text.C:
550         * text3.C:
551         * BufferView_pimpl.C: remove calls to redoCursor and
552         setCursor(cursor.par(), cursor.pos()) all around
553
554 2003-12-15  Angus Leeming  <leeming@lyx.org>
555
556         * buffer.C: up the format to 228.
557
558 2003-12-15  André Pönitz  <poenitz@gmx.net>
559
560         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
561         slices
562
563         * Makefile.am:
564
565         * BufferView_pimpl.C:
566         * cursor.[Ch]:
567         * lyxcursor.[Ch]:
568         * rowpainter.[Ch]:
569         * lyxtext.h:
570         * text.C:
571         * text2.C:
572         * text3.C: adjust
573
574 2003-12-15  Angus Leeming  <leeming@lyx.org>
575
576         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
577         than getFromGUIName to manipulate the color.
578
579 2003-12-14  Angus Leeming  <leeming@lyx.org>
580
581         * BranchList.[Ch]: minimize the API.
582         (Branch::getBranch, getColor): now return a 'const &'.
583         (Branch::setSelected) now returns a bool set to true if the
584         selection status changes.
585         (BranchList::clear, size, getColor, setColor, setSelected,
586         allBranches, allSelected, separator): removed.
587         (BranchList::find): new functions, returning the Branch with
588         the given name.
589         (BranchList::add, remove): return a bool indicating that
590         the operation was successful.
591
592         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
593         new InsetBranch::isBranchSlected member function.
594
595         * LColor.[Ch]: mimimize the API.
596         (fill): renamed as addColor and made private.
597         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
598         versions of these functions taking a string arg have been removed.
599
600         * bufferparams.C (readToken):
601         * lyxfunc.C (dispatch):
602         * lyxrc.C (read): changes due to the altered BranchList and
603         LColor APIs.
604
605         * factory.C (createInset, readInset): changes due to altered
606         InsetBranch c-tor.
607
608 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
609
610         * factory.C:
611         * lyxfunc.C: remove insetminipage. "minipage-insert"
612         now produces a frameless minipage box inset.
613
614 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
615
616         * textcursor.[Ch] (selStart,selEnd): add new methods
617         remove selection::start, end, use LyXCursor::operator<
618         * lyxcursor.[Ch] (operator<): add
619         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
620         * BufferView.[Ch] (unsetXSel): add
621         * text2.C (clearSelection): use unsetXSel,adjust
622         * text.C: adjust
623         * text3.C: adjust
624         * rowpainter.C: adjust
625         * bufferview_funcs.C (put_selection_at): adjust
626
627 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
628
629         * BufferView_pimpl.C: small coord. correction
630
631 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
632
633         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
634         dragging over the splash screen.
635
636 2003-12-11  Angus Leeming  <leeming@lyx.org>
637
638         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
639         as it is now handled in LyXText::dispatch.
640
641         * text3.C (doInsertInset): remove a level of nesting.
642
643 2003-12-11  Angus Leeming  <leeming@lyx.org>
644
645         * factory.C (createInset): changes due to the changed interface to
646         InsetCommandMailer::string2params.
647
648 2003-12-10  Angus Leeming  <leeming@lyx.org>
649
650         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
651         'dialog-show-new-inset <inset name>'
652
653 2003-12-10  Angus Leeming  <leeming@lyx.org>
654
655         * buffer.C: up the format to 227.
656
657         * factory.C: the box inset is now identified simply by 'Box'.
658
659 2003-12-10  Angus Leeming  <leeming@lyx.org>
660
661         * buffer.C: up the format to 226.
662
663         * factory.C: the note inset is now identified simply by 'Note'.
664
665 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
666
667         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
668         when a pit is enough. Standarize a couple of loops.
669
670 2003-12-05  Angus Leeming  <leeming@lyx.org>
671
672         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
673         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
674         data to the re-worked "log" dialog.
675
676 2003-12-03  André Pönitz  <poenitz@gmx.net>
677
678         * PosIterator.C:
679         * iterators.C:
680         * lyxtext.h:
681         * output_latex.C:
682         * paragraph_funcs.C:
683         * text.C:
684         * text2.C: use Inset::getText instead of Inset::getParagraph
685
686 2003-12-03  André Pönitz  <poenitz@gmx.net>
687
688         * buffer.[Ch]:
689         * lyxtext.h:
690         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
691         InsetText::read() as LyXText::read()
692
693 2003-12-02  Angus Leeming  <leeming@lyx.org>
694
695         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
696         type. Add a comment in the implementation that the function uses
697         the stream's bad() function rather than fail() as the std::streams
698         would do.
699
700 2003-12-02  André Pönitz  <poenitz@gmx.net>
701
702         * lyxlex.[Ch]: make interface more similar to std::stream
703
704         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
705
706 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
707
708         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
709
710 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
711
712         * vspace.[Ch]: remove VSpace::NONE
713
714 2003-12-01  André Pönitz  <poenitz@gmx.net>
715
716         * buffer.[Ch]:
717         * lyxtext.h: move ParagraphList member to LyXText
718         rename LyXText::ownerParagraphs to LyXText::paragraph
719
720         * CutAndPaste.C:
721         * bufferview_funcs.C:
722         * iterators.[Ch]:
723         * lyx_cb.C:
724         * paragraph.C:
725         * rowpainter.C:
726         * tabular.C:
727         * text.C:
728         * text2.C:
729         * text3.C: adjust
730
731         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
732
733         * undo.C: fix cursor positioning
734
735 2003-12-01  John Levon  <levon@movementarian.org>
736
737         * BufferView_pimpl.C: fix a crash on exit with
738         a buffer open
739
740 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
741
742         * BranchList.C: fix setSelected() method.
743
744 2003-11-28  André Pönitz  <poenitz@gmx.net>
745
746         * ParagraphParameters.[Ch]:
747         * ParameterStruct.h: remove space above/below from Paragraph to
748          InsetVSpace
749
750         * BufferView_pimpl.C:
751         * factory.C:
752         * lyxfunc.C:
753         * lyxtext.h:
754         * output_latex.C:
755         * paragraph.C:
756         * paragraph_funcs.C:
757         * rowpainter.[Ch]:
758         * text.C:
759         * text2.C:
760         * text3.C: adjust
761
762 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
763
764         * factory.C: Syntax change for CharStyles
765
766 2003-11-28  André Pönitz  <poenitz@gmx.net>
767
768         * BufferView.[Ch]:
769         * BufferView.[Ch]:
770         * buffer.[Ch]:
771         * buffer.[Ch]: move LyXText member
772
773 2003-11-28  André Pönitz  <poenitz@gmx.net>
774
775         * BufferView.[Ch]: make LyXText * text a private member
776
777         * BufferView_pimpl.C:
778         * cursor.C:
779         * iterators.C:
780         * lyx_cb.C:
781         * lyxfind.C:
782         * lyxtext.h:
783         * rowpainter.[Ch]:
784         * text.C:
785         * text2.C:
786         * undo.C: adjust
787
788         * output_plaintext.C: cleanup
789
790 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
791
792         * buffer.C:
793         * lyxtextclass.[Ch]: parametrize SGML document header
794
795 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
796
797         * converter.[Ch]:
798         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
799         getFlavor().
800
801 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
802
803         * text2.C (setFont): rework using PosIterator (no more recursive)
804         (setCharFont): no more needed
805         (setLayout): no more selection cursors fiddling (done by redoCursor)
806         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
807         destroy remaining ones)
808
809 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
810
811         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
812         * lyxtext.h: ditto
813         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
814         selection cursors
815         * lyxfunc.C: adjust
816         * text3.C: adjust + re-allow multi par depth changes
817         * textcursor.C: simplify a bit
818
819 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
820
821         * src/buffer.C:
822         * src/lyxlayout.C:
823         * src/lyxlayout.h:
824         * src/lyxtext.h:
825         * src/output_docbook.C:
826         * src/output_latex.C:
827         * src/paragraph.C:
828         * src/paragraph.h:
829         * src/sgml.C:
830         * src/sgml.h:
831         * src/text2.C: Introducing a number of tags parametrizing various
832         XML formats that we may want to support
833
834 2003-11-25  André Pönitz  <poenitz@gmx.net>
835
836         * InsetList.[Ch] (begein, end): inline as suggested by profiler
837
838         * lyxtext.h (leftMargin/rightMargin): simplify interface
839
840         * rowpainter.C:
841         * text.C:
842         * text2.C:
843         * text3.C: adjust
844
845 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
846
847         * lyxfunc.C (dispatch): propogate the bibtex databases from the
848         master file to any child files. Fixes bug 546.
849
850 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
851
852         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
853
854 2003-11-24  André Pönitz  <poenitz@gmx.net>
855
856         * rowpainter.C: simplification
857
858         * text2.C (updateCounters): remove call to redoParagraph on
859         changed labels as this is far too expensive.
860
861 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
862
863         * converter.C (convert): fix a crash: this function gets
864         called with buffer == 0 from importer code.
865
866 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
867
868         * text3.C (cursorPrevious): make sure that we do not compare
869         iterators form different containers.
870         (cursorNext): ditto
871
872         * rowpainter.C (paintSelection): make sure that we do not compare
873         iterators from different containers.
874
875         * text3.C (dispatch): [PRIOR] make sure that we do not compare
876         iterators from different ParagraphList containers.
877         [NEXT] ditto
878
879         * text2.C (LyXText): change order of initialization slightly
880         (operator=): new function. copy all variables except cache_par_
881         (moveUp): make sure that we do not compare iterators from
882         different ParagraphList constainers.
883         (moveDown): ditto
884
885         * text.C (firstPar): new function
886         (lastPar): new function
887         (endPar): new function
888
889         * lyxtext.h: move things around and group public functions, public
890         variables, private functions, private variables
891
892 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
893
894         * factory.C: change call to InsetERT constructor to avoid
895         additional invocation of method status
896         * text2.C (toggleInset): remove redundant update() call
897         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
898         instead of a Bufferview pointer
899
900 2003-11-21  André Pönitz  <poenitz@gmx.net>
901
902         * rowpainter.C: simplification
903
904 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
905
906         * text3.C (dispatch): make possible to extend a word/row selection
907         with the mouse
908
909 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
910
911         * lyxtext.h: x0_,y0_ -> xo_,yo_
912         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
913         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
914         * rowpainter.C (paintRows): paint full paragraphs
915
916 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
917
918         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
919         screen coordinates)
920
921 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
922
923         * lyxtext.h: add x0_, y0_
924         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
925         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
926
927 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
928
929         * text2.C (setCursorIntern): move the x_target update here *
930         * text3.C: change some bv() to true/false in calls to
931         cursorUp/Down/Right/Left
932         * cursor.C: use helper function.
933
934 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
935
936         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
937         * paragraph_funcs.[Ch]: correct comment
938         * rowpainter.C: do not paint selections away from bv->cursor()
939         Fix a long standing selection painting bug.
940         * text3.C: generalize mouse-selection code to LyXTexts other that
941         top one
942         * textcursor.C: do not use y coords if we can use par offsets
943
944 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
945
946         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
947         cursor position after e.g. inset insert)
948
949 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
950
951         * lyxfind.C (replace): adjust to locking removal + some
952         code simplification
953
954 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
955
956         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
957         of the path
958
959 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
960
961         * lyxlayout.[Ch]:
962         * output_docbook.C: XML sanitation: new layout
963         parameters InnerTag and CommandDepth
964
965 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
966
967         * BufferView_pimpl.C:
968         * factory.C:
969         * text3.C: Fix the insertion and modification of button-style
970         insets
971
972 2003-11-13  André Pönitz  <poenitz@gmx.net>
973
974         * InsetList.[Ch]: remove deleteLyXText
975
976         * paragraph.[Ch]: cache beginOfBody position
977
978         * Bidi.C:
979         * text.C:
980         * text2.C:
981         * text3.C: remove superfluous update() calls
982
983         * vspace.C: cleanup
984
985 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
986
987         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
988         * BufferView.C (fitLockedInsetCursor): remove
989         * cursor.[Ch] (getDim): add
990         * text.C (getRowNearY): add faster version
991         * text3.C: remove some update calls
992
993 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
994
995         * LaTeXFeatures.C:
996         * LyXAction.C:
997         * MenuBackend.C:
998         * MenuBackend.h:
999         * dispatchresult.h:
1000         * factory.C:
1001         * lfuns.h:
1002         * lyxfunc.C:
1003         * lyxtextclass.C:
1004         * lyxtextclass.h:
1005         * text3.C: The Character Style /XML short element patch.
1006
1007 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
1008
1009         * text3.C:
1010         * factory.C: Small step to solving 'unable to insert some insets'
1011         problem
1012
1013 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1014
1015         * cursor.[Ch] (updatePos): new function for updating the y
1016         position of the tip inset
1017         * bufferview_funcs.C (put_selection_at):
1018         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1019
1020 2003-11-11  André Pönitz  <poenitz@gmx.net>
1021
1022         * text.C: remove big comment on invalid Paragraph pointers as it is
1023         not valid anymore
1024
1025 2003-11-11  André Pönitz  <poenitz@gmx.net>
1026
1027         * text_funcs.[Ch]: merge with ...
1028
1029         * text.C: ... this
1030
1031         * lyxtext.h:
1032         * text2.C:
1033         * text3.C: adjust
1034
1035         * Makefile.am: remove text_funcs.[Ch]
1036
1037 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
1038
1039         * cursor.C (getPos): return absolute cached y coord
1040
1041         * BufferView_pimpl.C (fitCursor): new simplistic code
1042         (workAreaDispatch): add a fitCursor call
1043
1044 2003-11-10  André Pönitz  <poenitz@gmx.net>
1045
1046         * BufferView.[Ch]:
1047         * BufferView_pimpl.[Ch]: merge update() and updateInset()
1048
1049 2003-11-10  André Pönitz  <poenitz@gmx.net>
1050
1051         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1052         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1053         indicate that the cursor needs to leave an inset
1054
1055         * lyxtext.h: remove inset locking
1056
1057         * cursor.[Ch]: re-implement functionality provided by inset locking
1058
1059         * BufferView.[Ch]:
1060         * BufferView_pimpl.[Ch]:
1061         * LyXAction.C:
1062         * bufferview_funcs.[Ch]:
1063         * factory.C:
1064         * funcrequest.[Ch]:
1065         * iterators.C:
1066         * lyx_cb.C:
1067         * lyxfind.C:
1068         * lyxfunc.C:
1069         * text.C:
1070         * text2.C:
1071         * text3.C:
1072         * undo.C: adjust
1073
1074 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
1075
1076         * PosIterator.[Ch]: replace the stack with a vector, add inset
1077         accesor
1078         * iterators.[C]: adjust
1079
1080 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1081
1082         * lyxfind.C (replaceAll): mark the buffer dirty if something was
1083         replaced
1084         * paragraph_funcs.C (readParToken): put the correct id in the
1085         error item, not the id of the top paragraph
1086
1087 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1088
1089         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1090         * bufferview_funcs.C (put_selection_at): use the above
1091
1092 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1093
1094         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1095
1096 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1097
1098         * output_linuxdoc.h:
1099         * output_plaintext.h:
1100         * output.h:
1101         * output_docbook.h: add #include statements
1102
1103 2003-11-05  José Matos  <jamatos@lyx.org>
1104
1105         * output_docbook.[Ch]:
1106         * output_latex.[Ch]:
1107         * output_linuxdoc.[Ch]:
1108         * output_plaintext.[Ch]: New files for output formats.
1109         * output.[Ch]: New file for helper functions.
1110
1111         * buffer.[Ch]:
1112         * paragraph_funcs.[Ch]: output functions moved to new files.
1113
1114         * outputparams.h: rename of latexrunparams.h
1115
1116         * LaTeX.[Ch]:
1117         * buffer.[Ch]:
1118         * bufferlist.[Ch]:
1119         * converter.[Ch]:
1120         * exporter.C:
1121         * paragraph.[Ch]:
1122         * paragraph_funcs.[Ch]:
1123         * paragraph_pimpl.[Ch]:
1124         * tabular.[Ch]: rename ascii to plaintext
1125         and LatexRunParams to OutputParams.
1126
1127 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1128
1129         * iterators.[Ch] (text): require bv argument
1130         * undo.C (recordUndo):
1131         * lyxfunc.C (dispatch):
1132         * bufferview_funcs.C (put_selection_at): adjust
1133
1134 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
1135
1136         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1137
1138 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1139
1140         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1141         nestings
1142
1143 2003-11-04  André Pönitz  <poenitz@gmx.net>
1144
1145         * cursor.[Ch]: restructure
1146
1147         * BufferView.[Ch]:
1148         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1149
1150         * iterators.[Ch] (asCursor): remove
1151
1152         * lfuns.h: remove LFUN_INSET_EDIT
1153
1154         * lyxfunc.C:
1155         * tabular.C:
1156         * text.C:
1157         * text2.C:
1158         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1159
1160 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1161
1162         * lyxfind.[Ch]: complete overhaul
1163         * BufferView_pimpl.C:
1164         * lyxfunc.C: adjust
1165         * paragraph.[Ch] (insert): add
1166
1167 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1168
1169         * BufferView.[Ch]:
1170         * lyxtext.h:
1171         * text.C: remove dead spellcheck code
1172
1173 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1174
1175         * dispatchresult.h: add a val setter
1176
1177         * cursor.C (dispatch): use a tempvar for data_[i]
1178
1179 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1180
1181         * PosIterator.[Ch]: compile fix
1182
1183 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1184
1185         * text.C (cursorPar): deactivate the cursor cache
1186
1187 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1188
1189         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1190
1191 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1192
1193         * text3.C (dispatch): adjust for new DisptchResult semantics.
1194
1195         * lyxfunc.C (dispatch): handle update when return from
1196         Cursor::dispatch, adjust for new DispatchResult semantics.
1197
1198         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1199         DispatchResult(true) mean to not update. Add class functions for
1200         setting dispatched and update, as well as reading.
1201
1202         * cursor.C (dispatch): don't handle update here
1203
1204 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1205
1206         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1207         * trans_mgr.C: adjust
1208
1209         * paragraph_funcs.C (readParToken): exception safety
1210
1211         * lyxvc.h: store the vcs pointer in a scoped_ptr
1212         * lyxvc.C: adjust
1213
1214         * lyxsocket.C (serverCallback): exception safety
1215
1216         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1217
1218         * ispell.C (clone): make it return a auto_ptr
1219
1220         * factory.C (createInset): exception safety
1221         (readInset): exception safety
1222
1223         * bufferlist.C (newBuffer): exception safety
1224
1225         * Thesaurus.C (Thesaurus): use initialization for aik_
1226
1227         * MenuBackend.C (expandToc): exception safety.
1228
1229 2003-11-03  André Pönitz  <poenitz@gmx.net>
1230
1231         * buffer.C:
1232         * buffer.h:
1233         * bufferview_funcs.C: remove getInsetFromId()
1234
1235         * lyxcursor.[Ch]:
1236         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1237
1238         * lyxfunc.C:
1239         * text2.C:
1240         * text3.C: adjust
1241
1242 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1243
1244         * PosIterator.C (distance, advance): new
1245         * bufferview_funcs.[Ch] (put_selection_at): new
1246         * iterators.[Ch] (lockPath): new
1247
1248 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
1249
1250         * iterators.[Ch] (asPosIterator): added
1251         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1252         * PosIterator.[Ch]: added
1253
1254 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1255
1256         * text3.C:
1257         * lyxfunc.C:
1258         * cursor.C (dispatch):
1259         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1260
1261         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1262         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1263         contructor, add a class function dispatched. Remove operator>=
1264
1265 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1266
1267         * debug.C: only use the default constructor for debugstream
1268         (lyxerr) here.
1269
1270         * main.C (main): include debug.h and setup the lyxerr streambuf
1271         here.
1272
1273 2003-10-31  José Matos  <jamatos@lyx.org>
1274
1275         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1276
1277         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1278         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1279         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1280         * paragraph_pimpl.C (simpleTeXSpecialC):
1281         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1282         add LatexRunParams argument.
1283
1284         * exporter.C (Export): change call accordingly.
1285
1286         * latexrunparams.h: add new member to take care of the other backends.
1287 2003-10-30  José Matos  <jamatos@lyx.org>
1288
1289         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1290         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1291         factorise code for paragraph output.
1292         * buffer.[Ch]:
1293         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1294         move functions.
1295
1296 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1297
1298         * text3.C (dispatch):
1299         * lyxfunc.C (dispatch):
1300         * cursor.C (dispatch):
1301         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1302
1303         * dispatchresult.h: make the dispatch_result_t ctor explicit
1304
1305 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
1306
1307         * sgml.[Ch]:
1308         * buffer.C: small refactoring of docbook stuff
1309
1310 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1311
1312         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1313         meaning.
1314
1315 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1316
1317         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1318         operator dispatch_result_t, and operators for == != and >=
1319
1320         * cursor.C (dispatch): adjust for operator dispatch_result_t
1321         removal. comment out call to update
1322
1323         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1324
1325 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1326
1327         * text3.C:
1328         * text2.C:
1329         * text.C:
1330         * lyxtext.h:
1331         * lyxfunc.C:
1332         * cursor.C:
1333         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1334         (dispatch):
1335
1336         * dispatchresult.h: new file, DispatchResult broken out of
1337         insets/insetbase.h
1338
1339         * Makefile.am (lyx_SOURCES): add dispatchresult.h
1340
1341 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1342
1343         * text.C (rowBreakPoint): put a hack inside #if 0
1344
1345 2003-10-28  André Pönitz  <poenitz@gmx.net>
1346
1347         * lyxtext.h:
1348         * metricsinfo.C:
1349         * paragraph_funcs.C:
1350         * rowpainter.C:
1351         * text.C:
1352         * text2.C: general cleanup (lots of small stuff)
1353
1354 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1355
1356         * text2.C (cursorEnd): simple fix to the "end key goes to one
1357         before the end on last row" bug
1358
1359 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1360
1361         * text.C (backspace): fix the "zombie characters"
1362
1363 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1364
1365         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1366
1367 2003-10-27  André Pönitz  <poenitz@gmx.net>
1368
1369         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1370
1371         * factory.C: handle new InsetPagebreak, InsetLine
1372
1373         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1374         and move handling into new InsetPagebreak, InsetLine
1375
1376         * BufferView_pimpl.C:
1377         * LyXAction.C:
1378         * ParagraphParameters.C:
1379         * ParameterStruct.h:
1380         * lyxfunc.C:
1381         * lyxtext.h:
1382         * paragraph.C:
1383         * paragraph.h:
1384         * paragraph_funcs.C:
1385         * paragraph_pimpl.C:
1386         * rowpainter.C:
1387         * text.C:
1388         * text2.C:
1389         * text3.C: adjust
1390
1391 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1392
1393         * text.C:
1394         * lyxrow_funcs.[Ch]:
1395         * Bidi.C:
1396         * paragraph.C:
1397         * lyxtext.h:
1398         * rowpainter.C:
1399         * text2.C:
1400         * text3.C: remove lastPos uses in favour of Row::endpos
1401
1402 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1403
1404         * undo.C (performUndoOrRedo): fix two crashes by setting a
1405         cursor by hand and reordering some calls. Use bv->lockInset instead
1406         of inset->edit because the latter loses cursor information
1407
1408 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
1409
1410         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1411         by Martin
1412         (rowBreakPoint): fix width. change point to point + 1.
1413         Add a missing check.
1414
1415 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
1416
1417         * MenuBackend.C:
1418         * lyxfunc.C: fix (at least partly) the problems
1419         with the Nav menu and headers inside branch insets
1420         reported by Kayvan
1421
1422 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
1423
1424         * paragraph.C (getChar): add strong asserts
1425
1426         * lyxrow_funcs.C (lastPos): remove hideous hack
1427
1428         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1429         (fill): adjust to that (avoid an infinite loop)
1430
1431 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1432
1433         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1434
1435 2003-10-23  André Pönitz  <poenitz@gmx.net>
1436
1437         * RowList_fwd.h: change list<> to vector<> to gain speed
1438         after suggestion from Alfredo
1439
1440 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1441
1442         * lyxtext.h: move the bidi stuff from here...
1443         * text.C: and here
1444         * text2.C: and here
1445         * Bidi.[Ch]: ... to here
1446
1447 2003-10-23  André Pönitz  <poenitz@gmx.net>
1448
1449         * lyxtext.h:
1450         * text.C (isLastRow, isFirstRow): new functions
1451
1452         * paragraph.h: new width cache member
1453
1454         * rowpainter.C: replace RowList::iterator with Row & where possible
1455
1456         * lyxfunc.C: replace several view()->text with a single call
1457
1458         * toc.C: fix 'unused' warning
1459
1460 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1461
1462         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1463         when woring with stream::pos_type
1464         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1465
1466 2003-10-22  André Pönitz  <poenitz@gmx.net>
1467
1468         * lyxtext.h:
1469         * text.C: use Row & instead of RowList::iterator
1470
1471         * lyxrow.h: rename end() to endpos()
1472
1473         * rowpainter.C:
1474         * text.C:
1475         * text2.C: adjust
1476
1477 2003-10-22  Angus Leeming  <leeming@lyx.org>
1478
1479         * buffer.[Ch] (fully_loaded): new member function, returning true
1480         only when the file has been loaded fully.
1481         Used to prevent the premature generation of previews and by the
1482         citation inset to prevent computation of the natbib-style label.
1483
1484         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1485         templates are all set up.
1486
1487         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1488
1489 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
1490
1491         * text.C: fixed an "oops" in the "is a bit silly"
1492         bug fix
1493
1494 2003-10-21  André Pönitz  <poenitz@gmx.net>
1495
1496         * FuncStatus.[Ch]: small stuff, whitespace
1497
1498         * lyxfont.[Ch]: operator<<() for debug reasons
1499
1500         * lyxfunc.C:
1501         * lyxrow_funcs.C:
1502         * lyxtext.h: whitespace, spelling
1503
1504         * paragraph.C: naming of variables
1505
1506         * text.C:
1507         * text2.C: small stuff
1508
1509
1510 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
1511
1512         * text.C: (1) finish off the inset display() work;
1513         (2) fix the "is a bit silly" bug (accessing char
1514         past end of par).
1515
1516 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
1517
1518         * text.C: re-introduce display() for insets, fixing the
1519         various bugs (stretch of line above, math inset
1520         positioning, ...)
1521
1522 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1523
1524         * text.C (rightMargin): remove spurious semicolon
1525
1526         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1527         1415)
1528
1529 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
1530
1531         * text3.C: fix one crash due to wrong cursor def
1532
1533 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1534
1535         * vc-backend.C (scanMaster): make the regex static
1536
1537         * LaTeX.C (scanAuxFile): make the regexs static
1538
1539         * text3.C (doInsertInset, dispatch, dispatch):
1540         * text2.C (cursorUp, cursorDown):
1541         * text.C (selectNextWordToSpellcheck):
1542         * BufferView_pimpl.C (dispatch):
1543         * lyxfunc.C (dispatch):  localDispatch -> dispatch
1544
1545 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1546
1547         * lyxsocket.C: include <cerrno>
1548
1549 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1550
1551         * lyxfunc.C (dispatch): remove textcache stuff
1552
1553         * bufferlist.C (release): remove textcache stuff
1554         (closeAll): ditto
1555
1556         * TextCache.C: delete file
1557         * TextCache.h: delete file
1558
1559         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1560
1561         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1562         delete of the bv_->text.
1563         (resizeCurrentBuffer): remove texcache stuff
1564         (workAreaResize): ditto
1565
1566 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1567
1568         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1569         action.
1570
1571 2003-10-16  André Pönitz  <poenitz@gmx.net>
1572
1573         * lyxrow.[Ch]:
1574         * paragraph.h:
1575         * rowpainter.C:
1576         * text.C:
1577         * text2.C:
1578         * text3.C: speed up by storing y positions per paragraph plus per-row
1579         offset instead of having a 'full' y position in the row.
1580
1581 2003-10-15  André Pönitz  <poenitz@gmx.net>
1582
1583         * iterators.[Ch]:
1584         * iterators.[Ch]:
1585         * undo.[Ch]: make undo aware of inner insets
1586
1587 2003-10-14  Angus Leeming  <leeming@lyx.org>
1588
1589         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1590         static member functions LyX::ref() and LyX::cref.
1591         (lastfiles): new accessor functions for the new lastfiles_ member var.
1592         (addLyXView, views_): add a new LyXView to the list of views_.
1593         (updateInset): loop over all LyXViews to call their own updateInset
1594         member function, returning a pointer to the Buffer owning the inset.
1595
1596         * BufferView_pimpl.C (loadLyXFile):
1597         * MenuBackend.C (expandLastfiles):
1598         * bufferlist.C (MenuWrite, QuitLyX):
1599         lastfiles is no longer a global variable.
1600         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1601
1602         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1603         static function. Access through LyX::cref().emergencyCleanup().
1604
1605 2003-10-14  André Pönitz  <poenitz@gmx.net>
1606
1607         * iterators.[Ch]: new direct access to innermost LyXText and Inset
1608
1609         * undo.[Ch]: restoring part of 'undo in insets'
1610
1611         * Makefile.am:
1612         * undo_funcs.[Ch]: merge with undo.[Ch]
1613
1614         * tabular.C: small cleansing stuff
1615
1616 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
1617
1618         * paragraph_funcs.C (readParToken): report unknown insets as error
1619         boxes. Use the outer paragraph as location (also for unknown
1620         tokens).
1621
1622         * factory.C (readInset): do not abort on reading an unknown inset.
1623         Eat it and return 0.
1624
1625 2003-10-13  Angus Leeming  <leeming@lyx.org>
1626
1627         * lyx_main.C (LyX): remove call to setDisplayTranslator().
1628
1629         * lyxrc.C: displayTranslator is now a function,
1630         declared in GraphicsTypes.h.
1631
1632 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1633
1634         * format.C: new placeholder $$a to pass the socket address.
1635
1636         * bufferlist.[Ch]: new function getBufferFromTmp.
1637
1638         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1639           files in the temporary dir.
1640
1641 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1642
1643         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1644
1645         * Makefile.am: add lyxsocket.[Ch].
1646
1647         * lyx_main.C (error_handler): handle SIGPIPE.
1648
1649 2003-10-13  André Pönitz  <poenitz@gmx.net>
1650
1651         * BufferView_pimpl.C:
1652         * lyxtext.h:
1653         * text.C:
1654         * text2.C:
1655         * text3.C:
1656         * undo_funcs.[Ch]: use paroffset_type instead of
1657           ParagraphList::iterators to prevent multiple conversion
1658           (and get a more robust interface)
1659
1660 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1661
1662         * lyxfunc.C (dispatch): RESULT -> dispatch_result
1663         * lyxtext.h: ditto
1664         * text3.C (dispatch): ditto
1665
1666 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1667
1668         * LaTeX.C (handleFoundFile): move the static to smaller scope,
1669         move the onlyfile, use onlyfile instead of foundfile in a couple
1670         of places.
1671
1672         * DepTable.C (update): flush the error stream a bit more
1673
1674 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1675
1676         * lyxserver.C (callback): adjust
1677
1678         * lyxfunc.C (getStatus): add a missing brace in commented code
1679         (ensureBufferClean): reindent
1680         (dispatch): delete version taking a string
1681
1682 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1683
1684         * LaTeX.C (deplog): move found file handlig from here...
1685         (handleFoundFile): .. to new function here.
1686         (deplog): make sure to discover several files mentioned on the
1687         same log line.
1688
1689 2003-10-10  André Pönitz  <poenitz@gmx.net>
1690
1691         * lyxfunc.C:
1692         * lyxtext.h:
1693         * tabular.C:
1694         * text.C:
1695         * text2.C:
1696         * text3.C: fix some of the tabular crashes
1697
1698 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1699
1700         * MenuBackend.C (binding): put debug message into Debug::KBMAP
1701
1702         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1703
1704 2003-10-09  André Pönitz  <poenitz@gmx.net>
1705
1706         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1707
1708         * BufferView.C:
1709         * BufferView_pimpl.C:
1710         * bufferview_funcs.C:
1711         * lyx_cb.C:
1712         * lyxcursor.C:
1713         * lyxfind.C:
1714         * lyxfunc.C:
1715         * lyxtext.h:
1716         * text.C:
1717         * text2.C:
1718         * text3.C:
1719         * text_funcs.[Ch]:
1720         * textcursor.[Ch]:
1721         * undo_funcs.C: adjust
1722
1723 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1724
1725         * text2.C (incrementItemDepth): new function, use a backtracking
1726         algorithm to discover the correct item depth.
1727         (resetEnumCounterIfNeeded): new function, use a backtracking
1728         algorithm to discover if counter reset is needed.
1729         (setCounter): use them. Simplify a bit. Add different labels for
1730         different item depths for itemize.
1731
1732         * paragraph.C (Paragraph): remove initialization of enumdepth
1733         (operator=): ditto
1734
1735         * paragraph.h: get rid of enumdepth, and use itemdepth both for
1736         enumerate and itemize. Change the type of itemdepth to signed char.
1737
1738 2003-10-08  André Pönitz  <poenitz@gmx.net>
1739
1740         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1741           thing assignable.
1742         * text.C:
1743         * text2.C: adjust
1744
1745         * tabular.[Ch]: fix crash after 'row-insert'
1746
1747 2003-10-08  Angus Leeming  <leeming@lyx.org>
1748
1749         Fix doxygen warnings.
1750
1751         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1752         Remove CutAndPaste:: prefix from header file declaration.
1753
1754         * LColor.h (fill): remove LColor:: prefix from declaration.
1755
1756         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1757         use lyx::depth_type rather than Paragraph::depth_type so that
1758         header file and .C file match.
1759
1760         * converter.h (intToFormat): remove Converters:: prefix from declaration.
1761
1762         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1763         * aspell.C: \file aspell_local.C -> \file aspell.C
1764         * gettext.C: \file gettext.C -> \file src/gettext.C
1765         * gettext.h: \file gettext.h -> \file src/gettext.h
1766         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1767         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1768         * text.C: \file text.C -> \file src/text.C
1769
1770         * toc.C: move comment so that doxygen is not confused.
1771
1772 2003-10-07  Angus Leeming  <leeming@lyx.org>
1773
1774         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1775
1776 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1777
1778         * aspell.C:
1779         * aspell_local.h: add forgotten std::string's.
1780
1781 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1782
1783         * LaTeXFeatures.C:
1784         * LyXAction.C:
1785         * factory.C:
1786         * lfuns.h:
1787         * lyxfunc.C:
1788         * text3.C: The Box patch. Fancybox support, minipage, parbox
1789
1790 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1791
1792         * CutAndPaste.h:
1793         * DepTable.h:
1794         * FloatList.h:
1795         * LaTeXFeatures.h:
1796         * ParagraphParameters.h:
1797         * TextCache.h:
1798         * Thesaurus.h:
1799         * bufferlist.h:
1800         * exporter.h:
1801         * importer.h:
1802         * lastfiles.h:
1803         * lyxfind.h:
1804         * lyxfont.h:
1805         * lyxlex.h:
1806         * lyxtextclasslist.h:
1807         * messages.h:
1808         * paragraph.h:
1809         * paragraph_pimpl.C:
1810         * textcursor.h: add <string> and other small fixes to make Lars'
1811         std::string patch compile with STLport.
1812
1813 2003-10-06  Angus Leeming  <leeming@lyx.org>
1814
1815         * LColor.h: Add missing #include <string>.
1816
1817 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1818
1819         * All most all file in all subdirs: Make <string> be the prefered
1820         way of getting to std::string, add using declarations.
1821
1822 2003-10-06  André Pönitz  <poenitz@gmx.net>
1823
1824         * metricsinfo.C: initialize LyXFont before changing attribute.
1825         (fixes the 'math in \emph is upright' bug)
1826
1827 2003-10-06  André Pönitz  <poenitz@gmx.net>
1828
1829         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1830
1831 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1832
1833         * graph.C:
1834         * paragraph_pimpl.C: Small fixes to build using STLport
1835
1836 2003-10-02  André Pönitz  <poenitz@gmx.net>
1837
1838         * lyxfunc.C:
1839         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1840
1841 2003-10-01  André Pönitz  <poenitz@gmx.net>
1842
1843         * factory.C: assert early
1844
1845 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1846
1847         * lyx_main.C: remove the global debug object
1848
1849         * debug.h: adjust for new debugstream
1850
1851         * debug.C: adjust for new debugstream and keep the global debug
1852         object here.
1853
1854 2003-09-22  Angus Leeming  <leeming@lyx.org>
1855
1856         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1857         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1858         an incomplete class LyXFont.
1859
1860 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1861
1862         * factory.C: bug fix in branches
1863
1864 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1865
1866         * lyxfunc.C (processKeySym): adjust
1867         (dispatch): adjust
1868         (dispatch): change arg name from ev to func, adjust
1869         (sendDispatchMessage): ditto
1870
1871         * lyx_main.C (defaultKeyBindings): adjust keybindings
1872         (deadKeyBindings): ditto
1873
1874         * kbsequence.C (addkey): return a FuncRequest
1875
1876         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1877
1878         * kbmap.C (bind): take a FuncRequest as arg, adjust
1879         (read): adjust
1880         (lookup): adjust
1881         (defkey): change to take a FuncRequest as arg, adjust
1882         (findbinding): take a FuncRequest as arg, adjust.
1883
1884         * funcrequest.h (operator=): added
1885
1886         * funcrequest.C (FuncRequest): default kb_action changed from
1887         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1888
1889         * buffer.C (dispatch): simplify
1890         (dispatch): adjust to take a FuncRequest as arg, adjust
1891
1892         * boost.C (assertion_failed): change assertion message slightly
1893
1894         * ToolbarBackend.C (read): simplify
1895
1896         * MenuBackend.C (binding): adjust call to findbinding, add a
1897         message if no binding is found.
1898         (read): simplify
1899         (expandToc): correct by adding a empty FuncRequest
1900
1901         * LyXAction.C: include <boost/assert.hpp>
1902         (isPseudoAction): delete function
1903         (LookupFunc): change name to...
1904         (lookupFunc): this. change return type to FuncRequest.
1905         (getActionName): take kb_action as arg, simplify
1906         (funcHasFlag): add an assert, simplify.
1907
1908 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1909
1910         * toc.C (action): return a FuncRequest, simplify
1911
1912         * lyxfunc.C (processKeySym): adjust
1913         (getStatus): delete version that takes an int.
1914         (getStatus): adjust
1915         (dispatch): delete version that takes action as int
1916         (dispatch): adjust
1917         (sendDispatchMessage): simplify and adjust
1918
1919         * funcrequest.C (getArg): take unsigned int as arg
1920
1921         * ToolbarBackend.C (read): adjust
1922         (add): delete version that takes func as a string.
1923         (getIton): take a FuncRequest as arg
1924
1925         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1926         action.
1927
1928         * MenuBackend.C (MenuItem): add a new construct that only takes a
1929         Kind, simplify the constructor use for submenus.
1930         (add): adjust
1931         (expandLastfiles): adjust
1932         (expandDocuments): adjust
1933         (expandFormats): adjust
1934         (expandFloatListInsert): adjust
1935         (expandFloatInsert): adjust
1936         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1937
1938         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1939         Remove class variables lyx_pseudo_map and lyx_arg_map
1940
1941         * LyXAction.C (searchActionArg): delete function
1942         (getPseudoAction): delete function
1943         (retrieveActionArg): delete function
1944         (LookupFunc): make it return kb_action, simplify.
1945         (getActionName): simplify
1946
1947         * factory.C (createInset): fix new bug
1948
1949 2003-09-19  Angus Leeming  <leeming@lyx.org>
1950
1951         * CutAndPaste.C (pasteSelection): remove fudge used to set the
1952         masterFilename_ parameter in the include inset.
1953
1954         * factory.C (createInset): changes due to the changes to InsetInclude.
1955
1956 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1957
1958         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1959
1960 2003-09-18  Angus Leeming  <leeming@lyx.org>
1961
1962         * buffer.C:
1963         * BufferView.C: pass the buffer when calling Inset::getLabelList,
1964         Inset::fillWithBibKeys.
1965         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1966
1967 2003-09-18  Angus Leeming  <leeming@lyx.org>
1968
1969         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1970         variables.
1971         (ctor): pass and store a 'Buffer const &'
1972         (buffer): new member function.
1973
1974         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1975         '*this' to the LaTeXFeatures ctor.
1976
1977 2003-09-18  Angus Leeming  <leeming@lyx.org>
1978
1979         * LColor.h:
1980         * lyxfont.C:
1981         * lyxfont.h:
1982         * lyxtext.h:
1983         * text.C: rename EnumLColor as LColor_color.
1984
1985 2003-09-18  Angus Leeming  <leeming@lyx.org>
1986
1987         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1988         remove #include "insets/insetbase.h" from cursor.h.
1989
1990 2003-09-18  Angus Leeming  <leeming@lyx.org>
1991
1992         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1993         InsetOld_code to remove #include "inset.h".
1994
1995         * iterators.C: add #include "insets/inset.h"
1996
1997 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
1998
1999         * BufferView.C: remove more locking stuff that apparently doesn't
2000         do anything sensible.
2001
2002 2003-09-16  André Pönitz  <poenitz@gmx.net>
2003
2004         * paragraph.[Ch]:
2005         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2006           performance boost.
2007
2008 2003-09-16  Angus Leeming  <leeming@lyx.org>
2009
2010         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2011
2012         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2013         arg/return type.
2014
2015         * paragraph.h: remove #include "lyxfont.h". Forward declare
2016         LyXFont_size.
2017
2018 2003-09-16  Angus Leeming  <leeming@lyx.org>
2019
2020         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2021         of support/textutils.h.
2022         (isWord): move the contents of support/textutils.h's IsWordChar here.
2023
2024         * buffer.C:
2025         * lyxfind.C:
2026         * rowpainter.C:
2027         * text.C:
2028         * text2.C: add #include "paragraph.h".
2029
2030         * rowpainter.C:
2031         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2032
2033 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2034
2035         * main.C:
2036         * lyx_main.C:
2037         * lyx_cb.C:
2038         * buffer.C:
2039         * LaTeX.C: use namespace alias for lyx::support::os
2040
2041 2003-09-16  Angus Leeming  <leeming@lyx.org>
2042
2043         * bufferparams.C:
2044         * bufferview_funcs.C:
2045         * factory.C:
2046         * lyxfunc.C:
2047         * paragraph_pimpl.C:
2048         * rowpainter.C:
2049         * text.C: add #include "LColor.h".
2050
2051 2003-09-16  Angus Leeming  <leeming@lyx.org>
2052
2053         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2054         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2055         return LyXFont &.
2056         Store the FontBits::color variable as an int rather than as an
2057         LColor::colorso that we can move LColor.h out of the lyxfont.h header
2058         file.
2059
2060         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2061         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2062         string calls together.
2063
2064         * lyxrc.C: add #include "LColor.h".
2065
2066 2003-09-15  Angus Leeming  <leeming@lyx.org>
2067
2068         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2069         a cow_ptr.
2070
2071 2003-09-15  Angus Leeming  <leeming@lyx.org>
2072
2073         * LColor.h: add an EnumLColor wrapper for LColor::color.
2074
2075         * lyxfont.[Ch] (color, setColor, realColor):
2076         * lyxtext.h, text.C (backgroundColor):
2077         pass EnumLColor args to/from the functions, rather than LColor::color
2078         ones.
2079
2080         * lyxfont.h:
2081         * lyxtext.h: forward declare EnumLColor.
2082
2083         * lyx_main.C: add #include "LColor.h".
2084
2085 2003-09-15  Angus Leeming  <leeming@lyx.org>
2086
2087         * .cvsignore: add lyx-gtk.
2088
2089 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2090
2091         * Chktex.C
2092         * LaTeX.C
2093         * LaTeXFeatures.C
2094         * ParagraphParameters.C
2095         * Spacing.C
2096         * buffer.C
2097         * bufferparams.C
2098         * bufferview_funcs.C
2099         * chset.C
2100         * counters.C
2101         * funcrequest.C
2102         * lyxfont.C
2103         * lyxgluelength.C
2104         * lyxlength.C
2105         * paragraph.C
2106         * paragraph_funcs.C
2107         * text3.C
2108         * vc-backend.C: remove usage of STRCONV
2109
2110 2003-09-15  Angus Leeming  <leeming@lyx.org>
2111
2112         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2113         explicitly define the color passed to the painter.
2114
2115 2003-09-15  Angus Leeming  <leeming@lyx.org>
2116
2117         * bufferparams.C (BufferParams): reorder member initializers to avoid
2118         compiler warning.
2119
2120 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
2121
2122         * CutAndPaste.C (pasteSelection): remove an outdated #warning
2123         * text.C (updateRowPositions): remove an unusual nop
2124
2125 2003-09-12  André Pönitz  <poenitz@gmx.net>
2126
2127         * BufferView_pimpl.C:
2128         * Bullet.C:
2129         * layout.h:
2130         * lyxfunc.C:
2131         * lyxlayout.[Ch]:
2132         * lyxtextclass.C:
2133         * rowpainter.C:
2134         * text.C:
2135         * text2.C:
2136         * Counters.[Ch]: finish the 'automatic counters' job
2137
2138 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2139
2140         * aspell.C: include <boost/assert.cpp> (compile fix)
2141
2142 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
2143
2144         * boost.C (assertion_failed): use lyx::support::abort instead of
2145         assert.
2146
2147 2003-09-10  Angus Leeming  <leeming@lyx.org>
2148
2149         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2150         with their _fwd progeny.
2151
2152 2003-09-09  Angus Leeming  <leeming@lyx.org>
2153
2154         134 files throughtout the source tree: replace 'using namespace abc;'
2155         directives with the appropriate 'using abc::xyz;' declarations.
2156
2157 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2158
2159         * boost.C (emergencyCleanup): moved here from LAssert.c
2160         (assertion_failed): new function, called by BOOST_ASSERT
2161
2162         * several files: change Assert to BOOST_ASSERT
2163
2164 2003-09-09  Angus Leeming  <leeming@lyx.org>
2165
2166         * buffer.[Ch]: Add an Impl class and move Buffer's member
2167         variables into it. As a result move several header files out of
2168         buffer.h.
2169
2170         Add header files to lots of .C files all over the tree as a result.
2171
2172 2003-09-09  Angus Leeming  <leeming@lyx.org>
2173
2174         * buffer.[Ch]: make Buffer's member variables private. Add
2175         accessor functions.
2176
2177         Lots of changes all over the tree as a result.
2178
2179 2003-09-08  Angus Leeming  <leeming@lyx.org>
2180
2181         * graph.C: #include <config.h>.
2182
2183 2003-09-08  Angus Leeming  <leeming@lyx.org>
2184
2185         * BranchList.C:
2186         * BufferView.C:
2187         * BufferView_pimpl.C:
2188         * CutAndPaste.C:
2189         * DepTable.C:
2190         * LaTeX.C:
2191         * LaTeXFeatures.C:
2192         * LyXAction.C:
2193         * MenuBackend.C:
2194         * TextCache.C:
2195         * aspell.C:
2196         * buffer.C:
2197         * bufferlist.C:
2198         * changes.C:
2199         * chset.C:
2200         * converter.C:
2201         * counters.C:
2202         * debug.C:
2203         * graph.C:
2204         * ispell.C:
2205         * lyx_cb.C:
2206         * lyxfind.C:
2207         * lyxfunc.C:
2208         * lyxlex_pimpl.C:
2209         * lyxrc.C:
2210         * lyxrow.C:
2211         * paragraph.C:
2212         * rowpainter.C:
2213         * texrow.C:
2214         * text.C:
2215         * text2.C:
2216         * toc.C: remove redundant using directives.
2217
2218 2003-09-07  Angus Leeming  <leeming@lyx.org>
2219
2220         * LaTeXFeatures.h: remove #include "support/types.h".
2221         * ToolbarBackend.h: remove #include <algorithm>.
2222         * changes.h: remove #include <ctime>.
2223         * debug.h: remove #include <iosfwd>.
2224         * graph.h: remove #include "support/std_string.h".
2225         * lyx_main.h: remove #include <csignal>.
2226         * lyxlex_pimpl.h: remove #include <fstream>.
2227         * sgml.h: remove #include <algorithm>, <utility>.
2228         * toc.h: remove #include "support/std_ostream.h".
2229         Add #include <iosfwd>.
2230
2231 2003-09-07  Angus Leeming  <leeming@lyx.org>
2232
2233         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2234
2235         * converter.h: forward declare LatexRunParams.
2236         * encoding.h: remove #include "lyxrc.h".
2237         * lyxtext.h: remove #include "LColor.h".
2238         * lyxtextclass.h: remove #include "support/types.h".
2239         * trans.h: remove #include "tex-accent.h".
2240         * trans_mgr.h: remove #include "tex-accent.h".
2241         * insets/inset.h: remove #include "support/types.h", <vector>.
2242         * insets/insetcollapsable.h: remove #include "LColor.h".
2243         * insets/insetinclude.h: remove #include "dimension.h".
2244         * insets/insetlatexaccent.h: remove #include "dimension.h".
2245         * insets/insetoptarg.h:: remove #include "insettext.h".
2246         * insets/insettext.h: remove #include "dimension.h",
2247         <boost/shared_ptr.hpp>
2248
2249         * insets/renderers.h: add #include "dimension.h".
2250         * insets/updatableinset.h: add #include "support/types.h".
2251
2252         * many .C files: Associated changes.
2253
2254 2003-09-06  Angus Leeming  <leeming@lyx.org>
2255
2256         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2257         one, inside testInvariant.
2258
2259         * PrinterParams.C: new file.
2260         * PrinterParams.[Ch]: move the function bodies out of line.
2261
2262 2003-09-06  Angus Leeming  <leeming@lyx.org>
2263
2264         * ParagraphParameters.h: forward declare ParameterStruct rather than
2265         including its header file.
2266         (depth): moved out-of-line.
2267
2268 2003-09-06  Angus Leeming  <leeming@lyx.org>
2269
2270         * BufferView_pimpl.h:
2271         * kbmap.h:
2272         * kbsequence.h:
2273         * lyxfunc.h: forward declare LyXKeySym rather than
2274         #include "frontends/LyXKeySym.h".
2275
2276         * BufferView_pimpl.C:
2277         * kbmap.C:
2278         * kbsequence.C:
2279         * lyxfunc.C: associated changes.
2280
2281 2003-09-06  Angus Leeming  <leeming@lyx.org>
2282
2283         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2284         As a result, can remove the #include "insets/inset.h" from BufferView.h
2285
2286 2003-09-06  Angus Leeming  <leeming@lyx.org>
2287
2288         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2289         As a result, can remove the #include "insets/inset.h" from BufferView.h
2290
2291 2003-09-06  Angus Leeming  <leeming@lyx.org>
2292
2293         * buffer_funcs.C:
2294         * buffer.h:
2295         * bufferlist.C:
2296         * BufferView.C:
2297         * bufferview_funcs.C:
2298         * BufferView_pimpl.C:
2299         * CutAndPaste.C:
2300         * lyx_cb.C:
2301         * lyxfunc.C:
2302         * paragraph.h:
2303         * ParagraphParameters.C:
2304         * tabular.C:
2305         * text3.C:
2306         * toc.C:
2307         * undo_funcs.C:
2308         * frontends/controllers/ControlDocument.C:
2309         * insets/insetcaption.C: rearrange the #includes into some sort of
2310         coherent order.
2311
2312         * buffer.h: remove #includes ErrorList.h, undo.h
2313
2314 2003-09-06  Angus Leeming  <leeming@lyx.org>
2315
2316         * support/types.h: add a 'depth_type' typedef, used to store the
2317         nesting depth of a paragraph.
2318
2319         * paragraph.h:
2320         * ParameterStruct.h: use this lyx::depth_type typedef rather than
2321         defining explicitly.
2322
2323         * buffer.h:
2324         * paragraph_funcs.h:
2325         * ParagraphParameters.h:
2326         * sgml.h: use lyx::depth_type rather than Paragraph or
2327         ParameterStruct's depth_type.
2328
2329         * buffer.h
2330         * paragraph_funcs.h: no need to #include paragraph.h anymore.
2331
2332         * BufferView.C:
2333         * BufferView_pimpl.C:
2334         * CutAndPaste.C:
2335         * ParagraphParameters.C:
2336         * buffer_funcs.C:
2337         * bufferlist.C:
2338         * bufferview_funcs.C:
2339         * lyx_cb.C:
2340         * lyxfunc.C:
2341         * tabular.C:
2342         * text3.C:
2343         * toc.C:
2344         * undo_funcs.C:
2345         * frontends/LyXView.C:
2346         * frontends/controllers/ControlDocument.C:
2347         * frontends/controllers/ControlErrorList.C:
2348         * insets/insetbibitem.C:
2349         * insets/insetbranch.C:
2350         * insets/insetcaption.C:
2351         * insets/insetcollapsable.C:
2352         * insets/insetenv.C:
2353         * insets/insetert.C:
2354         * insets/insetfloat.C:
2355         * insets/insetfoot.C:
2356         * insets/insetfootlike.C:
2357         * insets/insetnewline.C:
2358         * insets/insetquotes.C:
2359         * insets/insettabular.C:
2360         * insets/insettext.C:
2361         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2362
2363         * frontends/controllers/ControlChanges.C: #include "changes.h".
2364
2365 2003-09-06  Angus Leeming  <leeming@lyx.org>
2366
2367         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2368         than #including paragraph.h.
2369
2370         * ParagraphList.h:
2371         * RowList.h: deleted. Superfluous.
2372
2373         * CutAndPaste.h:
2374         * iterators.h:
2375         * lyxcursor.h:
2376         * lyxtext.h:
2377         * text_funcs.h:
2378         * undo.h:
2379         * undo_funcs.h:
2380         * insets/inset.h:
2381         * insets/insettext.h: use ParagraphList_fwd.h rather than
2382         ParagraphList.h.
2383
2384         * paragraph.h: don't forward declare ParagraphList.
2385
2386         * buffer.h:
2387         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2388         rather than ParagraphList.h. paragraph.h is still needed for the
2389         Paragraph::depth_type parameters.
2390
2391         * textcursor.h: enable it to compile stand-alone in light of the
2392         above changes.
2393
2394         * bufferview_funcs.C:
2395         * iterators.C:
2396         * lyxfunc.C:
2397         * lyxrow_funcs.C:
2398         * paragraph.C:
2399         * rowpainter.C:
2400         * text.C:
2401         * text2.C:
2402         * text3.C:
2403         * text_funcs.C:
2404         * textcursor.C:
2405         * undo.C:
2406         * frontends/controllers/ControlParagraph.C:
2407         * frontends/controllers/ControlTabular.C:
2408         * insets/insetmarginal.C:
2409         * insets/insetminipage.C:
2410         * insets/insetnote.C:
2411         * insets/insetoptarg.C: add header files needed to compile again.
2412
2413 2003-09-06  Angus Leeming  <leeming@lyx.org>
2414
2415         * RowList_fwd.h: new file, forward-declaring Row rather than
2416         #including lyxrow.h.
2417
2418         * lyxrow_funcs.h:
2419         * lyxtext.h:
2420         * paragraph.h:
2421         * insets/insettext.h: use it instead of RowList.h
2422
2423         * bufferview_funcs.C:
2424         * lyxfunc.C:
2425         * lyxrow_funcs.C:
2426         * paragraph.C:
2427         * rowpainter.C:
2428         * text.C:
2429         * text2.C:
2430         * text3.C: #include "RowList.h".
2431
2432 2003-09-05  Angus Leeming  <leeming@lyx.org>
2433
2434         * factory.C (createInset):
2435         * vspace.C (c-tor): replace sscanf call with an istringstream.
2436         * ispell.C: re-add missing HP/UX headers.
2437         * lyxserver.C: re-add missing  os2 headers.
2438
2439 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
2440
2441         * BranchList.C:
2442         * graph.C:
2443         * ispell.C:
2444         * lastfiles.C:
2445         * lyx_cb.C:
2446         * lyxserver.C:
2447         * texrow.C:
2448         * text3.C: re-add missing system headers, needed for 2.95.2.
2449
2450 2003-09-05  Angus Leeming  <leeming@lyx.org>
2451
2452         Changes most place everywhere due to the removal of using directives
2453         from support/std_sstream.h.
2454
2455 2003-09-05  Angus Leeming  <leeming@lyx.org>
2456
2457         Replace LString.h with support/std_string.h,
2458         Lsstream.h with support/std_sstream.h,
2459         support/LIstream.h with support/std_istream.h,
2460         support/LOstream.h with support/std_ostream.h.
2461
2462         Changes resulting throughout the tree.
2463
2464 2003-09-05  Angus Leeming  <leeming@lyx.org>
2465
2466         * sgml.h: ensure that the header file can be compiled stand-alone.
2467         * *.C: strip out redundant #includes. (320 in total.)
2468
2469 2003-09-04  Angus Leeming  <leeming@lyx.org>
2470
2471         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2472         here (from getPackages).
2473
2474         * debug.[Ch]: add a new EXTERNAL tag.
2475
2476 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2477
2478         * text2.C (cursorEnd): simplify
2479         (setCursor): adjust
2480         (getColumnNearX): adjust
2481
2482         * text.C (computeBidiTables): adjust
2483         (fill): adjust
2484
2485         * rowpainter.C (paintChars): adjust
2486         (paintSelection): adjust
2487         (paintChangeBar): adjust
2488         (paintText): adjust
2489
2490         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2491         lastPos instead.
2492         (numberOfSeparators): adjust
2493
2494 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2495
2496         * LyXAction.C:
2497         * box.[Ch]:
2498         * lfuns.h:
2499         * lyxfunc.C:
2500         * text3.C: Restricts the mouse click functionality
2501         of insets like bibtex, include, toc and floatlist to the visible
2502         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2503         up the dialogs. Cursor has to be in front of the inset (i.e.
2504         start of row) for this to function.
2505
2506 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2507
2508         * bufferview_funcs.C (currentState): output row information
2509
2510 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2511
2512         * bufferview_funcs.C (currentState): output paragraph position
2513
2514 2003-09-04  Angus Leeming  <leeming@lyx.org>
2515
2516         * FloatList.h: move out #include "Floating.h".
2517         * LaTeX.h: move out #include "DepTable.h".
2518         * LyXAction.h: move out #include "funcrequest.h".
2519         * buffer.h: move out #include "author.h", "iterators.h".
2520         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2521         * lyx_main.h: move out #include "errorlist.h".
2522         * lyxfunc.h: move out #include "FuncStatus.h".
2523         * lyxtext: move out #include "lyxcursor.h".
2524         * paragraph_pimpl.h: move out #include "counters.h".
2525
2526 2003-09-03  Angus Leeming  <leeming@lyx.org>
2527
2528         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2529         preamble_snippets list, enabling us to add snippets to the preamble
2530         only if the snippet was not there already.
2531
2532 2003-09-04  Angus Leeming  <leeming@lyx.org>
2533
2534         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2535
2536 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2537
2538         * lyxfunc.C (dispatch): if fitCursor did something be sure to
2539         update
2540
2541 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2542
2543         * BranchList.C: point fix, earlier forgotten
2544
2545 2003-09-02  Angus Leeming  <leeming@lyx.org>
2546
2547         * box.C (contains): renamed from 'contained' after a fantastic
2548         amount of hot air.
2549
2550 2003-09-02  John Levon  <levon@movementarian.org>
2551
2552         * BufferView.C:
2553         * lyxcursor.h:
2554         * lyxcursor.C:
2555         * lyxfunc.C:
2556         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2557
2558 2003-09-02  John Levon  <levon@movementarian.org>
2559
2560         * text2.C: simplification of cursorEnd(), including partial
2561         fix for bug 1376
2562
2563 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2564
2565         * buffer.C (readFile): add a space
2566
2567 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
2568
2569         * BufferView_pimpl.C (update): remove bogus fitCursor() call
2570
2571 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2572
2573         * buffer.C (readFile): new function, take a filename and a
2574         ParagraphList::iterator
2575         (readFile): adjust
2576         (readFile): adjust, make it private. don't use setStream, make
2577         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2578         always contain the filename.
2579
2580         * BufferView.C (insertLyXFile): simplify and make it work for
2581         gzipped files.
2582
2583 2003-08-30  John Levon  <levon@movementarian.org>
2584
2585         * Makefile.am: fix dist (from Kayvan)
2586
2587 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2588
2589         * most files: change to use const Buffer refs
2590
2591 2003-08-27  André Pönitz  <poenitz@gmx.net>
2592
2593         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2594         on top of ownerPar().
2595
2596 2003-08-27  John Levon  <levon@movementarian.org>
2597
2598         * funcrequest.C: properly initialise POD members
2599
2600 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2601
2602         * lyxtext.h (top_y): move top_y from here
2603         * text.C:
2604         * text2.C:
2605         * text3.C:
2606         * BufferView.[Ch]:
2607         * BufferView_pimpl.[Ch]: to here
2608         * frontends/screen.C:
2609         * insets/insettabular.C:
2610         * insets/insettext.C: adjust
2611         * rowpainter.[Ch] (paintRows): remove LyXText & argument
2612
2613 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2614
2615         * BufferView.[Ch]:
2616         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2617
2618 2003-08-26  André Pönitz  <poenitz@gmx.net>
2619
2620         * paragraph_func.[Ch] (outerPar): new function
2621
2622         * paragraph.C:
2623         * paragraph_funcs.C:
2624         * paragraph_funcs.h:
2625         * paragraph_pimpl.C:
2626         * text2.C: remove Inset::par_owner
2627
2628 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
2629
2630         * lyxrow_funcs.C:
2631         * lyxtext.h:
2632         * text.C:
2633         * text2.C: eliminates the needFullRow/display() stuff
2634         altogether, putting the logic in metrics/draw in the insets.
2635
2636 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
2637
2638         * text2.C (redoParagraphInternal, redoParagraphs):
2639         * text.C (redoParagraph): add a call to updateRowPositions at the
2640         end of each 'metrics-like' call. Remove all others.
2641         (getRow): remove the 'y-computing' version.
2642         (getRowNearY): do not compute nor return the real y. Solve the
2643         'y < 0' problem and simplify.
2644
2645 2003-08-22  Angus Leeming  <leeming@lyx.org>
2646
2647         * *.[Ch]: clean-up of licence and author blurbs.
2648         Also move config.h out of a few .h files and into a few .C files.
2649
2650 2003-08-22  André Pönitz  <poenitz@gmx.net>
2651
2652         * lyxrow.[Ch]: add x_ and *fill_ members
2653
2654         * lyxtext.h:
2655         * text.C:
2656         * rowpainter.C:
2657         * text2.C: adjust/remove prepareToPrint() calls
2658
2659 2003-08-22  André Pönitz  <poenitz@gmx.net>
2660
2661         * lyxrow.[Ch]: add  end_ member
2662
2663         * lyxrow_funcs.C: use LyXRow::end_
2664
2665         * lyxtext.h (singleWidth): add LyXFont parameter
2666
2667         * rowpainter.C:
2668         * text2.C: adjust LyXText::singleWidth() calls
2669
2670         * text.C (redoParagraph): simplify row breaking logic
2671
2672
2673 2003-08-19  André Pönitz  <poenitz@gmx.net>
2674
2675         * funcrequest.C: initialize button_ member
2676
2677         * text3.C:
2678         * rowpainter.[Ch]: interface consolidation
2679
2680 2003-08-18  André Pönitz  <poenitz@gmx.net>
2681
2682         * BufferView.C:
2683         * BufferView_pimpl.C:
2684         * lyxfind.C:
2685         * paragraph_funcs.C:
2686         * rowpainter.C:
2687         * text3.C: remove LyXScreen::draw() and fitCursor calls
2688
2689         * BranchList.h: remove spurious semicolons
2690
2691         * MenuBackend.C: fix branchlist related crash
2692
2693 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
2694
2695         * BranchList.[Ch]:
2696         * InsetList.[Ch]:
2697         * LColor.[Ch]:
2698         * LyXAction.C:
2699         * Makefile.am:
2700         * MenuBackend.[Ch]:
2701         * bufferparams.[Ch]:
2702         * factory.C:
2703         * lfuns.h:
2704         * lyxfunc.C:
2705         * text3.C: implements the 'branch inset'
2706         idea. This allows the output of various versions of a document
2707         from a single source version, selectively outputing or suppressing
2708         output of parts of the text.
2709         This implementation contains a 'branch list editor' in a separate
2710         tab of the document settings dialog. Branches are user definable
2711         and have a "display colour" to distinguish them on-screen.
2712
2713         ColorHandler was somewhat cleaned up.
2714         (1) make possible a dynamically growing LColor list by allowing
2715         the graphic context cache to grow along (vector);
2716         (2) eliminate an IMHO unnecessary step in colour allocation.
2717
2718 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
2719
2720         * BufferView_pimpl.C: compile fix
2721
2722 2003-08-15  André Pönitz  <poenitz@gmx.net>
2723
2724         * rowpainter.C: remove extra metrics calls
2725
2726         * lyxtext.h: merge the two constructors into a single one,
2727           pass reference to owner's par list
2728
2729         * BufferView_pimpl.C:
2730         * text.C:
2731         * text2.C: adjust
2732
2733 2003-08-15  André Pönitz  <poenitz@gmx.net>
2734
2735         * lyxrow_funcs.[Ch]:
2736         * lyxtext.h:
2737         * paragraph.h:
2738         * paragraph_funcs.C:
2739         * rowpainter.C:
2740         * text.C:
2741         * text2.C:
2742         * text3.C:
2743         * text_funcs.C: split LyXText::rowlist_ into individual
2744         Paragraph::rows_ chunks
2745
2746         * BufferView.[Ch]:
2747         * BufferView_pimpl.[Ch]:
2748         * lyxfind.C:
2749         * lyxtext.h:
2750         * text3.C: remove toggleSelection()
2751
2752 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
2753
2754         * bufferlist.C: beautify two alerts (shorter text of buttons)
2755         * buffer.C: Remove redundant ' ' from message
2756         * tabular.h:
2757         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2758         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2759         rename VALIGN_CENTER to VALIGN_MIDDLE
2760
2761 2003-08-11  André Pönitz  <poenitz@gmx.net>
2762
2763         * lyxtext.h (getPar):
2764         * text.C: new function
2765
2766 2003-08-11  André Pönitz  <poenitz@gmx.net>
2767
2768         * Makefile.am:
2769         * tracer.[Ch]: remove unneeded files
2770
2771         * InsetList.[Ch]: remove resizeInsetsLyXText()
2772
2773         * lyxtext.h:
2774         * text.C:
2775         * text2.C:
2776         * text3.C: merge insertParagraphs() and appendParagraph()
2777         remove breakAgain(), update()
2778
2779         * BufferView_pimpl.[Ch]:
2780         * bufferview_funcs.[Ch]:
2781         * lyxfunc.C:
2782         * paragraph.[Ch]:
2783         * rowpainter.C:
2784         * tabular.C: adjust after text & InsetList changes.
2785
2786 2003-08-08  André Pönitz  <poenitz@gmx.net>
2787
2788         * text.C (insertChar, backspace): replace rowlist fiddling
2789         with rebreak of full par
2790
2791         * lyxtext.h:
2792         * text.C (breakAgainOneRow, redoHeightOfParagraph,
2793         checkParagraph, updateInset): removed
2794
2795 2003-08-07  André Pönitz  <poenitz@gmx.net>
2796
2797         * paragraph.C:
2798         * text3.C: merge some LFUN handlers, remove dead code
2799
2800 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2801
2802         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2803
2804 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
2805
2806         * text2.C (DEPM): fix part of bug 1255 and 1256
2807
2808 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2809
2810         * BufferView_pimpl.C (workAreaDispatch): change to use
2811         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2812         that are no mouse related.
2813
2814 2003-08-05  André Pönitz  <poenitz@gmx.net>
2815
2816         * BufferView.[Ch]:
2817         * BufferView_pimpl.[Ch]:
2818         * bufferview_funcs.C:
2819         * text2.C:
2820         * text3.C: rip out "deep update"
2821
2822         * textcursor.[Ch] (last_sel_cursor): remove unused member
2823
2824 2003-08-04  André Pönitz  <poenitz@gmx.net>
2825
2826         * BufferView.[Ch]:
2827         * BufferView_pimpl.[Ch]:
2828         * ParagraphParameters.C:
2829         * bufferview_funcs.C:
2830         * lyx_cb.C:
2831         * lyxfind.C:
2832         * lyxfunc.C:
2833         * text.C:
2834         * text2.C:
2835         * text3.C: replace "complicated" BufferView::update(...) calls with
2836         simpler ones.
2837
2838         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2839
2840 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2841
2842         * Makefile.am (lyx_SOURCES): add paper.h
2843
2844 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2845
2846         * Makefile.am: move things around so that both lyx-qt and
2847         lyx-xforms can be built (according to --with-frontend). Then lyx
2848         is a symbolic link to lyx-[firstfrontend]
2849
2850 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2851
2852         * Always use std::endl with lyxerr
2853
2854 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2855
2856         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2857
2858 2003-08-01  André Pönitz  <poenitz@gmx.net>
2859
2860         * BufferView.[Ch]:
2861         * BufferView_pimpl.[Ch]:
2862         * lyxfunc.C:
2863         * text3.C: merge BufferView::repaint() and BufferView::update()
2864
2865 2003-08-01  José Matos  <jamatos@lyx.org>
2866
2867         * buffer.[Ch]: file_format is no longer a buffer data element.
2868
2869 2003-08-01  André Pönitz  <poenitz@gmx.net>
2870
2871         * BufferView.C:
2872         * lyxtext.h:
2873         * text.C:
2874         * text2.C: make redoParagraph more independent of current cursor
2875
2876         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2877         * text.C:
2878         * text2.C: remove unneeded members
2879
2880 2003-07-30  André Pönitz  <poenitz@gmx.net>
2881
2882         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2883
2884         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2885           create a single function...
2886
2887         * paragraph_funcs.C (moveItem): ... here.
2888
2889         * text.C:
2890           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2891
2892 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2893
2894         * LColor.[Ch]: Add comment and greyedout logical colors.
2895
2896 2003-07-30  André Pönitz  <poenitz@gmx.net>
2897
2898         * tabular.C: don't use Assert too heavily. This crashes where it
2899           shouldn't
2900
2901 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2902
2903         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2904         is disabled (bug 1232)
2905
2906 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2907
2908         * factory.C: limited 'arg' scope
2909
2910 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2911
2912         * factory.C: fixed Note submenu issues
2913
2914 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2915
2916         * factory.C: submenu for Note/Comment/Greyedout
2917
2918 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2919
2920         * lyx_main.C (LyX):
2921         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2922
2923 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2924
2925         * LaTeXFeatures.C:
2926         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2927         greyedout. Patch provided by Jürgen Spitzmüller.
2928
2929 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2930
2931         * kbmap.C (read): fix error message when reading bind files
2932
2933 2003-07-29  Angus Leeming  <leeming@lyx.org>
2934
2935         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2936         certainly does not do what it purports to do. I am doing it, and
2937         us, a favour by killing it.
2938
2939 2003-07-28  José Matos  <jamatos@lyx.org>
2940
2941         * buffer.C (readBody, do_writeFile):
2942         * paragraph.C(readParagraph): \end_document replaces \the_end.
2943
2944 2003-07-29  André Pönitz  <poenitz@gmx.net>
2945
2946         * BufferView.[Ch]:
2947         * BufferView_pimpl.[Ch]:
2948         * lyxfunc.C:
2949         * text2.C:
2950         * text3.C:
2951         * textcursor.[Ch]: remove toggleToggle & Co
2952
2953 2003-07-28  José Matos  <jamatos@fep.up.pt>
2954
2955         * buffer.C (readParagraph):
2956         * params_func (readParToken, readParagraph):
2957         * paragraph.C (write): \layout -> \begin_layout.
2958
2959 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2960
2961         * lyxlex_pimpl.C (setFile): clean up slightly.
2962
2963         * bufferparams.h: add compressed var
2964
2965         * buffer_funcs.C (readFile): adjust for LyXLex change
2966         (newFile): ditto + simplify
2967
2968         * buffer.C (writeFile): handle writing of compressed files
2969
2970         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2971         Check if the file is compressed and set a bufferparm if so.
2972
2973         * Makefile.am (lyx_LDADD): remove explicit -lz
2974
2975 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2976
2977         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2978         makeDocBookFile): put the real LyX version in the first line of
2979         the file
2980
2981         * version.h:
2982         * version.C.in: remove lyx_docversion
2983
2984         * tabular.C (write_attribute): add a template-based version to
2985         write enums properly
2986
2987 2003-07-28  André Pönitz  <poenitz@gmx.net>
2988
2989         * lyxtext.h:
2990         * text.C:
2991         * text2.C:
2992         * text3.C: use doubles again for x-coordinates. They are needed.
2993
2994 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2995
2996         * messages.C (getLocaleDir): use lyx_localedir()
2997
2998         * lyxlex_pimpl.C (setFile): compress stuff
2999
3000         * buffer.C (writeFile): add some compression stuff
3001         (do_writeFile): new func, dont call expliti close... will this
3002         breake anything?
3003
3004         * Makefile.am (lyx_LDADD): add -lz
3005
3006 2003-07-28  José Matos  <jamatos@fep.up.pt>
3007
3008         * buffer.C: increment file format.
3009         * paragraph_funcs (readParagraph, readParToken):
3010         * paragraph.C (readParagraph): add \end_layout.
3011
3012 2003-07-27  Angus Leeming  <leeming@lyx.org>
3013
3014         * Makefile.am: remove special casing for configure-time setting of
3015         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3016
3017         * lyx_main.C (init): remove all Jean-Marc's magic setting of
3018         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3019
3020 2003-07-26  André Pönitz  <poenitz@gmx.net>
3021
3022         * paragraph_func.[Ch]:
3023         * paragraph.C (realizeFont): inline it whereever it is used
3024
3025         * rowpainter.C:
3026         * text.C:
3027         * text2.C:
3028         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3029
3030
3031 2003-07-26  André Pönitz  <poenitz@gmx.net>
3032
3033         *       lyxtext.h:
3034         * text.C:
3035         * text2.C: get rid of LyXText::need_break_row
3036
3037 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3038
3039         * toc.[Ch]: put namespace toc inside namespace lyx
3040
3041         * MenuBackend.C (expandToc2): adjust for lyx::toc
3042         (expandToc): ditto
3043
3044         * lyxfunc.C (dispatch): adjust for lyx::find
3045
3046         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3047         lyx::find instead. Reorganize a bit.
3048         (LyXReplace): rename to replace
3049         (LyXFind): rename to find
3050
3051         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3052         (dispatch): ditto
3053
3054 2003-07-26  André Pönitz  <poenitz@gmx.net>
3055
3056         * text.C (setHeightOfRow): restrict scope of temporary variable
3057
3058         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
3059           code (never has been used?)
3060
3061 2003-07-27  Asger Alstrup  <alstrup@local>
3062
3063         * text.C (fill): Optimise algorithm to exploit that we can reuse
3064         the LyXFont for many characters.
3065         (setHeightOfRow): Same thing.
3066         (rowBreakPoint): Same thing.
3067
3068 2003-07-26  Asger Alstrup  <alstrup@local>
3069
3070         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3071
3072         * text.C (singleWidth): Spurious font copying in hot-spot
3073         singleWidth avoided. Reorder tests for arabic for efficiency.
3074
3075         * text.C (fill): handle empty paragraphs better.
3076
3077 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3078
3079         * ispell.C:
3080         * encoding.h: add includes
3081
3082         * lyxrc.C: remove reading of bind files
3083
3084         * lyx_main.C (init): setup bindings and menus only if we have a
3085         gui.
3086
3087         * kbmap.C (read): new method. Do the actual reading of bind
3088         files.
3089
3090         * converter.C (dvipdfm_options):
3091         * bufferparams.C:
3092         * lyxrc.C (read):
3093         (output): adapt PAPER_* enums.
3094
3095         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3096
3097         * bufferparams.h: remove paper-related enums from there
3098
3099         * paper.h: New file. A trivial header file to hold paper-related
3100         enums. It should later expand to contain many paper-related
3101         horrors access.
3102
3103         * lyxrc.C: declare extern displayTranslator
3104
3105 2003-07-27  José Matos  <jamatos@fep.up.pt>
3106
3107         * tabular.[Ch] (linuxdoc): add support for tables and figures
3108         (linuxdoc).
3109
3110 2003-07-27  José Matos  <jamatos@fep.up.pt>
3111
3112         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3113         consistency in both functions.
3114         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3115
3116 2003-07-26  Asger Alstrup  <alstrup@local>
3117
3118         * rowpainter.C (paintRows): Change algorithm to work directly on
3119         the insets rather than asking every character in the document
3120         whether its an inset.
3121
3122 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
3123
3124         * buffer.C (openFileWrite): factorize some code
3125
3126 2003-07-26  Angus Leeming  <leeming@lyx.org>
3127
3128         * lyx_cb.C:
3129         * lyx_main.[Ch]: replace occurances of system_tempdir with
3130         os::getTmpDir().
3131
3132 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3133
3134         * rename Inset to InsetOld
3135
3136 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
3137
3138         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3139         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3140         which I think is a bit clearer. EDIT is gone, since it was
3141         premature optimisation, and broken for mathed anyway.
3142         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3143         with cursor positioning in insets as well (math insets still do not
3144         work, but that's a different story anyway.) It mysteriously
3145         crashes sometimes with undo in the first paragraph, but I'm fairly
3146         confident that this is a compiler bug.
3147
3148 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3149
3150         * paragraph.C (Paragraph): adjust for new clone return type
3151         (operator==): ditto
3152         (copyIntoMinibuffer): ditto
3153
3154 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
3155
3156         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3157         by not having a special case, and always doing a full rebreak of
3158         the document after undo.
3159
3160 2003-07-23  Angus Leeming  <leeming@lyx.org>
3161
3162         * factory.C (createInset): InsetExternal::setParams now takes a
3163         Buffer const * arg.
3164
3165 2003-07-23  Angus Leeming  <leeming@lyx.org>
3166
3167         * factory.C (createInset): changed interface to the external and
3168         graphics mailers' string2params functions.
3169
3170 2003-07-23  Angus Leeming  <leeming@lyx.org>
3171
3172         * factory.C (createInset): pass a
3173         Buffer const * parameter to InsetExternalMailer's string2params.
3174
3175 2003-07-22  John Levon  <levon@movementarian.org>
3176
3177         * Thesaurus.h: include the right aiksaurus header
3178
3179 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3180
3181         * MenuBackend.C (expand): check menu shortcuts unconditionally
3182
3183 2003-07-21  Angus Leeming  <leeming@lyx.org>
3184
3185         * factory.C (createInset): pass a
3186         buffer_path parameter to InsetGraphicsMailer's string2params.
3187
3188 2003-07-21  Angus Leeming  <leeming@lyx.org>
3189
3190         * BufferView_pimpl.C (buffer):
3191         * buffer.C (d-tor):
3192         * lyx_main.C (LyX):
3193         * lyxfunc.C (dispatch):
3194         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3195         rather than the grfx shortcut.
3196
3197 2003-07-21  André Pönitz  <poenitz@gmx.net>
3198
3199         * rowpainter.C: remove unused variables
3200
3201         * tabular_funcs.C:
3202         * tabular_funcs.h: move to tabular.C
3203         * Makefile.am: adjust
3204
3205         * tabular.[Ch]: basic optical cleaning
3206
3207         * author.h: pass references, not values
3208
3209 2003-07-18  André Pönitz  <poenitz@gmx.net>
3210
3211         * lyxtext.h:
3212         * metricsinfo.C:
3213         * metricsinfo.h:
3214         * rowpainter.C:
3215         * text.C:
3216         * text2.C:
3217         * text3.C: two-phase drawing for InsetText and InsetTabular
3218         some float -> int changes.
3219
3220 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3221
3222         * lyx_main.C: fix the fix
3223
3224 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3225
3226         * lyx_main.C: fix a crash in batch mode if no files specified
3227         * converter.C: ws
3228
3229 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
3230
3231         * format.[Ch] (papersize): moved to BufferParams
3232         * converter.[Ch] (dvips_options): moved to BufferParams
3233         (dvipdfm_options): moved to anon namespace
3234         * bufferparams.[Ch]: added above functions.
3235
3236 2003-07-17  André Pönitz  <poenitz@gmx.net>
3237
3238         * lyxtext.h:
3239         * rowpainter.C:
3240         * text2.C: don't call inset->update() anymore
3241
3242         * metricsinfo.[Ch]: add convenience constructor
3243
3244 2003-07-16  André Pönitz  <poenitz@gmx.net>
3245
3246         * lyxcursor.[Ch]:
3247         * lyxfunc.[Ch]:
3248         * text.C:
3249         * text2.C: replace the LyXCursor::irow_ member with
3250          on-demand computation of the value
3251
3252 2003-07-16  John Levon  <levon@movementarian.org>
3253
3254         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3255
3256 2003-07-15  André Pönitz  <poenitz@gmx.net>
3257
3258         * text.C:
3259         * text2.C: remove no more needed refresh_row
3260
3261 2003-07-15  André Pönitz  <poenitz@gmx.net>
3262
3263         * lyxtext.h:
3264         * rowpainter.C:
3265         * text2.C:
3266         * text3.C: refresh_status tristate -> need_update bool
3267
3268 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
3269
3270         * lyxtext.h (init): remove reinit argument (act as if always true)
3271         * text2.C: adjust to that
3272
3273 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3274
3275         * bufferview_funcs.[Ch]: introduce function replaceSelection()
3276         * text3.C: use it to delete selections in some cases
3277         (bugs 441, 673, 702, 954).
3278
3279 2003-07-14  André Pönitz  <poenitz@gmx.net>
3280
3281         * rowpainter.[Ch]: reduce interface
3282
3283 2003-07-14  André Pönitz  <poenitz@gmx.net>
3284
3285         * BufferView_pimpl.C:
3286         * text2.C: adjust after removing unused BufferView * argument
3287
3288 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
3289
3290         * text2.C (init): fix a crash fired on resize
3291
3292 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
3293
3294         * buffer.[Ch]: added new closing signal
3295         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3296         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3297         BufferView::Pimpl via the closing the signal
3298
3299 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
3300
3301         * buffer.[Ch]: take out all bv-related from buffer
3302         * BufferView.C:
3303         * BufferView_pimpl.[Ch]: connect to new signals
3304         * CutAndPaste.C: removed useless asserts
3305         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3306         * lyxvc.[Ch]:
3307         * vc-backend.[Ch]:
3308         * lyxfunc.C: moved view-related funciontality from vc here
3309         * paragraph.C: removed outdated comments
3310         * text.C: ws
3311
3312 2003-07-10  André Pönitz  <poenitz@gmx.net>
3313
3314         * BufferView_pimpl.C:
3315         * tabular.h:
3316         * tabular_funcs.C:
3317         * text.C:
3318         * text2.C: remove InsetText::InnerCache, clean up consequences
3319
3320 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
3321
3322         * ispell.C: fix two typos in error messages
3323
3324 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
3325
3326         * Extend Note inset to other forms of annotation like Comment
3327         and Greyedout. Right button click gives dialog.
3328
3329         Files modified or added (+):
3330
3331         * insetnote.[Ch]
3332         * FormNote.[Ch]      +
3333         * ControlNote.[Ch]   +
3334         * form_note.fd       +
3335         * Makefile.am in frontends/xforms, frontends/xforms/forms,
3336         frontends/controllers
3337         * xforms/Dialogs.C
3338         * factory.C
3339
3340 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3341
3342         * aspell.C: add missing namespace lyx::support
3343
3344 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
3345
3346         * BufferView.[Ch] (newFile): Add
3347         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3348         * LaTeX.[Ch] (message): added this signal and use it
3349         * buffer.[Ch] (busy, message): added these signals and use them
3350         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3351         * converter.C:
3352         * exporter.C:
3353         * format.C:
3354         * importer.C: use buffer signals instead of direct bv calling
3355         * lyx_cb.[Ch] (ShowMessage): removed
3356         * lyx_main.C:
3357         * lyxfunc.C:
3358         * paragraph_funcs.C:
3359         * text2.C: use buffer signals
3360
3361 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3362
3363         * introduce namespace lyx::graphics
3364
3365 2003-07-02  André Pönitz  <poenitz@gmx.net>
3366
3367         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3368
3369 2003-07-01  André Pönitz  <poenitz@gmx.net>
3370
3371         * text.C:
3372         * text2.C:
3373         * text3.C:
3374         * text_funcs.[Ch]:
3375         * textcursor.h:
3376         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3377           text*.C to text_func.C
3378
3379 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3380
3381         * introduce namespace lyx::support
3382
3383 2003-06-30  André Pönitz  <poenitz@gmx.net>
3384
3385         * Chktex.C:
3386         * funcrequest.C:
3387         * lyxtext.h:
3388         * text.C: re-enable --with-included-string
3389
3390 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3391
3392         * textcursor.C: add <config.h>
3393
3394         * text.C (getWord): remove const from word_location arg
3395
3396         * lyxvc.C (getLogFile): fix const type order
3397
3398         * lyxtext.h: remove const from word_location arg, add arg name
3399
3400         * lyxlayout.h: currect type on labeltype.
3401
3402         * importer.C: correct \file
3403
3404         * converter.C (intToFormat): use std:: on ret val, ws changes
3405
3406         * bufferlist.h: correct \file
3407
3408         * buffer.C (makeLinuxDocFile): fix const type order
3409         (makeDocBookFile): ditto
3410         (fillWithBibKeys): use std:: on stdlib args.
3411
3412         * CutAndPaste.C: fix authors.
3413         (availableSelections): use std:: on return vector
3414
3415 2003-06-27  André Pönitz  <poenitz@gmx.net>
3416
3417         * BufferView_pimpl.C:
3418         * bufferview_funcs.C:
3419         * lyxcursor.C:
3420         * lyxcursor.h:
3421         * lyxfunc.C:
3422         * lyxtext.h:
3423         * rowpainter.C:
3424         * text.C:
3425         * text2.C:
3426         * text3.C: remove LyXCursor::row_ member
3427
3428         * lyxtext.h:
3429         * text.C: rename fullRebreak() to partialRebreak() and implement
3430           a fullRebreak() that really bereks fully
3431
3432         * textcursor.h: new struct for cursor-related data
3433
3434 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
3435
3436         * lyx_main.C (LyX): get full path of document loaded on the
3437         command line
3438
3439 2003-06-26  André Pönitz  <poenitz@gmx.net>
3440
3441         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3442           remove unused/broken operator>,<,>=.
3443
3444         *       text.C: remove only use of broken operator<= in an Assert().
3445
3446 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3447
3448         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3449         moved errorlist_.clear to showErrorList
3450
3451 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3452
3453         * converter.C (scanLog, runLaTeX):
3454         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3455         move the bv->showErrorList call to the callers
3456         * lyxfunc.C: i.e. here...
3457         * text2.C: and here
3458         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3459         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3460         namespace, the second to...
3461         * buffer_funcs (BufferFormat, parseErrors): added
3462         * errorlist.C (ErrorList(TeXErrors const &)): removed
3463
3464 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3465
3466         * ToolbarBackend.C (getIcon): complain when icon cannot be found
3467
3468 2003-06-24  "Garst R. Reese" <reese@isn.net>
3469
3470         * debug.C: fix typo
3471
3472 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3473
3474         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3475
3476         * version.C.in: change docversion to 1.4
3477
3478 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
3479
3480         * buffer.C: fix a bug just introduced
3481
3482 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
3483
3484         * buffer.[Ch]: added the parseError signal and use it, removed
3485         sgmlError
3486         * BufferView.[Ch] (addError): moved to ...
3487         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3488         to the Buffer::parseError signal to catch (guess what) parse errors
3489         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3490
3491 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
3492
3493         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3494         ability to create a buffer and to return an existing one from
3495         the list. Moved these functions to...
3496         * buffer_funcs.[Ch]: added
3497         * BufferView.[Ch] (loadLyXFile): added
3498         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3499         job removed from bufferlist::loadLyXFile.
3500         * buffer.C (setReadOnly): make it work without view
3501         (i.e added an if (users))
3502
3503 2003-06-19  Angus Leeming  <leeming@lyx.org>
3504
3505         * lfuns.h:
3506         * LyXAction.C (init):
3507         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3508         with LFUN_DIALOG_SHOW <name> <data>.
3509
3510 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3511
3512         * CutAndPaste.C (availableSelections): small compilation fix for
3513         ancient (gcc 2.9x) compilers
3514
3515 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3516
3517         * text3.C (cursorNext): add tmp var
3518
3519         * text2.C (updateCounters): for function calling out of for clause
3520         (replaceSelectionWithString): ditto
3521         (insertStringAsParagraphs): ditto
3522         (getColumnNearX): add tmp var
3523         (setCursorFromCoordinates): add tmp var
3524         (cursorDownParagraph): add tmp var
3525         (deleteEmptyParagraphMechanism): add tmp var
3526
3527         * text.C (insertChar): add tmp var
3528
3529         * rowpainter.C (paintDepthBar): add tmp var
3530
3531         * CutAndPaste.C (availableSelections): potentially check all
3532         paragraphs in a cut to fill the shown strings.
3533
3534 2003-06-18  André Pönitz  <poenitz@gmx.net>
3535
3536         * kbmap.[Ch]: use vector<> instead of list<>
3537
3538 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
3539
3540         * text3.C (dispatch): handle arg to LFUN_PASTE, call
3541         pasteSelection with index
3542
3543         * text2.C (pasteSelection): modify, call pasteSelection with index
3544
3545         * paragraph.C (asString): reimplement version with no interval to
3546         call the one with interval.
3547
3548         * lyxtext.h: add index arg to pasteSelection
3549
3550         * MenuBackend.C (MenuItem): handle PasteRecent
3551         (Menu::read::Menutags): add md_pasterecent
3552         (read): handle it
3553         (expandPasteRecent): new function
3554         (expand): use it
3555
3556         * MenuBackend.h: add PasteRecent to MenuItem::Kind
3557
3558         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3559         the limited stack
3560         (availableSelections): new function
3561
3562 2003-06-17  Angus Leeming  <leeming@lyx.org>
3563
3564         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3565
3566 2003-06-17  Angus Leeming  <leeming@lyx.org>
3567
3568         * lfuns.h:
3569         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3570
3571         * lyxfunc.C (dispatch): invoke it.
3572
3573 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3574
3575         * iterators.C (operator++, ParPosition): reintroduce some
3576         const_cast for the benefit of older compilers.
3577
3578 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3579
3580         * text3.C (dispatch): do not modify clipboard when doing
3581         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3582         LFUN_DELETE_SKIP on a selection selection
3583
3584 2003-06-16  André Pönitz  <poenitz@gmx.net>
3585
3586         * BufferView.C:
3587         * buffer.C:
3588         * buffer.h:
3589         * paragraph.C:
3590         * tabular.[Ch]: IU of clone() and getLabelList();
3591
3592 2003-06-13  André Pönitz  <poenitz@gmx.net>
3593
3594         * tabular.h: compactification
3595
3596 2003-06-12  André Pönitz  <poenitz@gmx.net>
3597
3598         * tabular.C:
3599         * tabular.h:
3600         * tabular_funcs.h: some renaming plus whitespace
3601
3602 2003-06-12  André Pönitz  <poenitz@gmx.net>
3603
3604         * BufferView.C:
3605         * BufferView_pimpl.C:
3606         * CutAndPaste.C:
3607         * buffer.C:
3608         * iterators.[Ch]:
3609         * lyxfunc.C:
3610         * text.C:
3611         * toc.C: Return a Paragraph & for ParIterator::operator*()
3612
3613 2003-06-11  John Levon  <levon@movementarian.org>
3614
3615         * lyx_main.C:
3616         * ToolbarBackend.h:
3617         * ToolbarBackend.C: add "Toolbars" section and
3618         put the flags there
3619
3620 2003-06-10  Angus Leeming  <leeming@lyx.org>
3621
3622         * lfuns.h:
3623         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3624
3625         * lyxfunc.C (dispatch): invoke it.
3626
3627 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3628
3629         * main.C: protect <ios> with HAVE_IOS
3630         (main): protect sync_with_stdio with HAVE_IOS
3631
3632 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
3633
3634         * text2.C (cutSelection): adjust
3635         (pasteSelection): adjust
3636
3637         * messages.C: handle get of empty string
3638
3639         * main.C (main): use sync_with_stdio(false)
3640
3641         * lyxfunc.C (dispatch): adjust
3642
3643         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3644         (WriteAs): remove unneeded BufferView arg.
3645
3646         * bufferparams.h: use correct types on papersize, papersize2 and
3647         paperpackage.
3648
3649         * bufferparams.C (readToken): adjust for type
3650         (writeLaTeX): add missing cases to switch.
3651
3652         * bufferlist.C (quitWriteBuffer): adjust
3653         (close): adjust
3654
3655         * buffer.C (asciiParagraph): remove some commented code.
3656
3657         * CutAndPaste.C: remove current_view extern variable.
3658         (cutSelection): add BufferParams arg.
3659         (eraseSelection): add BufferParams arg.
3660         (pasteSelection): add Buffer const & arg
3661
3662 2003-06-07  John Levon  <levon@movementarian.org>
3663
3664         * buffer.C:
3665         * paragraph_funcs.C:
3666         * paragraph_pimpl.C:
3667         * text.C:
3668         * text2.C:
3669         * paragraph.h:
3670         * paragraph.C: allow InsetERT to freely space lines,
3671         and some consolidation of code
3672
3673 2003-06-06  José Matos  <jamatos@fep.up.pt>
3674
3675         * buffer.C (makeDocBookFile): fix bug #821
3676
3677 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
3678
3679         * BufferView_pimpl.C (dispatch): use Dialogs::visible
3680
3681 2003-06-04  Angus Leeming  <leeming@lyx.org>
3682
3683         * buffer.C: bump format to 224.
3684
3685 2003-06-05  André Pönitz  <poenitz@gmx.net>
3686
3687         * text2.C (redoParagraphs): remove two const_cast<>
3688
3689 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3690
3691         * ParagraphList.h: remove last remnants of NO_STD_LIST
3692
3693 2003-06-03  Angus Leeming  <leeming@lyx.org>
3694
3695         * factory.C (createInset): small change to the way InsetExternal's params
3696         are set.
3697
3698 2003-06-04  André Pönitz  <poenitz@gmx.net>
3699
3700         * buffer.h: use Undo directly instead of shared_ptr<Undo>
3701
3702         * paragraph_pimpl.h:
3703         * paragraph.[Ch]: some Inset -> UpdatableInset changes
3704
3705         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3706
3707         * undo_funcs.C: make some simple cases of undo work again
3708
3709 2003-06-03  John Levon  <levon@movementarian.org>
3710
3711         * ispell.C: HPUX doesn't have sys/select.h
3712         (from Albert Chin)
3713
3714 2003-06-03  John Levon  <levon@movementarian.org>
3715
3716         * CutAndPaste.C: update tabular and include inset
3717         buffer references
3718
3719         * buffer.h:
3720         * paragraph.h:
3721         * paragraph.C: remove owningBuffer(), don't pass Buffer
3722         to clone()
3723
3724         * factory.C: insetGraphicsParams changed
3725
3726 2003-06-02  John Levon  <levon@movementarian.org>
3727
3728         * LyXAction.C:
3729         * factory.C:
3730         * lfuns.h:
3731         * lyxfunc.C:
3732         * text3.C: remove insetparent
3733
3734 2003-06-02  John Levon  <levon@movementarian.org>
3735
3736         * buffer.h:
3737         * buffer.C: fix inset_iterator.end(), move out of line
3738         (bug 1149)
3739
3740 2003-06-01  John Levon  <levon@movementarian.org>
3741
3742         * text3.C: use a proper cut/paste when doing inset
3743         insert (from Jürgen Spitzmüller)
3744
3745 2003-06-01  John Levon  <levon@movementarian.org>
3746
3747         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3748
3749 2003-05-30  André Pönitz  <poenitz@gmx.net>
3750
3751         * rowpainter.C: unify second drawing phase
3752
3753 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3754
3755         * trans_mgr.C: remove one case of current_view
3756
3757         * text2.C (cursorBottom): delete NO_STD_LIST stuff
3758
3759         * paragraph_funcs.h: remove paragraph.h include
3760
3761         * paragraph.h: delete NO_STD_LIST stuff
3762
3763         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3764
3765         * buffer.h: remove paragraph.h include
3766
3767         * ParagraphList.C: delete file
3768
3769         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3770
3771         * toc.C (getTocList): adjust
3772
3773         * paragraph_pimpl.C (validate): adjust
3774
3775         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3776
3777         * paragraph.C (Paragraph): adjust
3778         (getPositionOfInset): use const_iterator, adjust
3779         (bibitem): use const_iterator, adjust
3780         (setInsetOwner): adjust
3781
3782         * iterators.C (operator++): adjust
3783
3784         * InsetList.[Ch]: Replace selfmade iterator with standard
3785         vector::iterator also introduce const_iterator. Remove getPos,
3786         getInset and setInset from InsetTable. Adjust accordingly.
3787
3788         * BufferView.C (lockInset): adjust
3789         (ChangeInsets): adjust
3790
3791         * tabular.[Ch]: delete commented same_id functions
3792
3793 2003-05-28  John Levon  <levon@movementarian.org>
3794
3795         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3796
3797 2003-05-28  André Pönitz  <poenitz@gmx.net>
3798
3799         * metricsinfo.[Ch]: remove 'fullredraw' member
3800
3801 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3802
3803         * lyxtextclass.C (operator): remove caching.
3804
3805 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3806
3807         * text3.C: adjust
3808
3809         * text2.C (cursorBottom): adjust
3810         (setCounter): use ParagraphList::find, adjust
3811
3812         * text.C (workWidth): use ParagraphList::find, adjust
3813
3814         * lyxcursor.C (LyXCursor): adjust
3815
3816         * buffer.C (inset_iterator): adjust
3817
3818         * ParagraphList.h: make iterator(value_type) private, make
3819         ParagraphList a friend of iterator.
3820
3821         * ParagraphList.C (find): new function
3822
3823         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3824
3825 2003-05-27  André Pönitz  <poenitz@gmx.net>
3826
3827         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3828
3829 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3830
3831         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3832
3833 2003-05-26  John Levon  <levon@movementarian.org>
3834
3835         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3836
3837 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3838
3839         * remove same_id from function signatures, adjust.
3840
3841 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3842
3843         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3844
3845         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3846
3847         * paragraph.C (Paragraph): get rid of same_ids parameter
3848
3849         * ParagraphList.C (insert): adjust
3850         (push_back): adjust
3851
3852 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3853
3854         * paragraph_funcs.C (breakParagraph): adjust
3855         (breakParagraphConservative): adjust
3856
3857         * buffer.C (readParagraph): adjust
3858
3859         * ParagraphList.C (insert): take a reference instead of a pointer
3860         (insert): adjust
3861
3862         * paragraph.[Ch] (id): new function
3863
3864         * bufferlist.C (newFile): adjust
3865
3866         * ParagraphList.C (ParagraphList): adjust
3867         (assign): adjust
3868         (push_back): take a reference instead of a pointer.
3869
3870         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3871
3872         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3873         instead.
3874
3875         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3876         set else use old code.
3877
3878         * ParagraphList.C: remove all NO_NEXT code and only compile this
3879         code of NO_STD_LIST is set.
3880
3881 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3882
3883         * BufferView_pimpl.C:
3884         * TextCache.C:
3885         * TextCache.h:
3886         * bufferlist.C:
3887         * errorlist.h:
3888         * format.C:
3889         * format.h:
3890         * graph.C:
3891         * lyxfunc.C:
3892         * lyxrc.C:
3893         * graphics/GraphicsConverter.C:
3894         * graphics/PreviewLoader.C: header adjustment
3895
3896 2003-05-23  Angus Leeming  <leeming@lyx.org>
3897
3898         * LaTeXFeatures.[Ch] (useBabel): new method.
3899         * bufferparams.C (writeLaTeX): use it.
3900
3901 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3902
3903         * ParagraphList.h (set): remove unused function.
3904
3905 2003-05-23  André Pönitz  <poenitz@gmx.net>
3906
3907         * BufferView.C:
3908         * BufferView_pimpl.C:
3909         * buffer.C:
3910         * buffer.h:
3911         * lyxfunc.C:
3912         * undo_funcs.C: setUndo reworked
3913
3914         * iterators.[Ch]: add access to topmost ParagraphList
3915
3916         * lyxtext.[Ch] (workWidth): add a const
3917
3918 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3919
3920         * texrow.[Ch] (increasePos): remove function
3921         * exporter.C (export): removed unused var and outdated comment
3922
3923 2003-05-23  Angus Leeming  <leeming@lyx.org>
3924
3925         * latexrunparams.h: rename fragile as moving_arg.
3926         * paragraph.C (simpleTeXOnePar): ditto.
3927         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3928
3929 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3930
3931         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3932         (createUndo): ditto
3933         (textUndoOrRedo): comment out a currently unused var.
3934
3935         * paragraph.h (NO_NEXT): enable NO_NEXT
3936
3937         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3938
3939         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3940
3941         * exporter.C (Export): adjust for removeAutoInsets removal.
3942
3943         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3944
3945         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3946
3947         * BufferView.[Ch] (removeAutoInsets): delete function
3948
3949 2003-05-22  Angus Leeming  <leeming@lyx.org>
3950
3951         * latexrunparams.h: add a free_spacing variable.
3952
3953         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3954         to pass moving_arg, as the data is stored in runparams.fragile.
3955
3956         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3957         to Inset::latexOptional or to simpleTeXOnePar.
3958
3959         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3960         free_spacing arg to Inset::latexOptional.
3961
3962         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3963         free_spacing arg.
3964
3965 2003-05-22  Angus Leeming  <leeming@lyx.org>
3966
3967         * latexrunparams.h: add fragile and use_babel variables.
3968
3969         * bufferparams.[Ch] (writeLaTeX): return use_babel.
3970         * buffer.C (makeLaTeXFile): store this returned value in
3971         runparams.use_babel, thus passing it to the inset::latex methods.
3972
3973         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3974         simpleTeXSpecialChars as it is now stored in runparams.fragile.
3975
3976         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3977         longer has a fragile arg, as it is stored in runparams.fragile.
3978
3979         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3980         moving_arg parameter as the data is stored in runparams.fragile.
3981
3982         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3983         a fragile parameter as the data is stored in runparams.fragile.
3984
3985 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3986
3987         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3988
3989 2003-05-22  Angus Leeming  <leeming@lyx.org>
3990
3991         * latexrunparams.h: add a 'bool nice' which defaults to false.
3992
3993         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3994         now encapsulated within runparams.
3995
3996         * bufferlist.C (updateIncludedTeXfiles):
3997         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3998
3999 2003-05-22  Angus Leeming  <leeming@lyx.org>
4000
4001         * latexrunparams.h: new file containing struct LatexRunParams.
4002         * Makefile.am: add new file.
4003
4004         * LaTeX.[Ch] (c-tor, run):
4005         * buffer.[Ch] (makeLaTeXFile):
4006         * bufferlist.[Ch] (updateIncludedTeXfiles):
4007         * converter.C (convert, scanLog):
4008         * converter.[Ch] (runLaTeX):
4009         * exporter.C (Export):
4010         * paragraph.[Ch] (simpleTeXOnePar):
4011         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4012         * paragraph_funcs.[Ch] (latexParagraphs):
4013         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4014         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4015         pass around a LatexRunParams parameter.
4016
4017 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4018
4019         * paragraph.[Ch]: remove unused constructor
4020
4021         * ParagraphList.C (erase): new function, taking two iterators
4022
4023 2003-05-22  André Pönitz  <poenitz@gmx.net>
4024
4025         * undo_funcs.C: remove duplicated code
4026
4027         * iterator.[Ch]: operator=
4028
4029 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4030
4031         * tabular.C (SetMultiColumn): ws changes
4032
4033         * rowpainter.C (paintFirst): get rid of a ->previous
4034
4035         * lyx_cb.C (getPossibleLabel): parlist simplification
4036
4037         * BufferView.C (ChangeInsets): simplify slightly.
4038
4039 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4040
4041         * LyXAction.C: new lfun space-insert, kill protected-space-insert
4042         * lfuns.h: new LFUN_SPACE
4043         * lyxfunc.C: protected space has a new lfun
4044         * paragraph_funcs.C: read new space insets
4045         * text3.C:
4046         * factory.C: handle new space insets
4047
4048 2003-05-22  André Pönitz  <poenitz@gmx.net>
4049
4050         * BufferView.C:
4051         * BufferView_pimpl.C:
4052         * buffer.[Ch]:
4053         * lyxfunc.C:
4054         * undo_funcs.C: return a ParIterator from getParFromID.
4055
4056         * iterators.[Ch]: add two const's
4057
4058 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4059
4060         * toc.C (getTocList): adjust
4061
4062         * iterators.[Ch]: rework for parlist
4063
4064         * buffer.C (par_iterator_begin): adjust
4065         (par_iterator_end): adjust
4066
4067         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4068
4069         * BufferView.C (removeAutoInsets): adjust
4070         (ChangeInsets): adjust
4071
4072 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
4073
4074         * text.C (top_y): fix bug 1110
4075
4076 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
4077
4078         * errorlist.[Ch]: added
4079         * buffer.C:
4080         * BufferView.[Ch]:
4081         * BufferView_pimpl.C:
4082         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4083         instead
4084
4085 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4086
4087         * Makefile.am: ensure that lyx is relinked upon changes to the
4088         various "convenience" libs.
4089
4090 2003-05-20  Angus Leeming  <leeming@lyx.org>
4091
4092         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4093         files are compiled in alphabetical order again.
4094
4095         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4096
4097 2003-05-19  Angus Leeming  <leeming@lyx.org>
4098
4099         * gettext.[Ch]: remove "char const * _(char const *)".
4100
4101 2003-05-19  André Pönitz  <poenitz@gmx.net>
4102
4103         * dimension.[Ch]: promote from mathed/dimension.[Ch]
4104
4105         * Makefile.am:
4106         * BufferView.C:
4107         * DepTable.h:
4108         * LaTeXFeatures.C:
4109         * buffer.C:
4110         * lyxfont.C:
4111         * lyxlex.h:
4112         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4113
4114 2003-05-19  André Pönitz  <poenitz@gmx.net>
4115
4116         * buffer.C:
4117         * lyxlayout.[Ch]:
4118         * lyxtextclass.[Ch]:
4119         * paragraph.C:
4120         * paragraph_funcs.[Ch]:
4121         * text2.C:
4122         * text3.C: more insetenv work
4123
4124 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
4125
4126         * ParagraphParameters.C (params2string): small bug fixed
4127
4128 2003-05-16  André Pönitz  <poenitz@gmx.net>
4129
4130         * debug.C:
4131         * bufferview_funcs.C: patch from Kornel Benko to prevent
4132           crash when _(...) is called twice in a statement
4133
4134 2003-05-16  André Pönitz  <poenitz@gmx.net>
4135
4136         * BufferView.C:
4137         * lyxfunc.C:
4138         * text.C:
4139         * text2.C:
4140         * text3.C:
4141         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4142
4143 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
4144
4145         * lyx_main.C (init): remove spurious static_cast
4146
4147 2003-05-14  André Pönitz  <poenitz@gmx.net>
4148
4149         * BufferView.C: fix format string
4150
4151 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
4152
4153         * BufferView.[Ch] (insertErrors): removed
4154         * BufferView.[Ch] (showErrorList): added
4155         * buffer.C (runChkTeX):
4156         * converter.C (scanLog): call showErrorList instead of inserterrors
4157
4158 2003-05-13  André Pönitz  <poenitz@gmx.net>
4159
4160         * BufferView_pimpl.C:
4161         * buffer.C:
4162         * bufferview_func.C:
4163         * MenuBackend.C:
4164         * lyxfunc.C:
4165         * lyxrc.C:
4166         * tex-accent.C:
4167         * text3.C:
4168         * toc.C:
4169         * tabular_funcs.h: tostr() from its own header
4170
4171         * ParagraphParameters.C:
4172         * ToolbarBackend.C:
4173         * bufferparams.C:
4174         * format.C:
4175         * lyxlex_pimpl.C:
4176         * text3.C: STRCONV()
4177
4178 2003-05-12  André Pönitz  <poenitz@gmx.net>
4179
4180         * BufferView.C:
4181         * BufferView_pimpl.C:
4182         * CutAndPaste.C:
4183         * LaTeX.C:
4184         * LaTeXFeatures.C:
4185         * ParagraphParameters.C:
4186         * buffer.C:
4187         * bufferlist.C:
4188         * bufferparams.C:
4189         * bufferview_funcs.C:
4190         * converter.C:
4191         * counters.C:
4192         * debug.C:
4193         * exporter.C:
4194         * format.C:
4195         * importer.C:
4196         * lyx_cb.C:
4197         * lyx_main.C:
4198         * lyxfont.C:
4199         * lyxfunc.C:
4200         * lyxvc.C:
4201         * paragraph.C:
4202         * paragraph_funcs.C:
4203         * tabular.C:
4204         * tabular_funcs.C:
4205         * text2.C:
4206         * text3.C:  boost::format -> bformat  all over the place
4207
4208
4209 2003-05-09  André Pönitz  <poenitz@gmx.net>
4210
4211         * LColor.[Ch]: Pimpl the #include <map> away
4212
4213 2003-05-09  John Levon  <levon@movementarian.org>
4214
4215         * bufferlist.C: never remove emergency saves
4216
4217 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4218
4219         * Makefile.am: better lib building
4220
4221 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4222
4223         * texrow.[Ch]: remove dependency on Paragraph and just store a id
4224         instead.
4225         * paragraph_pimpl.C (simpleTeXBlanks): adjust
4226         (simpleTeXSpecialChars): adjust
4227         (simpleTeXSpecialChars): adjust
4228         * paragraph.C (simpleTeXOnePar): adjust
4229         * buffer.C (makeLaTeXFile): adjust
4230
4231         * Makefile.am (BOOST_LIBS): allow boost as system lib.
4232
4233         * text2.C (changeDepth): parlist cleanup
4234         (getColumnNearX): ditto
4235
4236         * rowpainter.C (getLabelFont): parlist cleanup
4237
4238         * bufferlist.C (newFile): parlist cleanup
4239
4240         * CutAndPaste.C (eraseSelection): parlist cleanup
4241
4242         * BufferView_pimpl.C (trackChanges): parlist cleanup
4243         (dispatch): ditto
4244
4245         * BufferView.C (lockInset): parlist cleanup.
4246         (ChangeInsets): ditto
4247
4248 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4249
4250         * CutAndPaste.h: Update file header.
4251
4252         * CutAndPaste.C: Update file header.
4253         Store the parts cut out of the Document in a limited_stack.
4254         (copySelection): adjust
4255         (pasteSelection): new function, takes the index in the limited stack.
4256         (nrOfParagraphs): adjust
4257         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4258         simplify error inset insertion.
4259         (checkPastePossible): adjust
4260
4261 2003-05-06  John Levon  <levon@movementarian.org>
4262
4263         * text2.C: don't cast wrap inset to float
4264
4265 2003-05-05  André Pönitz  <poenitz@gmx.net>
4266
4267         * iterator.C:
4268         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4269
4270         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4271           few naked Paragraph *.
4272
4273 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
4274
4275         * bufferparams.C: Output warning if a document with missing
4276         TeX document class is loaded
4277         * exporter.C: Disable TeX exports if the document class is missing
4278         * lyxtextclass.C:
4279         * lyxtextclass.h:
4280         * lyxtextclasslist.C: Handle new textclass.lst format; new method
4281         isTeXClassAvailable()
4282
4283 2003-05-03  John Levon  <levon@movementarian.org>
4284
4285         * BufferView.h:
4286         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4287         explicit cursor show/hide
4288
4289         * BufferView_pimpl.h:
4290         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4291         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4292
4293         * lyxfunc.C: hide cursor before dispatching.
4294
4295         * lyx_cb.C:
4296         * lyxfind.C:
4297         * text.C:
4298         * text3.C: remove explicit cursor hides
4299
4300 2003-05-02  André Pönitz  <poenitz@gmx.net>
4301
4302         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4303
4304         * undo_funcs.C:
4305         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4306           linked lists
4307
4308         * text2.C: tiny whitespace
4309
4310 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4311
4312         * undo_funcs.C: almost only ws changes.
4313
4314         * ParagraphList.C (splice): just return if pl is empty.
4315
4316 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4317
4318         * ParagraphList.C (splice): new function.
4319
4320         * CutAndPaste.C (pasteSelection): use it
4321
4322 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4323
4324         * CutAndPaste.C (pasteSelection): remove the last next and
4325         previous from this file.
4326
4327 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4328
4329         * CutAndPaste.C (pasteSelection): more clean up, user proper
4330         ParagraphList functions for pasteing.
4331
4332         * ParagraphList.C (insert): new function, three arg insert
4333
4334 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4335
4336         * ParagraphList.C (insert): new function, three arg insert
4337
4338         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4339         not on paragraphs.
4340
4341 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4342
4343         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4344
4345 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4346
4347         * CutAndPaste.C (pasteSelection): remove some unneeded code.
4348
4349 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4350
4351         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4352         (copySelection): clean up a bit.
4353         (pasteSelection): use make_pair
4354
4355         * ParagraphList.C (ParagraphList): implement copy constructor
4356         (operator=): implement, base on copy constructor.
4357         (assign): new func
4358
4359         * paragraph.C (erase): return a bool
4360
4361         * paragraph_pimpl.C (erasePos): remove function, move contents...
4362         (erase): ... here. Return a bool.
4363         (erase): call erase instead of erasePos.
4364
4365 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
4366
4367         * ParagraphList.h: define PitPosPair
4368         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4369         ParagraphList, fix a bug on pasting multiple pars
4370         * text2.C: change interface to C&P
4371
4372 2003-04-30  André Pönitz  <poenitz@gmx.net>
4373
4374         * undo_func.C: revert part of yesterday's patch 2
4375
4376 2003-04-30  John Levon  <levon@movementarian.org>
4377
4378         * LColor.C: s/tabular/table/
4379
4380 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4381
4382         * text3.C (dispatch): do not convert iterator -> pointer
4383         * undo_funcs.C (setCursorParUndo): ditto
4384         * text_funcs.C (transposeChars): ditto
4385
4386         * text2.C (setLayout): ws changes only
4387
4388         * text.C (breakParagraph): do not convert iterator -> pointer
4389         (insertChar): ditto
4390         (acceptChange): ditto
4391         (rejectChange): ditto
4392         (changeCase): ditto
4393         (Delete): ditto
4394         (backspace): ditto
4395
4396         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4397         pointer
4398
4399 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4400
4401         * text3.C (gotoInset): YABG (yet another bad getChar)
4402
4403 2003-04-29  André Pönitz  <poenitz@gmx.net>
4404
4405         * paragraph.h: make operator= private unimplemented as long as
4406           it is unusable
4407
4408         * ParagraphList.C: whitespace
4409
4410         * paragraph.[Ch]:
4411         * paragraph_pimpl.[Ch]:
4412         * paragraph_funcs.C:
4413         * CutAndPaste.C:
4414         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
4415
4416         * text2.C:
4417           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4418
4419 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4420
4421         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4422         * paragraph.[Ch] (erase):
4423         * paragraph_pimpl.[Ch] (erase): change return type and value
4424         * text2.C (cutSelection): some rework
4425
4426 2003-04-28  John Levon  <levon@movementarian.org>
4427
4428         * bufferlist.C: changes for unsaved changes dialog
4429
4430 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4431
4432         * bufferlist.C (newFile): set language (messages_) for new
4433         documents also.
4434
4435         * buffer.C (readFile): ws changes only.
4436
4437 2003-04-28  André Pönitz  <poenitz@gmx.net>
4438
4439         * undo_funcs.C:
4440         * lyxfunc.C:
4441         * buffer.[Ch]:
4442         * BufferView_pimpl.C:
4443         * BufferView.C: getParFromID related ParagraphList::iterator changes
4444
4445 2003-04-28  André Pönitz  <poenitz@gmx.net>
4446
4447         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4448           Changes
4449
4450 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4451
4452         * messages.C: remove one more localedir class variable.
4453
4454 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4455
4456         * messages.C (getLocaleDir): singleton generation function
4457         (Pimpl): use it.
4458         (Messages): add a default constructor.
4459
4460         * main.C (main): do not setup localedir here, do not call
4461         gettext_init.
4462
4463         * gettext.C (_): use it.
4464         (gettext_init): delete funciton
4465
4466 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4467
4468         * gettext.C (getLyXMessages): new singleton generating function.
4469
4470         * buffer.C (updateDocLang): adjust
4471
4472         * Makefile.am (messages.o): add target
4473         (main.o): remove target
4474
4475 2003-04-27  John Levon  <levon@movementarian.org>
4476
4477         * bufferlist.C:
4478         * lyx_cb.C:
4479         * lyxfunc.C:
4480         * lyxvc.C: specify cancel button in Alert::prompt
4481
4482 2003-04-26  John Levon  <levon@movementarian.org>
4483
4484         * text3.C:
4485         * lyxfunc.C:
4486         * lfuns.h:
4487         * LyXAction.C: add LFUN_INSET_SETTINGS
4488
4489         * lyxfunc.C: don't enable tabular-feature when there's
4490         just any locking inset
4491
4492 2003-04-26  John Levon  <levon@movementarian.org>
4493
4494         * bufferlist.C: re-add Cancel to buffer close question
4495
4496         * lyxfunc.C: fix import UI a bit
4497
4498 2003-04-25  John Levon  <levon@movementarian.org>
4499
4500         * gettext.C: remove the broken asserts for now
4501
4502 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4503
4504         * messages.C: make case where setlocale cannot comply work better.
4505
4506         * buffer.C (updateDocLang): new function
4507         (changeLanguage): use it
4508         (readFile): use it
4509
4510         * text2.C (setCounter): use B_ a bit.
4511
4512         * lyxlayout.C (Read): be sure to trim the label strings.
4513
4514         * messages.C (Messages): fix typo in comment
4515
4516         * buffer.C (readFile): set message_ after file is loaded.
4517         (makeDocBookFile): remove double return
4518         (changeLanguage): reset message_ upon language change.
4519         (B_): new func, use this to get translated buffer strings.
4520
4521         * main.C: add myself and Jean Marc as authors.
4522
4523 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4524
4525         * messages.[hC]: pimplify Messages, and three different pimpls to be
4526         used in different circumstances.
4527
4528         * gettext.[Ch]: change for use with new message code.
4529
4530 2003-04-24 André Pönitz <poenitz@gmx.net>
4531
4532         * factory.C: support for eqref
4533
4534 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4535
4536         * messages.[Ch]: add missing char
4537
4538         * Makefile.am (lyx_SOURCES): add messages.[Ch]
4539
4540         * messages.[Ch]: New files
4541
4542 2003-04-18  John Levon  <levon@movementarian.org>
4543
4544         * BufferView.h:
4545         * BufferView.C:
4546         * BufferView_pimpl.C:
4547         * lfuns.h:
4548         * LyXAction.C:
4549         * lyxtext.h:
4550         * text2.C: remove layout-copy/paste (bug 778)
4551
4552 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4553
4554         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4555
4556 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4557
4558         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4559         if they succeed. Act accordingly.
4560
4561 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4562
4563         * text2.C (setCharFont): adjust
4564         (setCounter): adjust
4565         (insertStringAsLines): adjust
4566
4567         * text.C (leftMargin): adjust
4568         (setHeightOfRow): adjust
4569
4570         * rowpainter.C (paintFirst): adjust
4571         (paintLast): adjust
4572
4573         * paragraph_funcs.C (depthHook): ParagraphList::iterators
4574         (outerHook): ditto
4575         (isFirstInSequence): ditto
4576         (getEndLabel): ditto
4577         (outerFont): adjust
4578
4579         * paragraph.C (getParLanguage): comment out some hard stuff.
4580
4581         * buffer.C (insertStringAsLines): take a ParagraphList as arg
4582         (sgmlError): ditto
4583         (simpleDocBookOnePar): ditto
4584         (makeDocBookFile): use ParagraphList::iterator
4585
4586         * CutAndPaste.C (pasteSelection): adjust
4587
4588 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4589
4590         * text2.C (getFont): adjust
4591         (getLayoutFont): adjust
4592         (getLabelFont): adjust
4593
4594         * paragraph_funcs.C (TeXOnePar): adjust
4595
4596         * buffer.C (simpleLinuxDocOnePar): adjust
4597         (simpleDocBookOnePar): adjust
4598
4599         * CutAndPaste.C (pasteSelection): adjust
4600
4601         * BufferView.C (getEncoding): adjust
4602
4603         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4604
4605 2003-04-16  John Levon  <levon@movementarian.org>
4606
4607         * lyxfind.C: use parlist stuff for search/changes
4608
4609 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4610
4611         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4612
4613         * text2.C (deleteEmptyParagraphMechanism): adjust
4614
4615         * text2.[Ch] (ownerParagraph): delete func (both of them
4616
4617 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4618
4619         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4620
4621 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4622
4623         * ParagraphList.C: prepare for NO_NEXT
4624
4625 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4626
4627         * text2.C (getFont): adjust
4628         (getLayoutFont): adjust
4629         (getLabelFont): adjust
4630
4631         * paragraph.C (getFont): adjust
4632         (getLabelFont): adjust
4633         (getLayoutFont): adjust
4634
4635         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4636
4637 2003-04-15  John Levon  <levon@movementarian.org>
4638
4639         From Angus Leeming
4640
4641         * lyx_main.C: handle Include in .ui files
4642
4643 2003-04-15  John Levon  <levon@movementarian.org>
4644
4645         * MenuBackend.C: make the doc files length shorter
4646
4647         * ToolbarBackend.h:
4648         * ToolbarBackend.C: handle toolbar placement flags,
4649         Minibuffer
4650
4651 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4652
4653         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4654         adjust
4655
4656         * paragraph_funcs.C (TeXOnePar): adjust
4657
4658         * paragraph.C (getLabelFont): add outerfont arg, adjust
4659         (getLayoutFont): ditto
4660         (simpleTeXOnePar): adjust
4661
4662         * paragraph_pimpl.C (realizeFont): delete func
4663
4664 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
4665
4666         * text2.C (beforeFullRowInset): added a bad getchar check, removed
4667         row argument, constify cur argument.
4668
4669 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4670
4671         * text2.C (getFont): adjust
4672         (getLayoutFont): adjust
4673         (getLabelFont): adjust
4674
4675         * paragraph_funcs.C (TeXOnePar): adjust
4676         (outerFont): new func...
4677         (realizeFont): ...moved out from here, changed this to facilitate
4678         transition
4679
4680         * paragraph.C (getFont): take outerfont as arg, adjust
4681         (simpleTeXOnePar): add outerfont arg, adjust
4682
4683         * buffer.C (simpleLinuxDocOnePar): adjust
4684         (simpleDocBookOnePar): adjust
4685
4686         * CutAndPaste.C (pasteSelection): adjust
4687
4688         * BufferView.C (getEncoding): adjust
4689
4690 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4691
4692         * text2.C (setCharFont): adjust
4693         (setCounter): adjust
4694
4695         * text.C (leftMargin): adjust
4696         (setHeightOfRow): adjust
4697
4698         * rowpainter.C (paintFirst): adjust
4699         (paintLast): adjust
4700
4701         * paragraph_pimpl.C (realizeFont): adjust
4702
4703         * paragraph.C (isFirstInSequence): move from here...
4704         * paragraph_funcs.C (isFirstInSequence): ...to here
4705
4706         * paragraph.C (outerHook): move from here...
4707         * paragraph_funcs.C (outerHook): ...to here
4708
4709         * paragraph.C (depthHook): move from here...
4710         * paragraph_funcs.C (depthHook): ...to here
4711
4712         * paragraph.C (getEndLabel): move from here...
4713         * paragraph_funcs.C (getEndLabel): ...to here
4714
4715         * text2.C (realizeFont): move from here...
4716         * paragraph_funcs.C (realizeFont): ...to here
4717
4718 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4719
4720         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4721
4722 2003-04-14  Angus Leeming  <leeming@lyx.org>
4723
4724         * LColor.[Ch]: scrap LColor mathcursor.
4725
4726 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4727
4728         * lyxlex.[Ch] (text): delete function
4729         * trans.C (Load): adjust
4730         * paragraph_funcs.C (readParToken): adjust
4731
4732 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4733
4734         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4735         vector<char> instead of a char[].
4736
4737         * lyxlex_pimpl.C (getString): adjust
4738         (next): adjust
4739         (lex): use getString
4740         (eatLine): adjust
4741         (nextToken): adjust
4742
4743         * lyxlex.C (text): use pimpl_->getString()
4744         (getBool): ditto
4745         (findToken): ditto
4746
4747 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4748
4749         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4750         (makeFontEntriesLayoutSpecific): temp var for par.size()
4751         (setLayout): temp var for ownerParagraphs().end()
4752         (fullRebreak): temp var for rows().end()
4753         (selectionAsString): temp var for boost::next(startpit), realize
4754         that the while really is a regular for loop.
4755         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4756         setCursor in one place.
4757         (setParagraph): temp vr for ownerParagraphs().end()
4758         (updateCounters): make the while loop a for loop
4759         (cutSelection): temp var for ownerParagraphs().end()
4760         (updateInset): make the do {} while() a regular for loop
4761         (getCursorX): use temp vars
4762         (setCurrentFont): use temp vars
4763         (getColumnNearX): use temp vars
4764
4765 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4766
4767         * text.C (transformChar): use temp var for getChar
4768         (computeBidiTables): use temp var for row->par()
4769         (fill): move temp vars for row->par() and pit->layout() earlier in
4770         the function.
4771         (labelFill): use temp var for row->par()
4772         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4773         asc and desc, realize that pit never changes and that firstpit is
4774         just a duplicate and not needed. Exchange rit->par() with pit in a
4775         lot of places.
4776         (breakAgain): use a temp var for boost::next(rit)
4777         (breakAgainOneRow): ditto
4778         (breakParagraph): use a temp var for rows().begin()
4779         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4780         (cursorRightOneWord): use temp var for cursor.par() and
4781         cursor.pos(), remove usage of tmpcursor.
4782         (cursorLeftOneWord): use temp var for cursor.par() and
4783         cursor.pos() only set cur at end of function.
4784
4785 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4786
4787         * text.C, text2.C: exchange all usage of Paragraph::next with
4788         boost::next(ParagraphList::iterator)
4789
4790         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4791
4792         * text2.C (cursorTop): simplify implementation
4793         (cursorBottom): ditto
4794         (setParagraph): use ParagraphList::iterator
4795         (setCurrentFont): adjust
4796         (getColumnNearX): adjust
4797         (cursorRight): adjust
4798         (cursorLeft): remove usage of Paragraph::previous
4799         (cursorUpParagraph): ditto
4800         (deleteEmptyParagraphMechanism): slight cleanup
4801
4802         * text.C (isBoundary): take a Paragraph const & instead of a
4803         pointer as arg.
4804         (addressBreakPoint): ditto
4805         (leftMargin): remove usage of Paragraph::previous.
4806         (setHeightOfRow): ditto
4807         (cursorLeftOneWord): ditto
4808         (selectNextWordToSpellcheck): ditto
4809         (Delete): ditto
4810         (backspace): ditto
4811         (breakParagraph): remove one usage of Paragraph::next
4812         (redoParagraph): ditto
4813         (acceptChange): ditto
4814         (insertChar): adjust
4815         (rowBreakPoint): adjust
4816
4817         * bufferview_funcs.C (toggleAndShow): adjust
4818
4819 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4820
4821         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4822         methods to access it.
4823         * lyxtext.h:
4824         * text.C: Added updateRowPositions to compute all row positions.
4825         Make top_y and getRowNearY() to use the cached y position
4826
4827 2003-04-11  John Levon  <levon@movementarian.org>
4828
4829         * text.C (rowBreakPoint): reintroduce the labelEnd
4830         checks, code copied from the row fill stuff. Deep voodoo.
4831
4832         * text.C (fill): add a comment and debugging for the
4833         next poor soul.
4834
4835 2003-04-11  John Levon  <levon@movementarian.org>
4836
4837         * text.C: make sure fullrow insets get wrapped to the next line,
4838         even when they're in a manual label
4839
4840 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4841
4842         * text2.C (insertParagraph): make it take ParagraphList::iterator
4843         as arg.
4844         (setLayout): make it return ParagraphList::iterator
4845         (redoParagraphs): ditto
4846         (setCounter): ditto
4847         (checkParagraph): ditto
4848
4849         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4850
4851         * text2.C: adjust several funcs.
4852         (realizeFont): take a ParagraphList::iterator as arg.
4853         (getLayoutFont): ditto
4854         (getLabelFont): ditto
4855         (setCharFont): ditto
4856
4857         * text.C: adjust several funcs.
4858
4859 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4860
4861         * text.C (selectNextWordToSpellcheck): don't accidentally
4862         skip insets
4863
4864 2003-04-10  John Levon  <levon@movementarian.org>
4865
4866         * ToolbarBackend.C (getIcon): special handling for
4867         LFUN_MATH_DELIM
4868
4869 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4870
4871         * text2.C (cursorRight): a getChar assert fixed
4872
4873 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4874
4875         * text2.C (getFont): change to take a ParagraphList::iterator
4876         instead of Paragraph*
4877         Adjust several functions.
4878
4879         * text.C (transformChar): change to take a ParagraphList::iterator
4880         instead of Paragraph*
4881         (singleWidth): ditto
4882         Adjust several functions.
4883
4884         * rowpainter.C: adjust several functions
4885         * rowpainter.h:store a ParagraphList::iterator and not a
4886         Paragraph&.
4887
4888
4889 2003-04-09  John Levon  <levon@movementarian.org>
4890
4891         * lyxfunc.C:
4892         * lfuns.h:
4893         * LyXAction.h:
4894         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4895         and the "help" bits as well
4896
4897 2003-04-09  John Levon  <levon@movementarian.org>
4898
4899         * ToolbarBackend.h:
4900         * ToolbarBackend.C: allow multiple toolbars
4901
4902 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4903
4904         * undo_funcs.C (setCursorParUndo): adjust
4905
4906         * text_funcs.C (transposeChars): adjust
4907
4908         * text3.C (gotoNextInset): adjust
4909         (dispatch): adjust
4910
4911         * text2.C (setLayout): adjust
4912         (changeDepth): adjust
4913         (setFont): adjust
4914         (redoParagraphs): adjust
4915         (selectionAsString): adjust
4916         (setParagraph): adjust
4917         (insertInset): adjust
4918         (cutSelection): adjust
4919         (copySelection): adjust
4920         (pasteSelection): adjust
4921         (insertStringAsLines): adjust
4922         (updateInset): adjust
4923         (setCursor): change to take a ParagraphList::iterator parameter
4924         (setCursorIntern): change to take a ParagraphList::iterator parameter
4925         (setCurrentFont): adjust
4926         (cursorLeft): adjust
4927         (cursorRight): adjust
4928         (deleteEmptyParagraphMechanism): adjust
4929
4930         * text.C (breakParagraph): adjust
4931         (insertChar): adjust
4932         (acceptChange): adjust
4933         (rejectChange): adjust
4934         (selectNextWordToSpellcheck): adjust
4935         (changeCase): adjust
4936         (Delete): adjust
4937         (backspace): adjust
4938
4939         * lyxfind.C (SearchForward): adjust
4940         (SearchBackward): adjust
4941         (nextChange): adjust
4942
4943         * lyxcursor.C (par): adjust
4944
4945         * lyxcursor.h: store a ParagraphList::iterator instead of a
4946         Paragraph*
4947
4948         * lyx_cb.C (getPossibleLabel): adjust
4949
4950         * bufferview_funcs.C (toggleAndShow): adjust
4951
4952         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4953         (dispatch): adjust
4954
4955         * BufferView.C (removeAutoInsets): adjust
4956         (lockedInsetStoreUndo): adjust
4957
4958 2003-04-09  John Levon  <levon@movementarian.org>
4959
4960         * ToolbarBackend.C: try icon without argument
4961         if with argument fails
4962
4963 2003-04-08  John Levon  <levon@movementarian.org>
4964
4965         * ToolbarBackend.h:
4966         * ToolbarBackend.C: add getIcon(), handle tooltip,
4967         and change from "Icon" to "Item".
4968
4969 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4970
4971         * BufferView.C (lockInset): another bad getchar crunched
4972
4973 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4974
4975         * text2.C (changeDepth): do not setUndo on test_only (make undo work
4976         again)
4977
4978 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
4979
4980         * lyxfind.C (searchForward, searchBackwards): bug 782
4981
4982 2003-04-07  John Levon  <levon@movementarian.org>
4983
4984         * paragraph.C: remove dead comment
4985
4986         * text.C: remove troublesome depth-fiddling code
4987         in leftMargin() and rightMargin() (bug 1017)
4988
4989         * text.C: fix breaking of rows in nested lists
4990         (bug 1004)
4991
4992         * text2.C (updateCounters): fix up depth values
4993         (bug 1013)
4994
4995 2003-04-07  John Levon  <levon@movementarian.org>
4996
4997         * BufferView_pimpl.C: clear message when doc finishes resizing,
4998         and after a mouse event
4999
5000         * lyxfunc.C: clear message after exiting inset
5001
5002 2003-04-07  John Levon  <levon@movementarian.org>
5003
5004         * bufferview_funcs.C: show math status not outside
5005         status in the statusbar
5006
5007 2003-04-07  John Levon  <levon@movementarian.org>
5008
5009         * lyxfunc.C: note status changed after a depth change
5010
5011 2003-04-04  Angus Leeming  <leeming@lyx.org>
5012
5013         * LaTeX.h: move AuxInfo operator==, != out of line.
5014         Remove LaTeX virtual destructor; nothing derives from it.
5015         Move operator()() out of public area and rename it startscript().
5016         Change protected for private.
5017
5018 2003-04-04  Angus Leeming  <leeming@lyx.org>
5019
5020         * lyxfunc.C:
5021         * text2.C: remove unneeded #includes.
5022
5023 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5024
5025         * text2.C (dEPM): fix the heigth of the next row
5026
5027 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5028
5029         * text.C: squashed an invalid getChar requester + some ws changes
5030
5031 2003-04-03  John Levon  <levon@movementarian.org>
5032
5033         * bufferview_funcs.h:
5034         * bufferview_funcs.C:
5035         * lyxfunc.C:
5036         * lyxtext.h:
5037         * text2.C: make getStatus work for the env depth lfuns
5038
5039 2003-04-03  John Levon  <levon@movementarian.org>
5040
5041         * bufferview_funcs.h:
5042         * bufferview_funcs.C:
5043         * lyxfunc.C:
5044         * lyxtext.h:
5045         * text2.C: parlistize decDepth(), by merging it with incDepth()
5046
5047 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5048
5049         * lyxrow.h: store a ParagraphList::iterator instead of a
5050         Paragraph* and adjust other class functions to suit.
5051
5052         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5053         above.
5054
5055 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5056
5057         * text2.C (setCursor): do not anchor to cursor row for the time being
5058
5059 2003-04-02  John Levon  <levon@movementarian.org>
5060
5061         * LyXAction.C:
5062         * lfuns.h:
5063         * lyx_main.C:
5064         * lyxtext.h:
5065         * text.C:
5066         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5067
5068 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5069
5070         * paragraph.h: make ParagraphList and ParagraphList::iterator
5071         friends of Paragraph.
5072
5073         * buffer.C (makeLinuxDocFile): move towards ParagraphList
5074
5075         * ParagraphList.C: Use the private next_ and previous_ from
5076         Paragraph.
5077
5078 2003-04-01  John Levon  <levon@movementarian.org>
5079
5080         * ToolbarBackend.h:
5081         * ToolbarBackend.C:
5082         * Makefile.am: rename, remove defaults gunk
5083
5084         * MenuBackend.h:
5085         * MenuBackend.C: remove defaults gunk
5086
5087         * Languages.h:
5088         * Languages.C: remove defaults gunk
5089
5090         * lyx_main.h:
5091         * lyx_main.C: error out if files couldn't be found.
5092
5093 2003-04-02  John Levon  <levon@movementarian.org>
5094
5095         * text2.C: make incDepth() use parlist
5096
5097 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5098
5099         * undo_funcs.C (firstUndoParagraph): adjust
5100
5101         * text3.C (gotoInset): adjust
5102         (dispatch): adjust, and rewrite loop.
5103
5104         * text2.C (init): adjust, and rewrite loop.
5105         (redoParagraphs): adjust
5106         (updateInset): adjust, and rewrite loop.
5107         (deleteEmptyParagraphMechanism): adjust
5108
5109         * tabular.C (LyXTabular): adjust
5110         (SetMultiColumn): adjust
5111         (TeXRow): adjust
5112
5113         * lyxtext.[Ch] (ownerParagraph): delete function
5114         (ownerParagraphs): new function returns a ParagraphList.
5115
5116         * BufferView.C (removeAutoInsets): adjust
5117         (insertErrors): adjust
5118         (setCursorFromRow): adjust
5119
5120 2003-04-01  Angus Leeming  <leeming@lyx.org>
5121
5122         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5123         in the frontends.
5124
5125 2003-04-02  John Levon  <levon@movementarian.org>
5126
5127         * lyxtext.h:
5128         * text.C:
5129         * Makefile.am:
5130         * text_funcs.h:
5131         * text_funcs.C: make transposeChars a free function
5132
5133         * lyxrow_funcs.C: remove wrong comment
5134
5135 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5136
5137         * lyxtext.h: adjust
5138         * rowpainter.C: adjust
5139         * text.C: adjust
5140         * text2.C: adjust
5141         * text3.C: adjust
5142
5143         * lyxrow_funcs. [Ch]: new files
5144
5145         * lyxrow.[Ch]: remove next and previous pointers
5146         (next,previous): remove accessor functions
5147         (isParEnd): move to lyxrow_funcs
5148         (lastPos): move to lyxrow_funcs
5149         (nextRowIsAllInset): move to lyxrow_funcs
5150         (lastPrintablePos): move to lyxrow_funcs
5151         (numberOfSeparators): move to lyxrow_funcs
5152         (numberOfHfills): move to lyxrow_funcs
5153         (numberOfLabelHfills): move to lyxrow_funcs
5154         (hfillExpansion): move to lyxrow_funcs
5155
5156         * lyxfunc.C: adjust
5157
5158         * bufferview_funcs.C (toggleAndShow): adjust
5159
5160         * RowList.h: Remove class RowList from file leave just a
5161         std::list<Row>.
5162
5163         * RowList.C: delete file
5164
5165         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5166         and lyxrow_funcs.h
5167
5168 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5169
5170         * text3.C (cursorPrevious): adjust
5171         (cursorNext): adjust
5172         (dispatch): adjust
5173
5174         * text2.C (redoHeightOfParagraph): adjust
5175         (redoDrawingOfParagraph): adjust
5176         (setCursor): adjust
5177
5178         * text.C (breakParagraph): adjust
5179         (insertChar): adjust
5180         (backspace): adjust
5181
5182         * rowpainter.C (RowPainter): adjust
5183         (leftMargin): simplify and adjust
5184         (most rowpainter functions): adjust.
5185
5186         * rowpainter.h: store the row as RowList::iterator not as Row*
5187
5188         * lyxcursor.C (row): taka RowList::iterator as arg
5189         (irow): ditto
5190
5191         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5192         of Row*.
5193
5194 2003-04-01  Angus Leeming  <leeming@lyx.org>
5195
5196         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5197         stuff like bool Bool.
5198
5199 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5200
5201         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5202         rewrite a loop
5203
5204 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5205
5206         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5207         RowList::iterator.
5208
5209         * lyxtext.h (rows): drop one version and leve a const variant that
5210         returns a RowList::iterator.
5211
5212 2003-03-31  Angus Leeming  <leeming@lyx.org>
5213
5214         * text.C (fill): ensure that the signature is the same as that in the
5215         header file.
5216
5217 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
5218
5219         * text2.C (redoParagraphs): adjust
5220         (updateCounters): adjust
5221         (checkParagraph): adjust
5222         (getColumnNearX): adjust and reformat a bit.
5223
5224         * text.C (top_y): adjust
5225         (workWidth): adjust
5226         (leftMargin): adjust
5227         (prepareToPrint): adjust
5228         (getRow): adjust
5229         (getRowNearY): adjust
5230
5231         * lyxtext.h: make rowlist_ mutable.
5232
5233         * RowList.h: add const_iterator
5234         * RowList.C: adjust for RowList::const_iterator.
5235
5236         * text2.C (getCursorX): make it take a RowList::iterator as arg,
5237         adjust.
5238
5239 2003-03-31  John Levon  <levon@movementarian.org>
5240
5241         * lyxrc.h:
5242         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5243
5244         * lyx_main.C: set default fonts from using lyx_gui funcs
5245
5246         * exporter.C: pdf_mode moved from lyxrc
5247
5248         * lyx_cb.C:
5249         * lyxfunc.C: changes from above
5250
5251 2003-03-31  John Levon  <levon@movementarian.org>
5252
5253         * lyx_main.C: fix to the last fix
5254
5255 2003-03-31  John Levon  <levon@movementarian.org>
5256
5257         * bufferlist.C: "Load original" -> "Load Original"
5258
5259         * converter.C:
5260         * exporter.C:
5261         * importer.C:
5262         * lyx_main.C:
5263         * format.C: more Alert cleanups
5264
5265 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5266
5267         * text2.C (removeParagraph): make it take a RowList::iterator as
5268         arg, adjust.
5269         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5270         (postRowPaint): make it take a RowList::iterator as arg, adjust.
5271
5272         * text.C (anchor_row): make it take a RowList::iterator as arg,
5273         adjust.
5274         (computeBidiTables): make it take a const reference to Row instead
5275         of Row pointer, adjust.
5276         (leftMargin): make it take a RowList::iterator as arg, adjust.
5277         (rowBreakPoint): adjust
5278         (breakAgainOneRow): make it take a RowList::iterator as arg,
5279         adjust.
5280         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5281
5282         * bufferview_funcs.C (toggleAndShow): adjust
5283
5284 2003-03-30  John Levon  <levon@movementarian.org>
5285
5286         * Makefile.am:
5287         * BoostFormat.h:
5288         * boost-inst.C: moved to support
5289
5290         * several files: changes as a result
5291
5292 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5293
5294         * text2.C (LyXText): adjust.
5295         (init): adjust
5296         (removeRow): make it take a RowList::iterator as arg, adjust.
5297         (fullRebreak): adjust
5298         (deleteEmptyParagraphMechanism): adjust
5299         (clearPaint): adjust
5300         (postPaint): adjust
5301
5302         * text.C (top_y): adjust
5303         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5304         (breakAgain): make it take a RowList::iterator as arg, adjust.
5305         (breakParagraph): adjust
5306         (insertChar): adjust
5307         (backspace): adjust
5308
5309         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5310         need_break_row, and refresh_row.
5311
5312         * text3.C (dispatch): adjust
5313
5314         * text2.C (checkParagraph): adjust
5315         (setCursor): adjust
5316         (setCursorFromCoordinates): adjust
5317
5318         * text.C (top_y): adjust
5319         (workWidth): adjust
5320         (getRow): make it return a RowList::iterator, adjust
5321         (getRowNearY): make it return a RowList::iterator, adjust
5322
5323         * text2.C (init): adjust
5324         (insertRow): remove function
5325         (insertParagraph): adjust
5326         (redoParagraphs): adjust
5327         (fullRebreak): adjust
5328         (updateCounters): adjust
5329
5330         * text.C (top_y): rewrite to use RowList iterators.
5331         (top_y): adjust
5332         (setHeightOfRow): rewrite to sue RowList iterators.
5333         (appendParagraph): adjust
5334         (breakAgain): adjust
5335         (breakAgainOneRow): adjust
5336         (breakParagraph): adjust
5337         (getRow): adjust
5338         (getRowNearY): adjust, and remove commented code.
5339
5340         * lyxtext.h (firstRow): delete function
5341         (lastRow): delete function
5342         (rows): new function (const and non-const versions.)
5343         (insertRow): delete function
5344
5345         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5346
5347 2003-03-29  John Levon  <levon@movementarian.org>
5348
5349         * BufferView_pimpl.C: always update scrollbar top
5350         because pasting text when we're anchored could mean we
5351         miss an update altogether
5352
5353 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5354
5355         * text2.C (init): use rowlist_.end() and not 0.
5356         (insertRow): change to take a RowList::iterator as arg, adjust
5357         for this.
5358         (insertParagraph): change to take a RowList::iterator as arg,
5359         adjust for this.
5360         (redoParagraphs): remove some debug msgs.
5361
5362         * text.C (appendParagraph): change to take a RowList::iterator
5363         arg, adjust for this.
5364         (breakAgain): add an assert
5365         (breakAgainOneRow): ditto
5366
5367 2003-03-29  John Levon  <levon@movementarian.org>
5368
5369         * text2.C: do not clear selection after inc/decDepth
5370         (bug 550)
5371
5372 2003-03-29  John Levon  <levon@movementarian.org>
5373
5374         * BufferView.C:
5375         * buffer.C: fix broken strerrors according to Lars
5376
5377 2003-03-29  John Levon  <levon@movementarian.org>
5378
5379         * converters.C: more Alert cleanups
5380
5381 2003-03-29  John Levon  <levon@movementarian.org>
5382
5383         * bufferview_funcs.C: remove pointless Alert
5384
5385         * buffer.C: fix confusing error message when
5386         a template is chmoded 000
5387
5388 2003-03-29  John Levon  <levon@movementarian.org>
5389
5390         * BufferView.C:
5391         * BufferView.h:
5392         * BufferView_pimpl.C: Alert fixes
5393
5394         * Makefile.am:
5395         * tabular.C:
5396         * tabular-old.C: remove unused table compat reading
5397
5398 2003-03-29  John Levon  <levon@movementarian.org>
5399
5400         * BufferView.C:
5401         * buffer.C:
5402         * lyx_cb.h:
5403         * lyx_cb.C: more Alert cleanups
5404
5405         * lyxfunc.C: don't allow chktex if not latex document
5406
5407 2003-03-29  John Levon  <levon@movementarian.org>
5408
5409         * lyx_cb.C:
5410         * BufferView.C:
5411         * buffer.C: warnings pushed down from support/,
5412         kill err_alert
5413
5414 2003-03-29  John Levon  <levon@movementarian.org>
5415
5416         * lyxfunc.C: safety check for C-r (revert)
5417
5418 2003-03-29  John Levon  <levon@movementarian.org>
5419
5420         * bufferlist.h:
5421         * bufferlist.C: several UI fixes using Alert::prompt.
5422         Fix the pointless looping quit code. Fix stupid revert
5423         behaviour (bug 938)
5424
5425         * lyxvc.h:
5426         * lyxvc.C:
5427         * lyx_cb.C: use Alert::prompt
5428
5429         * lyx_main.C: remove a silly question
5430
5431         * lyxfunc.C: remove a couple of silly questions,
5432         use Alert::prompt
5433
5434 2003-03-28  John Levon  <levon@movementarian.org>
5435
5436         * text2.C: fix bug 974 (End on empty par)
5437
5438 2003-03-28  John Levon  <levon@movementarian.org>
5439
5440         * BufferView_pimpl.C:
5441         * LyXAction.C:
5442         * lfuns.h: remove do-nothing math greek lfuns
5443
5444 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5445
5446         * lyxgluelength.h (isValidGlueLength): add default arg on
5447         parameter 2. Remove default arg from friend in class.
5448
5449         * lyxlength.h (isValidLength): add default arg on parameter 2.
5450         Remove default arg from friend in class.
5451
5452         * text2.C (LyXText): adjust, initialize refresh_row.
5453         (init): adjust
5454         (removeRow): adjust
5455         (insertRow): adjust
5456         (insertParagraph): adjst
5457         (redoParagraphs): adjust
5458         (fullRebreak): adjust
5459         (updateCounters): adjust
5460         (deleteEmptyParagraphMechanism): first attempt at fixing a
5461         crashing bug.
5462
5463         * text.C (top_y): adjust
5464         (setHeightOfRow): adjust
5465         (getRow): adjust
5466         (getRowNearY): adjust
5467
5468         * lyxtext.h: include RowList.h
5469         (~LyXText): not needed anymore, deleted.
5470         (firstRow): modify for RowList
5471         (lastRow): new function
5472         Delete firstrow and lastrow class variables, add a Rowlist
5473         rowlist_ class variable.
5474
5475         * lyxrow.C (lastPos): use empty() and not !size() to check if a
5476         paragraph is empty.
5477
5478         * RowList.C (insert): fix case where it == begin().
5479
5480 2003-03-26  Angus Leeming  <leeming@lyx.org>
5481
5482         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5483         the thesaurus dialog.
5484
5485 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5486
5487         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5488
5489         * RowList.[Ch]: new files
5490
5491         * ParagraphList.C (erase): handle the case where it == begin
5492         correctly.
5493
5494 2003-03-25  John Levon  <levon@movementarian.org>
5495
5496         * Makefile.am:
5497         * aspell_local.h:
5498         * aspell.C: add new aspell support
5499
5500         * lyxrc.h:
5501         * lyxrc.C: Make use_pspell be use_spell_lib. Always
5502         have it accessible.
5503
5504 2003-03-25  Angus Leeming  <leeming@lyx.org>
5505
5506         * lfuns.h:
5507         * LyXAction.C (init): new LFUN_INSET_INSERT.
5508
5509         * BufferView_pimpl.C (dispatch): split out part of the
5510         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5511
5512         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5513         LFUN_INSET_APPLY.
5514
5515 2003-03-25  Angus Leeming  <leeming@lyx.org>
5516
5517         * lyxfunc.C (dispatch): changes to the Dialogs interface.
5518
5519 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
5520
5521         * text2.C:
5522         * text3.C: remove useless row->height(0)
5523
5524 2003-03-25  John Levon  <levon@movementarian.org>
5525
5526         * lyxtext.h:
5527         * text2.C:
5528         * text3.C: rename the refreshing stuff to better names
5529
5530 2003-03-24  John Levon  <levon@movementarian.org>
5531
5532         * BufferView_pimpl.h:
5533         * BufferView_pimpl.C: update layout choice on a mouse
5534         press/release
5535
5536 2003-03-23  John Levon  <levon@movementarian.org>
5537
5538         * Makefile.am: fix commandtags.h reference
5539
5540 2003-03-22  John Levon  <levon@movementarian.org>
5541
5542         * BufferView_pimpl.C:
5543         * lyxtext.h:
5544         * rowpainter.C:
5545         * rowpainter.h:
5546         * text.C:
5547         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5548
5549 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
5550
5551         * lyxtext.h:
5552         * text.C: take the rtl methods out of line
5553
5554 2003-03-21 André Pönitz <poenitz@gmx.net>
5555
5556         * metricsinfo.[Ch]: new files containing structures to be passed around
5557         during the two-phase-drawing...
5558
5559 2003-03-21 André Pönitz <poenitz@gmx.net>
5560
5561         * lyxtextclass.C: read 'environment' tag.
5562
5563 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
5564
5565         * text2.C (removeRow): fix bug 964
5566
5567 2003-03-20  John Levon  <levon@movementarian.org>
5568
5569         * rowpainter.C:
5570         * text.C:
5571         * text2.C: paint cleanups. Inset::update() dropped font
5572         parameter
5573
5574 2003-03-19  John Levon  <levon@movementarian.org>
5575
5576         * lyxfunc.C: only fitcursor/markDirty if available()
5577
5578 2003-03-19  John Levon  <levon@movementarian.org>
5579
5580         * commandtags.h: rename to ...
5581
5582         * lfuns.h: ... this, and renumber / cleanup
5583
5584 2003-03-19  John Levon  <levon@movementarian.org>
5585
5586         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5587         fit the cursor after an lfun
5588
5589         * BufferView.h:
5590         * BufferView.C:
5591         * BufferView_pimpl.h:
5592         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5593
5594         * LyXAction.C: layout-character should have ReadOnly
5595
5596         * ParagraphParameters.C:
5597         * buffer.C:
5598         * bufferview_funcs.C:
5599         * lyx_cb.C:
5600         * lyxfind.C:
5601         * lyxtext.h:
5602         * text.C:
5603         * text2.C:
5604         * text3.C:
5605         * undo_funcs.C: changes from above
5606
5607 2003-03-18  John Levon  <levon@movementarian.org>
5608
5609         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5610         remove it from update()
5611
5612         * lyxfunc.C: update layout choice after an lfun
5613
5614         * text3.C: remove extra updateLayoutChoice()s
5615
5616 2003-03-18  John Levon  <levon@movementarian.org>
5617
5618         * text.C: top_y change means full repaint, fix
5619         a drawing bug with cursor movement
5620
5621 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5622
5623         * lyxtext.h:
5624         * text.C:
5625         * text2.C: anchor row on setCursor
5626
5627 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5628
5629         * lyxtext.h: remove almost all mutable keywords
5630         * text.C:
5631         * text2.C:
5632         * text3.C: remove const keywords accordingly
5633
5634 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5635
5636         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5637         anon namespace
5638         (TeXEnvironment): ditto
5639         (TeXOnePar): ditto
5640
5641 2003-03-17  John Levon  <levon@movementarian.org>
5642
5643         * text.C (rowBreakPoint): remove attempt to fix displayed
5644         math insets inside a manual label
5645
5646 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5647
5648         * lyxtext.h: remove BufferView* as first arg from almost all class
5649         functions.
5650         * other files: adjust.
5651
5652 2003-03-17  John Levon  <levon@movementarian.org>
5653
5654         * lyxtext.h:
5655         * undo_funcs.C:
5656         * text2.C: more paint cleanups
5657
5658         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5659
5660         * rowpainter.h:
5661         * rowpainter.C: remove "smart" background painting code
5662
5663 2003-03-16  John Levon  <levon@movementarian.org>
5664
5665         * lyxtext.h:
5666         * text.C:
5667         * text2.C:
5668         * text3.C: add helper functions for setting refresh_row/y
5669
5670 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
5671
5672         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5673         newline inset which *can* get inserted in the pass_thru layouts.
5674         This is primarily for literate documents.
5675
5676 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
5677
5678         * buffer.C: increment LYX_FORMAT to 223
5679
5680 2003-03-14 André Pönitz <poenitz@gmx.net>
5681
5682         * textclass.h: prepare for environment handling, ws changes
5683         * lyxlayout.C: read latexheader and latexfooter tags
5684
5685 2003-03-14  John Levon  <levon@movementarian.org>
5686
5687         * text2.C: rewrite ::status() a bit
5688
5689 2003-03-13  John Levon  <levon@movementarian.org>
5690
5691         * lyxtext.h: add some docs
5692
5693 2003-03-13  John Levon  <levon@movementarian.org>
5694
5695         * lyxtext.h:
5696         * text.C:
5697         * text2.C:
5698         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5699
5700 2003-03-13  John Levon  <levon@movementarian.org>
5701
5702         * text3.C: fix appendix redrawing
5703
5704 2003-03-13  John Levon  <levon@movementarian.org>
5705
5706         * text.C (setHeightOfRow):
5707         * rowpainter.h:
5708         * rowpainter.C: make appendix mark have the text
5709           "Appendix" so the user knows what it is
5710
5711         * LColor.h:
5712         * LColor.C: s/appendixline/appendix/ from above
5713
5714 2003-03-13  John Levon  <levon@movementarian.org>
5715
5716         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5717
5718         * text.C: fix a getChar(pos) bug properly
5719
5720 2003-03-13  Angus Leeming  <leeming@lyx.org>
5721
5722         * commandtags.h:
5723         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5724         Probably only temporary. Let's see how things pan out.
5725
5726         * BufferView.C (unlockInset):
5727         * BufferView_pimpl.C (fitCursor):
5728         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5729
5730         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5731         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5732
5733         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5734         new functions that convert ParagraphParameters to and from a string.
5735
5736         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5737         BufferView::Pimpl's dispatch.
5738         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5739
5740 2003-03-13 André Pönitz <poenitz@gmx.net>
5741
5742         * lyxfunc.C:
5743         * text3.C:
5744         * factory.C: make it aware of InsetEnv
5745
5746 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5747
5748         * text2.C (setCursor): never ask for one past last
5749         (setCursor): add some debugging messages.
5750
5751         * text.C (singleWidth): never ask for one past last
5752         (singleWidth): ditto
5753         (leftMargin): ditto
5754         (rightMargin): ditto
5755         (rowBreakPoint): ditto
5756         (setHeightOfRow): ditto
5757         (prepareToPrint): ditto
5758
5759         * rowpainter.C (paintBackground): never ask for one past last
5760         (paintText): never ask for one past last
5761
5762         * paragraph_pimpl.C (getChar): make the assert stricter, never
5763         allow the one past last pos to be taken
5764
5765         * paragraph.C (getChar): ws changes only
5766
5767         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5768         (numberOfSeparators): ditto
5769         (numberOfHfills): ditto
5770
5771 2003-03-12  John Levon  <levon@movementarian.org>
5772
5773         * author.h:
5774         * author.C:
5775         * bufferparams.h:
5776         * bufferparams.C:
5777         * paragraph_funcs.C: fix per-buffer authorlists
5778
5779 2003-03-12  John Levon  <levon@movementarian.org>
5780
5781         * text.C: fix newline in right address
5782
5783 2003-03-12  Angus Leeming  <leeming@lyx.org>
5784
5785         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5786         duplicate those in LyXFunc::dispatch.
5787
5788         * commandtags.h:
5789         * LyXAction.C:
5790         * ToolbarDefaults.C:
5791         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5792         Add LFUN_FONTFREE_UPDATE.
5793
5794         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5795         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5796
5797         * bufferview_func.[Ch]: several new functions to facilliate
5798         transfer of data to and from the character dialog.
5799
5800 2003-03-12  John Levon  <levon@movementarian.org>
5801
5802         * buffer.C:
5803         * paragraph.h:
5804         * paragraph.C:
5805         * paragraph_funcs.C:
5806         * paragraph_pimpl.C:
5807         * sgml.C:
5808         * tabular.C:
5809         * text.C:
5810         * text3.C: remove META_NEWLINE in favour of an inset
5811
5812         * rowpainter.h:
5813         * rowpainter.C: remove paintNewline (done by inset)
5814
5815 2003-03-12  John Levon  <levon@movementarian.org>
5816
5817         * paragraph_pimpl.C: complain about bad getChar()s
5818         for a while at least
5819
5820 2003-03-12  John Levon  <levon@movementarian.org>
5821
5822         * buffer.h:
5823         * buffer.C: move paragraph read into a separate function,
5824         a little renaming to reflect that.
5825
5826         * bufferparams.h:
5827         * bufferparams.C: remove the author_ids map, not necessary now
5828
5829         * factory.h:
5830         * factory.C: moved Buffer::readInset to here
5831
5832         * paragraph_funcs.h:
5833         * paragraph_funcs.C: readParagraph free function moved from
5834         buffer.C
5835
5836         * tabular.C: name change
5837
5838 2003-03-12  John Levon  <levon@movementarian.org>
5839
5840         * buffer.C:
5841         * ParagraphParameters.C: move par params input to
5842         a read() method
5843
5844         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5845         behave like a normal read from the stream wrt reading
5846         a line vs. a \\token
5847
5848 2003-03-12  John Levon  <levon@movementarian.org>
5849
5850         * paragraph.C:
5851         * ParagraphParameters.h:
5852         * ParagraphParameters.C: move output code to a
5853         ::write() method
5854
5855 2003-03-12  John Levon  <levon@movementarian.org>
5856
5857         * BufferView.C (insertLyXFile):
5858         * buffer.h:
5859         * buffer.C:
5860         * tabular.C: use a parlist iterator for creating the
5861           document.
5862
5863 2003-03-12  John Levon  <levon@movementarian.org>
5864
5865         * buffer.C: make current_change static local not
5866           static file-scope
5867
5868 2003-03-12  John Levon  <levon@movementarian.org>
5869
5870         * buffer.C: fix insertStringAsLines for change tracking
5871
5872 2003-03-12  John Levon  <levon@movementarian.org>
5873
5874         * BufferView.C:
5875         * tabular.C:
5876         * buffer.h:
5877         * buffer.C:
5878         * bufferparams.h:
5879         * bufferparams.C: move author list into params. Rename some
5880           functions. Move the header reading into a separate token
5881           loop. Move the header token reading into BufferParams.
5882
5883 2003-03-12  John Levon  <levon@movementarian.org>
5884
5885         * changes.C: put debug inside lyxerr.debugging() checks
5886
5887 2003-03-11 André Pönitz <poenitz@gmx.net>
5888
5889         * factory.C: make it aware of InsetHFill
5890
5891 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5892
5893         * buffer.C (latexParagraphs): move function from here...
5894         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5895         args.
5896
5897 2003-03-10  Angus Leeming  <leeming@lyx.org>
5898
5899         * LyXAction.C (init): fix bug in poplating array with multiple entries
5900         with the same LFUN (spotted by JMarc).
5901
5902 2003-03-10  John Levon  <levon@movementarian.org>
5903
5904         * text.C:
5905         * text2.C: move getColumnNearX() near its
5906         only call site
5907
5908 2003-03-10  John Levon  <levon@movementarian.org>
5909
5910         * text.C: fix break before a minipage
5911
5912 2003-03-10  John Levon  <levon@movementarian.org>
5913
5914         * text.C: fix the last commit
5915
5916 2003-03-09  John Levon  <levon@movementarian.org>
5917
5918         * lyxtext.h:
5919         * text.C:
5920         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5921         bug 365 (don't break before insets unless needed). Don't
5922         return a value > last under any circumstances.
5923
5924 2003-03-09  Angus Leeming  <leeming@lyx.org>
5925
5926         * BufferView_pimpl.C (trackChanges, dispatch): call
5927         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5928
5929 2003-03-09  Angus Leeming  <leeming@lyx.org>
5930
5931         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5932         than Dialogs::showAboutlyx().
5933
5934 2003-03-09  Angus Leeming  <leeming@lyx.org>
5935
5936         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5937         than Dialogs::showTabularCreate().
5938
5939 2003-03-09  John Levon  <levon@movementarian.org>
5940
5941         * lyxtext.h:
5942         * text.C:
5943         * text2.C: 3rd arg to nextBreakPoint was always the same.
5944           Use references.
5945
5946 2003-03-08  John Levon  <levon@movementarian.org>
5947
5948         * lyxrow.C:
5949         * paragraph.C:
5950         * paragraph.h:
5951         * rowpainter.C:
5952         * text.C:
5953         * text2.C: Remove the "main" bit from the "main body"
5954           notion.
5955
5956 2003-03-08  John Levon  <levon@movementarian.org>
5957
5958         * text.C (leftMargin): The left margin of an empty
5959         manual label paragraph should not include the label width
5960         string length.
5961
5962         * text.C (prepareToPrint): don't attempt to measure hfills
5963         for empty manual label paragraphs - the answer should be 0
5964
5965 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5966
5967         * CutAndPaste.C: remove commented code and reindent.
5968
5969 2003-03-08  John Levon  <levon@movementarian.org>
5970
5971         * lyxfunc.h:
5972         * lyxfunc.C: move reloadBuffer()
5973
5974         * BufferView.h:
5975         * BufferView.C: to here
5976
5977         * lyxvc.C: add comment
5978
5979         * vc-backend.h:
5980         * vc-backend.C: call bv->reload() to avoid
5981           getStatus() check on MENURELOAD
5982
5983 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
5984
5985         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5986         to an old format .dep file.
5987
5988 2003-03-07  Angus Leeming  <leeming@lyx.org>
5989
5990         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5991         when the LFUN_MOUSE_RELEASE should have been handled by
5992         inset->localDispatch.
5993
5994 2003-03-07  Angus Leeming  <leeming@lyx.org>
5995
5996         * BufferView_pimpl.C (dispatch):
5997         * LyXAction.C (init):
5998         * ToolbarDefaults.C (init):
5999         * commandtags.h:
6000         * lyxfunc.C (getStatus):
6001         remove LFUN_INSET_GRAPHICS.
6002
6003         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6004
6005 2003-03-07  Angus Leeming  <leeming@lyx.org>
6006
6007         * commandtags.h:
6008         * LyXAction.C (init):
6009         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6010
6011         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6012
6013         * commandtags.h:
6014         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6015
6016         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6017         localDispatch method LFUN_INSET_DIALOG_UPDATE.
6018
6019 2003-03-07  Angus Leeming  <leeming@lyx.org>
6020
6021         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6022         remove "ert".
6023
6024 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6025
6026         * ParagraphList.C (front): new function
6027         (back): implement
6028
6029 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
6030
6031         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6032         and top_row_offset_. removed var first_y.
6033         * text.C (top_y):
6034         * text2.C (LyXText, removeRow):
6035         * text3.C:
6036         * BufferView_pimpl.C:
6037         use these methods instead of using first_y
6038
6039 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6040
6041         * text2.C (pasteSelection): adjust for checkPastePossible
6042
6043         * CutAndPaste.C: remove Paragraph * buf and replace with
6044         ParagraphList paragraphs.
6045         (DeleteBuffer): delete
6046         (cutSelection): change the tc type to textclass_type
6047         (copySelection): change the tc type to textclass_type
6048         (copySelection): adjust for ParagraphList
6049         (pasteSelection): change the tc type to textclass_type
6050         (pasteSelection): adjust for Paragraphlist
6051         (nrOfParagraphs): simplify for ParagraphList
6052         (checkPastePossible): simplify for ParagraphList
6053         (checkPastePossible): remove unused arg
6054
6055         * ParagraphList.C (insert): handle the case where there are no
6056         paragraphs yet.
6057
6058         * CutAndPaste.h: make CutAndPaste a namespace.
6059
6060         * text3.C (dispatch): adjust
6061
6062         * text.C (breakParagraph): add a ParagraphList as arg
6063
6064         * paragraph_funcs.C (breakParagraph): change to take a
6065         BufferParams and a ParagraphList as args.
6066         (breakParagraphConservative): ditto
6067         (mergeParagraph): ditto
6068         (TeXDeeper): add a ParagraphList arg
6069         (TeXEnvironment): ditto
6070         (TeXOnePar): ditto
6071
6072         * buffer.C (readLyXformat2): adjust
6073         (insertStringAsLines): adjust
6074         (latexParagraphs): adjust
6075
6076         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6077         (cutSelection): adjust
6078         (pasteSelection): adjust
6079
6080         * BufferView_pimpl.C (insertInset): adjust
6081
6082 2003-03-05  Angus Leeming  <leeming@lyx.org>
6083
6084         * commandtags.h:
6085         * LyXAction.C (init):
6086         * BufferView_pimpl.C (dispatch):
6087         * lyxfunc.C (getStatus):
6088         remove LFUN_CHILD_INSERT.
6089
6090         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6091
6092 2003-03-05  Angus Leeming  <leeming@lyx.org>
6093
6094         * commandtags.h:
6095         * LyXAction.C (init):
6096         * src/factory.C (createInset):
6097         * lyxfunc.C (getStatus):
6098         * text3.C (dispatch):
6099         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6100
6101         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6102
6103 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6104
6105         * ParagraphList.C (insert): handle insert right before end()
6106         (erase): fix cases where it can be first or last paragraph.
6107
6108 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6109
6110         * paragraph_funcs.C (TeXEnvironment): remove all usage of
6111         Paragraph::next and Paragraph::previous
6112         (TeXOnePar): ditto
6113
6114         * text.C (breakParagraph): adjust
6115
6116         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6117         BufferParams& as arg.
6118         (breakParagraph): use ParagraphList::insert
6119         (breakParagraphConservative): take a Buffer* instead of a
6120         BufferParams& as arg.
6121         (breakParagraphConservative): use ParagraphList::insert.
6122
6123         * buffer.C (insertStringAsLines): un-const it
6124         (insertStringAsLines): adjust
6125
6126         * ParagraphList.C (insert): new function
6127
6128         * CutAndPaste.C (pasteSelection): adjust
6129
6130         * text.C (backspace): adjust
6131
6132         * tabular.C (SetMultiColumn): adjust
6133
6134         * CutAndPaste.C (cutSelection): adjust
6135         (pasteSelection): adjust
6136
6137         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6138         Buffer const * as arg
6139
6140         * ParagraphList.C (erase): new function
6141         * paragraph_funcs.C (mergeParagraph): use it
6142         (mergeParagraph): make it take a Buffer* instead of a
6143         BufferParams* as arg
6144
6145         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6146         as arg
6147         (breakParagraphConservative): ditto
6148
6149         * paragraph.h: remove the breakParagraph friend
6150
6151         * paragraph.C (eraseIntern): new function
6152         (setChange): new function
6153
6154         * paragraph_funcs.C (mergeParagraph): make it take a
6155         ParagraphList::iterator instead of a Paragraph *, adjust
6156         accordingly.
6157
6158         * paragraph.h: move an #endif so that the change tracking stuff
6159         also works in the NO_NEXT case.
6160
6161 2003-03-04  Angus Leeming  <leeming@lyx.org>
6162
6163         * commandtags.h:
6164         * LyXAction.C: new LFUN_INSET_MODIFY.
6165
6166         * BufferView_pimpl.C (dispatch): if an inset is found to be open
6167         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6168
6169 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6170
6171         * several files: ws changes only
6172
6173         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6174         (TeXEnvironment): ditto
6175         (TeXDeeper): ditto
6176
6177         * buffer.C (makeLaTeXFile): adjust
6178         (latexParagraphs): make it take ParagraphList::iterator as args
6179
6180 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6181
6182         * buffer.C (latexParagraphs): adjust
6183
6184         * paragraph.C (TeXOnePar): move function...
6185         (optArgInset): move function...
6186         (TeXEnvironment): move function...
6187         * paragraph_pimpl.C (TeXDeeper): move function...
6188         * paragraph_funcs.C: ...here
6189
6190         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6191
6192 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6193
6194         * buffer.C (readInset): remove compability code for old Figure and
6195         InsetInfo insets
6196
6197 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6198
6199         * buffer.C: ws changes
6200         (readInset):
6201
6202         * BufferView_pimpl.C: ditto
6203         * author.C: ditto
6204         * buffer.h: ditto
6205         * bufferlist.h: ditto
6206         * changes.h: ditto
6207         * lyxfunc.C: ditto
6208
6209 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
6210
6211         * converter.[Ch]: split into itself +
6212         * graph.[Ch]
6213         * format.[Ch]
6214         * Makefile.am: += graph.[Ch] + format.[Ch]
6215         * MenuBackend.C
6216         * buffer.C
6217         * exporter.C
6218         * importer.C
6219         * lyx_main.C
6220         * lyxfunc.C
6221         * lyxrc.C: added #include "format.h"
6222
6223 2003-02-27  Angus Leeming  <leeming@lyx.org>
6224
6225         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6226           a label.
6227
6228         * factory.C (createInset): add "label" to the factory.
6229
6230         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6231           string and do no more.
6232
6233 2003-02-27  Angus Leeming  <leeming@lyx.org>
6234
6235         * commandtags.h:
6236         * LyXAction.C (init):
6237         * factory.C (createInset):
6238         * BufferView_pimpl.C (dispatch):
6239           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6240
6241         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6242
6243         * lyxfunc.C (dispatch):
6244         * text3.C (dispatch): pass name to params2string.
6245
6246 2003-02-26  Angus Leeming  <leeming@lyx.org>
6247
6248         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6249           blocks together.
6250           Rearrange the ~includes. Strip out the unnecessary ones.
6251
6252         * factory.C (createInset): reformat.
6253           create new insets for the various LFUN_XYZ_APPLY lfuns.
6254
6255 2003-02-26  John Levon  <levon@movementarian.org>
6256
6257         * lyxrow.h:
6258         * lyxrow.C: add isParStart,isParEnd helpers
6259
6260         * paragraph.h: make isInserted/DeletedText take refs
6261
6262         * paragraph_funcs.h:
6263         * paragraph_funcs.C: remove #if 0'd code
6264
6265         * lyxtext.h:
6266         * text3.C:
6267         * text2.C:
6268         * text.C: use lyxrow helpers above.
6269           Move draw and paint routines to RowPainter.
6270           Make several methods use refs not pointers.
6271           Make backgroundColor() const.
6272           Add markChangeInDraw(), isInInset().
6273           Merge changeRegionCase into changeCase.
6274           Make workWidth() shouldn't-happen code into an Assert.
6275
6276         * rowpainter.h:
6277         * rowpainter.C: new class for painting a row.
6278
6279         * vspace.h:
6280         * vspace.C: make inPixels take a ref
6281
6282 2003-02-26  Angus Leeming  <leeming@lyx.org>
6283
6284         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6285         LFUN_REF_APPLY.
6286
6287 2003-02-25  John Levon  <levon@movementarian.org>
6288
6289         * ispell.C: give the forked command a more accurate name
6290
6291 2003-02-22  John Levon  <levon@movementarian.org>
6292
6293         * toc.h:
6294         * toc.C: make TocItem store an id not a Paragraph *
6295           (bug #913)
6296
6297 2003-02-21  Angus Leeming  <leeming@lyx.org>
6298
6299         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6300           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6301           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6302           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6303           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6304           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6305
6306         * BufferView_pimpl.C (dispatch):
6307         * LyXAction.C (init):
6308         * factory.C (createInset):
6309         * lyxfunc.C (getStatus, dispatch):
6310         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6311
6312 2003-02-21  Angus Leeming  <leeming@lyx.org>
6313
6314         * BufferView_pimpl.C (MenuInsertLyXFile):
6315         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6316         * lyxfunc.C (menuNew, open, doImport):
6317           no longer pass a LyXView & to fileDlg.
6318
6319 2003-02-21  Angus Leeming  <leeming@lyx.org>
6320
6321         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6322         * LyXAction.C: change, BIBKEY to BIBITEM.
6323         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6324         Change InsetBibKey to InsetBibitem.
6325         Change BIBKEY_CODE to BIBITEM_CODE.
6326         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6327         * factory.C: replace insetbib.h with insetbibitem.h.
6328         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6329         * paragraph.C: replace insetbib.h with insetbibitem.h.
6330         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6331         Change bibkey() to bibitem().
6332         * text.C: remove insetbib.h.
6333         * text2.C: replace insetbib.h with insetbibitem.h.
6334         change bibkey() to bibitem().
6335         * text3.C: remove insetbib.h.
6336         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6337
6338 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6339
6340         * lyxrc.C (output): enclose user email in quotes (in case there are
6341         several words)
6342
6343 2003-02-18  John Levon  <levon@movementarian.org>
6344
6345         * buffer.h: add std::
6346
6347 2003-02-17  John Levon  <levon@movementarian.org>
6348
6349         * SpellBase.h:
6350         * ispell.h:
6351         * ispell.C:
6352         * pspell.h:
6353         * pspell.C: reworking. Especially in ispell, a large
6354           number of clean ups and bug fixes.
6355
6356         * lyxfunc.C: fix revert to behave sensibly
6357
6358 2003-02-17 André Pönitz <poenitz@gmx.net>
6359
6360         * LyXAction.C:
6361         * commandtags.h: new LFUN_INSERT_BIBKEY
6362
6363         * layout.h:
6364         * lyxlayout.C:
6365         * buffer.C:
6366         * factory.C:
6367         * text.C:
6368         * text2.C:
6369         * text3.C:
6370         * paragraph.[Ch]:
6371         * paragraph_func.C: remove special bibkey handling
6372
6373 2003-02-17  John Levon  <levon@movementarian.org>
6374
6375         * text.C (Delete): fix case where delete at the end of
6376           the very first paragraph would not merge the pars
6377
6378 2003-02-17  John Levon  <levon@movementarian.org>
6379
6380         * lyxrow.C: fix lastPrintablePos()
6381
6382 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6383
6384         * bufferparams.C (writeLaTeX): add a std:here
6385
6386         * buffer.C: and remove a using directive there
6387
6388 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6389
6390         * buffer.C (makeLaTeXFile): move the code that generates the
6391           preamble...
6392
6393         * bufferparams.C (writeLaTeX): ... in this new method
6394
6395         * LaTeXFeatures.C (getEncodingSet): make const
6396           (getLanguages): make const
6397
6398         * MenuBackend.C (binding): returns the binding associated to this
6399           action
6400           (add): sets the status of each item by calling getStatus. Adds
6401           some intelligence.
6402           (read): add support for OptSubMenu
6403           (expand): remove extra separator at the end of expanded menu
6404
6405 2003-02-15  John Levon  <levon@movementarian.org>
6406
6407         * BufferView.C:
6408         * BufferView_pimpl.C:
6409         * bufferlist.h:
6410         * bufferlist.C: remove pointless BufferStorage bloat. Remove
6411           inset code that had no actual effect. Remove unneeded status
6412           code.
6413
6414 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6415
6416         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6417           in preamble
6418
6419 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
6420
6421         * text.C (drawLengthMarker): also draw an arrow marker for
6422           symbolic lengths (medskip...)
6423
6424 2003-02-14  John Levon  <levon@movementarian.org>
6425
6426         * tabular.h:
6427         * tabular.C: better method names
6428
6429 2003-02-14  John Levon  <levon@movementarian.org>
6430
6431         * BufferView_pimpl.C:
6432         * bufferlist.C:
6433         * buffer.C:
6434         * converter.C:
6435         * lyx_cb.C:
6436         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6437           it's a more accurate name. Remove some pointless uses.
6438
6439 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6440
6441         * text2.C (LyXText): change order of initilizers to shut off
6442           warnings
6443
6444 2003-02-14  John Levon  <levon@movementarian.org>
6445
6446         * buffer.C: use ParIterator for getParFromID()
6447
6448         * paragraph.h:
6449         * paragraph.C:
6450         * paragraph_pimpl.h:
6451         * paragraph_pimpl.C: remove unused getParFromID()
6452
6453 2003-02-14  John Levon  <levon@movementarian.org>
6454
6455         * buffer.C: remove some very old #if 0'd parse code
6456
6457 2003-02-13  John Levon  <levon@movementarian.org>
6458
6459         * text.h:
6460         * text.C:
6461         * text2.C: move hfillExpansion(), numberOfSeparators(),
6462           rowLast(), rowLastPrintable(), numberofHfills(),
6463           numberOfLabelHfills() ...
6464
6465         * lyxrow.h:
6466         * lyxrow.C: ... to member functions here.
6467
6468         * paragraph.h:
6469         * paragraph.C:
6470         * lyxtext.h:
6471         * text.C: remove LyXText::beginningOfMainBody(), and call
6472           p->beginningOfMainBody() directly. Move the check for
6473           LABEL_MANUAL into the latter.
6474
6475         * text.h:
6476         * text.C:
6477         * text2.C:
6478         * vspace.C:
6479         * BufferView.h:
6480         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6481
6482         * text.h:
6483         * text.C:
6484         * text2.C:
6485         * text3.C:
6486         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6487           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6488
6489 2003-02-13  John Levon  <levon@movementarian.org>
6490
6491         * CutAndPaste.C: remove debug
6492
6493 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6494
6495         * paragraph.C (asString): remove two unused variables
6496
6497         * lyxtextclass.C (readTitleType):
6498           (Read):
6499           (LyXTextClass): handle new members titletype_ and titlename_
6500
6501         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6502
6503 2003-02-09  John Levon  <levon@movementarian.org>
6504
6505         * buffer.h:
6506         * buffer.C: replace hand-coded list with a map for the dep clean
6507
6508 2003-02-08  John Levon  <levon@movementarian.org>
6509
6510         * LaTeX.C: consolidate code into showRunMessage() helper
6511
6512 2003-02-08  John Levon  <levon@movementarian.org>
6513
6514         * lyxfind.C:
6515         * lyxtext.h:
6516         * text2.C:
6517         * BufferView.C: change setSelectionOverString() to setSelectionRange()
6518           and pass the size in explicitly
6519
6520         * BufferView_pimpl.h:
6521         * BufferView_pimpl.C:
6522         * BufferView.h:
6523         * BufferView.C: add getCurrentChange()
6524
6525         * BufferView_pimpl.h:
6526         * BufferView_pimpl.C: handle change lfuns
6527
6528         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6529           for changes. Mark pasted paragraphs as new.
6530
6531         * support/lyxtime.h:
6532         * support/lyxtime.C:
6533         * DepTable.C: abstract time_t as lyx::time_type
6534
6535         * LColor.h:
6536         * LColor.C: add colours for new text, deleted text, changebars
6537
6538         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6539           package use "usenames" option.
6540
6541         * commandtags.h:
6542         * lyxfunc.C:
6543         * LyXAction.C: add change lfuns
6544
6545         * Makefile.am:
6546         * author.h:
6547         * author.C: author handling
6548
6549         * buffer.h:
6550         * buffer.C: add a per-buffer author list, with first entry as
6551           current author. Handle new .lyx tokens for change tracking. Output
6552           author list to .lyx file. Output dvipost stuff to .tex preamble.
6553           Bump lyx format to 222.
6554
6555         * bufferlist.h:
6556         * bufferlist.C: add setCurrentAuthor() to reset current author details
6557           in all buffers.
6558
6559         * bufferparams.h:
6560         * bufferparams.C: add param for tracking
6561
6562         * bufferview_funcs.C: output change info in minibuffer
6563
6564         * Makefile.am:
6565         * changes.h:
6566         * changes.C: add change-tracking structure
6567
6568         * debug.h:
6569         * debug.C: add CHANGES debug flag
6570
6571         * lyxfind.h:
6572         * lyxfind.C: add code for finding the next change piece
6573
6574         * lyxrc.h:
6575         * lyxrc.C: add user_name and user_email
6576
6577         * lyxrow.h:
6578         * lyxrow.C: add a metric for the top of the text line
6579
6580         * lyxtext.h:
6581         * text.C: implement accept/rejectChange()
6582
6583         * lyxtext.h:
6584         * text.C: paint changebars. Paint new/deleted text in the chosen
6585         colours. Strike through deleted text.
6586
6587         * paragraph.h:
6588         * paragraph.C:
6589         * paragraph_pimpl.h:
6590         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6591           in the current change to the insert functions. Rework erase to
6592           mark text as deleted, adding an eraseIntern() and a range-based
6593           erase(). Implement per-paragraph change lookup and
6594           accept/reject.
6595
6596         * paragraph_funcs.C: Fixup paste for change tracking.
6597
6598         * tabular.C: mark added row/columns as new.
6599
6600         * text.C: fix rowLast() to never return -1. Don't allow
6601           spellchecking of deleted text. Track transpose changes. Don't
6602           allow paragraph break or merge where appropriate.
6603
6604         * text2.C: leave cursor at end of selection after a cut.
6605
6606 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6607
6608         * text.C (getLengthMarkerHeight):
6609         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6610         visible on screen too.
6611
6612 2003-02-07  John Levon  <levon@movementarian.org>
6613
6614         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6615
6616 2003-02-05  Angus Leeming  <leeming@lyx.org>
6617
6618         * lyxserver.C (read_ready): revert my patch of 11 September last year
6619         as it sends PC cpu through the roof. Presumably this means that
6620         the lyxserver will no longer run on an Alpha...
6621
6622 2003-01-30  Angus Leeming  <leeming@lyx.org>
6623
6624         * factory.C (createInset): create an InsetCommandParam of type "index"
6625         and use it to 'do the right thing'.
6626
6627         * text2.C (getStringToIndex): ensure that cursor position is always
6628         reset to the reset_cursor position.
6629
6630 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6631
6632         * lyxfunc.C (getStatus): "buffer-export custom" should never be
6633         disabled.
6634
6635 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
6636
6637         * bufferview.C:
6638         * lyxcb.C:
6639         * lyxfunc.C: Output messages with identical spelling, punctuation,
6640         and spaces
6641
6642 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
6643
6644         * MenuBackend.C (expandFormats): List only viewable export formats
6645         in "View" menu
6646
6647         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6648         message
6649
6650         * lyxfunc.C (getStatus): Make sure that formats other than
6651         "fax" can also be disabled
6652
6653 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6654
6655         * text3.C (dispatch): put the lfuns that insert insets in 3
6656         groups, and call doInsertInset with appropriate arguments.
6657         (doInsertInset): new function, that creates an inset and inserts
6658         it according to some boolean parameters.
6659
6660 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6661
6662         * buffer.C (readFile): remember to pass on 'par' when calling
6663         readFile recursively.
6664
6665 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6666
6667         * MenuBackend.C (expandFormats): add "..." to import formats.
6668
6669 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
6670
6671         * paragraph.C (asString): Remove XForms RTL hacks.
6672
6673 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
6674         * buffer.C: fix typo
6675
6676 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6677
6678         * Makefile.am (LIBS): delete var
6679         (lyx_LDADD): add @LIBS@ here instead.
6680
6681 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
6682
6683         * Clarify the meaning of "wheel mouse jump"
6684
6685 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6686
6687         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6688         tabular in a float
6689
6690 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6691
6692         * importer.C (Loaders): do not preallocate 3 elements in the
6693         vector, since one ends up with 6 elements otherwise
6694
6695 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6696
6697         * DepTable.C (write): write the file name as last element of the
6698         .dep file (because it may contain spaces)
6699         (read): read info in the right order
6700
6701 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6702
6703         * paragraph_pimpl.C (simpleTeXBlanks):
6704         (simpleTeXSpecialChars):
6705         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6706
6707         * tabular.C (latex): add some missing case statements. Reindent.
6708
6709         * MenuBackend.C (expandToc): remove unused variable.
6710
6711 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
6712
6713         * LColor.C:
6714         * LaTeX.C:
6715         * LyXAction.C:
6716         * MenuBackend.C:
6717         * buffer.C:
6718         * exporter.C:
6719         * lyxfunc.C:
6720         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6721         and the like.
6722
6723 2003-01-05  John Levon  <levon@movementarian.org>
6724
6725         * BufferView.h:
6726         * BufferView.C: add getEncoding()
6727
6728         * kbsequence.h:
6729         * kbsequence.C: do not store last keypress
6730
6731         * lyxfunc.h:
6732         * lyxfunc.C: store last keypress here instead. Pass encoding
6733           to getISOEncoded()
6734
6735 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6736
6737         * lyx_main.C (init): remove annoying error message when following
6738         symbolic links (bug #780)
6739
6740 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6741
6742         * text.C (insertChar):
6743         * lyxrc.C (getDescription): remove extra spaces
6744
6745 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6746
6747         * lyxrc.C (getDescription): remove extra spaces
6748
6749 2002-12-20  John Levon  <levon@movementarian.org>
6750
6751         * text3.C: hack fix for page up/down across tall rows
6752
6753 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6754
6755         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6756         not been invoked
6757
6758 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6759
6760         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6761         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6762         thesaurus is not compiled in
6763
6764 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
6765
6766         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6767
6768 2002-12-16  Angus Leeming  <leeming@lyx.org>
6769
6770         * lyxrc.[Ch]:
6771         * lyx_main.C (init): remove override_x_deadkeys stuff.
6772
6773 2002-12-12  John Levon  <levon@movementarian.org>
6774
6775         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6776           insert. Only remove shift modifier under strict
6777           circumstances.
6778
6779 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6780
6781         * MenuBackend.C (expandToc): fix crash.
6782
6783 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6784
6785         * MenuBackend.C (expandToc): gettext on float names.
6786
6787 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6788
6789         * lyxlength.[Ch]: set default unit to UNIT_NONE,
6790         implement bool empty() [bug 490]
6791
6792 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6793
6794         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6795
6796 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6797
6798         * several files: ws changes
6799
6800 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6801
6802         * text2.C (setCounter): clean up a bit, use boost.format.
6803         (updateCounters): initialize par upon declaration.
6804
6805         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6806         if the layout exists. We do not just store the layout any more.
6807         (SwitchLayoutsBetweenClasses): use boost.format
6808
6809 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6810
6811         * converter.C (convert): if from and to files are the same, use a
6812         temporary files as intermediary
6813
6814 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6815
6816         * commandtags.h:
6817         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6818
6819 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6820
6821         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6822
6823 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6824
6825         * tabular.C (asciiPrintCell): use string(size, char) instead of
6826         explicit loop.
6827
6828         * sgml.C (openTag): fix order of arguments to string constructor
6829         (closeTag): ditto
6830
6831         * lyxfunc.C (dispatch): use boost.format
6832
6833         * lots of files: change "c" -> 'c'
6834
6835 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6836
6837         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6838
6839 2002-11-25  Angus Leeming  <leeming@lyx.org>
6840
6841         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6842
6843         * lyx_main.C (init): compile fix.
6844
6845 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6846
6847         * lyx_cb.C (start): boost.formatify
6848         do not include <iostream>
6849
6850         * lengthcommon.C: ws only
6851
6852         * boost-inst.C,BoostFormat.h: add more explict instantations
6853
6854 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6855
6856         * lots of files: handle USE_BOOST_FORMAT
6857
6858 2002-11-21  John Levon  <levon@movementarian.org>
6859
6860         * pspell.C: fix compile
6861
6862 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6863
6864         * lyxfunc.C (dispatch): use boost::format
6865         (open): ditto
6866         (doImport): ditto
6867
6868         * lyxfont.C (stateText): use boost::format
6869
6870         * lyx_main.C (LyX): use boost::format
6871         (init): ditto
6872         (queryUserLyXDir): ditto
6873         (readRcFile): ditto
6874         (parse_dbg): ditto
6875         (typedef boost::function): use the recommened syntax.
6876
6877         * importer.C (Import): use boost::format
6878
6879         * debug.C (showLevel): use boost::format
6880
6881         * converter.C (view): use boost::format
6882         (convert): ditto
6883         (move): ditto
6884         (scanLog): ditto
6885
6886         * bufferview_funcs.C (currentState): use boost::format
6887
6888         * bufferlist.C (emergencyWrite): use boost::format
6889
6890         * buffer.C (readLyXformat2): use boost::format
6891         (parseSingleLyXformat2Token): ditto
6892
6893         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6894
6895         * LaTeX.C (run): use boost::format
6896
6897         * Chktex.C (scanLogFile): use boost::format
6898
6899         * BufferView_pimpl.C (savePosition): use boost::format
6900         (restorePosition): ditto
6901         (MenuInsertLyXFile): ditto
6902
6903         * BoostFormat.h: help file for explicit instation.
6904
6905 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6906
6907         * tabular.C (latex): Support for block alignment in fixed width
6908         columns.
6909
6910 2002-11-17  John Levon  <levon@movementarian.org>
6911
6912         * BufferView_pimpl.C:
6913         * lyx_cb.C:
6914         * lyxfunc.C: split filedialog into open/save
6915
6916 2002-11-08  Juergen Vigna  <jug@sad.it>
6917
6918         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6919         by my last patch (hopefully).
6920
6921 2002-11-08  John Levon  <levon@movementarian.org>
6922
6923         * iterators.h:
6924         * iterators.C:
6925         * buffer.h:
6926         * buffer.C:
6927         * paragraph.h:
6928         * paragraph.C:
6929         * toc.h:
6930         * toc.C: ParConstIterator, and use it (from Lars)
6931
6932 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6933
6934         * lyxtextclass.[Ch]: revise and add doxygen comments
6935
6936 2002-11-07  John Levon  <levon@movementarian.org>
6937
6938         * text.C: fix progress value for spellchecker
6939
6940         * toc.C: fix navigate menu for insetwrap inside minipage
6941
6942         * paragraph_funcs.C: added FIXME for suspect code
6943
6944 2002-11-07  John Levon  <levon@movementarian.org>
6945
6946         * BufferView_pimpl.C: fix redrawing of insets
6947           on buffer switch
6948
6949 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6950
6951         * text2.C (updateCounters): fix bug 668
6952
6953 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
6954
6955         * text3.C (dispatch): Do not make the buffer dirty when moving the
6956         cursor.
6957
6958 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6959
6960         * vc-backend.C: STRCONV
6961         (scanMaster): ditto
6962
6963         * text2.C (setCounter): STRCONV
6964
6965         * paragraph.C (asString): STRCONV
6966
6967         * lyxlength.C (asString): STRCONV
6968         (asLatexString): ditto
6969
6970         * lyxgluelength.C (asString): STRCONV
6971         (asLatexString): ditto
6972
6973         * lyxfunc.C (dispatch): STRCONV
6974         (open): ditto
6975
6976         * lyxfont.C (stateText): STRCONV
6977
6978         * importer.C (Import): STRCONV
6979
6980         * counters.C (labelItem): STRCONV
6981         (numberLabel): ditto
6982         (numberLabel): remove unused ostringstream o
6983
6984         * chset.C: STRCONV
6985         (loadFile): ditto
6986
6987         * bufferview_funcs.C (currentState): STRCONV
6988
6989         * buffer.C (readFile): STRCONV
6990         (asciiParagraph): ditto
6991         (makeLaTeXFile): ditto
6992
6993         * Spacing.C (writeEnvirBegin): STRCONV
6994
6995         * LaTeXFeatures.C (getLanguages): STRCONV
6996         (getPackages): ditto
6997         (getMacros): ditto
6998         (getBabelOptions): ditto
6999         (getTClassPreamble): ditto
7000         (getLyXSGMLEntities): ditto
7001         (getIncludedFiles): ditto
7002
7003         * LaTeX.C: STRCONV
7004         (run): ditto
7005         (scanAuxFile): ditto
7006         (deplog): ditto
7007
7008         * LString.h: add the STRCONV macros
7009
7010         * BufferView_pimpl.C (savePosition): STRCONV
7011         (restorePosition): ditto
7012         (MenuInsertLyXFile): ditto
7013
7014         * vc-backend.C (scanMaster): change from submatch[...] to
7015         submatch.str(...)
7016
7017         * funcrequest.C: include config.h
7018
7019         * factory.C: include config.h
7020
7021         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7022
7023         * box.C: include config.h
7024
7025         * LaTeX.C (scanAuxFile): change from submatch[...] to
7026         submatch.str(...)
7027         (deplog): ditto
7028
7029 2002-10-25  Angus Leeming  <leeming@lyx.org>
7030
7031         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7032
7033         * ispell.[Ch] (setError): new method.
7034         * ispell.C (c-tor): move out child process into new class LaunchIspell.
7035         Use setError() insetead of goto END.
7036
7037         * lyx_cb.C (AutoSave): move out child process into new class
7038         AutoSaveBuffer.
7039
7040 2002-10-30  John Levon  <levon@movementarian.org>
7041
7042         * text3.C: make start appendix undoable
7043
7044 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
7045
7046         * lyxlength.C (inPixels): Fix returned value.
7047
7048         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7049         environment.
7050
7051 2002-10-24  Angus Leeming  <leeming@lyx.org>
7052
7053         * lyxgluelength.h: no need to forward declare BufferParams
7054         or BufferView, so don't.
7055
7056 2002-10-21  John Levon  <levon@movementarian.org>
7057
7058         * BufferView.C: menuUndo ->undo, redo
7059
7060         * BufferView.h: document, remove dead, make some methods private
7061
7062         * paragraph_funcs.h:
7063         * paragraph_funcs.C:
7064         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7065
7066         * buffer.h:
7067         * buffer.C:
7068         * sgml.h:
7069         * sgml.C: move sgml open/close tag into sgml.C
7070
7071         * bufferview_funcs.h: unused prototype
7072
7073         * lyxfunc.h:
7074         * lyxfunc.C: remove unused
7075
7076         * lyxtext.h:
7077         * text.C: remove unused
7078
7079 2002-10-21  John Levon  <levon@movementarian.org>
7080
7081         * BufferView.h:
7082         * BufferView.C:
7083         * BufferView_pimpl.h:
7084         * BufferView_pimpl.C: fix mouse wheel handling based on
7085           patch from Darren Freeman
7086
7087 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
7088
7089         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7090
7091 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
7092
7093         * lyxlength.C (inPixels): Fix hanfling of negative length.
7094         Fix LyXLength::MU case.
7095
7096 2002-10-16  John Levon  <levon@movementarian.org>
7097
7098         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7099
7100 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7101
7102         * converter.C (view): add support for $$i (file name) and $$p
7103         (file path) for the viewer command. If $$i is not specified, then
7104         it is appended to the command (for compatibility with old syntax)
7105
7106 2002-10-14  Juergen Vigna  <jug@sad.it>
7107
7108         * undo_funcs.C (textHandleUndo): alter the order in which the
7109         new undopar is added to the LyXText, as we have to set first
7110         the right prev/next and then add it as otherwise the rebuild of
7111         LyXText is not correct. Also reset the cursor to the right paragraph,
7112         with this IMO we could remove the hack in "redoParagraphs()".
7113
7114 2002-10-09  Angus Leeming  <leeming@lyx.org>
7115
7116         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7117         to turn off an optimisation if a new inset is to be inserted.
7118
7119 2002-10-11 André Pönitz <poenitz@gmx.net>
7120
7121         * lyxtext.h: make some functions public to allow access
7122         from inset/lyxtext for handling LFUN_PRIOR/NEXT
7123
7124 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7125
7126         * text3.C (dispatch): when changing layout, avoid an infinite loop
7127         [bug #652]
7128
7129 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7130
7131         * lyxrc.C (read): treat a viewer or converter command of "none" as
7132         if it were empty.
7133
7134         * MenuBackend.C (expandFormats): for an update, also allow the
7135         formats that are not viewable
7136
7137         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7138         script if it is newer than the lyxrc.defaults in user directory
7139
7140 2002-10-07 André Pönitz <poenitz@gmx.net>
7141
7142         * text.C: Vitaly Lipatov's small i18n fix
7143
7144 2002-09-25  Angus Leeming  <leeming@lyx.org>
7145
7146         * ispell.h: doxygen fix.
7147
7148 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
7149
7150         * buffer.h (readFile): Add a new argument to the method, to allow
7151         reading of old-format templates.
7152
7153 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
7154
7155         * toc.C (getTocList): Get TOC from InsetWrap.
7156
7157 2002-09-16  John Levon  <levon@movementarian.org>
7158
7159         * lyxfunc.C: check tabular for cut/copy too
7160
7161 2002-09-12  John Levon  <levon@movementarian.org>
7162
7163         * LyXAction.C: tidy
7164
7165         * factory.h:
7166         * factory.C: add header
7167
7168         * paragraph_funcs.h:
7169         * paragraph_funcs.C: cleanup
7170
7171 2002-09-11  John Levon  <levon@movementarian.org>
7172
7173         * PrinterParams.h: odd/even default to true
7174
7175 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
7176
7177         * PrinterParams.h: update printer parameters for new xforms dialog
7178
7179 2002-09-11  Angus Leeming  <leeming@lyx.org>
7180
7181         * lyxserver.C (read_ready): re-write to make it more transparent
7182         and to make it work in coherent fashion under Tru64 Unix.
7183
7184 2002-09-11  André Pönitz <poenitz@gmx.net>
7185
7186         * commandtags.h:
7187         * LyXAction.C:
7188         * text3.C: implement LFUN_WORDSEL
7189
7190 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7191
7192         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7193         make floatlist_ a boost::shared_ptr<FloatList>
7194
7195         * lyxtextclass.C: include FloatList.h
7196         (LyXTextClass): initialize floatlist_
7197         (TextClassTags): add TC_NOFLOAT
7198         (Read): match "nofloat" to TC_NOFLOAT and use it.
7199         (readFloat): modify call to floatlist_
7200         (floats): ditto
7201         (floats): ditto
7202
7203         * FloatList.[Ch] (FloatList): remove commented out float
7204         initialization.
7205         (erase): new function
7206
7207 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7208
7209         * MenuBackend.C (expandToc): fix crash when there is no document
7210         open
7211
7212 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
7213
7214         * many files: Add insetwrap.
7215
7216 2002-09-09  John Levon  <levon@movementarian.org>
7217
7218         * text2.C: remove confusing and awkward depth wraparound
7219
7220 2002-09-09  John Levon  <levon@movementarian.org>
7221
7222         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7223
7224         * buffer.h:
7225         * buffer.C: remove getIncludeonlyList()
7226
7227         * paragraph.C:
7228         * lyxfunc.C: remove headers
7229
7230 2002-09-09  Juergen Vigna  <jug@sad.it>
7231
7232         * text.C (getColumnNearX): fix form Michael this is most
7233         probably a cut&paste bug.
7234
7235 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7236
7237         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7238
7239         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7240         references, ws changes.
7241
7242         * text2.C (init): update counters after init
7243         (insertParagraph): no need to set counter on idividual paragraphs.
7244         (setCounter): access the counters object in the textclass object
7245         on in the buffer object.
7246         (updateCounters): ditto
7247
7248         * lyxtextclass.C: include counters.h, add variable ctrs_ as
7249         shared_ptr<Counters> to avoid loading counters.h in all
7250         compilation units.
7251         (LyXTextClass): initialize ctrs_
7252         (TextClassTags): add TC_COUNTER, and ...
7253         (Read): use it here.
7254         (CounterTags): new tags
7255         (readCounter): new function
7256         (counters): new funtion
7257         (defaultLayoutName): return a const reference
7258
7259         * counters.C (Counters): remove contructor
7260         (newCounter): remove a couple of unneeded statements.
7261         (newCounter): simplify a bit.
7262         (numberLabel): some small formatting changes.
7263
7264         * buffer.[Ch]: remove all traces of counters, move the Counters
7265         object to the LyXTextClass.
7266
7267 2002-09-06  Alain Castera  <castera@in2p3.fr>
7268
7269         * tabular.C: uses \tabularnewline; uses >{...} construct from array
7270         package to set the horizontal alignment on fixed width columns.
7271
7272         * lyx_sty.C:
7273         * lyx_sty.h: added tabularnewline macro def.
7274
7275         * LaTeXFeatures.C: added NeedTabularnewline macro feature
7276
7277 2002-09-06  John Levon  <levon@movementarian.org>
7278
7279         * LyXAction.C: tooltips for sub/superscript
7280
7281         * MenuBackend.C: a bit more verbose
7282
7283         * lyxfunc.C: tiny clean
7284
7285         * undo_funcs.C: document undo_frozen
7286
7287 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7288
7289         * counters.C (Counters): add missing algorithm counter.
7290
7291         * text2.C (setCounter): lookup the counter with layouts latexname
7292         instead of by section number.
7293         (setCounter): use a hackish way to lookup the correct enum
7294         counter.
7295         a float name->type change
7296         reset enum couners with counter name directly instead of depth value.
7297
7298         * counters.C (Counters): remove the push_backs, change to use the
7299         float type not the float name.
7300         (labelItem): remove unused string, float name->type change
7301
7302         * counters.h: don't include vector, loose the enums and sects vectors
7303
7304 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7305
7306         * lyxtextclass.C (TextClassTags): add TC_FLOAT
7307         (Read): add float->TC_FLOAT to textclassTags
7308         (Read): and handle it in the switch
7309         (readFloat): new function
7310
7311         * FloatList.C (FloatList): comment out the hardcoded float
7312         definitions.
7313
7314         * lyxlayout.h: ws change.
7315
7316 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
7317
7318         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7319
7320 2002-09-03  Angus Leeming  <leeming@lyx.org>
7321
7322         * BufferView_pimpl.h: qualified name is not allowed in member
7323         declaration: WorkArea & Pimpl::workarea() const;
7324
7325         * factory.C: added using std::endl directive.
7326
7327         * text3.C: added using std::find and std::vector directives.
7328
7329 2002-08-29  André Pönitz <poenitz@gmx.net>
7330
7331         * lyxtext.h:
7332         * text2.C: remove unused member number_of_rows
7333
7334         * Makefile.am:
7335         * BufferView2.C: remove file, move contents to...
7336         * BufferView.C: ... here
7337
7338         * BufferView_pimpl.C:
7339         * factory.C: move more inset creation to factory
7340
7341         * vspace.C: avoid direct usage of LyXText, ws changes
7342
7343         * BufferView.[Ch]:
7344                 don't provide direct access to WorkArea, use two simple
7345                 acessors haveSelction() and workHeight() instead
7346
7347
7348 2002-08-29  John Levon  <levon@movementarian.org>
7349
7350         * BufferView_pimpl.C (dispatch): do not continue when
7351           no buffer
7352
7353 2002-08-28  André Pönitz <poenitz@gmx.net>
7354
7355         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7356
7357         * BufferView.h:
7358         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7359
7360 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
7361
7362         * buffer.C: increment LYX_FORMAT to 221
7363
7364         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7365         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7366
7367         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7368
7369         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7370
7371 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7372
7373         * factory.C (createInset): use LyXTextClass::floats
7374
7375         * MenuBackend.C (expandFloatListInsert):
7376         (expandFloatInsert):
7377         (expandToc):
7378
7379         * text2.C (setCounter):
7380
7381         * LaTeXFeatures.C (useFloat):
7382         (getFloatDefinitions):
7383
7384         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7385
7386         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7387         floatlist_, with accessor floats().
7388
7389         * FloatList.h: remove global FloatList
7390
7391 2002-08-26  André Pönitz <poenitz@gmx.net>
7392
7393         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7394
7395         * BufferView.h:
7396         * BufferView2.C:
7397         * BufferView_pimpl.C:
7398         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7399
7400 2002-08-25  John Levon  <levon@movementarian.org>
7401
7402         * LyXAction.C: fix margin note description
7403
7404 2002-08-24  John Levon  <levon@movementarian.org>
7405
7406         * buffer.C:
7407         * bufferlist.C:
7408         * bufferview_funcs.C:
7409         * lyxfont.C:
7410         * undo_funcs.C: cleanups
7411
7412         * lyxfunc.C: disable CUT/COPY when no selection
7413
7414 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
7415
7416         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7417         in "enum UNIT"; e.g. PTW for Percent of TextWidth
7418
7419         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7420         Add backward compatibility to "mono", "gray" and "no".
7421
7422 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
7423
7424         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7425         (and file_format >= 200).
7426
7427 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7428
7429         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7430
7431 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7432
7433         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7434
7435 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
7436
7437         * BufferView_pimpl.C:
7438         * LyXAction.C:
7439         * buffer.C:
7440         * commandtags.h:
7441         * lyxfunc.C:
7442         * paragraph.[Ch]:
7443         * text2.C:
7444         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7445         inset and code to make it  work with the paragraph code. The inset
7446         can be anywhere in the paragraph, but will only do the expected
7447         thing in LaTeX if the layout file contains the parameter line
7448                         OptionalArgs    1
7449         (or more generally, a nonzero value) for that layout.
7450
7451 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7452
7453         * paragraph.h: remove the declaration of undefined counters class
7454         function.
7455
7456 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
7457
7458         * text2.C (setCounter):  fixed enumeration mis-count as reported by
7459         Dr. Richard Hawkins.
7460
7461 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7462
7463         * paragraph_funcs.h: remove some unneeded includes
7464
7465         * text.C (backspace): pasteParagraph now in global scipe
7466
7467         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7468         (pasteSelection): ditto
7469
7470         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7471         * paragraph_funcs.C (pasteParagraph): ... here
7472
7473 2002-08-20  André Pönitz <poenitz@gmx.net>
7474
7475         * commandtags.h: new LFUNs for swapping/copying table row/colums
7476
7477         * LyXAction.C:
7478         * lyxfunc.C: support for new lfuns
7479
7480 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7481
7482         * tabular.C:
7483         * buffer.[Ch]: remove NO_COMPABILITY stuff
7484
7485 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
7486
7487         * boost.C (throw_exception): new file, with helper function for
7488         boost compiled without exceptions.
7489
7490         * paragraph.h:
7491         * lyxlength.C:
7492         * buffer.C:
7493         * ParameterStruct.h:
7494         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7495
7496         * bufferlist.C (emergencyWriteAll): use boost bind
7497
7498         * BufferView_pimpl.C (moveCursorUpdate): remove inline
7499
7500         * text.C: include paragraph_funcs.h
7501         (breakParagraph): breakParagraph is now in global scope
7502
7503         * paragraph_funcs.[Ch]: new files
7504
7505         * paragraph.C (breakParagraph,breakParagraphConservative): move to
7506         global scope
7507
7508         * buffer.C: include paragraph_funcs.h
7509         (insertStringAsLines): breakParagraph is now in global scope
7510
7511         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7512         paragraph_funcs.C
7513
7514         * CutAndPaste.C: include paragraph_funcs.h
7515         (cutSelection): breakParagraphConservative is now in global scope
7516         (pasteSelection): ditto
7517
7518         * buffer.h: declare oprator== and operator!= for
7519         Buffer::inset_iterator
7520
7521         * bufferlist.C (emergencyWrite): don't use fmt(...)
7522
7523         * text3.C: add using std::endl
7524
7525         * BufferView.C (moveCursorUpdate): remove default arg
7526
7527 2002-08-20  André Pönitz <poenitz@gmx.net>
7528
7529         * buffer.[Ch]: move inline functions to .C
7530
7531         * BufferView2.C:
7532         * BufferView_pimpl.C:
7533         * text.C:
7534         * buffer.[Ch]: use improved inset_iterator
7535
7536         * buffer.C:
7537         * paragraph.[Ch]: write one paragraph at a time
7538
7539 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
7540
7541         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7542         style if style is not specified.
7543
7544 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7545
7546         * text2.C (setCounter): when searching for right label for a
7547         caption, make sure to recurse to parent insets (so that a caption
7548         in a minipage in a figure float works) (bug #568)
7549
7550 2002-08-20  André Pönitz <poenitz@gmx.net>
7551
7552         * text3.C: new file for LyXText::dispatch() and helpers
7553
7554         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7555
7556         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7557
7558 2002-08-19  André Pönitz <poenitz@gmx.net>
7559
7560         * lyxtext.h:
7561         * text.C: new LyXText::dispatch()
7562
7563         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7564
7565 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
7566
7567         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7568
7569         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7570         Hebrew text.
7571
7572 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7573
7574         * Makefile.am: use $(variables) instead of @substitutions@
7575
7576 2002-08-15  André Pönitz <poenitz@gmx.net>
7577
7578         * lyxfunc.C:
7579         * BufferView_pimpl.C: streamlining mathed <-> outer world
7580         interaction
7581
7582         * commandtags.h:
7583         * LyXAction.C: remove unused LFUN_MATH
7584
7585 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7586
7587         * paragraph.[Ch]: add some NO_NEXT ifdefs.
7588
7589 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7590
7591         * paragraph.C (Paragraph): reformat a bit
7592         (cutIntoMinibuffer): use builtin InsetList function instad of
7593         doing it manually.
7594         (getInset): ditto
7595
7596         * buffer.C: include boost/bind.hpp, add using std::for_each
7597         (writeFileAscii): use ParagraphList iterators
7598         (validate): use for_each for validate traversal of paragraphs
7599         (getBibkeyList): use ParagraphList iterators
7600         (resizeInsets): use for_each to resizeInsetsLyXText for all
7601         paragraphs.
7602         (getParFromID): use ParagraphList iterators
7603
7604         * BufferView2.C (lockInset): use paragraph list and iterators
7605
7606 2002-08-14  John Levon  <levon@movementarian.org>
7607
7608         * lyxserver.C: remove spurious xforms include
7609
7610 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7611
7612         * lyxfunc.C (getStatus): disable math-extern outside of math mode
7613
7614 2002-08-13  André Pönitz <poenitz@gmx.net>
7615
7616         * LyXAction.[Ch]:
7617         * lyxfunc.C: further cleaning
7618
7619 2002-08-13  André Pönitz <poenitz@gmx.net>
7620
7621         * funcrequest.h: new constructor
7622
7623         * funcrequest.C: move stuff here from .h
7624
7625         * Makefile.am:
7626         * BufferView_pimpl.C:
7627         * LyXAction.C:
7628         * toc.C:
7629         * lyxfunc.C: subsequent changes
7630
7631         * lyxfunc.h: new view() member function
7632
7633         * lyxfunc.C: subsequent changes
7634
7635 2002-08-13  Angus Leeming  <leeming@lyx.org>
7636
7637         * BufferView2.C:
7638         * BufferView_pimpl.C:
7639         * buffer.C:
7640         * converter.C:
7641         * importer.C:
7642         * lyxfunc.C:
7643         * lyxvc.C:
7644         * toc.C:
7645         * vc-backend.C:
7646         changes due to the changed LyXView interface that now returns references
7647         to member variables not pointers.
7648
7649 2002-08-13  Angus Leeming  <leeming@lyx.org>
7650
7651         * WordLangTuple (word, lang_code): return references to strings,
7652         not strings.
7653
7654         * BufferView.h:
7655         * SpellBase.h:
7656         * lyxtext.h: forward-declare WordLangTuple.
7657
7658         * BufferView2.C:
7659         * ispell.C:
7660         * pspell.C:
7661         * text.C: #include "WordLangTuple.h".
7662
7663         * lyxtext.h:
7664         * text.C: (selectNextWordToSpellcheck): constify return type.
7665
7666 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
7667
7668         * buffer.C:
7669         * buffer.h:
7670         * lyxtext.h:
7671         * paragraph.C:
7672         * paragraph_pimpl.h:
7673         * text.C:
7674         * text2.C:
7675         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7676         suggested by Angus.
7677         Made updateCounter always count from start of buffer, and removed
7678         second argument (par).
7679         Reverted floats number display to '#'. Perhaps I'll try again when the
7680         code base is sanitized a bit.
7681
7682 2002-08-12  Angus Leeming  <leeming@lyx.org>
7683
7684         * buffer.[Ch] (getLabelList): constify.
7685
7686 2002-08-07  André Pönitz <poenitz@gmx.net>
7687
7688         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7689
7690         * funcrequest.h: extension to keep mouse (x,y) position
7691
7692 2002-08-12  Juergen Vigna  <jug@sad.it>
7693
7694         * BufferView2.C (insertErrors): forbid undo when inserting error
7695         insets.
7696
7697         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7698
7699 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7700
7701         * ParagraphList.[Ch]: new files
7702
7703         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7704
7705         * BufferView2.C (lockInset): ParagraphList changes
7706         * toc.C: ditto
7707         * text2.C: ditto
7708         * bufferlist.C: ditto
7709         * buffer.h: ditto
7710         * buffer.C: ditto
7711
7712 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7713
7714         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7715         unused class variable counter_,
7716
7717         * paragraph.[Ch] (getFirstCounter): delete unused function
7718
7719         * counters.C: include LAssert.h
7720         (reset): add a new function with no arg, change other version to
7721         not have def. arg and to not allow empty arg.
7722
7723         * text2.C (setCounter): remove empty arg from call to Counters::reset
7724
7725 2002-08-11  John Levon  <levon@movementarian.org>
7726
7727         * Makefile.am: add WordLangTuple.h
7728
7729 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7730
7731         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7732         lyxfunc.C lyxlex_pimpl.C: ws changes only.
7733
7734         * insets/insettext.C: InsetList changes
7735
7736         * graphics/GraphicsSupport.C (operator()): InsetList changes
7737
7738         * toc.C (getTocList): InsetList changes
7739
7740         * paragraph_pimpl.[Ch]: InsetList changes
7741
7742         * paragraph.[Ch]: InsetList changes
7743
7744         * buffer.C (inset_iterator): InsetList changes
7745         (setParagraph): ditto
7746         * buffer.h (inset_iterator): ditto
7747         * iterators.C (operator++): ditto
7748         * iterators.h: ditto
7749
7750         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7751
7752         * InsetList.[Ch]: new files, most InsetList handling moved out of
7753         paragraph.C.
7754
7755         * BufferView2.C (removeAutoInsets): InsetList changes
7756         (lockInset): ditto
7757         (ChangeInsets): ditto
7758
7759 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7760
7761         * paragraph_pimpl.h (empty): new function
7762
7763         * paragraph.[Ch] (empty): new function
7764
7765         * other files: use the new Paragraph::empty function
7766
7767 2002-08-09  John Levon  <levon@movementarian.org>
7768
7769         * lyxtext.h: remove unused refresh_height
7770
7771 2002-08-09  John Levon  <levon@movementarian.org>
7772
7773         * Makefile.am:
7774         * sgml.h:
7775         * sgml.C:
7776         * buffer.C:
7777         * paragraph.h:
7778         * paragraph.C: move sgml char escaping out of paragraph
7779
7780         * paragraph.h:
7781         * paragraph.C: remove id setter
7782
7783         * buffer.C:
7784         * paragraph.C:
7785         * paragraph_pimpl.C: remove dead tex_code_break_column
7786
7787         * bufferview_funcs.C: small cleanup
7788
7789         * lyxfunc.C: remove dead proto
7790
7791         * lyxtext.h: make some stuff private. Remove some dead stuff.
7792
7793         * lyxgluelength.C: make as[LyX]String() readable
7794
7795 2002-08-08  John Levon  <levon@movementarian.org>
7796
7797         * LyXAction.h:
7798         * LyXAction.C:
7799         * MenuBackend.C:
7800         * ToolbarDefaults.C:
7801         * lyxfunc.C:
7802         * lyxrc.C:
7803         * toc.C: lyxaction cleanup
7804
7805 2002-08-08  John Levon  <levon@movementarian.org>
7806
7807         * BufferView2.C: small cleanup
7808
7809         * lyxfind.h:
7810         * lyxfind.C: move unnecessary header into the .C
7811
7812 2002-08-08  John Levon  <levon@movementarian.org>
7813
7814         * funcrequest.h: just tedious nonsense
7815
7816         * lyx_main.h:
7817         * lyx_main.C: cleanups
7818
7819         * buffer.C:
7820         * vspace.C: remove dead header lyx_main.h
7821
7822 2002-08-07  Angus Leeming  <leeming@lyx.org>
7823
7824         * Paragraph.[Ch]:
7825         * paragraph_pimpl.h:
7826         Forward declare class Counters in paragraph.h by moving the ctrs member
7827         variable into Paragraph::Pimpl.
7828         (counters): new method, returning a reference to pimpl_->ctrs.
7829
7830         * text2.C: ensuing changes.
7831
7832 2002-08-07  John Levon  <levon@movementarian.org>
7833
7834         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7835
7836         * BufferView_pimpl.C: announce X selection on double/triple
7837           click
7838
7839         * lyx_main.C: use correct bool in batch dispatch
7840
7841         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7842
7843 2002-08-07  André Pönitz <poenitz@gmx.net>
7844
7845         * funcrequest.h: new class to wrap a kb_action and its argument
7846
7847         * BufferView.[Ch]:
7848         * BufferView_pimpl[Ch]:
7849         * LaTeX.C:
7850         * LyXAction.[Ch]:
7851         * lyxfunc.[Ch]:
7852         * lyxrc.C: subsequent changes
7853
7854
7855 2002-08-07  John Levon  <levon@movementarian.org>
7856
7857         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7858           document options change.
7859
7860 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7861
7862         * counters.[Ch]
7863         * text2.C
7864         * paragraph.[Ch]
7865         * makefile.am: move counters functionality over from
7866         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7867
7868 2002-08-06  John Levon  <levon@movementarian.org>
7869
7870         * WordLangTuple.h: new file for word + language code tuple
7871
7872         * SpellBase.h:
7873         * pspell.h:
7874         * pspell.C:
7875         * ispell.h:
7876         * ispell.C:
7877         * lyxtext.h:
7878         * text.C:
7879         * text2.C:
7880         * BufferView.h:
7881         * BufferView2.C: use WordLangTuple
7882
7883         * layout.h:
7884         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7885
7886 2002-08-06  John Levon  <levon@movementarian.org>
7887
7888         * lyx_main.C: fix cmdline batch handling
7889
7890 2002-08-06  André Pönitz <poenitz@gmx.net>
7891
7892         * lyxrc.C: set default for show_banner to true
7893
7894 2002-08-06  John Levon  <levon@movementarian.org>
7895
7896         * pspell.C: fix a crash, and allow new aspell to work
7897
7898 2002-08-06  John Levon  <levon@movementarian.org>
7899
7900         * lyxfunc.C:
7901         * kbmap.C: small cleanup
7902
7903         * vspace.h:
7904         * vspace.C: add const
7905
7906 2002-08-05  John Levon  <levon@movementarian.org>
7907
7908         * LyXAction.C: back to tabular-insert
7909
7910 2002-08-04  John Levon  <levon@movementarian.org>
7911
7912         * BufferView.h:
7913         * BufferView.C: cosmetic change
7914
7915         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7916
7917         * bufferlist.C:
7918         * buffer.h:
7919         * buffer.C:
7920         * lyxcb.h:
7921         * lyxcb.C:
7922         * lyxserver.C:
7923         * lyxvc.C:
7924         * vc-backend.C:
7925         * BufferView2.C: purge all "Lyx" not "LyX" strings
7926
7927         * lyxcursor.h:
7928         * lyxcursor.C: attempt to add some documentation
7929
7930         * lyxfunc.C:
7931         * commandtags.h:
7932         * LyXAction.C:
7933         * ToolbarDefaults.C:
7934         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7935           merge with LFUN_TABULAR_INSERT
7936
7937         * Makefile.am:
7938         * SpellBase.h:
7939         * ispell.h:
7940         * ispell.C:
7941         * pspell.h:
7942         * pspell.C: split up i/pspell implementations into separate
7943           files, many cleanups
7944
7945         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7946
7947         * text2.C: some cleanup
7948
7949         * lyxfunc.C: don't check for isp_command == "none" any more, it
7950           didn't make any sense
7951
7952 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
7953
7954         * counters.[Ch]
7955         * text2.C
7956         * paragraph.[Ch]
7957         * makefile.am: move counters functionality over
7958         from text2.C/paragraph.[Ch] to counters.[Ch], and
7959         make proper C++.
7960 2002-08-02  John Levon  <levon@movementarian.org>
7961
7962         * buffer.C: s/lyxconvert/lyx2lyx/
7963
7964 2002-08-02  Angus Leeming  <leeming@lyx.org>
7965
7966         * lyxlex.C: revert John's change as it breaks reading of the user
7967         preamble.
7968
7969 2002-08-02  Angus Leeming  <leeming@lyx.org>
7970
7971         * importer.C (Import):
7972         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7973         changes due to LyXView::view() now returning a boost::shared_ptr.
7974
7975 2002-08-02  John Levon  <levon@movementarian.org>
7976
7977         * lyxlex.C: small cleanup
7978
7979 2002-08-02  John Levon  <levon@movementarian.org>
7980
7981         * text2.C (status): small cleanup, no logic change
7982
7983 2002-08-01  John Levon  <levon@movementarian.org>
7984
7985         * buffer.h:
7986         * buffer.C (writeFile): don't output alerts, caller
7987           handles this
7988
7989         * bufferlist.C:
7990         * lyx_cb.C: from above
7991
7992         * lyxfunc.C: allow to open non-existent files
7993
7994 2002-07-31  John Levon  <levon@movementarian.org>
7995
7996         * lyxserver.C: don't let incidental errors get
7997           in the way (errno)
7998
7999 2002-07-30  John Levon  <levon@movementarian.org>
8000
8001         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8002
8003 2002-07-30  John Levon  <levon@movementarian.org>
8004
8005         * lyxserver.h:
8006         * lyxserver.C: remove I/O callback too
8007
8008 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8009
8010         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8011         log.
8012
8013 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8014
8015         * many files: strip,frontStrip -> trim,ltrim,rtrim
8016
8017 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8018
8019         * PrinterParams.h: remove extern containsOnly, and include
8020         support/lstrings.h instead.
8021
8022         * LaTeX.C (scanAuxFile): modify because of strip changes
8023         (deplog): ditto
8024         * buffer.C (makeLaTeXFile): ditto
8025         * bufferparams.C (writeFile): ditt
8026         * lyxfont.C (stateText): ditto
8027         * lyxserver.C (read_ready): ditto
8028         * vc-backend.C (scanMaster): ditto
8029
8030         * BufferView_pimpl.h: ws changes
8031
8032         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8033
8034 2002-07-26  André Pönitz <poenitz@gmx.net>
8035
8036         * kb_sequence.C: remove unnedred usings
8037
8038 2002-07-26  Juergen Vigna  <jug@sad.it>
8039
8040         * lyxfind.C (LyXReplace): we have to check better if the returned
8041         text is not of theLockingInset()->getLockingInset().
8042
8043 2002-07-25  Juergen Vigna  <jug@sad.it>
8044
8045         * lyxfind.C (LyXReplace): don't replace if we don't get the
8046         right LyXText.
8047
8048         * undo_funcs.C (createUndo): remove debugging code.
8049
8050 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
8051
8052         * buffer.C (parseSingleLyXformat2Token): Use default placement
8053         when reading old floats.
8054
8055         * FloatList.C (FloatList): Change the default placement of figure
8056         and tables to "tbp".
8057
8058 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
8059
8060         * MenuBackend.C: using std::max
8061
8062 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8063
8064         * MenuBackend.C (expandToc):
8065         (expandToc2): code moved from xforms menu frontend. It is now
8066         generic and TOCs are transparent to menu frontends.
8067
8068 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8069
8070         * toc.C (getTocList): protect against buf=0
8071
8072         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8073         Menu as first parameter. Now, this calls itself recursively to
8074         expand a whole tree (this will be useful for TOC handling)
8075         (expandFloatInsert): remove 'wide' version of floats
8076
8077         * MenuBackend.h (submenuname): returns the name of the submenu.
8078         (submenu): returns the submenu itself, provided it has been
8079         created by MenuBackend::expand
8080
8081 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8082
8083         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8084         insets which have noFontChange == true. (bug #172)
8085
8086 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8087
8088         * BufferView_pimpl.C: add connection objects and use them...
8089         (Pimpl): here.
8090
8091 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8092
8093         * MenuBackend.C (expandLastfiles):
8094         (expandDocuments):
8095         (expandFormats):
8096         (expandFloatListInsert):
8097         (expandFloatInsert):
8098         (expand): split expand in parts
8099
8100 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8101
8102         * lyx_gui.C: use lyx_gui::exit()
8103
8104 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8105
8106         * LyXAction.C: show the failing pseudo action
8107
8108 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
8109
8110         * buffer.C (readFile): Run the lyxconvert script in order to read
8111         old files.
8112
8113 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8114
8115         * LyXAction.C:
8116         * commandtags.h:
8117         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8118
8119 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8120
8121         * LyXAction.C:
8122         * commandtags.h:
8123         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8124
8125 2002-07-22  Herbert Voss  <voss@lyx.org>
8126
8127         * lengthcommon.C:
8128         * lyxlength.[Ch]: add support for the vertical lengths
8129
8130 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
8131
8132         * toc.[Ch]: std:: fixes
8133
8134 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8135
8136         * lyxrc.C: do not include lyx_main.h
8137
8138         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8139         for layouts
8140
8141         * lyxrc.C:
8142         * encoding.C:
8143         * bufferlist.C:
8144         * BufferView2.C: include "lyxlex.h"
8145
8146         * tabular.h:
8147         * bufferparams.h: do not #include "lyxlex.h"
8148
8149         * lyxtextclasslist.C (Add): remove method
8150         (classlist): renamed to classlist_
8151
8152         * paragraph_pimpl.C:
8153         * paragraph.C:
8154         * text2.C:
8155         * CutAndPaste.C:
8156         * bufferview_funcs.C:
8157         * bufferlist.C:
8158         * text.C:
8159         * LaTeXFeatures.C:
8160         * buffer.C:
8161         * toc.C (getTocList): use BufferParams::getLyXTextClass
8162
8163         * toc.C (getTocList): use InsetFloat::addToToc
8164
8165         * toc.[Ch]: new files, containing helper functions to handle table
8166         of contents
8167
8168         * lyxfunc.C (dispatch): no need to remove spaces around command
8169         given as a string
8170         (getStatus): handle LFUN_SEQUENCE by returning the status of the
8171         first command of the sequence; it is not very clever, but I do not
8172         have a better idea, actually
8173
8174         * LyXAction.C (LookupFunc): make sure to remove space at the
8175         beginning and end of the command
8176
8177 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8178
8179         * MenuBackend.C (getMenubar): new method: return the menubar of
8180         this menu set
8181         (read): treat differently reading of menu and menubar (in
8182         particular, the menubar has no name now)
8183         (Menu::menubar): remove
8184
8185         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8186         saving is finished
8187
8188 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8189
8190         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8191         a bibitem inset in a RTL paragraph.
8192
8193 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
8194
8195         * paragraph_pimpl.C: constify
8196
8197         * BufferView_pimpl.C:
8198         * LaTeX.C:
8199         * lyxfunc.C: fix dispatch in a nicer way
8200
8201 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8202
8203         * lyxfunc.C (dispatch):
8204         * BufferView_pimpl.C:
8205         * BufferView_pimpl.h:
8206         * BufferView.C:
8207         * BufferView.h: rename Dispatch() to dispatch()
8208
8209         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8210
8211         * lyxlayout.C (Read): honor DependsOn tag
8212
8213         * lyxlayout.[Ch] (depends_on): new method
8214
8215         * version.C.in: update lyx_docversion
8216
8217         * LaTeXFeatures.C (getMacros): only define \LyX when needed
8218
8219         * paragraph.C (validate): remove from here...
8220         * paragraph_pimpl.C (validate): ... and move here
8221         (isTextAt): make it const
8222
8223         * buffer.C (getLists): ws cleanup
8224
8225 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8226
8227         * language.C (read): Use iso8859-1 encoding in latex_lang
8228         (this prevents LyX from crashing when using iso10646-1 encoding).
8229
8230 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8231
8232         * text2.C (toggleInset): if cursor is inside an inset, close the
8233         inset and leave cursor _after_ it
8234
8235 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8236
8237         * lyxfunc.C: move minibuffer completion handling out of here
8238
8239 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8240
8241         * BufferView_pimpl.C:
8242         * LaTeX.C: fix dispatch calls
8243
8244 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
8245
8246         * text.C (drawChars): Fix Arabic text rendering.
8247
8248 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
8249
8250         * LyXAction.C:
8251         * commandtags.h:
8252         * lyxfunc.C: remove message-push/pop
8253
8254         * lyxserver.C:
8255         * lyxfunc.h:
8256         * lyxfunc.C: rationalise some code by removing verboseDispatch
8257           in favour of a bool argument to dispatch()
8258
8259 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8260
8261         * lyx_main.C (init): make sure to read symlinks as absolute paths
8262
8263 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8264
8265         * lyxfunc.h:
8266         * lyxfunc.C: no need for commandshortcut to be a member
8267
8268 2002-07-15  André Pönitz <poenitz@gmx.net>
8269
8270         * converter.C: add support for $$s (scripts from lib/scripts dir)
8271         * lyx_main.C: white space
8272
8273 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8274
8275         * bufferlist.C:
8276         * lyxrc.h:
8277         * lyxrc.C: remove second exit confirmation
8278
8279 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8280
8281         * BufferView.h:
8282         * BufferView.C:
8283         * BufferView2.C:
8284         * BufferView_pimpl.h:
8285         * BufferView_pimpl.C:
8286         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8287
8288 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8289
8290         * MenuBackend.C (expand): add numeric shortcuts to document menu
8291
8292         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8293
8294 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8295
8296         * lyxfont.C (setLyXFamily):
8297         (setLyXSeries):
8298         (setLyXShape):
8299         (setLyXSize):
8300         (setLyXMisc):
8301         (lyxRead):
8302         * debug.C (value):
8303         * buffer.C (asciiParagraph): use ascii_lowercase
8304
8305 2002-07-15  Mike Fabian  <mfabian@suse.de>
8306
8307         * lyxlex_pimpl.C (search_kw):
8308         * lyxlex.C (getLongString):
8309         * converter.h (operator<):
8310         * converter.C (operator<):
8311         * buffer.C (parseSingleLyXformat2Token):
8312         (asciiParagraph):
8313         * ToolbarDefaults.C (read):
8314         * MenuBackend.C (checkShortcuts):
8315         (read):
8316         * LColor.C (getFromGUIName):
8317         (getFromLyXName): use the compare_ascii_no_case instead of
8318         compare_no_case, because in turkish, 'i' is not the lowercase
8319         version of 'I', and thus turkish locale breaks parsing of tags.
8320
8321 2002-07-16  Angus Leeming  <leeming@lyx.org>
8322
8323         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8324         now takes a Buffer const & argument.
8325
8326 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
8327
8328         * BufferView.C (resize): check there's a buffer to resize
8329
8330 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
8331
8332         * lyxfunc.C: remove dead code
8333
8334         * lyxserver.h:
8335         * lyxserver.C: use lyx_guii::set_read_callback
8336
8337 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
8338
8339         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8340         an inset in a RTL paragraph.
8341
8342 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8343
8344         * lyxfunc.C: repaint after a font size update
8345
8346 2002-07-15  André Pönitz <poenitz@gmx.net>
8347
8348         * lyxlength.C: inBP should be able to return negative values
8349
8350 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8351
8352         * lyxfunc.C: use lyx_gui::update_fonts()
8353
8354 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8355
8356         * lyxfunc.C: use lyx_gui::update_color()
8357
8358 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8359
8360         * bufferlist.C:
8361         * lyxfunc.h:
8362         * lyxfunc.C:
8363         * lyxrc.h:
8364         * lyxrc.C: remove file->new asks for name option, and let
8365           buffer-new take an argument
8366
8367 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8368
8369         * BufferView_pimpl.C: remove unneeded extra repaint()
8370
8371 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
8372
8373         * LyXAction.C: allow command-sequence with NoBuffer
8374
8375         * lyxfunc.C: don't insist on trailing ';' for command-sequence
8376
8377 2002-07-10  Angus Leeming  <leeming@lyx.org>
8378
8379         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8380
8381 2002-07-09  Angus Leeming  <leeming@lyx.org>
8382
8383         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8384
8385 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8386
8387         * lengthcommon.h: whitespace
8388
8389         * lyxfunc.C: update scrollbar after goto paragraph
8390
8391         * lyxtext.h: factor out page break drawing, and fix it so
8392           page break/added space paints as selected nicely
8393
8394 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8395
8396         * BufferView_pimpl.C: add FIXMEs, clean up a little
8397
8398 2002-07-09  André Pönitz <poenitz@gmx.net>
8399
8400         * lyxfont.[Ch]: support for wasy symbols
8401
8402 2002-07-08  André Pönitz <poenitz@gmx.net>
8403
8404         * BufferView_pimpl.C: apply John's patch for #93.
8405
8406 2002-07-05  Angus Leeming  <leeming@lyx.org>
8407
8408         * BufferView_pimpl.C (buffer): generate previews if desired.
8409
8410         * LColor.h: add "preview" to the color enum.
8411
8412         * LColor.C (LColor): add a corresponding entry to the items array.
8413
8414         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8415         with this buffer.
8416
8417 2002-07-05  Angus Leeming  <leeming@lyx.org>
8418
8419         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8420         The body of the code is now in the method that is passed an ostream &
8421         rather than a file name.
8422         Pass an additional only_preamble parameter, useful for the forthcoming
8423         preview stuff.
8424
8425 2002-07-03  André Pönitz <poenitz@gmx.net>
8426
8427         * lyxfunc.C: simplify getStatus() a bit for math stuff
8428
8429 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8430
8431         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8432
8433 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8434
8435         * text.C (changeRegionCase): do not change case of all the
8436         document when region ends at paragraph end (bug #461)
8437
8438 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8439
8440         * paragraph.C (startTeXParParams):
8441         (endTeXParParams): add \protect when necessary
8442
8443 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8444
8445         * BufferView_pimpl.C (workAreaExpose): remove warning
8446
8447 2002-06-27  Angus Leeming  <leeming@lyx.org>
8448
8449         * Makefile.am: add lyxlayout_ptr_fwd.h.
8450
8451 2002-06-26  André Pönitz <poenitz@gmx.net>
8452
8453         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8454
8455 2002-06-25  Angus Leeming  <leeming@lyx.org>
8456
8457         * lyxfunc.C (dispatch): Comment out the call to
8458         grfx::GCache::changeDisplay. The method no longer exists now that the
8459         pixmap generation part of the graphics loader has been moved into
8460         InsetGraphics.
8461
8462 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8463
8464         * text2.C: layout as layout
8465
8466         * text.C: layout as layout
8467
8468         * tabular.C (OldFormatRead): layout as layout
8469
8470         * paragraph_pimpl.C (TeXDeeper): layout as layout
8471         (realizeFont): layout as layout
8472
8473         * paragraph.C (writeFile): layout as layout
8474         (validate): layout as layout
8475         (getFont): layout as layout
8476         (getLabelFont): layout as layout
8477         (getLayoutFont): layout as layout
8478         (breakParagraph): layout as layout
8479         (stripLeadingSpaces): layout as layout
8480         (getEndLabel): layout as layout
8481         (getMaxDepthAfter): layout as layout
8482         (applyLayout): layout as layout
8483         (TeXOnePar): layout as layout
8484         (simpleTeXOnePar): layout as layout
8485         (TeXEnvironment): layout as layout
8486         (layout): layout as layout
8487         (layout): layout as layout
8488
8489         * lyxtextclass.C (compare_name): new functor to work with
8490         shared_ptr, layout as layout
8491         (Read): layout as layout
8492         (hasLayout): layout as layout
8493         (operator): layout as layout
8494         (delete_layout): layout as layout
8495         (defaultLayout): layout as layout
8496
8497         * lyxlayout_ptr_fwd.h: new file
8498
8499         * lyxlayout.C (Read): layout as layout
8500
8501         * lyx_cb.C (MenuInsertLabel): layout as layout
8502
8503         * bufferlist.C (newFile): layout as layout
8504
8505         * buffer.C (readLyXformat2): layout as layout
8506         (parseSingleLyXformat2Token): layout as layout
8507         (insertStringAsLines): layout as layout
8508         (asciiParagraph): layout as layout
8509         (latexParagraphs): layout as layout
8510         (makeLinuxDocFile): layout as layout
8511         (simpleLinuxDocOnePar): layout as layout
8512         (makeDocBookFile): layout as layout
8513         (simpleDocBookOnePar): layout as layout
8514         (getLists): layout as layout
8515
8516         * LaTeXFeatures.C (getTClassPreamble): layout as layout
8517
8518         * CutAndPaste.C (cutSelection): layout as layout
8519         (pasteSelection): layout as layout
8520         (SwitchLayoutsBetweenClasses): layout as layout
8521
8522         * BufferView_pimpl.C (Dispatch): layout as layout
8523         (smartQuote): layout as layout
8524
8525         * BufferView2.C (unlockInset): layout as layout
8526
8527 2002-06-24  André Pönitz <poenitz@gmx.net>
8528
8529         * lyxfunc.C: fix #487
8530
8531 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8532
8533         * lyxrc.h:
8534         * lyxrc.C:
8535         * lyxfunc.C: remove display_shortcuts, show_banner
8536
8537 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8538
8539         * Buffer_pimpl.C: oops, update on resize
8540
8541 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8542
8543         * buffer.C:
8544         * converter.C:
8545         * exporter.C:
8546         * lyxfunc.C:
8547         * BufferView.h:
8548         * BufferView.C: use repaint()
8549
8550         * BufferView_pimpl.h:
8551         * BufferView_pimpl.C: s/updateScreen()/repaint()/
8552           as it's a clearer description. Remove superfluous
8553           redraws.
8554
8555 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8556
8557         * text.C: fix bug 488. Not ideal, but getting
8558           getWord() to work properly for the insets that
8559           matter is more difficult ...
8560
8561 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8562
8563         * BufferView_pimpl.C:
8564         * LyXAction.C:
8565         * commandtags.h:
8566         * lyxfunc.C: remove the six million index lyxfuncs to just
8567           one, and DTRT (bug 458)
8568
8569 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8570
8571         * BufferView.h:
8572         * BufferView.C:
8573         * BufferView_pimpl.h:
8574         * BufferView_pimpl.C: clean up resize() stuff,
8575           and unnecessary updateScreen()s
8576
8577 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8578
8579         * BufferView.h:
8580         * BufferView.C:
8581         * BufferView_pimpl.h:
8582         * BufferView_pimpl.C:
8583         * lyxfind.h:
8584         * lyxfind.C:
8585         * minibuffer.C: remove focus management of workarea,
8586           not needed. Use screen's greyOut()
8587
8588 2002-06-17  Herbert Voss  <voss@lyx.org>
8589
8590         * converter.C: (convert) do not post a message, when converting
8591         fails, let the calling function decide what to do in this case
8592
8593 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
8594
8595         * lyxfunc.C: tidy up a little
8596
8597 2002-06-16    <alstrup@diku.dk>
8598
8599         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8600         Got rid of FORMS_H_LOCATION include. Now we are
8601         GUII.
8602
8603 2002-06-15  LyX Development team  <lyx@rilke>
8604
8605         * buffer.[Ch] (sgmlOpenTag):
8606         (sgmlCloseTag): Added support for avoiding pernicious mixed
8607         content. Return number of lines written.
8608
8609         (makeLinuxDocFile):
8610         (makeDocBookFile): Fixed calls to sgml*Tag.
8611         Simple white space clean.
8612
8613         (simpleDocBookOnePar): Simple white space clean.
8614
8615         * tabular.[Ch] (docBook): Renamed to docbook and got another
8616         argument to related with the pernicious mixed content.
8617
8618         (docbookRow): Fixed calls for docbook inset method.
8619
8620 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
8621
8622         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8623         so it's X11 independent.
8624
8625         * kb*.[Ch]: ditto.
8626
8627         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8628
8629 2002-06-15  Lyx Development team  <lyx@electronia>
8630
8631         * intl.h: Renamed getTrans to getTransManager.
8632
8633 2002-06-14  Angus Leeming  <leeming@lyx.org>
8634
8635         * Makefile.am: nuke forgotten stl_string_fwd.h.
8636
8637 2002-06-12  Angus Leeming  <leeming@lyx.org>
8638
8639         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8640
8641 2002-06-13  Angus Leeming  <leeming@lyx.org>
8642
8643         * LaTeX.C:
8644         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8645
8646 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
8647
8648         * kbmap.C (getiso): add support for cyrillic and greek
8649
8650 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8651
8652         * BufferView.h:
8653         * BufferView.C:
8654         * BufferView_pimpl.h:
8655         * BufferView_pimpl.C: move bogus scrolling logic
8656           to xforms
8657
8658 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8659
8660         * lyxfunc.C:
8661         * BufferView_pimpl.C: view->resize() change
8662
8663 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8664
8665         * BufferView_pimpl.C: topCursorVisible
8666           prototype change
8667
8668 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8669
8670         * Makefile.am:
8671         * lyx_gui.h:
8672         * lyx_gui.C: move to frontends/
8673
8674         * main.C:
8675         * lyx_main.h:
8676         * lyx_main.C: changes from above
8677
8678 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8679
8680         * intl.C:
8681         * intl.h:
8682         * kbmap.C:
8683         * kbsequence.C:
8684         * lyx_cb.C:
8685         * lyx_main.C: minor tidy
8686
8687 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8688
8689         * BufferView_pimpl.h:
8690         * BufferView_pimpl.C:
8691         * BufferView.h:
8692         * BufferView.C: make painter() const,
8693           remove dead code
8694
8695         * BufferView2.C: use screen() accessor
8696
8697         * lyx_main.h:
8698         * lyx_main.C: some minor cleanup
8699
8700 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8701
8702         * BufferView_pimpl.h:
8703         * BufferView_pimpl.C: remove enter/leaveView,
8704           use workHeight()
8705
8706 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8707
8708         * BufferView.h:
8709         * BufferView.C:
8710         * BufferView2.C:
8711         * BufferView_pimpl.h:
8712         * BufferView_pimpl.C: only construct screen once,
8713           rename
8714
8715         * lyxrc.C: remove pointless comment
8716
8717 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8718
8719         * BufferView.h:
8720         * BufferView.C: remove active() and belowMouse()
8721
8722         * BufferView_pimpl.h:
8723         * BufferView_pimpl.C: use workarea() not workarea_,
8724           and make it use a scoped_ptr instead
8725
8726 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8727
8728         * lyx_gui.C: add debug message on BadWindow
8729
8730 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8731
8732         * sp_spell.C: fdopen is not part of the C++ standard.
8733
8734         * paragraph.C (InsetIterator): use >= instead of ==
8735
8736 2002-06-07  Angus Leeming  <leeming@lyx.org>
8737
8738         Fixes needed to compile with Compaq cxx 6.5.
8739         * BufferView_pimpl.C:
8740         * DepTable.C:
8741         * buffer.C:
8742         * converter.C:
8743         * encoding.C:
8744         * lyx_gui.C:
8745         * lyx_main.C:
8746         * lyxtextclasslist.C:
8747         * minibuffer.C:
8748         * sp_spell.C:
8749         * tabular_funcs.C:
8750         * vc-backend.C:
8751         all c-library variables have been moved into namespace std. Wrap
8752         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8753
8754         * lyxlength.C:
8755         * tabular-old.C:
8756         * tabular.C:
8757         Add a using std::abs declaration.
8758
8759         * kbmap.h (modifier_pair):
8760         * paragraph.h (InsetTable, InsetList):
8761         * lyxfont.h (FontBits):
8762         type definition made public.
8763
8764         * bufferlist.C (emergencyWriteAll): the compiler complains that
8765         there is more than one possible lyx::class_fun template to choose from.
8766         I re-named the void specialisation as lyx::void_class_fun.
8767
8768         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8769
8770         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8771         the compiler is is unable to find tostr in write_attribute.
8772
8773 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8774
8775         * buffer.C (sgmlError): hide #warning
8776
8777 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8778
8779         * xtl/*: get rid of xtl, which is not in use anyway
8780
8781         * LyXAction.C (init):
8782         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8783         were unimplemented xtl experimentation
8784
8785 2002-06-04  André Pönitz <poenitz@gmx.net>
8786
8787         * lyxfunc.C: disable array operation on simple formulae
8788
8789 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
8790
8791         * converter.C: constify a bit
8792
8793 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
8794
8795         * lyx_gui.C: check xforms version correctly
8796
8797 2002-04-30  Herbert Voss  <voss@lyx.org>
8798
8799         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8800         "keep" option
8801
8802 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
8803
8804         * lyxvc.C: fix bug 416 (make sure buffer is saved before
8805           attempt to register it with a VCS)
8806
8807 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8808
8809         * lyx_main.C (init): honor variables LYX_DIR_13x and
8810         LYX_USERDIR_13x
8811
8812 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8813
8814         * buffer.h:
8815         * buffer.C:
8816         * lyx_main.C: fix a crash on bad command line,
8817           and give a useful exit status on error
8818
8819         * lyxfunc.C (doImport): allow -i lyx to work
8820
8821 2002-03-30  André Pönitz <poenitz@gmx.net>
8822
8823         * lyxfunc.C: mathed font changes
8824
8825 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8826
8827         * LaTeX.C:
8828         * importer.h:
8829         * importer.C:
8830         * lyx_sty.h:
8831         * lyx_sty.C:
8832         * lyxlex.C:
8833         * lyxrow.h:
8834         * lyxtext.h:
8835         * paragraph.h:
8836         * paragraph.C:
8837         * texrow.h:
8838         * texrow.C:
8839         * text.C:
8840         * trans_mgr.h: srcdocs, and some minor cleanups
8841
8842 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8843
8844         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8845         call getFont all the time)
8846
8847 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8848
8849         * switch from SigC signals to boost::signals
8850
8851 2002-05-29  André Pönitz <poenitz@gmx.net>
8852
8853         * paragraph_pimpl.C (getChar): don't call size() too often...
8854
8855 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8856
8857         * paragraph_pimpl.C (insertChar): do not try to update tables when
8858         appending (pos == size())
8859
8860         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8861         in order to reduce drastically the number of comparisons needed to
8862         parse a large document
8863
8864 2002-05-29  André Pönitz <poenitz@gmx.net>
8865
8866         * text.C:
8867         * text2.C:
8868         * lyxtextclass.C:
8869         * sp_pspell.h:
8870         * textclasslist.[Ch]:
8871         * sp_ispell.h: whitespace change
8872
8873 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8874
8875         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8876         lyxaction directly now.
8877
8878 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8879
8880         * trans.C:
8881         * lyxfont.C:
8882         * lyxvc.C: remove unused headers
8883
8884 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8885
8886         * Makefile.am:
8887         * buffer.h:
8888         * undostack.h:
8889         * undostack.C:
8890         * undo_funcs.h:
8891         * undo_funcs.C: some cleanups. Use shared_ptr
8892           and a template for the undo stacks.
8893
8894 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8895
8896         * BufferView_pimpl.h:
8897         * BufferView_pimpl.C:
8898         * kbmap.h:
8899         * kbmap.C:
8900         * kbsequence.h:
8901         * kbsequence.C:
8902         * lyxfunc.h:
8903         * lyxfunc.C:
8904         * text2.C: use key_state/mouse_state
8905
8906 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8907
8908         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8909         and LSubstring
8910
8911         * chset.C: change include order
8912         (loadFile): use boost regex and get rid of LRegex and LSubstring
8913
8914         * Makefile.am (BOOST_LIBS): new variable
8915         (lyx_LDADD): use it
8916
8917         * LaTeX.C: change include order.
8918         (scanAuxFile): use boost regex and get rid of LRegex and
8919         LSubstring
8920         (deplog): ditto
8921
8922 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8923
8924         * ColorHandler.h:
8925         * ColorHandler.C:
8926         * FontInfo.h:
8927         * FontInfo.C: moved to frontends/xforms/
8928
8929         * FontLoader.h:
8930         * FontLoader.C: moved into frontends for GUIIzation
8931
8932         * Makefile.am:
8933         * lyx_gui.C:
8934         * lyxfont.C:
8935         * lyxfunc.C: changes from above
8936
8937 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8938
8939         * LColor.C: remove spurious X include
8940
8941         * BufferView_pimpl.C:
8942         * Makefile.am:
8943         * font.h:
8944         * font.C:
8945         * text.C:
8946         * text2.C: move font metrics to frontends/
8947
8948 2002-05-24  Juergen Vigna  <jug@sad.it>
8949
8950         * undo_funcs.C (textHandleUndo): fix the cursor selection after
8951         setting the undo_cursor.
8952
8953         * ParagraphParameters.h: include local includes first.
8954
8955 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8956
8957         * BufferView_pimpl.C:
8958         * BufferView_pimpl.h:
8959         * Makefile.am:
8960         * WorkArea.h:
8961         * WorkArea.C:
8962         * screen.C: move WorkArea into frontends/
8963
8964         * lyxscreen.h:
8965         * screen.C:
8966         * text.C:
8967         * BufferView.C:
8968         * BufferView2.C: move LyXScreen into frontends/
8969
8970         * lyxlookup.h:
8971         * lyxlookup.C:
8972         * lyx_gui.C: move lyxlookup into frontends/xforms/
8973
8974 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8975
8976         * BufferView2.C:
8977         * BufferView_pimpl.C:
8978         * FontLoader.C:
8979         * LyXView.h:
8980         * LyXView.C:
8981         * Makefile.am:
8982         * WorkArea.C:
8983         * XFormsView.h:
8984         * XFormsView.C:
8985         * buffer.C:
8986         * bufferlist.C:
8987         * bufferview_funcs.C:
8988         * converter.C:
8989         * importer.C:
8990         * lyx_cb.C:
8991         * lyx_gui.C:
8992         * lyx_main.C:
8993         * lyx_find.C:
8994         * lyxfunc.C:
8995         * lyxvc.C:
8996         * minibuffer.C:
8997         * text.C:
8998         * text2.C:
8999         * trans.C:
9000         * vc-backend.C: move LyX/XFormsView into frontends/
9001
9002 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9003
9004         * Makefile.am:
9005         * PainterBase.C:
9006         * PainterBase.h:
9007         * Painter.C:
9008         * Painter.h:
9009         * WorkArea.C:
9010         * WorkArea.h:
9011         * screen.C:
9012         * tabular.C:
9013         * text.C:
9014         * text2.C: move Painter to frontends/
9015
9016 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9017
9018         * buffer.C: comment out some some code that depend upon lyx_format
9019         < 220
9020
9021         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9022         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9023
9024         * buffer.h (NO_COMPABILITY): turn off compability
9025
9026         * ColorHandler.C: include scoped_array.hpp
9027
9028         * font.C: Use more specific smart_ptr header.
9029         * Painter.C: ditto
9030         * gettext.C: ditto
9031         * ShareContainer.h: ditto
9032         * lyx_main.h: ditto
9033         * kbmap.h: ditto
9034         * FontInfo.h: ditto
9035         * BufferView_pimpl.h: ditto
9036         * ColorHandler.h: ditto
9037
9038         * kbmap.C (defkey): change call to shared_ptr::reset
9039
9040 2002-05-21  Juergen Vigna  <jug@sad.it>
9041
9042         * buffer.C (insertErtContents): fix to insert ert asis if it is
9043         non empty. Skip it completely if it contains only whitespaces.
9044
9045 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
9046
9047         * BufferView_pimpl.C:
9048         * BufferView2.C: clear selection on paste (bug 393)
9049
9050 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9051
9052         * DepTable.C: include ctime
9053
9054 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
9055
9056         * buffer.C (latexParagraphs): Add new argument (moving_arg).
9057
9058 2002-05-14  Juergen Vigna  <jug@sad.it>
9059
9060         * text.C (breakParagraph): fixed function to honor the keepempty
9061         layout in the right maner and also to permit the right breaking
9062         algorithm on empty or non empyt keepempty paragraphs.
9063
9064         * paragraph.C (breakParagraph): we have to check also if the par
9065         is really empty (!size()) for isempty otherwise we do the wrong
9066         paragraph break.
9067
9068 2002-05-10  Juergen Vigna  <jug@sad.it>
9069
9070         * buffer.[Ch] : The following are only changes to the ert
9071         compatibility read reading old LaTeX layout and font stuff and
9072         convert it to ERTInsets.
9073
9074         * buffer.h: added isErtInset().
9075
9076         * buffer.C (struct ErtComp): add a fromlayout bool to check
9077         if we're inside a LaTeX layout.
9078         (isErtInset): new helper function.
9079         (insertErtContents): look for other ert insets before this one
9080         and insert the contents there, so that we don't have subsequent
9081         ERT insets with nothing between them. This way we create only one
9082         inset with multiple paragraphs. Also check if we don't insert only
9083         spaces ' ' as they are ignored anyway afterwards in the .tex file
9084         so if we have only spaces we will ignore this latex part in the
9085         new file.
9086         (parseSingleLyXformat2Token \\layout): better compatibility when
9087         reading layout-latex stuff.
9088         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9089         language tag.
9090         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9091         stuff after reading the inset only get the information back from
9092         the stack.
9093
9094 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
9095
9096         * buffer.C (makeLaTeXFile): Put language options after loading babel.
9097
9098         * LaTeXFeatures.C (getBabelOptions): New method.
9099
9100 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9101
9102         * BufferView_pimpl.C (Dispatch): work around missing argument for
9103         'layout'
9104
9105 2002-05-08  Juergen Vigna  <jug@sad.it>
9106
9107         * text.C (leftMargin): handle paragraph leftindent.
9108
9109         * paragraph.C (writeFile): write the new \\leftindent tag.
9110         (validate): handle leftindent code.
9111         (TeXEnvironment): handle paragraphleftindent code again.
9112
9113         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9114
9115         * buffer.C (parseSingleLyXformat2Token): added compatibility code
9116         for paragrap_extra indent code and new token \\leftindent.
9117         (latexParagraphs): handle the leftindent as environment.
9118
9119         * ParameterStruct.h: added leftindent support.
9120
9121         * ParagraphParameters.C (leftIndent): added support functions for
9122         the paragraph left indent.
9123
9124         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9125         more appropriate.
9126
9127 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
9128
9129         * paragraph.C (isRightToLeftPar): Return false for a paragraph
9130         inside insetERT.
9131
9132         * text.C (computeBidiTables): No bidi in insetERT.
9133
9134         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9135         in RTL documents.
9136
9137 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9138
9139         * version.C.in: pre 5
9140
9141 2002-05-02  José Matos  <jamatos@fep.up.pt>
9142         * buffer.C (makeDocBookFile): white space changes, add newline to
9143         command styles.
9144         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9145
9146         * tabular.C (docBook): fix typo.
9147
9148 2002-05-03  Juergen Vigna  <jug@sad.it>
9149
9150         * screen.C (drawFromTo): recalculate the rowpointer if we had a
9151         change in LyXText as we can not be sure it was not freed.
9152         (drawOneRow): remove unused code.
9153
9154         * text.C (drawInset): redo the calculation of the need_break_row as
9155         it could have a row which was already freed.
9156         (draw): look at the return value of drawInset and return false if
9157         it also returned false.
9158         (paintRowText): look at the return value of draw and return false if
9159         it also returned false.
9160
9161         * lyxtext.h: added bool return type to drawInset() and draw() so that
9162         if we have a change in the row so that the rowbreak has to be redone
9163         we abort drawing as it will be called again.
9164
9165 2002-05-02  Juergen Vigna  <jug@sad.it>
9166
9167         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9168         a change in the maintext also if we're inside an inset.
9169         (Dispatch): set the cursor again after a break line and after the
9170         screen has been updated as it could be we're in a different row.
9171
9172         * text2.C (fixCursorAfterDelete): check to make sure we don't request
9173         to set the cursor behind the pargraph with > size().
9174         (setCursor): check also for the same paragraph when checking where
9175         to put the cursor if we have a NFR inset.
9176
9177         * buffer.C (parseSingleLyXformat2Token): move the compatibility
9178         parts of layout read further up as it still was in the wrong
9179         position.
9180
9181 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9182
9183         * screen.C (drawFromTo): change sine fullRebreak always return
9184         true.
9185
9186         * buffer.C (parseSingleLyXformat2Token): reindent some
9187
9188         * BufferView_pimpl.C (update): change since fullRebreak always
9189         return true.
9190         (Dispatch): git rid of the last hardcoded "Standard"s.
9191
9192 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9193
9194         * text2.[Ch] (fullRebreak): make it return void now that we always
9195         returned true.
9196
9197 2002-04-30  Juergen Vigna  <jug@sad.it>
9198
9199         * buffer.C (parseSingleLyXformat2Token): reset the font before the
9200         ert compatibility check for "latex" layout.
9201
9202 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
9203
9204         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9205         minipages: use col% instead of p%, and also use the current font.
9206         (makeLaTeXFile): Fix use babel condition.
9207         (parseSingleLyXformat2Token): Correct font when reading old floats.
9208
9209 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
9210
9211         * BufferView_pimpl.C (Dispatch): Check that float type exists when
9212         inserting list of floats.
9213
9214 2002-04-25  Herbert Voss  <voss@lyx.org>
9215
9216         * MenuBackend.C (expand): don't add the graphics extensions to the
9217         export menu
9218
9219 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9220
9221         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9222         non-existing layout, do not complain if it was the default layout
9223         of the original class (bug #342)
9224
9225 2002-04-24  Juergen Vigna  <jug@sad.it>
9226
9227         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9228         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9229
9230 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
9231
9232         * buffer.C (getBibkeyList): If using \bibliography, return the
9233         option field with the reference itself. Enables us to provide natbib
9234         support when using \bibliography.
9235
9236 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
9237
9238         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9239
9240         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9241         natbib is provided by the LaTeX class.
9242
9243 2002-04-23  Juergen Vigna  <jug@sad.it>
9244
9245         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9246         Wakeup functions.
9247
9248         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9249
9250 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9251
9252         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9253
9254         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9255         ensuremath around textordmasculine, textordfeminine and
9256         textdegree.
9257
9258 2002-04-19  Juergen Vigna  <jug@sad.it>
9259
9260         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9261         reinitializing the buffer otherwise row-dimensions may be wrong.
9262         (update): reset also the selection cursors if they do exits otherwise
9263         their x/y positions may be wrong.
9264
9265         * text2.C (cursorDown): don't enter the inset if we came from a row
9266         above and are one row over the inset.
9267
9268         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9269         really leaving an inset.
9270
9271 2002-04-18  Juergen Vigna  <jug@sad.it>
9272
9273         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9274         of the selected paragraph does not have the selected layout also if
9275         the last one had!
9276
9277         * text2.C (setLayout): fixed bug which did not change last selected
9278         paragraph.
9279
9280         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9281         changed the read and substituted \\end_float with \\end_inset!
9282
9283         * BufferView_pimpl.C (cursorPrevious):
9284         (cursorNext): fixed to make it work with rows heigher than the work
9285         area without moving the cursor only the draw of the row.
9286         (workAreaMotionNotify): fix jumping over high rows.
9287
9288 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9289
9290         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9291         Ressler.
9292
9293 2002-04-16  Juergen Vigna  <jug@sad.it>
9294
9295         * text2.C (setCursor): set also the irow().
9296         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9297         (cursorUp):
9298         (cursorDown): support for locking an inset if the x_fix value goes
9299         inside it. That way I can transverse insets too with cursor up/down.
9300
9301         * lyxrow.h: added irow helper function same as other (i) functions.
9302
9303         * BufferView_pimpl.C (cursorPrevious):
9304         (cursorNext): fixed for insets!
9305
9306 2002-04-15  Juergen Vigna  <jug@sad.it>
9307
9308         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9309         position otherwise it is wrong in some cases.
9310
9311         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9312         inside the inset before the call.
9313
9314 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
9315
9316         * buffer.[Ch] (getBibkeyList): make it const.
9317
9318 2002-04-12  Juergen Vigna  <jug@sad.it>
9319
9320         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9321
9322         * text2.C (getCursorX): new helper function
9323         (setCursor): compute also ix_
9324         (setCursorFromCoordinates): set also ix.
9325
9326         * lyxcursor.h: added ix_ and helper functions.
9327
9328         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9329
9330         * buffer.C (insertStringAsLines): dont break paragraph if the this
9331         paragraph is inside an inset which does not permit it!
9332
9333         * text.C (breakParagraph): honor keepempty flag and break the paragraph
9334         also with no chars on this paragraph.
9335         (paintRowText): only paint stuff if it's inside the workarea!
9336
9337         * paragraph.C (breakParagraph): honor keepempty flag and break the
9338         paragraph always below not above.
9339
9340         * BufferView2.C (unlockInset): update the paragraph layout on inset
9341         unlock as we changed paragraph in such a case.
9342
9343         * lyxfind.C (LyXFind): clear the former selection if not found!
9344
9345         * text2.C (insertInset): freeze Undo after setUndo so that it is not
9346         again called in insertChar().
9347
9348         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9349         an inset which uses the whole row!
9350         (rightMargin): ditto.
9351         (insertChar): force a rebreak if we inserted an inset!
9352
9353 2002-03-28  Herbert Voss  <voss@lyx.org>
9354
9355         * lyxlength.[Ch]: add inBP() to get the right PS-point
9356         units (BigPoint). With inPixels we have rounding errors
9357
9358 2002-04-11  Juergen Vigna  <jug@sad.it>
9359
9360         * text2.C (setCursorFromCoordinates): set iy to the right value.
9361         (setCursor): add check if row->previous exists!
9362
9363         * buffer.C (parseSingleLyXformat2Token): reset font after read of
9364         an old float_type as this was the case in the old code!
9365
9366         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9367
9368         * BufferView2.C (showLockedInsetCursor): use iy
9369         (fitLockedInsetCursor): ditto
9370
9371         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9372         locked insets as there we have the right value now.
9373
9374         * lyxcursor.C: added iy_ variable and iy functions to set to the
9375         baseline of cursor-y of the locked inset.
9376
9377         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9378         (setCursor): fixed for insets which need a full row.
9379
9380         * text.C (rowLastPrintable): don't ignore the last space when before
9381         an inset which needs a full row.
9382         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9383         as last character of a row when before a inset which needs a full row.
9384
9385 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9386
9387         * version.C.in: update date
9388
9389         * text2.C (fullRebreak): try to always return true and see what
9390         happens...
9391
9392 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9393
9394         * MenuBackend.C (expand): use Floating::listName
9395
9396         * FloatList.C (FloatList): add listName argument to the built-in
9397         floats
9398
9399         * Floating.[Ch]: add listName member, which is the 'List of XXX'
9400         text associated with the float.
9401
9402 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9403
9404         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9405
9406 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9407
9408         * ShareContainer.h: add a couple of missing typenames.
9409
9410 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
9411
9412         * lyxrc.C (getDescription): use _() correctly rather than N_().
9413
9414 2002-03-28  Herbert Voss  <voss@lyx.org>
9415
9416         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9417         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9418
9419 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9420
9421         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9422         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9423
9424 2002-03-29  Juergen Vigna  <jug@sad.it>
9425
9426         * lyxfunc.C (dispatch): add a missing fitCursor call.
9427
9428         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9429         it was scrolled by a cursor move, so return the bool status.
9430
9431         * BufferView.C (fitCursor): return the bool flag also to the outside
9432         world as this is needed.
9433
9434         * screen.C (toggleToggle): don't subtract the offset if it's positive.
9435
9436         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9437         call the edit() as it is not needed (and wrong) IMO.
9438         (workAreaButtonPress): set the screen_first variable before evt.
9439         unlock the inset as this may change screen_first and then we have
9440         a wrong y position for the click!
9441
9442 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9443
9444         * MenuBackend.C (expand): another translation that I missed
9445
9446 2002-03-28  Juergen Vigna  <jug@sad.it>
9447
9448         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9449
9450         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9451
9452 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9453
9454         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9455
9456         * MenuBackend.C (expand): fix export/view/update when there is no
9457         document open.
9458
9459 2002-03-27  Herbert Voss  <voss@lyx.org>
9460
9461         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9462         and text%
9463
9464 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9465
9466         * bufferview_funcs.C (currentState): only show paragraph number
9467         for is DEVEL_VERSION is set.
9468
9469         * lyxfunc.C (dispatch): put warning in INFO channel
9470
9471         * MenuBackend.C (expand): translate the name of floats
9472
9473         * FloatList.C (FloatList): mark the float names for translation
9474
9475         * converter.C (convert): use LibScriptSearch
9476
9477 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9478
9479         * MenuBackend.C (defaults): fix default menu (we might as well get
9480         rid of it...)
9481
9482 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9483
9484         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9485         directory.
9486
9487 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9488
9489         * lyxvc.C: reorder includes.
9490
9491 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
9492
9493         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9494           properly
9495
9496 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
9497
9498         * CutAndPaste.C: change layouts earlier on paste
9499           to avoid crashing when calling getFont()
9500
9501 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
9502
9503         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9504         irritating #error.
9505
9506 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9507
9508         * WorkArea.C: remove 'Pending' debug message.
9509
9510         * most files: ws cleanup
9511
9512         * buffer.[Ch]: ws changes
9513
9514         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9515
9516 2002-03-21  Juergen Vigna  <jug@sad.it>
9517
9518         * tabular.C (SetMultiColumn): collapse also the contents of the
9519         cells and set the last border right. Added a Buffer const * param.
9520
9521 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9522
9523         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9524         linking or not.
9525
9526 2002-03-19  Juergen Vigna  <jug@sad.it>
9527
9528         * text2.C (clearSelection): reset also xsel_cache.
9529
9530         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9531         where it needs to be called (John tells us to do so too :)
9532         (selectionLost): reset sel_cache.
9533
9534         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9535
9536 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9537
9538         * text2.C (setCursorIntern): put debuging code in INSETS channel
9539
9540 2002-03-19  André Pönitz <poenitz@gmx.net>
9541
9542         * lyxfunc.C: tiny whitespace change
9543
9544 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9545
9546         * ToolbarDefaults.C (init):
9547         * LyXAction.C (init):
9548         * commandtags.h:
9549         * BufferView_pimpl.C (Dispatch):
9550         * lyxfunc.C (dispatch): remove LFUN_DEPTH
9551
9552 2002-03-19  Allan Rae  <rae@lyx.org>
9553
9554         * exporter.C (Export): removeAutoInsets before doing anything else.
9555         While I've just introduced a dependency on BufferView this really is
9556         the best place to clean the buffer otherwise you need to cleanup in
9557         a dozen places before calling export or cleanup in a dozen functions
9558         that export calls.
9559
9560         * converter.C (runLaTeX):
9561         (scanLog): Better handling of removeAutoInsets and screen updates.
9562
9563         * lyxfunc.C (dispatch): small whitespace changes
9564
9565 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9566
9567         * WorkArea.C (C_WorkAreaEvent): return a value.
9568         (event_cb): return 1 if we handled the event, 0 otherwise.
9569
9570         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9571
9572 2002-03-18  Juergen Vigna  <jug@sad.it>
9573
9574         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9575         (GetAdditionalWidth): ditto.
9576         (RightLine): ditto.
9577         (LeftLine): ditto.
9578
9579         * BufferView2.C (copy): use getLyXText() so that we do it inside an
9580         inset if we're there actually (probably not used right now but this
9581         is the direction to go for unifying code).
9582         (paste): disable code to clear the selection.
9583
9584         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9585         inside an InsetText and move the check further up as it is in the
9586         wrong place.
9587
9588         * text2.C (pasteSelection): set a selection over the pasted text.
9589
9590 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
9591
9592         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9593         and libgraphics to build on Cygwin.
9594
9595 2002-03-15  Juergen Vigna  <jug@sad.it>
9596
9597         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9598         inserting an Inset into the paragraph. I know this is not the best
9599         fix but we already use current_view in CutAndPaste so we will remove
9600         all of it's using at the same time.
9601
9602         * buffer.C (sgmlError): deactivated function till it is rewritten in
9603         the right mode, now it can create problems.
9604
9605         * paragraph.C (isLineSeparator): check if getInset returns != 0,
9606         before accessing it.
9607
9608 2002-03-14  Juergen Vigna  <jug@sad.it>
9609
9610         * undo_funcs.C (textHandleUndo): do the right thing when updating
9611         the inset after the undo/redo.
9612
9613         * text2.C (setCursor): just some testcode for #44 not ready yet.
9614
9615         * undo_funcs.C (textHandleUndo): set the next() and previous()
9616         pointers of the paragraph to 0 before deleting otherwise we have
9617         problems with the Paragraph::[destructor].
9618
9619         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9620         on a paragraph insertion.
9621
9622 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9623
9624         * buffer.C (asciiParagraph): use += operator for char append to
9625         string.
9626
9627         * paragraph.C (getFontSettings): compare >= not just >
9628         (highestFontInRange): ditto
9629         (setFont): ditto
9630
9631 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9632
9633         * paragraph.C: change several algorithm to be more appripriate for
9634         the problem domain. This is lookip in FontList and in the InsetList.
9635
9636 2002-03-13  André Pönitz <poenitz@gmx.net>
9637
9638         * commandtags.h:
9639         * LyXAction.C: remove unused LFUN_MATH_MACROARG
9640
9641 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
9642
9643         * commandtags.h:
9644         * LyXAction.C:
9645         * lyxfunc.C:
9646         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9647
9648 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9649
9650         * Painter.C (display): anon helper function, adjust code for this
9651         change.
9652         (pixmap): remove function.
9653
9654         * Painter.h: remove private display variable.
9655
9656         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9657
9658 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
9659
9660         * WorkArea.[Ch]: remove figinset_canvas cruft.
9661
9662 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9663
9664         * lyxtextclass.C (operator): add one item cache optimization.
9665
9666         * bufferlist.h: doxy changes
9667
9668         * bufferlist.C: ws changes
9669
9670         * DepTable.[Ch] (ext_exist): place const in the right spot.
9671
9672         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9673         call resizeInsets.
9674         (workAreaExpose): call resizeInsets when the with BufferView changes.
9675         (Dispatch): adjust for protectedBlank removal
9676         (specialChar): call updateInset if the insert went ok.
9677
9678         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9679         specialChar instead.
9680
9681         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9682
9683         * BufferView.h: doxy change
9684
9685         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9686
9687         * lyxtextclass.C (operator[]): remove non-const version
9688         (defaultLayout): remove non-const version
9689
9690 2002-03-12  Juergen Vigna  <jug@sad.it>
9691
9692         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9693         did resize the LyXText too.
9694
9695         * buffer.C (readLyXformat2): set layout information on newly allocated
9696         paragraphs.
9697
9698         * tabular.C (OldFormatRead): set layout information on the paragraph.
9699
9700 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9701
9702         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9703
9704 2002-03-11  Juergen Vigna  <jug@sad.it>
9705
9706         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9707         plainly wrong.
9708         (resizeCurrentBuffer): force also the insets to resize themselfes.
9709         (moveCursorUpdate): fixed up for InsetText.
9710
9711 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
9712
9713         * commandtags.h:
9714         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9715         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9716         value of Dialogs::tooltipsEnabled().
9717         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9718
9719 2002-03-08  Juergen Vigna  <jug@sad.it>
9720
9721         * BufferView_pimpl.C (updateInset): update inset inside inset also
9722         if it isn't inside theLockingInset().
9723
9724 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9725
9726         * buffer.C (asciiParagraph): redo some of the word and line length
9727         handling.
9728         (getLists): look for Caption instead of caption.
9729
9730 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9731
9732         * buffer.C (Buffer): initialize niceFile to true
9733         (makeLaTeXFile):
9734         (makeLinuxDocFile):
9735         (makeDocBookFile): make sure niceFile is true on exit
9736
9737 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9738
9739         * buffer.C (makeLaTeXFile): escape ~ in \input@path
9740
9741 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
9742
9743         * LyXSendto.C: remove.
9744         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9745         * lyx_gui.C: remove now-redundant comment.
9746         * ColorHandler.h: remove forward declaration of class WorkArea.
9747         * lyxfunc.C: remove #include "WorkArea.h".
9748
9749 2002-03-07  Juergen Vigna  <jug@sad.it>
9750
9751         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9752         got moved away with the DEPM and also set the inset_owner always
9753         right which before could have been omitted.
9754
9755 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9756
9757         * buffer.C (parseSingleLyXformat2Token): use default layout is the
9758         wanted layout is not found.
9759
9760 2002-03-07  Juergen Vigna  <jug@sad.it>
9761
9762         * CutAndPaste.C (cutSelection): another layout settings forgotten.
9763
9764 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9765
9766         * paragraph.C (breakParagraph): use default layout not layout of
9767         prev paragraph.
9768         (Paragraph): clear ParagraphParameters.
9769
9770 2002-03-06  Juergen Vigna  <jug@sad.it>
9771
9772         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9773         otherwise it would not be a valid lenght. Fixed a special case in
9774         the minipage compatibility read where we end the document with a
9775         minipage.
9776
9777         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9778         was set as it could be 0 for InsetTexts first entry.
9779
9780 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9781
9782         * paragraph.C (writeFile): if layout is empty write out
9783         defaultLayoutName().
9784
9785         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9786         file without named layout we set layout to defaultLayoutName().
9787
9788 2002-03-06  Juergen Vigna  <jug@sad.it>
9789
9790         * CutAndPaste.C (copySelection): set layout for new paragraph.
9791
9792         * text.C (prepareToPrint): leave ERT inset left aligned
9793         (leftMargin): don't indent paragraphs inside ERT insets
9794
9795 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9796
9797         * paragraph.C (breakParagraph): dont call clear do the work manually
9798
9799         * paragraph.[Ch] (clear): remove function
9800
9801 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9802
9803         * paragraph.C (Paragraph): dont call clear, the work has already
9804         been done.
9805
9806         * lyxtextclass.C (operator): assert if n is empty
9807
9808         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9809         work manually instead.
9810
9811 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9812
9813         * BufferView_pimpl.C: protect selectionLost against text == 0
9814
9815 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9816
9817         * text.C (breakParagraph): fix a setting layout to '0' problem.
9818
9819 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9820
9821         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9822         final location of file, for the included files, and graphics.
9823
9824 2002-03-05  Juergen Vigna  <jug@sad.it>
9825
9826         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9827
9828 2002-03-04  Juergen Vigna  <jug@sad.it>
9829
9830         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9831
9832         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9833         last column of multicolumn cells.
9834         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9835
9836 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9837
9838         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9839         file if it doesn't go to a temporary file.
9840
9841         * buffer.C (sgmlOpenTag):
9842         (sgmlCloseTag):  remove extra newline insertion.
9843
9844 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9845
9846         * text.C (getRowNearY): comment out debug msg
9847
9848 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9849
9850         * text2.C: first -> first_y
9851
9852         * text.C (getRowNearY): add some attemts at a possible
9853         optimization, not working.
9854
9855         * tabular.[Ch]: add BufferParams to several function so that newly
9856         created paragraph can be initialized to he default layotu for the
9857         buffers textclass.
9858
9859         * tabular-old.C (ReadOld): add buf->params to call of Init
9860
9861         * screen.C: rename text->first to text->first_y
9862
9863         * paragraph.C (breakParagraph): always set layout in the broken
9864         paragraph
9865
9866         * lyxtextclass.C (Read): remove lowercase
9867         (hasLayout): ditto
9868         (operator): ditto
9869         (delete_layout): ditto
9870
9871         * lyxtext.h: rename first -> first_y
9872
9873         * lyxlayout.C (Read): remove lowercase
9874         (name): ditto
9875         (setName): ditto
9876         (obsoleted_by): ditto
9877
9878         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9879
9880         * buffer.C (insertErtContents): add params are to InsetERT
9881         (parseSingleLyXformat2Token): add code to check if a paragraphs
9882         layout really exist.
9883         (parseSingleLyXformat2Token): add params to several inset
9884         constructors
9885         (asciiParagraph): remove lowercase, do the layout comparisons with
9886         no_case
9887
9888         * BufferView_pimpl.C (cursorNext): first -> first_y
9889         (resizeCurrentBuffer): first -> first_y
9890         (updateScrollbar): first -> first_y
9891         (scrollCB): first -> first_y
9892         (workAreaMotionNotify): first -> first_y
9893         (workAreaButtonPress): first -> first_y
9894         (checkInsetHit): first -> first_y
9895         (cursorPrevious): first -> first_y
9896         (cursorNext): first -> first_y
9897         (Dispatch): add buffer_->params to severl inset contructors
9898
9899 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9900
9901         * lyxlayout.C (Read): remove some debug info that I forgot.
9902
9903         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9904         clean up the code slightly.
9905         (makeLinuxDocFile): ditto
9906         (makeDocBookFile): ditto
9907
9908         * text2.C: layout as string
9909
9910         * text.C: layout as string
9911
9912         * paragraph_pimpl.C: layout as string
9913
9914         * paragraph.[Ch]: layout as string
9915
9916         * lyxtextclasslist.[Ch]: layout as string
9917
9918         * lyxtextclass.[Ch]: layout as string
9919
9920         * lyxtext.h: layout as string
9921
9922         * lyxlayout.[Ch]: layout as string
9923
9924         * lyx_cb.C: layout as string
9925
9926         * bufferview_funcs.C: layout as string
9927
9928         * bufferparams.C: layout as string
9929
9930         * buffer.C: layout as string
9931
9932         * LyXView.[Ch]: layout as string
9933
9934         * LaTeXFeatures.[Ch]: layout as string
9935
9936         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9937
9938         * BufferView_pimpl.C: change current_layout to string, remove
9939         lyx::layout_type.
9940         (Dispatch):
9941         (smartQuote):
9942         (insertInset):
9943         (workAreaButtonRelease): layout as string
9944
9945         * BufferView2.C (unlockInset): adjust
9946
9947         * vspace.C (asLatexCommand): use an explict temp variable.
9948
9949 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9950
9951         * Makefile.am: use FRONTEND_*
9952
9953 2002-03-01  Juergen Vigna  <jug@sad.it>
9954
9955         * tabular.C (SetWidthOfMulticolCell): changed to something better
9956         I hope but still work in progress.
9957         (recalculateMulticolumnsOfColumn): renamed function from
9958         recalculateMulticolCells as it is more appropriate now.
9959         (SetWidthOfCell): calculate multicols better.
9960
9961 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9962
9963         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9964
9965         * lyxfunc.C (processKeySym): print sequence also if it is
9966         `deleted' (complete)
9967
9968         * kbsequence.C (print): print sequence even if it is deleted
9969         (complete would be a better word, actually).
9970
9971         * lyxfunc.C (dispatch): print complete options after a prefix key
9972
9973         * vspace.C (asLatexCommand): rewrite in a slightly different form.
9974
9975 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
9976
9977         * text2.C (setCharFont): eliminate setCharFont code duplication.
9978
9979 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9980
9981         * BufferView_pimpl.C (Dispatch): remove bogus handling of
9982         LFUN_TABULAR_FEATURE (bug #177)
9983
9984 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
9985
9986         * Makefile.am: remove figure.h
9987
9988 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
9989
9990         * Bufferview_pimpl.C:
9991         * CutAndPasteC:
9992         * LaTeX.C:
9993         * LyXSendto.C:
9994         * buffer.C:
9995         * bufferlist.C:
9996         * converter.C:
9997         * language.C:
9998         * lyxfunc.C:
9999         * lyxvc.C:
10000         * paragraph.C:
10001         * text.C:
10002         * text2.C: remove #include "lyx_gui_misc.h".
10003
10004         * LaTeX.C: added #include <cstdio>
10005
10006 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10007
10008         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10009         that the paragraph following this one can have.
10010
10011         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10012
10013         * vspace.C (asLatexCommand): fix bogus gcc warning
10014
10015         * Makefile.am (lyx_SOURCES): remove vms_defines.h
10016
10017 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
10018
10019         * text2.C (setLayout): get rid of redundant code
10020
10021 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
10022
10023         * text2.C (incDepth): make sure depth cannot be increased beyond
10024         reasonable values.
10025
10026 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
10027
10028         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10029         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10030
10031         * PainterBase.h (image):
10032         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10033         a LyXImage const *.
10034
10035 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10036
10037         * BufferView.C:
10038         * BufferView.h:
10039         * BufferView_pimpl.C:
10040         * BufferView_pimpl.h:
10041         * LaTeXFeatures.C:
10042         * LyXAction.C:
10043         * LyXView.C:
10044         * Makefile.am:
10045         * UpdateList.h:
10046         * UpdateList.C:
10047         * buffer.C:
10048         * figure.h:
10049         * figureForm.C:
10050         * figureForm.h:
10051         * figure_form.C:
10052         * figure_form.h:
10053         * lyx_cb.C:
10054         * lyx_gui.C:
10055         * lyx_gui_misc.C:
10056         * lyxfunc.C:
10057         * sp_base.h:
10058         * sp_ispell.h:
10059         * sp_pspell.h:
10060         * sp_spell.C: remove fig inset, and the crap house of
10061           cards that follows it
10062
10063 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10064
10065         * Makefile.am:
10066         * lyxserver.C:
10067         * os2_defines.h:
10068         * os2_errortable.h:
10069         * nt_defines.h: move .h into support/
10070
10071         * vms_defines.h: remove
10072
10073         * WorkArea.C: add space in debug output
10074
10075         * text2.C:
10076         * paragraph.C:
10077         * buffer.C: add WITH_WARNINGS
10078
10079         * vc-backend.h:
10080         * vc-backend.C:
10081         * bufferlist.C: s/retrive/retrieve/, add docs
10082
10083         * vspace.h:
10084         * vspace.C:
10085         * kbmap.h:
10086         * lyxlength.h:
10087         * lyxgluelength.h:
10088         * length_common.h:
10089         * chset.h:
10090         * chset.C: add docs
10091
10092         * lyxgui.C: add ID to X error handler
10093
10094         * lyxtestclass.c: fix typo
10095
10096 2002-02-26  Juergen Vigna  <jug@sad.it>
10097
10098         * tabular_funcs.C (write_attribute): changed so that some default
10099         attributes are not written at all.
10100         (getTokenValue): set default values before trying to read the
10101         value so we have the return value always set as default if we don't
10102         find the token we search for.
10103
10104         * tabular.C (Write): write bools as bools not as strings!
10105
10106 2002-02-22  Juergen Vigna  <jug@sad.it>
10107
10108         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10109         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10110
10111         * text.C (leftMargin): don't add an indent for paragraphs inside
10112         tabular cells (fix #208).
10113
10114 2002-02-21  José Matos  <jamatos@fep.up.pt>
10115
10116         * tabular.C (docBook): fixed support for long tables.
10117
10118 2002-02-20  Juergen Vigna  <jug@sad.it>
10119
10120         * text2.C (getFont): get the drawing font of the Inset if this
10121         paragraph is inside an inset (only important for InsetERT for now).
10122
10123         * buffer.C (insertErtContents): use new lanugage params in ERT
10124         constructor.
10125
10126         * CutAndPaste.C: commenting out seemingly uneeded code.
10127
10128 2002-02-19  Allan Rae  <rae@lyx.org>
10129
10130         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10131         Iterators might be simple to use but they also get invalidated.
10132         (removeAutoInsets): renamed saved cursor tracking variables and added
10133         some comments to clarify what everything does.
10134
10135 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
10136
10137         * Chktex.C:
10138         * LaTeX.C:
10139         * LyXSendto.C:
10140         * converter.C:
10141         * lyx_cb.C:
10142         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10143         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10144
10145         * lyxfunc.C:
10146         * vc-backend.h: remove #include "support/syscall.h"
10147
10148         * LaTeX.C:
10149         * LyXSendto.C:
10150         * converter.C: rearrange #includes in Lars' approved fashion.
10151
10152         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10153         forward declare class Timeout in the header file.
10154
10155         * XFormsView.C: changes due to the above.
10156
10157         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10158         similar to LyXView.
10159
10160         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10161         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10162
10163 2002-02-18  José Matos  <jamatos@fep.up.pt>
10164
10165         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10166         insets contents.
10167
10168 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
10169
10170         * a lot of small ws changes
10171         * add a lot of using std::XXX
10172         * use std construcs some places where approp.
10173         * use some exisint stuff from lyxfunctional where approp.
10174         * Make file changes to use partial linking (lets test this now...)
10175
10176 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10177
10178         * Chktex.C:
10179         * buffer.C:
10180         remove #include "support/syscontr.h" as it's redundant. Always has been.
10181
10182         * Chktex.C:
10183         * LaTeX.C:
10184         * LyXSendto.C:
10185         * converter.C:
10186         * lyx_cb.C:
10187         * vc-backend.C:
10188         change Systemcalls::System to Systemcalls::Wait and
10189         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10190         No change of functionality, just reflects the stripped down Systemcalls
10191         class.
10192
10193 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10194
10195         * debug.[Ch]: add a GRAPHICS type to the enum.
10196
10197 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10198
10199         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10200
10201         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10202         there is an inset.
10203
10204 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10205
10206         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10207         match the changes below.
10208
10209         * text2.C (toggleInset): if there is not editable inset at cursor
10210         position, try to see if cursor is _inside_ a collapsable inset
10211         and close it.
10212
10213 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10214
10215         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10216         document menu has a nice checkbox
10217
10218 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10219
10220         * lyxlength.C (asLatexString): change PW to output as percent of
10221         \textwidth.
10222
10223         * lengthcommon.C: change '%' to 't%'
10224
10225         * lyxfunc.C (dispatch): a few comments from Martin
10226
10227 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
10228
10229         * WorkArea.h:
10230         * WorkArea.C:
10231         * BufferView_pimpl.h:
10232         * BufferView_pimpl.C: clear our selection when X tells us we've lost
10233           the X selection.
10234
10235 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10236
10237         * vspace.C (inPixels): fix compiler warning
10238
10239 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10240
10241         * lyxfunc.C (getStatus): fix status message for disabled commands.
10242
10243 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
10244
10245         * BufferView_pimpl.C: fix crash on close buffer
10246         during selection (#227)
10247
10248 2002-01-27  Herbert Voss  <voss@lyx.org>
10249
10250         * buffer.C: link old Figure to new graphic inset
10251
10252 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
10253
10254         * FontLoader.C (getFontinfo): Change the latex font names in order
10255         to match the names of type1inst.
10256
10257 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10258
10259         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10260
10261         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10262         (extchanged): ditto
10263         (ext_exist): ditto
10264         (remove_files_with_extension): ditto
10265         (remove_file): ditto
10266         (write): ditto
10267
10268         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10269         document is smaller than the work area height. Do not initialize
10270         static variables to 0.
10271
10272 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10273
10274         * lyx_gui.C (init): give the toolbar tooltips a normal font.
10275
10276         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10277         LFUN_LAYOUT_PARAGRAPHS.
10278
10279         * tabular.C (GetCellFromInset): new method. Finds an inset in a
10280         tabular. It is possible to provide a possible cell, which will
10281         typically be the actcell from the corresponding insettabular
10282
10283         * lyxfunc.C (getStatus): small cleanup; disable
10284         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10285         true
10286
10287 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10288
10289         * tabular.C (Validate): remove broken optimization (fixes bug #201)
10290
10291         * paragraph.C (startTeXParParams):
10292         (endTeXParParams): new methods. The LaTeX code to
10293         start/end paragraph formatting
10294         (simpleTeXOnePar): call startTeXParParams also when paragraph is
10295         empty (fixes bug #200)
10296
10297         * vspace.C (inPixels): adapt to the change below
10298         (inPixels): [later] more cleanups (remove unused variables)
10299
10300         * lyxlength.C (inPixels): change to use a width and a height as
10301         parameter.
10302
10303 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10304
10305         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10306         Replaced with \paperwidth
10307
10308         * DepTable.C (insert): add std:: qualifier
10309
10310 2002-01-18  Allan Rae  <rae@lyx.org>
10311
10312         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
10313         updated also?
10314
10315         * text.C (drawInset): Turned out I didn't know enough about how
10316         rebreaking worked.  This fixes most of the redraw problems.  I see
10317         an occasional cursor trail when a line is broken now and the cursor
10318         placement can seem out by a few pixels also after a rebreak.
10319
10320 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10321
10322         * buffer.C (parseSingleLyXformat2Token): update because minipage
10323         width is now a LyXLength
10324
10325         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10326
10327         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10328         math insets
10329
10330 2002-01-17  Juergen Vigna  <jug@sad.it>
10331
10332         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10333
10334         * BufferView2.C (lockInset): call edit() so that theLockingInset()
10335         is set correctly and the inset is updated correctly.
10336
10337 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10338
10339         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10340         the beginning of the loop.
10341
10342 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
10343
10344         * lyxrc.C: improve help for use_scalable_fonts
10345
10346 2002-01-17  Allan Rae  <rae@lyx.org>
10347
10348         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10349
10350 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10351
10352         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10353         make sure to set their inset_owner to the right value (bug #171)
10354
10355 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
10356
10357         * DepTable.h
10358         * DepTable.C: Implement mtime checking to reduce time spent doing
10359         CRCs.
10360
10361 2002-01-16  Juergen Vigna  <jug@sad.it>
10362
10363         * tabular.C (GetAdditionalHeight): one of error fixed.
10364
10365         * lyxrc.C (output): small fix in writing use_pspell.
10366
10367 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
10368
10369         * sp_base.h: #include LString.h
10370
10371 2002-01-16  Allan Rae  <rae@lyx.org>
10372
10373         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
10374         Can someone check this please?
10375
10376         * text.C (drawInset): It was possible that p.row would be removed by
10377         breakAgainOneRow upsetting a few other settings.  There may be another
10378         small tweak possible by setting need_break_row = 0 when p.row has been
10379         removed but I don't know enough about the logic here.
10380
10381 2002-01-15  Allan Rae  <rae@lyx.org>
10382
10383         * text.C (insertChar): removed conditional truism.
10384
10385         * BufferView2.C (removeAutoInsets): More tweaks.
10386         cur_par_prev could be a stray pointer.  Check for trailing empty line
10387         in case last line was cur_par and only had an error inset on it.
10388
10389 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10390
10391         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10392         absolute
10393
10394         * vc-backend.C (most methods):
10395         * exporter.C (Export):
10396         * converter.C (convert):
10397         (runLaTeX):
10398         * LyXSendto.C (SendtoApplyCB):
10399         * lyxfunc.C (dispatch):
10400         (menuNew):
10401         (open):
10402         (doImport):
10403         * lyx_cb.C (AutoSave):
10404         (InsertAsciiFile):
10405         * BufferView_pimpl.C (MenuInsertLyXFile):
10406         * buffer.C (runChktex): use Buffer::filePath().
10407
10408         * buffer.h: rename filename to filename_; rename filepath to
10409         filepath_ and make it private
10410         (filePath): new method
10411
10412         * buffer.C (writeFile): use fileName()
10413         (getLatexName):
10414
10415         * lyx_main.C (init): fix starting  of LyX when the binary is a
10416         link from so,ewhere else.
10417
10418         * minibuffer.C: include <cctype> for isprint
10419
10420 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10421
10422         * buffer.C (parseSingleLyXformat2Token): changes associated with the
10423         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10424         name clash with InsetCollapsable's width function.
10425
10426 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10427
10428         * lastfiles.C: include <iterator>
10429
10430 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10431
10432         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10433         std::count.
10434
10435         * buffer.C (makeLaTeXFile): ditto.
10436         Also make loop operation more transparent.
10437
10438 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10439
10440         * ToolbarDefaults.C: remove trailing comma closing namespace.
10441
10442         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10443
10444         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10445         as in WorkArea.
10446
10447         * trans.C (Load): comment out unused variable, allowed.
10448
10449 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10450
10451         * minibuffer.[Ch] (append_char): new method to recieve input from the
10452         drop-down completion browser. If a key was pressed, then recieve this
10453         char and append it to the existing string.
10454         (peek_event): modify the positioning data passed to the completion
10455         browser so that it can be placed above the minibuffer rather than below.
10456 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10457
10458         * LyXAction.C (init): alloe error-next for readonly documents.
10459
10460         * BufferView2.C (ChangeRefsIfUnique): use standard version of
10461         count.
10462
10463 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10464
10465         * bufferlist.C (readFile): create the buffer _after_ checking that
10466         the file exists.
10467
10468         * lyxfunc.C (verboseDispatch): fix handling of arguments
10469
10470         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10471
10472         * lyxrc.C: use string::erase() instead of initializing to "".
10473
10474
10475 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10476
10477         * BufferView_pimpl.h:
10478         * BufferView_pimpl.C:
10479         * WorkArea.h:
10480         * WorkArea.C:
10481         * text2.C: tell X when we have made a selection for copying
10482
10483 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10484
10485         * BufferView_pimpl.C (MenuInsertLyXFile):
10486         * lyxfunc.C (menuNew):
10487         (open):
10488         (doImport): add shortcuts to directory buttons
10489
10490         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10491         open a float)
10492
10493         * lyxfunc.C (setStatusMessage):
10494         (getStatusMessage): new methods
10495         (getStatus):use setStatusMessage instead of setErrorMessage
10496         (dispatch): when function is disabled, set error message here
10497         [instead of in getStatus previously]
10498
10499         * BufferView_pimpl.C (workAreaButtonRelease): update
10500         toolbar/menubar here too.
10501
10502 2002-01-13  Allan Rae  <rae@lyx.org>
10503
10504         * BufferView2.C (removeAutoInsets): finished off earlier fix.
10505         Now seems indestructible.  Remaining task is to audit all other
10506         code affected by deleteEmptyParagraphMechanism.  One small quirk
10507         left is that an empty document with an error in the preamble can
10508         be made to report an error but no error box appears.  I don't know
10509         where it goes.
10510         (removeAutoInsets): Improved comments.
10511
10512 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
10513
10514         * Thesaurus.h:
10515         * Thesaurus.C: update for Aiksaurus 0.14
10516
10517 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10518
10519         * text2.C (firstParagraph): removed member function, all uses
10520         replaces with ownerParagraph
10521         (redoParagraphs): here
10522         (updateInset): here
10523         (toggleAppendix): here
10524         * BufferView2.C (insertErrors): here
10525         (setCursorFromRow): here
10526
10527 2002-01-13  Allan Rae  <rae@lyx.org>
10528
10529         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10530         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10531         There is still a way to segfault this although you may have to do this
10532         multiple times: Have an InsetERT with an unknown command in it.
10533         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10534         <down-arrow>, <Enter> again, View->DVI, BANG!
10535
10536         * text2.C (setCursor):
10537         (deleteEmptyParagraphMechanism):
10538         * lyxtext.h (setCursor):
10539         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10540         Making use of the return value may help fix other bugs.
10541
10542 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10543
10544         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10545
10546         * LyXView.C (updateMenubar): call MenuBar::update here
10547         (updateToolbar): but not here
10548         (showState): do not update toolbar/menubar
10549
10550         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10551         should need to care about that.
10552
10553         * lyxfunc.C (verboseDispatch): simplify a bit
10554         (getStatus): have a version which takes a pseudoaction, and
10555         another which requires a (kb_action,string).
10556
10557         * LyXAction.C (retrieveActionArg): make it work also when action
10558         is not a pseudo-action.
10559         (getActionName): simplify a bit
10560         (helpText):
10561
10562 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10563
10564         * lyxfunc.C (verboseDispatch): new families of methods with
10565         several ways to specify a command and a bool to indicate whether
10566         the command name and shortcut should be displayed in minibuffer
10567         (eventually, we could extend that to a finer bitmask like
10568         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10569         (dispatch): the pristine dispatch command which just, well,
10570         dispatchs! Note it still sets its result to minibuffer; I'm not
10571         sure we want that.
10572
10573         * lyxfunc.h: remove setHintMessage
10574
10575         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10576
10577 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10578
10579         * BufferView_pimpl.C (specialChar): delete new inset if we have
10580         not been able to insert it.
10581
10582         * kbmap.C: revert to using int instead of kb_action, since all we
10583         are dealing with is pseudo-actions.
10584
10585         * LyXAction.C (searchActionArg): change to return int instead of
10586         kb_action, since the result is a pseudoaction.
10587
10588 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
10589
10590         * buffer.C (insertErtContents): Fix (partially) the font bug.
10591
10592 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10593
10594         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10595         as the other one is broken on my machine!
10596
10597 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
10598
10599         * commandtags.h:
10600         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10601
10602 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
10603
10604         * lyxrc.[Ch]: change names and descriptions of popup font variables to
10605         reflect their actual use. Provide compatibility code for older lyxrc
10606         files.
10607
10608         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10609         FL_NORMAL_STYLE.
10610         change names of popup font variables in line with the changes to lyxrc.C
10611
10612 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10613
10614         * buffer.C (asciiParagraph): avoid outputing a word twice after
10615         an inset.
10616
10617         * lyxrc.C (getDescription): document that document_path and
10618         template_path can be empty.
10619
10620 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10621
10622         * LaTeXFeatures.C (getMacros):
10623         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10624
10625         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10626
10627         * LaTeXFeatures.C (useFloat): require "float" here instead of in
10628         getPackages.
10629         (getPackages): rename feature "floats" to "float". Use an array to
10630         iterate over 'simple' features (i.e. just a \usepackage). Add
10631         handling of "amsmath" (renamed from "amsstyle").
10632
10633 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
10634
10635         * LaTeXFeatures.C (require): Prevent duplicate entries in the
10636         features list.
10637
10638 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
10639
10640         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10641         FuncStaus::FuncStatus & FuncStaus::some_method().
10642
10643 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
10644
10645         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10646         of the func_satus stuff. Edited and massaged in various ways by
10647         JMarc.
10648
10649         * lyxfunc.C (getStatus): use FuncStatus
10650
10651 2002-01-08  Juergen Vigna  <jug@sad.it>
10652
10653         * text.C (nextBreakPoint): use function Inset::isChar().
10654
10655         * paragraph.C (TeXOnePar): use function
10656         Inset::forceDefaultParagraphs.
10657
10658         * buffer.C (latexParagraphs): use function
10659         Inset::forceDefaultParagraphs.
10660
10661 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10662
10663         * lyx_gui.C (init): set the style of the menu popups to
10664         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10665
10666 2002-01-07  Juergen Vigna  <jug@sad.it>
10667
10668         * text.C (setHeightOfRow): small fix
10669         (prepareToPrint): don't look at alignment if we don't have the place
10670         for doing it.
10671
10672 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10673
10674         * box.C: New file. Move the Box methods and functions out of box.h,
10675         following Lars' suggestion.
10676
10677 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10678
10679         * box.h: #include "support/LOstream.h", needed for inlined function.
10680
10681         * lyxtextclass.C:
10682         * lyxtextclasslist.C: added some using std declarations.
10683
10684 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
10685
10686         * box.h: make signed dimensions to allow insets wider than
10687           the screen (bug #162)
10688
10689         * BufferView_pimpl.C: add some insetHit debug
10690
10691 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
10692
10693         * vc-backend.C: add FIXME
10694
10695 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10696
10697         * lyxfunc.C (getStatus): enable code for showing math font status
10698         in toolbar/menu.
10699
10700 2002-01-07  Juergen Vigna  <jug@sad.it>
10701
10702         * text.C (nextBreakPoint): removed debug output not needed anymore.
10703
10704 2002-01-06  Juergen Vigna  <jug@sad.it>
10705
10706         * text.C (nextBreakPoint): fixed up this function we had this bug
10707         since ever but now hopefully we break row better.
10708         (insertChar): we have to check if an inset is the next char as it
10709         could now happen that a large inset is causing a break.
10710
10711 2002-01-05  Juergen Vigna  <jug@sad.it>
10712
10713         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10714         if it doesn't like to be drawed.
10715
10716 2002-01-04  Juergen Vigna  <jug@sad.it>
10717
10718         * BufferView2.C (lockInset): forgot to set a cursor.
10719
10720         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10721
10722 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
10723
10724         * FormMathsPanel.C:
10725         * FormMathsPanel.h
10726         * MathsSymbols.C:
10727         * form_maths_panel.C:
10728         * form_maths_panel.h:
10729         * form_maths_panel.fd: implemented sub- and super- buttons in math
10730         panel.
10731
10732         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10733         (or ^ space) to be used as in TeX (req'd by André).
10734
10735         * lyxfunc.C: Allow ^ and _ again to be used both as
10736         super/subscript (mathed) and as themselves (in text).
10737
10738 2002-01-03  Allan Rae  <rae@lyx.org>
10739
10740         * LyXView.C (updateWindowTitle): Setup a short icon title of either
10741         "LyX" or the filename of the current buffer if it has one.  This is a
10742         modified form of John Levon's patch.
10743
10744         * XFormsView.C (setWindowTitle): also set icon title.
10745
10746         * LyXView.h (setWindowTitle): signature changed.
10747         * XFormsView.h (setWindowTitle): ditto.
10748
10749 2002-01-02  Juergen Vigna  <jug@sad.it>
10750
10751         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10752
10753 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10754
10755         * screen.C (topCursorVisible): introduce a temp var for
10756         text->cursor.row(), handle the case where this row is null. (kindo
10757         hachish)
10758
10759         * text2.C (setCursor): add a couple of asserts.
10760
10761         * paragraph.h (inset_iterator): add -> operator
10762
10763         * paragraph.[Ch] (autoDeleteInsets): remove member function
10764
10765         * BufferView2.C (removeAutoInsets): rewrite to handle the old
10766         cursor pos correctly and handle inset deletion by itself.
10767         (insertErrors): move iterator declaration out of for expression
10768
10769         * lyxtextclass.C: add <algorithm>
10770
10771         * Makefile.am: added the new files to sources, removed layout.C
10772
10773         * layout.C: removed file
10774
10775         * layout.h: remove LYX_DUMMY_LAYOUT
10776
10777         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10778         layout.
10779
10780         * lyxlayout.[Ch]:
10781         * lyxtextclass.[Ch]:
10782         * lyxtextclasslist.[Ch]: new files
10783
10784         * include order changes to a lot of files, also changes because of
10785         the six new files.
10786
10787 2001-12-27  Juergen Vigna  <jug@sad.it>
10788
10789         * buffer.C (asciiParagraph): more fixes.
10790
10791         * tabular.C (ascii): make ascii export support export of only the
10792         data separated by a column-delimiter.
10793         (ascii): better support for ascii export.
10794
10795         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10796
10797 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10798
10799         * tabular_funcs.C: use a "using std::getline" instead of the
10800         previous fix from Angus (necessary for cxx + lyxstring)
10801
10802 2001-12-24  Juergen Vigna  <jug@sad.it>
10803
10804         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10805
10806         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10807         problems. First check a minipage also if we have some ert-contents
10808         (not only on par->size(), second set the right depth of the paragraph
10809         on the relink to the root-paragraph-list!
10810
10811         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10812         which then did not anymore update the main paragraphs on undo/redo!
10813
10814 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10815
10816         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10817         code. Support all font-changing funcs (even those which are not in
10818         menu currently). Support for reporting font settings in
10819         mathed (disabled until Andre provides a function on mathed's side).
10820
10821         * func_status.h (toggle): small helper function to set toggle
10822         state on a flag.
10823
10824 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10825
10826         * tabular_funcs.C: getline -> std::getline
10827
10828 2001-12-21  Juergen Vigna  <jug@sad.it>
10829
10830         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10831         accessed and could be 0 (I couldn't generate this but it seems
10832         Michael could!).
10833
10834 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10835
10836         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10837         * tabular_funcs.h: here and include iosfwd
10838
10839 2001-12-20  Juergen Vigna  <jug@sad.it>
10840
10841         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10842         inside inset but undo_par was.
10843
10844 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10845
10846         * Thesaurus.C: always include <config.h> in sources.
10847
10848         * Painter.h:
10849         * lyxlookup.h:
10850         * box.h: do not include <config.h> in header files
10851
10852         * text.C (paintLastRow): remove unused variable
10853
10854         * text.C (transformChar):
10855         (insertChar):
10856         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10857
10858         * Painter.C (text):
10859         * font.C (width): rewrite to use uppercase() instead of
10860         islower/toupper.
10861
10862         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10863
10864 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10865
10866         * lyxfind.C: clean up of find failure position change
10867
10868 2001-12-20  Juergen Vigna  <jug@sad.it>
10869
10870         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10871
10872         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10873         (TeXRow): added to LaTeX a single tabular row.
10874         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10875         (Latex): simplified and finally good LT-h/f support.
10876         (various_functions): just small adaptions for LT-h/f support.
10877
10878         * tabular_funcs.[hC]: added and moved here all not classfunctions
10879         of LyXTabular.
10880
10881 2001-12-19  Juergen Vigna  <jug@sad.it>
10882
10883         * tabular.[Ch]: better support for longtabular options (not finished
10884         yet!)
10885
10886 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10887
10888         * text.C (paintLastRow): use the label font instead of the font of
10889         the last character to compute the size of *_BOX. This makes more
10890         sense and avoids a crash with empty paragraphs.
10891         Use Painter::rectangle to draw EMPTY_BOX.
10892
10893 2001-12-19  Juergen Vigna  <jug@sad.it>
10894
10895         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10896         the paragraphs if the replaced paragraph is not the first one!
10897         Tried to delete not used paragraphs but does not work yet so for
10898         now it's inside #ifdef's and by default off!
10899
10900 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10901
10902         * MenuBackend.C: include "lyx_main.h" instead of declaring
10903         lastfiles (actually was declared as LastFiles* instead of a
10904         scoped_ptr).
10905
10906 2001-12-17  Juergen Vigna  <jug@sad.it>
10907
10908         * tabular.C (AppendColumn): applied John's fix
10909
10910 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10911
10912         * BufferView.h:
10913         * BufferView.C:
10914         * BufferView_pimpl.h:
10915         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10916
10917         * Makefile.am:
10918         * box.h: new start of class for above
10919
10920         * lyxfunc.C: ignore space-only minibuffer dispatches.
10921           Show the command name when it doesn't exist
10922
10923         * minibuffer.C: don't add empty lines to the history
10924
10925         * minibuffer.C: add a space on dropdown completion
10926
10927 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10928
10929         * text.C: fix line above/below drawing in insets
10930
10931 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10932
10933         * lyxlength.C (LyXLength): Initialize private variables.
10934
10935 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10936
10937         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10938         when inserting error insets.
10939
10940 2001-12-13  Juergen Vigna  <jug@sad.it>
10941
10942         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10943         actually sometimes the before-paragraph.
10944         (setUndo): don't clear the redostack if we're not actually undoing!
10945
10946 2001-12-06  Juergen Vigna  <jug@sad.it>
10947
10948         * undo_funcs.C (textHandleUndo): well after John's hint I got here
10949         and fixed redoing of main paragraph, so we can use it now ;)
10950
10951         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10952
10953 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10954
10955         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10956         Juergen's request
10957
10958 2001-12-13  André Pönitz <poenitz@gmx.net>
10959
10960         * undostack.[Ch]:
10961         * undo_func.C: minor cleanup
10962
10963 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10964
10965         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10966         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10967         font in urw-fonts package which is marked as -urw-fontspecific and
10968         does not work (incidentally, changing the encoding in the
10969         fonts.dir of this package to -adobe-fontspecific fixes the
10970         problem).
10971
10972         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10973         is a crash when undoing first paragraph (Juergen, please take a
10974         look). THis does not mean the undo fix is wrong, just that it
10975         uncovers problems.
10976
10977         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10978         the (Paragraph*) version when needed instead of duplicating the
10979         code.
10980
10981         * text.C (workWidth): use Inset::parOwner to find out where the
10982         inset has been inserted. This is a huge performance gain for large
10983         documents with lots of insets. If Inset::parOwner is not set, fall
10984         back on the brute force method
10985
10986         * paragraph_pimpl.C (insertInset):
10987         * paragraph.C (Paragraph):
10988         (cutIntoMinibuffer): set parOwner of insets when
10989         inserting/removing them
10990
10991         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10992
10993 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
10994
10995         * commandtags.h:
10996         * LyXAction.C:
10997         * lyx_main.C:
10998         * lyxfunc.C:
10999         * mathed/formulabase.C:
11000         * mathed/math_cursor.[Ch]:
11001         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11002
11003
11004 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11005
11006         * lyxlength.[Ch] (operator!=): new function
11007
11008 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11009
11010         * text.C (workWidth): use Inset::parOwner to find out where the
11011         inset has been inserted. This is a huge performance gain for large
11012         documents with lots of insets. If Inset::parOwner is not set, fall
11013         back on the brute force method
11014
11015         * paragraph_pimpl.C (insertInset):
11016         * paragraph.C (Paragraph):
11017         (cutIntoMinibuffer): set parOwner of insets when
11018         inserting/removing them
11019
11020         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11021
11022 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11023
11024         * tabular-old.C (getTokenValue):
11025         * tabular.C (getTokenValue):
11026         (write_attribute): new versions for LyXLength
11027         (everywhere): adjust the use of widths
11028
11029         * tabular.h: change the type of widths from string to LyXLength
11030
11031 2001-12-11  Ben Stanley <bds02@uow.edu.au>
11032
11033         * paragraph.C: fixed missing line number count when exporting
11034         Environments to LaTeX file
11035
11036         * buffer.C: added informational message for checking line numbers.
11037
11038 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11039
11040         * text2.C (deleteEmptyParagraphMechanism): if there is only one
11041         paragraph, do the 'double space' part, but not the 'empty
11042         paragraph' one.
11043
11044         * text.C (workWidth): small optimization
11045         (getLengthMarkerHeight): use minimal size for negative lengths.
11046
11047 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
11048
11049         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11050
11051         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11052
11053 2001-12-11  André Pönitz <poenitz@gmx.net>
11054
11055         * FontLoader.C:
11056         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11057
11058 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11059
11060         * text2.C: keep selection on a setFont()
11061
11062 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11063
11064         * lyx_cb.C: another bv->text misuse, from insert label
11065
11066 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11067
11068         * kbsequence.h:
11069         * kbsequence.C: re-instate nmodifier mask
11070
11071 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
11072
11073         * lyx_main.h: make lyxGUI private.
11074
11075 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11076
11077         * lyxfind.C: place the cursor correctly on failed search
11078
11079 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11080
11081         * text.C (getLengthMarkerHeight): for small heights, the arrows
11082         are not always on top/bottom of the text
11083         (drawLengthMarker): smaller arrows; take the left margin in
11084         account; draw also vfills.
11085         (paintFirstRow):
11086         (paintLastRow): remove special code for vfill and standard spaces,
11087         since everything is handled in drawLengthMarker now.
11088
11089 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11090
11091         * buffer.C (insertErtContents): try to handle font and language
11092         interaction a bit better.g
11093
11094         * ColorHandler.C (updateColor): change the hash to cover the whole
11095         LColor enum, ws cleanup
11096         (getGCLinepars): ditto
11097         (getGCLinepars): only lookup in the linecache once.
11098
11099 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
11100
11101         * iterators.C (operator++): Make the iterator more robust
11102
11103         * BufferView2.C (removeAutoInsets): Use paragraph iterators
11104         (John's patch)
11105         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11106
11107 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11108
11109         * lyxtext.h:
11110         * text.C: better added space drawing
11111
11112 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11113
11114         * LyXView.C:
11115         * BufferView2.C: fix layout combo update on inset unlock
11116
11117 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11118
11119         * Makefile.am: don't compile unused files
11120
11121 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11122
11123         * lyxfunc.C:
11124         * commandtags.h:
11125         * LyXAction.C: remove old LFUN_LAYOUTNO
11126
11127 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11128
11129         * paragraph_pimpl.h:
11130         * paragraph_pimpl.C: isTextAt() doesn't need font param
11131
11132 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11133
11134         * lyxlex.h:
11135         * lyxlex.C: little cleanup
11136
11137 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11138
11139         * BufferView_pimpl.C: fix insertAscii for insets
11140
11141 2001-12-05  Juergen Vigna  <jug@sad.it>
11142
11143         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11144         set the right font on the "multi" paragraph paste!
11145
11146 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11147
11148         * trans_decl.h:
11149         * trans_mgr.[Ch]:
11150         * trans.[Ch]:
11151         * lyxgluelength.C:
11152         * lyxlength.C: remove out-commented code.
11153
11154         * BufferView_pimpl:
11155         * CutAndPaste.C:
11156         * DepTable.C:
11157         * buffer.C:
11158         * chset.C:
11159         * lastfiles.C:
11160         * lyxlex.C:
11161         * lyxlex_pimpl.C:
11162         * lyxserver.C:
11163         * screen.C:
11164         * tabular-old.C:
11165         * tabular.C:
11166         * text.C:
11167         * trans_mgr.C:
11168         * vc-backend.C: change "while(" to "while ("
11169
11170         * lyxlength.[Ch]: add zero function to check if length is zero or
11171         not
11172         * lyxgluelength.C: use it
11173
11174 2001-12-05  Allan Rae  <rae@lyx.org>
11175
11176         * lyxlength.C: Attempted a fix for the abs(int) header selection.
11177         Works for 2.95.3, from what I understand of Garst's reports this should
11178         work for other g++ versions.  We're screwed if the abs(int) definition
11179         changed between bugfix releases of gcc.
11180
11181 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11182
11183         * text.C: fix chapter label offset !
11184
11185 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11186
11187         * lyxtext.h:
11188         * text.C: fix hfill at end of line, clean up
11189
11190 2001-12-04  Juergen Vigna  <jug@sad.it>
11191
11192         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11193         that we force an update of the inset and it's owners if neccessary.
11194
11195 2001-12-03  Juergen Vigna  <jug@sad.it>
11196
11197         * text.C (rowLast): simplified code
11198
11199 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11200
11201         * lyxfunc.C: fix show options on timeout
11202
11203 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11204
11205         * screen.C (topCursorVisible): scroll half a page when the cursor
11206         reached top of bottom of screen
11207
11208 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
11209
11210         * minibuffer.C: deactivate on loss of focus
11211
11212 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11213
11214         * vspace.[Ch] (operator!=): add operator.
11215
11216 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
11217
11218         * BufferView_pimpl.C: refuse to open an inset when
11219         there's a selection.
11220
11221 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
11222
11223         * BufferView_pimpl.C: allow to click on RHS of full row insets
11224
11225 2001-11-30  Juergen Vigna  <jug@sad.it>
11226
11227         * tabular.C (LyXTabular): add a same_id to set the same id's in the
11228         insets for undo reasons.
11229
11230 2001-11-28  André Pönitz <poenitz@gmx.net>
11231
11232         * vspace.[Ch]: cosmetical changes
11233
11234 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11235
11236         * LyXAction.h:
11237         * LyXAction.C:
11238         * lyxfunc.h:
11239         * lyxfunc.C:
11240         * kbmap.h:
11241         * kbmap.C:
11242         * lyxrc.C:
11243         * kbsequence.h:
11244         * kbsequence.C: part re-write of old kb code
11245
11246         * Painter.C:
11247         * WorkArea.C: remove Lgb_bug_find_hack
11248
11249 2001-11-30  José Matos <jamatos@fep.up.pt>
11250
11251         * buffer.C (makeDocBookFile): add a comment to point a hack.
11252         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11253         Fixed a double write of labels.
11254
11255 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11256
11257         * LaTeX.C:
11258         * LaTeX.h Fixed bug in LaTeX class where it would not
11259         re-run latex if no depfiles were changed, but the .dvi was removed.
11260
11261 2001-11-28  André Pönitz <poenitz@gmx.net>
11262
11263         * all the files from the change on 2001/11/26:
11264         use lyx::layout_type instead of LyXTextClass::size_type
11265         use lyx::textclass_type instead of LyXTextClassList::size_type
11266
11267 2001-11-29  Juergen Vigna  <jug@sad.it>
11268
11269         * text.C: added support for paragraph::isFreeSpacing()
11270
11271         * buffer.C: same as above
11272
11273         * paragraph.h: inserted isFreeSpacing() function to enable
11274         FreeSpacing inside InsetERT.
11275
11276         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11277         of the paragraph's in the cut/copy buffer to 0!
11278
11279         * text2.C (removeRow): remove the assert as it can!
11280
11281         * lyxtext.h: added helper function firstRow returning firstrow and
11282         made firstrow private again.
11283
11284         * BufferView2.C (lockInset): don't relock if we're already locked!
11285
11286         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11287         the only paragraph.
11288         (removeRow): added Assert::(firstrow)
11289
11290         * debug.C: forgot to add INSETTEXT here.
11291
11292 2001-11-28  Juergen Vigna  <jug@sad.it>
11293
11294         * sp_spell.C (initialize): changed error text to more general
11295         spellchecker command use (not only ispell!)
11296
11297         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11298
11299         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11300
11301 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11302
11303         * vspace.C: initialise lyxgluelength on failure
11304
11305 2001-11-28  Allan Rae  <rae@lyx.org>
11306
11307         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11308         declaration & definition that looks like a function declaration.
11309
11310 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11311
11312         * BufferView2.C (copy):
11313         (copyEnvironment): do not clear the selection when doing a copy.
11314
11315         * text.C (paintFirstRow): compilation fix
11316
11317 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
11318
11319         * tabular.C (Latex): correct line count when writing latex.
11320
11321 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
11322
11323         * paragraph_pimpl.h:
11324         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11325           bug a bit
11326
11327 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11328
11329         * text.C:
11330         * LColor.h:
11331         * LColor.C: change vfillline->added_space
11332
11333         * text.C: add markers and text for added space
11334
11335         * vspace.C: fix comment
11336
11337 2001-11-28  André Pönitz <poenitz@gmx.net>
11338
11339         * paragraph.C: whitespace changes
11340         * all the other files from the change on 2001/11/26:
11341         change *::pos_type into lyx::pos_type
11342
11343 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
11344
11345         * buffer.C (parseSingleLyXformat2Token): Set the language to the
11346         language of the document when inserting error insets.
11347
11348 2001-11-26  André Pönitz <poenitz@gmx.net>
11349
11350         * BufferView_pimpl.[Ch]:
11351         *       CutAndPaste.C:
11352         * buffer.[Ch]:
11353         * lyxcursor.[Ch]:
11354         * lyxfind.C:
11355         * lyxfunc.C:
11356         * lyxrow.[Ch]:
11357         * paragraph.[Ch]:
11358         * paragraph_pimpl.[Ch]:
11359         * sp_spell.C:
11360         * text.C:
11361         * text2.C: reduce header dependencies, introduce type for positions
11362
11363 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11364
11365         * <various>: change to use Alert.h
11366
11367 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
11368
11369         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11370         when encountering an unknown token.
11371         (readLyXformat2): Show an error message if there were unknown tokens.
11372
11373 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
11374
11375         * BufferView2.C:
11376         * BufferView_pimpl.C:
11377         * buffer.C:
11378         * paragraph.h:
11379         * text.C:
11380         * text2.C: use par->isInset()
11381
11382 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11383
11384         * paragraph_pimpl.h:
11385         * paragraph_pimpl.C: cleanup
11386
11387 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11388
11389         * text2.C (removeRow):
11390         * text.C (setHeightOfRow): remove useless (and costly) call to
11391         getRow.
11392
11393 2001-11-20  Allan Rae  <rae@lyx.org>
11394
11395         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11396         Now need Inset*::checkInsertChar() to return true for appropriate
11397         cases so that the characters in the minibuffer will actually be
11398         inserted.
11399
11400 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11401
11402         * text.C: change the order of the includes.
11403         (workWidth): initialize it at once.
11404         (workWidth): make maxw unsigned
11405         (setHeightOfRow): remove unused variable (inset)
11406         (selectSelectedWord): remove unused variable (inset)
11407         (paintRowText): fix drawing of hfill characters, and clean up a bit.
11408
11409 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11410
11411         * lyxserver.C (emergencyCleanup): do not try to close pipes if
11412         server is not running.
11413         (openConnection):
11414         (closeConnection): add debug info when server is disabled.
11415
11416         * ColorHandler.C (getGCForeground): send debug message to GUI
11417         channel.
11418
11419         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11420
11421         * kbmap.C (bind): modify because return conventions of
11422         kb_sequence::parse have changed.
11423
11424         * kbsequence.C (parse): only ignore spaces and not any stupid
11425         control character. This avoids tests like s[i] <= ' ', which are
11426         guaranteed to fail with 8bit characters and signed chars.
11427         Change return code to string::npos when there have been no error
11428         (0 was a bad idea when error is at first character)
11429
11430 2001-11-14  José Matos  <jamatos@fep.up.pt>
11431
11432         * buffer.h:
11433         * buffer.C (simpleDocBookOnePar): removed unused argument.
11434
11435 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11436
11437         * text.C (selectNextWordToSpellcheck): do not test explicitely for
11438         insets which are part of a word. Paragraph::isLetter takes care of
11439         that now. Use Paragraph::isInset to identify insets.
11440         (selectSelectedWord): do not test for hyphenation break.
11441
11442         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11443         that protected spaces are considered as spaces.
11444
11445         * paragraph.C (isLetter): cleanup the code for ispell extras; use
11446         Inset::isLetter.
11447
11448 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
11449
11450         * lyxserver.h:
11451         * lyxserver.C: fix it. and small cleanup.
11452
11453 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11454
11455         * BufferView_pimpl.C: use inline helpers
11456
11457         * LaTeXFeatures.h:
11458         * LaTeXFeatures.C: fix typos
11459
11460         * Spacing.h:
11461         * Spacing.C: move spacing_string into class
11462
11463         * ToolbarDefaults.C: move stuff into namespace anon
11464
11465         * layout.h: update enum
11466
11467         * lyxfunc.C: use better debug
11468
11469         * minibuffer.h: fix typo
11470
11471         * debug.h:
11472         * debug.C:
11473         * WorkArea.C: add and use Debug::WORKAREA
11474
11475         * lyxtext.h:
11476         * text.C:
11477         * text2.C: code re-organisation, inline helpers
11478
11479 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
11480
11481         * Layout.C: replaced a few cases of std::vector.size() == 0 with
11482         std::vector.empty().
11483
11484 2001-11-09  Allan Rae  <rae@lyx.org>
11485
11486         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11487         '\n's after tables.  Tabular and ERT inset work now makes this no
11488         longer necessary.
11489
11490 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11491
11492         * minibuffer.h:
11493         * minibuffer.C: fix crash, improve drop-down completion
11494
11495 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
11496
11497         * lyxserver.h:
11498         * lyxserver.C: invalidate fd's when doing endPipe()
11499
11500 2001-11-08  José Matos  <jamatos@fep.up.pt>
11501
11502         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11503         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11504
11505         * paragraph.h:
11506         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11507
11508 2001-11-07  José Matos  <jamatos@fep.up.pt>
11509
11510         * buffer.h:
11511         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11512         const qualifier.
11513
11514         * buffer.C (sgmlOpenTag):
11515         * buffer.C (sgmlCloseTag): removed debug info.
11516
11517         * buffer.h (sgmlOpenTag):
11518         * buffer.h (sgmlCloseTag): made public.
11519
11520 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11521
11522         * buffer.C (saveParamsAsDefaults):
11523         * lyx_cb.C (MenuLayoutSave): remove
11524
11525         * LyXAction.C (init):
11526         * commandtags.h:
11527         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11528
11529 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11530
11531         * buffer.C (setPaperStuff): removed from here...
11532
11533         * bufferparams.C (setPaperStuff): ... and moved there.
11534
11535 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
11536
11537         * minibuffer.h:
11538         * minibuffer.C:
11539         * XFormsView.C: add support for drop-down completion
11540
11541 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
11542
11543         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11544         commands.
11545
11546 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11547
11548         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11549         disabled.
11550
11551 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
11552
11553         * lyx_main.C: change ref to known bugs
11554
11555 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
11556
11557         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11558         to work around older babel problems.
11559
11560 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11561
11562         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11563
11564 2001-10-24  Juergen Vigna  <jug@sad.it>
11565
11566         * tabular-old.C (ReadOld): below variable changes reflected.
11567
11568         * tabular.[Ch]: added ltType struct for longtable header/footer
11569         defines and changed all instances where they are used. Added
11570         future support for double top/bottom rows.
11571
11572 2001-10-24  José Matos  <jamatos@fep.up.pt>
11573
11574         * buffer.h (docbookHandleCaption):
11575         * buffer.C (docbookHandleCaption): removed unused function.
11576         (makeDocBookFile): moved docbook supported version to v4.1.
11577
11578 2001-10-24  José Matos  <jamatos@fep.up.pt>
11579
11580         * tabular.h:
11581         * tabular.C (docbookRow): new function to export docbook code of a row.
11582         (DocBook): now honors the longtable flags.
11583
11584 2001-10-23  José Matos  <jamatos@fep.up.pt>
11585
11586         * LaTeXFeatures.h:
11587         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11588         of the lyx defined sgml entities used in a docbook/linuxdoc document.
11589
11590         * buffer.C (makeLinuxDocFile):
11591         (makeDocBookFile): reworked the preamble, more clean, and with
11592         support for lyx defined entities. Changed the document declaration
11593         to be more XML friendly.
11594
11595         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11596         if we need to output XML that should be done with a filter.
11597
11598 2001-10-22  Juergen Vigna  <jug@sad.it>
11599
11600         * sp_pspell.h (class PSpell): add alive function needed in the
11601         controller to see if the spellchecker could be started.
11602
11603 2001-10-22  Juergen Vigna  <jug@sad.it>
11604
11605         * buffer.C (insertStringAsLines): modify the font for inserting
11606         chars in certain conditions by calling checkInsertChar(font).
11607
11608 2001-10-19  Juergen Vigna  <jug@sad.it>
11609
11610         * text.C (workWidth): use getRow instead of wrong algorithm.
11611         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11612
11613 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
11614
11615         * lyxserver.h:
11616         * lyxserver.C:
11617         * lyx_main.h:
11618         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11619
11620 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11621
11622         * text.C (workWidth): do not search for the exact row when
11623         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11624         optimization for big documents.
11625
11626 2001-10-18  Juergen Vigna  <jug@sad.it>
11627
11628         * text.C (workWidth): new function with added Inset * parameter.
11629
11630 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11631
11632         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11633
11634         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11635         change return type of getColumnNearX.
11636
11637
11638         * text.C (changeRegionCase): use uppercase/lowercase instead of
11639         toupper/tolower.
11640         (leftMargin):
11641         (rightMargin): simplify code by factoring out the uses of
11642         textclasslist.
11643         (labelFill):
11644         (numberOfHfills):
11645         (setHeightOfRow):
11646         (appendParagraph): use Paragraph::size_type
11647
11648 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11649
11650         * vspace.C (asLatexString): add a missing break
11651
11652 2001-10-15  Herbert Voss  <voss@perce.de>
11653
11654         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11655
11656 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11657
11658         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11659         is not available.
11660
11661 2001-10-10  André Pönitz <poenitz@gmx.net>
11662
11663         * lyxfunc.C: removed greek_kb_flag.
11664
11665 2001-10-10  Herbert Voss  <voss@perce.de>
11666
11667         * lyx_main.C: delete global string help_lyxdir.
11668
11669 2001-10-09  Herbert Voss  <voss@perce.de>
11670
11671         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11672
11673         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11674
11675         * lyx_main.C: added global string help_lyxdir.
11676
11677         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11678
11679 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11680
11681         * lyxrc.C (set_font_norm_type): support iso8859-4
11682
11683 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
11684
11685         * LaTeX.C (deplog): add another regex for MikTeX
11686
11687 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11688
11689         * lyxrc.C (set_font_norm_type): support iso8859-3
11690
11691 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11692
11693         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11694
11695         * LaTeXFeatures.C: remove special case of french and index
11696
11697         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11698         before \begin{document}). This solves several incompatibilities.
11699
11700 2001-10-03  Garst Reese  <reese@isn.net>
11701
11702         * lyx_cb.C: change CheckTex error msg.
11703
11704 2001-10-03  José Matos  <jamatos@fep.up.pt>
11705
11706         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11707
11708 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11709
11710         * .cvsignore: update
11711
11712         * lyx_main.C (commandLineVersionInfo): use new style version info.
11713
11714         * buffer.C (writeFile):
11715         (makeLaTeXFile):
11716         (makeLinuxDocFile):
11717         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11718
11719         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11720
11721         * version.h: update to use stuff in version.C
11722
11723         * version.C.in: new file. Contains version information determined
11724         at compile time. This is a merging of version.h and
11725         version_info.h.in.
11726
11727 2001-10-03  Juergen Vigna  <jug@sad.it>
11728
11729         * BufferView_pimpl.C (update): don't change "dirty" status in
11730         updateInset call.
11731
11732 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
11733
11734         * WorkArea.C (c-tor): re-position version string slightly.
11735
11736 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
11737
11738         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11739         revert to previous code.
11740
11741         WorkArea.[Ch]: (show, destroySplash): methods removed.
11742
11743         WorkArea.C: rework code so that it's an amalgam of the codes before and
11744         after the splash screen was moved to WorkArea.
11745
11746 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11747
11748         * lyxrc.C (read):
11749         * vspace.C (inPixels):
11750         (lyx_advance):
11751         * kbmap.C (bind):
11752         * buffer.C (insertStringAsLines):
11753         (asciiParagraph): fix types to be large enough
11754
11755         * lyxlex_pimpl.h: change member status from short to int
11756
11757         * layout.h: fix type of endlabeltype
11758
11759         * kbmap.C (bind):
11760         * kbsequence.C (parse): change return type to string::size_type
11761
11762         * LaTeX.C (updateBibtexDependencies): comment out unneeded
11763         variable
11764
11765         * Bullet.C (bulletSize):
11766         (bulletEntry): do not use short ints as parameters
11767
11768         * BufferView2.C (insertLyXFile): change a char to an int.
11769
11770         * WorkArea.C (WorkArea): remove unneeded floats in computation
11771
11772 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11773
11774         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11775
11776         * paragraph.C (asString): Do not ignore newline/hfill chars when
11777         copying to the clipboard.
11778
11779 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
11780
11781         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11782         after a multi-line inset.
11783
11784 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
11785
11786         * paragraph.C (validate): Set NeedLyXFootnoteCode
11787
11788 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11789
11790         * lyxfont.C (LyXSizeNames): changed increase-error to increase
11791         and decrease-error to decrease.
11792
11793 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11794
11795         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11796         it more readable (should be equivalent)
11797
11798 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11799
11800         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11801
11802 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11803
11804         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11805         of a cursor (row, etc.) after a character has been deleted
11806         (deleteEmptyParagraphMechanism): call the method above on _all_
11807         cursors held by the LyXText when a double space has been
11808         detected/deleted.
11809
11810 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11811
11812         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11813         pixmap.
11814         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11815
11816         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11817         background. Use greyOut() and the new show() methods to toggle between
11818         the foreground and background. Add code to remove the splash after
11819         its initial showing.
11820
11821         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11822         (create_forms): no longer call Dialogs::showSplash.
11823
11824 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11825
11826         * .cvsignore: add version_info.h
11827
11828 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11829
11830         * version_info.h.in: new file
11831
11832         * Makefile.am: add version_info.h.in
11833
11834         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11835         version_info.h instead of VERSION_INFO
11836
11837 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11838
11839         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11840         The ERT inset now returns string().
11841
11842 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11843
11844         * lyxtext.h, text.C (selectNextWord): renamed as
11845         selectNextWordToSpellcheck.
11846
11847         * text.C (selectNextWordToSpellcheck): Modified to not select
11848         words inside an ERT inset.
11849
11850 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11851
11852         * lyx_cb.C (MenuLayoutSave): change a bit the question
11853
11854         * sp_base.h: include <sys/types.h>
11855
11856 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11857
11858         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11859
11860 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11861
11862         * several files: fix typos in user-visible strings
11863
11864 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11865
11866         * text2.C (pasteSelection): do not set the selection, since it
11867         will be cleared later. Actually, the intent was to fix the way the
11868         selection was set, but I figured rmoving the code was just as good.
11869
11870 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11871
11872         * FontLoader.C (available): Check if font is available without
11873         loading the font.
11874
11875 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11876
11877         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11878
11879 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11880
11881         * lyxrc.[Ch]: added display_graphics variable and associated code.
11882
11883 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11884
11885         * bufferparams.C (hasClassDefaults): new method. Returns true if
11886         the buffer parameters correspond to known class defaults
11887
11888 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11889
11890         * XFormsView.C (show): set minimum size to the main window.
11891
11892 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11893
11894         * text2.C (copySelection):
11895         (cutSelection):
11896         * lyxfind.C (LyXReplace):
11897         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11898         LyXText::selectionAsString.
11899
11900         * paragraph.C (asString): add "label" argument to the second form
11901
11902         * text2.C (selectionAsString): add "label" argument and pass it to
11903         Paragraph::asString.
11904
11905 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11906
11907         * lyx_main.C (commandLineHelp): remove version information
11908
11909 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11910
11911         * lyx_main.C: add -version commandline option
11912
11913 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11914
11915         * paragraph.h: make the optional constructor arg required instead.
11916         some modifications to other files because of this.
11917
11918         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11919
11920         * lyxserver.C (C_LyXComm_callback): make it static
11921
11922         * lyx_main.C (error_handler): make it static
11923
11924         * lyx_gui.C (LyX_XErrHandler): make it static
11925
11926         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11927
11928         * WorkArea.C: make the extern "C" methods static.
11929
11930         * Makefile.am (lyx_LDADD): simplify
11931
11932 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11933
11934         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11935         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11936
11937         * LyXAction.C (init):
11938         * lyxfunc.C (dispatch): associated code removal.
11939
11940 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11941
11942         * lyxfont.h (isSymbolFont): shut off warning
11943
11944         * text.C (setHeightOfRow):
11945         (getVisibleRow): fix crash with empty paragraphs which have a
11946         bottom line
11947
11948 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
11949
11950         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11951         code.
11952
11953 2001-09-04  José Matos  <jamatos@fep.up.pt>
11954         * buffer.C
11955         * buffer.h
11956         * tabular.C (docbook): rename docBook method to docbook.
11957
11958 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11959
11960         * Makefile.am: add dependencies to main.o.
11961
11962 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
11963
11964         * FontLoader.C (available): Return false if !lyxrc.use_gui
11965
11966 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
11967
11968         * FontInfo.C (query):
11969         * converter.C (view):
11970         * importer.C (Import):
11971         * exporter.C (Export): Can not -> cannot.
11972
11973 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
11974
11975         * BufferView_pimpl.C: allow to create index inset even if
11976           string is empty
11977
11978 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11979
11980         * buffer.C (getLists): replace boost::tie code with an explicit pair
11981         as boost::tie can break some compilers.
11982
11983         * iterators.h: Added a std:: declaration to the return type of
11984         ParIterator::size.
11985
11986 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
11987
11988         * lyxrc.C: add help for view_dvi_paper_option, default to safe
11989           case.
11990
11991 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
11992
11993         * iterators.[Ch]: New files. Provide paragraph iterators.
11994
11995         * buffer.C (changeLanguage): Use paragraph iterators.
11996         (isMultiLingual): ditto
11997
11998         * BufferView2.C (ChangeInsets): Use paragraph iterators.
11999
12000 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
12001
12002         * FontLoader.C: Support for cmr font.
12003
12004 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
12005
12006         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12007         (available): New method.
12008
12009         * FontInfo.C (getFontname): Use scalable fonts even when
12010         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12011         found.
12012
12013 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12014
12015         * converter.C (Formats::view): reverted! Incorrect fix.
12016
12017 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12018
12019         * converter.C (Formats::view): only output the -paper option
12020         if the dvi viewer is xdvi, thereby fixing bug #233429.
12021
12022 2001-08-23  Herbert Voss  <voss@perce>
12023
12024         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12025
12026 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
12027
12028         * Spacing.h (Spacing): Set space to Default on in the default
12029         constructor.
12030
12031 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12032
12033         * vc-backend.h (RCS::versionString): add RCS to version
12034         (CVS::versionString): add CVS to version
12035
12036         * vc-backend.C (scanMaster): do not add CVS to version.
12037         (scanMaster): do not add RCS to version
12038
12039         * lyxvc.C (versionString): new method
12040
12041         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12042
12043 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12044
12045         * Spacing.C (set): initialize fval
12046
12047 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
12048
12049         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12050         " or \.
12051
12052 2001-08-16  Juergen Vigna  <jug@sad.it>
12053
12054         * lyxfunc.C (dispatch): implemented the new FINISHED states.
12055
12056 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12057
12058         * BufferView_pimpl.C:
12059         * figureForm.C:
12060         * lyxtext.h:
12061         * text2.C: setParagraph takes linespacing now
12062
12063 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
12064
12065         * LyxAction.C: add internal LFUN_CITATION_INSERT
12066
12067         * LyXView.C: actually apply fix
12068
12069         * bufferlist.C: fix open non-existent file
12070
12071         * lyxfind.C: fix indentation
12072
12073         * lyxfunc.C: remove unneeded assert, fix typo
12074
12075 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12076
12077         * MenuBackend.C: use "Floatname List"
12078
12079 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
12080
12081         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12082         when converting LaTeX layout to insetERT.
12083         Generate a non-collapsed float when reading old float
12084
12085 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12086
12087         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12088         ERT insets.
12089
12090 2001-08-13  Juergen Vigna  <jug@sad.it>
12091
12092         * text.C (fill): return 0 instead of 20 as this seems to be the more
12093         correct value.
12094
12095 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12096
12097         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12098         lyxrc.font_norm.
12099
12100 2001-08-13  Juergen Vigna  <jug@sad.it>
12101
12102         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12103         casesensitive off.
12104         (SearchBackward): comment out the unlocking of the inset_owner this
12105         should not be needed!
12106
12107 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
12108
12109         * Many files: Remove inherit_language, and add latex_language
12110
12111         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12112         collapsible insets.
12113
12114 2001-08-10  Juergen Vigna  <jug@sad.it>
12115
12116         * text.C (prepareToPrint): fixed hfill-width in draw!
12117
12118         * BufferView2.C (selectLastWord): save the selection cursor as this
12119         now is cleared in the function LyXText::clearSelection!
12120
12121 2001-08-08  Juergen Vigna  <jug@sad.it>
12122
12123         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12124         BACKSPACE type functions.
12125
12126         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12127         is only cutted from the document but not put in the cut-buffer, where
12128         still the old stuff should be.
12129
12130         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12131
12132         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12133
12134         * tabular.C (SetWidthOfCell): fixed special case where the width
12135         was not updated!
12136         (LeftLine): handle '|' in align_special.
12137         (RightLine): ditto
12138         (LeftAlreadyDrawed): ditto
12139         (SetWidthOfCell): ditto
12140
12141 2001-08-07  Juergen Vigna  <jug@sad.it>
12142
12143         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12144
12145 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12146
12147         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12148         * lyxlex.[hC]: ditto
12149
12150 2001-08-06  Juergen Vigna  <jug@sad.it>
12151
12152         * text.C (getVisibleRow): fix up row clearing a bit.
12153
12154 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12155
12156         * minibuffer.C: make sure the X server sees the changes in the input.
12157
12158 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12159
12160         * paragraph.C (getFont): split into...
12161         (getLabelFont): this
12162         (getLayoutFont): and this
12163         * paragraph_pimpl.C (realizeFont): calling this
12164
12165         * text2.C (getFont): split into...
12166         (getLayoutFont): this
12167         (getLabelFont): and this
12168         (realizeFont): all three calling this
12169
12170         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12171         files where used.
12172
12173 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12174
12175         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12176
12177 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
12178
12179         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12180         layouts from the Quote inset insertion.
12181
12182 2001-08-03  Juergen Vigna  <jug@sad.it>
12183
12184         * BufferView_pimpl.C (update): do the fitCursor only at the end!
12185
12186         * screen.C (drawFromTo): don't call fitcursor here and do the loop
12187         only if status not is already CHANGED_IN_DRAW (second level).
12188
12189         * text.C (draw): don't set the need_break_row when inside an
12190         InsetText LyXText.
12191
12192 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12193
12194         * buffer.C (parseSingleLyXformat2Token): handle more latex
12195         conversion cases.
12196
12197         * bufferview_funcs.[hC]: change function names to
12198         begin with small char, adjust other files.
12199
12200 2001-08-02  André Pönitz <poenitz@gmx.net>
12201
12202         * lyxfunc.C:
12203         BufferView_pimpl.C: remove broken special code for math-greek
12204
12205 2001-08-02  Juergen Vigna  <jug@sad.it>
12206
12207         * BufferView_pimpl.C (update): redone this function so that we
12208         update the text again if there was a CHANGE_IN_DRAW.
12209
12210         * screen.C (cursorToggle): removed LyXText parameter and recoded.
12211         (drawFromTo): added a new internal bool which is used by draw() and
12212         redraw() function.
12213         (general): some cursor drawing problems fixed.
12214
12215 2001-08-01  Juergen Vigna  <jug@sad.it>
12216
12217         * lyxfind.C (LyXFind): fixed
12218         (SearchForward): ditto
12219         (SearchBackward): ditto
12220
12221         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12222         spurius drawing of the cursor in the main area.
12223
12224         * text2.C (status): small fix which could lead to a segfault!
12225         (clearSelection): remove unneeded BufferView param.
12226
12227 2001-08-01  André Pönitz <poenitz@gmx.net>
12228
12229         * lyxfunc.C: small change due to changed mathed interface
12230
12231 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12232
12233         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12234
12235 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
12236
12237         * lyxfunc.c: fail gracefully if file doesn't exist
12238
12239         * LyXSendto.C:
12240         * buffer.C:
12241         * lyxfunc.C:
12242         * BufferView_pimpl.C: IsDirWriteable() proto changed
12243
12244         * LyXView.C: fix updateWindowTitle() to store the last title
12245
12246 2001-07-31  Juergen Vigna  <jug@sad.it>
12247
12248         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12249         the font (wrong since using of Paragraph::highestFontInRange).
12250
12251         * paragraph.C (highestFontInRange): added a default_size parameter.
12252
12253         * text.C (getVisibleRow): minor clear row changes (still not perfect).
12254         (setHeightOfRow): reformat
12255
12256 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12257
12258         * converter.[hC] + affected files: move to (inital-char)lowercase
12259         function names.
12260
12261         * ParagraphParameters.C (ParagraphParameters): remove commented code
12262
12263         * PainterBase.[Ch]: remove commented code
12264
12265         * LaTeXFeatures.h: add "bool floats" for float.sty
12266
12267         * LaTeXFeatures.C (LaTeXFeatures): init floats
12268         (require): handle float
12269         (getPackages): do it with floats
12270
12271 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12272
12273         * BufferView_pimpl.C (Dispatch): improve handling of
12274         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12275
12276         * commandtags.h: #include lyxfont.h here temporarily to avoid
12277         keybinding bug.
12278
12279         * bufferlist.h: include LString.h here.
12280
12281 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12282
12283         * text2.C (getStringToIndex): new method.
12284
12285 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
12286
12287         * *: Reduced header file dependencies all over.
12288
12289 2001-07-30  Baruch Even  <baruch@lyx.org>
12290
12291         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12292
12293 2001-07-29  Baruch Even  <baruch@lyx.org>
12294
12295         * buffer.C (readInset): Changed GRAPHICS to Graphics.
12296
12297 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12298
12299         * ParameterStruct.h (endif): add a default constructor to make
12300         sure that all variables is initialized.
12301
12302         * ParagraphParameters.C (ParagraphParameters): adjust
12303
12304 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12305
12306         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12307         index; also, check that there is something to index, and that it
12308         does not span over several paragraphs.
12309         (doubleClick): use WHOLE_WORD_STRICT for double click.
12310
12311         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12312
12313         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12314         scheme.
12315
12316 2001-07-26  Baruch Even  <baruch@lyx.org>
12317
12318         * buffer.C (readInset): Changed to call up InsetGraphics when reading
12319         an InsetFig figure, backwards compatible reading of old figure code.
12320
12321 2001-07-27  Juergen Vigna  <jug@sad.it>
12322
12323         * text2.C: font.realize function adaption.
12324
12325         * text.C (draw): add a warnings lyxerr text if needed.
12326
12327         * layout.C: font.realize function adaption.
12328
12329         * language.C: add inherit_language and implement it's handlings
12330
12331         * bufferview_funcs.C (StyleReset): remove language parameter from
12332         font creation (should be language_inherit now).
12333
12334         * bufferparams.C (writeFile): handle ignore_language.
12335
12336         * paragraph.C (getFontSettings): the language has to be resolved
12337         otherwise we have problems in LyXFont!
12338
12339         * lyxfont.C (lyxWriteChanges): added document_language parameter
12340         (update): removed unneeded language parameter
12341
12342         * paragraph.C (validate): fixed wrong output of color-package when
12343         using interface colors for certain fonts in certain environments,
12344         which should not seen as that on the final output.
12345
12346 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
12347
12348         * BufferView_pimpl.C:
12349         * Thesaurus.h:
12350         * Thesaurus.C:
12351         * Makefile.am:
12352         * commandtags.h:
12353         * LyXAction.C: add thesaurus support
12354
12355         * lyxfind.h:
12356         * lyxfind.C: add "once" parameter, for thesaurus, to not
12357           move to the next match
12358
12359 2001-07-26  Juergen Vigna  <jug@sad.it>
12360
12361         * lyxfont.C (realize): honor ignore_language too!
12362         (resolved): ditto.
12363
12364         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12365
12366         * text.C (draw): one place more for ignore_language to not draw
12367         itself!
12368
12369 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
12370
12371         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12372
12373 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12374
12375         * buffer.C (parseSingleLyXformat2Token): a more general fix for
12376         the minipage conversion problem.
12377
12378 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12379
12380         * buffer.C (parseSingleLyXformat2Token): check minipage if we
12381         insert an inset.
12382
12383 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12384
12385         * BufferView.h: don't forward declare WorkArea
12386
12387         * BufferView.C: don't include WorkArea.h
12388
12389 2001-07-25  André Pönitz <poenitz@gmx.net>
12390
12391         * commandtags.h:
12392         * LyXAction.C:
12393         * lyxfunc.C:  new LFUN 'math-space'
12394
12395         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12396
12397 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12398
12399         * text2.C (toggleInset): call open/close
12400
12401 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12402
12403         * lyxfunc.C (dispatch): add debug for the disabled case
12404
12405         * font.C (buttonText): make similar to rectText
12406
12407         * buffer.C (readInset): comment out parsing of insetlist and
12408         insttheorem
12409
12410         * PainterBase.C (rectText): small correction
12411
12412         * BufferView_pimpl.C: comment out insettheorem and insetlist
12413         * LyXAction.C: ditto
12414         * commandtags.h: ditto
12415
12416 2001-07-24  Juergen Vigna  <jug@sad.it>
12417
12418         * text.C (draw): honor the ignore_language.
12419
12420         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12421
12422 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12423
12424         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12425         char inset.
12426
12427 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12428
12429         * lyxtext.h: remove unused (and unimplemented) methods
12430
12431 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12432
12433         * text.C (getVisibleRow): honor background color
12434
12435         * PainterBase.h:
12436         * Painter.h: remove default color argument for fillRectangle
12437
12438         * text.C (backgroundColor): new method
12439
12440 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12441
12442         * text.C (getVisibleRow): adjust
12443
12444         * font.[Ch] (rectText): new method, metrics
12445         (buttonText): new method, metrics
12446
12447         * PainterBase.[hC]: make rectText and buttonText always draw and take
12448         fewer paramteres.
12449
12450 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12451
12452         * ToolbarDefaults.C (read):
12453         * MenuBackend.C (read): allow escaping in all strings
12454
12455         * BufferView_pimpl.C (insertAndEditInset): new method.
12456         (Dispatch): use insertAndEditInset whenever appropriate.
12457
12458         * BufferView_pimpl.C (insertNote): removed
12459
12460         * BufferView_pimpl.C (smartQuote): new method, moved from
12461         BufferView; if an insetquote cannot be inserted, insert a '"'
12462         character instead.
12463
12464         * BufferView2.C: remove insertCorrectQuote();
12465
12466         * lyxfunc.C (getStatus): Add support for all remaingin
12467         inset-insert lfuns.
12468
12469         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12470
12471         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12472         command (necessary to pass " as parameter of self-insert.
12473
12474         * text.C (selectWordWhenUnderCursor):
12475         (selectWord): add word_location parameter
12476         (selectWordWhenUnderCursor): same + remove special code for word
12477         boundary.
12478         (selectNextWord): use kind() to guess type of insetspecialchar,
12479         not latex().
12480
12481         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12482         (insertErtContents): create ert insets as collapsed.
12483         (readInset): better compatibility code for Info inset.
12484
12485 2001-07-20  Juergen Vigna  <jug@sad.it>
12486
12487         * lyxfunc.C (dispatch): use always LyXFind now!
12488
12489         * text2.C (init): add a reinit flag so that the LyXText can be
12490         reinited instead of deleted and reallocated (used in InsetText).
12491
12492         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12493
12494         * text.C: ditto
12495
12496         * text2.C: ditto
12497
12498 2001-07-18  Juergen Vigna  <jug@sad.it>
12499
12500         * text.C (selectNextWord): handle insets inside inset by calling
12501         always the bv->text functions so that we can go up the_locking_inset!
12502
12503         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12504         in strange locations when inside an inset!
12505
12506         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12507         handling to include insets.
12508
12509         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12510
12511 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12512
12513         * LyXAction.C (init):
12514         * commandtags.h:
12515         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12516         LIGATURE_BREAK, since the name is so stupid.
12517
12518 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12519
12520         * buffer.C (readInset): enable reading of new InsetNotes as well as old
12521         InsetInfos.
12522
12523         * FontLoader.C: remove FORMS_H_LOCATION cruft.
12524
12525         * sp_form.[Ch]: remove.
12526
12527         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12528
12529         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12530         InsetInfo.
12531
12532         * src/buffer.C (readInset): ditto.
12533
12534 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12535
12536         * BufferView_pimpl.C (specialChar): new method. Obsoletes
12537         menuSeparator(), endOfSentenceDot(), ldots() and
12538         hyphenationPoint(), which are therefore removed.
12539         (Dispatch): handle LFUN_HYPHENATION_BREAK.
12540
12541         * LyXAction.C (init):
12542         * commandtags.h: add LFUN_HYPHENATION_BREAK.
12543
12544         * paragraph.C (getWord): removed.
12545
12546         * BufferView_pimpl.C (Dispatch): use last word or selection for
12547         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12548
12549         * lyx_main.C (queryUserLyXDir): do not ask before creating
12550         user_dir, except if it has been named explicitely.
12551
12552 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12553
12554         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12555         a document of zero size.
12556
12557 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
12558
12559         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12560         approriately in the c-tor and in require().
12561         (getPackages): output the appropriate LaTeX for natbib support.
12562
12563         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12564         variables "use_natbib" and "use_numerical_citations" when reading the
12565         LyX file.
12566         (readInset): read the various natbib cite commands.
12567         (validate): white-space change.
12568
12569         * bufferparams.[Ch]: new variables "bool use_natbib" and
12570         "bool use_numerical_citations".
12571         (writeFile): output them in the LyX file.
12572
12573 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12574
12575         * lyxfunc.C (getStatus): add support for all the inset insertion
12576         commands.
12577
12578         * text2.C (insertInset):
12579         * paragraph.C (insetAllowed):
12580         * BufferView_pimpl.C (insertInset): update to take in account the
12581         renaming of insertInsetAllowed
12582
12583         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12584
12585         * text2.C (getInset): new method. returns inset at cursor position.
12586
12587         * BufferView_pimpl.C (Dispatch): changes because of this.
12588
12589         * LyXAction.C (init): rename open-stuff to inset-toggle.
12590
12591         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12592
12593         * text2.C (toggleInset): renamed from openStuff; use
12594         Inset::open().
12595
12596 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
12597
12598         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12599
12600         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12601
12602 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
12603
12604         * buffer.C (readLyXformat2): Add filename to the error dialog
12605
12606 2001-07-18  Juergen Vigna  <jug@sad.it>
12607
12608         * tabular.C (GetCellNumber): put an assert here instead of the check!
12609
12610 2001-07-17  Juergen Vigna  <jug@sad.it>
12611
12612         * BufferView_pimpl.C (toggleSelection): adapted too.
12613
12614         * text.C (selectNextWord): adapted for use with insets.
12615         (selectSelectedWord): ditto
12616
12617 2001-07-17  Juergen Vigna  <jug@sad.it>
12618
12619         * sp_spell.C (PSpell): fix initialitation order.
12620
12621 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12622
12623         * paragraph.C: spacing
12624
12625 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
12626
12627         * sp_spell.C: repair language selection for pspell
12628
12629 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12630
12631         * lyxfunc.h: change more methods to begin with lower char.
12632
12633 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
12634
12635         * buffer.C (parseSingleLyXformat2Token): Generate error insets
12636         for unknown layouts.
12637
12638 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12639
12640         * buffer.C (readLyXformat2): Generate an error dialog if there are
12641         unknown layouts.
12642
12643 2001-07-16  Juergen Vigna  <jug@sad.it>
12644
12645         * sp_spell.C: always compile ISpell part.
12646
12647         * lyxrc.C: added use_pspell entry and it's handling.
12648
12649 2001-07-13  Juergen Vigna  <jug@sad.it>
12650
12651         * sp_spell.C: removed double includes.
12652
12653 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
12654
12655         Consistent use of Lsstream.h:
12656         * Lsstream.h: added using std::stringstream for consistencies sake.
12657
12658         * buffer.C: removed using std::stringstream
12659
12660         * lyxfont.C (stateText):
12661         * paragraph.C (asString):
12662         * text.C (selectNextWord, selectSelectedWord):
12663         * text2.C (setCounter):
12664         * vspace.C (asString, asLatexString):
12665         std::ostringstream -> ostringstream.
12666
12667 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12668
12669         * LyXAction.C: add LFUN_HELP_ABOUTLYX
12670         * commandtags.h: add LFUN_HELP_ABOUTLYX
12671         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12672
12673 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12674
12675         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12676         cursorToggle()
12677         * lyx_gui_misc.C: remove spellchecker
12678         * lyxfunc.C: showSpellchecker
12679         * sp_base.h: added
12680         * sp_ispell.h: added
12681         * sp_pspell.h: added
12682         * sp_spell.C: added
12683         * sp_form.[Ch]: removed
12684         * spellchecker.[Ch]: removed
12685
12686 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
12687
12688         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12689         is set.
12690         (simpleTeXSpecialChars): Simply print the input character without
12691         any special translation if pass_thru is set.
12692
12693         * layout.h: Added bool pass_thru to layout class for being able to
12694         implement pass through of a paragraph for Literate Programming.
12695
12696         * layout.C: add LT_PASS_THRU to LayoutTags enum.
12697         * layout.C (LyXLayout): set pass_thru to flase in constructor.
12698         * layout.C (Read): add "passthru" to list of layout tags and add
12699         code to set the pass_thru boolean when it is read.
12700
12701 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12702
12703         * trans_decl.h: remove allowed from KmodInfo
12704
12705         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12706         remove allowed code
12707         (Load): adjust
12708
12709         * paragraph_pimpl.C (erase): use boost::prior
12710
12711         * Painter.C (text): use data() instead of c_str() when length is
12712         also provided.
12713         * WorkArea.C (putClipboard): ditto
12714         * font.h (width): ditto
12715
12716         * BufferView2.C: use it-> instead of (*it). for iterators
12717         * texrow.C: ditto
12718         * paragraph_pimpl.C: ditto
12719         * paragraph.C: ditto
12720         * minibuffer.C: ditto
12721         * language.C: ditto
12722         * kbmap.C: ditto
12723         * encoding.C: ditto
12724         * counters.C: ditto
12725         * converter.C: ditto
12726         * chset.C: ditto
12727         * Variables.C: ditto
12728         * TextCache.C: ditto
12729         * MenuBackend.C: ditto
12730         * LyXAction.C: ditto
12731         * LColor.C: ditto
12732         * FloatList.C: ditto
12733         * DepTable.C: ditto
12734         * ColorHandler.C (LyXColorHandler): ditto
12735
12736 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12737
12738         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12739
12740         * text2.C (openStuff): reintroduce this method (which had been
12741         nuked in NEW_INSETS frenzy).
12742
12743         * lyxfunc.C (Dispatch): when an action has not been handled, use
12744         its name in the error message, not its number.
12745
12746         * paragraph.C (inInset): change method name to begin with lowercase.
12747
12748         * undo_funcs.C:
12749         * text2.C: updates because of this.
12750
12751 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12752
12753         * ToolbarDefaults.C (add): add spaces in error message
12754
12755 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12756
12757         * buffer.C (readLyXformat2): initialize the ert comp. variables.
12758         (readLyXformat2): rename return_par to first_par, use lyxlex's
12759         pushToken and remove the manual push handling.
12760         (parseSingleLyXformat2Token): add another ert comp. variable:
12761         in_tabular, rename return_par to first_par. handle newlines better
12762
12763 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12764
12765         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12766
12767 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12768
12769         * text2.C (getParFromID): removed
12770
12771         * buffer.C (getParFromID): new method moved form lyxtext.
12772         * BufferView2.C (insertErrors): adjust
12773         (setCursorFromRow): adjust
12774         * BufferView_pimpl.C (restorePosition): adjust
12775         * lyxfunc.C (Dispatch): adjust
12776         * undo_funcs.C (textUndo): adjust
12777         (textRedo): adjust
12778         (textHandleUndo): adjust
12779         (textHandleUndo): adjust
12780
12781 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12782
12783         * buffer.C: up' the LYX_FORMAT
12784
12785         * lyxfont.h: turn NO_LATEX on as default
12786
12787         * buffer.C (insertErtContents): new methods of tex style compability.
12788         (parseSingleLyXformat2Token): use it several places.
12789         * tabular.C (OldFormatRead): and here
12790
12791 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12792
12793         * text2.C: remove some commented code.
12794         reindent file.
12795
12796         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12797         * trans.C: changes because of the above.
12798
12799 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
12800
12801         * text2.C (setCounter): Fix counters bug with bibliography layout.
12802
12803 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12804
12805         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12806         own member functions
12807         (simpleTeXSpecialChars): ditto
12808
12809 2001-07-06  Juergen Vigna  <jug@sad.it>
12810
12811         * a lot of files: changed the access to LyXText::status and the
12812         call of undo-functions.
12813
12814         * undo.[Ch]: added a inset_id to the undo informations.
12815
12816         * undo_funcs.[Ch]: added and moved here all undo functions.
12817
12818         * lyxtext.h: give the status enum a weight, made status_ a private
12819         variable and made accessor functions for it, removed the whole bunch
12820         of undo-functions as they are now in their own file, make some
12821         functions publically available. Added function ownerParagraph with
12822         int parameter.
12823
12824         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12825         made InInset() a const function, added getParFromID() function.
12826
12827         * buffer.[Ch]: added const version for inset_iterator functions,
12828         added getInsetFromID() function.
12829
12830         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12831         changed undo functions for new version.
12832
12833 2001-07-05  Juergen Vigna  <jug@sad.it>
12834
12835         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12836         unknow mechanism does not call the proper constructor but only this
12837         one also if I request the other!?
12838
12839 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12840
12841         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12842
12843         * text2.C (LyXText): use initialization lists.
12844
12845         * lyxtext.h (Selection): initialize set_ and mark_
12846         (init): remove method
12847
12848 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12849
12850         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12851
12852 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12853
12854         * screen.[Ch]: change method names to begin with lowercase
12855
12856         * BufferView_pimpl.C (updateScrollbar): simplify further and
12857         hopefully make it a bit faster.
12858
12859 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12860
12861         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12862         calling directly xforms functions.
12863
12864         * Painter.C (Painter):
12865         * lyx_cb.C (MenuWrite):
12866         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12867         fl_display.
12868
12869         * lyx_gui.C: remove bogus guiruntime extern declaration.
12870
12871 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12872
12873         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12874         in NEW_INSETS
12875         (redoDrawingOfParagraph): ditto
12876         (redoParagraphs): ditto
12877         (cutSelection): don't create a object for CutAndPaste use the
12878         static method directly
12879         (pasteSelection): ditto
12880
12881         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12882         LyXview (+ rename)
12883
12884 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12885
12886         * modifications to some other files because of this.
12887
12888         * Makefile.am (lyx_SOURCES): add XFormsView
12889
12890         * XFormsView.[Ch]: new files
12891
12892         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12893         the main window. Move the gui dependent stuff to XFormsView
12894
12895 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12896
12897         * tabular.C (GetCellInset): update cur_cell also in the row/col
12898         version of this function.
12899
12900         * lyxfunc.C: no need to include figure_form.h here.
12901
12902         * FontLoader.h:
12903         * lyxfunc.h:
12904         * lyxscreen.h:
12905         * text2.C:
12906         * lyxvc.C: no need to include forms.h here.
12907
12908 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12909
12910         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12911
12912         * lyxfunc.C (Dispatch):
12913         * Spacing.C (set):
12914         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12915         constructor argument.
12916
12917 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12918
12919         * paragraph.C (Paragraph): dont't clear, and just set layout.
12920         (makeSameLayout): use params's copy contructor.
12921
12922         * ParagraphParameters.[Ch] (makeSame): delete method
12923
12924 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12925
12926         * Variables.[Ch]: fix indentation, rename set to isSet
12927
12928 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12929
12930         * lyxfunc.C (Dispatch): fix typo
12931
12932 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12933
12934         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12935         upper_bound.
12936
12937         * bufferlist.C: include assert.h for emergencyWrite().
12938
12939 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12940
12941         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12942           give up at last (bug #425202) !
12943
12944 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12945
12946         * lyx_gui_misc.C:
12947         * sp_form.h:
12948         * sp_form.C:
12949         * spellchecker.h:
12950         * spellchecker.C: strip spellchecker options and bring up
12951           preferences tab instead
12952
12953 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12954
12955         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12956         the istringstream constructor
12957
12958 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12959
12960         * paragraph.C (getLayout): fix return value
12961
12962         * paragraph.h: do not declare getLayout as inline.
12963
12964         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12965
12966 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12967
12968         * lyxcursor.h (operator<): new func
12969         (operator>): new func
12970         (operator>=): new func
12971         (operator<=): new func
12972
12973         * text.C (changeCase): use selection.start and selection.end
12974         (changeRegionCase): require from to be <= to. Require par to be a
12975         valid paragraph.
12976
12977         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12978
12979 2001-06-27  Juergen Vigna  <jug@sad.it>
12980
12981         * text.C (cursorLeftOneWord): changed to return the cursor and added
12982         overlay with BufferView * parameter which calls this one.
12983         (getWord): added
12984         (selectWord): use new getWord function.
12985         (changeCase): renamed from changeWordCase as and extended to work
12986         also on selections.
12987
12988         * lyxtext.h: added enum word_location
12989
12990         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12991         changeCase as this operates now also on selections.
12992
12993 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
12994
12995         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12996
12997         * many files: send debug output to Debug::INFO instead of
12998         Debug::ANY.
12999
13000         * converter.C (View):
13001         (Convert):
13002         (Move): send debug output to Debug::FILES instead of console.
13003
13004 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
13005
13006         * lyxfunc.C (getStatus): use func_status
13007
13008         * func_status.h: new header, describing the results of
13009         LyXFunc::getStatus;
13010
13011         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13012         LFUN_MATH_HALIGN.
13013
13014 2001-06-25  The LyX Project  <jug@sad.it>
13015
13016         * buffer.C (sgmlOpenTag):
13017         (sgmlCloseTag):
13018         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
13019
13020 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13021
13022         * text2.C: remove some dead code
13023
13024         * tabular.C (GetCellInset): store the last cell checked (gotten)
13025
13026         * tabular.h: add the helper for the speedup
13027
13028         * lyxtext.h: remove some dead code
13029
13030 2001-06-26  The LyX Project  <Asger>
13031
13032         * paragraph.C: Change export to LaTeX of alignment to
13033         \begin{center} and family for better roundtrip work with reLyX.
13034
13035         * Tune the math drawing a bit.
13036
13037 2001-06-25  The LyX Project  <Asger>
13038
13039         * LColor.C (LColor): New color for math background. New color
13040         for buttons.
13041
13042 2001-06-25  The LyX Project  <jug@sad.it>
13043
13044         * lyxfunc.C (MenuNew): remove extra check for .lyx file
13045
13046         * lyxfunc.C (Open):
13047         * bufferlist.C (newFile): do not restrict to files ending with
13048         .lyx
13049
13050         * BufferView_pimpl.C (MenuInsertLyXFile):
13051
13052 2001-06-24  The LyX Project  <jug@sad.it>
13053
13054         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13055         of compare_no_case
13056
13057 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13058
13059         * lyxtext.h: rename most methods to begin with a small char.
13060         Lots of changes because of this.
13061
13062         * paragraph.C (Paragraph): do not call fitToSize
13063         (erase): call Pimpl::erase
13064         (insertChar): call Pimpl::insertChar
13065         (insertInset): call Pipl::insertInset
13066         (breakParagraph): do not call fitToSize
13067         (breakParagraphConservative): do not call fitToSize
13068         (fitToSize): remove method
13069
13070         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13071
13072 2001-06-24  The LyX Project  <Asger>
13073
13074         * Fix Qt compilation^2
13075
13076 2001-06-24  The LyX Project  <jug@sad.it>
13077
13078         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13079         depthHook(getDepth()-1).
13080
13081         * paragraph.h:
13082         * ParagraphParameters.h:
13083         * ParameterStruct.h: change type of depth to unsigned int ==
13084         depth_type. Many adaptations to other files before of that.
13085
13086 2001-06-24  The LyX Project  <Asger>
13087
13088         * Fix Qt compilation.
13089
13090 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13091
13092         * paragraph.h: renamed several methods to begin with small letter.
13093         several changes to many parts of the code because of this.
13094
13095 2001-06-23  The LyX Project  <jug@sad.it>
13096
13097         * text2.C (InsertStringAsLines): renamed from InsertStringA;
13098         rewritten to discard all double spaces when KeepEmpty is off
13099         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13100         to only handle newlines but not fiddle with spaces and friends.
13101
13102         * lyxfunc.C (MenuNew): when doing 'new from template', use
13103         template_path as default directory
13104
13105 2001-06-23  The LyX Project  <Asger>
13106
13107         * Clean-up of header file includes all over
13108         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13109
13110 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13111
13112         * paragraph.h: renamed from lyxparagraph.h
13113
13114 2001-06-23  Asger  <lyx@violet.home.sad.it>
13115
13116         * Buffer.h: Removed Buffer::resize
13117         * BufferList.h: Removed BufferList::resize
13118         * LyXView.h: Added LyXView::resize. This way, we will only reflow
13119         the document lazily when we change the width, or the font settings.
13120
13121 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13122
13123         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13124
13125 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13126
13127         * buffer.h: remove out of date comment
13128
13129 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13130
13131         * lyxscreen.h:
13132         * screen.C: fix "theoretical" GC leak
13133
13134 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13135
13136         * LaTeX.C (scanAuxFile):
13137         (deplog): remove trailing \r when reading stream (useful under
13138         win32)
13139
13140 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
13141
13142         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13143         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13144         and BufferView::theLockingInset(Inset*), so should use them and not
13145         access bv_->text->the_locking_inset directly.
13146
13147         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13148
13149 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13150
13151         * Makefile.am:
13152         * tex-defs.h: remove old unused file
13153
13154 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
13155
13156         * BufferView_pimpl.C: fix typo, remove minibuffer message
13157           when buffer has loaded
13158
13159 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13160
13161         * lyxfunc.C (Dispatch): use stringstream
13162         (MenuNew): use stringstream
13163         (Open): use stringstream
13164
13165         * importer.C (Import): use stringstream
13166
13167         * bufferview_funcs.C (CurrentState): use stringstream
13168
13169         * LaTeX.C (run): use stringstream
13170
13171         * BufferView_pimpl.C (savePosition): use stringstream
13172         (restorePosition): use stringstream
13173         (MenuInsertLyXFile): use stringstream
13174
13175 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
13176
13177         * BufferView.C:
13178         * Bullet.C:
13179         * ColorHandler.C:
13180         * FontInfo.C:
13181         * FontLoader.C:
13182         * LColor.C:
13183         * LaTeXFeatures.C:
13184         * Painter.C:
13185         * gettext.C:
13186         * lyx_gui_misc.C:
13187         * lyxserver.C:
13188         * vspace.C: removed // -*- C++ -*- as first line.
13189
13190         * lyxfind.h:
13191         * version.h: added // -*- C++ -*- as first line.
13192
13193 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13194
13195         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13196
13197         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13198         of string
13199
13200 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13201
13202         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13203         of floats.
13204
13205 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13206
13207         * gettext.C: include LString.h even when --disable-nls is on.
13208
13209 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
13210
13211         * converter.h (Get): changed argument type from int to
13212         FormatList::size_type to avoid unnecessary conversion.
13213
13214         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13215         before using it.
13216
13217 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13218
13219         * gettext.h: include LString.h even when --disable-nls is on.
13220
13221 2001-06-07  Juergen Vigna  <jug@sad.it>
13222
13223         * text.C (BreakAgain): subst spaces with tabs.
13224
13225         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13226         (resizeInsetsLyXText): set force on resizeLyXText.
13227
13228 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13229
13230         * gettext.h (gettext_init):
13231         (locale_init): use a real definition instead of a macro
13232
13233 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13234
13235         * Bufferview_pimpl.C:
13236         * LColor.h:
13237         * LColor.C: further lcolor tidies
13238
13239 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13240
13241         * BufferView_pimpl.C (updateScrollbar): simplify.
13242
13243         * BufferView2.C: don't include insets/insetinfo.h, change
13244         prototype for insertInset and call the Pimpl version. let
13245         updateInset call Pimpl version.
13246
13247         * BufferView.h: move inset_slept to BufferView::Pimpl, move
13248         gotoInset to BufferView::Pimpl
13249
13250 2001-06-01  Juergen Vigna  <jug@sad.it>
13251
13252         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13253         inside a LockingInset (is the update needed at all?).
13254
13255 2001-05-31  Juergen Vigna  <jug@sad.it>
13256
13257         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13258         here not the old one otherwise how should we compare it afterwards
13259         if it's the same!
13260
13261 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13262
13263         * lyxfont.C:
13264         * tabular.C:
13265         * tabular-old.C:
13266         * FontInfo.C: bring C functions into global namespace when
13267         necessary
13268
13269 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13270
13271         * LString.h: make sure config.h has been loaded before LString.h.
13272
13273         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13274         (one for each char read by EatLine!).
13275
13276         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13277         variables.
13278
13279 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13280
13281         * paragraph.C (BreakParagraph): set the inset_owner in the new par
13282         to the same as the par we break from
13283
13284 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13285
13286         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13287
13288         * MenuBackend.C (expand): also create menu entries for wide
13289         versions of the floats.
13290
13291         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13292
13293         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13294
13295         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13296         frontends/Makefile.am
13297
13298         * text2.C: adjust
13299         * text.C: adjust
13300
13301
13302         * tabular.C (getTokenValue): add std::
13303
13304         * tabular-old.C (getTokenValue): add std::
13305         (getTokenValue): ditto
13306         (getTokenValue): ditto
13307
13308         * screen.C (ToggleSelection): adjust
13309
13310         * lyxtext.h: put selection cursors inside a Selection struct.
13311
13312         * lyxfunc.C (moveCursorUpdate): adjust
13313
13314         * lyxfont.C (latexWriteStartChanges): add std::
13315
13316         * lyxfind.C: adjust
13317
13318         * font.h: delete with(char const *, LyXFont const &)
13319
13320         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13321
13322         * FontInfo.C (getFontname): add std::
13323
13324         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13325         (workAreaButtonPress): adjust
13326         (tripleClick): adjust
13327         (update): adjust
13328         (moveCursorUpdate): adjust
13329         (Dispatch): adjust
13330
13331         * BufferView2.C (gotoInset): adjust
13332
13333 2001-05-30  Juergen Vigna  <jug@sad.it>
13334
13335         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13336         to check pspell I add this as default as I now have new pspell
13337         libraries and they seem to use this.
13338
13339 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13340
13341         * text2.C (CutSelection): make the cursor valid before the call to
13342         ClearSelection.
13343
13344 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13345
13346         * kbsequence.C (parse): de-uglify a bit the parsing code, which
13347         relied on 0 terminated strings and other horrors. Bug found due to
13348         the new assert in lyxstring!
13349
13350         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13351         KP_ keys.
13352
13353 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13354
13355         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13356         to latinkeys.bind.
13357
13358         * lyxfunc.C (processKeySym): change method of getting to the
13359         self-insert char.
13360
13361         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13362         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13363         * BufferView_pimpl.[Ch]: here as private methods.
13364
13365 2001-05-28  Juergen Vigna  <jug@sad.it>
13366
13367         * text.C (SetHeightOfRow): added the update() call again as it is
13368         needed to initialize inset dimensions!
13369
13370 2001-05-16  Juergen Vigna  <jug@sad.it>
13371
13372         * text2.C (SetCharFont): Add new function with BufferView * and
13373         bool toggleall parameters for setting insets internal fonts.
13374         (SetFont): Freeze the undo as we may change fonts in Insets and
13375         all this change should be inside only one Undo!
13376
13377         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13378         setting font's in insets as for them we have the SetFont function!
13379
13380 2001-05-15  Juergen Vigna  <jug@sad.it>
13381
13382         * text2.C (ClearSelection): to be sure we REALLY don't have any
13383         selection anymore!
13384
13385         * tabular.C (TeXCellPreamble): fixed the left border problem for
13386         multicolumn cells.
13387
13388 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
13389
13390         * LaTeX.C (deplog): Make sure that the main .tex file is in the
13391         dependancy file
13392
13393 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13394
13395         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13396         LFUN_BREAKPARAGRAPH.
13397
13398         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13399         help test to "internal only", similar for LFUN_INSERT_URL
13400
13401         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13402         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13403         auto_region_delete and deadkeys.
13404
13405 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
13406
13407         * LColor.h:
13408         * LColor.C: remove some dead entries, tidy a little
13409
13410 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13411
13412         * lyxfunc.C (processKeySym): comment the Escape handling, remove
13413         commented code.
13414         (Dispatch): implement LFUN_ESCAPE
13415
13416         * commandtags.h: add LFUN_ESCAPE
13417
13418         * LyXAction.C (init): add entry for LFUN_ESCAPE
13419
13420         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13421         Remove commented code.
13422         (insertNote): moved here
13423         (open_new_inset): moved here
13424
13425         * BufferView[2].[Ch]: move insertNote and open_new_inset to
13426         BufferView_pimpl
13427
13428 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13429
13430         * kbmap.C (findbinding): clean it up and make it work correctly.
13431
13432         * lyx_main.C (init): do not pass argc and argv as parameters
13433
13434 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
13435
13436         * buffer.C: fix path for OS/2 & Win32
13437
13438         * lyx_gui.C:
13439         * lyx_main:
13440         * lyx_main.C: Added os:: class.
13441
13442         * os2_defines.h: update
13443
13444 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13445
13446         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13447         better by trying again with reduced state.
13448
13449 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13450
13451         * lyxrc.C (read): print error about invalid key sequence only when
13452         debugging (because not all latinX keysyms are known to some X
13453         servers)
13454
13455         * kbsequence.C (getiso): add a few std:: qualifiers
13456         (getiso): comment out extra return statement.
13457
13458 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13459
13460         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13461         handling.
13462         (Dispatch): enhance the accent inset a bit. (not perfect)
13463
13464 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13465
13466         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13467
13468 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13469
13470         * bufferlist.C (emergencyWrite): fix assert() call
13471
13472 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
13473
13474         * text.C (InsertChar): Added trivial patch to only send the "you
13475         can not do multiple spaces this way" message once during a
13476         session.
13477
13478 2001-05-08  Baruch Even  <baruch@lyx.org>
13479
13480         * Makefile.am: Changed order of libraries to get LyX to link properly
13481         with the gnome frontend.
13482
13483 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13484
13485         * LaTeXFeatures.h: add a std:: qualifier
13486
13487 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13488
13489         * paragraph.C (String): use stringstream
13490
13491 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13492
13493         * paragraph.C (writeFile): remove footflag arg
13494
13495         * buffer.C (makeLaTeXFile): use stringstream
13496         (latexParagraphs): remove footnot gurba
13497
13498         * LaTeXFeatures.C (getPackages): use stringstream
13499         (getMacros): likewise
13500         (getTClassPreamble): likewise
13501         (getFloatDefinitions): new method
13502
13503         * paragraph.C (writeFile): reindent
13504         (Erase): reindent
13505
13506         * WorkArea.h: revert the xpos + etc changes.
13507
13508         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13509
13510         * lyxparagraph.[Ch]: add copy constructor, remove Clone
13511
13512         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13513         (pasteSelection): likewise
13514         * text2.C (CreateUndo): likewise
13515
13516 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13517
13518         * minibuffer.C (peek_event): temporarily reduce the functionality
13519         of the minibuffer (to allow args on lfuns)
13520
13521         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13522         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13523
13524         * buffer.C (readInset): add compability reading of old float
13525         lists, add reading of new style float list.
13526         (readInset): avoid reevaluation of inscmd.getCmdName()
13527         (getLists): reindent
13528
13529         * MenuBackend.C (MenuItem): implement parsing of
13530         md_floatlistinsert and md_floatinsert.
13531         (expand::LastFiles): move initalizaton of iterators out of loop,
13532         avoid reevaluation.
13533         (expand::Documents): introduce typdedef vector<string> Strings,
13534         and use it.
13535         (expand::ExportFormats): introduce typedef vector<Format const *>
13536         Formats, and use it.
13537         (expand): implement FloatListInsert and FloatInsert.
13538
13539         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13540         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13541         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13542
13543         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13544         handling.
13545         (Dispatch::LFUN_FLOAT_LIST): implement
13546
13547 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13548
13549         * LaTeX.C (run): Fix problem with --export code.
13550
13551 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13552
13553         * BufferView.[Ch] (workarea): removed.
13554         (getClipboard) new method; wrapper for workarea()->getClipboard()
13555
13556         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13557         bug.
13558
13559         * WorkArea.h (width, height, xpos, ypos): These methods all
13560         returned the dimensions of the work_area sub-area of WorkArea,
13561         resulting in a position error if the WorkArea were resized. Now
13562         return the dimensions of the entire WorkArea.
13563
13564         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13565
13566 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13567
13568         * LaTeX.C (deplog): correct the syntax of regex reg1
13569
13570 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13571
13572         * undo.C: remove !NEW_INSETS cruft
13573
13574 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13575
13576         * text2.C: remove !NEW_INSETS cruft
13577
13578         * text.C: remove !NEW_INSETS cruft
13579
13580         * tabular.C: remove !NEW_INSETS cruft
13581
13582         * spellchecker.C: remove !NEW_INSETS cruft
13583
13584         * lyxtext.h: remove !NEW_INSETS cruft
13585
13586         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13587
13588         * lyxfunc.C: remove !NEW_INSETS cruft
13589
13590         * lyxfind.C: remove !NEW_INSETS cruft
13591
13592         * lyx_cb.C: remove !NEW_INSETS cruft
13593
13594         * figureForm.C: remove  !NEW_INSETS cruft
13595
13596         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13597
13598         * buffer.[Ch]: remove !NEW_INSETS cruft
13599
13600         * ToolbarDefaults.C: remove !NEW_INSETS cruft
13601
13602         * CutAndPaste.C: remove !NEW_INSETS cruft
13603
13604         * BufferView_pimpl.C: remove !NEW_INSETS cruft
13605
13606         * BufferView2.C: remove !NEW_INSETS cruft
13607
13608         * BufferView.h: remove !NEW_INSETS cruft
13609
13610 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13611
13612         * Lsstream.h: include LString.h before the sstream headers to
13613         fix problem with gcc 2.95.3 and lyxstring
13614
13615 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13616
13617         * lyx_main.C: add using directives when needed for C functions
13618         declared in std:: namespace.
13619
13620 2001-04-27  Juergen Vigna  <jug@sad.it>
13621
13622         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13623         (SetHeightOfRow): comment out the update call should not be needed!
13624
13625 2001-04-13  Juergen Vigna  <jug@sad.it>
13626
13627         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13628         (LyXTabular): tried to minimize operator= operations (and realized
13629         hopfully Lars wish).
13630
13631 2001-04-27  Juergen Vigna  <jug@sad.it>
13632
13633         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13634
13635 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13636
13637         * lyxfunc.C (Dispatch): hack to make listof algorithm work
13638
13639         * buffer.C (readInset): hack to make listof algorithm work
13640
13641         * BufferView_pimpl.C: hack to make listof algorithm work
13642
13643 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13644
13645         * LyXAction.C: removed all !NEW_INSETS cruft
13646         (init): moved lfun_item in method
13647
13648         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13649
13650 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13651
13652         * BufferView2.C (theLockingInset): white space.
13653
13654 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13655
13656         * minibuffer.C: include <iostream>
13657
13658         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13659
13660         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13661
13662         * commandtags.h: add LFUN_TRANSPOSE_CHARS
13663
13664         * text.[Ch] (TransposeChars): new method
13665
13666 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13667
13668         * call message directly through LyXView instead of through LyXFunc
13669         * BufferView2.C: adjust
13670         * BufferView_pimpl.C: adjust
13671         * FontLoader.C: adjust
13672         * buffer.C: adjust
13673         * bufferview_funcs.C: adjust
13674         * converter.C: adjust
13675         * figureForm.C: adjust
13676         * importer.C: adjust
13677         * lyx_cb.C: adjust
13678         * lyx_gui_misc.C: adjust
13679         * lyxfunc.C: adjust
13680         * lyxvc.C: adjust
13681         * text2.C: adjust
13682         + more files in subdirs
13683
13684         * lyxparagraph.h (size): move up int file
13685         (GetLayout): ditto
13686
13687         * adjust all uses of Assert to lyx::Assert.
13688
13689         * BufferView2.C (ChangeCitationsIfUnique): adjust for
13690         lyxfunctional in namespace lyx
13691         * layout.C (hasLayout): ditto
13692         (GetLayout): ditto
13693         (GetLayout): ditto
13694         (delete_layout): ditto
13695         (NumberOfClass): ditto
13696         * converter.C (GetFormat): ditto
13697         (GetNumber): ditto
13698         (Add): ditto
13699         (Delete): ditto
13700         (SetViewer): ditto
13701         * bufferlist.C (getFileNames): ditto
13702         (emergencyWriteAll): ditto
13703         (exists): ditto
13704         (getBuffer): ditto
13705         * MenuBackend.C (hasSubmenu): ditto
13706         (hasMenu): ditto
13707         (getMenu): ditto
13708         * BufferView_pimpl.C (getInsetByCode): ditto
13709
13710 2001-04-18  Juergen Vigna  <jug@sad.it>
13711
13712         * vspace.C (asLatexString): fixed the 100% problem.
13713
13714 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13715
13716         * lyxfunc.C (Dispatch):
13717         * minibuffer.C:
13718         * minibuffer.h: add a few std:: qualifiers
13719
13720 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13721
13722         * minibuffer.[Ch]: reimplement so that commands is initiated and
13723         run from lyxfunc, simplified som handling, and made the completion
13724         and history code for complete. wip.
13725
13726         * lyxfunc.C (processKeySym): call message
13727         (miniDispatch): new temporary method
13728         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13729         (LFUN_MESSAGE): implement
13730         (LFUN_MESSAGE_PUSH): implement
13731         (LFUN_MESSAGE_POP): implement
13732         (initMiniBuffer): the initial/defualt minibuffer message.
13733
13734         * lyxfont.[Ch]: inline some more getters
13735
13736         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13737
13738         * lyx_gui_misc.[Ch] (WriteStatus): remove method
13739
13740         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13741         (AutoSave): use LFUN_MESSAGE
13742         (Reconfigure): ditto
13743
13744         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13745
13746         * figureForm.C: use LFUN_MESSAGE
13747
13748         * converter.C (runLaTeX): use LFUN_MESSAGE
13749
13750         * bufferview_funcs.C: use LFUN_MESSAGE
13751         (Melt): ditto
13752         (changeDepth): ditto
13753
13754         * bufferparams.h: use boost::
13755
13756         * bufferlist.h: inherit privately from noncopyable
13757
13758         * bufferlist.C (loadLyXFile): remove some commented code.
13759
13760         * buffer.C (runChktex): use LFUN_MESSAGE
13761
13762         * ShareContainer.h: inherit privately from noncopyable
13763
13764         * ParagraphParameters.[hC] (depth): inline it.
13765
13766         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13767         methods.
13768         (message): new method
13769         (messagePush): ditto
13770         (messagePop): ditto
13771         (show): init minibuffer
13772         (showState): direct call
13773
13774         * LaTeX.[Ch]: inherit privately from noncopyable
13775         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13776         instead of WriteStatus.
13777
13778         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13779
13780         * BufferView_pimpl.C (buffer): don't init minibuffer
13781         (workAreaButtonPress): use LFUN_MESSAGE
13782         (workAreaButtonRelease): ditto
13783         (savePosition): ditto
13784         (restorePosition): ditto
13785         (MenuInsertLyXFile): ditto
13786         (workAreaExpose): don't init minibuffer
13787         (update): remove commented code, simplify
13788
13789         * BufferView2.C (openStuff): use LFUN_MESSAGE
13790         (toggleFloat): ditto
13791         (menuUndo): ditto
13792         (menuRedo): ditto
13793         (copyEnvironment): ditto
13794         (pasteEnvironment): ditto
13795         (copy): ditto
13796         (cut): ditto
13797         (paste): ditto
13798         (gotoInset): ditto
13799         (updateInset): remove some commented code
13800
13801         * lastfiles.h: inherit privately from noncopyable
13802         * layout.h: ditto
13803         * lyx_gui.h: ditto
13804         * lyx_main.h: ditto
13805         * lyxlex.h: ditto
13806         * lyxlex_pimpl.h: ditto
13807
13808         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13809         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13810         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13811
13812         * LyXAction.h: inherit privately from noncopyable, add methods
13813         func_begin, func_end, returning iterators to the func map.
13814
13815         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13816         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13817         (func_begin): new method
13818         (func_end): new method
13819
13820         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13821         and not)
13822         (copySelection): ditto
13823         (pasteSelection): ditto
13824
13825         * BufferView.C: whitespace change
13826         * BufferView.h: inherit privately from noncopyable
13827
13828 2001-04-16  Allan Rae  <rae@lyx.org>
13829
13830         * tabular-old.C (l_getline):
13831         * spellchecker.C (sc_check_word):
13832         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13833         an unrecognised preprocessor directive.  So ensure they're wrapped.
13834
13835 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13836
13837         * src/exporter.C (Export): Give an error message when path to file
13838         contains spaces.
13839
13840 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13841
13842         * LaTeX.C (deplog): Always check that foundfile exists.
13843
13844 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13845
13846         * lyx_main.h:
13847         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13848
13849 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13850
13851         * tabular.[Ch] (getLabelList): implement new method
13852
13853         * minibuffer.h: comment ouf setTiimer
13854
13855         * minibuffer.C (ExecutingCB): constify res
13856         (peek_event): constify s
13857         (Set): constify ntext
13858         (Init): constify nicename
13859
13860         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13861
13862         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13863         (savePosition): use two params to Minibuffer::Set
13864         (restorePosition): ditto
13865
13866 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13867
13868         * lyx_main.C: include language.h
13869
13870         * Makefile.am (lyx_main.o): add language.h
13871
13872 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13873
13874         * exporter.C:
13875         * paragraph.C:
13876         * screen.C:
13877         * tabular.C:
13878         * CutAndPaste.C: include gettext.h
13879
13880         * lyxfont.h: remove old hack with ON and OFF.
13881
13882         * lyxparagraph.h:
13883         * lyxfont.h: do not include language.h...
13884
13885         * BufferView2.C:
13886         * LaTeXFeatures.C:
13887         * Painter.C:
13888         * bufferview_funcs.C:
13889         * font.C:
13890         * lyxfont.C:
13891         * text.C:
13892         * text2.C:
13893         * trans_mgr.C:
13894         * paragraph.C: ... but do it here instead
13895
13896 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13897
13898         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13899
13900         * tabular.C: small reformat
13901
13902         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13903         NEW_INSETS version
13904         (GetChar): ditto
13905         (BreakParagraph): ditto
13906         (SetOnlyLayout): ditto
13907         (SetLayout): ditto
13908
13909         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13910         with one arg less.
13911
13912         * lastfiles.C: removed most using decl, add std:: where needed
13913
13914         * buffer.C: ws changes
13915
13916         * MenuBackend.C (class compare_format): put into anon namespace
13917         (expand): constify label, names, action, action2
13918         (expand):
13919
13920         * text.C (SingleWidth): constify font
13921         (IsBoundary): constify rtl2
13922         (GetVisibleRow): constify ww
13923
13924         * LaTeX.C (deplog): constify logfile
13925
13926         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13927         start_x, end_x
13928         (workAreaExpose): constify widthChange, heightChange
13929
13930         * lyxrow.C (par): moved
13931         (height): moved
13932         (next): moved
13933         * lyxrow.h: as inlines here
13934
13935         * lyxfont.h (shape): moved from lyxfont.C
13936         (emph): moved from lyxfont.C
13937
13938         * lyxfont.C (LyXFont): use initialization list for all
13939         constructors
13940         (shape): move to lyxfont.h as inline
13941         (emph): move to lyxfont.h as inline
13942
13943
13944 2001-04-04  Juergen Vigna  <jug@sad.it>
13945
13946         * vspace.C: had to include stdio.h for use of sscanf
13947
13948 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
13949
13950         * BufferView.h:
13951         * BufferView_pimpl.h: remove xforms cruft. Both classes are
13952         independent of xforms.
13953
13954 2001-04-02  Juergen Vigna  <jug@sad.it>
13955
13956         * spellchecker.C: fixed namespace placing!
13957
13958 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
13959
13960         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13961         the LyXParagraph * is 0.
13962
13963 2001-03-29  Juergen Vigna  <jug@sad.it>
13964
13965         * vspace.C: added support for %, c%, p%, l%.
13966         (stringFromUnit): added helper function.
13967         (asLatexString): changed to give right results for the %-values.
13968
13969         * buffer.C: convert the widthp in a width%.
13970
13971 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
13972
13973         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13974         figureForm.[Ch].
13975
13976         * figureForm.[Ch]: stripped the FD_from_figure manipulation
13977         code out of lux_cb.[Ch], ready for its (imminent?) removal.
13978
13979         * lyx_cb.[Ch]: see above.
13980
13981         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13982         form1.[Ch].
13983
13984         * form1.[Ch]:
13985         * lyx.[Ch]: replaced by figure_form.[Ch].
13986
13987         * lyx_gui.C:
13988         * lyx_gui_misc.C:
13989         * lyxfunc.C: changed headers associated with above changes.
13990
13991 2001-03-27  Juergen Vigna  <jug@sad.it>
13992
13993         * BufferView_pimpl.C: set the temporary cursor right!
13994
13995 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
13996
13997         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13998
13999 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
14000
14001         * LString.h: removed "using std::getline"!
14002
14003         * BufferView_pimpl.C (Dispatch): changes due to changes in
14004         InsetInclude::Params.
14005
14006         * buffer.C (tag_name): removed redundant break statements as they were
14007         producing lots of warnings with my compiler.
14008
14009 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14010
14011         * LString.h: add "using std::getline" when using the real <string>.
14012
14013 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
14014
14015         * buffer.C: removed bitset usage.
14016         PAR_TAG moved to an anonymous name space.
14017         (tag_name): new funtion, also in the anonymous namespace.
14018         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14019         (makeDocBookFile): clean code. Completed transition from string arrays
14020         to string vectors.
14021         (SimpleDocBookOnePar): code clean.
14022
14023 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14024
14025         * tabular.C: add some comments.
14026
14027 2001-03-22  Juergen Vigna  <jug@sad.it>
14028
14029         * buffer.C (parseSingleLyXformat2Token): redone the minipage
14030         compatibility read a bit and fixed bug with minipage in different
14031         depth.
14032
14033 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
14034
14035         * buffer.C (pop_tag): removed.
14036         (push_tag): removed.
14037         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14038         array replaced with vector. Added support for CDATA sections.
14039         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14040         at any nest level.
14041         (makeDocBookFile): XML conformant declaration of CDATA section,
14042         fixed bug related to <emphasis> in the first paragraph char.
14043         (sgmlOpenTag): exclude empty tags.
14044         (sgmlCloseTag): ditto.
14045
14046         * buffer.h (pop_tag): removed.
14047         (push_tag): removed.
14048
14049 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
14050
14051         * language.h (Languages): added size_type and size().
14052
14053 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14054
14055         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14056         response on compability reading of minipages. One probliem is that
14057         the old usage of minipages was «flertydig»
14058
14059         * several files here and in subdirs: don't use static at file
14060         scope use anon namespaces instead.
14061
14062 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
14063
14064         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14065         LaTeX output. This is necessary for Literate document
14066         processing.
14067
14068 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14069
14070         * buffer.C: insert hfill when needed.
14071
14072         * tabular.C (l_getline): use string::erase, small whitespace change.
14073
14074         * BufferView_pimpl.C: try the anon namespace.
14075         * WorkArea.C: ditto
14076
14077 2001-03-16  Juergen Vigna  <jug@sad.it>
14078
14079         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14080         otherwise it won't open options-dialogs.
14081
14082         * buffer.C: honor pextraWidth(p) on converting minipages.
14083
14084         * tabular.C (l_getline): changed the functions to strip trailing \r.
14085
14086 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
14087
14088         * BufferView_pimpl.C:
14089         * minibuffer..C: added "using SigC::slot" declaration.
14090
14091 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14092
14093         * lyxlex_pimpl.h: noncopyable is in namespace boost.
14094
14095         * text2.C: ditto
14096
14097         * text.C: ditto
14098
14099         * paragraph.C: ditto
14100
14101         * lyxtext.h: NO_PEXTRA
14102
14103         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14104
14105         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14106         * ParameterStruct.h: ditto
14107         * ParagraphParameters.h: ditto
14108         * lyxparagraph.h: ditto
14109
14110 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14111
14112         * buffer.C: add compability for minipage alignment.
14113         (latexParagraphs): remove unwanted pextra check.
14114
14115         * several files: remove CXX_WORKING_NAMESPACES
14116
14117         * buffer.C (pop_tag): tie is in namespace boost
14118
14119         * BufferView.h: noncopyable is in namespace boost
14120         * lyxlex.h: ditto
14121         * lyx_main.h: ditto
14122         * lyx_gui.h: ditto
14123         * layout.h: ditto
14124         * lastfiles.h: ditto
14125         * bufferlist.h: ditto
14126         * ShareContainer.h: ditto
14127         * LyXView.h: ditto
14128         * LyXAction.h: ditto
14129         * LaTeX.h: ditto
14130
14131 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14132
14133         * Merging changes from BRANCH_MVC back into HEAD.
14134
14135         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14136
14137 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
14138
14139         * BufferView_pimpl.C: change from intl.C
14140
14141         * combox.h:
14142         * combox.C:
14143         * Makefile.am: move combox.*
14144
14145         * form1.h:
14146         * form1.C:
14147         * lyx_gui.C:
14148         * intl.h:
14149         * intl.C: remove dialog (covered by prefs)
14150
14151 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14152
14153         * lyxfunc.C (Dispatch): removed redundant break statement.
14154
14155 2001-03-14  Juergen Vigna  <jug@sad.it>
14156
14157         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14158
14159 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14160
14161         * buffer.C: add hack to fix compability reading of minipages.
14162
14163 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
14164
14165         * buffer.C (getLists): Cleanup.
14166
14167 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14168
14169         * lyxfont.C (update): don't honor toggleall on font size.
14170
14171 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
14172
14173         * bmtable.c:
14174         * bmtable.h:
14175         * Makefile.am: moved to frontends/xforms/
14176
14177         * lyx_gui_misc.C:
14178         * lyxfunc.C:
14179         * BufferView_pimpl.C: changes for moved mathpanel
14180
14181 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14182
14183         * gettext.h: fix gettext_init() in --disable-nls
14184
14185 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14186
14187         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14188
14189 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
14190
14191         * lyx.C:
14192         * lyx.h: strip external form
14193
14194 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14195
14196         * BufferView_pimpl.C: add comment, destroySplash()
14197
14198 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14199
14200         * BufferView_pimpl.C:
14201         * LyXAction.C:
14202         * buffer.C:
14203         * commandtags.h:
14204         * lyxfunc.C: use re-worked insetinclude
14205
14206 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14207
14208         * buffer.C: add using std::stringstream.
14209
14210         * lyx_cb.C: readd using std::ios.
14211
14212         * buffer.C: add using std::map.
14213
14214         * BufferView_pimpl.C: add using std::vector.
14215
14216         * ShareContainer.h: add std:: to swap.
14217
14218         * buffer.h: add some typedefs
14219         * buffer.C (getLists): use them
14220         (getLists): renamed from getTocList.
14221         add a counter for the different float types and use it in the
14222         generated string.
14223         (getLists): use the same counter for the NEW_INSETS and the "non"
14224         NEW_INSETS
14225
14226         * lyx_cb.h: remove unused items, includes, using etc.
14227
14228         * ShareContainer.h: remove some commented code, add more comments
14229         and "documentation".
14230
14231 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14232
14233         * buffer.C (getTocList): make the list also when NEW_INSETS is
14234         defined.
14235
14236         * buffer.h: remove TocType
14237
14238         * buffer.C (getTocList): change to return a map<string,
14239         vector<TocItem> >, implement for dynamic number of list.
14240
14241         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14242         * text2.C (PasteSelection): adjust
14243         * CutAndPaste.C (pasteSelection): adjust
14244
14245         * FloatList.C (FloatList): update from the new_insets branch.
14246         * Floating.[Ch]: ditto
14247         * LaTeXFeatures.C: ditto
14248         * buffer.C: ditto
14249         * lyxlex_pimpl.C: ditto
14250
14251         * paragraph.C (Last): remove when NEW_INSETS is defined.
14252
14253         * other file: changes because of the above.
14254
14255 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14256
14257         * lyxparagraph.h: rename next to next_, previous to previous_,
14258         make them private for NEW_INSETS. Rename Next() to next(),
14259         Previous() to previous().
14260
14261         * other files: changes because of the above.
14262
14263 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
14264
14265         * BufferView.h:
14266         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14267         problem.
14268
14269 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14270
14271         * main.C (main): pass lyx_localedir to gettext_init().
14272
14273         * gettext.h: remove locale_init and gettext_init macros
14274
14275         * gettext.C (locale_init): new function
14276         (gettext_init): new function
14277
14278         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14279         setlocale().
14280
14281 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
14282
14283         * Moved credits to frontends:
14284         * credits.[Ch]: removed
14285         * credits_form.[Ch]: removed
14286         * lyx_gui_misc.C: remove credits stuff
14287         * Makefile.am:
14288
14289 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14290
14291         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14292
14293         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14294         unneeded destructor.
14295
14296         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14297         a standalone pointer again.
14298
14299         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14300
14301 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
14302
14303         * Makefile.am:
14304         * filedlg.h:
14305         * filedlg.C:
14306         * LyXAction.C:
14307         * ToolbarDefaults.C:
14308         * bufferlist.C:
14309         * commandtags.h:
14310         * form1.C:
14311         * form1.h:
14312         * lyx_cb.C:
14313         * lyx_cb.h:
14314         * lyxfunc.h:
14315         * lyxfunc.C:
14316         * BufferView_pimpl.C: use new file dialog in GUII
14317
14318         * lyx_cb.h:
14319         * lyx_cb.C: remove LayoutsCB to Toolbar
14320
14321 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14322
14323         * ShareContainer.h (get): add std:: qualifier
14324
14325 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14326
14327         * ShareContainer.h: define a proper ShareContainer::value_type
14328         type (and use typename to please compaq cxx)
14329
14330 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14331
14332         * lyxparagraph.h: move serveral local vars to
14333         ParameterStruct/ParagraphParameters., use ShareContainer in
14334         FontTable., make vars in FontTable private and add getter and
14335         setter.
14336
14337         * paragraph.C: changes because of the above.
14338
14339         * lyxfont.h: remove copy constructor and copy assignment. (the
14340         default ones is ok), move number inside FontBits. move inlines to
14341         lyxfont.C
14342
14343         * lyxfont.C: add number to initializaton of statics, move several
14344         inlines here. constify several local vars. some whitespace
14345         cleanup. Dont hide outerscope variables.
14346
14347         * Spacing.h: add two new constructors to match the set methods.
14348
14349         * ShareContainer.h: new file, will perhaps be moved to support
14350
14351         * ParameterStruct.h: new file
14352
14353         * ParagraphParameters.h: new file
14354
14355         * ParagraphParameters.C: new file
14356
14357         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14358         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14359
14360         * BufferView_pimpl.C: ParagraphParameter changes.
14361         * buffer.C: Likewise.
14362         * bufferview_funcs.C: Likewise.
14363         * text.C: Likewise.
14364         * text2.C: Likewise.
14365
14366 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14367
14368         * lyxfind.C (LyXReplace): do not redefine default argument in
14369         implementation.
14370         (IsStringInText): ditto
14371         (SearchForward): ditto
14372         (SearchBackward): ditto
14373
14374 2001-03-06  Juergen Vigna  <jug@sad.it>
14375
14376         * lyxfind.C (IsStringInText): put parentes around expressions.
14377
14378 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
14379
14380         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14381
14382 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
14383
14384         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14385
14386         * stl_string_fwd.h: add comment
14387
14388         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14389
14390         * tabular.h:
14391         * tabular.C: remove unused DocBook methods
14392
14393         * intl.C:
14394         * language.C:
14395         * paragraph.C:
14396         * buffer.C:
14397         killed DO_USE_DEFAULT_LANGUAGE
14398
14399 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14400
14401         * lyx_gui.C: do not include language.h.
14402
14403         * bufferview_funcs.C (ToggleAndShow): do not provide optional
14404         arguments in function implementation.
14405
14406 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14407
14408         * BufferView_pimpl.C: add <ctime>
14409
14410 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14411
14412         * BufferView_pimpl.C: add using std::find_if
14413
14414 2001-02-27  José Matos  <jamatos@fep.up.pt>
14415
14416         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14417         by OnlyPath.
14418
14419 2001-02-11  José Matos  <jamatos@fep.up.pt>
14420
14421         * buffer.C (makeDocBookFile): command styles now have a parameter as
14422         "title" by default.
14423
14424 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
14425
14426         * layout_forms.[Ch]: removed
14427         * lyx_cb.[Ch]: out character
14428         * lyx_gui.C: out character
14429         * lyx_gui_misc.C: out character
14430         * bufferview_funcs.C: : out character,
14431         added toggleall as parameter in ToggleAndShow
14432
14433 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
14434
14435         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14436
14437         * text2.C (SetCurrentFont): Disable number property at boundary.
14438
14439 2001-02-26  Juergen Vigna  <jug@sad.it>
14440
14441         * lyxfunc.C (getStatus): added a string argument override function so
14442         that this is correctly called from LyXFunc::Dispatch if it contains a
14443         do_not_use_argument which is used!
14444         (Dispatch): added check for "custom" export and call appropriate func.
14445
14446 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
14447
14448         * lyxrc.C: Add language_command_local, language_use_babel and
14449         language_global_options.
14450
14451         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14452
14453         * buffer.C (makeLaTeXFile): Use language_use_babel and
14454         language_global_options.
14455
14456 2001-02-23  Juergen Vigna  <jug@sad.it>
14457
14458         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14459         which works with LyXText and putted it inside BufferView. Here now we
14460         only call for that part the BufferView::Dispatch() function.
14461
14462         * BufferView.C (Dispatch): added.
14463
14464         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14465         functions which needs to use a LyXText over from LyXFunc.
14466         (MenuInsertLyXFile): added
14467         (getInsetByCode): added
14468         (moveCursorUpdate): added
14469         (static TEXT): added
14470
14471 2001-02-22  Juergen Vigna  <jug@sad.it>
14472
14473         * BufferView_pimpl.C (update): call a status update to see if LyXText
14474         needs it.
14475
14476 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14477
14478         * vc-backend.C (revert): implement for CVS
14479         (getLog): implement for CVS
14480
14481 2001-02-20  Juergen Vigna  <jug@sad.it>
14482
14483         * text2.C (ClearSelection): added BufferView param for inset_owner call
14484
14485         * lyxfunc.C (TEXT): added this function and use it instead of
14486         directly owner->view()-text of getLyXText().
14487
14488 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
14489
14490         * src/layout_forms.C: out preamble
14491         * src/layout_forms.h: out preamble
14492         * src/lyx_cb.C: out preamble
14493         * src/lyx_cb.h: out preamble
14494         * src/lyx_gui.C: out preamble
14495         * src/lyx_gui_misc.C: out preamble
14496         * src/lyxfunc.C: connect with guii preamble
14497
14498 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
14499
14500         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14501
14502 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
14503
14504         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14505         whether to run bibtex.
14506
14507 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
14508
14509         * Makefile.am (lyx_SOURCES): Remove BackStack.h
14510
14511 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14512
14513         * Makefile.am (lyx_SOURCES): removed bibforms.h
14514
14515         * vspace.h: doxygen
14516
14517         * text.C (GetVisibleRow): make several local vars const
14518
14519         * tabular.C: small cleanup.
14520
14521         * lyxserver.C (callback): use compare instead of strncmp
14522
14523         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14524         inlines to after class or to paragraph.C
14525
14526         * lyxfont.h: remove friend operator!=
14527
14528         * converter.h: move friend bool operator< to non friend and after
14529         class def.
14530
14531         * combox.h: small cleanup
14532
14533         * buffer.h: doxygen, remove unused constructor, move inclas inlies
14534         to inlines after class def.
14535
14536         * buffer.C (pop_tag): use string operations instead of strcmp
14537
14538         * bmtable.c: doxygen, small cleanup
14539
14540         * LaTeX.h: remove friend operator==
14541
14542 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
14543
14544         * screen.C:
14545         * lyxrc.[Ch]:
14546         * lyxfunc.C:
14547         * lyxfont.[Ch]:
14548         * lyx_cb.C:
14549         * intl.[Ch]:
14550         * commandtags.h:
14551         * buffer.C:
14552         * WorkArea.[Ch]:
14553         * LyXAction.C:
14554         * BufferView_pimpl.C:
14555         * BufferView.[Ch]: remove cruft
14556
14557 2001-02-14  Juergen Vigna  <jug@sad.it>
14558
14559         * lyxfunc.C: removed #if 0 unused code
14560
14561         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14562
14563         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14564
14565         * text2.C (SetSelection): added a BufferView * parameter
14566
14567 2001-02-13  Juergen Vigna  <jug@sad.it>
14568
14569         * lyxfunc.C (Dispatch): fixed protected blank problem.
14570         * BufferView2.C (protectedBlank): added LyxText * parameter.
14571
14572         * tabular.C (AppendRow): forgot to set row_info of newly added row.
14573         (AppendColumn): same as above for column_info.
14574
14575         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14576         (moveCursorUpdate): use a LyXText param for support of InsetText.
14577
14578         * BufferView_pimpl.C (doubleClick): added support for InsetText.
14579         (tripleClick): ditto
14580
14581         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14582
14583         * BufferView_pimpl.C (update): added LyXText param to honor insets.
14584
14585         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14586
14587         * text2.C (SetSelection): set correct update status if inset_owner
14588         (ToggleFree): ditto
14589
14590 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
14591
14592         * tabular.C: remove some commented code.
14593
14594 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
14595
14596         * BufferView_pimpl.C: call hideSplash()
14597
14598         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14599
14600         * include_form.h:
14601         * bibforms.h: remove
14602
14603         * lyxfunc.C:
14604         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14605           add LFUN_CHILD_CREATE
14606
14607         * counters.h: fix tiny typo
14608
14609         * lyx_cb.C:
14610         * lyx.h:
14611         * lyx_gui.C:
14612         * lyx.C: move splash to frontends/xforms/
14613
14614         * lyx_gui_misc.C: move Include and Bibform to frontends
14615
14616         * lyxvc.h: clarify comment
14617
14618         * vspace.C: tiny housekeeping
14619
14620 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
14621
14622         * text.C (PrepareToPrint): RTL Fix.
14623
14624         * paragraph.C (GetUChar): New method.
14625         (String):  Use GetUChar.
14626
14627         * buffer.C (asciiParagraph): Use GetUChar.
14628
14629 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
14630
14631         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14632
14633 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
14634
14635         * buffer.h:
14636         * buffer.C: rename to getLogName(), handle
14637           build log / latex log nicely
14638
14639 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14640
14641         * MenuBackend.C:
14642         * MenuBackend.h: remove support for reference menuitem type.
14643
14644 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
14645
14646         * BufferView_pimpl.C: housekeeping
14647         * BufferView_pimpl.h:
14648         * LyXView.h:
14649         * Makefile.am:
14650         * Timeout.C:
14651         * Timeout.h:
14652         * minibuffer.h: move Timeout GUI-I
14653
14654 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
14655
14656         * lyxrc.C (read): Update converters data-structures.
14657
14658 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
14659
14660         * LaTeX.h (operator!=): add operator != for Aux_Info
14661
14662 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
14663
14664         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14665
14666         * LaTeXLog.C: deleted, useful code moved to Buffer
14667
14668         * buffer.h:
14669         * buffer.C: new function getLatexLogName()
14670
14671         * lyx_gui_misc.C:
14672         * lyx_gui.C:
14673         * lyxvc.C:
14674         * lyxvc.h:
14675         * lyxfunc.C: use frontends for LaTeX and VC logs
14676
14677 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14678
14679         * LaTeX.h: yet another std:: that Allan forgot.
14680
14681         * Variables.C (set): renamed from isset(), because this clashes
14682         with some HP-UX macros (grr).
14683
14684 2001-02-06  Allan Rae  <rae@lyx.org>
14685
14686         * LaTeX.h: Another bug fix.  Missing std:: this time.
14687
14688 2001-02-04  Allan Rae  <rae@lyx.org>
14689
14690         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14691         floats problem. I've left it commented out because it's not quite
14692         correct.  It should also test that the current object is a table or
14693         figure inset.  But I haven't gotten around to figuring out how to do
14694         that.  I *think* it'll be something like: "table" == inset.type()
14695
14696         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14697         bool.
14698
14699 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
14700
14701         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14702         all the citation/databases/styles in the auxilary file.
14703         (run): Rerun latex if there was a babel language error.
14704
14705 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
14706
14707         * text.C (Backspace): Preserve the font when changing newline char
14708         with a space.
14709         (BreakParagraph): If the cursor is before a space, delete the space.
14710
14711         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14712
14713 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
14714
14715         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14716         new argument (code).
14717         (ChangeCitationsIfUnique): New method.
14718
14719         * paragraph.C (GetPositionOfInset): Handle bibkey.
14720
14721 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14722
14723         * BufferView_pimpl.h: change type of Position::par_pos to
14724         LyXParagraph::size_type.
14725
14726 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
14727
14728         * BufferView_pimpl.C (savePosition, restorePosition): Write
14729         messages to minibuffer.
14730
14731 2001-01-28  José Matos  <jamatos@fep.up.pt>
14732
14733         * buffer.C (makeDocBookFile): adds support for document language.
14734         A silly restriction on the name of LatexCommand types where removed.
14735         Added support for CDATA sections, allows to chars unescaped, used
14736         among others in code, to avoid escape < and >.
14737
14738 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14739
14740         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14741         saved positions instrad of a stack. Furthermore, a position is
14742         stored using paragraph id/paragraph position.
14743
14744         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14745         Remove LFUN_REF_BACK.
14746
14747 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14748
14749         * converter.C (dvipdfm_options): New method.
14750
14751 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14752
14753         * vspace.C (isValidLength): Fix for empty input string.
14754
14755 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14756
14757         * LyXAction.C (init): change description of LFUN_FIGURE to
14758         "Insert Graphics"
14759
14760 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14761
14762         * LaTeX.C: add using directive
14763
14764 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14765
14766         * MenuBackend.C (expand): Fix the sorting of the formats.
14767
14768 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14769
14770         * lyx_main.C: tiny error message fix
14771
14772 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14773
14774         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14775         calling fl_initialize(). This fixes the problem with ',' as
14776         decimal separator in text files.
14777
14778 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14779
14780         * trans.C (process): Fix the keymap bug.
14781
14782 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
14783
14784         * LaTeX.C (scanAuxFiles): New method. Provides support for
14785         multiple bibliographies (when using the bibtopic/bibunits pacakges).
14786         (scanLogFile) Scan for "run BibTeX" messages.
14787
14788         * buffer.C (makeLaTeXFile): Do not load the ae package when using
14789         OT1 font encoding. Also, load the aecompl package if the ae
14790         package is loaded.
14791
14792         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14793
14794 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14795
14796         * texrow.C (increasePos): turn two error messages into debug
14797         messages.
14798
14799 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
14800
14801         * LaTeX.C (scanAux): Handle the \@input macro.
14802         (runBibTeX): Use scanAux().
14803
14804         * language.C (latex_options_): New field.
14805
14806         * LaTeXFeatures.C (getMacros): Add language macros.
14807
14808         * buffer.C (makeLaTeXFile): Small fix.
14809
14810 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14811
14812         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14813
14814         * text2.C: add a using directive.
14815
14816 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14817
14818         * BufferView2.C:
14819         * lyx_gui_misc.h:
14820         * lyxfr1.C:
14821         * lyxfunc.C: kill LyXBell.
14822
14823 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14824
14825         * text.C (IsBoundary): Remove the error message
14826
14827         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14828
14829         * lyxrc.C (setDefaults): Correct initialization value for
14830         font_norm_type.
14831
14832 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14833
14834         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14835         gotoError().
14836
14837         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14838         and GotoNextNote().
14839
14840         * src/LyXAction.C: Added reference-next.
14841
14842         * text.C (InsertChar): Use contains instead of strchr.
14843
14844         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14845
14846 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14847
14848         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14849         alignment commands (when needed).
14850
14851         * text.C (InsertChar): Add ':' to number separator chars.