]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
61ec77f516b5018e241d1cd1c5d0c4cb6a88fb89
[lyx.git] / src / ChangeLog
1 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
2
3         * cursor.C (dispatch): avoid infinite loops
4
5 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
6
7         * rowpainter.C (paintSelection): fix x coordinates
8
9 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
10
11         * text.C (rowBreakPoint): fix breaking before displayed insets
12
13 2004-03-01  André Pönitz  <poenitz@gmx.net>
14
15         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
16
17         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
18
19         * Makefile.am:
20         * BufferView.C:
21         * BufferView_pimpl.C:
22         * buffer.C:
23         * lyxfind.C:
24         * lyxfunc.C:
25         * text.C:
26         * text2.C:
27         * text3.C: adjust
28
29 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
30
31         * lyxtext.h:
32         * text.C:
33         * text2.C:
34         * rowpainter.C:
35         * BufferView_pimpl.C: rename textwidth -> maxwidth, 
36         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
37
38 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
39
40         * Bidi.[Ch] (computeTables): const correctness
41         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
42         fill_hfill, fill_label_hfill and x from Row
43         * lyxtext.h: prepareToPrint returns a RowMetrics
44         * rowPainter.C: adjust
45         * text.C (prepareToPrint): use width, not textWidth. adjust
46         (redoParagraphInternal, cursorX): adjust
47         * text2.C (getColumnNearX): adjust
48         (init): put a default value to the top LyXText::width
49
50 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
51
52         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here 
53
54 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
55
56         * lyxtext.h: add FontIterator class 
57
58         * text.C (FontIterator, operator*, operator->, operator++): add
59         (rowBreakPoint, setRowWidth): adjust (fixing a
60         rebreaking bug)
61
62 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
63
64         * BufferView_pimpl.C (workAreaDispatch): allow also
65         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
66
67 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
68
69         * text.C (rowBreakPoint): fix a bug showing with very large insets
70
71 2004-02-25  André Pönitz  <poenitz@gmx.net>
72
73         * text3.C:
74         * cursor.[Ch]: move some mathed specific code to mathed
75
76 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
77
78         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
79         use_tempdir in preferences
80         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
81         tempfile creation
82         * lyx_main.C: ensure that tempdir is valid
83         * lyxlex.h: correct typo
84         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
85         * paragraph.[Ch] (isMultiLingual): make const
86         * cursor.[Ch] (openable): make const
87
88 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
89
90         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
91
92 2004-02-20  André Pönitz  <poenitz@gmx.net>
93
94         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
95
96         * cursor.[Ch]: prepare for localized getStatus()
97
98         * lyxtext.h:
99         * tabular.C:
100         * text.C:
101         * text2.C:
102         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
103
104 2004-02-20  André Pönitz  <poenitz@gmx.net>
105
106         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
107
108 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
109
110         * text2.C (setCursorFromCoordinates): switch to absolute coords
111         (cursorUp): adjust
112         (cursorDown): adjust
113         * text3.C (dispatch): adjust
114
115 2004-02-16  André Pönitz  <poenitz@gmx.net>
116
117         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
118           insets/ChangeLog)
119
120         * cursor_slice.[Ch]: remove unneeded acessor function
121
122         * lyxtext.h: rename rtl() to isRTL()
123
124         * rowpainter.C:
125         * tabular.C:
126         * text.C:
127         * text2.C:
128         * text3.C: adjust
129
130 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
131
132         * rowpainter.C (paintSelection): coord fix
133
134 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
135
136         * Spacing.C: compile fix
137
138 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
139
140         * cursor.C (dispatch): restore current_ before returning
141
142 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
143
144         * text2.C (cursorUp, cursorDown): fix coords
145         (moveUp): fix crash
146
147 2004-02-12  André Pönitz  <poenitz@gmx.net>
148
149         * lyxtext.h:
150         * text.C:
151         * text2.C:
152         * text3.C: add LCursor & parameter to most cursor movement functions
153           remove usage of LyXText::cursorRow() and cursorPar()
154
155         * cursor.[Ch]: add textRow() needed members
156
157         * BufferView.C:
158         * BufferView_pimpl.C:
159         * paragraph.[Ch]:
160         * BufferView.C:
161         * BufferView_pimpl.C: adjust
162
163 2004-02-11  André Pönitz  <poenitz@gmx.net>
164
165         * lyxfunc.C:
166         * BufferView.[Ch]:
167         * BufferView_pimpl.C: shift undo/redo handling
168
169         * cursor.[Ch]: fix mathed crash
170
171         * lyxfind.C:
172         * lyxtext.h: move selectionAsText to LCursor
173
174         * output_latex.C:
175         * paragraph.C:
176         * text.C:
177         * text2.C:
178         * text3.C: adjust
179
180         * rowpainter.C: fix excessive drawing
181
182 2004-02-06  André Pönitz  <poenitz@gmx.net>
183
184         * BufferView.[Ch]:
185         * BufferView_pimpl.[Ch]:
186         * text3.C: move some text specific LFUN handling
187
188 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
189
190         * text3.C (checkInsetHit): adjust coords
191         * text2.C (getColumnNearX): adjust coords
192         (edit): adjust coords
193         * text.C (getRowNearY): add two asserts
194
195 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
196
197         * converter.C:
198         * format.C: add using std::distance to compile on gcc 2.95/stlport
199
200 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
201
202         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
203
204 2004-02-04  André Pönitz  <poenitz@gmx.net>
205
206         * BufferView.[Ch] (insertInset):
207         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value 
208
209         * text2.C:
210         * text3.C: adjust
211
212 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
213
214         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch 
215         on the default clause of the switch
216         * lyxfunc.C (dispatch): call BufferView::dispatch if the event 
217         wasn't catched by LCursor::dispatch
218
219 2004-02-03  André Pönitz  <poenitz@gmx.net>
220
221         * BufferView.C:
222         * cursor.[Ch]: some additional asserts
223
224         * undo.[Ch]: remove LyXText dependency in interface
225
226         * lyxfunc.C: adjust
227
228         * lyxtext.h (firstPar, lastPar): remove dead functions 
229
230         * text.C:
231         * text2.C:
232         * text3.C:
233         * paragraph.[Ch]: adjust
234
235 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
236
237         * lyxfind.C (find): fix argument order in call to ::find
238
239 2004-02-02  André Pönitz  <poenitz@gmx.net>
240
241         * cursor.[Ch]: remove direct access to anchor
242
243         * text.C: remove findText() hack
244
245 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
246
247         * iterators.[Ch] (lockPath): remove in favour of...
248         * BufferView.[Ch] (setCursor): this addition
249         * BufferView.C (putSelectionAt): adjust
250         * undo.C (performUndoOrRedo): adjust
251         * lyxfunc.C (dispatch): adjust
252
253 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
254
255         * iterators.C (lockPath): add a missing slice
256         * undo.C (performUndoOrRedo): remove redundant positioning code
257
258 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
259
260         * vc-backend.C (scanMaster): ";" -> ';'
261
262 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
263
264         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
265         std::binary_function
266
267         * lyxtextclass.C (compare_name): rename to...
268         (LayoutNamesEqual): ...this
269
270         * lyxlex_pimpl.C (compare_tags): inherit from
271         std::binary_function, put back into anon namespace
272
273         * lyxfind.C (MatchString): inherig from std::binary_function
274         (findChange): use empty() istead of !size()
275
276         * format.C (FormatNamesEqual): new functor
277         (getFormat): use it
278         (getNumber): use it
279         (add): use it
280         (erase): use it
281         (setViewer): use it
282
283         * converter.C (compare_Converter): rename to...
284         (ConverterEqual): ...this, and fixup a bit.
285         (getConverter): use it, and make function const
286         (getNumber): use it, and make function const
287         (add): use it
288         (erase): use it:
289
290         * bufferlist.C: add using boost::bind
291
292         * MenuBackend.C (MenuNamesEqual): new functor
293         (hasMenu): use it, and make function const
294         (hasSubmenu): use nested bind to get rid of compare_memfun.
295
296 2004-01-30  André Pönitz  <poenitz@gmx.net>
297
298         * BufferView_pimpl.C:
299         * cursor.C:
300         * cursor.h:
301         * cursor_slice.[Ch]:
302         * lyxfunc.C:
303         * lyxtext.h:
304         * paragraph_funcs.C:
305         * paragraph_funcs.h:
306         * rowpainter.C:
307         * text.C:
308         * text2.C:
309         * text3.C: move some of the edit(x,y) handling to the insets
310         some coordinate changes.
311
312 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
313
314         * text.C: add using statements for std::advance and std::distance
315
316         * paragraph.C: add using statement for std::distance
317
318         * lyxfind.C: add using statement for std::advance
319
320         * cursor.C (region): remove std:: from swap
321         (openable): use nucleus in stead of operator->
322
323         * BufferView.C: add using statements for std::distance and std::swap
324
325 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
326
327         * iterators.C: Remove the pimple, move the needed structures to
328         the header file. Create accessor for the positions stack.
329         (asPosIterator): remove function
330
331         * PosIterator.C (PosIterator): move constructors to top of file
332         (PosIterator): reimplement the constructor taking a ParIterator in
333         terms of setFrom.
334         (setFrom): new function
335         (operator!=): inline it
336
337 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
338
339         * lyxfind.C (replaceAll): use std::advance
340
341         * iterators.h: inherit from std::iterator.
342
343         * PosIterator.C (advance, distance): remove
344         * PosIterator.h: interit from std::iterator.
345
346 2004-01-26  André Pönitz  <poenitz@gmx.net>
347
348         * BufferView.[Ch]:
349         * BufferView_pimpl.[Ch]:
350         * InsetList.[Ch]:
351         * PosIterator.[Ch]:
352         * buffer.h:
353         * bufferview_funcs.C:
354         * cursor.[Ch]:
355         * cursor_slice.h:
356         * factory.[Ch]:
357         * iterators.[Ch]:
358         * lyxfind.C:
359         * lyxfunc.C:
360         * lyxtext.h:
361         * output_docbook.C:
362         * output_latex.C:
363         * output_linuxdoc.C:
364         * output_plaintext.C:
365         * paragraph.[Ch]:
366         * paragraph_funcs.[Ch]:
367         * paragraph_pimpl.[Ch]:
368         * rowpainter.C:
369         * tabular.C:
370         * tabular.h:
371         * text.C:
372         * text2.C:
373         * text3.C: more IU:  dumps most of the rest of the mathcursor
374     implementation into cursor.[Ch]; "globalize" a bit of it.
375
376 2004-01-25  Angus Leeming  <leeming@lyx.org>
377
378         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
379
380 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
381
382         * LaTeXFeatures.h: add nice_ and nice() const
383         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
384
385 2004-01-20  André Pönitz  <poenitz@gmx.net>
386
387         * BufferView.[Ch]:
388         * BufferView_pimpl.C:
389         * PosIterator.C:
390         * bufferview_funcs.C:
391         * cursor.[Ch]:
392         * cursor_slice.[Ch]:
393         * factory.C:
394         * iterators.C:
395         * lyx_cb.C:
396         * lyxfind.C:
397         * lyxfunc.C:
398         * lyxtext.h:
399         * rowpainter.C:
400         * text.C:
401         * text2.C:
402         * text3.C:
403         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
404           LCursor and mathcursor parts to LCursor and InsetBase.
405
406 2004-01-15  André Pönitz  <poenitz@gmx.net>
407
408         * cursor_slice.[Ch]: add a few covienience functions
409
410         * funcrequest.[Ch]: remove BufferView * member
411
412         * BufferView_pimpl.C:
413         * cursor.C:
414         * factory.[Ch]:
415         * lyxfind.[Ch]:
416         * lyxfunc.C:
417         * lyxtext.h:
418         * text3.C:
419         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
420
421 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
422
423         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
424         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
425
426 2004-01-13  André Pönitz  <poenitz@gmx.net>
427
428         * textcursor.[Ch]:
429         * lyxtext.h: hide cursor and selection anchor behind accessor function
430
431         * BufferView.C:
432         * BufferView_pimpl.[Ch]:
433         * PosIterator.C:
434         * bufferview_funcs.C:
435         * cursor.h:
436         * lyxfind.C:
437         * lyxfunc.C:
438         * text.C:
439         * text2.C:
440         * text3.C:
441         * undo.C: adjust
442
443         * cursor.h:
444         * cursor_slice.[Ch]: some integer type changes for inset unification
445
446         * lyxcursor.[hC]: remove, it's CursorSlice now.
447
448         * Makefile.am:
449         * BufferView_pimpl.[Ch]:
450         * bufferview_funcs.C:
451         * cursor_slice.C:
452         * lyxtext.h:
453         * text.C:
454         * text2.C:
455         * text3.C:
456         * textcursor.[Ch]: adjust
457
458 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
459
460         * text2.C (undoSpan): add and use
461         * text.C (breakParagraph): use undoSpan (fix bug 578)
462         * lyxtext.h: adjust
463
464 2004-01-08  Angus Leeming  <leeming@lyx.org>
465
466         * BufferView_pimpl.C (MenuInsertLyXFile):
467         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
468         * lyxfunc.C (menuNew, open, doImport):
469         FileFilterList change to the FileDialog open and save functions.
470
471 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
472
473         * ShareContainer.h: make isEqual and isUnique adaptable
474
475         * CutAndPaste.C: make resetOwnerAndChanges adaptable
476
477 2004-01-07  Angus Leeming  <leeming@lyx.org>
478
479         * LyXAction.C:
480         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
481
482         * BufferView_pimpl.C (dispatch): act on these LFUNs.
483
484         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
485         functions replacing find, replace and replaceAll.
486
487         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
488         LFUN_WORDFIND(FORWARD|BACKWARD).
489
490 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
491
492         * text.C (breakParagraph): remove an outdated #warning
493
494 2004-01-07  André Pönitz  <poenitz@gmx.net>
495
496         * lyxfind.C: somewhat clearer logic
497
498         * text.C: prevent crash in cursorX on unitialized row cache
499
500 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
501
502         * lyxcursor.[Ch] (operator>): add
503         * textcursor.C (selStart, selEnd): use std::min and std::max
504
505 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
506
507         * Chktex.C: include boost/format.hpp
508
509 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
510
511         * InsetList.C: replace functor MathcIt with adaptable functor
512         InsetTablePosLess
513         (insetIterator): modify accordingly
514
515         * BranchList.h: move the BranchNamesEqual functor here from...
516         * BranchList.C: ... to here
517
518         * BranchList.C: new BranchListEqual fuctor, use it. Remove
519         SameName and match.
520         (add): replace a finding loop with std::find_if.
521
522 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
523
524         * output_docbook.C: moving LatexParam functionality into
525         .layout files
526
527 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
528
529         * buffer.C: increment format to 229.
530
531 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
532
533         * LaTeXFeatures.C:
534         * lyx_sty.[Ch]: remove minipageindent_def
535
536         * LyXAction.C:
537         * factory.C:
538         * lfuns.h:
539         * lyxfunc.C:
540         * text3.C: remove LFUN_INSET_MINIPAGE
541
542 2003-12-28  Angus Leeming  <leeming@lyx.org>
543
544         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
545
546 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
547
548         * text2.C (setParagraph): fix off-by-one crash
549
550 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
551
552         * output_docbook.C: header stuff for AGU
553
554 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
555
556         * text2.C (redoCursor): remove
557         * text.C:
558         * text3.C:
559         * BufferView_pimpl.C: remove calls to redoCursor and
560         setCursor(cursor.par(), cursor.pos()) all around
561
562 2003-12-15  Angus Leeming  <leeming@lyx.org>
563
564         * buffer.C: up the format to 228.
565
566 2003-12-15  André Pönitz  <poenitz@gmx.net>
567
568         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
569         slices
570
571         * Makefile.am:
572
573         * BufferView_pimpl.C:
574         * cursor.[Ch]:
575         * lyxcursor.[Ch]:
576         * rowpainter.[Ch]:
577         * lyxtext.h:
578         * text.C:
579         * text2.C:
580         * text3.C: adjust
581
582 2003-12-15  Angus Leeming  <leeming@lyx.org>
583
584         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
585         than getFromGUIName to manipulate the color.
586
587 2003-12-14  Angus Leeming  <leeming@lyx.org>
588
589         * BranchList.[Ch]: minimize the API.
590         (Branch::getBranch, getColor): now return a 'const &'.
591         (Branch::setSelected) now returns a bool set to true if the
592         selection status changes.
593         (BranchList::clear, size, getColor, setColor, setSelected,
594         allBranches, allSelected, separator): removed.
595         (BranchList::find): new functions, returning the Branch with
596         the given name.
597         (BranchList::add, remove): return a bool indicating that
598         the operation was successful.
599
600         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
601         new InsetBranch::isBranchSlected member function.
602
603         * LColor.[Ch]: mimimize the API.
604         (fill): renamed as addColor and made private.
605         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
606         versions of these functions taking a string arg have been removed.
607
608         * bufferparams.C (readToken):
609         * lyxfunc.C (dispatch):
610         * lyxrc.C (read): changes due to the altered BranchList and
611         LColor APIs.
612
613         * factory.C (createInset, readInset): changes due to altered
614         InsetBranch c-tor.
615
616 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
617
618         * factory.C:
619         * lyxfunc.C: remove insetminipage. "minipage-insert"
620         now produces a frameless minipage box inset.
621
622 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
623
624         * textcursor.[Ch] (selStart,selEnd): add new methods
625         remove selection::start, end, use LyXCursor::operator<
626         * lyxcursor.[Ch] (operator<): add
627         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
628         * BufferView.[Ch] (unsetXSel): add
629         * text2.C (clearSelection): use unsetXSel,adjust
630         * text.C: adjust
631         * text3.C: adjust
632         * rowpainter.C: adjust
633         * bufferview_funcs.C (put_selection_at): adjust
634
635 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
636
637         * BufferView_pimpl.C: small coord. correction
638
639 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
640
641         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
642         dragging over the splash screen.
643
644 2003-12-11  Angus Leeming  <leeming@lyx.org>
645
646         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
647         as it is now handled in LyXText::dispatch.
648
649         * text3.C (doInsertInset): remove a level of nesting.
650
651 2003-12-11  Angus Leeming  <leeming@lyx.org>
652
653         * factory.C (createInset): changes due to the changed interface to
654         InsetCommandMailer::string2params.
655
656 2003-12-10  Angus Leeming  <leeming@lyx.org>
657
658         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
659         'dialog-show-new-inset <inset name>'
660
661 2003-12-10  Angus Leeming  <leeming@lyx.org>
662
663         * buffer.C: up the format to 227.
664
665         * factory.C: the box inset is now identified simply by 'Box'.
666
667 2003-12-10  Angus Leeming  <leeming@lyx.org>
668
669         * buffer.C: up the format to 226.
670
671         * factory.C: the note inset is now identified simply by 'Note'.
672
673 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
674
675         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
676         when a pit is enough. Standarize a couple of loops.
677
678 2003-12-05  Angus Leeming  <leeming@lyx.org>
679
680         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
681         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
682         data to the re-worked "log" dialog.
683
684 2003-12-03  André Pönitz  <poenitz@gmx.net>
685
686         * PosIterator.C:
687         * iterators.C:
688         * lyxtext.h:
689         * output_latex.C:
690         * paragraph_funcs.C:
691         * text.C:
692         * text2.C: use Inset::getText instead of Inset::getParagraph
693
694 2003-12-03  André Pönitz  <poenitz@gmx.net>
695
696         * buffer.[Ch]:
697         * lyxtext.h:
698         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
699         InsetText::read() as LyXText::read()
700
701 2003-12-02  Angus Leeming  <leeming@lyx.org>
702
703         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
704         type. Add a comment in the implementation that the function uses
705         the stream's bad() function rather than fail() as the std::streams
706         would do.
707
708 2003-12-02  André Pönitz  <poenitz@gmx.net>
709
710         * lyxlex.[Ch]: make interface more similar to std::stream
711
712         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
713
714 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
715
716         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
717
718 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
719
720         * vspace.[Ch]: remove VSpace::NONE
721
722 2003-12-01  André Pönitz  <poenitz@gmx.net>
723
724         * buffer.[Ch]:
725         * lyxtext.h: move ParagraphList member to LyXText
726         rename LyXText::ownerParagraphs to LyXText::paragraph
727
728         * CutAndPaste.C:
729         * bufferview_funcs.C:
730         * iterators.[Ch]:
731         * lyx_cb.C:
732         * paragraph.C:
733         * rowpainter.C:
734         * tabular.C:
735         * text.C:
736         * text2.C:
737         * text3.C: adjust
738
739         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
740
741         * undo.C: fix cursor positioning
742
743 2003-12-01  John Levon  <levon@movementarian.org>
744
745         * BufferView_pimpl.C: fix a crash on exit with
746         a buffer open
747
748 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
749
750         * BranchList.C: fix setSelected() method.
751
752 2003-11-28  André Pönitz  <poenitz@gmx.net>
753
754         * ParagraphParameters.[Ch]:
755         * ParameterStruct.h: remove space above/below from Paragraph to
756          InsetVSpace
757
758         * BufferView_pimpl.C:
759         * factory.C:
760         * lyxfunc.C:
761         * lyxtext.h:
762         * output_latex.C:
763         * paragraph.C:
764         * paragraph_funcs.C:
765         * rowpainter.[Ch]:
766         * text.C:
767         * text2.C:
768         * text3.C: adjust
769
770 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
771
772         * factory.C: Syntax change for CharStyles
773
774 2003-11-28  André Pönitz  <poenitz@gmx.net>
775
776         * BufferView.[Ch]:
777         * BufferView.[Ch]:
778         * buffer.[Ch]:
779         * buffer.[Ch]: move LyXText member
780
781 2003-11-28  André Pönitz  <poenitz@gmx.net>
782
783         * BufferView.[Ch]: make LyXText * text a private member
784
785         * BufferView_pimpl.C:
786         * cursor.C:
787         * iterators.C:
788         * lyx_cb.C:
789         * lyxfind.C:
790         * lyxtext.h:
791         * rowpainter.[Ch]:
792         * text.C:
793         * text2.C:
794         * undo.C: adjust
795
796         * output_plaintext.C: cleanup
797
798 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
799
800         * buffer.C:
801         * lyxtextclass.[Ch]: parametrize SGML document header
802
803 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
804
805         * converter.[Ch]:
806         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
807         getFlavor().
808
809 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
810
811         * text2.C (setFont): rework using PosIterator (no more recursive)
812         (setCharFont): no more needed
813         (setLayout): no more selection cursors fiddling (done by redoCursor)
814         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
815         destroy remaining ones)
816
817 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
818
819         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
820         * lyxtext.h: ditto
821         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
822         selection cursors
823         * lyxfunc.C: adjust
824         * text3.C: adjust + re-allow multi par depth changes
825         * textcursor.C: simplify a bit
826
827 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
828
829         * src/buffer.C:
830         * src/lyxlayout.C:
831         * src/lyxlayout.h:
832         * src/lyxtext.h:
833         * src/output_docbook.C:
834         * src/output_latex.C:
835         * src/paragraph.C:
836         * src/paragraph.h:
837         * src/sgml.C:
838         * src/sgml.h:
839         * src/text2.C: Introducing a number of tags parametrizing various
840         XML formats that we may want to support
841
842 2003-11-25  André Pönitz  <poenitz@gmx.net>
843
844         * InsetList.[Ch] (begein, end): inline as suggested by profiler
845
846         * lyxtext.h (leftMargin/rightMargin): simplify interface
847
848         * rowpainter.C:
849         * text.C:
850         * text2.C:
851         * text3.C: adjust
852
853 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
854
855         * lyxfunc.C (dispatch): propogate the bibtex databases from the
856         master file to any child files. Fixes bug 546.
857
858 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
859
860         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
861
862 2003-11-24  André Pönitz  <poenitz@gmx.net>
863
864         * rowpainter.C: simplification
865
866         * text2.C (updateCounters): remove call to redoParagraph on
867         changed labels as this is far too expensive.
868
869 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
870
871         * converter.C (convert): fix a crash: this function gets
872         called with buffer == 0 from importer code.
873
874 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
875
876         * text3.C (cursorPrevious): make sure that we do not compare
877         iterators form different containers.
878         (cursorNext): ditto
879
880         * rowpainter.C (paintSelection): make sure that we do not compare
881         iterators from different containers.
882
883         * text3.C (dispatch): [PRIOR] make sure that we do not compare
884         iterators from different ParagraphList containers.
885         [NEXT] ditto
886
887         * text2.C (LyXText): change order of initialization slightly
888         (operator=): new function. copy all variables except cache_par_
889         (moveUp): make sure that we do not compare iterators from
890         different ParagraphList constainers.
891         (moveDown): ditto
892
893         * text.C (firstPar): new function
894         (lastPar): new function
895         (endPar): new function
896
897         * lyxtext.h: move things around and group public functions, public
898         variables, private functions, private variables
899
900 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
901
902         * factory.C: change call to InsetERT constructor to avoid
903         additional invocation of method status
904         * text2.C (toggleInset): remove redundant update() call
905         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
906         instead of a Bufferview pointer
907
908 2003-11-21  André Pönitz  <poenitz@gmx.net>
909
910         * rowpainter.C: simplification
911
912 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
913
914         * text3.C (dispatch): make possible to extend a word/row selection
915         with the mouse
916
917 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
918
919         * lyxtext.h: x0_,y0_ -> xo_,yo_
920         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
921         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
922         * rowpainter.C (paintRows): paint full paragraphs
923
924 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
925
926         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
927         screen coordinates)
928
929 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
930
931         * lyxtext.h: add x0_, y0_
932         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
933         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
934
935 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
936
937         * text2.C (setCursorIntern): move the x_target update here *
938         * text3.C: change some bv() to true/false in calls to
939         cursorUp/Down/Right/Left
940         * cursor.C: use helper function.
941
942 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
943
944         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
945         * paragraph_funcs.[Ch]: correct comment
946         * rowpainter.C: do not paint selections away from bv->cursor()
947         Fix a long standing selection painting bug.
948         * text3.C: generalize mouse-selection code to LyXTexts other that
949         top one
950         * textcursor.C: do not use y coords if we can use par offsets
951
952 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
953
954         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
955         cursor position after e.g. inset insert)
956
957 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
958
959         * lyxfind.C (replace): adjust to locking removal + some
960         code simplification
961
962 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
963
964         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
965         of the path
966
967 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
968
969         * lyxlayout.[Ch]:
970         * output_docbook.C: XML sanitation: new layout
971         parameters InnerTag and CommandDepth
972
973 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
974
975         * BufferView_pimpl.C:
976         * factory.C:
977         * text3.C: Fix the insertion and modification of button-style
978         insets
979
980 2003-11-13  André Pönitz  <poenitz@gmx.net>
981
982         * InsetList.[Ch]: remove deleteLyXText
983
984         * paragraph.[Ch]: cache beginOfBody position
985
986         * Bidi.C:
987         * text.C:
988         * text2.C:
989         * text3.C: remove superfluous update() calls
990
991         * vspace.C: cleanup
992
993 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
994
995         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
996         * BufferView.C (fitLockedInsetCursor): remove
997         * cursor.[Ch] (getDim): add
998         * text.C (getRowNearY): add faster version
999         * text3.C: remove some update calls
1000
1001 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
1002
1003         * LaTeXFeatures.C:
1004         * LyXAction.C:
1005         * MenuBackend.C:
1006         * MenuBackend.h:
1007         * dispatchresult.h:
1008         * factory.C:
1009         * lfuns.h:
1010         * lyxfunc.C:
1011         * lyxtextclass.C:
1012         * lyxtextclass.h:
1013         * text3.C: The Character Style /XML short element patch.
1014
1015 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
1016
1017         * text3.C:
1018         * factory.C: Small step to solving 'unable to insert some insets'
1019         problem
1020
1021 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1022
1023         * cursor.[Ch] (updatePos): new function for updating the y
1024         position of the tip inset
1025         * bufferview_funcs.C (put_selection_at):
1026         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1027
1028 2003-11-11  André Pönitz  <poenitz@gmx.net>
1029
1030         * text.C: remove big comment on invalid Paragraph pointers as it is
1031         not valid anymore
1032
1033 2003-11-11  André Pönitz  <poenitz@gmx.net>
1034
1035         * text_funcs.[Ch]: merge with ...
1036
1037         * text.C: ... this
1038
1039         * lyxtext.h:
1040         * text2.C:
1041         * text3.C: adjust
1042
1043         * Makefile.am: remove text_funcs.[Ch]
1044
1045 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
1046
1047         * cursor.C (getPos): return absolute cached y coord
1048
1049         * BufferView_pimpl.C (fitCursor): new simplistic code
1050         (workAreaDispatch): add a fitCursor call
1051
1052 2003-11-10  André Pönitz  <poenitz@gmx.net>
1053
1054         * BufferView.[Ch]:
1055         * BufferView_pimpl.[Ch]: merge update() and updateInset()
1056
1057 2003-11-10  André Pönitz  <poenitz@gmx.net>
1058
1059         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1060         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1061         indicate that the cursor needs to leave an inset
1062
1063         * lyxtext.h: remove inset locking
1064
1065         * cursor.[Ch]: re-implement functionality provided by inset locking
1066
1067         * BufferView.[Ch]:
1068         * BufferView_pimpl.[Ch]:
1069         * LyXAction.C:
1070         * bufferview_funcs.[Ch]:
1071         * factory.C:
1072         * funcrequest.[Ch]:
1073         * iterators.C:
1074         * lyx_cb.C:
1075         * lyxfind.C:
1076         * lyxfunc.C:
1077         * text.C:
1078         * text2.C:
1079         * text3.C:
1080         * undo.C: adjust
1081
1082 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
1083
1084         * PosIterator.[Ch]: replace the stack with a vector, add inset
1085         accesor
1086         * iterators.[C]: adjust
1087
1088 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1089
1090         * lyxfind.C (replaceAll): mark the buffer dirty if something was
1091         replaced
1092         * paragraph_funcs.C (readParToken): put the correct id in the
1093         error item, not the id of the top paragraph
1094
1095 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1096
1097         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1098         * bufferview_funcs.C (put_selection_at): use the above
1099
1100 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1101
1102         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1103
1104 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1105
1106         * output_linuxdoc.h:
1107         * output_plaintext.h:
1108         * output.h:
1109         * output_docbook.h: add #include statements
1110
1111 2003-11-05  José Matos  <jamatos@lyx.org>
1112
1113         * output_docbook.[Ch]:
1114         * output_latex.[Ch]:
1115         * output_linuxdoc.[Ch]:
1116         * output_plaintext.[Ch]: New files for output formats.
1117         * output.[Ch]: New file for helper functions.
1118
1119         * buffer.[Ch]:
1120         * paragraph_funcs.[Ch]: output functions moved to new files.
1121
1122         * outputparams.h: rename of latexrunparams.h
1123
1124         * LaTeX.[Ch]:
1125         * buffer.[Ch]:
1126         * bufferlist.[Ch]:
1127         * converter.[Ch]:
1128         * exporter.C:
1129         * paragraph.[Ch]:
1130         * paragraph_funcs.[Ch]:
1131         * paragraph_pimpl.[Ch]:
1132         * tabular.[Ch]: rename ascii to plaintext
1133         and LatexRunParams to OutputParams.
1134
1135 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1136
1137         * iterators.[Ch] (text): require bv argument
1138         * undo.C (recordUndo):
1139         * lyxfunc.C (dispatch):
1140         * bufferview_funcs.C (put_selection_at): adjust
1141
1142 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
1143
1144         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1145
1146 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1147
1148         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1149         nestings
1150
1151 2003-11-04  André Pönitz  <poenitz@gmx.net>
1152
1153         * cursor.[Ch]: restructure
1154
1155         * BufferView.[Ch]:
1156         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1157
1158         * iterators.[Ch] (asCursor): remove
1159
1160         * lfuns.h: remove LFUN_INSET_EDIT
1161
1162         * lyxfunc.C:
1163         * tabular.C:
1164         * text.C:
1165         * text2.C:
1166         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1167
1168 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1169
1170         * lyxfind.[Ch]: complete overhaul
1171         * BufferView_pimpl.C:
1172         * lyxfunc.C: adjust
1173         * paragraph.[Ch] (insert): add
1174
1175 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1176
1177         * BufferView.[Ch]:
1178         * lyxtext.h:
1179         * text.C: remove dead spellcheck code
1180
1181 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1182
1183         * dispatchresult.h: add a val setter
1184
1185         * cursor.C (dispatch): use a tempvar for data_[i]
1186
1187 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1188
1189         * PosIterator.[Ch]: compile fix
1190
1191 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1192
1193         * text.C (cursorPar): deactivate the cursor cache
1194
1195 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1196
1197         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1198
1199 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1200
1201         * text3.C (dispatch): adjust for new DisptchResult semantics.
1202
1203         * lyxfunc.C (dispatch): handle update when return from
1204         Cursor::dispatch, adjust for new DispatchResult semantics.
1205
1206         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1207         DispatchResult(true) mean to not update. Add class functions for
1208         setting dispatched and update, as well as reading.
1209
1210         * cursor.C (dispatch): don't handle update here
1211
1212 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1213
1214         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1215         * trans_mgr.C: adjust
1216
1217         * paragraph_funcs.C (readParToken): exception safety
1218
1219         * lyxvc.h: store the vcs pointer in a scoped_ptr
1220         * lyxvc.C: adjust
1221
1222         * lyxsocket.C (serverCallback): exception safety
1223
1224         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1225
1226         * ispell.C (clone): make it return a auto_ptr
1227
1228         * factory.C (createInset): exception safety
1229         (readInset): exception safety
1230
1231         * bufferlist.C (newBuffer): exception safety
1232
1233         * Thesaurus.C (Thesaurus): use initialization for aik_
1234
1235         * MenuBackend.C (expandToc): exception safety.
1236
1237 2003-11-03  André Pönitz  <poenitz@gmx.net>
1238
1239         * buffer.C:
1240         * buffer.h:
1241         * bufferview_funcs.C: remove getInsetFromId()
1242
1243         * lyxcursor.[Ch]:
1244         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1245
1246         * lyxfunc.C:
1247         * text2.C:
1248         * text3.C: adjust
1249
1250 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1251
1252         * PosIterator.C (distance, advance): new
1253         * bufferview_funcs.[Ch] (put_selection_at): new
1254         * iterators.[Ch] (lockPath): new
1255
1256 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
1257
1258         * iterators.[Ch] (asPosIterator): added
1259         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1260         * PosIterator.[Ch]: added
1261
1262 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1263
1264         * text3.C:
1265         * lyxfunc.C:
1266         * cursor.C (dispatch):
1267         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1268
1269         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1270         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1271         contructor, add a class function dispatched. Remove operator>=
1272
1273 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1274
1275         * debug.C: only use the default constructor for debugstream
1276         (lyxerr) here.
1277
1278         * main.C (main): include debug.h and setup the lyxerr streambuf
1279         here.
1280
1281 2003-10-31  José Matos  <jamatos@lyx.org>
1282
1283         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1284
1285         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1286         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1287         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1288         * paragraph_pimpl.C (simpleTeXSpecialC):
1289         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1290         add LatexRunParams argument.
1291
1292         * exporter.C (Export): change call accordingly.
1293
1294         * latexrunparams.h: add new member to take care of the other backends.
1295 2003-10-30  José Matos  <jamatos@lyx.org>
1296
1297         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1298         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1299         factorise code for paragraph output.
1300         * buffer.[Ch]:
1301         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1302         move functions.
1303
1304 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1305
1306         * text3.C (dispatch):
1307         * lyxfunc.C (dispatch):
1308         * cursor.C (dispatch):
1309         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1310
1311         * dispatchresult.h: make the dispatch_result_t ctor explicit
1312
1313 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
1314
1315         * sgml.[Ch]:
1316         * buffer.C: small refactoring of docbook stuff
1317
1318 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1319
1320         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1321         meaning.
1322
1323 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1324
1325         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1326         operator dispatch_result_t, and operators for == != and >=
1327
1328         * cursor.C (dispatch): adjust for operator dispatch_result_t
1329         removal. comment out call to update
1330
1331         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1332
1333 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1334
1335         * text3.C:
1336         * text2.C:
1337         * text.C:
1338         * lyxtext.h:
1339         * lyxfunc.C:
1340         * cursor.C:
1341         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1342         (dispatch):
1343
1344         * dispatchresult.h: new file, DispatchResult broken out of
1345         insets/insetbase.h
1346
1347         * Makefile.am (lyx_SOURCES): add dispatchresult.h
1348
1349 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1350
1351         * text.C (rowBreakPoint): put a hack inside #if 0
1352
1353 2003-10-28  André Pönitz  <poenitz@gmx.net>
1354
1355         * lyxtext.h:
1356         * metricsinfo.C:
1357         * paragraph_funcs.C:
1358         * rowpainter.C:
1359         * text.C:
1360         * text2.C: general cleanup (lots of small stuff)
1361
1362 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1363
1364         * text2.C (cursorEnd): simple fix to the "end key goes to one
1365         before the end on last row" bug
1366
1367 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1368
1369         * text.C (backspace): fix the "zombie characters"
1370
1371 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1372
1373         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1374
1375 2003-10-27  André Pönitz  <poenitz@gmx.net>
1376
1377         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1378
1379         * factory.C: handle new InsetPagebreak, InsetLine
1380
1381         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1382         and move handling into new InsetPagebreak, InsetLine
1383
1384         * BufferView_pimpl.C:
1385         * LyXAction.C:
1386         * ParagraphParameters.C:
1387         * ParameterStruct.h:
1388         * lyxfunc.C:
1389         * lyxtext.h:
1390         * paragraph.C:
1391         * paragraph.h:
1392         * paragraph_funcs.C:
1393         * paragraph_pimpl.C:
1394         * rowpainter.C:
1395         * text.C:
1396         * text2.C:
1397         * text3.C: adjust
1398
1399 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1400
1401         * text.C:
1402         * lyxrow_funcs.[Ch]:
1403         * Bidi.C:
1404         * paragraph.C:
1405         * lyxtext.h:
1406         * rowpainter.C:
1407         * text2.C:
1408         * text3.C: remove lastPos uses in favour of Row::endpos
1409
1410 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1411
1412         * undo.C (performUndoOrRedo): fix two crashes by setting a
1413         cursor by hand and reordering some calls. Use bv->lockInset instead
1414         of inset->edit because the latter loses cursor information
1415
1416 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
1417
1418         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1419         by Martin
1420         (rowBreakPoint): fix width. change point to point + 1.
1421         Add a missing check.
1422
1423 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
1424
1425         * MenuBackend.C:
1426         * lyxfunc.C: fix (at least partly) the problems
1427         with the Nav menu and headers inside branch insets
1428         reported by Kayvan
1429
1430 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
1431
1432         * paragraph.C (getChar): add strong asserts
1433
1434         * lyxrow_funcs.C (lastPos): remove hideous hack
1435
1436         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1437         (fill): adjust to that (avoid an infinite loop)
1438
1439 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1440
1441         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1442
1443 2003-10-23  André Pönitz  <poenitz@gmx.net>
1444
1445         * RowList_fwd.h: change list<> to vector<> to gain speed
1446         after suggestion from Alfredo
1447
1448 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1449
1450         * lyxtext.h: move the bidi stuff from here...
1451         * text.C: and here
1452         * text2.C: and here
1453         * Bidi.[Ch]: ... to here
1454
1455 2003-10-23  André Pönitz  <poenitz@gmx.net>
1456
1457         * lyxtext.h:
1458         * text.C (isLastRow, isFirstRow): new functions
1459
1460         * paragraph.h: new width cache member
1461
1462         * rowpainter.C: replace RowList::iterator with Row & where possible
1463
1464         * lyxfunc.C: replace several view()->text with a single call
1465
1466         * toc.C: fix 'unused' warning
1467
1468 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1469
1470         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1471         when woring with stream::pos_type
1472         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1473
1474 2003-10-22  André Pönitz  <poenitz@gmx.net>
1475
1476         * lyxtext.h:
1477         * text.C: use Row & instead of RowList::iterator
1478
1479         * lyxrow.h: rename end() to endpos()
1480
1481         * rowpainter.C:
1482         * text.C:
1483         * text2.C: adjust
1484
1485 2003-10-22  Angus Leeming  <leeming@lyx.org>
1486
1487         * buffer.[Ch] (fully_loaded): new member function, returning true
1488         only when the file has been loaded fully.
1489         Used to prevent the premature generation of previews and by the
1490         citation inset to prevent computation of the natbib-style label.
1491
1492         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1493         templates are all set up.
1494
1495         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1496
1497 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
1498
1499         * text.C: fixed an "oops" in the "is a bit silly"
1500         bug fix
1501
1502 2003-10-21  André Pönitz  <poenitz@gmx.net>
1503
1504         * FuncStatus.[Ch]: small stuff, whitespace
1505
1506         * lyxfont.[Ch]: operator<<() for debug reasons
1507
1508         * lyxfunc.C:
1509         * lyxrow_funcs.C:
1510         * lyxtext.h: whitespace, spelling
1511
1512         * paragraph.C: naming of variables
1513
1514         * text.C:
1515         * text2.C: small stuff
1516
1517
1518 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
1519
1520         * text.C: (1) finish off the inset display() work;
1521         (2) fix the "is a bit silly" bug (accessing char
1522         past end of par).
1523
1524 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
1525
1526         * text.C: re-introduce display() for insets, fixing the
1527         various bugs (stretch of line above, math inset
1528         positioning, ...)
1529
1530 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1531
1532         * text.C (rightMargin): remove spurious semicolon
1533
1534         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1535         1415)
1536
1537 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
1538
1539         * text3.C: fix one crash due to wrong cursor def
1540
1541 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1542
1543         * vc-backend.C (scanMaster): make the regex static
1544
1545         * LaTeX.C (scanAuxFile): make the regexs static
1546
1547         * text3.C (doInsertInset, dispatch, dispatch):
1548         * text2.C (cursorUp, cursorDown):
1549         * text.C (selectNextWordToSpellcheck):
1550         * BufferView_pimpl.C (dispatch):
1551         * lyxfunc.C (dispatch):  localDispatch -> dispatch
1552
1553 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1554
1555         * lyxsocket.C: include <cerrno>
1556
1557 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1558
1559         * lyxfunc.C (dispatch): remove textcache stuff
1560
1561         * bufferlist.C (release): remove textcache stuff
1562         (closeAll): ditto
1563
1564         * TextCache.C: delete file
1565         * TextCache.h: delete file
1566
1567         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1568
1569         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1570         delete of the bv_->text.
1571         (resizeCurrentBuffer): remove texcache stuff
1572         (workAreaResize): ditto
1573
1574 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1575
1576         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1577         action.
1578
1579 2003-10-16  André Pönitz  <poenitz@gmx.net>
1580
1581         * lyxrow.[Ch]:
1582         * paragraph.h:
1583         * rowpainter.C:
1584         * text.C:
1585         * text2.C:
1586         * text3.C: speed up by storing y positions per paragraph plus per-row
1587         offset instead of having a 'full' y position in the row.
1588
1589 2003-10-15  André Pönitz  <poenitz@gmx.net>
1590
1591         * iterators.[Ch]:
1592         * iterators.[Ch]:
1593         * undo.[Ch]: make undo aware of inner insets
1594
1595 2003-10-14  Angus Leeming  <leeming@lyx.org>
1596
1597         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1598         static member functions LyX::ref() and LyX::cref.
1599         (lastfiles): new accessor functions for the new lastfiles_ member var.
1600         (addLyXView, views_): add a new LyXView to the list of views_.
1601         (updateInset): loop over all LyXViews to call their own updateInset
1602         member function, returning a pointer to the Buffer owning the inset.
1603
1604         * BufferView_pimpl.C (loadLyXFile):
1605         * MenuBackend.C (expandLastfiles):
1606         * bufferlist.C (MenuWrite, QuitLyX):
1607         lastfiles is no longer a global variable.
1608         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1609
1610         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1611         static function. Access through LyX::cref().emergencyCleanup().
1612
1613 2003-10-14  André Pönitz  <poenitz@gmx.net>
1614
1615         * iterators.[Ch]: new direct access to innermost LyXText and Inset
1616
1617         * undo.[Ch]: restoring part of 'undo in insets'
1618
1619         * Makefile.am:
1620         * undo_funcs.[Ch]: merge with undo.[Ch]
1621
1622         * tabular.C: small cleansing stuff
1623
1624 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
1625
1626         * paragraph_funcs.C (readParToken): report unknown insets as error
1627         boxes. Use the outer paragraph as location (also for unknown
1628         tokens).
1629
1630         * factory.C (readInset): do not abort on reading an unknown inset.
1631         Eat it and return 0.
1632
1633 2003-10-13  Angus Leeming  <leeming@lyx.org>
1634
1635         * lyx_main.C (LyX): remove call to setDisplayTranslator().
1636
1637         * lyxrc.C: displayTranslator is now a function,
1638         declared in GraphicsTypes.h.
1639
1640 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1641
1642         * format.C: new placeholder $$a to pass the socket address.
1643
1644         * bufferlist.[Ch]: new function getBufferFromTmp.
1645
1646         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1647           files in the temporary dir.
1648
1649 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1650
1651         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1652
1653         * Makefile.am: add lyxsocket.[Ch].
1654
1655         * lyx_main.C (error_handler): handle SIGPIPE.
1656
1657 2003-10-13  André Pönitz  <poenitz@gmx.net>
1658
1659         * BufferView_pimpl.C:
1660         * lyxtext.h:
1661         * text.C:
1662         * text2.C:
1663         * text3.C:
1664         * undo_funcs.[Ch]: use paroffset_type instead of
1665           ParagraphList::iterators to prevent multiple conversion
1666           (and get a more robust interface)
1667
1668 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1669
1670         * lyxfunc.C (dispatch): RESULT -> dispatch_result
1671         * lyxtext.h: ditto
1672         * text3.C (dispatch): ditto
1673
1674 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1675
1676         * LaTeX.C (handleFoundFile): move the static to smaller scope,
1677         move the onlyfile, use onlyfile instead of foundfile in a couple
1678         of places.
1679
1680         * DepTable.C (update): flush the error stream a bit more
1681
1682 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1683
1684         * lyxserver.C (callback): adjust
1685
1686         * lyxfunc.C (getStatus): add a missing brace in commented code
1687         (ensureBufferClean): reindent
1688         (dispatch): delete version taking a string
1689
1690 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1691
1692         * LaTeX.C (deplog): move found file handlig from here...
1693         (handleFoundFile): .. to new function here.
1694         (deplog): make sure to discover several files mentioned on the
1695         same log line.
1696
1697 2003-10-10  André Pönitz  <poenitz@gmx.net>
1698
1699         * lyxfunc.C:
1700         * lyxtext.h:
1701         * tabular.C:
1702         * text.C:
1703         * text2.C:
1704         * text3.C: fix some of the tabular crashes
1705
1706 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1707
1708         * MenuBackend.C (binding): put debug message into Debug::KBMAP
1709
1710         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1711
1712 2003-10-09  André Pönitz  <poenitz@gmx.net>
1713
1714         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1715
1716         * BufferView.C:
1717         * BufferView_pimpl.C:
1718         * bufferview_funcs.C:
1719         * lyx_cb.C:
1720         * lyxcursor.C:
1721         * lyxfind.C:
1722         * lyxfunc.C:
1723         * lyxtext.h:
1724         * text.C:
1725         * text2.C:
1726         * text3.C:
1727         * text_funcs.[Ch]:
1728         * textcursor.[Ch]:
1729         * undo_funcs.C: adjust
1730
1731 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1732
1733         * text2.C (incrementItemDepth): new function, use a backtracking
1734         algorithm to discover the correct item depth.
1735         (resetEnumCounterIfNeeded): new function, use a backtracking
1736         algorithm to discover if counter reset is needed.
1737         (setCounter): use them. Simplify a bit. Add different labels for
1738         different item depths for itemize.
1739
1740         * paragraph.C (Paragraph): remove initialization of enumdepth
1741         (operator=): ditto
1742
1743         * paragraph.h: get rid of enumdepth, and use itemdepth both for
1744         enumerate and itemize. Change the type of itemdepth to signed char.
1745
1746 2003-10-08  André Pönitz  <poenitz@gmx.net>
1747
1748         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1749           thing assignable.
1750         * text.C:
1751         * text2.C: adjust
1752
1753         * tabular.[Ch]: fix crash after 'row-insert'
1754
1755 2003-10-08  Angus Leeming  <leeming@lyx.org>
1756
1757         Fix doxygen warnings.
1758
1759         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1760         Remove CutAndPaste:: prefix from header file declaration.
1761
1762         * LColor.h (fill): remove LColor:: prefix from declaration.
1763
1764         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1765         use lyx::depth_type rather than Paragraph::depth_type so that
1766         header file and .C file match.
1767
1768         * converter.h (intToFormat): remove Converters:: prefix from declaration.
1769
1770         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1771         * aspell.C: \file aspell_local.C -> \file aspell.C
1772         * gettext.C: \file gettext.C -> \file src/gettext.C
1773         * gettext.h: \file gettext.h -> \file src/gettext.h
1774         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1775         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1776         * text.C: \file text.C -> \file src/text.C
1777
1778         * toc.C: move comment so that doxygen is not confused.
1779
1780 2003-10-07  Angus Leeming  <leeming@lyx.org>
1781
1782         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1783
1784 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1785
1786         * aspell.C:
1787         * aspell_local.h: add forgotten std::string's.
1788
1789 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1790
1791         * LaTeXFeatures.C:
1792         * LyXAction.C:
1793         * factory.C:
1794         * lfuns.h:
1795         * lyxfunc.C:
1796         * text3.C: The Box patch. Fancybox support, minipage, parbox
1797
1798 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1799
1800         * CutAndPaste.h:
1801         * DepTable.h:
1802         * FloatList.h:
1803         * LaTeXFeatures.h:
1804         * ParagraphParameters.h:
1805         * TextCache.h:
1806         * Thesaurus.h:
1807         * bufferlist.h:
1808         * exporter.h:
1809         * importer.h:
1810         * lastfiles.h:
1811         * lyxfind.h:
1812         * lyxfont.h:
1813         * lyxlex.h:
1814         * lyxtextclasslist.h:
1815         * messages.h:
1816         * paragraph.h:
1817         * paragraph_pimpl.C:
1818         * textcursor.h: add <string> and other small fixes to make Lars'
1819         std::string patch compile with STLport.
1820
1821 2003-10-06  Angus Leeming  <leeming@lyx.org>
1822
1823         * LColor.h: Add missing #include <string>.
1824
1825 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1826
1827         * All most all file in all subdirs: Make <string> be the prefered
1828         way of getting to std::string, add using declarations.
1829
1830 2003-10-06  André Pönitz  <poenitz@gmx.net>
1831
1832         * metricsinfo.C: initialize LyXFont before changing attribute.
1833         (fixes the 'math in \emph is upright' bug)
1834
1835 2003-10-06  André Pönitz  <poenitz@gmx.net>
1836
1837         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1838
1839 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1840
1841         * graph.C:
1842         * paragraph_pimpl.C: Small fixes to build using STLport
1843
1844 2003-10-02  André Pönitz  <poenitz@gmx.net>
1845
1846         * lyxfunc.C:
1847         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1848
1849 2003-10-01  André Pönitz  <poenitz@gmx.net>
1850
1851         * factory.C: assert early
1852
1853 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1854
1855         * lyx_main.C: remove the global debug object
1856
1857         * debug.h: adjust for new debugstream
1858
1859         * debug.C: adjust for new debugstream and keep the global debug
1860         object here.
1861
1862 2003-09-22  Angus Leeming  <leeming@lyx.org>
1863
1864         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1865         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1866         an incomplete class LyXFont.
1867
1868 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1869
1870         * factory.C: bug fix in branches
1871
1872 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1873
1874         * lyxfunc.C (processKeySym): adjust
1875         (dispatch): adjust
1876         (dispatch): change arg name from ev to func, adjust
1877         (sendDispatchMessage): ditto
1878
1879         * lyx_main.C (defaultKeyBindings): adjust keybindings
1880         (deadKeyBindings): ditto
1881
1882         * kbsequence.C (addkey): return a FuncRequest
1883
1884         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1885
1886         * kbmap.C (bind): take a FuncRequest as arg, adjust
1887         (read): adjust
1888         (lookup): adjust
1889         (defkey): change to take a FuncRequest as arg, adjust
1890         (findbinding): take a FuncRequest as arg, adjust.
1891
1892         * funcrequest.h (operator=): added
1893
1894         * funcrequest.C (FuncRequest): default kb_action changed from
1895         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1896
1897         * buffer.C (dispatch): simplify
1898         (dispatch): adjust to take a FuncRequest as arg, adjust
1899
1900         * boost.C (assertion_failed): change assertion message slightly
1901
1902         * ToolbarBackend.C (read): simplify
1903
1904         * MenuBackend.C (binding): adjust call to findbinding, add a
1905         message if no binding is found.
1906         (read): simplify
1907         (expandToc): correct by adding a empty FuncRequest
1908
1909         * LyXAction.C: include <boost/assert.hpp>
1910         (isPseudoAction): delete function
1911         (LookupFunc): change name to...
1912         (lookupFunc): this. change return type to FuncRequest.
1913         (getActionName): take kb_action as arg, simplify
1914         (funcHasFlag): add an assert, simplify.
1915
1916 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1917
1918         * toc.C (action): return a FuncRequest, simplify
1919
1920         * lyxfunc.C (processKeySym): adjust
1921         (getStatus): delete version that takes an int.
1922         (getStatus): adjust
1923         (dispatch): delete version that takes action as int
1924         (dispatch): adjust
1925         (sendDispatchMessage): simplify and adjust
1926
1927         * funcrequest.C (getArg): take unsigned int as arg
1928
1929         * ToolbarBackend.C (read): adjust
1930         (add): delete version that takes func as a string.
1931         (getIton): take a FuncRequest as arg
1932
1933         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1934         action.
1935
1936         * MenuBackend.C (MenuItem): add a new construct that only takes a
1937         Kind, simplify the constructor use for submenus.
1938         (add): adjust
1939         (expandLastfiles): adjust
1940         (expandDocuments): adjust
1941         (expandFormats): adjust
1942         (expandFloatListInsert): adjust
1943         (expandFloatInsert): adjust
1944         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1945
1946         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1947         Remove class variables lyx_pseudo_map and lyx_arg_map
1948
1949         * LyXAction.C (searchActionArg): delete function
1950         (getPseudoAction): delete function
1951         (retrieveActionArg): delete function
1952         (LookupFunc): make it return kb_action, simplify.
1953         (getActionName): simplify
1954
1955         * factory.C (createInset): fix new bug
1956
1957 2003-09-19  Angus Leeming  <leeming@lyx.org>
1958
1959         * CutAndPaste.C (pasteSelection): remove fudge used to set the
1960         masterFilename_ parameter in the include inset.
1961
1962         * factory.C (createInset): changes due to the changes to InsetInclude.
1963
1964 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1965
1966         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1967
1968 2003-09-18  Angus Leeming  <leeming@lyx.org>
1969
1970         * buffer.C:
1971         * BufferView.C: pass the buffer when calling Inset::getLabelList,
1972         Inset::fillWithBibKeys.
1973         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1974
1975 2003-09-18  Angus Leeming  <leeming@lyx.org>
1976
1977         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1978         variables.
1979         (ctor): pass and store a 'Buffer const &'
1980         (buffer): new member function.
1981
1982         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1983         '*this' to the LaTeXFeatures ctor.
1984
1985 2003-09-18  Angus Leeming  <leeming@lyx.org>
1986
1987         * LColor.h:
1988         * lyxfont.C:
1989         * lyxfont.h:
1990         * lyxtext.h:
1991         * text.C: rename EnumLColor as LColor_color.
1992
1993 2003-09-18  Angus Leeming  <leeming@lyx.org>
1994
1995         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1996         remove #include "insets/insetbase.h" from cursor.h.
1997
1998 2003-09-18  Angus Leeming  <leeming@lyx.org>
1999
2000         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2001         InsetOld_code to remove #include "inset.h".
2002
2003         * iterators.C: add #include "insets/inset.h"
2004
2005 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
2006
2007         * BufferView.C: remove more locking stuff that apparently doesn't
2008         do anything sensible.
2009
2010 2003-09-16  André Pönitz  <poenitz@gmx.net>
2011
2012         * paragraph.[Ch]:
2013         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2014           performance boost.
2015
2016 2003-09-16  Angus Leeming  <leeming@lyx.org>
2017
2018         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2019
2020         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2021         arg/return type.
2022
2023         * paragraph.h: remove #include "lyxfont.h". Forward declare
2024         LyXFont_size.
2025
2026 2003-09-16  Angus Leeming  <leeming@lyx.org>
2027
2028         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2029         of support/textutils.h.
2030         (isWord): move the contents of support/textutils.h's IsWordChar here.
2031
2032         * buffer.C:
2033         * lyxfind.C:
2034         * rowpainter.C:
2035         * text.C:
2036         * text2.C: add #include "paragraph.h".
2037
2038         * rowpainter.C:
2039         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2040
2041 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2042
2043         * main.C:
2044         * lyx_main.C:
2045         * lyx_cb.C:
2046         * buffer.C:
2047         * LaTeX.C: use namespace alias for lyx::support::os
2048
2049 2003-09-16  Angus Leeming  <leeming@lyx.org>
2050
2051         * bufferparams.C:
2052         * bufferview_funcs.C:
2053         * factory.C:
2054         * lyxfunc.C:
2055         * paragraph_pimpl.C:
2056         * rowpainter.C:
2057         * text.C: add #include "LColor.h".
2058
2059 2003-09-16  Angus Leeming  <leeming@lyx.org>
2060
2061         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2062         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2063         return LyXFont &.
2064         Store the FontBits::color variable as an int rather than as an
2065         LColor::colorso that we can move LColor.h out of the lyxfont.h header
2066         file.
2067
2068         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2069         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2070         string calls together.
2071
2072         * lyxrc.C: add #include "LColor.h".
2073
2074 2003-09-15  Angus Leeming  <leeming@lyx.org>
2075
2076         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2077         a cow_ptr.
2078
2079 2003-09-15  Angus Leeming  <leeming@lyx.org>
2080
2081         * LColor.h: add an EnumLColor wrapper for LColor::color.
2082
2083         * lyxfont.[Ch] (color, setColor, realColor):
2084         * lyxtext.h, text.C (backgroundColor):
2085         pass EnumLColor args to/from the functions, rather than LColor::color
2086         ones.
2087
2088         * lyxfont.h:
2089         * lyxtext.h: forward declare EnumLColor.
2090
2091         * lyx_main.C: add #include "LColor.h".
2092
2093 2003-09-15  Angus Leeming  <leeming@lyx.org>
2094
2095         * .cvsignore: add lyx-gtk.
2096
2097 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2098
2099         * Chktex.C
2100         * LaTeX.C
2101         * LaTeXFeatures.C
2102         * ParagraphParameters.C
2103         * Spacing.C
2104         * buffer.C
2105         * bufferparams.C
2106         * bufferview_funcs.C
2107         * chset.C
2108         * counters.C
2109         * funcrequest.C
2110         * lyxfont.C
2111         * lyxgluelength.C
2112         * lyxlength.C
2113         * paragraph.C
2114         * paragraph_funcs.C
2115         * text3.C
2116         * vc-backend.C: remove usage of STRCONV
2117
2118 2003-09-15  Angus Leeming  <leeming@lyx.org>
2119
2120         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2121         explicitly define the color passed to the painter.
2122
2123 2003-09-15  Angus Leeming  <leeming@lyx.org>
2124
2125         * bufferparams.C (BufferParams): reorder member initializers to avoid
2126         compiler warning.
2127
2128 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
2129
2130         * CutAndPaste.C (pasteSelection): remove an outdated #warning
2131         * text.C (updateRowPositions): remove an unusual nop
2132
2133 2003-09-12  André Pönitz  <poenitz@gmx.net>
2134
2135         * BufferView_pimpl.C:
2136         * Bullet.C:
2137         * layout.h:
2138         * lyxfunc.C:
2139         * lyxlayout.[Ch]:
2140         * lyxtextclass.C:
2141         * rowpainter.C:
2142         * text.C:
2143         * text2.C:
2144         * Counters.[Ch]: finish the 'automatic counters' job
2145
2146 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2147
2148         * aspell.C: include <boost/assert.cpp> (compile fix)
2149
2150 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
2151
2152         * boost.C (assertion_failed): use lyx::support::abort instead of
2153         assert.
2154
2155 2003-09-10  Angus Leeming  <leeming@lyx.org>
2156
2157         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2158         with their _fwd progeny.
2159
2160 2003-09-09  Angus Leeming  <leeming@lyx.org>
2161
2162         134 files throughtout the source tree: replace 'using namespace abc;'
2163         directives with the appropriate 'using abc::xyz;' declarations.
2164
2165 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2166
2167         * boost.C (emergencyCleanup): moved here from LAssert.c
2168         (assertion_failed): new function, called by BOOST_ASSERT
2169
2170         * several files: change Assert to BOOST_ASSERT
2171
2172 2003-09-09  Angus Leeming  <leeming@lyx.org>
2173
2174         * buffer.[Ch]: Add an Impl class and move Buffer's member
2175         variables into it. As a result move several header files out of
2176         buffer.h.
2177
2178         Add header files to lots of .C files all over the tree as a result.
2179
2180 2003-09-09  Angus Leeming  <leeming@lyx.org>
2181
2182         * buffer.[Ch]: make Buffer's member variables private. Add
2183         accessor functions.
2184
2185         Lots of changes all over the tree as a result.
2186
2187 2003-09-08  Angus Leeming  <leeming@lyx.org>
2188
2189         * graph.C: #include <config.h>.
2190
2191 2003-09-08  Angus Leeming  <leeming@lyx.org>
2192
2193         * BranchList.C:
2194         * BufferView.C:
2195         * BufferView_pimpl.C:
2196         * CutAndPaste.C:
2197         * DepTable.C:
2198         * LaTeX.C:
2199         * LaTeXFeatures.C:
2200         * LyXAction.C:
2201         * MenuBackend.C:
2202         * TextCache.C:
2203         * aspell.C:
2204         * buffer.C:
2205         * bufferlist.C:
2206         * changes.C:
2207         * chset.C:
2208         * converter.C:
2209         * counters.C:
2210         * debug.C:
2211         * graph.C:
2212         * ispell.C:
2213         * lyx_cb.C:
2214         * lyxfind.C:
2215         * lyxfunc.C:
2216         * lyxlex_pimpl.C:
2217         * lyxrc.C:
2218         * lyxrow.C:
2219         * paragraph.C:
2220         * rowpainter.C:
2221         * texrow.C:
2222         * text.C:
2223         * text2.C:
2224         * toc.C: remove redundant using directives.
2225
2226 2003-09-07  Angus Leeming  <leeming@lyx.org>
2227
2228         * LaTeXFeatures.h: remove #include "support/types.h".
2229         * ToolbarBackend.h: remove #include <algorithm>.
2230         * changes.h: remove #include <ctime>.
2231         * debug.h: remove #include <iosfwd>.
2232         * graph.h: remove #include "support/std_string.h".
2233         * lyx_main.h: remove #include <csignal>.
2234         * lyxlex_pimpl.h: remove #include <fstream>.
2235         * sgml.h: remove #include <algorithm>, <utility>.
2236         * toc.h: remove #include "support/std_ostream.h".
2237         Add #include <iosfwd>.
2238
2239 2003-09-07  Angus Leeming  <leeming@lyx.org>
2240
2241         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2242
2243         * converter.h: forward declare LatexRunParams.
2244         * encoding.h: remove #include "lyxrc.h".
2245         * lyxtext.h: remove #include "LColor.h".
2246         * lyxtextclass.h: remove #include "support/types.h".
2247         * trans.h: remove #include "tex-accent.h".
2248         * trans_mgr.h: remove #include "tex-accent.h".
2249         * insets/inset.h: remove #include "support/types.h", <vector>.
2250         * insets/insetcollapsable.h: remove #include "LColor.h".
2251         * insets/insetinclude.h: remove #include "dimension.h".
2252         * insets/insetlatexaccent.h: remove #include "dimension.h".
2253         * insets/insetoptarg.h:: remove #include "insettext.h".
2254         * insets/insettext.h: remove #include "dimension.h",
2255         <boost/shared_ptr.hpp>
2256
2257         * insets/renderers.h: add #include "dimension.h".
2258         * insets/updatableinset.h: add #include "support/types.h".
2259
2260         * many .C files: Associated changes.
2261
2262 2003-09-06  Angus Leeming  <leeming@lyx.org>
2263
2264         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2265         one, inside testInvariant.
2266
2267         * PrinterParams.C: new file.
2268         * PrinterParams.[Ch]: move the function bodies out of line.
2269
2270 2003-09-06  Angus Leeming  <leeming@lyx.org>
2271
2272         * ParagraphParameters.h: forward declare ParameterStruct rather than
2273         including its header file.
2274         (depth): moved out-of-line.
2275
2276 2003-09-06  Angus Leeming  <leeming@lyx.org>
2277
2278         * BufferView_pimpl.h:
2279         * kbmap.h:
2280         * kbsequence.h:
2281         * lyxfunc.h: forward declare LyXKeySym rather than
2282         #include "frontends/LyXKeySym.h".
2283
2284         * BufferView_pimpl.C:
2285         * kbmap.C:
2286         * kbsequence.C:
2287         * lyxfunc.C: associated changes.
2288
2289 2003-09-06  Angus Leeming  <leeming@lyx.org>
2290
2291         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2292         As a result, can remove the #include "insets/inset.h" from BufferView.h
2293
2294 2003-09-06  Angus Leeming  <leeming@lyx.org>
2295
2296         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2297         As a result, can remove the #include "insets/inset.h" from BufferView.h
2298
2299 2003-09-06  Angus Leeming  <leeming@lyx.org>
2300
2301         * buffer_funcs.C:
2302         * buffer.h:
2303         * bufferlist.C:
2304         * BufferView.C:
2305         * bufferview_funcs.C:
2306         * BufferView_pimpl.C:
2307         * CutAndPaste.C:
2308         * lyx_cb.C:
2309         * lyxfunc.C:
2310         * paragraph.h:
2311         * ParagraphParameters.C:
2312         * tabular.C:
2313         * text3.C:
2314         * toc.C:
2315         * undo_funcs.C:
2316         * frontends/controllers/ControlDocument.C:
2317         * insets/insetcaption.C: rearrange the #includes into some sort of
2318         coherent order.
2319
2320         * buffer.h: remove #includes ErrorList.h, undo.h
2321
2322 2003-09-06  Angus Leeming  <leeming@lyx.org>
2323
2324         * support/types.h: add a 'depth_type' typedef, used to store the
2325         nesting depth of a paragraph.
2326
2327         * paragraph.h:
2328         * ParameterStruct.h: use this lyx::depth_type typedef rather than
2329         defining explicitly.
2330
2331         * buffer.h:
2332         * paragraph_funcs.h:
2333         * ParagraphParameters.h:
2334         * sgml.h: use lyx::depth_type rather than Paragraph or
2335         ParameterStruct's depth_type.
2336
2337         * buffer.h
2338         * paragraph_funcs.h: no need to #include paragraph.h anymore.
2339
2340         * BufferView.C:
2341         * BufferView_pimpl.C:
2342         * CutAndPaste.C:
2343         * ParagraphParameters.C:
2344         * buffer_funcs.C:
2345         * bufferlist.C:
2346         * bufferview_funcs.C:
2347         * lyx_cb.C:
2348         * lyxfunc.C:
2349         * tabular.C:
2350         * text3.C:
2351         * toc.C:
2352         * undo_funcs.C:
2353         * frontends/LyXView.C:
2354         * frontends/controllers/ControlDocument.C:
2355         * frontends/controllers/ControlErrorList.C:
2356         * insets/insetbibitem.C:
2357         * insets/insetbranch.C:
2358         * insets/insetcaption.C:
2359         * insets/insetcollapsable.C:
2360         * insets/insetenv.C:
2361         * insets/insetert.C:
2362         * insets/insetfloat.C:
2363         * insets/insetfoot.C:
2364         * insets/insetfootlike.C:
2365         * insets/insetnewline.C:
2366         * insets/insetquotes.C:
2367         * insets/insettabular.C:
2368         * insets/insettext.C:
2369         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2370
2371         * frontends/controllers/ControlChanges.C: #include "changes.h".
2372
2373 2003-09-06  Angus Leeming  <leeming@lyx.org>
2374
2375         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2376         than #including paragraph.h.
2377
2378         * ParagraphList.h:
2379         * RowList.h: deleted. Superfluous.
2380
2381         * CutAndPaste.h:
2382         * iterators.h:
2383         * lyxcursor.h:
2384         * lyxtext.h:
2385         * text_funcs.h:
2386         * undo.h:
2387         * undo_funcs.h:
2388         * insets/inset.h:
2389         * insets/insettext.h: use ParagraphList_fwd.h rather than
2390         ParagraphList.h.
2391
2392         * paragraph.h: don't forward declare ParagraphList.
2393
2394         * buffer.h:
2395         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2396         rather than ParagraphList.h. paragraph.h is still needed for the
2397         Paragraph::depth_type parameters.
2398
2399         * textcursor.h: enable it to compile stand-alone in light of the
2400         above changes.
2401
2402         * bufferview_funcs.C:
2403         * iterators.C:
2404         * lyxfunc.C:
2405         * lyxrow_funcs.C:
2406         * paragraph.C:
2407         * rowpainter.C:
2408         * text.C:
2409         * text2.C:
2410         * text3.C:
2411         * text_funcs.C:
2412         * textcursor.C:
2413         * undo.C:
2414         * frontends/controllers/ControlParagraph.C:
2415         * frontends/controllers/ControlTabular.C:
2416         * insets/insetmarginal.C:
2417         * insets/insetminipage.C:
2418         * insets/insetnote.C:
2419         * insets/insetoptarg.C: add header files needed to compile again.
2420
2421 2003-09-06  Angus Leeming  <leeming@lyx.org>
2422
2423         * RowList_fwd.h: new file, forward-declaring Row rather than
2424         #including lyxrow.h.
2425
2426         * lyxrow_funcs.h:
2427         * lyxtext.h:
2428         * paragraph.h:
2429         * insets/insettext.h: use it instead of RowList.h
2430
2431         * bufferview_funcs.C:
2432         * lyxfunc.C:
2433         * lyxrow_funcs.C:
2434         * paragraph.C:
2435         * rowpainter.C:
2436         * text.C:
2437         * text2.C:
2438         * text3.C: #include "RowList.h".
2439
2440 2003-09-05  Angus Leeming  <leeming@lyx.org>
2441
2442         * factory.C (createInset):
2443         * vspace.C (c-tor): replace sscanf call with an istringstream.
2444         * ispell.C: re-add missing HP/UX headers.
2445         * lyxserver.C: re-add missing  os2 headers.
2446
2447 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
2448
2449         * BranchList.C:
2450         * graph.C:
2451         * ispell.C:
2452         * lastfiles.C:
2453         * lyx_cb.C:
2454         * lyxserver.C:
2455         * texrow.C:
2456         * text3.C: re-add missing system headers, needed for 2.95.2.
2457
2458 2003-09-05  Angus Leeming  <leeming@lyx.org>
2459
2460         Changes most place everywhere due to the removal of using directives
2461         from support/std_sstream.h.
2462
2463 2003-09-05  Angus Leeming  <leeming@lyx.org>
2464
2465         Replace LString.h with support/std_string.h,
2466         Lsstream.h with support/std_sstream.h,
2467         support/LIstream.h with support/std_istream.h,
2468         support/LOstream.h with support/std_ostream.h.
2469
2470         Changes resulting throughout the tree.
2471
2472 2003-09-05  Angus Leeming  <leeming@lyx.org>
2473
2474         * sgml.h: ensure that the header file can be compiled stand-alone.
2475         * *.C: strip out redundant #includes. (320 in total.)
2476
2477 2003-09-04  Angus Leeming  <leeming@lyx.org>
2478
2479         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2480         here (from getPackages).
2481
2482         * debug.[Ch]: add a new EXTERNAL tag.
2483
2484 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2485
2486         * text2.C (cursorEnd): simplify
2487         (setCursor): adjust
2488         (getColumnNearX): adjust
2489
2490         * text.C (computeBidiTables): adjust
2491         (fill): adjust
2492
2493         * rowpainter.C (paintChars): adjust
2494         (paintSelection): adjust
2495         (paintChangeBar): adjust
2496         (paintText): adjust
2497
2498         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2499         lastPos instead.
2500         (numberOfSeparators): adjust
2501
2502 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2503
2504         * LyXAction.C:
2505         * box.[Ch]:
2506         * lfuns.h:
2507         * lyxfunc.C:
2508         * text3.C: Restricts the mouse click functionality
2509         of insets like bibtex, include, toc and floatlist to the visible
2510         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2511         up the dialogs. Cursor has to be in front of the inset (i.e.
2512         start of row) for this to function.
2513
2514 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2515
2516         * bufferview_funcs.C (currentState): output row information
2517
2518 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2519
2520         * bufferview_funcs.C (currentState): output paragraph position
2521
2522 2003-09-04  Angus Leeming  <leeming@lyx.org>
2523
2524         * FloatList.h: move out #include "Floating.h".
2525         * LaTeX.h: move out #include "DepTable.h".
2526         * LyXAction.h: move out #include "funcrequest.h".
2527         * buffer.h: move out #include "author.h", "iterators.h".
2528         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2529         * lyx_main.h: move out #include "errorlist.h".
2530         * lyxfunc.h: move out #include "FuncStatus.h".
2531         * lyxtext: move out #include "lyxcursor.h".
2532         * paragraph_pimpl.h: move out #include "counters.h".
2533
2534 2003-09-03  Angus Leeming  <leeming@lyx.org>
2535
2536         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2537         preamble_snippets list, enabling us to add snippets to the preamble
2538         only if the snippet was not there already.
2539
2540 2003-09-04  Angus Leeming  <leeming@lyx.org>
2541
2542         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2543
2544 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2545
2546         * lyxfunc.C (dispatch): if fitCursor did something be sure to
2547         update
2548
2549 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2550
2551         * BranchList.C: point fix, earlier forgotten
2552
2553 2003-09-02  Angus Leeming  <leeming@lyx.org>
2554
2555         * box.C (contains): renamed from 'contained' after a fantastic
2556         amount of hot air.
2557
2558 2003-09-02  John Levon  <levon@movementarian.org>
2559
2560         * BufferView.C:
2561         * lyxcursor.h:
2562         * lyxcursor.C:
2563         * lyxfunc.C:
2564         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2565
2566 2003-09-02  John Levon  <levon@movementarian.org>
2567
2568         * text2.C: simplification of cursorEnd(), including partial
2569         fix for bug 1376
2570
2571 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2572
2573         * buffer.C (readFile): add a space
2574
2575 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
2576
2577         * BufferView_pimpl.C (update): remove bogus fitCursor() call
2578
2579 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2580
2581         * buffer.C (readFile): new function, take a filename and a
2582         ParagraphList::iterator
2583         (readFile): adjust
2584         (readFile): adjust, make it private. don't use setStream, make
2585         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2586         always contain the filename.
2587
2588         * BufferView.C (insertLyXFile): simplify and make it work for
2589         gzipped files.
2590
2591 2003-08-30  John Levon  <levon@movementarian.org>
2592
2593         * Makefile.am: fix dist (from Kayvan)
2594
2595 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2596
2597         * most files: change to use const Buffer refs
2598
2599 2003-08-27  André Pönitz  <poenitz@gmx.net>
2600
2601         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2602         on top of ownerPar().
2603
2604 2003-08-27  John Levon  <levon@movementarian.org>
2605
2606         * funcrequest.C: properly initialise POD members
2607
2608 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2609
2610         * lyxtext.h (top_y): move top_y from here
2611         * text.C:
2612         * text2.C:
2613         * text3.C:
2614         * BufferView.[Ch]:
2615         * BufferView_pimpl.[Ch]: to here
2616         * frontends/screen.C:
2617         * insets/insettabular.C:
2618         * insets/insettext.C: adjust
2619         * rowpainter.[Ch] (paintRows): remove LyXText & argument
2620
2621 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2622
2623         * BufferView.[Ch]:
2624         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2625
2626 2003-08-26  André Pönitz  <poenitz@gmx.net>
2627
2628         * paragraph_func.[Ch] (outerPar): new function
2629
2630         * paragraph.C:
2631         * paragraph_funcs.C:
2632         * paragraph_funcs.h:
2633         * paragraph_pimpl.C:
2634         * text2.C: remove Inset::par_owner
2635
2636 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
2637
2638         * lyxrow_funcs.C:
2639         * lyxtext.h:
2640         * text.C:
2641         * text2.C: eliminates the needFullRow/display() stuff
2642         altogether, putting the logic in metrics/draw in the insets.
2643
2644 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
2645
2646         * text2.C (redoParagraphInternal, redoParagraphs):
2647         * text.C (redoParagraph): add a call to updateRowPositions at the
2648         end of each 'metrics-like' call. Remove all others.
2649         (getRow): remove the 'y-computing' version.
2650         (getRowNearY): do not compute nor return the real y. Solve the
2651         'y < 0' problem and simplify.
2652
2653 2003-08-22  Angus Leeming  <leeming@lyx.org>
2654
2655         * *.[Ch]: clean-up of licence and author blurbs.
2656         Also move config.h out of a few .h files and into a few .C files.
2657
2658 2003-08-22  André Pönitz  <poenitz@gmx.net>
2659
2660         * lyxrow.[Ch]: add x_ and *fill_ members
2661
2662         * lyxtext.h:
2663         * text.C:
2664         * rowpainter.C:
2665         * text2.C: adjust/remove prepareToPrint() calls
2666
2667 2003-08-22  André Pönitz  <poenitz@gmx.net>
2668
2669         * lyxrow.[Ch]: add  end_ member
2670
2671         * lyxrow_funcs.C: use LyXRow::end_
2672
2673         * lyxtext.h (singleWidth): add LyXFont parameter
2674
2675         * rowpainter.C:
2676         * text2.C: adjust LyXText::singleWidth() calls
2677
2678         * text.C (redoParagraph): simplify row breaking logic
2679
2680
2681 2003-08-19  André Pönitz  <poenitz@gmx.net>
2682
2683         * funcrequest.C: initialize button_ member
2684
2685         * text3.C:
2686         * rowpainter.[Ch]: interface consolidation
2687
2688 2003-08-18  André Pönitz  <poenitz@gmx.net>
2689
2690         * BufferView.C:
2691         * BufferView_pimpl.C:
2692         * lyxfind.C:
2693         * paragraph_funcs.C:
2694         * rowpainter.C:
2695         * text3.C: remove LyXScreen::draw() and fitCursor calls
2696
2697         * BranchList.h: remove spurious semicolons
2698
2699         * MenuBackend.C: fix branchlist related crash
2700
2701 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
2702
2703         * BranchList.[Ch]:
2704         * InsetList.[Ch]:
2705         * LColor.[Ch]:
2706         * LyXAction.C:
2707         * Makefile.am:
2708         * MenuBackend.[Ch]:
2709         * bufferparams.[Ch]:
2710         * factory.C:
2711         * lfuns.h:
2712         * lyxfunc.C:
2713         * text3.C: implements the 'branch inset'
2714         idea. This allows the output of various versions of a document
2715         from a single source version, selectively outputing or suppressing
2716         output of parts of the text.
2717         This implementation contains a 'branch list editor' in a separate
2718         tab of the document settings dialog. Branches are user definable
2719         and have a "display colour" to distinguish them on-screen.
2720
2721         ColorHandler was somewhat cleaned up.
2722         (1) make possible a dynamically growing LColor list by allowing
2723         the graphic context cache to grow along (vector);
2724         (2) eliminate an IMHO unnecessary step in colour allocation.
2725
2726 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
2727
2728         * BufferView_pimpl.C: compile fix
2729
2730 2003-08-15  André Pönitz  <poenitz@gmx.net>
2731
2732         * rowpainter.C: remove extra metrics calls
2733
2734         * lyxtext.h: merge the two constructors into a single one,
2735           pass reference to owner's par list
2736
2737         * BufferView_pimpl.C:
2738         * text.C:
2739         * text2.C: adjust
2740
2741 2003-08-15  André Pönitz  <poenitz@gmx.net>
2742
2743         * lyxrow_funcs.[Ch]:
2744         * lyxtext.h:
2745         * paragraph.h:
2746         * paragraph_funcs.C:
2747         * rowpainter.C:
2748         * text.C:
2749         * text2.C:
2750         * text3.C:
2751         * text_funcs.C: split LyXText::rowlist_ into individual
2752         Paragraph::rows_ chunks
2753
2754         * BufferView.[Ch]:
2755         * BufferView_pimpl.[Ch]:
2756         * lyxfind.C:
2757         * lyxtext.h:
2758         * text3.C: remove toggleSelection()
2759
2760 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
2761
2762         * bufferlist.C: beautify two alerts (shorter text of buttons)
2763         * buffer.C: Remove redundant ' ' from message
2764         * tabular.h:
2765         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2766         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2767         rename VALIGN_CENTER to VALIGN_MIDDLE
2768
2769 2003-08-11  André Pönitz  <poenitz@gmx.net>
2770
2771         * lyxtext.h (getPar):
2772         * text.C: new function
2773
2774 2003-08-11  André Pönitz  <poenitz@gmx.net>
2775
2776         * Makefile.am:
2777         * tracer.[Ch]: remove unneeded files
2778
2779         * InsetList.[Ch]: remove resizeInsetsLyXText()
2780
2781         * lyxtext.h:
2782         * text.C:
2783         * text2.C:
2784         * text3.C: merge insertParagraphs() and appendParagraph()
2785         remove breakAgain(), update()
2786
2787         * BufferView_pimpl.[Ch]:
2788         * bufferview_funcs.[Ch]:
2789         * lyxfunc.C:
2790         * paragraph.[Ch]:
2791         * rowpainter.C:
2792         * tabular.C: adjust after text & InsetList changes.
2793
2794 2003-08-08  André Pönitz  <poenitz@gmx.net>
2795
2796         * text.C (insertChar, backspace): replace rowlist fiddling
2797         with rebreak of full par
2798
2799         * lyxtext.h:
2800         * text.C (breakAgainOneRow, redoHeightOfParagraph,
2801         checkParagraph, updateInset): removed
2802
2803 2003-08-07  André Pönitz  <poenitz@gmx.net>
2804
2805         * paragraph.C:
2806         * text3.C: merge some LFUN handlers, remove dead code
2807
2808 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2809
2810         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2811
2812 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
2813
2814         * text2.C (DEPM): fix part of bug 1255 and 1256
2815
2816 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2817
2818         * BufferView_pimpl.C (workAreaDispatch): change to use
2819         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2820         that are no mouse related.
2821
2822 2003-08-05  André Pönitz  <poenitz@gmx.net>
2823
2824         * BufferView.[Ch]:
2825         * BufferView_pimpl.[Ch]:
2826         * bufferview_funcs.C:
2827         * text2.C:
2828         * text3.C: rip out "deep update"
2829
2830         * textcursor.[Ch] (last_sel_cursor): remove unused member
2831
2832 2003-08-04  André Pönitz  <poenitz@gmx.net>
2833
2834         * BufferView.[Ch]:
2835         * BufferView_pimpl.[Ch]:
2836         * ParagraphParameters.C:
2837         * bufferview_funcs.C:
2838         * lyx_cb.C:
2839         * lyxfind.C:
2840         * lyxfunc.C:
2841         * text.C:
2842         * text2.C:
2843         * text3.C: replace "complicated" BufferView::update(...) calls with
2844         simpler ones.
2845
2846         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2847
2848 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2849
2850         * Makefile.am (lyx_SOURCES): add paper.h
2851
2852 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2853
2854         * Makefile.am: move things around so that both lyx-qt and
2855         lyx-xforms can be built (according to --with-frontend). Then lyx
2856         is a symbolic link to lyx-[firstfrontend]
2857
2858 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2859
2860         * Always use std::endl with lyxerr
2861
2862 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2863
2864         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2865
2866 2003-08-01  André Pönitz  <poenitz@gmx.net>
2867
2868         * BufferView.[Ch]:
2869         * BufferView_pimpl.[Ch]:
2870         * lyxfunc.C:
2871         * text3.C: merge BufferView::repaint() and BufferView::update()
2872
2873 2003-08-01  José Matos  <jamatos@lyx.org>
2874
2875         * buffer.[Ch]: file_format is no longer a buffer data element.
2876
2877 2003-08-01  André Pönitz  <poenitz@gmx.net>
2878
2879         * BufferView.C:
2880         * lyxtext.h:
2881         * text.C:
2882         * text2.C: make redoParagraph more independent of current cursor
2883
2884         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2885         * text.C:
2886         * text2.C: remove unneeded members
2887
2888 2003-07-30  André Pönitz  <poenitz@gmx.net>
2889
2890         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2891
2892         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2893           create a single function...
2894
2895         * paragraph_funcs.C (moveItem): ... here.
2896
2897         * text.C:
2898           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2899
2900 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2901
2902         * LColor.[Ch]: Add comment and greyedout logical colors.
2903
2904 2003-07-30  André Pönitz  <poenitz@gmx.net>
2905
2906         * tabular.C: don't use Assert too heavily. This crashes where it
2907           shouldn't
2908
2909 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2910
2911         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2912         is disabled (bug 1232)
2913
2914 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2915
2916         * factory.C: limited 'arg' scope
2917
2918 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2919
2920         * factory.C: fixed Note submenu issues
2921
2922 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2923
2924         * factory.C: submenu for Note/Comment/Greyedout
2925
2926 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2927
2928         * lyx_main.C (LyX):
2929         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2930
2931 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2932
2933         * LaTeXFeatures.C:
2934         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2935         greyedout. Patch provided by Jürgen Spitzmüller.
2936
2937 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2938
2939         * kbmap.C (read): fix error message when reading bind files
2940
2941 2003-07-29  Angus Leeming  <leeming@lyx.org>
2942
2943         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2944         certainly does not do what it purports to do. I am doing it, and
2945         us, a favour by killing it.
2946
2947 2003-07-28  José Matos  <jamatos@lyx.org>
2948
2949         * buffer.C (readBody, do_writeFile):
2950         * paragraph.C(readParagraph): \end_document replaces \the_end.
2951
2952 2003-07-29  André Pönitz  <poenitz@gmx.net>
2953
2954         * BufferView.[Ch]:
2955         * BufferView_pimpl.[Ch]:
2956         * lyxfunc.C:
2957         * text2.C:
2958         * text3.C:
2959         * textcursor.[Ch]: remove toggleToggle & Co
2960
2961 2003-07-28  José Matos  <jamatos@fep.up.pt>
2962
2963         * buffer.C (readParagraph):
2964         * params_func (readParToken, readParagraph):
2965         * paragraph.C (write): \layout -> \begin_layout.
2966
2967 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2968
2969         * lyxlex_pimpl.C (setFile): clean up slightly.
2970
2971         * bufferparams.h: add compressed var
2972
2973         * buffer_funcs.C (readFile): adjust for LyXLex change
2974         (newFile): ditto + simplify
2975
2976         * buffer.C (writeFile): handle writing of compressed files
2977
2978         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2979         Check if the file is compressed and set a bufferparm if so.
2980
2981         * Makefile.am (lyx_LDADD): remove explicit -lz
2982
2983 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2984
2985         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2986         makeDocBookFile): put the real LyX version in the first line of
2987         the file
2988
2989         * version.h:
2990         * version.C.in: remove lyx_docversion
2991
2992         * tabular.C (write_attribute): add a template-based version to
2993         write enums properly
2994
2995 2003-07-28  André Pönitz  <poenitz@gmx.net>
2996
2997         * lyxtext.h:
2998         * text.C:
2999         * text2.C:
3000         * text3.C: use doubles again for x-coordinates. They are needed.
3001
3002 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3003
3004         * messages.C (getLocaleDir): use lyx_localedir()
3005
3006         * lyxlex_pimpl.C (setFile): compress stuff
3007
3008         * buffer.C (writeFile): add some compression stuff
3009         (do_writeFile): new func, dont call expliti close... will this
3010         breake anything?
3011
3012         * Makefile.am (lyx_LDADD): add -lz
3013
3014 2003-07-28  José Matos  <jamatos@fep.up.pt>
3015
3016         * buffer.C: increment file format.
3017         * paragraph_funcs (readParagraph, readParToken):
3018         * paragraph.C (readParagraph): add \end_layout.
3019
3020 2003-07-27  Angus Leeming  <leeming@lyx.org>
3021
3022         * Makefile.am: remove special casing for configure-time setting of
3023         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3024
3025         * lyx_main.C (init): remove all Jean-Marc's magic setting of
3026         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3027
3028 2003-07-26  André Pönitz  <poenitz@gmx.net>
3029
3030         * paragraph_func.[Ch]:
3031         * paragraph.C (realizeFont): inline it whereever it is used
3032
3033         * rowpainter.C:
3034         * text.C:
3035         * text2.C:
3036         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3037
3038
3039 2003-07-26  André Pönitz  <poenitz@gmx.net>
3040
3041         *       lyxtext.h:
3042         * text.C:
3043         * text2.C: get rid of LyXText::need_break_row
3044
3045 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3046
3047         * toc.[Ch]: put namespace toc inside namespace lyx
3048
3049         * MenuBackend.C (expandToc2): adjust for lyx::toc
3050         (expandToc): ditto
3051
3052         * lyxfunc.C (dispatch): adjust for lyx::find
3053
3054         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3055         lyx::find instead. Reorganize a bit.
3056         (LyXReplace): rename to replace
3057         (LyXFind): rename to find
3058
3059         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3060         (dispatch): ditto
3061
3062 2003-07-26  André Pönitz  <poenitz@gmx.net>
3063
3064         * text.C (setHeightOfRow): restrict scope of temporary variable
3065
3066         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
3067           code (never has been used?)
3068
3069 2003-07-27  Asger Alstrup  <alstrup@local>
3070
3071         * text.C (fill): Optimise algorithm to exploit that we can reuse
3072         the LyXFont for many characters.
3073         (setHeightOfRow): Same thing.
3074         (rowBreakPoint): Same thing.
3075
3076 2003-07-26  Asger Alstrup  <alstrup@local>
3077
3078         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3079
3080         * text.C (singleWidth): Spurious font copying in hot-spot
3081         singleWidth avoided. Reorder tests for arabic for efficiency.
3082
3083         * text.C (fill): handle empty paragraphs better.
3084
3085 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3086
3087         * ispell.C:
3088         * encoding.h: add includes
3089
3090         * lyxrc.C: remove reading of bind files
3091
3092         * lyx_main.C (init): setup bindings and menus only if we have a
3093         gui.
3094
3095         * kbmap.C (read): new method. Do the actual reading of bind
3096         files.
3097
3098         * converter.C (dvipdfm_options):
3099         * bufferparams.C:
3100         * lyxrc.C (read):
3101         (output): adapt PAPER_* enums.
3102
3103         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3104
3105         * bufferparams.h: remove paper-related enums from there
3106
3107         * paper.h: New file. A trivial header file to hold paper-related
3108         enums. It should later expand to contain many paper-related
3109         horrors access.
3110
3111         * lyxrc.C: declare extern displayTranslator
3112
3113 2003-07-27  José Matos  <jamatos@fep.up.pt>
3114
3115         * tabular.[Ch] (linuxdoc): add support for tables and figures
3116         (linuxdoc).
3117
3118 2003-07-27  José Matos  <jamatos@fep.up.pt>
3119
3120         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3121         consistency in both functions.
3122         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3123
3124 2003-07-26  Asger Alstrup  <alstrup@local>
3125
3126         * rowpainter.C (paintRows): Change algorithm to work directly on
3127         the insets rather than asking every character in the document
3128         whether its an inset.
3129
3130 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
3131
3132         * buffer.C (openFileWrite): factorize some code
3133
3134 2003-07-26  Angus Leeming  <leeming@lyx.org>
3135
3136         * lyx_cb.C:
3137         * lyx_main.[Ch]: replace occurances of system_tempdir with
3138         os::getTmpDir().
3139
3140 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3141
3142         * rename Inset to InsetOld
3143
3144 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
3145
3146         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3147         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3148         which I think is a bit clearer. EDIT is gone, since it was
3149         premature optimisation, and broken for mathed anyway.
3150         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3151         with cursor positioning in insets as well (math insets still do not
3152         work, but that's a different story anyway.) It mysteriously
3153         crashes sometimes with undo in the first paragraph, but I'm fairly
3154         confident that this is a compiler bug.
3155
3156 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3157
3158         * paragraph.C (Paragraph): adjust for new clone return type
3159         (operator==): ditto
3160         (copyIntoMinibuffer): ditto
3161
3162 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
3163
3164         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3165         by not having a special case, and always doing a full rebreak of
3166         the document after undo.
3167
3168 2003-07-23  Angus Leeming  <leeming@lyx.org>
3169
3170         * factory.C (createInset): InsetExternal::setParams now takes a
3171         Buffer const * arg.
3172
3173 2003-07-23  Angus Leeming  <leeming@lyx.org>
3174
3175         * factory.C (createInset): changed interface to the external and
3176         graphics mailers' string2params functions.
3177
3178 2003-07-23  Angus Leeming  <leeming@lyx.org>
3179
3180         * factory.C (createInset): pass a
3181         Buffer const * parameter to InsetExternalMailer's string2params.
3182
3183 2003-07-22  John Levon  <levon@movementarian.org>
3184
3185         * Thesaurus.h: include the right aiksaurus header
3186
3187 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3188
3189         * MenuBackend.C (expand): check menu shortcuts unconditionally
3190
3191 2003-07-21  Angus Leeming  <leeming@lyx.org>
3192
3193         * factory.C (createInset): pass a
3194         buffer_path parameter to InsetGraphicsMailer's string2params.
3195
3196 2003-07-21  Angus Leeming  <leeming@lyx.org>
3197
3198         * BufferView_pimpl.C (buffer):
3199         * buffer.C (d-tor):
3200         * lyx_main.C (LyX):
3201         * lyxfunc.C (dispatch):
3202         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3203         rather than the grfx shortcut.
3204
3205 2003-07-21  André Pönitz  <poenitz@gmx.net>
3206
3207         * rowpainter.C: remove unused variables
3208
3209         * tabular_funcs.C:
3210         * tabular_funcs.h: move to tabular.C
3211         * Makefile.am: adjust
3212
3213         * tabular.[Ch]: basic optical cleaning
3214
3215         * author.h: pass references, not values
3216
3217 2003-07-18  André Pönitz  <poenitz@gmx.net>
3218
3219         * lyxtext.h:
3220         * metricsinfo.C:
3221         * metricsinfo.h:
3222         * rowpainter.C:
3223         * text.C:
3224         * text2.C:
3225         * text3.C: two-phase drawing for InsetText and InsetTabular
3226         some float -> int changes.
3227
3228 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3229
3230         * lyx_main.C: fix the fix
3231
3232 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3233
3234         * lyx_main.C: fix a crash in batch mode if no files specified
3235         * converter.C: ws
3236
3237 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
3238
3239         * format.[Ch] (papersize): moved to BufferParams
3240         * converter.[Ch] (dvips_options): moved to BufferParams
3241         (dvipdfm_options): moved to anon namespace
3242         * bufferparams.[Ch]: added above functions.
3243
3244 2003-07-17  André Pönitz  <poenitz@gmx.net>
3245
3246         * lyxtext.h:
3247         * rowpainter.C:
3248         * text2.C: don't call inset->update() anymore
3249
3250         * metricsinfo.[Ch]: add convenience constructor
3251
3252 2003-07-16  André Pönitz  <poenitz@gmx.net>
3253
3254         * lyxcursor.[Ch]:
3255         * lyxfunc.[Ch]:
3256         * text.C:
3257         * text2.C: replace the LyXCursor::irow_ member with
3258          on-demand computation of the value
3259
3260 2003-07-16  John Levon  <levon@movementarian.org>
3261
3262         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3263
3264 2003-07-15  André Pönitz  <poenitz@gmx.net>
3265
3266         * text.C:
3267         * text2.C: remove no more needed refresh_row
3268
3269 2003-07-15  André Pönitz  <poenitz@gmx.net>
3270
3271         * lyxtext.h:
3272         * rowpainter.C:
3273         * text2.C:
3274         * text3.C: refresh_status tristate -> need_update bool
3275
3276 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
3277
3278         * lyxtext.h (init): remove reinit argument (act as if always true)
3279         * text2.C: adjust to that
3280
3281 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3282
3283         * bufferview_funcs.[Ch]: introduce function replaceSelection()
3284         * text3.C: use it to delete selections in some cases
3285         (bugs 441, 673, 702, 954).
3286
3287 2003-07-14  André Pönitz  <poenitz@gmx.net>
3288
3289         * rowpainter.[Ch]: reduce interface
3290
3291 2003-07-14  André Pönitz  <poenitz@gmx.net>
3292
3293         * BufferView_pimpl.C:
3294         * text2.C: adjust after removing unused BufferView * argument
3295
3296 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
3297
3298         * text2.C (init): fix a crash fired on resize
3299
3300 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
3301
3302         * buffer.[Ch]: added new closing signal
3303         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3304         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3305         BufferView::Pimpl via the closing the signal
3306
3307 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
3308
3309         * buffer.[Ch]: take out all bv-related from buffer
3310         * BufferView.C:
3311         * BufferView_pimpl.[Ch]: connect to new signals
3312         * CutAndPaste.C: removed useless asserts
3313         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3314         * lyxvc.[Ch]:
3315         * vc-backend.[Ch]:
3316         * lyxfunc.C: moved view-related funciontality from vc here
3317         * paragraph.C: removed outdated comments
3318         * text.C: ws
3319
3320 2003-07-10  André Pönitz  <poenitz@gmx.net>
3321
3322         * BufferView_pimpl.C:
3323         * tabular.h:
3324         * tabular_funcs.C:
3325         * text.C:
3326         * text2.C: remove InsetText::InnerCache, clean up consequences
3327
3328 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
3329
3330         * ispell.C: fix two typos in error messages
3331
3332 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
3333
3334         * Extend Note inset to other forms of annotation like Comment
3335         and Greyedout. Right button click gives dialog.
3336
3337         Files modified or added (+):
3338
3339         * insetnote.[Ch]
3340         * FormNote.[Ch]      +
3341         * ControlNote.[Ch]   +
3342         * form_note.fd       +
3343         * Makefile.am in frontends/xforms, frontends/xforms/forms,
3344         frontends/controllers
3345         * xforms/Dialogs.C
3346         * factory.C
3347
3348 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3349
3350         * aspell.C: add missing namespace lyx::support
3351
3352 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
3353
3354         * BufferView.[Ch] (newFile): Add
3355         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3356         * LaTeX.[Ch] (message): added this signal and use it
3357         * buffer.[Ch] (busy, message): added these signals and use them
3358         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3359         * converter.C:
3360         * exporter.C:
3361         * format.C:
3362         * importer.C: use buffer signals instead of direct bv calling
3363         * lyx_cb.[Ch] (ShowMessage): removed
3364         * lyx_main.C:
3365         * lyxfunc.C:
3366         * paragraph_funcs.C:
3367         * text2.C: use buffer signals
3368
3369 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3370
3371         * introduce namespace lyx::graphics
3372
3373 2003-07-02  André Pönitz  <poenitz@gmx.net>
3374
3375         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3376
3377 2003-07-01  André Pönitz  <poenitz@gmx.net>
3378
3379         * text.C:
3380         * text2.C:
3381         * text3.C:
3382         * text_funcs.[Ch]:
3383         * textcursor.h:
3384         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3385           text*.C to text_func.C
3386
3387 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3388
3389         * introduce namespace lyx::support
3390
3391 2003-06-30  André Pönitz  <poenitz@gmx.net>
3392
3393         * Chktex.C:
3394         * funcrequest.C:
3395         * lyxtext.h:
3396         * text.C: re-enable --with-included-string
3397
3398 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3399
3400         * textcursor.C: add <config.h>
3401
3402         * text.C (getWord): remove const from word_location arg
3403
3404         * lyxvc.C (getLogFile): fix const type order
3405
3406         * lyxtext.h: remove const from word_location arg, add arg name
3407
3408         * lyxlayout.h: currect type on labeltype.
3409
3410         * importer.C: correct \file
3411
3412         * converter.C (intToFormat): use std:: on ret val, ws changes
3413
3414         * bufferlist.h: correct \file
3415
3416         * buffer.C (makeLinuxDocFile): fix const type order
3417         (makeDocBookFile): ditto
3418         (fillWithBibKeys): use std:: on stdlib args.
3419
3420         * CutAndPaste.C: fix authors.
3421         (availableSelections): use std:: on return vector
3422
3423 2003-06-27  André Pönitz  <poenitz@gmx.net>
3424
3425         * BufferView_pimpl.C:
3426         * bufferview_funcs.C:
3427         * lyxcursor.C:
3428         * lyxcursor.h:
3429         * lyxfunc.C:
3430         * lyxtext.h:
3431         * rowpainter.C:
3432         * text.C:
3433         * text2.C:
3434         * text3.C: remove LyXCursor::row_ member
3435
3436         * lyxtext.h:
3437         * text.C: rename fullRebreak() to partialRebreak() and implement
3438           a fullRebreak() that really bereks fully
3439
3440         * textcursor.h: new struct for cursor-related data
3441
3442 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
3443
3444         * lyx_main.C (LyX): get full path of document loaded on the
3445         command line
3446
3447 2003-06-26  André Pönitz  <poenitz@gmx.net>
3448
3449         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3450           remove unused/broken operator>,<,>=.
3451
3452         *       text.C: remove only use of broken operator<= in an Assert().
3453
3454 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3455
3456         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3457         moved errorlist_.clear to showErrorList
3458
3459 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3460
3461         * converter.C (scanLog, runLaTeX):
3462         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3463         move the bv->showErrorList call to the callers
3464         * lyxfunc.C: i.e. here...
3465         * text2.C: and here
3466         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3467         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3468         namespace, the second to...
3469         * buffer_funcs (BufferFormat, parseErrors): added
3470         * errorlist.C (ErrorList(TeXErrors const &)): removed
3471
3472 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3473
3474         * ToolbarBackend.C (getIcon): complain when icon cannot be found
3475
3476 2003-06-24  "Garst R. Reese" <reese@isn.net>
3477
3478         * debug.C: fix typo
3479
3480 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3481
3482         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3483
3484         * version.C.in: change docversion to 1.4
3485
3486 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
3487
3488         * buffer.C: fix a bug just introduced
3489
3490 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
3491
3492         * buffer.[Ch]: added the parseError signal and use it, removed
3493         sgmlError
3494         * BufferView.[Ch] (addError): moved to ...
3495         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3496         to the Buffer::parseError signal to catch (guess what) parse errors
3497         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3498
3499 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
3500
3501         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3502         ability to create a buffer and to return an existing one from
3503         the list. Moved these functions to...
3504         * buffer_funcs.[Ch]: added
3505         * BufferView.[Ch] (loadLyXFile): added
3506         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3507         job removed from bufferlist::loadLyXFile.
3508         * buffer.C (setReadOnly): make it work without view
3509         (i.e added an if (users))
3510
3511 2003-06-19  Angus Leeming  <leeming@lyx.org>
3512
3513         * lfuns.h:
3514         * LyXAction.C (init):
3515         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3516         with LFUN_DIALOG_SHOW <name> <data>.
3517
3518 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3519
3520         * CutAndPaste.C (availableSelections): small compilation fix for
3521         ancient (gcc 2.9x) compilers
3522
3523 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3524
3525         * text3.C (cursorNext): add tmp var
3526
3527         * text2.C (updateCounters): for function calling out of for clause
3528         (replaceSelectionWithString): ditto
3529         (insertStringAsParagraphs): ditto
3530         (getColumnNearX): add tmp var
3531         (setCursorFromCoordinates): add tmp var
3532         (cursorDownParagraph): add tmp var
3533         (deleteEmptyParagraphMechanism): add tmp var
3534
3535         * text.C (insertChar): add tmp var
3536
3537         * rowpainter.C (paintDepthBar): add tmp var
3538
3539         * CutAndPaste.C (availableSelections): potentially check all
3540         paragraphs in a cut to fill the shown strings.
3541
3542 2003-06-18  André Pönitz  <poenitz@gmx.net>
3543
3544         * kbmap.[Ch]: use vector<> instead of list<>
3545
3546 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
3547
3548         * text3.C (dispatch): handle arg to LFUN_PASTE, call
3549         pasteSelection with index
3550
3551         * text2.C (pasteSelection): modify, call pasteSelection with index
3552
3553         * paragraph.C (asString): reimplement version with no interval to
3554         call the one with interval.
3555
3556         * lyxtext.h: add index arg to pasteSelection
3557
3558         * MenuBackend.C (MenuItem): handle PasteRecent
3559         (Menu::read::Menutags): add md_pasterecent
3560         (read): handle it
3561         (expandPasteRecent): new function
3562         (expand): use it
3563
3564         * MenuBackend.h: add PasteRecent to MenuItem::Kind
3565
3566         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3567         the limited stack
3568         (availableSelections): new function
3569
3570 2003-06-17  Angus Leeming  <leeming@lyx.org>
3571
3572         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3573
3574 2003-06-17  Angus Leeming  <leeming@lyx.org>
3575
3576         * lfuns.h:
3577         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3578
3579         * lyxfunc.C (dispatch): invoke it.
3580
3581 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3582
3583         * iterators.C (operator++, ParPosition): reintroduce some
3584         const_cast for the benefit of older compilers.
3585
3586 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3587
3588         * text3.C (dispatch): do not modify clipboard when doing
3589         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3590         LFUN_DELETE_SKIP on a selection selection
3591
3592 2003-06-16  André Pönitz  <poenitz@gmx.net>
3593
3594         * BufferView.C:
3595         * buffer.C:
3596         * buffer.h:
3597         * paragraph.C:
3598         * tabular.[Ch]: IU of clone() and getLabelList();
3599
3600 2003-06-13  André Pönitz  <poenitz@gmx.net>
3601
3602         * tabular.h: compactification
3603
3604 2003-06-12  André Pönitz  <poenitz@gmx.net>
3605
3606         * tabular.C:
3607         * tabular.h:
3608         * tabular_funcs.h: some renaming plus whitespace
3609
3610 2003-06-12  André Pönitz  <poenitz@gmx.net>
3611
3612         * BufferView.C:
3613         * BufferView_pimpl.C:
3614         * CutAndPaste.C:
3615         * buffer.C:
3616         * iterators.[Ch]:
3617         * lyxfunc.C:
3618         * text.C:
3619         * toc.C: Return a Paragraph & for ParIterator::operator*()
3620
3621 2003-06-11  John Levon  <levon@movementarian.org>
3622
3623         * lyx_main.C:
3624         * ToolbarBackend.h:
3625         * ToolbarBackend.C: add "Toolbars" section and
3626         put the flags there
3627
3628 2003-06-10  Angus Leeming  <leeming@lyx.org>
3629
3630         * lfuns.h:
3631         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3632
3633         * lyxfunc.C (dispatch): invoke it.
3634
3635 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3636
3637         * main.C: protect <ios> with HAVE_IOS
3638         (main): protect sync_with_stdio with HAVE_IOS
3639
3640 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
3641
3642         * text2.C (cutSelection): adjust
3643         (pasteSelection): adjust
3644
3645         * messages.C: handle get of empty string
3646
3647         * main.C (main): use sync_with_stdio(false)
3648
3649         * lyxfunc.C (dispatch): adjust
3650
3651         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3652         (WriteAs): remove unneeded BufferView arg.
3653
3654         * bufferparams.h: use correct types on papersize, papersize2 and
3655         paperpackage.
3656
3657         * bufferparams.C (readToken): adjust for type
3658         (writeLaTeX): add missing cases to switch.
3659
3660         * bufferlist.C (quitWriteBuffer): adjust
3661         (close): adjust
3662
3663         * buffer.C (asciiParagraph): remove some commented code.
3664
3665         * CutAndPaste.C: remove current_view extern variable.
3666         (cutSelection): add BufferParams arg.
3667         (eraseSelection): add BufferParams arg.
3668         (pasteSelection): add Buffer const & arg
3669
3670 2003-06-07  John Levon  <levon@movementarian.org>
3671
3672         * buffer.C:
3673         * paragraph_funcs.C:
3674         * paragraph_pimpl.C:
3675         * text.C:
3676         * text2.C:
3677         * paragraph.h:
3678         * paragraph.C: allow InsetERT to freely space lines,
3679         and some consolidation of code
3680
3681 2003-06-06  José Matos  <jamatos@fep.up.pt>
3682
3683         * buffer.C (makeDocBookFile): fix bug #821
3684
3685 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
3686
3687         * BufferView_pimpl.C (dispatch): use Dialogs::visible
3688
3689 2003-06-04  Angus Leeming  <leeming@lyx.org>
3690
3691         * buffer.C: bump format to 224.
3692
3693 2003-06-05  André Pönitz  <poenitz@gmx.net>
3694
3695         * text2.C (redoParagraphs): remove two const_cast<>
3696
3697 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3698
3699         * ParagraphList.h: remove last remnants of NO_STD_LIST
3700
3701 2003-06-03  Angus Leeming  <leeming@lyx.org>
3702
3703         * factory.C (createInset): small change to the way InsetExternal's params
3704         are set.
3705
3706 2003-06-04  André Pönitz  <poenitz@gmx.net>
3707
3708         * buffer.h: use Undo directly instead of shared_ptr<Undo>
3709
3710         * paragraph_pimpl.h:
3711         * paragraph.[Ch]: some Inset -> UpdatableInset changes
3712
3713         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3714
3715         * undo_funcs.C: make some simple cases of undo work again
3716
3717 2003-06-03  John Levon  <levon@movementarian.org>
3718
3719         * ispell.C: HPUX doesn't have sys/select.h
3720         (from Albert Chin)
3721
3722 2003-06-03  John Levon  <levon@movementarian.org>
3723
3724         * CutAndPaste.C: update tabular and include inset
3725         buffer references
3726
3727         * buffer.h:
3728         * paragraph.h:
3729         * paragraph.C: remove owningBuffer(), don't pass Buffer
3730         to clone()
3731
3732         * factory.C: insetGraphicsParams changed
3733
3734 2003-06-02  John Levon  <levon@movementarian.org>
3735
3736         * LyXAction.C:
3737         * factory.C:
3738         * lfuns.h:
3739         * lyxfunc.C:
3740         * text3.C: remove insetparent
3741
3742 2003-06-02  John Levon  <levon@movementarian.org>
3743
3744         * buffer.h:
3745         * buffer.C: fix inset_iterator.end(), move out of line
3746         (bug 1149)
3747
3748 2003-06-01  John Levon  <levon@movementarian.org>
3749
3750         * text3.C: use a proper cut/paste when doing inset
3751         insert (from Jürgen Spitzmüller)
3752
3753 2003-06-01  John Levon  <levon@movementarian.org>
3754
3755         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3756
3757 2003-05-30  André Pönitz  <poenitz@gmx.net>
3758
3759         * rowpainter.C: unify second drawing phase
3760
3761 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3762
3763         * trans_mgr.C: remove one case of current_view
3764
3765         * text2.C (cursorBottom): delete NO_STD_LIST stuff
3766
3767         * paragraph_funcs.h: remove paragraph.h include
3768
3769         * paragraph.h: delete NO_STD_LIST stuff
3770
3771         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3772
3773         * buffer.h: remove paragraph.h include
3774
3775         * ParagraphList.C: delete file
3776
3777         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3778
3779         * toc.C (getTocList): adjust
3780
3781         * paragraph_pimpl.C (validate): adjust
3782
3783         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3784
3785         * paragraph.C (Paragraph): adjust
3786         (getPositionOfInset): use const_iterator, adjust
3787         (bibitem): use const_iterator, adjust
3788         (setInsetOwner): adjust
3789
3790         * iterators.C (operator++): adjust
3791
3792         * InsetList.[Ch]: Replace selfmade iterator with standard
3793         vector::iterator also introduce const_iterator. Remove getPos,
3794         getInset and setInset from InsetTable. Adjust accordingly.
3795
3796         * BufferView.C (lockInset): adjust
3797         (ChangeInsets): adjust
3798
3799         * tabular.[Ch]: delete commented same_id functions
3800
3801 2003-05-28  John Levon  <levon@movementarian.org>
3802
3803         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3804
3805 2003-05-28  André Pönitz  <poenitz@gmx.net>
3806
3807         * metricsinfo.[Ch]: remove 'fullredraw' member
3808
3809 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3810
3811         * lyxtextclass.C (operator): remove caching.
3812
3813 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3814
3815         * text3.C: adjust
3816
3817         * text2.C (cursorBottom): adjust
3818         (setCounter): use ParagraphList::find, adjust
3819
3820         * text.C (workWidth): use ParagraphList::find, adjust
3821
3822         * lyxcursor.C (LyXCursor): adjust
3823
3824         * buffer.C (inset_iterator): adjust
3825
3826         * ParagraphList.h: make iterator(value_type) private, make
3827         ParagraphList a friend of iterator.
3828
3829         * ParagraphList.C (find): new function
3830
3831         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3832
3833 2003-05-27  André Pönitz  <poenitz@gmx.net>
3834
3835         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3836
3837 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3838
3839         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3840
3841 2003-05-26  John Levon  <levon@movementarian.org>
3842
3843         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3844
3845 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3846
3847         * remove same_id from function signatures, adjust.
3848
3849 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3850
3851         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3852
3853         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3854
3855         * paragraph.C (Paragraph): get rid of same_ids parameter
3856
3857         * ParagraphList.C (insert): adjust
3858         (push_back): adjust
3859
3860 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3861
3862         * paragraph_funcs.C (breakParagraph): adjust
3863         (breakParagraphConservative): adjust
3864
3865         * buffer.C (readParagraph): adjust
3866
3867         * ParagraphList.C (insert): take a reference instead of a pointer
3868         (insert): adjust
3869
3870         * paragraph.[Ch] (id): new function
3871
3872         * bufferlist.C (newFile): adjust
3873
3874         * ParagraphList.C (ParagraphList): adjust
3875         (assign): adjust
3876         (push_back): take a reference instead of a pointer.
3877
3878         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3879
3880         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3881         instead.
3882
3883         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3884         set else use old code.
3885
3886         * ParagraphList.C: remove all NO_NEXT code and only compile this
3887         code of NO_STD_LIST is set.
3888
3889 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3890
3891         * BufferView_pimpl.C:
3892         * TextCache.C:
3893         * TextCache.h:
3894         * bufferlist.C:
3895         * errorlist.h:
3896         * format.C:
3897         * format.h:
3898         * graph.C:
3899         * lyxfunc.C:
3900         * lyxrc.C:
3901         * graphics/GraphicsConverter.C:
3902         * graphics/PreviewLoader.C: header adjustment
3903
3904 2003-05-23  Angus Leeming  <leeming@lyx.org>
3905
3906         * LaTeXFeatures.[Ch] (useBabel): new method.
3907         * bufferparams.C (writeLaTeX): use it.
3908
3909 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3910
3911         * ParagraphList.h (set): remove unused function.
3912
3913 2003-05-23  André Pönitz  <poenitz@gmx.net>
3914
3915         * BufferView.C:
3916         * BufferView_pimpl.C:
3917         * buffer.C:
3918         * buffer.h:
3919         * lyxfunc.C:
3920         * undo_funcs.C: setUndo reworked
3921
3922         * iterators.[Ch]: add access to topmost ParagraphList
3923
3924         * lyxtext.[Ch] (workWidth): add a const
3925
3926 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3927
3928         * texrow.[Ch] (increasePos): remove function
3929         * exporter.C (export): removed unused var and outdated comment
3930
3931 2003-05-23  Angus Leeming  <leeming@lyx.org>
3932
3933         * latexrunparams.h: rename fragile as moving_arg.
3934         * paragraph.C (simpleTeXOnePar): ditto.
3935         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3936
3937 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3938
3939         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3940         (createUndo): ditto
3941         (textUndoOrRedo): comment out a currently unused var.
3942
3943         * paragraph.h (NO_NEXT): enable NO_NEXT
3944
3945         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3946
3947         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3948
3949         * exporter.C (Export): adjust for removeAutoInsets removal.
3950
3951         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3952
3953         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3954
3955         * BufferView.[Ch] (removeAutoInsets): delete function
3956
3957 2003-05-22  Angus Leeming  <leeming@lyx.org>
3958
3959         * latexrunparams.h: add a free_spacing variable.
3960
3961         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3962         to pass moving_arg, as the data is stored in runparams.fragile.
3963
3964         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3965         to Inset::latexOptional or to simpleTeXOnePar.
3966
3967         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3968         free_spacing arg to Inset::latexOptional.
3969
3970         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3971         free_spacing arg.
3972
3973 2003-05-22  Angus Leeming  <leeming@lyx.org>
3974
3975         * latexrunparams.h: add fragile and use_babel variables.
3976
3977         * bufferparams.[Ch] (writeLaTeX): return use_babel.
3978         * buffer.C (makeLaTeXFile): store this returned value in
3979         runparams.use_babel, thus passing it to the inset::latex methods.
3980
3981         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3982         simpleTeXSpecialChars as it is now stored in runparams.fragile.
3983
3984         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3985         longer has a fragile arg, as it is stored in runparams.fragile.
3986
3987         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3988         moving_arg parameter as the data is stored in runparams.fragile.
3989
3990         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3991         a fragile parameter as the data is stored in runparams.fragile.
3992
3993 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3994
3995         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3996
3997 2003-05-22  Angus Leeming  <leeming@lyx.org>
3998
3999         * latexrunparams.h: add a 'bool nice' which defaults to false.
4000
4001         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4002         now encapsulated within runparams.
4003
4004         * bufferlist.C (updateIncludedTeXfiles):
4005         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4006
4007 2003-05-22  Angus Leeming  <leeming@lyx.org>
4008
4009         * latexrunparams.h: new file containing struct LatexRunParams.
4010         * Makefile.am: add new file.
4011
4012         * LaTeX.[Ch] (c-tor, run):
4013         * buffer.[Ch] (makeLaTeXFile):
4014         * bufferlist.[Ch] (updateIncludedTeXfiles):
4015         * converter.C (convert, scanLog):
4016         * converter.[Ch] (runLaTeX):
4017         * exporter.C (Export):
4018         * paragraph.[Ch] (simpleTeXOnePar):
4019         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4020         * paragraph_funcs.[Ch] (latexParagraphs):
4021         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4022         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4023         pass around a LatexRunParams parameter.
4024
4025 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4026
4027         * paragraph.[Ch]: remove unused constructor
4028
4029         * ParagraphList.C (erase): new function, taking two iterators
4030
4031 2003-05-22  André Pönitz  <poenitz@gmx.net>
4032
4033         * undo_funcs.C: remove duplicated code
4034
4035         * iterator.[Ch]: operator=
4036
4037 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4038
4039         * tabular.C (SetMultiColumn): ws changes
4040
4041         * rowpainter.C (paintFirst): get rid of a ->previous
4042
4043         * lyx_cb.C (getPossibleLabel): parlist simplification
4044
4045         * BufferView.C (ChangeInsets): simplify slightly.
4046
4047 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4048
4049         * LyXAction.C: new lfun space-insert, kill protected-space-insert
4050         * lfuns.h: new LFUN_SPACE
4051         * lyxfunc.C: protected space has a new lfun
4052         * paragraph_funcs.C: read new space insets
4053         * text3.C:
4054         * factory.C: handle new space insets
4055
4056 2003-05-22  André Pönitz  <poenitz@gmx.net>
4057
4058         * BufferView.C:
4059         * BufferView_pimpl.C:
4060         * buffer.[Ch]:
4061         * lyxfunc.C:
4062         * undo_funcs.C: return a ParIterator from getParFromID.
4063
4064         * iterators.[Ch]: add two const's
4065
4066 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4067
4068         * toc.C (getTocList): adjust
4069
4070         * iterators.[Ch]: rework for parlist
4071
4072         * buffer.C (par_iterator_begin): adjust
4073         (par_iterator_end): adjust
4074
4075         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4076
4077         * BufferView.C (removeAutoInsets): adjust
4078         (ChangeInsets): adjust
4079
4080 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
4081
4082         * text.C (top_y): fix bug 1110
4083
4084 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
4085
4086         * errorlist.[Ch]: added
4087         * buffer.C:
4088         * BufferView.[Ch]:
4089         * BufferView_pimpl.C:
4090         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4091         instead
4092
4093 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4094
4095         * Makefile.am: ensure that lyx is relinked upon changes to the
4096         various "convenience" libs.
4097
4098 2003-05-20  Angus Leeming  <leeming@lyx.org>
4099
4100         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4101         files are compiled in alphabetical order again.
4102
4103         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4104
4105 2003-05-19  Angus Leeming  <leeming@lyx.org>
4106
4107         * gettext.[Ch]: remove "char const * _(char const *)".
4108
4109 2003-05-19  André Pönitz  <poenitz@gmx.net>
4110
4111         * dimension.[Ch]: promote from mathed/dimension.[Ch]
4112
4113         * Makefile.am:
4114         * BufferView.C:
4115         * DepTable.h:
4116         * LaTeXFeatures.C:
4117         * buffer.C:
4118         * lyxfont.C:
4119         * lyxlex.h:
4120         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4121
4122 2003-05-19  André Pönitz  <poenitz@gmx.net>
4123
4124         * buffer.C:
4125         * lyxlayout.[Ch]:
4126         * lyxtextclass.[Ch]:
4127         * paragraph.C:
4128         * paragraph_funcs.[Ch]:
4129         * text2.C:
4130         * text3.C: more insetenv work
4131
4132 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
4133
4134         * ParagraphParameters.C (params2string): small bug fixed
4135
4136 2003-05-16  André Pönitz  <poenitz@gmx.net>
4137
4138         * debug.C:
4139         * bufferview_funcs.C: patch from Kornel Benko to prevent
4140           crash when _(...) is called twice in a statement
4141
4142 2003-05-16  André Pönitz  <poenitz@gmx.net>
4143
4144         * BufferView.C:
4145         * lyxfunc.C:
4146         * text.C:
4147         * text2.C:
4148         * text3.C:
4149         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4150
4151 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
4152
4153         * lyx_main.C (init): remove spurious static_cast
4154
4155 2003-05-14  André Pönitz  <poenitz@gmx.net>
4156
4157         * BufferView.C: fix format string
4158
4159 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
4160
4161         * BufferView.[Ch] (insertErrors): removed
4162         * BufferView.[Ch] (showErrorList): added
4163         * buffer.C (runChkTeX):
4164         * converter.C (scanLog): call showErrorList instead of inserterrors
4165
4166 2003-05-13  André Pönitz  <poenitz@gmx.net>
4167
4168         * BufferView_pimpl.C:
4169         * buffer.C:
4170         * bufferview_func.C:
4171         * MenuBackend.C:
4172         * lyxfunc.C:
4173         * lyxrc.C:
4174         * tex-accent.C:
4175         * text3.C:
4176         * toc.C:
4177         * tabular_funcs.h: tostr() from its own header
4178
4179         * ParagraphParameters.C:
4180         * ToolbarBackend.C:
4181         * bufferparams.C:
4182         * format.C:
4183         * lyxlex_pimpl.C:
4184         * text3.C: STRCONV()
4185
4186 2003-05-12  André Pönitz  <poenitz@gmx.net>
4187
4188         * BufferView.C:
4189         * BufferView_pimpl.C:
4190         * CutAndPaste.C:
4191         * LaTeX.C:
4192         * LaTeXFeatures.C:
4193         * ParagraphParameters.C:
4194         * buffer.C:
4195         * bufferlist.C:
4196         * bufferparams.C:
4197         * bufferview_funcs.C:
4198         * converter.C:
4199         * counters.C:
4200         * debug.C:
4201         * exporter.C:
4202         * format.C:
4203         * importer.C:
4204         * lyx_cb.C:
4205         * lyx_main.C:
4206         * lyxfont.C:
4207         * lyxfunc.C:
4208         * lyxvc.C:
4209         * paragraph.C:
4210         * paragraph_funcs.C:
4211         * tabular.C:
4212         * tabular_funcs.C:
4213         * text2.C:
4214         * text3.C:  boost::format -> bformat  all over the place
4215
4216
4217 2003-05-09  André Pönitz  <poenitz@gmx.net>
4218
4219         * LColor.[Ch]: Pimpl the #include <map> away
4220
4221 2003-05-09  John Levon  <levon@movementarian.org>
4222
4223         * bufferlist.C: never remove emergency saves
4224
4225 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4226
4227         * Makefile.am: better lib building
4228
4229 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4230
4231         * texrow.[Ch]: remove dependency on Paragraph and just store a id
4232         instead.
4233         * paragraph_pimpl.C (simpleTeXBlanks): adjust
4234         (simpleTeXSpecialChars): adjust
4235         (simpleTeXSpecialChars): adjust
4236         * paragraph.C (simpleTeXOnePar): adjust
4237         * buffer.C (makeLaTeXFile): adjust
4238
4239         * Makefile.am (BOOST_LIBS): allow boost as system lib.
4240
4241         * text2.C (changeDepth): parlist cleanup
4242         (getColumnNearX): ditto
4243
4244         * rowpainter.C (getLabelFont): parlist cleanup
4245
4246         * bufferlist.C (newFile): parlist cleanup
4247
4248         * CutAndPaste.C (eraseSelection): parlist cleanup
4249
4250         * BufferView_pimpl.C (trackChanges): parlist cleanup
4251         (dispatch): ditto
4252
4253         * BufferView.C (lockInset): parlist cleanup.
4254         (ChangeInsets): ditto
4255
4256 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4257
4258         * CutAndPaste.h: Update file header.
4259
4260         * CutAndPaste.C: Update file header.
4261         Store the parts cut out of the Document in a limited_stack.
4262         (copySelection): adjust
4263         (pasteSelection): new function, takes the index in the limited stack.
4264         (nrOfParagraphs): adjust
4265         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4266         simplify error inset insertion.
4267         (checkPastePossible): adjust
4268
4269 2003-05-06  John Levon  <levon@movementarian.org>
4270
4271         * text2.C: don't cast wrap inset to float
4272
4273 2003-05-05  André Pönitz  <poenitz@gmx.net>
4274
4275         * iterator.C:
4276         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4277
4278         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4279           few naked Paragraph *.
4280
4281 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
4282
4283         * bufferparams.C: Output warning if a document with missing
4284         TeX document class is loaded
4285         * exporter.C: Disable TeX exports if the document class is missing
4286         * lyxtextclass.C:
4287         * lyxtextclass.h:
4288         * lyxtextclasslist.C: Handle new textclass.lst format; new method
4289         isTeXClassAvailable()
4290
4291 2003-05-03  John Levon  <levon@movementarian.org>
4292
4293         * BufferView.h:
4294         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4295         explicit cursor show/hide
4296
4297         * BufferView_pimpl.h:
4298         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4299         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4300
4301         * lyxfunc.C: hide cursor before dispatching.
4302
4303         * lyx_cb.C:
4304         * lyxfind.C:
4305         * text.C:
4306         * text3.C: remove explicit cursor hides
4307
4308 2003-05-02  André Pönitz  <poenitz@gmx.net>
4309
4310         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4311
4312         * undo_funcs.C:
4313         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4314           linked lists
4315
4316         * text2.C: tiny whitespace
4317
4318 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4319
4320         * undo_funcs.C: almost only ws changes.
4321
4322         * ParagraphList.C (splice): just return if pl is empty.
4323
4324 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4325
4326         * ParagraphList.C (splice): new function.
4327
4328         * CutAndPaste.C (pasteSelection): use it
4329
4330 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4331
4332         * CutAndPaste.C (pasteSelection): remove the last next and
4333         previous from this file.
4334
4335 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4336
4337         * CutAndPaste.C (pasteSelection): more clean up, user proper
4338         ParagraphList functions for pasteing.
4339
4340         * ParagraphList.C (insert): new function, three arg insert
4341
4342 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4343
4344         * ParagraphList.C (insert): new function, three arg insert
4345
4346         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4347         not on paragraphs.
4348
4349 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4350
4351         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4352
4353 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4354
4355         * CutAndPaste.C (pasteSelection): remove some unneeded code.
4356
4357 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4358
4359         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4360         (copySelection): clean up a bit.
4361         (pasteSelection): use make_pair
4362
4363         * ParagraphList.C (ParagraphList): implement copy constructor
4364         (operator=): implement, base on copy constructor.
4365         (assign): new func
4366
4367         * paragraph.C (erase): return a bool
4368
4369         * paragraph_pimpl.C (erasePos): remove function, move contents...
4370         (erase): ... here. Return a bool.
4371         (erase): call erase instead of erasePos.
4372
4373 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
4374
4375         * ParagraphList.h: define PitPosPair
4376         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4377         ParagraphList, fix a bug on pasting multiple pars
4378         * text2.C: change interface to C&P
4379
4380 2003-04-30  André Pönitz  <poenitz@gmx.net>
4381
4382         * undo_func.C: revert part of yesterday's patch 2
4383
4384 2003-04-30  John Levon  <levon@movementarian.org>
4385
4386         * LColor.C: s/tabular/table/
4387
4388 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4389
4390         * text3.C (dispatch): do not convert iterator -> pointer
4391         * undo_funcs.C (setCursorParUndo): ditto
4392         * text_funcs.C (transposeChars): ditto
4393
4394         * text2.C (setLayout): ws changes only
4395
4396         * text.C (breakParagraph): do not convert iterator -> pointer
4397         (insertChar): ditto
4398         (acceptChange): ditto
4399         (rejectChange): ditto
4400         (changeCase): ditto
4401         (Delete): ditto
4402         (backspace): ditto
4403
4404         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4405         pointer
4406
4407 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4408
4409         * text3.C (gotoInset): YABG (yet another bad getChar)
4410
4411 2003-04-29  André Pönitz  <poenitz@gmx.net>
4412
4413         * paragraph.h: make operator= private unimplemented as long as
4414           it is unusable
4415
4416         * ParagraphList.C: whitespace
4417
4418         * paragraph.[Ch]:
4419         * paragraph_pimpl.[Ch]:
4420         * paragraph_funcs.C:
4421         * CutAndPaste.C:
4422         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
4423
4424         * text2.C:
4425           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4426
4427 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4428
4429         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4430         * paragraph.[Ch] (erase):
4431         * paragraph_pimpl.[Ch] (erase): change return type and value
4432         * text2.C (cutSelection): some rework
4433
4434 2003-04-28  John Levon  <levon@movementarian.org>
4435
4436         * bufferlist.C: changes for unsaved changes dialog
4437
4438 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4439
4440         * bufferlist.C (newFile): set language (messages_) for new
4441         documents also.
4442
4443         * buffer.C (readFile): ws changes only.
4444
4445 2003-04-28  André Pönitz  <poenitz@gmx.net>
4446
4447         * undo_funcs.C:
4448         * lyxfunc.C:
4449         * buffer.[Ch]:
4450         * BufferView_pimpl.C:
4451         * BufferView.C: getParFromID related ParagraphList::iterator changes
4452
4453 2003-04-28  André Pönitz  <poenitz@gmx.net>
4454
4455         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4456           Changes
4457
4458 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4459
4460         * messages.C: remove one more localedir class variable.
4461
4462 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4463
4464         * messages.C (getLocaleDir): singleton generation function
4465         (Pimpl): use it.
4466         (Messages): add a default constructor.
4467
4468         * main.C (main): do not setup localedir here, do not call
4469         gettext_init.
4470
4471         * gettext.C (_): use it.
4472         (gettext_init): delete funciton
4473
4474 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4475
4476         * gettext.C (getLyXMessages): new singleton generating function.
4477
4478         * buffer.C (updateDocLang): adjust
4479
4480         * Makefile.am (messages.o): add target
4481         (main.o): remove target
4482
4483 2003-04-27  John Levon  <levon@movementarian.org>
4484
4485         * bufferlist.C:
4486         * lyx_cb.C:
4487         * lyxfunc.C:
4488         * lyxvc.C: specify cancel button in Alert::prompt
4489
4490 2003-04-26  John Levon  <levon@movementarian.org>
4491
4492         * text3.C:
4493         * lyxfunc.C:
4494         * lfuns.h:
4495         * LyXAction.C: add LFUN_INSET_SETTINGS
4496
4497         * lyxfunc.C: don't enable tabular-feature when there's
4498         just any locking inset
4499
4500 2003-04-26  John Levon  <levon@movementarian.org>
4501
4502         * bufferlist.C: re-add Cancel to buffer close question
4503
4504         * lyxfunc.C: fix import UI a bit
4505
4506 2003-04-25  John Levon  <levon@movementarian.org>
4507
4508         * gettext.C: remove the broken asserts for now
4509
4510 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4511
4512         * messages.C: make case where setlocale cannot comply work better.
4513
4514         * buffer.C (updateDocLang): new function
4515         (changeLanguage): use it
4516         (readFile): use it
4517
4518         * text2.C (setCounter): use B_ a bit.
4519
4520         * lyxlayout.C (Read): be sure to trim the label strings.
4521
4522         * messages.C (Messages): fix typo in comment
4523
4524         * buffer.C (readFile): set message_ after file is loaded.
4525         (makeDocBookFile): remove double return
4526         (changeLanguage): reset message_ upon language change.
4527         (B_): new func, use this to get translated buffer strings.
4528
4529         * main.C: add myself and Jean Marc as authors.
4530
4531 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4532
4533         * messages.[hC]: pimplify Messages, and three different pimpls to be
4534         used in different circumstances.
4535
4536         * gettext.[Ch]: change for use with new message code.
4537
4538 2003-04-24 André Pönitz <poenitz@gmx.net>
4539
4540         * factory.C: support for eqref
4541
4542 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4543
4544         * messages.[Ch]: add missing char
4545
4546         * Makefile.am (lyx_SOURCES): add messages.[Ch]
4547
4548         * messages.[Ch]: New files
4549
4550 2003-04-18  John Levon  <levon@movementarian.org>
4551
4552         * BufferView.h:
4553         * BufferView.C:
4554         * BufferView_pimpl.C:
4555         * lfuns.h:
4556         * LyXAction.C:
4557         * lyxtext.h:
4558         * text2.C: remove layout-copy/paste (bug 778)
4559
4560 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4561
4562         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4563
4564 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4565
4566         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4567         if they succeed. Act accordingly.
4568
4569 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4570
4571         * text2.C (setCharFont): adjust
4572         (setCounter): adjust
4573         (insertStringAsLines): adjust
4574
4575         * text.C (leftMargin): adjust
4576         (setHeightOfRow): adjust
4577
4578         * rowpainter.C (paintFirst): adjust
4579         (paintLast): adjust
4580
4581         * paragraph_funcs.C (depthHook): ParagraphList::iterators
4582         (outerHook): ditto
4583         (isFirstInSequence): ditto
4584         (getEndLabel): ditto
4585         (outerFont): adjust
4586
4587         * paragraph.C (getParLanguage): comment out some hard stuff.
4588
4589         * buffer.C (insertStringAsLines): take a ParagraphList as arg
4590         (sgmlError): ditto
4591         (simpleDocBookOnePar): ditto
4592         (makeDocBookFile): use ParagraphList::iterator
4593
4594         * CutAndPaste.C (pasteSelection): adjust
4595
4596 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4597
4598         * text2.C (getFont): adjust
4599         (getLayoutFont): adjust
4600         (getLabelFont): adjust
4601
4602         * paragraph_funcs.C (TeXOnePar): adjust
4603
4604         * buffer.C (simpleLinuxDocOnePar): adjust
4605         (simpleDocBookOnePar): adjust
4606
4607         * CutAndPaste.C (pasteSelection): adjust
4608
4609         * BufferView.C (getEncoding): adjust
4610
4611         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4612
4613 2003-04-16  John Levon  <levon@movementarian.org>
4614
4615         * lyxfind.C: use parlist stuff for search/changes
4616
4617 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4618
4619         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4620
4621         * text2.C (deleteEmptyParagraphMechanism): adjust
4622
4623         * text2.[Ch] (ownerParagraph): delete func (both of them
4624
4625 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4626
4627         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4628
4629 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4630
4631         * ParagraphList.C: prepare for NO_NEXT
4632
4633 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4634
4635         * text2.C (getFont): adjust
4636         (getLayoutFont): adjust
4637         (getLabelFont): adjust
4638
4639         * paragraph.C (getFont): adjust
4640         (getLabelFont): adjust
4641         (getLayoutFont): adjust
4642
4643         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4644
4645 2003-04-15  John Levon  <levon@movementarian.org>
4646
4647         From Angus Leeming
4648
4649         * lyx_main.C: handle Include in .ui files
4650
4651 2003-04-15  John Levon  <levon@movementarian.org>
4652
4653         * MenuBackend.C: make the doc files length shorter
4654
4655         * ToolbarBackend.h:
4656         * ToolbarBackend.C: handle toolbar placement flags,
4657         Minibuffer
4658
4659 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4660
4661         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4662         adjust
4663
4664         * paragraph_funcs.C (TeXOnePar): adjust
4665
4666         * paragraph.C (getLabelFont): add outerfont arg, adjust
4667         (getLayoutFont): ditto
4668         (simpleTeXOnePar): adjust
4669
4670         * paragraph_pimpl.C (realizeFont): delete func
4671
4672 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
4673
4674         * text2.C (beforeFullRowInset): added a bad getchar check, removed
4675         row argument, constify cur argument.
4676
4677 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4678
4679         * text2.C (getFont): adjust
4680         (getLayoutFont): adjust
4681         (getLabelFont): adjust
4682
4683         * paragraph_funcs.C (TeXOnePar): adjust
4684         (outerFont): new func...
4685         (realizeFont): ...moved out from here, changed this to facilitate
4686         transition
4687
4688         * paragraph.C (getFont): take outerfont as arg, adjust
4689         (simpleTeXOnePar): add outerfont arg, adjust
4690
4691         * buffer.C (simpleLinuxDocOnePar): adjust
4692         (simpleDocBookOnePar): adjust
4693
4694         * CutAndPaste.C (pasteSelection): adjust
4695
4696         * BufferView.C (getEncoding): adjust
4697
4698 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4699
4700         * text2.C (setCharFont): adjust
4701         (setCounter): adjust
4702
4703         * text.C (leftMargin): adjust
4704         (setHeightOfRow): adjust
4705
4706         * rowpainter.C (paintFirst): adjust
4707         (paintLast): adjust
4708
4709         * paragraph_pimpl.C (realizeFont): adjust
4710
4711         * paragraph.C (isFirstInSequence): move from here...
4712         * paragraph_funcs.C (isFirstInSequence): ...to here
4713
4714         * paragraph.C (outerHook): move from here...
4715         * paragraph_funcs.C (outerHook): ...to here
4716
4717         * paragraph.C (depthHook): move from here...
4718         * paragraph_funcs.C (depthHook): ...to here
4719
4720         * paragraph.C (getEndLabel): move from here...
4721         * paragraph_funcs.C (getEndLabel): ...to here
4722
4723         * text2.C (realizeFont): move from here...
4724         * paragraph_funcs.C (realizeFont): ...to here
4725
4726 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4727
4728         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4729
4730 2003-04-14  Angus Leeming  <leeming@lyx.org>
4731
4732         * LColor.[Ch]: scrap LColor mathcursor.
4733
4734 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4735
4736         * lyxlex.[Ch] (text): delete function
4737         * trans.C (Load): adjust
4738         * paragraph_funcs.C (readParToken): adjust
4739
4740 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4741
4742         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4743         vector<char> instead of a char[].
4744
4745         * lyxlex_pimpl.C (getString): adjust
4746         (next): adjust
4747         (lex): use getString
4748         (eatLine): adjust
4749         (nextToken): adjust
4750
4751         * lyxlex.C (text): use pimpl_->getString()
4752         (getBool): ditto
4753         (findToken): ditto
4754
4755 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4756
4757         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4758         (makeFontEntriesLayoutSpecific): temp var for par.size()
4759         (setLayout): temp var for ownerParagraphs().end()
4760         (fullRebreak): temp var for rows().end()
4761         (selectionAsString): temp var for boost::next(startpit), realize
4762         that the while really is a regular for loop.
4763         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4764         setCursor in one place.
4765         (setParagraph): temp vr for ownerParagraphs().end()
4766         (updateCounters): make the while loop a for loop
4767         (cutSelection): temp var for ownerParagraphs().end()
4768         (updateInset): make the do {} while() a regular for loop
4769         (getCursorX): use temp vars
4770         (setCurrentFont): use temp vars
4771         (getColumnNearX): use temp vars
4772
4773 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4774
4775         * text.C (transformChar): use temp var for getChar
4776         (computeBidiTables): use temp var for row->par()
4777         (fill): move temp vars for row->par() and pit->layout() earlier in
4778         the function.
4779         (labelFill): use temp var for row->par()
4780         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4781         asc and desc, realize that pit never changes and that firstpit is
4782         just a duplicate and not needed. Exchange rit->par() with pit in a
4783         lot of places.
4784         (breakAgain): use a temp var for boost::next(rit)
4785         (breakAgainOneRow): ditto
4786         (breakParagraph): use a temp var for rows().begin()
4787         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4788         (cursorRightOneWord): use temp var for cursor.par() and
4789         cursor.pos(), remove usage of tmpcursor.
4790         (cursorLeftOneWord): use temp var for cursor.par() and
4791         cursor.pos() only set cur at end of function.
4792
4793 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4794
4795         * text.C, text2.C: exchange all usage of Paragraph::next with
4796         boost::next(ParagraphList::iterator)
4797
4798         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4799
4800         * text2.C (cursorTop): simplify implementation
4801         (cursorBottom): ditto
4802         (setParagraph): use ParagraphList::iterator
4803         (setCurrentFont): adjust
4804         (getColumnNearX): adjust
4805         (cursorRight): adjust
4806         (cursorLeft): remove usage of Paragraph::previous
4807         (cursorUpParagraph): ditto
4808         (deleteEmptyParagraphMechanism): slight cleanup
4809
4810         * text.C (isBoundary): take a Paragraph const & instead of a
4811         pointer as arg.
4812         (addressBreakPoint): ditto
4813         (leftMargin): remove usage of Paragraph::previous.
4814         (setHeightOfRow): ditto
4815         (cursorLeftOneWord): ditto
4816         (selectNextWordToSpellcheck): ditto
4817         (Delete): ditto
4818         (backspace): ditto
4819         (breakParagraph): remove one usage of Paragraph::next
4820         (redoParagraph): ditto
4821         (acceptChange): ditto
4822         (insertChar): adjust
4823         (rowBreakPoint): adjust
4824
4825         * bufferview_funcs.C (toggleAndShow): adjust
4826
4827 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4828
4829         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4830         methods to access it.
4831         * lyxtext.h:
4832         * text.C: Added updateRowPositions to compute all row positions.
4833         Make top_y and getRowNearY() to use the cached y position
4834
4835 2003-04-11  John Levon  <levon@movementarian.org>
4836
4837         * text.C (rowBreakPoint): reintroduce the labelEnd
4838         checks, code copied from the row fill stuff. Deep voodoo.
4839
4840         * text.C (fill): add a comment and debugging for the
4841         next poor soul.
4842
4843 2003-04-11  John Levon  <levon@movementarian.org>
4844
4845         * text.C: make sure fullrow insets get wrapped to the next line,
4846         even when they're in a manual label
4847
4848 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4849
4850         * text2.C (insertParagraph): make it take ParagraphList::iterator
4851         as arg.
4852         (setLayout): make it return ParagraphList::iterator
4853         (redoParagraphs): ditto
4854         (setCounter): ditto
4855         (checkParagraph): ditto
4856
4857         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4858
4859         * text2.C: adjust several funcs.
4860         (realizeFont): take a ParagraphList::iterator as arg.
4861         (getLayoutFont): ditto
4862         (getLabelFont): ditto
4863         (setCharFont): ditto
4864
4865         * text.C: adjust several funcs.
4866
4867 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4868
4869         * text.C (selectNextWordToSpellcheck): don't accidentally
4870         skip insets
4871
4872 2003-04-10  John Levon  <levon@movementarian.org>
4873
4874         * ToolbarBackend.C (getIcon): special handling for
4875         LFUN_MATH_DELIM
4876
4877 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4878
4879         * text2.C (cursorRight): a getChar assert fixed
4880
4881 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4882
4883         * text2.C (getFont): change to take a ParagraphList::iterator
4884         instead of Paragraph*
4885         Adjust several functions.
4886
4887         * text.C (transformChar): change to take a ParagraphList::iterator
4888         instead of Paragraph*
4889         (singleWidth): ditto
4890         Adjust several functions.
4891
4892         * rowpainter.C: adjust several functions
4893         * rowpainter.h:store a ParagraphList::iterator and not a
4894         Paragraph&.
4895
4896
4897 2003-04-09  John Levon  <levon@movementarian.org>
4898
4899         * lyxfunc.C:
4900         * lfuns.h:
4901         * LyXAction.h:
4902         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4903         and the "help" bits as well
4904
4905 2003-04-09  John Levon  <levon@movementarian.org>
4906
4907         * ToolbarBackend.h:
4908         * ToolbarBackend.C: allow multiple toolbars
4909
4910 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4911
4912         * undo_funcs.C (setCursorParUndo): adjust
4913
4914         * text_funcs.C (transposeChars): adjust
4915
4916         * text3.C (gotoNextInset): adjust
4917         (dispatch): adjust
4918
4919         * text2.C (setLayout): adjust
4920         (changeDepth): adjust
4921         (setFont): adjust
4922         (redoParagraphs): adjust
4923         (selectionAsString): adjust
4924         (setParagraph): adjust
4925         (insertInset): adjust
4926         (cutSelection): adjust
4927         (copySelection): adjust
4928         (pasteSelection): adjust
4929         (insertStringAsLines): adjust
4930         (updateInset): adjust
4931         (setCursor): change to take a ParagraphList::iterator parameter
4932         (setCursorIntern): change to take a ParagraphList::iterator parameter
4933         (setCurrentFont): adjust
4934         (cursorLeft): adjust
4935         (cursorRight): adjust
4936         (deleteEmptyParagraphMechanism): adjust
4937
4938         * text.C (breakParagraph): adjust
4939         (insertChar): adjust
4940         (acceptChange): adjust
4941         (rejectChange): adjust
4942         (selectNextWordToSpellcheck): adjust
4943         (changeCase): adjust
4944         (Delete): adjust
4945         (backspace): adjust
4946
4947         * lyxfind.C (SearchForward): adjust
4948         (SearchBackward): adjust
4949         (nextChange): adjust
4950
4951         * lyxcursor.C (par): adjust
4952
4953         * lyxcursor.h: store a ParagraphList::iterator instead of a
4954         Paragraph*
4955
4956         * lyx_cb.C (getPossibleLabel): adjust
4957
4958         * bufferview_funcs.C (toggleAndShow): adjust
4959
4960         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4961         (dispatch): adjust
4962
4963         * BufferView.C (removeAutoInsets): adjust
4964         (lockedInsetStoreUndo): adjust
4965
4966 2003-04-09  John Levon  <levon@movementarian.org>
4967
4968         * ToolbarBackend.C: try icon without argument
4969         if with argument fails
4970
4971 2003-04-08  John Levon  <levon@movementarian.org>
4972
4973         * ToolbarBackend.h:
4974         * ToolbarBackend.C: add getIcon(), handle tooltip,
4975         and change from "Icon" to "Item".
4976
4977 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4978
4979         * BufferView.C (lockInset): another bad getchar crunched
4980
4981 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4982
4983         * text2.C (changeDepth): do not setUndo on test_only (make undo work
4984         again)
4985
4986 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
4987
4988         * lyxfind.C (searchForward, searchBackwards): bug 782
4989
4990 2003-04-07  John Levon  <levon@movementarian.org>
4991
4992         * paragraph.C: remove dead comment
4993
4994         * text.C: remove troublesome depth-fiddling code
4995         in leftMargin() and rightMargin() (bug 1017)
4996
4997         * text.C: fix breaking of rows in nested lists
4998         (bug 1004)
4999
5000         * text2.C (updateCounters): fix up depth values
5001         (bug 1013)
5002
5003 2003-04-07  John Levon  <levon@movementarian.org>
5004
5005         * BufferView_pimpl.C: clear message when doc finishes resizing,
5006         and after a mouse event
5007
5008         * lyxfunc.C: clear message after exiting inset
5009
5010 2003-04-07  John Levon  <levon@movementarian.org>
5011
5012         * bufferview_funcs.C: show math status not outside
5013         status in the statusbar
5014
5015 2003-04-07  John Levon  <levon@movementarian.org>
5016
5017         * lyxfunc.C: note status changed after a depth change
5018
5019 2003-04-04  Angus Leeming  <leeming@lyx.org>
5020
5021         * LaTeX.h: move AuxInfo operator==, != out of line.
5022         Remove LaTeX virtual destructor; nothing derives from it.
5023         Move operator()() out of public area and rename it startscript().
5024         Change protected for private.
5025
5026 2003-04-04  Angus Leeming  <leeming@lyx.org>
5027
5028         * lyxfunc.C:
5029         * text2.C: remove unneeded #includes.
5030
5031 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5032
5033         * text2.C (dEPM): fix the heigth of the next row
5034
5035 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5036
5037         * text.C: squashed an invalid getChar requester + some ws changes
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: make getStatus work for the env depth lfuns
5046
5047 2003-04-03  John Levon  <levon@movementarian.org>
5048
5049         * bufferview_funcs.h:
5050         * bufferview_funcs.C:
5051         * lyxfunc.C:
5052         * lyxtext.h:
5053         * text2.C: parlistize decDepth(), by merging it with incDepth()
5054
5055 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5056
5057         * lyxrow.h: store a ParagraphList::iterator instead of a
5058         Paragraph* and adjust other class functions to suit.
5059
5060         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5061         above.
5062
5063 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5064
5065         * text2.C (setCursor): do not anchor to cursor row for the time being
5066
5067 2003-04-02  John Levon  <levon@movementarian.org>
5068
5069         * LyXAction.C:
5070         * lfuns.h:
5071         * lyx_main.C:
5072         * lyxtext.h:
5073         * text.C:
5074         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5075
5076 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5077
5078         * paragraph.h: make ParagraphList and ParagraphList::iterator
5079         friends of Paragraph.
5080
5081         * buffer.C (makeLinuxDocFile): move towards ParagraphList
5082
5083         * ParagraphList.C: Use the private next_ and previous_ from
5084         Paragraph.
5085
5086 2003-04-01  John Levon  <levon@movementarian.org>
5087
5088         * ToolbarBackend.h:
5089         * ToolbarBackend.C:
5090         * Makefile.am: rename, remove defaults gunk
5091
5092         * MenuBackend.h:
5093         * MenuBackend.C: remove defaults gunk
5094
5095         * Languages.h:
5096         * Languages.C: remove defaults gunk
5097
5098         * lyx_main.h:
5099         * lyx_main.C: error out if files couldn't be found.
5100
5101 2003-04-02  John Levon  <levon@movementarian.org>
5102
5103         * text2.C: make incDepth() use parlist
5104
5105 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5106
5107         * undo_funcs.C (firstUndoParagraph): adjust
5108
5109         * text3.C (gotoInset): adjust
5110         (dispatch): adjust, and rewrite loop.
5111
5112         * text2.C (init): adjust, and rewrite loop.
5113         (redoParagraphs): adjust
5114         (updateInset): adjust, and rewrite loop.
5115         (deleteEmptyParagraphMechanism): adjust
5116
5117         * tabular.C (LyXTabular): adjust
5118         (SetMultiColumn): adjust
5119         (TeXRow): adjust
5120
5121         * lyxtext.[Ch] (ownerParagraph): delete function
5122         (ownerParagraphs): new function returns a ParagraphList.
5123
5124         * BufferView.C (removeAutoInsets): adjust
5125         (insertErrors): adjust
5126         (setCursorFromRow): adjust
5127
5128 2003-04-01  Angus Leeming  <leeming@lyx.org>
5129
5130         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5131         in the frontends.
5132
5133 2003-04-02  John Levon  <levon@movementarian.org>
5134
5135         * lyxtext.h:
5136         * text.C:
5137         * Makefile.am:
5138         * text_funcs.h:
5139         * text_funcs.C: make transposeChars a free function
5140
5141         * lyxrow_funcs.C: remove wrong comment
5142
5143 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5144
5145         * lyxtext.h: adjust
5146         * rowpainter.C: adjust
5147         * text.C: adjust
5148         * text2.C: adjust
5149         * text3.C: adjust
5150
5151         * lyxrow_funcs. [Ch]: new files
5152
5153         * lyxrow.[Ch]: remove next and previous pointers
5154         (next,previous): remove accessor functions
5155         (isParEnd): move to lyxrow_funcs
5156         (lastPos): move to lyxrow_funcs
5157         (nextRowIsAllInset): move to lyxrow_funcs
5158         (lastPrintablePos): move to lyxrow_funcs
5159         (numberOfSeparators): move to lyxrow_funcs
5160         (numberOfHfills): move to lyxrow_funcs
5161         (numberOfLabelHfills): move to lyxrow_funcs
5162         (hfillExpansion): move to lyxrow_funcs
5163
5164         * lyxfunc.C: adjust
5165
5166         * bufferview_funcs.C (toggleAndShow): adjust
5167
5168         * RowList.h: Remove class RowList from file leave just a
5169         std::list<Row>.
5170
5171         * RowList.C: delete file
5172
5173         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5174         and lyxrow_funcs.h
5175
5176 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5177
5178         * text3.C (cursorPrevious): adjust
5179         (cursorNext): adjust
5180         (dispatch): adjust
5181
5182         * text2.C (redoHeightOfParagraph): adjust
5183         (redoDrawingOfParagraph): adjust
5184         (setCursor): adjust
5185
5186         * text.C (breakParagraph): adjust
5187         (insertChar): adjust
5188         (backspace): adjust
5189
5190         * rowpainter.C (RowPainter): adjust
5191         (leftMargin): simplify and adjust
5192         (most rowpainter functions): adjust.
5193
5194         * rowpainter.h: store the row as RowList::iterator not as Row*
5195
5196         * lyxcursor.C (row): taka RowList::iterator as arg
5197         (irow): ditto
5198
5199         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5200         of Row*.
5201
5202 2003-04-01  Angus Leeming  <leeming@lyx.org>
5203
5204         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5205         stuff like bool Bool.
5206
5207 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5208
5209         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5210         rewrite a loop
5211
5212 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5213
5214         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5215         RowList::iterator.
5216
5217         * lyxtext.h (rows): drop one version and leve a const variant that
5218         returns a RowList::iterator.
5219
5220 2003-03-31  Angus Leeming  <leeming@lyx.org>
5221
5222         * text.C (fill): ensure that the signature is the same as that in the
5223         header file.
5224
5225 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
5226
5227         * text2.C (redoParagraphs): adjust
5228         (updateCounters): adjust
5229         (checkParagraph): adjust
5230         (getColumnNearX): adjust and reformat a bit.
5231
5232         * text.C (top_y): adjust
5233         (workWidth): adjust
5234         (leftMargin): adjust
5235         (prepareToPrint): adjust
5236         (getRow): adjust
5237         (getRowNearY): adjust
5238
5239         * lyxtext.h: make rowlist_ mutable.
5240
5241         * RowList.h: add const_iterator
5242         * RowList.C: adjust for RowList::const_iterator.
5243
5244         * text2.C (getCursorX): make it take a RowList::iterator as arg,
5245         adjust.
5246
5247 2003-03-31  John Levon  <levon@movementarian.org>
5248
5249         * lyxrc.h:
5250         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5251
5252         * lyx_main.C: set default fonts from using lyx_gui funcs
5253
5254         * exporter.C: pdf_mode moved from lyxrc
5255
5256         * lyx_cb.C:
5257         * lyxfunc.C: changes from above
5258
5259 2003-03-31  John Levon  <levon@movementarian.org>
5260
5261         * lyx_main.C: fix to the last fix
5262
5263 2003-03-31  John Levon  <levon@movementarian.org>
5264
5265         * bufferlist.C: "Load original" -> "Load Original"
5266
5267         * converter.C:
5268         * exporter.C:
5269         * importer.C:
5270         * lyx_main.C:
5271         * format.C: more Alert cleanups
5272
5273 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5274
5275         * text2.C (removeParagraph): make it take a RowList::iterator as
5276         arg, adjust.
5277         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5278         (postRowPaint): make it take a RowList::iterator as arg, adjust.
5279
5280         * text.C (anchor_row): make it take a RowList::iterator as arg,
5281         adjust.
5282         (computeBidiTables): make it take a const reference to Row instead
5283         of Row pointer, adjust.
5284         (leftMargin): make it take a RowList::iterator as arg, adjust.
5285         (rowBreakPoint): adjust
5286         (breakAgainOneRow): make it take a RowList::iterator as arg,
5287         adjust.
5288         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5289
5290         * bufferview_funcs.C (toggleAndShow): adjust
5291
5292 2003-03-30  John Levon  <levon@movementarian.org>
5293
5294         * Makefile.am:
5295         * BoostFormat.h:
5296         * boost-inst.C: moved to support
5297
5298         * several files: changes as a result
5299
5300 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5301
5302         * text2.C (LyXText): adjust.
5303         (init): adjust
5304         (removeRow): make it take a RowList::iterator as arg, adjust.
5305         (fullRebreak): adjust
5306         (deleteEmptyParagraphMechanism): adjust
5307         (clearPaint): adjust
5308         (postPaint): adjust
5309
5310         * text.C (top_y): adjust
5311         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5312         (breakAgain): make it take a RowList::iterator as arg, adjust.
5313         (breakParagraph): adjust
5314         (insertChar): adjust
5315         (backspace): adjust
5316
5317         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5318         need_break_row, and refresh_row.
5319
5320         * text3.C (dispatch): adjust
5321
5322         * text2.C (checkParagraph): adjust
5323         (setCursor): adjust
5324         (setCursorFromCoordinates): adjust
5325
5326         * text.C (top_y): adjust
5327         (workWidth): adjust
5328         (getRow): make it return a RowList::iterator, adjust
5329         (getRowNearY): make it return a RowList::iterator, adjust
5330
5331         * text2.C (init): adjust
5332         (insertRow): remove function
5333         (insertParagraph): adjust
5334         (redoParagraphs): adjust
5335         (fullRebreak): adjust
5336         (updateCounters): adjust
5337
5338         * text.C (top_y): rewrite to use RowList iterators.
5339         (top_y): adjust
5340         (setHeightOfRow): rewrite to sue RowList iterators.
5341         (appendParagraph): adjust
5342         (breakAgain): adjust
5343         (breakAgainOneRow): adjust
5344         (breakParagraph): adjust
5345         (getRow): adjust
5346         (getRowNearY): adjust, and remove commented code.
5347
5348         * lyxtext.h (firstRow): delete function
5349         (lastRow): delete function
5350         (rows): new function (const and non-const versions.)
5351         (insertRow): delete function
5352
5353         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5354
5355 2003-03-29  John Levon  <levon@movementarian.org>
5356
5357         * BufferView_pimpl.C: always update scrollbar top
5358         because pasting text when we're anchored could mean we
5359         miss an update altogether
5360
5361 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5362
5363         * text2.C (init): use rowlist_.end() and not 0.
5364         (insertRow): change to take a RowList::iterator as arg, adjust
5365         for this.
5366         (insertParagraph): change to take a RowList::iterator as arg,
5367         adjust for this.
5368         (redoParagraphs): remove some debug msgs.
5369
5370         * text.C (appendParagraph): change to take a RowList::iterator
5371         arg, adjust for this.
5372         (breakAgain): add an assert
5373         (breakAgainOneRow): ditto
5374
5375 2003-03-29  John Levon  <levon@movementarian.org>
5376
5377         * text2.C: do not clear selection after inc/decDepth
5378         (bug 550)
5379
5380 2003-03-29  John Levon  <levon@movementarian.org>
5381
5382         * BufferView.C:
5383         * buffer.C: fix broken strerrors according to Lars
5384
5385 2003-03-29  John Levon  <levon@movementarian.org>
5386
5387         * converters.C: more Alert cleanups
5388
5389 2003-03-29  John Levon  <levon@movementarian.org>
5390
5391         * bufferview_funcs.C: remove pointless Alert
5392
5393         * buffer.C: fix confusing error message when
5394         a template is chmoded 000
5395
5396 2003-03-29  John Levon  <levon@movementarian.org>
5397
5398         * BufferView.C:
5399         * BufferView.h:
5400         * BufferView_pimpl.C: Alert fixes
5401
5402         * Makefile.am:
5403         * tabular.C:
5404         * tabular-old.C: remove unused table compat reading
5405
5406 2003-03-29  John Levon  <levon@movementarian.org>
5407
5408         * BufferView.C:
5409         * buffer.C:
5410         * lyx_cb.h:
5411         * lyx_cb.C: more Alert cleanups
5412
5413         * lyxfunc.C: don't allow chktex if not latex document
5414
5415 2003-03-29  John Levon  <levon@movementarian.org>
5416
5417         * lyx_cb.C:
5418         * BufferView.C:
5419         * buffer.C: warnings pushed down from support/,
5420         kill err_alert
5421
5422 2003-03-29  John Levon  <levon@movementarian.org>
5423
5424         * lyxfunc.C: safety check for C-r (revert)
5425
5426 2003-03-29  John Levon  <levon@movementarian.org>
5427
5428         * bufferlist.h:
5429         * bufferlist.C: several UI fixes using Alert::prompt.
5430         Fix the pointless looping quit code. Fix stupid revert
5431         behaviour (bug 938)
5432
5433         * lyxvc.h:
5434         * lyxvc.C:
5435         * lyx_cb.C: use Alert::prompt
5436
5437         * lyx_main.C: remove a silly question
5438
5439         * lyxfunc.C: remove a couple of silly questions,
5440         use Alert::prompt
5441
5442 2003-03-28  John Levon  <levon@movementarian.org>
5443
5444         * text2.C: fix bug 974 (End on empty par)
5445
5446 2003-03-28  John Levon  <levon@movementarian.org>
5447
5448         * BufferView_pimpl.C:
5449         * LyXAction.C:
5450         * lfuns.h: remove do-nothing math greek lfuns
5451
5452 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5453
5454         * lyxgluelength.h (isValidGlueLength): add default arg on
5455         parameter 2. Remove default arg from friend in class.
5456
5457         * lyxlength.h (isValidLength): add default arg on parameter 2.
5458         Remove default arg from friend in class.
5459
5460         * text2.C (LyXText): adjust, initialize refresh_row.
5461         (init): adjust
5462         (removeRow): adjust
5463         (insertRow): adjust
5464         (insertParagraph): adjst
5465         (redoParagraphs): adjust
5466         (fullRebreak): adjust
5467         (updateCounters): adjust
5468         (deleteEmptyParagraphMechanism): first attempt at fixing a
5469         crashing bug.
5470
5471         * text.C (top_y): adjust
5472         (setHeightOfRow): adjust
5473         (getRow): adjust
5474         (getRowNearY): adjust
5475
5476         * lyxtext.h: include RowList.h
5477         (~LyXText): not needed anymore, deleted.
5478         (firstRow): modify for RowList
5479         (lastRow): new function
5480         Delete firstrow and lastrow class variables, add a Rowlist
5481         rowlist_ class variable.
5482
5483         * lyxrow.C (lastPos): use empty() and not !size() to check if a
5484         paragraph is empty.
5485
5486         * RowList.C (insert): fix case where it == begin().
5487
5488 2003-03-26  Angus Leeming  <leeming@lyx.org>
5489
5490         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5491         the thesaurus dialog.
5492
5493 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5494
5495         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5496
5497         * RowList.[Ch]: new files
5498
5499         * ParagraphList.C (erase): handle the case where it == begin
5500         correctly.
5501
5502 2003-03-25  John Levon  <levon@movementarian.org>
5503
5504         * Makefile.am:
5505         * aspell_local.h:
5506         * aspell.C: add new aspell support
5507
5508         * lyxrc.h:
5509         * lyxrc.C: Make use_pspell be use_spell_lib. Always
5510         have it accessible.
5511
5512 2003-03-25  Angus Leeming  <leeming@lyx.org>
5513
5514         * lfuns.h:
5515         * LyXAction.C (init): new LFUN_INSET_INSERT.
5516
5517         * BufferView_pimpl.C (dispatch): split out part of the
5518         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5519
5520         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5521         LFUN_INSET_APPLY.
5522
5523 2003-03-25  Angus Leeming  <leeming@lyx.org>
5524
5525         * lyxfunc.C (dispatch): changes to the Dialogs interface.
5526
5527 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
5528
5529         * text2.C:
5530         * text3.C: remove useless row->height(0)
5531
5532 2003-03-25  John Levon  <levon@movementarian.org>
5533
5534         * lyxtext.h:
5535         * text2.C:
5536         * text3.C: rename the refreshing stuff to better names
5537
5538 2003-03-24  John Levon  <levon@movementarian.org>
5539
5540         * BufferView_pimpl.h:
5541         * BufferView_pimpl.C: update layout choice on a mouse
5542         press/release
5543
5544 2003-03-23  John Levon  <levon@movementarian.org>
5545
5546         * Makefile.am: fix commandtags.h reference
5547
5548 2003-03-22  John Levon  <levon@movementarian.org>
5549
5550         * BufferView_pimpl.C:
5551         * lyxtext.h:
5552         * rowpainter.C:
5553         * rowpainter.h:
5554         * text.C:
5555         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5556
5557 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
5558
5559         * lyxtext.h:
5560         * text.C: take the rtl methods out of line
5561
5562 2003-03-21 André Pönitz <poenitz@gmx.net>
5563
5564         * metricsinfo.[Ch]: new files containing structures to be passed around
5565         during the two-phase-drawing...
5566
5567 2003-03-21 André Pönitz <poenitz@gmx.net>
5568
5569         * lyxtextclass.C: read 'environment' tag.
5570
5571 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
5572
5573         * text2.C (removeRow): fix bug 964
5574
5575 2003-03-20  John Levon  <levon@movementarian.org>
5576
5577         * rowpainter.C:
5578         * text.C:
5579         * text2.C: paint cleanups. Inset::update() dropped font
5580         parameter
5581
5582 2003-03-19  John Levon  <levon@movementarian.org>
5583
5584         * lyxfunc.C: only fitcursor/markDirty if available()
5585
5586 2003-03-19  John Levon  <levon@movementarian.org>
5587
5588         * commandtags.h: rename to ...
5589
5590         * lfuns.h: ... this, and renumber / cleanup
5591
5592 2003-03-19  John Levon  <levon@movementarian.org>
5593
5594         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5595         fit the cursor after an lfun
5596
5597         * BufferView.h:
5598         * BufferView.C:
5599         * BufferView_pimpl.h:
5600         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5601
5602         * LyXAction.C: layout-character should have ReadOnly
5603
5604         * ParagraphParameters.C:
5605         * buffer.C:
5606         * bufferview_funcs.C:
5607         * lyx_cb.C:
5608         * lyxfind.C:
5609         * lyxtext.h:
5610         * text.C:
5611         * text2.C:
5612         * text3.C:
5613         * undo_funcs.C: changes from above
5614
5615 2003-03-18  John Levon  <levon@movementarian.org>
5616
5617         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5618         remove it from update()
5619
5620         * lyxfunc.C: update layout choice after an lfun
5621
5622         * text3.C: remove extra updateLayoutChoice()s
5623
5624 2003-03-18  John Levon  <levon@movementarian.org>
5625
5626         * text.C: top_y change means full repaint, fix
5627         a drawing bug with cursor movement
5628
5629 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5630
5631         * lyxtext.h:
5632         * text.C:
5633         * text2.C: anchor row on setCursor
5634
5635 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5636
5637         * lyxtext.h: remove almost all mutable keywords
5638         * text.C:
5639         * text2.C:
5640         * text3.C: remove const keywords accordingly
5641
5642 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5643
5644         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5645         anon namespace
5646         (TeXEnvironment): ditto
5647         (TeXOnePar): ditto
5648
5649 2003-03-17  John Levon  <levon@movementarian.org>
5650
5651         * text.C (rowBreakPoint): remove attempt to fix displayed
5652         math insets inside a manual label
5653
5654 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5655
5656         * lyxtext.h: remove BufferView* as first arg from almost all class
5657         functions.
5658         * other files: adjust.
5659
5660 2003-03-17  John Levon  <levon@movementarian.org>
5661
5662         * lyxtext.h:
5663         * undo_funcs.C:
5664         * text2.C: more paint cleanups
5665
5666         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5667
5668         * rowpainter.h:
5669         * rowpainter.C: remove "smart" background painting code
5670
5671 2003-03-16  John Levon  <levon@movementarian.org>
5672
5673         * lyxtext.h:
5674         * text.C:
5675         * text2.C:
5676         * text3.C: add helper functions for setting refresh_row/y
5677
5678 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
5679
5680         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5681         newline inset which *can* get inserted in the pass_thru layouts.
5682         This is primarily for literate documents.
5683
5684 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
5685
5686         * buffer.C: increment LYX_FORMAT to 223
5687
5688 2003-03-14 André Pönitz <poenitz@gmx.net>
5689
5690         * textclass.h: prepare for environment handling, ws changes
5691         * lyxlayout.C: read latexheader and latexfooter tags
5692
5693 2003-03-14  John Levon  <levon@movementarian.org>
5694
5695         * text2.C: rewrite ::status() a bit
5696
5697 2003-03-13  John Levon  <levon@movementarian.org>
5698
5699         * lyxtext.h: add some docs
5700
5701 2003-03-13  John Levon  <levon@movementarian.org>
5702
5703         * lyxtext.h:
5704         * text.C:
5705         * text2.C:
5706         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5707
5708 2003-03-13  John Levon  <levon@movementarian.org>
5709
5710         * text3.C: fix appendix redrawing
5711
5712 2003-03-13  John Levon  <levon@movementarian.org>
5713
5714         * text.C (setHeightOfRow):
5715         * rowpainter.h:
5716         * rowpainter.C: make appendix mark have the text
5717           "Appendix" so the user knows what it is
5718
5719         * LColor.h:
5720         * LColor.C: s/appendixline/appendix/ from above
5721
5722 2003-03-13  John Levon  <levon@movementarian.org>
5723
5724         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5725
5726         * text.C: fix a getChar(pos) bug properly
5727
5728 2003-03-13  Angus Leeming  <leeming@lyx.org>
5729
5730         * commandtags.h:
5731         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5732         Probably only temporary. Let's see how things pan out.
5733
5734         * BufferView.C (unlockInset):
5735         * BufferView_pimpl.C (fitCursor):
5736         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5737
5738         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5739         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5740
5741         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5742         new functions that convert ParagraphParameters to and from a string.
5743
5744         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5745         BufferView::Pimpl's dispatch.
5746         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5747
5748 2003-03-13 André Pönitz <poenitz@gmx.net>
5749
5750         * lyxfunc.C:
5751         * text3.C:
5752         * factory.C: make it aware of InsetEnv
5753
5754 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5755
5756         * text2.C (setCursor): never ask for one past last
5757         (setCursor): add some debugging messages.
5758
5759         * text.C (singleWidth): never ask for one past last
5760         (singleWidth): ditto
5761         (leftMargin): ditto
5762         (rightMargin): ditto
5763         (rowBreakPoint): ditto
5764         (setHeightOfRow): ditto
5765         (prepareToPrint): ditto
5766
5767         * rowpainter.C (paintBackground): never ask for one past last
5768         (paintText): never ask for one past last
5769
5770         * paragraph_pimpl.C (getChar): make the assert stricter, never
5771         allow the one past last pos to be taken
5772
5773         * paragraph.C (getChar): ws changes only
5774
5775         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5776         (numberOfSeparators): ditto
5777         (numberOfHfills): ditto
5778
5779 2003-03-12  John Levon  <levon@movementarian.org>
5780
5781         * author.h:
5782         * author.C:
5783         * bufferparams.h:
5784         * bufferparams.C:
5785         * paragraph_funcs.C: fix per-buffer authorlists
5786
5787 2003-03-12  John Levon  <levon@movementarian.org>
5788
5789         * text.C: fix newline in right address
5790
5791 2003-03-12  Angus Leeming  <leeming@lyx.org>
5792
5793         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5794         duplicate those in LyXFunc::dispatch.
5795
5796         * commandtags.h:
5797         * LyXAction.C:
5798         * ToolbarDefaults.C:
5799         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5800         Add LFUN_FONTFREE_UPDATE.
5801
5802         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5803         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5804
5805         * bufferview_func.[Ch]: several new functions to facilliate
5806         transfer of data to and from the character dialog.
5807
5808 2003-03-12  John Levon  <levon@movementarian.org>
5809
5810         * buffer.C:
5811         * paragraph.h:
5812         * paragraph.C:
5813         * paragraph_funcs.C:
5814         * paragraph_pimpl.C:
5815         * sgml.C:
5816         * tabular.C:
5817         * text.C:
5818         * text3.C: remove META_NEWLINE in favour of an inset
5819
5820         * rowpainter.h:
5821         * rowpainter.C: remove paintNewline (done by inset)
5822
5823 2003-03-12  John Levon  <levon@movementarian.org>
5824
5825         * paragraph_pimpl.C: complain about bad getChar()s
5826         for a while at least
5827
5828 2003-03-12  John Levon  <levon@movementarian.org>
5829
5830         * buffer.h:
5831         * buffer.C: move paragraph read into a separate function,
5832         a little renaming to reflect that.
5833
5834         * bufferparams.h:
5835         * bufferparams.C: remove the author_ids map, not necessary now
5836
5837         * factory.h:
5838         * factory.C: moved Buffer::readInset to here
5839
5840         * paragraph_funcs.h:
5841         * paragraph_funcs.C: readParagraph free function moved from
5842         buffer.C
5843
5844         * tabular.C: name change
5845
5846 2003-03-12  John Levon  <levon@movementarian.org>
5847
5848         * buffer.C:
5849         * ParagraphParameters.C: move par params input to
5850         a read() method
5851
5852         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5853         behave like a normal read from the stream wrt reading
5854         a line vs. a \\token
5855
5856 2003-03-12  John Levon  <levon@movementarian.org>
5857
5858         * paragraph.C:
5859         * ParagraphParameters.h:
5860         * ParagraphParameters.C: move output code to a
5861         ::write() method
5862
5863 2003-03-12  John Levon  <levon@movementarian.org>
5864
5865         * BufferView.C (insertLyXFile):
5866         * buffer.h:
5867         * buffer.C:
5868         * tabular.C: use a parlist iterator for creating the
5869           document.
5870
5871 2003-03-12  John Levon  <levon@movementarian.org>
5872
5873         * buffer.C: make current_change static local not
5874           static file-scope
5875
5876 2003-03-12  John Levon  <levon@movementarian.org>
5877
5878         * buffer.C: fix insertStringAsLines for change tracking
5879
5880 2003-03-12  John Levon  <levon@movementarian.org>
5881
5882         * BufferView.C:
5883         * tabular.C:
5884         * buffer.h:
5885         * buffer.C:
5886         * bufferparams.h:
5887         * bufferparams.C: move author list into params. Rename some
5888           functions. Move the header reading into a separate token
5889           loop. Move the header token reading into BufferParams.
5890
5891 2003-03-12  John Levon  <levon@movementarian.org>
5892
5893         * changes.C: put debug inside lyxerr.debugging() checks
5894
5895 2003-03-11 André Pönitz <poenitz@gmx.net>
5896
5897         * factory.C: make it aware of InsetHFill
5898
5899 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5900
5901         * buffer.C (latexParagraphs): move function from here...
5902         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5903         args.
5904
5905 2003-03-10  Angus Leeming  <leeming@lyx.org>
5906
5907         * LyXAction.C (init): fix bug in poplating array with multiple entries
5908         with the same LFUN (spotted by JMarc).
5909
5910 2003-03-10  John Levon  <levon@movementarian.org>
5911
5912         * text.C:
5913         * text2.C: move getColumnNearX() near its
5914         only call site
5915
5916 2003-03-10  John Levon  <levon@movementarian.org>
5917
5918         * text.C: fix break before a minipage
5919
5920 2003-03-10  John Levon  <levon@movementarian.org>
5921
5922         * text.C: fix the last commit
5923
5924 2003-03-09  John Levon  <levon@movementarian.org>
5925
5926         * lyxtext.h:
5927         * text.C:
5928         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5929         bug 365 (don't break before insets unless needed). Don't
5930         return a value > last under any circumstances.
5931
5932 2003-03-09  Angus Leeming  <leeming@lyx.org>
5933
5934         * BufferView_pimpl.C (trackChanges, dispatch): call
5935         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5936
5937 2003-03-09  Angus Leeming  <leeming@lyx.org>
5938
5939         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5940         than Dialogs::showAboutlyx().
5941
5942 2003-03-09  Angus Leeming  <leeming@lyx.org>
5943
5944         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5945         than Dialogs::showTabularCreate().
5946
5947 2003-03-09  John Levon  <levon@movementarian.org>
5948
5949         * lyxtext.h:
5950         * text.C:
5951         * text2.C: 3rd arg to nextBreakPoint was always the same.
5952           Use references.
5953
5954 2003-03-08  John Levon  <levon@movementarian.org>
5955
5956         * lyxrow.C:
5957         * paragraph.C:
5958         * paragraph.h:
5959         * rowpainter.C:
5960         * text.C:
5961         * text2.C: Remove the "main" bit from the "main body"
5962           notion.
5963
5964 2003-03-08  John Levon  <levon@movementarian.org>
5965
5966         * text.C (leftMargin): The left margin of an empty
5967         manual label paragraph should not include the label width
5968         string length.
5969
5970         * text.C (prepareToPrint): don't attempt to measure hfills
5971         for empty manual label paragraphs - the answer should be 0
5972
5973 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5974
5975         * CutAndPaste.C: remove commented code and reindent.
5976
5977 2003-03-08  John Levon  <levon@movementarian.org>
5978
5979         * lyxfunc.h:
5980         * lyxfunc.C: move reloadBuffer()
5981
5982         * BufferView.h:
5983         * BufferView.C: to here
5984
5985         * lyxvc.C: add comment
5986
5987         * vc-backend.h:
5988         * vc-backend.C: call bv->reload() to avoid
5989           getStatus() check on MENURELOAD
5990
5991 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
5992
5993         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5994         to an old format .dep file.
5995
5996 2003-03-07  Angus Leeming  <leeming@lyx.org>
5997
5998         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5999         when the LFUN_MOUSE_RELEASE should have been handled by
6000         inset->localDispatch.
6001
6002 2003-03-07  Angus Leeming  <leeming@lyx.org>
6003
6004         * BufferView_pimpl.C (dispatch):
6005         * LyXAction.C (init):
6006         * ToolbarDefaults.C (init):
6007         * commandtags.h:
6008         * lyxfunc.C (getStatus):
6009         remove LFUN_INSET_GRAPHICS.
6010
6011         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6012
6013 2003-03-07  Angus Leeming  <leeming@lyx.org>
6014
6015         * commandtags.h:
6016         * LyXAction.C (init):
6017         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6018
6019         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6020
6021         * commandtags.h:
6022         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6023
6024         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6025         localDispatch method LFUN_INSET_DIALOG_UPDATE.
6026
6027 2003-03-07  Angus Leeming  <leeming@lyx.org>
6028
6029         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6030         remove "ert".
6031
6032 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6033
6034         * ParagraphList.C (front): new function
6035         (back): implement
6036
6037 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
6038
6039         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6040         and top_row_offset_. removed var first_y.
6041         * text.C (top_y):
6042         * text2.C (LyXText, removeRow):
6043         * text3.C:
6044         * BufferView_pimpl.C:
6045         use these methods instead of using first_y
6046
6047 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6048
6049         * text2.C (pasteSelection): adjust for checkPastePossible
6050
6051         * CutAndPaste.C: remove Paragraph * buf and replace with
6052         ParagraphList paragraphs.
6053         (DeleteBuffer): delete
6054         (cutSelection): change the tc type to textclass_type
6055         (copySelection): change the tc type to textclass_type
6056         (copySelection): adjust for ParagraphList
6057         (pasteSelection): change the tc type to textclass_type
6058         (pasteSelection): adjust for Paragraphlist
6059         (nrOfParagraphs): simplify for ParagraphList
6060         (checkPastePossible): simplify for ParagraphList
6061         (checkPastePossible): remove unused arg
6062
6063         * ParagraphList.C (insert): handle the case where there are no
6064         paragraphs yet.
6065
6066         * CutAndPaste.h: make CutAndPaste a namespace.
6067
6068         * text3.C (dispatch): adjust
6069
6070         * text.C (breakParagraph): add a ParagraphList as arg
6071
6072         * paragraph_funcs.C (breakParagraph): change to take a
6073         BufferParams and a ParagraphList as args.
6074         (breakParagraphConservative): ditto
6075         (mergeParagraph): ditto
6076         (TeXDeeper): add a ParagraphList arg
6077         (TeXEnvironment): ditto
6078         (TeXOnePar): ditto
6079
6080         * buffer.C (readLyXformat2): adjust
6081         (insertStringAsLines): adjust
6082         (latexParagraphs): adjust
6083
6084         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6085         (cutSelection): adjust
6086         (pasteSelection): adjust
6087
6088         * BufferView_pimpl.C (insertInset): adjust
6089
6090 2003-03-05  Angus Leeming  <leeming@lyx.org>
6091
6092         * commandtags.h:
6093         * LyXAction.C (init):
6094         * BufferView_pimpl.C (dispatch):
6095         * lyxfunc.C (getStatus):
6096         remove LFUN_CHILD_INSERT.
6097
6098         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6099
6100 2003-03-05  Angus Leeming  <leeming@lyx.org>
6101
6102         * commandtags.h:
6103         * LyXAction.C (init):
6104         * src/factory.C (createInset):
6105         * lyxfunc.C (getStatus):
6106         * text3.C (dispatch):
6107         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6108
6109         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6110
6111 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6112
6113         * ParagraphList.C (insert): handle insert right before end()
6114         (erase): fix cases where it can be first or last paragraph.
6115
6116 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6117
6118         * paragraph_funcs.C (TeXEnvironment): remove all usage of
6119         Paragraph::next and Paragraph::previous
6120         (TeXOnePar): ditto
6121
6122         * text.C (breakParagraph): adjust
6123
6124         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6125         BufferParams& as arg.
6126         (breakParagraph): use ParagraphList::insert
6127         (breakParagraphConservative): take a Buffer* instead of a
6128         BufferParams& as arg.
6129         (breakParagraphConservative): use ParagraphList::insert.
6130
6131         * buffer.C (insertStringAsLines): un-const it
6132         (insertStringAsLines): adjust
6133
6134         * ParagraphList.C (insert): new function
6135
6136         * CutAndPaste.C (pasteSelection): adjust
6137
6138         * text.C (backspace): adjust
6139
6140         * tabular.C (SetMultiColumn): adjust
6141
6142         * CutAndPaste.C (cutSelection): adjust
6143         (pasteSelection): adjust
6144
6145         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6146         Buffer const * as arg
6147
6148         * ParagraphList.C (erase): new function
6149         * paragraph_funcs.C (mergeParagraph): use it
6150         (mergeParagraph): make it take a Buffer* instead of a
6151         BufferParams* as arg
6152
6153         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6154         as arg
6155         (breakParagraphConservative): ditto
6156
6157         * paragraph.h: remove the breakParagraph friend
6158
6159         * paragraph.C (eraseIntern): new function
6160         (setChange): new function
6161
6162         * paragraph_funcs.C (mergeParagraph): make it take a
6163         ParagraphList::iterator instead of a Paragraph *, adjust
6164         accordingly.
6165
6166         * paragraph.h: move an #endif so that the change tracking stuff
6167         also works in the NO_NEXT case.
6168
6169 2003-03-04  Angus Leeming  <leeming@lyx.org>
6170
6171         * commandtags.h:
6172         * LyXAction.C: new LFUN_INSET_MODIFY.
6173
6174         * BufferView_pimpl.C (dispatch): if an inset is found to be open
6175         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6176
6177 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6178
6179         * several files: ws changes only
6180
6181         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6182         (TeXEnvironment): ditto
6183         (TeXDeeper): ditto
6184
6185         * buffer.C (makeLaTeXFile): adjust
6186         (latexParagraphs): make it take ParagraphList::iterator as args
6187
6188 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6189
6190         * buffer.C (latexParagraphs): adjust
6191
6192         * paragraph.C (TeXOnePar): move function...
6193         (optArgInset): move function...
6194         (TeXEnvironment): move function...
6195         * paragraph_pimpl.C (TeXDeeper): move function...
6196         * paragraph_funcs.C: ...here
6197
6198         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6199
6200 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6201
6202         * buffer.C (readInset): remove compability code for old Figure and
6203         InsetInfo insets
6204
6205 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6206
6207         * buffer.C: ws changes
6208         (readInset):
6209
6210         * BufferView_pimpl.C: ditto
6211         * author.C: ditto
6212         * buffer.h: ditto
6213         * bufferlist.h: ditto
6214         * changes.h: ditto
6215         * lyxfunc.C: ditto
6216
6217 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
6218
6219         * converter.[Ch]: split into itself +
6220         * graph.[Ch]
6221         * format.[Ch]
6222         * Makefile.am: += graph.[Ch] + format.[Ch]
6223         * MenuBackend.C
6224         * buffer.C
6225         * exporter.C
6226         * importer.C
6227         * lyx_main.C
6228         * lyxfunc.C
6229         * lyxrc.C: added #include "format.h"
6230
6231 2003-02-27  Angus Leeming  <leeming@lyx.org>
6232
6233         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6234           a label.
6235
6236         * factory.C (createInset): add "label" to the factory.
6237
6238         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6239           string and do no more.
6240
6241 2003-02-27  Angus Leeming  <leeming@lyx.org>
6242
6243         * commandtags.h:
6244         * LyXAction.C (init):
6245         * factory.C (createInset):
6246         * BufferView_pimpl.C (dispatch):
6247           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6248
6249         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6250
6251         * lyxfunc.C (dispatch):
6252         * text3.C (dispatch): pass name to params2string.
6253
6254 2003-02-26  Angus Leeming  <leeming@lyx.org>
6255
6256         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6257           blocks together.
6258           Rearrange the ~includes. Strip out the unnecessary ones.
6259
6260         * factory.C (createInset): reformat.
6261           create new insets for the various LFUN_XYZ_APPLY lfuns.
6262
6263 2003-02-26  John Levon  <levon@movementarian.org>
6264
6265         * lyxrow.h:
6266         * lyxrow.C: add isParStart,isParEnd helpers
6267
6268         * paragraph.h: make isInserted/DeletedText take refs
6269
6270         * paragraph_funcs.h:
6271         * paragraph_funcs.C: remove #if 0'd code
6272
6273         * lyxtext.h:
6274         * text3.C:
6275         * text2.C:
6276         * text.C: use lyxrow helpers above.
6277           Move draw and paint routines to RowPainter.
6278           Make several methods use refs not pointers.
6279           Make backgroundColor() const.
6280           Add markChangeInDraw(), isInInset().
6281           Merge changeRegionCase into changeCase.
6282           Make workWidth() shouldn't-happen code into an Assert.
6283
6284         * rowpainter.h:
6285         * rowpainter.C: new class for painting a row.
6286
6287         * vspace.h:
6288         * vspace.C: make inPixels take a ref
6289
6290 2003-02-26  Angus Leeming  <leeming@lyx.org>
6291
6292         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6293         LFUN_REF_APPLY.
6294
6295 2003-02-25  John Levon  <levon@movementarian.org>
6296
6297         * ispell.C: give the forked command a more accurate name
6298
6299 2003-02-22  John Levon  <levon@movementarian.org>
6300
6301         * toc.h:
6302         * toc.C: make TocItem store an id not a Paragraph *
6303           (bug #913)
6304
6305 2003-02-21  Angus Leeming  <leeming@lyx.org>
6306
6307         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6308           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6309           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6310           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6311           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6312           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6313
6314         * BufferView_pimpl.C (dispatch):
6315         * LyXAction.C (init):
6316         * factory.C (createInset):
6317         * lyxfunc.C (getStatus, dispatch):
6318         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6319
6320 2003-02-21  Angus Leeming  <leeming@lyx.org>
6321
6322         * BufferView_pimpl.C (MenuInsertLyXFile):
6323         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6324         * lyxfunc.C (menuNew, open, doImport):
6325           no longer pass a LyXView & to fileDlg.
6326
6327 2003-02-21  Angus Leeming  <leeming@lyx.org>
6328
6329         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6330         * LyXAction.C: change, BIBKEY to BIBITEM.
6331         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6332         Change InsetBibKey to InsetBibitem.
6333         Change BIBKEY_CODE to BIBITEM_CODE.
6334         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6335         * factory.C: replace insetbib.h with insetbibitem.h.
6336         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6337         * paragraph.C: replace insetbib.h with insetbibitem.h.
6338         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6339         Change bibkey() to bibitem().
6340         * text.C: remove insetbib.h.
6341         * text2.C: replace insetbib.h with insetbibitem.h.
6342         change bibkey() to bibitem().
6343         * text3.C: remove insetbib.h.
6344         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6345
6346 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6347
6348         * lyxrc.C (output): enclose user email in quotes (in case there are
6349         several words)
6350
6351 2003-02-18  John Levon  <levon@movementarian.org>
6352
6353         * buffer.h: add std::
6354
6355 2003-02-17  John Levon  <levon@movementarian.org>
6356
6357         * SpellBase.h:
6358         * ispell.h:
6359         * ispell.C:
6360         * pspell.h:
6361         * pspell.C: reworking. Especially in ispell, a large
6362           number of clean ups and bug fixes.
6363
6364         * lyxfunc.C: fix revert to behave sensibly
6365
6366 2003-02-17 André Pönitz <poenitz@gmx.net>
6367
6368         * LyXAction.C:
6369         * commandtags.h: new LFUN_INSERT_BIBKEY
6370
6371         * layout.h:
6372         * lyxlayout.C:
6373         * buffer.C:
6374         * factory.C:
6375         * text.C:
6376         * text2.C:
6377         * text3.C:
6378         * paragraph.[Ch]:
6379         * paragraph_func.C: remove special bibkey handling
6380
6381 2003-02-17  John Levon  <levon@movementarian.org>
6382
6383         * text.C (Delete): fix case where delete at the end of
6384           the very first paragraph would not merge the pars
6385
6386 2003-02-17  John Levon  <levon@movementarian.org>
6387
6388         * lyxrow.C: fix lastPrintablePos()
6389
6390 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6391
6392         * bufferparams.C (writeLaTeX): add a std:here
6393
6394         * buffer.C: and remove a using directive there
6395
6396 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6397
6398         * buffer.C (makeLaTeXFile): move the code that generates the
6399           preamble...
6400
6401         * bufferparams.C (writeLaTeX): ... in this new method
6402
6403         * LaTeXFeatures.C (getEncodingSet): make const
6404           (getLanguages): make const
6405
6406         * MenuBackend.C (binding): returns the binding associated to this
6407           action
6408           (add): sets the status of each item by calling getStatus. Adds
6409           some intelligence.
6410           (read): add support for OptSubMenu
6411           (expand): remove extra separator at the end of expanded menu
6412
6413 2003-02-15  John Levon  <levon@movementarian.org>
6414
6415         * BufferView.C:
6416         * BufferView_pimpl.C:
6417         * bufferlist.h:
6418         * bufferlist.C: remove pointless BufferStorage bloat. Remove
6419           inset code that had no actual effect. Remove unneeded status
6420           code.
6421
6422 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6423
6424         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6425           in preamble
6426
6427 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
6428
6429         * text.C (drawLengthMarker): also draw an arrow marker for
6430           symbolic lengths (medskip...)
6431
6432 2003-02-14  John Levon  <levon@movementarian.org>
6433
6434         * tabular.h:
6435         * tabular.C: better method names
6436
6437 2003-02-14  John Levon  <levon@movementarian.org>
6438
6439         * BufferView_pimpl.C:
6440         * bufferlist.C:
6441         * buffer.C:
6442         * converter.C:
6443         * lyx_cb.C:
6444         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6445           it's a more accurate name. Remove some pointless uses.
6446
6447 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6448
6449         * text2.C (LyXText): change order of initilizers to shut off
6450           warnings
6451
6452 2003-02-14  John Levon  <levon@movementarian.org>
6453
6454         * buffer.C: use ParIterator for getParFromID()
6455
6456         * paragraph.h:
6457         * paragraph.C:
6458         * paragraph_pimpl.h:
6459         * paragraph_pimpl.C: remove unused getParFromID()
6460
6461 2003-02-14  John Levon  <levon@movementarian.org>
6462
6463         * buffer.C: remove some very old #if 0'd parse code
6464
6465 2003-02-13  John Levon  <levon@movementarian.org>
6466
6467         * text.h:
6468         * text.C:
6469         * text2.C: move hfillExpansion(), numberOfSeparators(),
6470           rowLast(), rowLastPrintable(), numberofHfills(),
6471           numberOfLabelHfills() ...
6472
6473         * lyxrow.h:
6474         * lyxrow.C: ... to member functions here.
6475
6476         * paragraph.h:
6477         * paragraph.C:
6478         * lyxtext.h:
6479         * text.C: remove LyXText::beginningOfMainBody(), and call
6480           p->beginningOfMainBody() directly. Move the check for
6481           LABEL_MANUAL into the latter.
6482
6483         * text.h:
6484         * text.C:
6485         * text2.C:
6486         * vspace.C:
6487         * BufferView.h:
6488         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6489
6490         * text.h:
6491         * text.C:
6492         * text2.C:
6493         * text3.C:
6494         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6495           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6496
6497 2003-02-13  John Levon  <levon@movementarian.org>
6498
6499         * CutAndPaste.C: remove debug
6500
6501 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6502
6503         * paragraph.C (asString): remove two unused variables
6504
6505         * lyxtextclass.C (readTitleType):
6506           (Read):
6507           (LyXTextClass): handle new members titletype_ and titlename_
6508
6509         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6510
6511 2003-02-09  John Levon  <levon@movementarian.org>
6512
6513         * buffer.h:
6514         * buffer.C: replace hand-coded list with a map for the dep clean
6515
6516 2003-02-08  John Levon  <levon@movementarian.org>
6517
6518         * LaTeX.C: consolidate code into showRunMessage() helper
6519
6520 2003-02-08  John Levon  <levon@movementarian.org>
6521
6522         * lyxfind.C:
6523         * lyxtext.h:
6524         * text2.C:
6525         * BufferView.C: change setSelectionOverString() to setSelectionRange()
6526           and pass the size in explicitly
6527
6528         * BufferView_pimpl.h:
6529         * BufferView_pimpl.C:
6530         * BufferView.h:
6531         * BufferView.C: add getCurrentChange()
6532
6533         * BufferView_pimpl.h:
6534         * BufferView_pimpl.C: handle change lfuns
6535
6536         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6537           for changes. Mark pasted paragraphs as new.
6538
6539         * support/lyxtime.h:
6540         * support/lyxtime.C:
6541         * DepTable.C: abstract time_t as lyx::time_type
6542
6543         * LColor.h:
6544         * LColor.C: add colours for new text, deleted text, changebars
6545
6546         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6547           package use "usenames" option.
6548
6549         * commandtags.h:
6550         * lyxfunc.C:
6551         * LyXAction.C: add change lfuns
6552
6553         * Makefile.am:
6554         * author.h:
6555         * author.C: author handling
6556
6557         * buffer.h:
6558         * buffer.C: add a per-buffer author list, with first entry as
6559           current author. Handle new .lyx tokens for change tracking. Output
6560           author list to .lyx file. Output dvipost stuff to .tex preamble.
6561           Bump lyx format to 222.
6562
6563         * bufferlist.h:
6564         * bufferlist.C: add setCurrentAuthor() to reset current author details
6565           in all buffers.
6566
6567         * bufferparams.h:
6568         * bufferparams.C: add param for tracking
6569
6570         * bufferview_funcs.C: output change info in minibuffer
6571
6572         * Makefile.am:
6573         * changes.h:
6574         * changes.C: add change-tracking structure
6575
6576         * debug.h:
6577         * debug.C: add CHANGES debug flag
6578
6579         * lyxfind.h:
6580         * lyxfind.C: add code for finding the next change piece
6581
6582         * lyxrc.h:
6583         * lyxrc.C: add user_name and user_email
6584
6585         * lyxrow.h:
6586         * lyxrow.C: add a metric for the top of the text line
6587
6588         * lyxtext.h:
6589         * text.C: implement accept/rejectChange()
6590
6591         * lyxtext.h:
6592         * text.C: paint changebars. Paint new/deleted text in the chosen
6593         colours. Strike through deleted text.
6594
6595         * paragraph.h:
6596         * paragraph.C:
6597         * paragraph_pimpl.h:
6598         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6599           in the current change to the insert functions. Rework erase to
6600           mark text as deleted, adding an eraseIntern() and a range-based
6601           erase(). Implement per-paragraph change lookup and
6602           accept/reject.
6603
6604         * paragraph_funcs.C: Fixup paste for change tracking.
6605
6606         * tabular.C: mark added row/columns as new.
6607
6608         * text.C: fix rowLast() to never return -1. Don't allow
6609           spellchecking of deleted text. Track transpose changes. Don't
6610           allow paragraph break or merge where appropriate.
6611
6612         * text2.C: leave cursor at end of selection after a cut.
6613
6614 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6615
6616         * text.C (getLengthMarkerHeight):
6617         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6618         visible on screen too.
6619
6620 2003-02-07  John Levon  <levon@movementarian.org>
6621
6622         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6623
6624 2003-02-05  Angus Leeming  <leeming@lyx.org>
6625
6626         * lyxserver.C (read_ready): revert my patch of 11 September last year
6627         as it sends PC cpu through the roof. Presumably this means that
6628         the lyxserver will no longer run on an Alpha...
6629
6630 2003-01-30  Angus Leeming  <leeming@lyx.org>
6631
6632         * factory.C (createInset): create an InsetCommandParam of type "index"
6633         and use it to 'do the right thing'.
6634
6635         * text2.C (getStringToIndex): ensure that cursor position is always
6636         reset to the reset_cursor position.
6637
6638 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6639
6640         * lyxfunc.C (getStatus): "buffer-export custom" should never be
6641         disabled.
6642
6643 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
6644
6645         * bufferview.C:
6646         * lyxcb.C:
6647         * lyxfunc.C: Output messages with identical spelling, punctuation,
6648         and spaces
6649
6650 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
6651
6652         * MenuBackend.C (expandFormats): List only viewable export formats
6653         in "View" menu
6654
6655         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6656         message
6657
6658         * lyxfunc.C (getStatus): Make sure that formats other than
6659         "fax" can also be disabled
6660
6661 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6662
6663         * text3.C (dispatch): put the lfuns that insert insets in 3
6664         groups, and call doInsertInset with appropriate arguments.
6665         (doInsertInset): new function, that creates an inset and inserts
6666         it according to some boolean parameters.
6667
6668 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6669
6670         * buffer.C (readFile): remember to pass on 'par' when calling
6671         readFile recursively.
6672
6673 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6674
6675         * MenuBackend.C (expandFormats): add "..." to import formats.
6676
6677 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
6678
6679         * paragraph.C (asString): Remove XForms RTL hacks.
6680
6681 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
6682         * buffer.C: fix typo
6683
6684 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6685
6686         * Makefile.am (LIBS): delete var
6687         (lyx_LDADD): add @LIBS@ here instead.
6688
6689 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
6690
6691         * Clarify the meaning of "wheel mouse jump"
6692
6693 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6694
6695         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6696         tabular in a float
6697
6698 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6699
6700         * importer.C (Loaders): do not preallocate 3 elements in the
6701         vector, since one ends up with 6 elements otherwise
6702
6703 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6704
6705         * DepTable.C (write): write the file name as last element of the
6706         .dep file (because it may contain spaces)
6707         (read): read info in the right order
6708
6709 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6710
6711         * paragraph_pimpl.C (simpleTeXBlanks):
6712         (simpleTeXSpecialChars):
6713         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6714
6715         * tabular.C (latex): add some missing case statements. Reindent.
6716
6717         * MenuBackend.C (expandToc): remove unused variable.
6718
6719 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
6720
6721         * LColor.C:
6722         * LaTeX.C:
6723         * LyXAction.C:
6724         * MenuBackend.C:
6725         * buffer.C:
6726         * exporter.C:
6727         * lyxfunc.C:
6728         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6729         and the like.
6730
6731 2003-01-05  John Levon  <levon@movementarian.org>
6732
6733         * BufferView.h:
6734         * BufferView.C: add getEncoding()
6735
6736         * kbsequence.h:
6737         * kbsequence.C: do not store last keypress
6738
6739         * lyxfunc.h:
6740         * lyxfunc.C: store last keypress here instead. Pass encoding
6741           to getISOEncoded()
6742
6743 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6744
6745         * lyx_main.C (init): remove annoying error message when following
6746         symbolic links (bug #780)
6747
6748 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6749
6750         * text.C (insertChar):
6751         * lyxrc.C (getDescription): remove extra spaces
6752
6753 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6754
6755         * lyxrc.C (getDescription): remove extra spaces
6756
6757 2002-12-20  John Levon  <levon@movementarian.org>
6758
6759         * text3.C: hack fix for page up/down across tall rows
6760
6761 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6762
6763         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6764         not been invoked
6765
6766 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6767
6768         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6769         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6770         thesaurus is not compiled in
6771
6772 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
6773
6774         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6775
6776 2002-12-16  Angus Leeming  <leeming@lyx.org>
6777
6778         * lyxrc.[Ch]:
6779         * lyx_main.C (init): remove override_x_deadkeys stuff.
6780
6781 2002-12-12  John Levon  <levon@movementarian.org>
6782
6783         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6784           insert. Only remove shift modifier under strict
6785           circumstances.
6786
6787 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6788
6789         * MenuBackend.C (expandToc): fix crash.
6790
6791 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6792
6793         * MenuBackend.C (expandToc): gettext on float names.
6794
6795 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6796
6797         * lyxlength.[Ch]: set default unit to UNIT_NONE,
6798         implement bool empty() [bug 490]
6799
6800 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6801
6802         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6803
6804 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6805
6806         * several files: ws changes
6807
6808 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6809
6810         * text2.C (setCounter): clean up a bit, use boost.format.
6811         (updateCounters): initialize par upon declaration.
6812
6813         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6814         if the layout exists. We do not just store the layout any more.
6815         (SwitchLayoutsBetweenClasses): use boost.format
6816
6817 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6818
6819         * converter.C (convert): if from and to files are the same, use a
6820         temporary files as intermediary
6821
6822 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6823
6824         * commandtags.h:
6825         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6826
6827 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6828
6829         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6830
6831 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6832
6833         * tabular.C (asciiPrintCell): use string(size, char) instead of
6834         explicit loop.
6835
6836         * sgml.C (openTag): fix order of arguments to string constructor
6837         (closeTag): ditto
6838
6839         * lyxfunc.C (dispatch): use boost.format
6840
6841         * lots of files: change "c" -> 'c'
6842
6843 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6844
6845         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6846
6847 2002-11-25  Angus Leeming  <leeming@lyx.org>
6848
6849         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6850
6851         * lyx_main.C (init): compile fix.
6852
6853 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6854
6855         * lyx_cb.C (start): boost.formatify
6856         do not include <iostream>
6857
6858         * lengthcommon.C: ws only
6859
6860         * boost-inst.C,BoostFormat.h: add more explict instantations
6861
6862 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6863
6864         * lots of files: handle USE_BOOST_FORMAT
6865
6866 2002-11-21  John Levon  <levon@movementarian.org>
6867
6868         * pspell.C: fix compile
6869
6870 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6871
6872         * lyxfunc.C (dispatch): use boost::format
6873         (open): ditto
6874         (doImport): ditto
6875
6876         * lyxfont.C (stateText): use boost::format
6877
6878         * lyx_main.C (LyX): use boost::format
6879         (init): ditto
6880         (queryUserLyXDir): ditto
6881         (readRcFile): ditto
6882         (parse_dbg): ditto
6883         (typedef boost::function): use the recommened syntax.
6884
6885         * importer.C (Import): use boost::format
6886
6887         * debug.C (showLevel): use boost::format
6888
6889         * converter.C (view): use boost::format
6890         (convert): ditto
6891         (move): ditto
6892         (scanLog): ditto
6893
6894         * bufferview_funcs.C (currentState): use boost::format
6895
6896         * bufferlist.C (emergencyWrite): use boost::format
6897
6898         * buffer.C (readLyXformat2): use boost::format
6899         (parseSingleLyXformat2Token): ditto
6900
6901         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6902
6903         * LaTeX.C (run): use boost::format
6904
6905         * Chktex.C (scanLogFile): use boost::format
6906
6907         * BufferView_pimpl.C (savePosition): use boost::format
6908         (restorePosition): ditto
6909         (MenuInsertLyXFile): ditto
6910
6911         * BoostFormat.h: help file for explicit instation.
6912
6913 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6914
6915         * tabular.C (latex): Support for block alignment in fixed width
6916         columns.
6917
6918 2002-11-17  John Levon  <levon@movementarian.org>
6919
6920         * BufferView_pimpl.C:
6921         * lyx_cb.C:
6922         * lyxfunc.C: split filedialog into open/save
6923
6924 2002-11-08  Juergen Vigna  <jug@sad.it>
6925
6926         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6927         by my last patch (hopefully).
6928
6929 2002-11-08  John Levon  <levon@movementarian.org>
6930
6931         * iterators.h:
6932         * iterators.C:
6933         * buffer.h:
6934         * buffer.C:
6935         * paragraph.h:
6936         * paragraph.C:
6937         * toc.h:
6938         * toc.C: ParConstIterator, and use it (from Lars)
6939
6940 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6941
6942         * lyxtextclass.[Ch]: revise and add doxygen comments
6943
6944 2002-11-07  John Levon  <levon@movementarian.org>
6945
6946         * text.C: fix progress value for spellchecker
6947
6948         * toc.C: fix navigate menu for insetwrap inside minipage
6949
6950         * paragraph_funcs.C: added FIXME for suspect code
6951
6952 2002-11-07  John Levon  <levon@movementarian.org>
6953
6954         * BufferView_pimpl.C: fix redrawing of insets
6955           on buffer switch
6956
6957 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6958
6959         * text2.C (updateCounters): fix bug 668
6960
6961 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
6962
6963         * text3.C (dispatch): Do not make the buffer dirty when moving the
6964         cursor.
6965
6966 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6967
6968         * vc-backend.C: STRCONV
6969         (scanMaster): ditto
6970
6971         * text2.C (setCounter): STRCONV
6972
6973         * paragraph.C (asString): STRCONV
6974
6975         * lyxlength.C (asString): STRCONV
6976         (asLatexString): ditto
6977
6978         * lyxgluelength.C (asString): STRCONV
6979         (asLatexString): ditto
6980
6981         * lyxfunc.C (dispatch): STRCONV
6982         (open): ditto
6983
6984         * lyxfont.C (stateText): STRCONV
6985
6986         * importer.C (Import): STRCONV
6987
6988         * counters.C (labelItem): STRCONV
6989         (numberLabel): ditto
6990         (numberLabel): remove unused ostringstream o
6991
6992         * chset.C: STRCONV
6993         (loadFile): ditto
6994
6995         * bufferview_funcs.C (currentState): STRCONV
6996
6997         * buffer.C (readFile): STRCONV
6998         (asciiParagraph): ditto
6999         (makeLaTeXFile): ditto
7000
7001         * Spacing.C (writeEnvirBegin): STRCONV
7002
7003         * LaTeXFeatures.C (getLanguages): STRCONV
7004         (getPackages): ditto
7005         (getMacros): ditto
7006         (getBabelOptions): ditto
7007         (getTClassPreamble): ditto
7008         (getLyXSGMLEntities): ditto
7009         (getIncludedFiles): ditto
7010
7011         * LaTeX.C: STRCONV
7012         (run): ditto
7013         (scanAuxFile): ditto
7014         (deplog): ditto
7015
7016         * LString.h: add the STRCONV macros
7017
7018         * BufferView_pimpl.C (savePosition): STRCONV
7019         (restorePosition): ditto
7020         (MenuInsertLyXFile): ditto
7021
7022         * vc-backend.C (scanMaster): change from submatch[...] to
7023         submatch.str(...)
7024
7025         * funcrequest.C: include config.h
7026
7027         * factory.C: include config.h
7028
7029         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7030
7031         * box.C: include config.h
7032
7033         * LaTeX.C (scanAuxFile): change from submatch[...] to
7034         submatch.str(...)
7035         (deplog): ditto
7036
7037 2002-10-25  Angus Leeming  <leeming@lyx.org>
7038
7039         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7040
7041         * ispell.[Ch] (setError): new method.
7042         * ispell.C (c-tor): move out child process into new class LaunchIspell.
7043         Use setError() insetead of goto END.
7044
7045         * lyx_cb.C (AutoSave): move out child process into new class
7046         AutoSaveBuffer.
7047
7048 2002-10-30  John Levon  <levon@movementarian.org>
7049
7050         * text3.C: make start appendix undoable
7051
7052 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
7053
7054         * lyxlength.C (inPixels): Fix returned value.
7055
7056         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7057         environment.
7058
7059 2002-10-24  Angus Leeming  <leeming@lyx.org>
7060
7061         * lyxgluelength.h: no need to forward declare BufferParams
7062         or BufferView, so don't.
7063
7064 2002-10-21  John Levon  <levon@movementarian.org>
7065
7066         * BufferView.C: menuUndo ->undo, redo
7067
7068         * BufferView.h: document, remove dead, make some methods private
7069
7070         * paragraph_funcs.h:
7071         * paragraph_funcs.C:
7072         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7073
7074         * buffer.h:
7075         * buffer.C:
7076         * sgml.h:
7077         * sgml.C: move sgml open/close tag into sgml.C
7078
7079         * bufferview_funcs.h: unused prototype
7080
7081         * lyxfunc.h:
7082         * lyxfunc.C: remove unused
7083
7084         * lyxtext.h:
7085         * text.C: remove unused
7086
7087 2002-10-21  John Levon  <levon@movementarian.org>
7088
7089         * BufferView.h:
7090         * BufferView.C:
7091         * BufferView_pimpl.h:
7092         * BufferView_pimpl.C: fix mouse wheel handling based on
7093           patch from Darren Freeman
7094
7095 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
7096
7097         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7098
7099 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
7100
7101         * lyxlength.C (inPixels): Fix hanfling of negative length.
7102         Fix LyXLength::MU case.
7103
7104 2002-10-16  John Levon  <levon@movementarian.org>
7105
7106         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7107
7108 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7109
7110         * converter.C (view): add support for $$i (file name) and $$p
7111         (file path) for the viewer command. If $$i is not specified, then
7112         it is appended to the command (for compatibility with old syntax)
7113
7114 2002-10-14  Juergen Vigna  <jug@sad.it>
7115
7116         * undo_funcs.C (textHandleUndo): alter the order in which the
7117         new undopar is added to the LyXText, as we have to set first
7118         the right prev/next and then add it as otherwise the rebuild of
7119         LyXText is not correct. Also reset the cursor to the right paragraph,
7120         with this IMO we could remove the hack in "redoParagraphs()".
7121
7122 2002-10-09  Angus Leeming  <leeming@lyx.org>
7123
7124         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7125         to turn off an optimisation if a new inset is to be inserted.
7126
7127 2002-10-11 André Pönitz <poenitz@gmx.net>
7128
7129         * lyxtext.h: make some functions public to allow access
7130         from inset/lyxtext for handling LFUN_PRIOR/NEXT
7131
7132 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7133
7134         * text3.C (dispatch): when changing layout, avoid an infinite loop
7135         [bug #652]
7136
7137 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7138
7139         * lyxrc.C (read): treat a viewer or converter command of "none" as
7140         if it were empty.
7141
7142         * MenuBackend.C (expandFormats): for an update, also allow the
7143         formats that are not viewable
7144
7145         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7146         script if it is newer than the lyxrc.defaults in user directory
7147
7148 2002-10-07 André Pönitz <poenitz@gmx.net>
7149
7150         * text.C: Vitaly Lipatov's small i18n fix
7151
7152 2002-09-25  Angus Leeming  <leeming@lyx.org>
7153
7154         * ispell.h: doxygen fix.
7155
7156 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
7157
7158         * buffer.h (readFile): Add a new argument to the method, to allow
7159         reading of old-format templates.
7160
7161 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
7162
7163         * toc.C (getTocList): Get TOC from InsetWrap.
7164
7165 2002-09-16  John Levon  <levon@movementarian.org>
7166
7167         * lyxfunc.C: check tabular for cut/copy too
7168
7169 2002-09-12  John Levon  <levon@movementarian.org>
7170
7171         * LyXAction.C: tidy
7172
7173         * factory.h:
7174         * factory.C: add header
7175
7176         * paragraph_funcs.h:
7177         * paragraph_funcs.C: cleanup
7178
7179 2002-09-11  John Levon  <levon@movementarian.org>
7180
7181         * PrinterParams.h: odd/even default to true
7182
7183 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
7184
7185         * PrinterParams.h: update printer parameters for new xforms dialog
7186
7187 2002-09-11  Angus Leeming  <leeming@lyx.org>
7188
7189         * lyxserver.C (read_ready): re-write to make it more transparent
7190         and to make it work in coherent fashion under Tru64 Unix.
7191
7192 2002-09-11  André Pönitz <poenitz@gmx.net>
7193
7194         * commandtags.h:
7195         * LyXAction.C:
7196         * text3.C: implement LFUN_WORDSEL
7197
7198 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7199
7200         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7201         make floatlist_ a boost::shared_ptr<FloatList>
7202
7203         * lyxtextclass.C: include FloatList.h
7204         (LyXTextClass): initialize floatlist_
7205         (TextClassTags): add TC_NOFLOAT
7206         (Read): match "nofloat" to TC_NOFLOAT and use it.
7207         (readFloat): modify call to floatlist_
7208         (floats): ditto
7209         (floats): ditto
7210
7211         * FloatList.[Ch] (FloatList): remove commented out float
7212         initialization.
7213         (erase): new function
7214
7215 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7216
7217         * MenuBackend.C (expandToc): fix crash when there is no document
7218         open
7219
7220 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
7221
7222         * many files: Add insetwrap.
7223
7224 2002-09-09  John Levon  <levon@movementarian.org>
7225
7226         * text2.C: remove confusing and awkward depth wraparound
7227
7228 2002-09-09  John Levon  <levon@movementarian.org>
7229
7230         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7231
7232         * buffer.h:
7233         * buffer.C: remove getIncludeonlyList()
7234
7235         * paragraph.C:
7236         * lyxfunc.C: remove headers
7237
7238 2002-09-09  Juergen Vigna  <jug@sad.it>
7239
7240         * text.C (getColumnNearX): fix form Michael this is most
7241         probably a cut&paste bug.
7242
7243 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7244
7245         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7246
7247         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7248         references, ws changes.
7249
7250         * text2.C (init): update counters after init
7251         (insertParagraph): no need to set counter on idividual paragraphs.
7252         (setCounter): access the counters object in the textclass object
7253         on in the buffer object.
7254         (updateCounters): ditto
7255
7256         * lyxtextclass.C: include counters.h, add variable ctrs_ as
7257         shared_ptr<Counters> to avoid loading counters.h in all
7258         compilation units.
7259         (LyXTextClass): initialize ctrs_
7260         (TextClassTags): add TC_COUNTER, and ...
7261         (Read): use it here.
7262         (CounterTags): new tags
7263         (readCounter): new function
7264         (counters): new funtion
7265         (defaultLayoutName): return a const reference
7266
7267         * counters.C (Counters): remove contructor
7268         (newCounter): remove a couple of unneeded statements.
7269         (newCounter): simplify a bit.
7270         (numberLabel): some small formatting changes.
7271
7272         * buffer.[Ch]: remove all traces of counters, move the Counters
7273         object to the LyXTextClass.
7274
7275 2002-09-06  Alain Castera  <castera@in2p3.fr>
7276
7277         * tabular.C: uses \tabularnewline; uses >{...} construct from array
7278         package to set the horizontal alignment on fixed width columns.
7279
7280         * lyx_sty.C:
7281         * lyx_sty.h: added tabularnewline macro def.
7282
7283         * LaTeXFeatures.C: added NeedTabularnewline macro feature
7284
7285 2002-09-06  John Levon  <levon@movementarian.org>
7286
7287         * LyXAction.C: tooltips for sub/superscript
7288
7289         * MenuBackend.C: a bit more verbose
7290
7291         * lyxfunc.C: tiny clean
7292
7293         * undo_funcs.C: document undo_frozen
7294
7295 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7296
7297         * counters.C (Counters): add missing algorithm counter.
7298
7299         * text2.C (setCounter): lookup the counter with layouts latexname
7300         instead of by section number.
7301         (setCounter): use a hackish way to lookup the correct enum
7302         counter.
7303         a float name->type change
7304         reset enum couners with counter name directly instead of depth value.
7305
7306         * counters.C (Counters): remove the push_backs, change to use the
7307         float type not the float name.
7308         (labelItem): remove unused string, float name->type change
7309
7310         * counters.h: don't include vector, loose the enums and sects vectors
7311
7312 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7313
7314         * lyxtextclass.C (TextClassTags): add TC_FLOAT
7315         (Read): add float->TC_FLOAT to textclassTags
7316         (Read): and handle it in the switch
7317         (readFloat): new function
7318
7319         * FloatList.C (FloatList): comment out the hardcoded float
7320         definitions.
7321
7322         * lyxlayout.h: ws change.
7323
7324 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
7325
7326         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7327
7328 2002-09-03  Angus Leeming  <leeming@lyx.org>
7329
7330         * BufferView_pimpl.h: qualified name is not allowed in member
7331         declaration: WorkArea & Pimpl::workarea() const;
7332
7333         * factory.C: added using std::endl directive.
7334
7335         * text3.C: added using std::find and std::vector directives.
7336
7337 2002-08-29  André Pönitz <poenitz@gmx.net>
7338
7339         * lyxtext.h:
7340         * text2.C: remove unused member number_of_rows
7341
7342         * Makefile.am:
7343         * BufferView2.C: remove file, move contents to...
7344         * BufferView.C: ... here
7345
7346         * BufferView_pimpl.C:
7347         * factory.C: move more inset creation to factory
7348
7349         * vspace.C: avoid direct usage of LyXText, ws changes
7350
7351         * BufferView.[Ch]:
7352                 don't provide direct access to WorkArea, use two simple
7353                 acessors haveSelction() and workHeight() instead
7354
7355
7356 2002-08-29  John Levon  <levon@movementarian.org>
7357
7358         * BufferView_pimpl.C (dispatch): do not continue when
7359           no buffer
7360
7361 2002-08-28  André Pönitz <poenitz@gmx.net>
7362
7363         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7364
7365         * BufferView.h:
7366         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7367
7368 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
7369
7370         * buffer.C: increment LYX_FORMAT to 221
7371
7372         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7373         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7374
7375         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7376
7377         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7378
7379 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7380
7381         * factory.C (createInset): use LyXTextClass::floats
7382
7383         * MenuBackend.C (expandFloatListInsert):
7384         (expandFloatInsert):
7385         (expandToc):
7386
7387         * text2.C (setCounter):
7388
7389         * LaTeXFeatures.C (useFloat):
7390         (getFloatDefinitions):
7391
7392         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7393
7394         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7395         floatlist_, with accessor floats().
7396
7397         * FloatList.h: remove global FloatList
7398
7399 2002-08-26  André Pönitz <poenitz@gmx.net>
7400
7401         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7402
7403         * BufferView.h:
7404         * BufferView2.C:
7405         * BufferView_pimpl.C:
7406         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7407
7408 2002-08-25  John Levon  <levon@movementarian.org>
7409
7410         * LyXAction.C: fix margin note description
7411
7412 2002-08-24  John Levon  <levon@movementarian.org>
7413
7414         * buffer.C:
7415         * bufferlist.C:
7416         * bufferview_funcs.C:
7417         * lyxfont.C:
7418         * undo_funcs.C: cleanups
7419
7420         * lyxfunc.C: disable CUT/COPY when no selection
7421
7422 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
7423
7424         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7425         in "enum UNIT"; e.g. PTW for Percent of TextWidth
7426
7427         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7428         Add backward compatibility to "mono", "gray" and "no".
7429
7430 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
7431
7432         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7433         (and file_format >= 200).
7434
7435 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7436
7437         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7438
7439 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7440
7441         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7442
7443 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
7444
7445         * BufferView_pimpl.C:
7446         * LyXAction.C:
7447         * buffer.C:
7448         * commandtags.h:
7449         * lyxfunc.C:
7450         * paragraph.[Ch]:
7451         * text2.C:
7452         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7453         inset and code to make it  work with the paragraph code. The inset
7454         can be anywhere in the paragraph, but will only do the expected
7455         thing in LaTeX if the layout file contains the parameter line
7456                         OptionalArgs    1
7457         (or more generally, a nonzero value) for that layout.
7458
7459 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7460
7461         * paragraph.h: remove the declaration of undefined counters class
7462         function.
7463
7464 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
7465
7466         * text2.C (setCounter):  fixed enumeration mis-count as reported by
7467         Dr. Richard Hawkins.
7468
7469 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7470
7471         * paragraph_funcs.h: remove some unneeded includes
7472
7473         * text.C (backspace): pasteParagraph now in global scipe
7474
7475         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7476         (pasteSelection): ditto
7477
7478         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7479         * paragraph_funcs.C (pasteParagraph): ... here
7480
7481 2002-08-20  André Pönitz <poenitz@gmx.net>
7482
7483         * commandtags.h: new LFUNs for swapping/copying table row/colums
7484
7485         * LyXAction.C:
7486         * lyxfunc.C: support for new lfuns
7487
7488 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7489
7490         * tabular.C:
7491         * buffer.[Ch]: remove NO_COMPABILITY stuff
7492
7493 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
7494
7495         * boost.C (throw_exception): new file, with helper function for
7496         boost compiled without exceptions.
7497
7498         * paragraph.h:
7499         * lyxlength.C:
7500         * buffer.C:
7501         * ParameterStruct.h:
7502         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7503
7504         * bufferlist.C (emergencyWriteAll): use boost bind
7505
7506         * BufferView_pimpl.C (moveCursorUpdate): remove inline
7507
7508         * text.C: include paragraph_funcs.h
7509         (breakParagraph): breakParagraph is now in global scope
7510
7511         * paragraph_funcs.[Ch]: new files
7512
7513         * paragraph.C (breakParagraph,breakParagraphConservative): move to
7514         global scope
7515
7516         * buffer.C: include paragraph_funcs.h
7517         (insertStringAsLines): breakParagraph is now in global scope
7518
7519         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7520         paragraph_funcs.C
7521
7522         * CutAndPaste.C: include paragraph_funcs.h
7523         (cutSelection): breakParagraphConservative is now in global scope
7524         (pasteSelection): ditto
7525
7526         * buffer.h: declare oprator== and operator!= for
7527         Buffer::inset_iterator
7528
7529         * bufferlist.C (emergencyWrite): don't use fmt(...)
7530
7531         * text3.C: add using std::endl
7532
7533         * BufferView.C (moveCursorUpdate): remove default arg
7534
7535 2002-08-20  André Pönitz <poenitz@gmx.net>
7536
7537         * buffer.[Ch]: move inline functions to .C
7538
7539         * BufferView2.C:
7540         * BufferView_pimpl.C:
7541         * text.C:
7542         * buffer.[Ch]: use improved inset_iterator
7543
7544         * buffer.C:
7545         * paragraph.[Ch]: write one paragraph at a time
7546
7547 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
7548
7549         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7550         style if style is not specified.
7551
7552 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7553
7554         * text2.C (setCounter): when searching for right label for a
7555         caption, make sure to recurse to parent insets (so that a caption
7556         in a minipage in a figure float works) (bug #568)
7557
7558 2002-08-20  André Pönitz <poenitz@gmx.net>
7559
7560         * text3.C: new file for LyXText::dispatch() and helpers
7561
7562         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7563
7564         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7565
7566 2002-08-19  André Pönitz <poenitz@gmx.net>
7567
7568         * lyxtext.h:
7569         * text.C: new LyXText::dispatch()
7570
7571         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7572
7573 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
7574
7575         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7576
7577         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7578         Hebrew text.
7579
7580 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7581
7582         * Makefile.am: use $(variables) instead of @substitutions@
7583
7584 2002-08-15  André Pönitz <poenitz@gmx.net>
7585
7586         * lyxfunc.C:
7587         * BufferView_pimpl.C: streamlining mathed <-> outer world
7588         interaction
7589
7590         * commandtags.h:
7591         * LyXAction.C: remove unused LFUN_MATH
7592
7593 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7594
7595         * paragraph.[Ch]: add some NO_NEXT ifdefs.
7596
7597 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7598
7599         * paragraph.C (Paragraph): reformat a bit
7600         (cutIntoMinibuffer): use builtin InsetList function instad of
7601         doing it manually.
7602         (getInset): ditto
7603
7604         * buffer.C: include boost/bind.hpp, add using std::for_each
7605         (writeFileAscii): use ParagraphList iterators
7606         (validate): use for_each for validate traversal of paragraphs
7607         (getBibkeyList): use ParagraphList iterators
7608         (resizeInsets): use for_each to resizeInsetsLyXText for all
7609         paragraphs.
7610         (getParFromID): use ParagraphList iterators
7611
7612         * BufferView2.C (lockInset): use paragraph list and iterators
7613
7614 2002-08-14  John Levon  <levon@movementarian.org>
7615
7616         * lyxserver.C: remove spurious xforms include
7617
7618 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7619
7620         * lyxfunc.C (getStatus): disable math-extern outside of math mode
7621
7622 2002-08-13  André Pönitz <poenitz@gmx.net>
7623
7624         * LyXAction.[Ch]:
7625         * lyxfunc.C: further cleaning
7626
7627 2002-08-13  André Pönitz <poenitz@gmx.net>
7628
7629         * funcrequest.h: new constructor
7630
7631         * funcrequest.C: move stuff here from .h
7632
7633         * Makefile.am:
7634         * BufferView_pimpl.C:
7635         * LyXAction.C:
7636         * toc.C:
7637         * lyxfunc.C: subsequent changes
7638
7639         * lyxfunc.h: new view() member function
7640
7641         * lyxfunc.C: subsequent changes
7642
7643 2002-08-13  Angus Leeming  <leeming@lyx.org>
7644
7645         * BufferView2.C:
7646         * BufferView_pimpl.C:
7647         * buffer.C:
7648         * converter.C:
7649         * importer.C:
7650         * lyxfunc.C:
7651         * lyxvc.C:
7652         * toc.C:
7653         * vc-backend.C:
7654         changes due to the changed LyXView interface that now returns references
7655         to member variables not pointers.
7656
7657 2002-08-13  Angus Leeming  <leeming@lyx.org>
7658
7659         * WordLangTuple (word, lang_code): return references to strings,
7660         not strings.
7661
7662         * BufferView.h:
7663         * SpellBase.h:
7664         * lyxtext.h: forward-declare WordLangTuple.
7665
7666         * BufferView2.C:
7667         * ispell.C:
7668         * pspell.C:
7669         * text.C: #include "WordLangTuple.h".
7670
7671         * lyxtext.h:
7672         * text.C: (selectNextWordToSpellcheck): constify return type.
7673
7674 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
7675
7676         * buffer.C:
7677         * buffer.h:
7678         * lyxtext.h:
7679         * paragraph.C:
7680         * paragraph_pimpl.h:
7681         * text.C:
7682         * text2.C:
7683         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7684         suggested by Angus.
7685         Made updateCounter always count from start of buffer, and removed
7686         second argument (par).
7687         Reverted floats number display to '#'. Perhaps I'll try again when the
7688         code base is sanitized a bit.
7689
7690 2002-08-12  Angus Leeming  <leeming@lyx.org>
7691
7692         * buffer.[Ch] (getLabelList): constify.
7693
7694 2002-08-07  André Pönitz <poenitz@gmx.net>
7695
7696         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7697
7698         * funcrequest.h: extension to keep mouse (x,y) position
7699
7700 2002-08-12  Juergen Vigna  <jug@sad.it>
7701
7702         * BufferView2.C (insertErrors): forbid undo when inserting error
7703         insets.
7704
7705         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7706
7707 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7708
7709         * ParagraphList.[Ch]: new files
7710
7711         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7712
7713         * BufferView2.C (lockInset): ParagraphList changes
7714         * toc.C: ditto
7715         * text2.C: ditto
7716         * bufferlist.C: ditto
7717         * buffer.h: ditto
7718         * buffer.C: ditto
7719
7720 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7721
7722         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7723         unused class variable counter_,
7724
7725         * paragraph.[Ch] (getFirstCounter): delete unused function
7726
7727         * counters.C: include LAssert.h
7728         (reset): add a new function with no arg, change other version to
7729         not have def. arg and to not allow empty arg.
7730
7731         * text2.C (setCounter): remove empty arg from call to Counters::reset
7732
7733 2002-08-11  John Levon  <levon@movementarian.org>
7734
7735         * Makefile.am: add WordLangTuple.h
7736
7737 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7738
7739         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7740         lyxfunc.C lyxlex_pimpl.C: ws changes only.
7741
7742         * insets/insettext.C: InsetList changes
7743
7744         * graphics/GraphicsSupport.C (operator()): InsetList changes
7745
7746         * toc.C (getTocList): InsetList changes
7747
7748         * paragraph_pimpl.[Ch]: InsetList changes
7749
7750         * paragraph.[Ch]: InsetList changes
7751
7752         * buffer.C (inset_iterator): InsetList changes
7753         (setParagraph): ditto
7754         * buffer.h (inset_iterator): ditto
7755         * iterators.C (operator++): ditto
7756         * iterators.h: ditto
7757
7758         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7759
7760         * InsetList.[Ch]: new files, most InsetList handling moved out of
7761         paragraph.C.
7762
7763         * BufferView2.C (removeAutoInsets): InsetList changes
7764         (lockInset): ditto
7765         (ChangeInsets): ditto
7766
7767 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7768
7769         * paragraph_pimpl.h (empty): new function
7770
7771         * paragraph.[Ch] (empty): new function
7772
7773         * other files: use the new Paragraph::empty function
7774
7775 2002-08-09  John Levon  <levon@movementarian.org>
7776
7777         * lyxtext.h: remove unused refresh_height
7778
7779 2002-08-09  John Levon  <levon@movementarian.org>
7780
7781         * Makefile.am:
7782         * sgml.h:
7783         * sgml.C:
7784         * buffer.C:
7785         * paragraph.h:
7786         * paragraph.C: move sgml char escaping out of paragraph
7787
7788         * paragraph.h:
7789         * paragraph.C: remove id setter
7790
7791         * buffer.C:
7792         * paragraph.C:
7793         * paragraph_pimpl.C: remove dead tex_code_break_column
7794
7795         * bufferview_funcs.C: small cleanup
7796
7797         * lyxfunc.C: remove dead proto
7798
7799         * lyxtext.h: make some stuff private. Remove some dead stuff.
7800
7801         * lyxgluelength.C: make as[LyX]String() readable
7802
7803 2002-08-08  John Levon  <levon@movementarian.org>
7804
7805         * LyXAction.h:
7806         * LyXAction.C:
7807         * MenuBackend.C:
7808         * ToolbarDefaults.C:
7809         * lyxfunc.C:
7810         * lyxrc.C:
7811         * toc.C: lyxaction cleanup
7812
7813 2002-08-08  John Levon  <levon@movementarian.org>
7814
7815         * BufferView2.C: small cleanup
7816
7817         * lyxfind.h:
7818         * lyxfind.C: move unnecessary header into the .C
7819
7820 2002-08-08  John Levon  <levon@movementarian.org>
7821
7822         * funcrequest.h: just tedious nonsense
7823
7824         * lyx_main.h:
7825         * lyx_main.C: cleanups
7826
7827         * buffer.C:
7828         * vspace.C: remove dead header lyx_main.h
7829
7830 2002-08-07  Angus Leeming  <leeming@lyx.org>
7831
7832         * Paragraph.[Ch]:
7833         * paragraph_pimpl.h:
7834         Forward declare class Counters in paragraph.h by moving the ctrs member
7835         variable into Paragraph::Pimpl.
7836         (counters): new method, returning a reference to pimpl_->ctrs.
7837
7838         * text2.C: ensuing changes.
7839
7840 2002-08-07  John Levon  <levon@movementarian.org>
7841
7842         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7843
7844         * BufferView_pimpl.C: announce X selection on double/triple
7845           click
7846
7847         * lyx_main.C: use correct bool in batch dispatch
7848
7849         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7850
7851 2002-08-07  André Pönitz <poenitz@gmx.net>
7852
7853         * funcrequest.h: new class to wrap a kb_action and its argument
7854
7855         * BufferView.[Ch]:
7856         * BufferView_pimpl[Ch]:
7857         * LaTeX.C:
7858         * LyXAction.[Ch]:
7859         * lyxfunc.[Ch]:
7860         * lyxrc.C: subsequent changes
7861
7862
7863 2002-08-07  John Levon  <levon@movementarian.org>
7864
7865         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7866           document options change.
7867
7868 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7869
7870         * counters.[Ch]
7871         * text2.C
7872         * paragraph.[Ch]
7873         * makefile.am: move counters functionality over from
7874         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7875
7876 2002-08-06  John Levon  <levon@movementarian.org>
7877
7878         * WordLangTuple.h: new file for word + language code tuple
7879
7880         * SpellBase.h:
7881         * pspell.h:
7882         * pspell.C:
7883         * ispell.h:
7884         * ispell.C:
7885         * lyxtext.h:
7886         * text.C:
7887         * text2.C:
7888         * BufferView.h:
7889         * BufferView2.C: use WordLangTuple
7890
7891         * layout.h:
7892         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7893
7894 2002-08-06  John Levon  <levon@movementarian.org>
7895
7896         * lyx_main.C: fix cmdline batch handling
7897
7898 2002-08-06  André Pönitz <poenitz@gmx.net>
7899
7900         * lyxrc.C: set default for show_banner to true
7901
7902 2002-08-06  John Levon  <levon@movementarian.org>
7903
7904         * pspell.C: fix a crash, and allow new aspell to work
7905
7906 2002-08-06  John Levon  <levon@movementarian.org>
7907
7908         * lyxfunc.C:
7909         * kbmap.C: small cleanup
7910
7911         * vspace.h:
7912         * vspace.C: add const
7913
7914 2002-08-05  John Levon  <levon@movementarian.org>
7915
7916         * LyXAction.C: back to tabular-insert
7917
7918 2002-08-04  John Levon  <levon@movementarian.org>
7919
7920         * BufferView.h:
7921         * BufferView.C: cosmetic change
7922
7923         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7924
7925         * bufferlist.C:
7926         * buffer.h:
7927         * buffer.C:
7928         * lyxcb.h:
7929         * lyxcb.C:
7930         * lyxserver.C:
7931         * lyxvc.C:
7932         * vc-backend.C:
7933         * BufferView2.C: purge all "Lyx" not "LyX" strings
7934
7935         * lyxcursor.h:
7936         * lyxcursor.C: attempt to add some documentation
7937
7938         * lyxfunc.C:
7939         * commandtags.h:
7940         * LyXAction.C:
7941         * ToolbarDefaults.C:
7942         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7943           merge with LFUN_TABULAR_INSERT
7944
7945         * Makefile.am:
7946         * SpellBase.h:
7947         * ispell.h:
7948         * ispell.C:
7949         * pspell.h:
7950         * pspell.C: split up i/pspell implementations into separate
7951           files, many cleanups
7952
7953         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7954
7955         * text2.C: some cleanup
7956
7957         * lyxfunc.C: don't check for isp_command == "none" any more, it
7958           didn't make any sense
7959
7960 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
7961
7962         * counters.[Ch]
7963         * text2.C
7964         * paragraph.[Ch]
7965         * makefile.am: move counters functionality over
7966         from text2.C/paragraph.[Ch] to counters.[Ch], and
7967         make proper C++.
7968 2002-08-02  John Levon  <levon@movementarian.org>
7969
7970         * buffer.C: s/lyxconvert/lyx2lyx/
7971
7972 2002-08-02  Angus Leeming  <leeming@lyx.org>
7973
7974         * lyxlex.C: revert John's change as it breaks reading of the user
7975         preamble.
7976
7977 2002-08-02  Angus Leeming  <leeming@lyx.org>
7978
7979         * importer.C (Import):
7980         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7981         changes due to LyXView::view() now returning a boost::shared_ptr.
7982
7983 2002-08-02  John Levon  <levon@movementarian.org>
7984
7985         * lyxlex.C: small cleanup
7986
7987 2002-08-02  John Levon  <levon@movementarian.org>
7988
7989         * text2.C (status): small cleanup, no logic change
7990
7991 2002-08-01  John Levon  <levon@movementarian.org>
7992
7993         * buffer.h:
7994         * buffer.C (writeFile): don't output alerts, caller
7995           handles this
7996
7997         * bufferlist.C:
7998         * lyx_cb.C: from above
7999
8000         * lyxfunc.C: allow to open non-existent files
8001
8002 2002-07-31  John Levon  <levon@movementarian.org>
8003
8004         * lyxserver.C: don't let incidental errors get
8005           in the way (errno)
8006
8007 2002-07-30  John Levon  <levon@movementarian.org>
8008
8009         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8010
8011 2002-07-30  John Levon  <levon@movementarian.org>
8012
8013         * lyxserver.h:
8014         * lyxserver.C: remove I/O callback too
8015
8016 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8017
8018         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8019         log.
8020
8021 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8022
8023         * many files: strip,frontStrip -> trim,ltrim,rtrim
8024
8025 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8026
8027         * PrinterParams.h: remove extern containsOnly, and include
8028         support/lstrings.h instead.
8029
8030         * LaTeX.C (scanAuxFile): modify because of strip changes
8031         (deplog): ditto
8032         * buffer.C (makeLaTeXFile): ditto
8033         * bufferparams.C (writeFile): ditt
8034         * lyxfont.C (stateText): ditto
8035         * lyxserver.C (read_ready): ditto
8036         * vc-backend.C (scanMaster): ditto
8037
8038         * BufferView_pimpl.h: ws changes
8039
8040         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8041
8042 2002-07-26  André Pönitz <poenitz@gmx.net>
8043
8044         * kb_sequence.C: remove unnedred usings
8045
8046 2002-07-26  Juergen Vigna  <jug@sad.it>
8047
8048         * lyxfind.C (LyXReplace): we have to check better if the returned
8049         text is not of theLockingInset()->getLockingInset().
8050
8051 2002-07-25  Juergen Vigna  <jug@sad.it>
8052
8053         * lyxfind.C (LyXReplace): don't replace if we don't get the
8054         right LyXText.
8055
8056         * undo_funcs.C (createUndo): remove debugging code.
8057
8058 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
8059
8060         * buffer.C (parseSingleLyXformat2Token): Use default placement
8061         when reading old floats.
8062
8063         * FloatList.C (FloatList): Change the default placement of figure
8064         and tables to "tbp".
8065
8066 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
8067
8068         * MenuBackend.C: using std::max
8069
8070 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8071
8072         * MenuBackend.C (expandToc):
8073         (expandToc2): code moved from xforms menu frontend. It is now
8074         generic and TOCs are transparent to menu frontends.
8075
8076 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8077
8078         * toc.C (getTocList): protect against buf=0
8079
8080         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8081         Menu as first parameter. Now, this calls itself recursively to
8082         expand a whole tree (this will be useful for TOC handling)
8083         (expandFloatInsert): remove 'wide' version of floats
8084
8085         * MenuBackend.h (submenuname): returns the name of the submenu.
8086         (submenu): returns the submenu itself, provided it has been
8087         created by MenuBackend::expand
8088
8089 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8090
8091         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8092         insets which have noFontChange == true. (bug #172)
8093
8094 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8095
8096         * BufferView_pimpl.C: add connection objects and use them...
8097         (Pimpl): here.
8098
8099 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8100
8101         * MenuBackend.C (expandLastfiles):
8102         (expandDocuments):
8103         (expandFormats):
8104         (expandFloatListInsert):
8105         (expandFloatInsert):
8106         (expand): split expand in parts
8107
8108 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8109
8110         * lyx_gui.C: use lyx_gui::exit()
8111
8112 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8113
8114         * LyXAction.C: show the failing pseudo action
8115
8116 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
8117
8118         * buffer.C (readFile): Run the lyxconvert script in order to read
8119         old files.
8120
8121 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8122
8123         * LyXAction.C:
8124         * commandtags.h:
8125         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8126
8127 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8128
8129         * LyXAction.C:
8130         * commandtags.h:
8131         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8132
8133 2002-07-22  Herbert Voss  <voss@lyx.org>
8134
8135         * lengthcommon.C:
8136         * lyxlength.[Ch]: add support for the vertical lengths
8137
8138 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
8139
8140         * toc.[Ch]: std:: fixes
8141
8142 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8143
8144         * lyxrc.C: do not include lyx_main.h
8145
8146         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8147         for layouts
8148
8149         * lyxrc.C:
8150         * encoding.C:
8151         * bufferlist.C:
8152         * BufferView2.C: include "lyxlex.h"
8153
8154         * tabular.h:
8155         * bufferparams.h: do not #include "lyxlex.h"
8156
8157         * lyxtextclasslist.C (Add): remove method
8158         (classlist): renamed to classlist_
8159
8160         * paragraph_pimpl.C:
8161         * paragraph.C:
8162         * text2.C:
8163         * CutAndPaste.C:
8164         * bufferview_funcs.C:
8165         * bufferlist.C:
8166         * text.C:
8167         * LaTeXFeatures.C:
8168         * buffer.C:
8169         * toc.C (getTocList): use BufferParams::getLyXTextClass
8170
8171         * toc.C (getTocList): use InsetFloat::addToToc
8172
8173         * toc.[Ch]: new files, containing helper functions to handle table
8174         of contents
8175
8176         * lyxfunc.C (dispatch): no need to remove spaces around command
8177         given as a string
8178         (getStatus): handle LFUN_SEQUENCE by returning the status of the
8179         first command of the sequence; it is not very clever, but I do not
8180         have a better idea, actually
8181
8182         * LyXAction.C (LookupFunc): make sure to remove space at the
8183         beginning and end of the command
8184
8185 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8186
8187         * MenuBackend.C (getMenubar): new method: return the menubar of
8188         this menu set
8189         (read): treat differently reading of menu and menubar (in
8190         particular, the menubar has no name now)
8191         (Menu::menubar): remove
8192
8193         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8194         saving is finished
8195
8196 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8197
8198         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8199         a bibitem inset in a RTL paragraph.
8200
8201 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
8202
8203         * paragraph_pimpl.C: constify
8204
8205         * BufferView_pimpl.C:
8206         * LaTeX.C:
8207         * lyxfunc.C: fix dispatch in a nicer way
8208
8209 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8210
8211         * lyxfunc.C (dispatch):
8212         * BufferView_pimpl.C:
8213         * BufferView_pimpl.h:
8214         * BufferView.C:
8215         * BufferView.h: rename Dispatch() to dispatch()
8216
8217         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8218
8219         * lyxlayout.C (Read): honor DependsOn tag
8220
8221         * lyxlayout.[Ch] (depends_on): new method
8222
8223         * version.C.in: update lyx_docversion
8224
8225         * LaTeXFeatures.C (getMacros): only define \LyX when needed
8226
8227         * paragraph.C (validate): remove from here...
8228         * paragraph_pimpl.C (validate): ... and move here
8229         (isTextAt): make it const
8230
8231         * buffer.C (getLists): ws cleanup
8232
8233 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8234
8235         * language.C (read): Use iso8859-1 encoding in latex_lang
8236         (this prevents LyX from crashing when using iso10646-1 encoding).
8237
8238 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8239
8240         * text2.C (toggleInset): if cursor is inside an inset, close the
8241         inset and leave cursor _after_ it
8242
8243 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8244
8245         * lyxfunc.C: move minibuffer completion handling out of here
8246
8247 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8248
8249         * BufferView_pimpl.C:
8250         * LaTeX.C: fix dispatch calls
8251
8252 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
8253
8254         * text.C (drawChars): Fix Arabic text rendering.
8255
8256 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
8257
8258         * LyXAction.C:
8259         * commandtags.h:
8260         * lyxfunc.C: remove message-push/pop
8261
8262         * lyxserver.C:
8263         * lyxfunc.h:
8264         * lyxfunc.C: rationalise some code by removing verboseDispatch
8265           in favour of a bool argument to dispatch()
8266
8267 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8268
8269         * lyx_main.C (init): make sure to read symlinks as absolute paths
8270
8271 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8272
8273         * lyxfunc.h:
8274         * lyxfunc.C: no need for commandshortcut to be a member
8275
8276 2002-07-15  André Pönitz <poenitz@gmx.net>
8277
8278         * converter.C: add support for $$s (scripts from lib/scripts dir)
8279         * lyx_main.C: white space
8280
8281 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8282
8283         * bufferlist.C:
8284         * lyxrc.h:
8285         * lyxrc.C: remove second exit confirmation
8286
8287 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8288
8289         * BufferView.h:
8290         * BufferView.C:
8291         * BufferView2.C:
8292         * BufferView_pimpl.h:
8293         * BufferView_pimpl.C:
8294         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8295
8296 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8297
8298         * MenuBackend.C (expand): add numeric shortcuts to document menu
8299
8300         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8301
8302 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8303
8304         * lyxfont.C (setLyXFamily):
8305         (setLyXSeries):
8306         (setLyXShape):
8307         (setLyXSize):
8308         (setLyXMisc):
8309         (lyxRead):
8310         * debug.C (value):
8311         * buffer.C (asciiParagraph): use ascii_lowercase
8312
8313 2002-07-15  Mike Fabian  <mfabian@suse.de>
8314
8315         * lyxlex_pimpl.C (search_kw):
8316         * lyxlex.C (getLongString):
8317         * converter.h (operator<):
8318         * converter.C (operator<):
8319         * buffer.C (parseSingleLyXformat2Token):
8320         (asciiParagraph):
8321         * ToolbarDefaults.C (read):
8322         * MenuBackend.C (checkShortcuts):
8323         (read):
8324         * LColor.C (getFromGUIName):
8325         (getFromLyXName): use the compare_ascii_no_case instead of
8326         compare_no_case, because in turkish, 'i' is not the lowercase
8327         version of 'I', and thus turkish locale breaks parsing of tags.
8328
8329 2002-07-16  Angus Leeming  <leeming@lyx.org>
8330
8331         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8332         now takes a Buffer const & argument.
8333
8334 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
8335
8336         * BufferView.C (resize): check there's a buffer to resize
8337
8338 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
8339
8340         * lyxfunc.C: remove dead code
8341
8342         * lyxserver.h:
8343         * lyxserver.C: use lyx_guii::set_read_callback
8344
8345 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
8346
8347         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8348         an inset in a RTL paragraph.
8349
8350 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8351
8352         * lyxfunc.C: repaint after a font size update
8353
8354 2002-07-15  André Pönitz <poenitz@gmx.net>
8355
8356         * lyxlength.C: inBP should be able to return negative values
8357
8358 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8359
8360         * lyxfunc.C: use lyx_gui::update_fonts()
8361
8362 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8363
8364         * lyxfunc.C: use lyx_gui::update_color()
8365
8366 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8367
8368         * bufferlist.C:
8369         * lyxfunc.h:
8370         * lyxfunc.C:
8371         * lyxrc.h:
8372         * lyxrc.C: remove file->new asks for name option, and let
8373           buffer-new take an argument
8374
8375 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8376
8377         * BufferView_pimpl.C: remove unneeded extra repaint()
8378
8379 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
8380
8381         * LyXAction.C: allow command-sequence with NoBuffer
8382
8383         * lyxfunc.C: don't insist on trailing ';' for command-sequence
8384
8385 2002-07-10  Angus Leeming  <leeming@lyx.org>
8386
8387         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8388
8389 2002-07-09  Angus Leeming  <leeming@lyx.org>
8390
8391         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8392
8393 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8394
8395         * lengthcommon.h: whitespace
8396
8397         * lyxfunc.C: update scrollbar after goto paragraph
8398
8399         * lyxtext.h: factor out page break drawing, and fix it so
8400           page break/added space paints as selected nicely
8401
8402 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8403
8404         * BufferView_pimpl.C: add FIXMEs, clean up a little
8405
8406 2002-07-09  André Pönitz <poenitz@gmx.net>
8407
8408         * lyxfont.[Ch]: support for wasy symbols
8409
8410 2002-07-08  André Pönitz <poenitz@gmx.net>
8411
8412         * BufferView_pimpl.C: apply John's patch for #93.
8413
8414 2002-07-05  Angus Leeming  <leeming@lyx.org>
8415
8416         * BufferView_pimpl.C (buffer): generate previews if desired.
8417
8418         * LColor.h: add "preview" to the color enum.
8419
8420         * LColor.C (LColor): add a corresponding entry to the items array.
8421
8422         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8423         with this buffer.
8424
8425 2002-07-05  Angus Leeming  <leeming@lyx.org>
8426
8427         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8428         The body of the code is now in the method that is passed an ostream &
8429         rather than a file name.
8430         Pass an additional only_preamble parameter, useful for the forthcoming
8431         preview stuff.
8432
8433 2002-07-03  André Pönitz <poenitz@gmx.net>
8434
8435         * lyxfunc.C: simplify getStatus() a bit for math stuff
8436
8437 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8438
8439         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8440
8441 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8442
8443         * text.C (changeRegionCase): do not change case of all the
8444         document when region ends at paragraph end (bug #461)
8445
8446 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8447
8448         * paragraph.C (startTeXParParams):
8449         (endTeXParParams): add \protect when necessary
8450
8451 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8452
8453         * BufferView_pimpl.C (workAreaExpose): remove warning
8454
8455 2002-06-27  Angus Leeming  <leeming@lyx.org>
8456
8457         * Makefile.am: add lyxlayout_ptr_fwd.h.
8458
8459 2002-06-26  André Pönitz <poenitz@gmx.net>
8460
8461         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8462
8463 2002-06-25  Angus Leeming  <leeming@lyx.org>
8464
8465         * lyxfunc.C (dispatch): Comment out the call to
8466         grfx::GCache::changeDisplay. The method no longer exists now that the
8467         pixmap generation part of the graphics loader has been moved into
8468         InsetGraphics.
8469
8470 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8471
8472         * text2.C: layout as layout
8473
8474         * text.C: layout as layout
8475
8476         * tabular.C (OldFormatRead): layout as layout
8477
8478         * paragraph_pimpl.C (TeXDeeper): layout as layout
8479         (realizeFont): layout as layout
8480
8481         * paragraph.C (writeFile): layout as layout
8482         (validate): layout as layout
8483         (getFont): layout as layout
8484         (getLabelFont): layout as layout
8485         (getLayoutFont): layout as layout
8486         (breakParagraph): layout as layout
8487         (stripLeadingSpaces): layout as layout
8488         (getEndLabel): layout as layout
8489         (getMaxDepthAfter): layout as layout
8490         (applyLayout): layout as layout
8491         (TeXOnePar): layout as layout
8492         (simpleTeXOnePar): layout as layout
8493         (TeXEnvironment): layout as layout
8494         (layout): layout as layout
8495         (layout): layout as layout
8496
8497         * lyxtextclass.C (compare_name): new functor to work with
8498         shared_ptr, layout as layout
8499         (Read): layout as layout
8500         (hasLayout): layout as layout
8501         (operator): layout as layout
8502         (delete_layout): layout as layout
8503         (defaultLayout): layout as layout
8504
8505         * lyxlayout_ptr_fwd.h: new file
8506
8507         * lyxlayout.C (Read): layout as layout
8508
8509         * lyx_cb.C (MenuInsertLabel): layout as layout
8510
8511         * bufferlist.C (newFile): layout as layout
8512
8513         * buffer.C (readLyXformat2): layout as layout
8514         (parseSingleLyXformat2Token): layout as layout
8515         (insertStringAsLines): layout as layout
8516         (asciiParagraph): layout as layout
8517         (latexParagraphs): layout as layout
8518         (makeLinuxDocFile): layout as layout
8519         (simpleLinuxDocOnePar): layout as layout
8520         (makeDocBookFile): layout as layout
8521         (simpleDocBookOnePar): layout as layout
8522         (getLists): layout as layout
8523
8524         * LaTeXFeatures.C (getTClassPreamble): layout as layout
8525
8526         * CutAndPaste.C (cutSelection): layout as layout
8527         (pasteSelection): layout as layout
8528         (SwitchLayoutsBetweenClasses): layout as layout
8529
8530         * BufferView_pimpl.C (Dispatch): layout as layout
8531         (smartQuote): layout as layout
8532
8533         * BufferView2.C (unlockInset): layout as layout
8534
8535 2002-06-24  André Pönitz <poenitz@gmx.net>
8536
8537         * lyxfunc.C: fix #487
8538
8539 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8540
8541         * lyxrc.h:
8542         * lyxrc.C:
8543         * lyxfunc.C: remove display_shortcuts, show_banner
8544
8545 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8546
8547         * Buffer_pimpl.C: oops, update on resize
8548
8549 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8550
8551         * buffer.C:
8552         * converter.C:
8553         * exporter.C:
8554         * lyxfunc.C:
8555         * BufferView.h:
8556         * BufferView.C: use repaint()
8557
8558         * BufferView_pimpl.h:
8559         * BufferView_pimpl.C: s/updateScreen()/repaint()/
8560           as it's a clearer description. Remove superfluous
8561           redraws.
8562
8563 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8564
8565         * text.C: fix bug 488. Not ideal, but getting
8566           getWord() to work properly for the insets that
8567           matter is more difficult ...
8568
8569 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8570
8571         * BufferView_pimpl.C:
8572         * LyXAction.C:
8573         * commandtags.h:
8574         * lyxfunc.C: remove the six million index lyxfuncs to just
8575           one, and DTRT (bug 458)
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: clean up resize() stuff,
8583           and unnecessary updateScreen()s
8584
8585 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8586
8587         * BufferView.h:
8588         * BufferView.C:
8589         * BufferView_pimpl.h:
8590         * BufferView_pimpl.C:
8591         * lyxfind.h:
8592         * lyxfind.C:
8593         * minibuffer.C: remove focus management of workarea,
8594           not needed. Use screen's greyOut()
8595
8596 2002-06-17  Herbert Voss  <voss@lyx.org>
8597
8598         * converter.C: (convert) do not post a message, when converting
8599         fails, let the calling function decide what to do in this case
8600
8601 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
8602
8603         * lyxfunc.C: tidy up a little
8604
8605 2002-06-16    <alstrup@diku.dk>
8606
8607         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8608         Got rid of FORMS_H_LOCATION include. Now we are
8609         GUII.
8610
8611 2002-06-15  LyX Development team  <lyx@rilke>
8612
8613         * buffer.[Ch] (sgmlOpenTag):
8614         (sgmlCloseTag): Added support for avoiding pernicious mixed
8615         content. Return number of lines written.
8616
8617         (makeLinuxDocFile):
8618         (makeDocBookFile): Fixed calls to sgml*Tag.
8619         Simple white space clean.
8620
8621         (simpleDocBookOnePar): Simple white space clean.
8622
8623         * tabular.[Ch] (docBook): Renamed to docbook and got another
8624         argument to related with the pernicious mixed content.
8625
8626         (docbookRow): Fixed calls for docbook inset method.
8627
8628 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
8629
8630         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8631         so it's X11 independent.
8632
8633         * kb*.[Ch]: ditto.
8634
8635         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8636
8637 2002-06-15  Lyx Development team  <lyx@electronia>
8638
8639         * intl.h: Renamed getTrans to getTransManager.
8640
8641 2002-06-14  Angus Leeming  <leeming@lyx.org>
8642
8643         * Makefile.am: nuke forgotten stl_string_fwd.h.
8644
8645 2002-06-12  Angus Leeming  <leeming@lyx.org>
8646
8647         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8648
8649 2002-06-13  Angus Leeming  <leeming@lyx.org>
8650
8651         * LaTeX.C:
8652         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8653
8654 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
8655
8656         * kbmap.C (getiso): add support for cyrillic and greek
8657
8658 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8659
8660         * BufferView.h:
8661         * BufferView.C:
8662         * BufferView_pimpl.h:
8663         * BufferView_pimpl.C: move bogus scrolling logic
8664           to xforms
8665
8666 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8667
8668         * lyxfunc.C:
8669         * BufferView_pimpl.C: view->resize() change
8670
8671 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8672
8673         * BufferView_pimpl.C: topCursorVisible
8674           prototype change
8675
8676 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8677
8678         * Makefile.am:
8679         * lyx_gui.h:
8680         * lyx_gui.C: move to frontends/
8681
8682         * main.C:
8683         * lyx_main.h:
8684         * lyx_main.C: changes from above
8685
8686 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8687
8688         * intl.C:
8689         * intl.h:
8690         * kbmap.C:
8691         * kbsequence.C:
8692         * lyx_cb.C:
8693         * lyx_main.C: minor tidy
8694
8695 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8696
8697         * BufferView_pimpl.h:
8698         * BufferView_pimpl.C:
8699         * BufferView.h:
8700         * BufferView.C: make painter() const,
8701           remove dead code
8702
8703         * BufferView2.C: use screen() accessor
8704
8705         * lyx_main.h:
8706         * lyx_main.C: some minor cleanup
8707
8708 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8709
8710         * BufferView_pimpl.h:
8711         * BufferView_pimpl.C: remove enter/leaveView,
8712           use workHeight()
8713
8714 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8715
8716         * BufferView.h:
8717         * BufferView.C:
8718         * BufferView2.C:
8719         * BufferView_pimpl.h:
8720         * BufferView_pimpl.C: only construct screen once,
8721           rename
8722
8723         * lyxrc.C: remove pointless comment
8724
8725 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8726
8727         * BufferView.h:
8728         * BufferView.C: remove active() and belowMouse()
8729
8730         * BufferView_pimpl.h:
8731         * BufferView_pimpl.C: use workarea() not workarea_,
8732           and make it use a scoped_ptr instead
8733
8734 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8735
8736         * lyx_gui.C: add debug message on BadWindow
8737
8738 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8739
8740         * sp_spell.C: fdopen is not part of the C++ standard.
8741
8742         * paragraph.C (InsetIterator): use >= instead of ==
8743
8744 2002-06-07  Angus Leeming  <leeming@lyx.org>
8745
8746         Fixes needed to compile with Compaq cxx 6.5.
8747         * BufferView_pimpl.C:
8748         * DepTable.C:
8749         * buffer.C:
8750         * converter.C:
8751         * encoding.C:
8752         * lyx_gui.C:
8753         * lyx_main.C:
8754         * lyxtextclasslist.C:
8755         * minibuffer.C:
8756         * sp_spell.C:
8757         * tabular_funcs.C:
8758         * vc-backend.C:
8759         all c-library variables have been moved into namespace std. Wrap
8760         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8761
8762         * lyxlength.C:
8763         * tabular-old.C:
8764         * tabular.C:
8765         Add a using std::abs declaration.
8766
8767         * kbmap.h (modifier_pair):
8768         * paragraph.h (InsetTable, InsetList):
8769         * lyxfont.h (FontBits):
8770         type definition made public.
8771
8772         * bufferlist.C (emergencyWriteAll): the compiler complains that
8773         there is more than one possible lyx::class_fun template to choose from.
8774         I re-named the void specialisation as lyx::void_class_fun.
8775
8776         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8777
8778         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8779         the compiler is is unable to find tostr in write_attribute.
8780
8781 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8782
8783         * buffer.C (sgmlError): hide #warning
8784
8785 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8786
8787         * xtl/*: get rid of xtl, which is not in use anyway
8788
8789         * LyXAction.C (init):
8790         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8791         were unimplemented xtl experimentation
8792
8793 2002-06-04  André Pönitz <poenitz@gmx.net>
8794
8795         * lyxfunc.C: disable array operation on simple formulae
8796
8797 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
8798
8799         * converter.C: constify a bit
8800
8801 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
8802
8803         * lyx_gui.C: check xforms version correctly
8804
8805 2002-04-30  Herbert Voss  <voss@lyx.org>
8806
8807         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8808         "keep" option
8809
8810 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
8811
8812         * lyxvc.C: fix bug 416 (make sure buffer is saved before
8813           attempt to register it with a VCS)
8814
8815 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8816
8817         * lyx_main.C (init): honor variables LYX_DIR_13x and
8818         LYX_USERDIR_13x
8819
8820 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8821
8822         * buffer.h:
8823         * buffer.C:
8824         * lyx_main.C: fix a crash on bad command line,
8825           and give a useful exit status on error
8826
8827         * lyxfunc.C (doImport): allow -i lyx to work
8828
8829 2002-03-30  André Pönitz <poenitz@gmx.net>
8830
8831         * lyxfunc.C: mathed font changes
8832
8833 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8834
8835         * LaTeX.C:
8836         * importer.h:
8837         * importer.C:
8838         * lyx_sty.h:
8839         * lyx_sty.C:
8840         * lyxlex.C:
8841         * lyxrow.h:
8842         * lyxtext.h:
8843         * paragraph.h:
8844         * paragraph.C:
8845         * texrow.h:
8846         * texrow.C:
8847         * text.C:
8848         * trans_mgr.h: srcdocs, and some minor cleanups
8849
8850 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8851
8852         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8853         call getFont all the time)
8854
8855 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8856
8857         * switch from SigC signals to boost::signals
8858
8859 2002-05-29  André Pönitz <poenitz@gmx.net>
8860
8861         * paragraph_pimpl.C (getChar): don't call size() too often...
8862
8863 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8864
8865         * paragraph_pimpl.C (insertChar): do not try to update tables when
8866         appending (pos == size())
8867
8868         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8869         in order to reduce drastically the number of comparisons needed to
8870         parse a large document
8871
8872 2002-05-29  André Pönitz <poenitz@gmx.net>
8873
8874         * text.C:
8875         * text2.C:
8876         * lyxtextclass.C:
8877         * sp_pspell.h:
8878         * textclasslist.[Ch]:
8879         * sp_ispell.h: whitespace change
8880
8881 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8882
8883         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8884         lyxaction directly now.
8885
8886 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8887
8888         * trans.C:
8889         * lyxfont.C:
8890         * lyxvc.C: remove unused headers
8891
8892 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8893
8894         * Makefile.am:
8895         * buffer.h:
8896         * undostack.h:
8897         * undostack.C:
8898         * undo_funcs.h:
8899         * undo_funcs.C: some cleanups. Use shared_ptr
8900           and a template for the undo stacks.
8901
8902 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8903
8904         * BufferView_pimpl.h:
8905         * BufferView_pimpl.C:
8906         * kbmap.h:
8907         * kbmap.C:
8908         * kbsequence.h:
8909         * kbsequence.C:
8910         * lyxfunc.h:
8911         * lyxfunc.C:
8912         * text2.C: use key_state/mouse_state
8913
8914 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8915
8916         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8917         and LSubstring
8918
8919         * chset.C: change include order
8920         (loadFile): use boost regex and get rid of LRegex and LSubstring
8921
8922         * Makefile.am (BOOST_LIBS): new variable
8923         (lyx_LDADD): use it
8924
8925         * LaTeX.C: change include order.
8926         (scanAuxFile): use boost regex and get rid of LRegex and
8927         LSubstring
8928         (deplog): ditto
8929
8930 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8931
8932         * ColorHandler.h:
8933         * ColorHandler.C:
8934         * FontInfo.h:
8935         * FontInfo.C: moved to frontends/xforms/
8936
8937         * FontLoader.h:
8938         * FontLoader.C: moved into frontends for GUIIzation
8939
8940         * Makefile.am:
8941         * lyx_gui.C:
8942         * lyxfont.C:
8943         * lyxfunc.C: changes from above
8944
8945 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8946
8947         * LColor.C: remove spurious X include
8948
8949         * BufferView_pimpl.C:
8950         * Makefile.am:
8951         * font.h:
8952         * font.C:
8953         * text.C:
8954         * text2.C: move font metrics to frontends/
8955
8956 2002-05-24  Juergen Vigna  <jug@sad.it>
8957
8958         * undo_funcs.C (textHandleUndo): fix the cursor selection after
8959         setting the undo_cursor.
8960
8961         * ParagraphParameters.h: include local includes first.
8962
8963 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8964
8965         * BufferView_pimpl.C:
8966         * BufferView_pimpl.h:
8967         * Makefile.am:
8968         * WorkArea.h:
8969         * WorkArea.C:
8970         * screen.C: move WorkArea into frontends/
8971
8972         * lyxscreen.h:
8973         * screen.C:
8974         * text.C:
8975         * BufferView.C:
8976         * BufferView2.C: move LyXScreen into frontends/
8977
8978         * lyxlookup.h:
8979         * lyxlookup.C:
8980         * lyx_gui.C: move lyxlookup into frontends/xforms/
8981
8982 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8983
8984         * BufferView2.C:
8985         * BufferView_pimpl.C:
8986         * FontLoader.C:
8987         * LyXView.h:
8988         * LyXView.C:
8989         * Makefile.am:
8990         * WorkArea.C:
8991         * XFormsView.h:
8992         * XFormsView.C:
8993         * buffer.C:
8994         * bufferlist.C:
8995         * bufferview_funcs.C:
8996         * converter.C:
8997         * importer.C:
8998         * lyx_cb.C:
8999         * lyx_gui.C:
9000         * lyx_main.C:
9001         * lyx_find.C:
9002         * lyxfunc.C:
9003         * lyxvc.C:
9004         * minibuffer.C:
9005         * text.C:
9006         * text2.C:
9007         * trans.C:
9008         * vc-backend.C: move LyX/XFormsView into frontends/
9009
9010 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9011
9012         * Makefile.am:
9013         * PainterBase.C:
9014         * PainterBase.h:
9015         * Painter.C:
9016         * Painter.h:
9017         * WorkArea.C:
9018         * WorkArea.h:
9019         * screen.C:
9020         * tabular.C:
9021         * text.C:
9022         * text2.C: move Painter to frontends/
9023
9024 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9025
9026         * buffer.C: comment out some some code that depend upon lyx_format
9027         < 220
9028
9029         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9030         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9031
9032         * buffer.h (NO_COMPABILITY): turn off compability
9033
9034         * ColorHandler.C: include scoped_array.hpp
9035
9036         * font.C: Use more specific smart_ptr header.
9037         * Painter.C: ditto
9038         * gettext.C: ditto
9039         * ShareContainer.h: ditto
9040         * lyx_main.h: ditto
9041         * kbmap.h: ditto
9042         * FontInfo.h: ditto
9043         * BufferView_pimpl.h: ditto
9044         * ColorHandler.h: ditto
9045
9046         * kbmap.C (defkey): change call to shared_ptr::reset
9047
9048 2002-05-21  Juergen Vigna  <jug@sad.it>
9049
9050         * buffer.C (insertErtContents): fix to insert ert asis if it is
9051         non empty. Skip it completely if it contains only whitespaces.
9052
9053 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
9054
9055         * BufferView_pimpl.C:
9056         * BufferView2.C: clear selection on paste (bug 393)
9057
9058 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9059
9060         * DepTable.C: include ctime
9061
9062 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
9063
9064         * buffer.C (latexParagraphs): Add new argument (moving_arg).
9065
9066 2002-05-14  Juergen Vigna  <jug@sad.it>
9067
9068         * text.C (breakParagraph): fixed function to honor the keepempty
9069         layout in the right maner and also to permit the right breaking
9070         algorithm on empty or non empyt keepempty paragraphs.
9071
9072         * paragraph.C (breakParagraph): we have to check also if the par
9073         is really empty (!size()) for isempty otherwise we do the wrong
9074         paragraph break.
9075
9076 2002-05-10  Juergen Vigna  <jug@sad.it>
9077
9078         * buffer.[Ch] : The following are only changes to the ert
9079         compatibility read reading old LaTeX layout and font stuff and
9080         convert it to ERTInsets.
9081
9082         * buffer.h: added isErtInset().
9083
9084         * buffer.C (struct ErtComp): add a fromlayout bool to check
9085         if we're inside a LaTeX layout.
9086         (isErtInset): new helper function.
9087         (insertErtContents): look for other ert insets before this one
9088         and insert the contents there, so that we don't have subsequent
9089         ERT insets with nothing between them. This way we create only one
9090         inset with multiple paragraphs. Also check if we don't insert only
9091         spaces ' ' as they are ignored anyway afterwards in the .tex file
9092         so if we have only spaces we will ignore this latex part in the
9093         new file.
9094         (parseSingleLyXformat2Token \\layout): better compatibility when
9095         reading layout-latex stuff.
9096         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9097         language tag.
9098         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9099         stuff after reading the inset only get the information back from
9100         the stack.
9101
9102 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
9103
9104         * buffer.C (makeLaTeXFile): Put language options after loading babel.
9105
9106         * LaTeXFeatures.C (getBabelOptions): New method.
9107
9108 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9109
9110         * BufferView_pimpl.C (Dispatch): work around missing argument for
9111         'layout'
9112
9113 2002-05-08  Juergen Vigna  <jug@sad.it>
9114
9115         * text.C (leftMargin): handle paragraph leftindent.
9116
9117         * paragraph.C (writeFile): write the new \\leftindent tag.
9118         (validate): handle leftindent code.
9119         (TeXEnvironment): handle paragraphleftindent code again.
9120
9121         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9122
9123         * buffer.C (parseSingleLyXformat2Token): added compatibility code
9124         for paragrap_extra indent code and new token \\leftindent.
9125         (latexParagraphs): handle the leftindent as environment.
9126
9127         * ParameterStruct.h: added leftindent support.
9128
9129         * ParagraphParameters.C (leftIndent): added support functions for
9130         the paragraph left indent.
9131
9132         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9133         more appropriate.
9134
9135 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
9136
9137         * paragraph.C (isRightToLeftPar): Return false for a paragraph
9138         inside insetERT.
9139
9140         * text.C (computeBidiTables): No bidi in insetERT.
9141
9142         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9143         in RTL documents.
9144
9145 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9146
9147         * version.C.in: pre 5
9148
9149 2002-05-02  José Matos  <jamatos@fep.up.pt>
9150         * buffer.C (makeDocBookFile): white space changes, add newline to
9151         command styles.
9152         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9153
9154         * tabular.C (docBook): fix typo.
9155
9156 2002-05-03  Juergen Vigna  <jug@sad.it>
9157
9158         * screen.C (drawFromTo): recalculate the rowpointer if we had a
9159         change in LyXText as we can not be sure it was not freed.
9160         (drawOneRow): remove unused code.
9161
9162         * text.C (drawInset): redo the calculation of the need_break_row as
9163         it could have a row which was already freed.
9164         (draw): look at the return value of drawInset and return false if
9165         it also returned false.
9166         (paintRowText): look at the return value of draw and return false if
9167         it also returned false.
9168
9169         * lyxtext.h: added bool return type to drawInset() and draw() so that
9170         if we have a change in the row so that the rowbreak has to be redone
9171         we abort drawing as it will be called again.
9172
9173 2002-05-02  Juergen Vigna  <jug@sad.it>
9174
9175         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9176         a change in the maintext also if we're inside an inset.
9177         (Dispatch): set the cursor again after a break line and after the
9178         screen has been updated as it could be we're in a different row.
9179
9180         * text2.C (fixCursorAfterDelete): check to make sure we don't request
9181         to set the cursor behind the pargraph with > size().
9182         (setCursor): check also for the same paragraph when checking where
9183         to put the cursor if we have a NFR inset.
9184
9185         * buffer.C (parseSingleLyXformat2Token): move the compatibility
9186         parts of layout read further up as it still was in the wrong
9187         position.
9188
9189 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9190
9191         * screen.C (drawFromTo): change sine fullRebreak always return
9192         true.
9193
9194         * buffer.C (parseSingleLyXformat2Token): reindent some
9195
9196         * BufferView_pimpl.C (update): change since fullRebreak always
9197         return true.
9198         (Dispatch): git rid of the last hardcoded "Standard"s.
9199
9200 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9201
9202         * text2.[Ch] (fullRebreak): make it return void now that we always
9203         returned true.
9204
9205 2002-04-30  Juergen Vigna  <jug@sad.it>
9206
9207         * buffer.C (parseSingleLyXformat2Token): reset the font before the
9208         ert compatibility check for "latex" layout.
9209
9210 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
9211
9212         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9213         minipages: use col% instead of p%, and also use the current font.
9214         (makeLaTeXFile): Fix use babel condition.
9215         (parseSingleLyXformat2Token): Correct font when reading old floats.
9216
9217 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
9218
9219         * BufferView_pimpl.C (Dispatch): Check that float type exists when
9220         inserting list of floats.
9221
9222 2002-04-25  Herbert Voss  <voss@lyx.org>
9223
9224         * MenuBackend.C (expand): don't add the graphics extensions to the
9225         export menu
9226
9227 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9228
9229         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9230         non-existing layout, do not complain if it was the default layout
9231         of the original class (bug #342)
9232
9233 2002-04-24  Juergen Vigna  <jug@sad.it>
9234
9235         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9236         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9237
9238 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
9239
9240         * buffer.C (getBibkeyList): If using \bibliography, return the
9241         option field with the reference itself. Enables us to provide natbib
9242         support when using \bibliography.
9243
9244 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
9245
9246         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9247
9248         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9249         natbib is provided by the LaTeX class.
9250
9251 2002-04-23  Juergen Vigna  <jug@sad.it>
9252
9253         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9254         Wakeup functions.
9255
9256         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9257
9258 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9259
9260         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9261
9262         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9263         ensuremath around textordmasculine, textordfeminine and
9264         textdegree.
9265
9266 2002-04-19  Juergen Vigna  <jug@sad.it>
9267
9268         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9269         reinitializing the buffer otherwise row-dimensions may be wrong.
9270         (update): reset also the selection cursors if they do exits otherwise
9271         their x/y positions may be wrong.
9272
9273         * text2.C (cursorDown): don't enter the inset if we came from a row
9274         above and are one row over the inset.
9275
9276         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9277         really leaving an inset.
9278
9279 2002-04-18  Juergen Vigna  <jug@sad.it>
9280
9281         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9282         of the selected paragraph does not have the selected layout also if
9283         the last one had!
9284
9285         * text2.C (setLayout): fixed bug which did not change last selected
9286         paragraph.
9287
9288         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9289         changed the read and substituted \\end_float with \\end_inset!
9290
9291         * BufferView_pimpl.C (cursorPrevious):
9292         (cursorNext): fixed to make it work with rows heigher than the work
9293         area without moving the cursor only the draw of the row.
9294         (workAreaMotionNotify): fix jumping over high rows.
9295
9296 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9297
9298         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9299         Ressler.
9300
9301 2002-04-16  Juergen Vigna  <jug@sad.it>
9302
9303         * text2.C (setCursor): set also the irow().
9304         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9305         (cursorUp):
9306         (cursorDown): support for locking an inset if the x_fix value goes
9307         inside it. That way I can transverse insets too with cursor up/down.
9308
9309         * lyxrow.h: added irow helper function same as other (i) functions.
9310
9311         * BufferView_pimpl.C (cursorPrevious):
9312         (cursorNext): fixed for insets!
9313
9314 2002-04-15  Juergen Vigna  <jug@sad.it>
9315
9316         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9317         position otherwise it is wrong in some cases.
9318
9319         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9320         inside the inset before the call.
9321
9322 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
9323
9324         * buffer.[Ch] (getBibkeyList): make it const.
9325
9326 2002-04-12  Juergen Vigna  <jug@sad.it>
9327
9328         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9329
9330         * text2.C (getCursorX): new helper function
9331         (setCursor): compute also ix_
9332         (setCursorFromCoordinates): set also ix.
9333
9334         * lyxcursor.h: added ix_ and helper functions.
9335
9336         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9337
9338         * buffer.C (insertStringAsLines): dont break paragraph if the this
9339         paragraph is inside an inset which does not permit it!
9340
9341         * text.C (breakParagraph): honor keepempty flag and break the paragraph
9342         also with no chars on this paragraph.
9343         (paintRowText): only paint stuff if it's inside the workarea!
9344
9345         * paragraph.C (breakParagraph): honor keepempty flag and break the
9346         paragraph always below not above.
9347
9348         * BufferView2.C (unlockInset): update the paragraph layout on inset
9349         unlock as we changed paragraph in such a case.
9350
9351         * lyxfind.C (LyXFind): clear the former selection if not found!
9352
9353         * text2.C (insertInset): freeze Undo after setUndo so that it is not
9354         again called in insertChar().
9355
9356         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9357         an inset which uses the whole row!
9358         (rightMargin): ditto.
9359         (insertChar): force a rebreak if we inserted an inset!
9360
9361 2002-03-28  Herbert Voss  <voss@lyx.org>
9362
9363         * lyxlength.[Ch]: add inBP() to get the right PS-point
9364         units (BigPoint). With inPixels we have rounding errors
9365
9366 2002-04-11  Juergen Vigna  <jug@sad.it>
9367
9368         * text2.C (setCursorFromCoordinates): set iy to the right value.
9369         (setCursor): add check if row->previous exists!
9370
9371         * buffer.C (parseSingleLyXformat2Token): reset font after read of
9372         an old float_type as this was the case in the old code!
9373
9374         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9375
9376         * BufferView2.C (showLockedInsetCursor): use iy
9377         (fitLockedInsetCursor): ditto
9378
9379         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9380         locked insets as there we have the right value now.
9381
9382         * lyxcursor.C: added iy_ variable and iy functions to set to the
9383         baseline of cursor-y of the locked inset.
9384
9385         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9386         (setCursor): fixed for insets which need a full row.
9387
9388         * text.C (rowLastPrintable): don't ignore the last space when before
9389         an inset which needs a full row.
9390         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9391         as last character of a row when before a inset which needs a full row.
9392
9393 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9394
9395         * version.C.in: update date
9396
9397         * text2.C (fullRebreak): try to always return true and see what
9398         happens...
9399
9400 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9401
9402         * MenuBackend.C (expand): use Floating::listName
9403
9404         * FloatList.C (FloatList): add listName argument to the built-in
9405         floats
9406
9407         * Floating.[Ch]: add listName member, which is the 'List of XXX'
9408         text associated with the float.
9409
9410 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9411
9412         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9413
9414 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9415
9416         * ShareContainer.h: add a couple of missing typenames.
9417
9418 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
9419
9420         * lyxrc.C (getDescription): use _() correctly rather than N_().
9421
9422 2002-03-28  Herbert Voss  <voss@lyx.org>
9423
9424         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9425         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9426
9427 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9428
9429         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9430         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9431
9432 2002-03-29  Juergen Vigna  <jug@sad.it>
9433
9434         * lyxfunc.C (dispatch): add a missing fitCursor call.
9435
9436         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9437         it was scrolled by a cursor move, so return the bool status.
9438
9439         * BufferView.C (fitCursor): return the bool flag also to the outside
9440         world as this is needed.
9441
9442         * screen.C (toggleToggle): don't subtract the offset if it's positive.
9443
9444         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9445         call the edit() as it is not needed (and wrong) IMO.
9446         (workAreaButtonPress): set the screen_first variable before evt.
9447         unlock the inset as this may change screen_first and then we have
9448         a wrong y position for the click!
9449
9450 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9451
9452         * MenuBackend.C (expand): another translation that I missed
9453
9454 2002-03-28  Juergen Vigna  <jug@sad.it>
9455
9456         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9457
9458         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9459
9460 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9461
9462         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9463
9464         * MenuBackend.C (expand): fix export/view/update when there is no
9465         document open.
9466
9467 2002-03-27  Herbert Voss  <voss@lyx.org>
9468
9469         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9470         and text%
9471
9472 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9473
9474         * bufferview_funcs.C (currentState): only show paragraph number
9475         for is DEVEL_VERSION is set.
9476
9477         * lyxfunc.C (dispatch): put warning in INFO channel
9478
9479         * MenuBackend.C (expand): translate the name of floats
9480
9481         * FloatList.C (FloatList): mark the float names for translation
9482
9483         * converter.C (convert): use LibScriptSearch
9484
9485 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9486
9487         * MenuBackend.C (defaults): fix default menu (we might as well get
9488         rid of it...)
9489
9490 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9491
9492         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9493         directory.
9494
9495 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9496
9497         * lyxvc.C: reorder includes.
9498
9499 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
9500
9501         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9502           properly
9503
9504 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
9505
9506         * CutAndPaste.C: change layouts earlier on paste
9507           to avoid crashing when calling getFont()
9508
9509 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
9510
9511         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9512         irritating #error.
9513
9514 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9515
9516         * WorkArea.C: remove 'Pending' debug message.
9517
9518         * most files: ws cleanup
9519
9520         * buffer.[Ch]: ws changes
9521
9522         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9523
9524 2002-03-21  Juergen Vigna  <jug@sad.it>
9525
9526         * tabular.C (SetMultiColumn): collapse also the contents of the
9527         cells and set the last border right. Added a Buffer const * param.
9528
9529 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9530
9531         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9532         linking or not.
9533
9534 2002-03-19  Juergen Vigna  <jug@sad.it>
9535
9536         * text2.C (clearSelection): reset also xsel_cache.
9537
9538         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9539         where it needs to be called (John tells us to do so too :)
9540         (selectionLost): reset sel_cache.
9541
9542         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9543
9544 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9545
9546         * text2.C (setCursorIntern): put debuging code in INSETS channel
9547
9548 2002-03-19  André Pönitz <poenitz@gmx.net>
9549
9550         * lyxfunc.C: tiny whitespace change
9551
9552 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9553
9554         * ToolbarDefaults.C (init):
9555         * LyXAction.C (init):
9556         * commandtags.h:
9557         * BufferView_pimpl.C (Dispatch):
9558         * lyxfunc.C (dispatch): remove LFUN_DEPTH
9559
9560 2002-03-19  Allan Rae  <rae@lyx.org>
9561
9562         * exporter.C (Export): removeAutoInsets before doing anything else.
9563         While I've just introduced a dependency on BufferView this really is
9564         the best place to clean the buffer otherwise you need to cleanup in
9565         a dozen places before calling export or cleanup in a dozen functions
9566         that export calls.
9567
9568         * converter.C (runLaTeX):
9569         (scanLog): Better handling of removeAutoInsets and screen updates.
9570
9571         * lyxfunc.C (dispatch): small whitespace changes
9572
9573 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9574
9575         * WorkArea.C (C_WorkAreaEvent): return a value.
9576         (event_cb): return 1 if we handled the event, 0 otherwise.
9577
9578         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9579
9580 2002-03-18  Juergen Vigna  <jug@sad.it>
9581
9582         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9583         (GetAdditionalWidth): ditto.
9584         (RightLine): ditto.
9585         (LeftLine): ditto.
9586
9587         * BufferView2.C (copy): use getLyXText() so that we do it inside an
9588         inset if we're there actually (probably not used right now but this
9589         is the direction to go for unifying code).
9590         (paste): disable code to clear the selection.
9591
9592         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9593         inside an InsetText and move the check further up as it is in the
9594         wrong place.
9595
9596         * text2.C (pasteSelection): set a selection over the pasted text.
9597
9598 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
9599
9600         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9601         and libgraphics to build on Cygwin.
9602
9603 2002-03-15  Juergen Vigna  <jug@sad.it>
9604
9605         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9606         inserting an Inset into the paragraph. I know this is not the best
9607         fix but we already use current_view in CutAndPaste so we will remove
9608         all of it's using at the same time.
9609
9610         * buffer.C (sgmlError): deactivated function till it is rewritten in
9611         the right mode, now it can create problems.
9612
9613         * paragraph.C (isLineSeparator): check if getInset returns != 0,
9614         before accessing it.
9615
9616 2002-03-14  Juergen Vigna  <jug@sad.it>
9617
9618         * undo_funcs.C (textHandleUndo): do the right thing when updating
9619         the inset after the undo/redo.
9620
9621         * text2.C (setCursor): just some testcode for #44 not ready yet.
9622
9623         * undo_funcs.C (textHandleUndo): set the next() and previous()
9624         pointers of the paragraph to 0 before deleting otherwise we have
9625         problems with the Paragraph::[destructor].
9626
9627         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9628         on a paragraph insertion.
9629
9630 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9631
9632         * buffer.C (asciiParagraph): use += operator for char append to
9633         string.
9634
9635         * paragraph.C (getFontSettings): compare >= not just >
9636         (highestFontInRange): ditto
9637         (setFont): ditto
9638
9639 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9640
9641         * paragraph.C: change several algorithm to be more appripriate for
9642         the problem domain. This is lookip in FontList and in the InsetList.
9643
9644 2002-03-13  André Pönitz <poenitz@gmx.net>
9645
9646         * commandtags.h:
9647         * LyXAction.C: remove unused LFUN_MATH_MACROARG
9648
9649 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
9650
9651         * commandtags.h:
9652         * LyXAction.C:
9653         * lyxfunc.C:
9654         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9655
9656 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9657
9658         * Painter.C (display): anon helper function, adjust code for this
9659         change.
9660         (pixmap): remove function.
9661
9662         * Painter.h: remove private display variable.
9663
9664         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9665
9666 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
9667
9668         * WorkArea.[Ch]: remove figinset_canvas cruft.
9669
9670 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9671
9672         * lyxtextclass.C (operator): add one item cache optimization.
9673
9674         * bufferlist.h: doxy changes
9675
9676         * bufferlist.C: ws changes
9677
9678         * DepTable.[Ch] (ext_exist): place const in the right spot.
9679
9680         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9681         call resizeInsets.
9682         (workAreaExpose): call resizeInsets when the with BufferView changes.
9683         (Dispatch): adjust for protectedBlank removal
9684         (specialChar): call updateInset if the insert went ok.
9685
9686         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9687         specialChar instead.
9688
9689         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9690
9691         * BufferView.h: doxy change
9692
9693         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9694
9695         * lyxtextclass.C (operator[]): remove non-const version
9696         (defaultLayout): remove non-const version
9697
9698 2002-03-12  Juergen Vigna  <jug@sad.it>
9699
9700         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9701         did resize the LyXText too.
9702
9703         * buffer.C (readLyXformat2): set layout information on newly allocated
9704         paragraphs.
9705
9706         * tabular.C (OldFormatRead): set layout information on the paragraph.
9707
9708 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9709
9710         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9711
9712 2002-03-11  Juergen Vigna  <jug@sad.it>
9713
9714         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9715         plainly wrong.
9716         (resizeCurrentBuffer): force also the insets to resize themselfes.
9717         (moveCursorUpdate): fixed up for InsetText.
9718
9719 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
9720
9721         * commandtags.h:
9722         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9723         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9724         value of Dialogs::tooltipsEnabled().
9725         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9726
9727 2002-03-08  Juergen Vigna  <jug@sad.it>
9728
9729         * BufferView_pimpl.C (updateInset): update inset inside inset also
9730         if it isn't inside theLockingInset().
9731
9732 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9733
9734         * buffer.C (asciiParagraph): redo some of the word and line length
9735         handling.
9736         (getLists): look for Caption instead of caption.
9737
9738 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9739
9740         * buffer.C (Buffer): initialize niceFile to true
9741         (makeLaTeXFile):
9742         (makeLinuxDocFile):
9743         (makeDocBookFile): make sure niceFile is true on exit
9744
9745 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9746
9747         * buffer.C (makeLaTeXFile): escape ~ in \input@path
9748
9749 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
9750
9751         * LyXSendto.C: remove.
9752         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9753         * lyx_gui.C: remove now-redundant comment.
9754         * ColorHandler.h: remove forward declaration of class WorkArea.
9755         * lyxfunc.C: remove #include "WorkArea.h".
9756
9757 2002-03-07  Juergen Vigna  <jug@sad.it>
9758
9759         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9760         got moved away with the DEPM and also set the inset_owner always
9761         right which before could have been omitted.
9762
9763 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9764
9765         * buffer.C (parseSingleLyXformat2Token): use default layout is the
9766         wanted layout is not found.
9767
9768 2002-03-07  Juergen Vigna  <jug@sad.it>
9769
9770         * CutAndPaste.C (cutSelection): another layout settings forgotten.
9771
9772 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9773
9774         * paragraph.C (breakParagraph): use default layout not layout of
9775         prev paragraph.
9776         (Paragraph): clear ParagraphParameters.
9777
9778 2002-03-06  Juergen Vigna  <jug@sad.it>
9779
9780         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9781         otherwise it would not be a valid lenght. Fixed a special case in
9782         the minipage compatibility read where we end the document with a
9783         minipage.
9784
9785         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9786         was set as it could be 0 for InsetTexts first entry.
9787
9788 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9789
9790         * paragraph.C (writeFile): if layout is empty write out
9791         defaultLayoutName().
9792
9793         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9794         file without named layout we set layout to defaultLayoutName().
9795
9796 2002-03-06  Juergen Vigna  <jug@sad.it>
9797
9798         * CutAndPaste.C (copySelection): set layout for new paragraph.
9799
9800         * text.C (prepareToPrint): leave ERT inset left aligned
9801         (leftMargin): don't indent paragraphs inside ERT insets
9802
9803 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9804
9805         * paragraph.C (breakParagraph): dont call clear do the work manually
9806
9807         * paragraph.[Ch] (clear): remove function
9808
9809 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9810
9811         * paragraph.C (Paragraph): dont call clear, the work has already
9812         been done.
9813
9814         * lyxtextclass.C (operator): assert if n is empty
9815
9816         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9817         work manually instead.
9818
9819 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9820
9821         * BufferView_pimpl.C: protect selectionLost against text == 0
9822
9823 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9824
9825         * text.C (breakParagraph): fix a setting layout to '0' problem.
9826
9827 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9828
9829         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9830         final location of file, for the included files, and graphics.
9831
9832 2002-03-05  Juergen Vigna  <jug@sad.it>
9833
9834         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9835
9836 2002-03-04  Juergen Vigna  <jug@sad.it>
9837
9838         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9839
9840         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9841         last column of multicolumn cells.
9842         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9843
9844 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9845
9846         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9847         file if it doesn't go to a temporary file.
9848
9849         * buffer.C (sgmlOpenTag):
9850         (sgmlCloseTag):  remove extra newline insertion.
9851
9852 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9853
9854         * text.C (getRowNearY): comment out debug msg
9855
9856 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9857
9858         * text2.C: first -> first_y
9859
9860         * text.C (getRowNearY): add some attemts at a possible
9861         optimization, not working.
9862
9863         * tabular.[Ch]: add BufferParams to several function so that newly
9864         created paragraph can be initialized to he default layotu for the
9865         buffers textclass.
9866
9867         * tabular-old.C (ReadOld): add buf->params to call of Init
9868
9869         * screen.C: rename text->first to text->first_y
9870
9871         * paragraph.C (breakParagraph): always set layout in the broken
9872         paragraph
9873
9874         * lyxtextclass.C (Read): remove lowercase
9875         (hasLayout): ditto
9876         (operator): ditto
9877         (delete_layout): ditto
9878
9879         * lyxtext.h: rename first -> first_y
9880
9881         * lyxlayout.C (Read): remove lowercase
9882         (name): ditto
9883         (setName): ditto
9884         (obsoleted_by): ditto
9885
9886         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9887
9888         * buffer.C (insertErtContents): add params are to InsetERT
9889         (parseSingleLyXformat2Token): add code to check if a paragraphs
9890         layout really exist.
9891         (parseSingleLyXformat2Token): add params to several inset
9892         constructors
9893         (asciiParagraph): remove lowercase, do the layout comparisons with
9894         no_case
9895
9896         * BufferView_pimpl.C (cursorNext): first -> first_y
9897         (resizeCurrentBuffer): first -> first_y
9898         (updateScrollbar): first -> first_y
9899         (scrollCB): first -> first_y
9900         (workAreaMotionNotify): first -> first_y
9901         (workAreaButtonPress): first -> first_y
9902         (checkInsetHit): first -> first_y
9903         (cursorPrevious): first -> first_y
9904         (cursorNext): first -> first_y
9905         (Dispatch): add buffer_->params to severl inset contructors
9906
9907 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9908
9909         * lyxlayout.C (Read): remove some debug info that I forgot.
9910
9911         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9912         clean up the code slightly.
9913         (makeLinuxDocFile): ditto
9914         (makeDocBookFile): ditto
9915
9916         * text2.C: layout as string
9917
9918         * text.C: layout as string
9919
9920         * paragraph_pimpl.C: layout as string
9921
9922         * paragraph.[Ch]: layout as string
9923
9924         * lyxtextclasslist.[Ch]: layout as string
9925
9926         * lyxtextclass.[Ch]: layout as string
9927
9928         * lyxtext.h: layout as string
9929
9930         * lyxlayout.[Ch]: layout as string
9931
9932         * lyx_cb.C: layout as string
9933
9934         * bufferview_funcs.C: layout as string
9935
9936         * bufferparams.C: layout as string
9937
9938         * buffer.C: layout as string
9939
9940         * LyXView.[Ch]: layout as string
9941
9942         * LaTeXFeatures.[Ch]: layout as string
9943
9944         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9945
9946         * BufferView_pimpl.C: change current_layout to string, remove
9947         lyx::layout_type.
9948         (Dispatch):
9949         (smartQuote):
9950         (insertInset):
9951         (workAreaButtonRelease): layout as string
9952
9953         * BufferView2.C (unlockInset): adjust
9954
9955         * vspace.C (asLatexCommand): use an explict temp variable.
9956
9957 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9958
9959         * Makefile.am: use FRONTEND_*
9960
9961 2002-03-01  Juergen Vigna  <jug@sad.it>
9962
9963         * tabular.C (SetWidthOfMulticolCell): changed to something better
9964         I hope but still work in progress.
9965         (recalculateMulticolumnsOfColumn): renamed function from
9966         recalculateMulticolCells as it is more appropriate now.
9967         (SetWidthOfCell): calculate multicols better.
9968
9969 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9970
9971         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9972
9973         * lyxfunc.C (processKeySym): print sequence also if it is
9974         `deleted' (complete)
9975
9976         * kbsequence.C (print): print sequence even if it is deleted
9977         (complete would be a better word, actually).
9978
9979         * lyxfunc.C (dispatch): print complete options after a prefix key
9980
9981         * vspace.C (asLatexCommand): rewrite in a slightly different form.
9982
9983 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
9984
9985         * text2.C (setCharFont): eliminate setCharFont code duplication.
9986
9987 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9988
9989         * BufferView_pimpl.C (Dispatch): remove bogus handling of
9990         LFUN_TABULAR_FEATURE (bug #177)
9991
9992 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
9993
9994         * Makefile.am: remove figure.h
9995
9996 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
9997
9998         * Bufferview_pimpl.C:
9999         * CutAndPasteC:
10000         * LaTeX.C:
10001         * LyXSendto.C:
10002         * buffer.C:
10003         * bufferlist.C:
10004         * converter.C:
10005         * language.C:
10006         * lyxfunc.C:
10007         * lyxvc.C:
10008         * paragraph.C:
10009         * text.C:
10010         * text2.C: remove #include "lyx_gui_misc.h".
10011
10012         * LaTeX.C: added #include <cstdio>
10013
10014 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10015
10016         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10017         that the paragraph following this one can have.
10018
10019         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10020
10021         * vspace.C (asLatexCommand): fix bogus gcc warning
10022
10023         * Makefile.am (lyx_SOURCES): remove vms_defines.h
10024
10025 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
10026
10027         * text2.C (setLayout): get rid of redundant code
10028
10029 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
10030
10031         * text2.C (incDepth): make sure depth cannot be increased beyond
10032         reasonable values.
10033
10034 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
10035
10036         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10037         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10038
10039         * PainterBase.h (image):
10040         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10041         a LyXImage const *.
10042
10043 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10044
10045         * BufferView.C:
10046         * BufferView.h:
10047         * BufferView_pimpl.C:
10048         * BufferView_pimpl.h:
10049         * LaTeXFeatures.C:
10050         * LyXAction.C:
10051         * LyXView.C:
10052         * Makefile.am:
10053         * UpdateList.h:
10054         * UpdateList.C:
10055         * buffer.C:
10056         * figure.h:
10057         * figureForm.C:
10058         * figureForm.h:
10059         * figure_form.C:
10060         * figure_form.h:
10061         * lyx_cb.C:
10062         * lyx_gui.C:
10063         * lyx_gui_misc.C:
10064         * lyxfunc.C:
10065         * sp_base.h:
10066         * sp_ispell.h:
10067         * sp_pspell.h:
10068         * sp_spell.C: remove fig inset, and the crap house of
10069           cards that follows it
10070
10071 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10072
10073         * Makefile.am:
10074         * lyxserver.C:
10075         * os2_defines.h:
10076         * os2_errortable.h:
10077         * nt_defines.h: move .h into support/
10078
10079         * vms_defines.h: remove
10080
10081         * WorkArea.C: add space in debug output
10082
10083         * text2.C:
10084         * paragraph.C:
10085         * buffer.C: add WITH_WARNINGS
10086
10087         * vc-backend.h:
10088         * vc-backend.C:
10089         * bufferlist.C: s/retrive/retrieve/, add docs
10090
10091         * vspace.h:
10092         * vspace.C:
10093         * kbmap.h:
10094         * lyxlength.h:
10095         * lyxgluelength.h:
10096         * length_common.h:
10097         * chset.h:
10098         * chset.C: add docs
10099
10100         * lyxgui.C: add ID to X error handler
10101
10102         * lyxtestclass.c: fix typo
10103
10104 2002-02-26  Juergen Vigna  <jug@sad.it>
10105
10106         * tabular_funcs.C (write_attribute): changed so that some default
10107         attributes are not written at all.
10108         (getTokenValue): set default values before trying to read the
10109         value so we have the return value always set as default if we don't
10110         find the token we search for.
10111
10112         * tabular.C (Write): write bools as bools not as strings!
10113
10114 2002-02-22  Juergen Vigna  <jug@sad.it>
10115
10116         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10117         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10118
10119         * text.C (leftMargin): don't add an indent for paragraphs inside
10120         tabular cells (fix #208).
10121
10122 2002-02-21  José Matos  <jamatos@fep.up.pt>
10123
10124         * tabular.C (docBook): fixed support for long tables.
10125
10126 2002-02-20  Juergen Vigna  <jug@sad.it>
10127
10128         * text2.C (getFont): get the drawing font of the Inset if this
10129         paragraph is inside an inset (only important for InsetERT for now).
10130
10131         * buffer.C (insertErtContents): use new lanugage params in ERT
10132         constructor.
10133
10134         * CutAndPaste.C: commenting out seemingly uneeded code.
10135
10136 2002-02-19  Allan Rae  <rae@lyx.org>
10137
10138         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10139         Iterators might be simple to use but they also get invalidated.
10140         (removeAutoInsets): renamed saved cursor tracking variables and added
10141         some comments to clarify what everything does.
10142
10143 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
10144
10145         * Chktex.C:
10146         * LaTeX.C:
10147         * LyXSendto.C:
10148         * converter.C:
10149         * lyx_cb.C:
10150         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10151         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10152
10153         * lyxfunc.C:
10154         * vc-backend.h: remove #include "support/syscall.h"
10155
10156         * LaTeX.C:
10157         * LyXSendto.C:
10158         * converter.C: rearrange #includes in Lars' approved fashion.
10159
10160         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10161         forward declare class Timeout in the header file.
10162
10163         * XFormsView.C: changes due to the above.
10164
10165         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10166         similar to LyXView.
10167
10168         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10169         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10170
10171 2002-02-18  José Matos  <jamatos@fep.up.pt>
10172
10173         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10174         insets contents.
10175
10176 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
10177
10178         * a lot of small ws changes
10179         * add a lot of using std::XXX
10180         * use std construcs some places where approp.
10181         * use some exisint stuff from lyxfunctional where approp.
10182         * Make file changes to use partial linking (lets test this now...)
10183
10184 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10185
10186         * Chktex.C:
10187         * buffer.C:
10188         remove #include "support/syscontr.h" as it's redundant. Always has been.
10189
10190         * Chktex.C:
10191         * LaTeX.C:
10192         * LyXSendto.C:
10193         * converter.C:
10194         * lyx_cb.C:
10195         * vc-backend.C:
10196         change Systemcalls::System to Systemcalls::Wait and
10197         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10198         No change of functionality, just reflects the stripped down Systemcalls
10199         class.
10200
10201 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10202
10203         * debug.[Ch]: add a GRAPHICS type to the enum.
10204
10205 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10206
10207         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10208
10209         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10210         there is an inset.
10211
10212 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10213
10214         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10215         match the changes below.
10216
10217         * text2.C (toggleInset): if there is not editable inset at cursor
10218         position, try to see if cursor is _inside_ a collapsable inset
10219         and close it.
10220
10221 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10222
10223         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10224         document menu has a nice checkbox
10225
10226 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10227
10228         * lyxlength.C (asLatexString): change PW to output as percent of
10229         \textwidth.
10230
10231         * lengthcommon.C: change '%' to 't%'
10232
10233         * lyxfunc.C (dispatch): a few comments from Martin
10234
10235 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
10236
10237         * WorkArea.h:
10238         * WorkArea.C:
10239         * BufferView_pimpl.h:
10240         * BufferView_pimpl.C: clear our selection when X tells us we've lost
10241           the X selection.
10242
10243 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10244
10245         * vspace.C (inPixels): fix compiler warning
10246
10247 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10248
10249         * lyxfunc.C (getStatus): fix status message for disabled commands.
10250
10251 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
10252
10253         * BufferView_pimpl.C: fix crash on close buffer
10254         during selection (#227)
10255
10256 2002-01-27  Herbert Voss  <voss@lyx.org>
10257
10258         * buffer.C: link old Figure to new graphic inset
10259
10260 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
10261
10262         * FontLoader.C (getFontinfo): Change the latex font names in order
10263         to match the names of type1inst.
10264
10265 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10266
10267         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10268
10269         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10270         (extchanged): ditto
10271         (ext_exist): ditto
10272         (remove_files_with_extension): ditto
10273         (remove_file): ditto
10274         (write): ditto
10275
10276         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10277         document is smaller than the work area height. Do not initialize
10278         static variables to 0.
10279
10280 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10281
10282         * lyx_gui.C (init): give the toolbar tooltips a normal font.
10283
10284         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10285         LFUN_LAYOUT_PARAGRAPHS.
10286
10287         * tabular.C (GetCellFromInset): new method. Finds an inset in a
10288         tabular. It is possible to provide a possible cell, which will
10289         typically be the actcell from the corresponding insettabular
10290
10291         * lyxfunc.C (getStatus): small cleanup; disable
10292         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10293         true
10294
10295 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10296
10297         * tabular.C (Validate): remove broken optimization (fixes bug #201)
10298
10299         * paragraph.C (startTeXParParams):
10300         (endTeXParParams): new methods. The LaTeX code to
10301         start/end paragraph formatting
10302         (simpleTeXOnePar): call startTeXParParams also when paragraph is
10303         empty (fixes bug #200)
10304
10305         * vspace.C (inPixels): adapt to the change below
10306         (inPixels): [later] more cleanups (remove unused variables)
10307
10308         * lyxlength.C (inPixels): change to use a width and a height as
10309         parameter.
10310
10311 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10312
10313         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10314         Replaced with \paperwidth
10315
10316         * DepTable.C (insert): add std:: qualifier
10317
10318 2002-01-18  Allan Rae  <rae@lyx.org>
10319
10320         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
10321         updated also?
10322
10323         * text.C (drawInset): Turned out I didn't know enough about how
10324         rebreaking worked.  This fixes most of the redraw problems.  I see
10325         an occasional cursor trail when a line is broken now and the cursor
10326         placement can seem out by a few pixels also after a rebreak.
10327
10328 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10329
10330         * buffer.C (parseSingleLyXformat2Token): update because minipage
10331         width is now a LyXLength
10332
10333         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10334
10335         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10336         math insets
10337
10338 2002-01-17  Juergen Vigna  <jug@sad.it>
10339
10340         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10341
10342         * BufferView2.C (lockInset): call edit() so that theLockingInset()
10343         is set correctly and the inset is updated correctly.
10344
10345 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10346
10347         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10348         the beginning of the loop.
10349
10350 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
10351
10352         * lyxrc.C: improve help for use_scalable_fonts
10353
10354 2002-01-17  Allan Rae  <rae@lyx.org>
10355
10356         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10357
10358 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10359
10360         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10361         make sure to set their inset_owner to the right value (bug #171)
10362
10363 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
10364
10365         * DepTable.h
10366         * DepTable.C: Implement mtime checking to reduce time spent doing
10367         CRCs.
10368
10369 2002-01-16  Juergen Vigna  <jug@sad.it>
10370
10371         * tabular.C (GetAdditionalHeight): one of error fixed.
10372
10373         * lyxrc.C (output): small fix in writing use_pspell.
10374
10375 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
10376
10377         * sp_base.h: #include LString.h
10378
10379 2002-01-16  Allan Rae  <rae@lyx.org>
10380
10381         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
10382         Can someone check this please?
10383
10384         * text.C (drawInset): It was possible that p.row would be removed by
10385         breakAgainOneRow upsetting a few other settings.  There may be another
10386         small tweak possible by setting need_break_row = 0 when p.row has been
10387         removed but I don't know enough about the logic here.
10388
10389 2002-01-15  Allan Rae  <rae@lyx.org>
10390
10391         * text.C (insertChar): removed conditional truism.
10392
10393         * BufferView2.C (removeAutoInsets): More tweaks.
10394         cur_par_prev could be a stray pointer.  Check for trailing empty line
10395         in case last line was cur_par and only had an error inset on it.
10396
10397 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10398
10399         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10400         absolute
10401
10402         * vc-backend.C (most methods):
10403         * exporter.C (Export):
10404         * converter.C (convert):
10405         (runLaTeX):
10406         * LyXSendto.C (SendtoApplyCB):
10407         * lyxfunc.C (dispatch):
10408         (menuNew):
10409         (open):
10410         (doImport):
10411         * lyx_cb.C (AutoSave):
10412         (InsertAsciiFile):
10413         * BufferView_pimpl.C (MenuInsertLyXFile):
10414         * buffer.C (runChktex): use Buffer::filePath().
10415
10416         * buffer.h: rename filename to filename_; rename filepath to
10417         filepath_ and make it private
10418         (filePath): new method
10419
10420         * buffer.C (writeFile): use fileName()
10421         (getLatexName):
10422
10423         * lyx_main.C (init): fix starting  of LyX when the binary is a
10424         link from so,ewhere else.
10425
10426         * minibuffer.C: include <cctype> for isprint
10427
10428 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10429
10430         * buffer.C (parseSingleLyXformat2Token): changes associated with the
10431         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10432         name clash with InsetCollapsable's width function.
10433
10434 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10435
10436         * lastfiles.C: include <iterator>
10437
10438 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10439
10440         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10441         std::count.
10442
10443         * buffer.C (makeLaTeXFile): ditto.
10444         Also make loop operation more transparent.
10445
10446 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10447
10448         * ToolbarDefaults.C: remove trailing comma closing namespace.
10449
10450         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10451
10452         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10453         as in WorkArea.
10454
10455         * trans.C (Load): comment out unused variable, allowed.
10456
10457 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10458
10459         * minibuffer.[Ch] (append_char): new method to recieve input from the
10460         drop-down completion browser. If a key was pressed, then recieve this
10461         char and append it to the existing string.
10462         (peek_event): modify the positioning data passed to the completion
10463         browser so that it can be placed above the minibuffer rather than below.
10464 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10465
10466         * LyXAction.C (init): alloe error-next for readonly documents.
10467
10468         * BufferView2.C (ChangeRefsIfUnique): use standard version of
10469         count.
10470
10471 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10472
10473         * bufferlist.C (readFile): create the buffer _after_ checking that
10474         the file exists.
10475
10476         * lyxfunc.C (verboseDispatch): fix handling of arguments
10477
10478         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10479
10480         * lyxrc.C: use string::erase() instead of initializing to "".
10481
10482
10483 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10484
10485         * BufferView_pimpl.h:
10486         * BufferView_pimpl.C:
10487         * WorkArea.h:
10488         * WorkArea.C:
10489         * text2.C: tell X when we have made a selection for copying
10490
10491 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10492
10493         * BufferView_pimpl.C (MenuInsertLyXFile):
10494         * lyxfunc.C (menuNew):
10495         (open):
10496         (doImport): add shortcuts to directory buttons
10497
10498         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10499         open a float)
10500
10501         * lyxfunc.C (setStatusMessage):
10502         (getStatusMessage): new methods
10503         (getStatus):use setStatusMessage instead of setErrorMessage
10504         (dispatch): when function is disabled, set error message here
10505         [instead of in getStatus previously]
10506
10507         * BufferView_pimpl.C (workAreaButtonRelease): update
10508         toolbar/menubar here too.
10509
10510 2002-01-13  Allan Rae  <rae@lyx.org>
10511
10512         * BufferView2.C (removeAutoInsets): finished off earlier fix.
10513         Now seems indestructible.  Remaining task is to audit all other
10514         code affected by deleteEmptyParagraphMechanism.  One small quirk
10515         left is that an empty document with an error in the preamble can
10516         be made to report an error but no error box appears.  I don't know
10517         where it goes.
10518         (removeAutoInsets): Improved comments.
10519
10520 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
10521
10522         * Thesaurus.h:
10523         * Thesaurus.C: update for Aiksaurus 0.14
10524
10525 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10526
10527         * text2.C (firstParagraph): removed member function, all uses
10528         replaces with ownerParagraph
10529         (redoParagraphs): here
10530         (updateInset): here
10531         (toggleAppendix): here
10532         * BufferView2.C (insertErrors): here
10533         (setCursorFromRow): here
10534
10535 2002-01-13  Allan Rae  <rae@lyx.org>
10536
10537         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10538         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10539         There is still a way to segfault this although you may have to do this
10540         multiple times: Have an InsetERT with an unknown command in it.
10541         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10542         <down-arrow>, <Enter> again, View->DVI, BANG!
10543
10544         * text2.C (setCursor):
10545         (deleteEmptyParagraphMechanism):
10546         * lyxtext.h (setCursor):
10547         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10548         Making use of the return value may help fix other bugs.
10549
10550 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10551
10552         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10553
10554         * LyXView.C (updateMenubar): call MenuBar::update here
10555         (updateToolbar): but not here
10556         (showState): do not update toolbar/menubar
10557
10558         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10559         should need to care about that.
10560
10561         * lyxfunc.C (verboseDispatch): simplify a bit
10562         (getStatus): have a version which takes a pseudoaction, and
10563         another which requires a (kb_action,string).
10564
10565         * LyXAction.C (retrieveActionArg): make it work also when action
10566         is not a pseudo-action.
10567         (getActionName): simplify a bit
10568         (helpText):
10569
10570 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10571
10572         * lyxfunc.C (verboseDispatch): new families of methods with
10573         several ways to specify a command and a bool to indicate whether
10574         the command name and shortcut should be displayed in minibuffer
10575         (eventually, we could extend that to a finer bitmask like
10576         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10577         (dispatch): the pristine dispatch command which just, well,
10578         dispatchs! Note it still sets its result to minibuffer; I'm not
10579         sure we want that.
10580
10581         * lyxfunc.h: remove setHintMessage
10582
10583         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10584
10585 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10586
10587         * BufferView_pimpl.C (specialChar): delete new inset if we have
10588         not been able to insert it.
10589
10590         * kbmap.C: revert to using int instead of kb_action, since all we
10591         are dealing with is pseudo-actions.
10592
10593         * LyXAction.C (searchActionArg): change to return int instead of
10594         kb_action, since the result is a pseudoaction.
10595
10596 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
10597
10598         * buffer.C (insertErtContents): Fix (partially) the font bug.
10599
10600 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10601
10602         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10603         as the other one is broken on my machine!
10604
10605 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
10606
10607         * commandtags.h:
10608         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10609
10610 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
10611
10612         * lyxrc.[Ch]: change names and descriptions of popup font variables to
10613         reflect their actual use. Provide compatibility code for older lyxrc
10614         files.
10615
10616         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10617         FL_NORMAL_STYLE.
10618         change names of popup font variables in line with the changes to lyxrc.C
10619
10620 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10621
10622         * buffer.C (asciiParagraph): avoid outputing a word twice after
10623         an inset.
10624
10625         * lyxrc.C (getDescription): document that document_path and
10626         template_path can be empty.
10627
10628 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10629
10630         * LaTeXFeatures.C (getMacros):
10631         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10632
10633         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10634
10635         * LaTeXFeatures.C (useFloat): require "float" here instead of in
10636         getPackages.
10637         (getPackages): rename feature "floats" to "float". Use an array to
10638         iterate over 'simple' features (i.e. just a \usepackage). Add
10639         handling of "amsmath" (renamed from "amsstyle").
10640
10641 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
10642
10643         * LaTeXFeatures.C (require): Prevent duplicate entries in the
10644         features list.
10645
10646 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
10647
10648         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10649         FuncStaus::FuncStatus & FuncStaus::some_method().
10650
10651 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
10652
10653         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10654         of the func_satus stuff. Edited and massaged in various ways by
10655         JMarc.
10656
10657         * lyxfunc.C (getStatus): use FuncStatus
10658
10659 2002-01-08  Juergen Vigna  <jug@sad.it>
10660
10661         * text.C (nextBreakPoint): use function Inset::isChar().
10662
10663         * paragraph.C (TeXOnePar): use function
10664         Inset::forceDefaultParagraphs.
10665
10666         * buffer.C (latexParagraphs): use function
10667         Inset::forceDefaultParagraphs.
10668
10669 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10670
10671         * lyx_gui.C (init): set the style of the menu popups to
10672         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10673
10674 2002-01-07  Juergen Vigna  <jug@sad.it>
10675
10676         * text.C (setHeightOfRow): small fix
10677         (prepareToPrint): don't look at alignment if we don't have the place
10678         for doing it.
10679
10680 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10681
10682         * box.C: New file. Move the Box methods and functions out of box.h,
10683         following Lars' suggestion.
10684
10685 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10686
10687         * box.h: #include "support/LOstream.h", needed for inlined function.
10688
10689         * lyxtextclass.C:
10690         * lyxtextclasslist.C: added some using std declarations.
10691
10692 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
10693
10694         * box.h: make signed dimensions to allow insets wider than
10695           the screen (bug #162)
10696
10697         * BufferView_pimpl.C: add some insetHit debug
10698
10699 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
10700
10701         * vc-backend.C: add FIXME
10702
10703 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10704
10705         * lyxfunc.C (getStatus): enable code for showing math font status
10706         in toolbar/menu.
10707
10708 2002-01-07  Juergen Vigna  <jug@sad.it>
10709
10710         * text.C (nextBreakPoint): removed debug output not needed anymore.
10711
10712 2002-01-06  Juergen Vigna  <jug@sad.it>
10713
10714         * text.C (nextBreakPoint): fixed up this function we had this bug
10715         since ever but now hopefully we break row better.
10716         (insertChar): we have to check if an inset is the next char as it
10717         could now happen that a large inset is causing a break.
10718
10719 2002-01-05  Juergen Vigna  <jug@sad.it>
10720
10721         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10722         if it doesn't like to be drawed.
10723
10724 2002-01-04  Juergen Vigna  <jug@sad.it>
10725
10726         * BufferView2.C (lockInset): forgot to set a cursor.
10727
10728         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10729
10730 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
10731
10732         * FormMathsPanel.C:
10733         * FormMathsPanel.h
10734         * MathsSymbols.C:
10735         * form_maths_panel.C:
10736         * form_maths_panel.h:
10737         * form_maths_panel.fd: implemented sub- and super- buttons in math
10738         panel.
10739
10740         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10741         (or ^ space) to be used as in TeX (req'd by André).
10742
10743         * lyxfunc.C: Allow ^ and _ again to be used both as
10744         super/subscript (mathed) and as themselves (in text).
10745
10746 2002-01-03  Allan Rae  <rae@lyx.org>
10747
10748         * LyXView.C (updateWindowTitle): Setup a short icon title of either
10749         "LyX" or the filename of the current buffer if it has one.  This is a
10750         modified form of John Levon's patch.
10751
10752         * XFormsView.C (setWindowTitle): also set icon title.
10753
10754         * LyXView.h (setWindowTitle): signature changed.
10755         * XFormsView.h (setWindowTitle): ditto.
10756
10757 2002-01-02  Juergen Vigna  <jug@sad.it>
10758
10759         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10760
10761 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10762
10763         * screen.C (topCursorVisible): introduce a temp var for
10764         text->cursor.row(), handle the case where this row is null. (kindo
10765         hachish)
10766
10767         * text2.C (setCursor): add a couple of asserts.
10768
10769         * paragraph.h (inset_iterator): add -> operator
10770
10771         * paragraph.[Ch] (autoDeleteInsets): remove member function
10772
10773         * BufferView2.C (removeAutoInsets): rewrite to handle the old
10774         cursor pos correctly and handle inset deletion by itself.
10775         (insertErrors): move iterator declaration out of for expression
10776
10777         * lyxtextclass.C: add <algorithm>
10778
10779         * Makefile.am: added the new files to sources, removed layout.C
10780
10781         * layout.C: removed file
10782
10783         * layout.h: remove LYX_DUMMY_LAYOUT
10784
10785         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10786         layout.
10787
10788         * lyxlayout.[Ch]:
10789         * lyxtextclass.[Ch]:
10790         * lyxtextclasslist.[Ch]: new files
10791
10792         * include order changes to a lot of files, also changes because of
10793         the six new files.
10794
10795 2001-12-27  Juergen Vigna  <jug@sad.it>
10796
10797         * buffer.C (asciiParagraph): more fixes.
10798
10799         * tabular.C (ascii): make ascii export support export of only the
10800         data separated by a column-delimiter.
10801         (ascii): better support for ascii export.
10802
10803         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10804
10805 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10806
10807         * tabular_funcs.C: use a "using std::getline" instead of the
10808         previous fix from Angus (necessary for cxx + lyxstring)
10809
10810 2001-12-24  Juergen Vigna  <jug@sad.it>
10811
10812         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10813
10814         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10815         problems. First check a minipage also if we have some ert-contents
10816         (not only on par->size(), second set the right depth of the paragraph
10817         on the relink to the root-paragraph-list!
10818
10819         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10820         which then did not anymore update the main paragraphs on undo/redo!
10821
10822 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10823
10824         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10825         code. Support all font-changing funcs (even those which are not in
10826         menu currently). Support for reporting font settings in
10827         mathed (disabled until Andre provides a function on mathed's side).
10828
10829         * func_status.h (toggle): small helper function to set toggle
10830         state on a flag.
10831
10832 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10833
10834         * tabular_funcs.C: getline -> std::getline
10835
10836 2001-12-21  Juergen Vigna  <jug@sad.it>
10837
10838         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10839         accessed and could be 0 (I couldn't generate this but it seems
10840         Michael could!).
10841
10842 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10843
10844         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10845         * tabular_funcs.h: here and include iosfwd
10846
10847 2001-12-20  Juergen Vigna  <jug@sad.it>
10848
10849         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10850         inside inset but undo_par was.
10851
10852 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10853
10854         * Thesaurus.C: always include <config.h> in sources.
10855
10856         * Painter.h:
10857         * lyxlookup.h:
10858         * box.h: do not include <config.h> in header files
10859
10860         * text.C (paintLastRow): remove unused variable
10861
10862         * text.C (transformChar):
10863         (insertChar):
10864         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10865
10866         * Painter.C (text):
10867         * font.C (width): rewrite to use uppercase() instead of
10868         islower/toupper.
10869
10870         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10871
10872 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10873
10874         * lyxfind.C: clean up of find failure position change
10875
10876 2001-12-20  Juergen Vigna  <jug@sad.it>
10877
10878         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10879
10880         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10881         (TeXRow): added to LaTeX a single tabular row.
10882         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10883         (Latex): simplified and finally good LT-h/f support.
10884         (various_functions): just small adaptions for LT-h/f support.
10885
10886         * tabular_funcs.[hC]: added and moved here all not classfunctions
10887         of LyXTabular.
10888
10889 2001-12-19  Juergen Vigna  <jug@sad.it>
10890
10891         * tabular.[Ch]: better support for longtabular options (not finished
10892         yet!)
10893
10894 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10895
10896         * text.C (paintLastRow): use the label font instead of the font of
10897         the last character to compute the size of *_BOX. This makes more
10898         sense and avoids a crash with empty paragraphs.
10899         Use Painter::rectangle to draw EMPTY_BOX.
10900
10901 2001-12-19  Juergen Vigna  <jug@sad.it>
10902
10903         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10904         the paragraphs if the replaced paragraph is not the first one!
10905         Tried to delete not used paragraphs but does not work yet so for
10906         now it's inside #ifdef's and by default off!
10907
10908 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10909
10910         * MenuBackend.C: include "lyx_main.h" instead of declaring
10911         lastfiles (actually was declared as LastFiles* instead of a
10912         scoped_ptr).
10913
10914 2001-12-17  Juergen Vigna  <jug@sad.it>
10915
10916         * tabular.C (AppendColumn): applied John's fix
10917
10918 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10919
10920         * BufferView.h:
10921         * BufferView.C:
10922         * BufferView_pimpl.h:
10923         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10924
10925         * Makefile.am:
10926         * box.h: new start of class for above
10927
10928         * lyxfunc.C: ignore space-only minibuffer dispatches.
10929           Show the command name when it doesn't exist
10930
10931         * minibuffer.C: don't add empty lines to the history
10932
10933         * minibuffer.C: add a space on dropdown completion
10934
10935 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10936
10937         * text.C: fix line above/below drawing in insets
10938
10939 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10940
10941         * lyxlength.C (LyXLength): Initialize private variables.
10942
10943 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10944
10945         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10946         when inserting error insets.
10947
10948 2001-12-13  Juergen Vigna  <jug@sad.it>
10949
10950         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10951         actually sometimes the before-paragraph.
10952         (setUndo): don't clear the redostack if we're not actually undoing!
10953
10954 2001-12-06  Juergen Vigna  <jug@sad.it>
10955
10956         * undo_funcs.C (textHandleUndo): well after John's hint I got here
10957         and fixed redoing of main paragraph, so we can use it now ;)
10958
10959         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10960
10961 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10962
10963         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10964         Juergen's request
10965
10966 2001-12-13  André Pönitz <poenitz@gmx.net>
10967
10968         * undostack.[Ch]:
10969         * undo_func.C: minor cleanup
10970
10971 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10972
10973         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10974         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10975         font in urw-fonts package which is marked as -urw-fontspecific and
10976         does not work (incidentally, changing the encoding in the
10977         fonts.dir of this package to -adobe-fontspecific fixes the
10978         problem).
10979
10980         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10981         is a crash when undoing first paragraph (Juergen, please take a
10982         look). THis does not mean the undo fix is wrong, just that it
10983         uncovers problems.
10984
10985         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10986         the (Paragraph*) version when needed instead of duplicating the
10987         code.
10988
10989         * text.C (workWidth): use Inset::parOwner to find out where the
10990         inset has been inserted. This is a huge performance gain for large
10991         documents with lots of insets. If Inset::parOwner is not set, fall
10992         back on the brute force method
10993
10994         * paragraph_pimpl.C (insertInset):
10995         * paragraph.C (Paragraph):
10996         (cutIntoMinibuffer): set parOwner of insets when
10997         inserting/removing them
10998
10999         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11000
11001 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
11002
11003         * commandtags.h:
11004         * LyXAction.C:
11005         * lyx_main.C:
11006         * lyxfunc.C:
11007         * mathed/formulabase.C:
11008         * mathed/math_cursor.[Ch]:
11009         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11010
11011
11012 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11013
11014         * lyxlength.[Ch] (operator!=): new function
11015
11016 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11017
11018         * text.C (workWidth): use Inset::parOwner to find out where the
11019         inset has been inserted. This is a huge performance gain for large
11020         documents with lots of insets. If Inset::parOwner is not set, fall
11021         back on the brute force method
11022
11023         * paragraph_pimpl.C (insertInset):
11024         * paragraph.C (Paragraph):
11025         (cutIntoMinibuffer): set parOwner of insets when
11026         inserting/removing them
11027
11028         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11029
11030 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11031
11032         * tabular-old.C (getTokenValue):
11033         * tabular.C (getTokenValue):
11034         (write_attribute): new versions for LyXLength
11035         (everywhere): adjust the use of widths
11036
11037         * tabular.h: change the type of widths from string to LyXLength
11038
11039 2001-12-11  Ben Stanley <bds02@uow.edu.au>
11040
11041         * paragraph.C: fixed missing line number count when exporting
11042         Environments to LaTeX file
11043
11044         * buffer.C: added informational message for checking line numbers.
11045
11046 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11047
11048         * text2.C (deleteEmptyParagraphMechanism): if there is only one
11049         paragraph, do the 'double space' part, but not the 'empty
11050         paragraph' one.
11051
11052         * text.C (workWidth): small optimization
11053         (getLengthMarkerHeight): use minimal size for negative lengths.
11054
11055 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
11056
11057         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11058
11059         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11060
11061 2001-12-11  André Pönitz <poenitz@gmx.net>
11062
11063         * FontLoader.C:
11064         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11065
11066 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11067
11068         * text2.C: keep selection on a setFont()
11069
11070 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11071
11072         * lyx_cb.C: another bv->text misuse, from insert label
11073
11074 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11075
11076         * kbsequence.h:
11077         * kbsequence.C: re-instate nmodifier mask
11078
11079 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
11080
11081         * lyx_main.h: make lyxGUI private.
11082
11083 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11084
11085         * lyxfind.C: place the cursor correctly on failed search
11086
11087 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11088
11089         * text.C (getLengthMarkerHeight): for small heights, the arrows
11090         are not always on top/bottom of the text
11091         (drawLengthMarker): smaller arrows; take the left margin in
11092         account; draw also vfills.
11093         (paintFirstRow):
11094         (paintLastRow): remove special code for vfill and standard spaces,
11095         since everything is handled in drawLengthMarker now.
11096
11097 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11098
11099         * buffer.C (insertErtContents): try to handle font and language
11100         interaction a bit better.g
11101
11102         * ColorHandler.C (updateColor): change the hash to cover the whole
11103         LColor enum, ws cleanup
11104         (getGCLinepars): ditto
11105         (getGCLinepars): only lookup in the linecache once.
11106
11107 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
11108
11109         * iterators.C (operator++): Make the iterator more robust
11110
11111         * BufferView2.C (removeAutoInsets): Use paragraph iterators
11112         (John's patch)
11113         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11114
11115 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11116
11117         * lyxtext.h:
11118         * text.C: better added space drawing
11119
11120 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11121
11122         * LyXView.C:
11123         * BufferView2.C: fix layout combo update on inset unlock
11124
11125 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11126
11127         * Makefile.am: don't compile unused files
11128
11129 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11130
11131         * lyxfunc.C:
11132         * commandtags.h:
11133         * LyXAction.C: remove old LFUN_LAYOUTNO
11134
11135 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11136
11137         * paragraph_pimpl.h:
11138         * paragraph_pimpl.C: isTextAt() doesn't need font param
11139
11140 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11141
11142         * lyxlex.h:
11143         * lyxlex.C: little cleanup
11144
11145 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11146
11147         * BufferView_pimpl.C: fix insertAscii for insets
11148
11149 2001-12-05  Juergen Vigna  <jug@sad.it>
11150
11151         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11152         set the right font on the "multi" paragraph paste!
11153
11154 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11155
11156         * trans_decl.h:
11157         * trans_mgr.[Ch]:
11158         * trans.[Ch]:
11159         * lyxgluelength.C:
11160         * lyxlength.C: remove out-commented code.
11161
11162         * BufferView_pimpl:
11163         * CutAndPaste.C:
11164         * DepTable.C:
11165         * buffer.C:
11166         * chset.C:
11167         * lastfiles.C:
11168         * lyxlex.C:
11169         * lyxlex_pimpl.C:
11170         * lyxserver.C:
11171         * screen.C:
11172         * tabular-old.C:
11173         * tabular.C:
11174         * text.C:
11175         * trans_mgr.C:
11176         * vc-backend.C: change "while(" to "while ("
11177
11178         * lyxlength.[Ch]: add zero function to check if length is zero or
11179         not
11180         * lyxgluelength.C: use it
11181
11182 2001-12-05  Allan Rae  <rae@lyx.org>
11183
11184         * lyxlength.C: Attempted a fix for the abs(int) header selection.
11185         Works for 2.95.3, from what I understand of Garst's reports this should
11186         work for other g++ versions.  We're screwed if the abs(int) definition
11187         changed between bugfix releases of gcc.
11188
11189 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11190
11191         * text.C: fix chapter label offset !
11192
11193 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11194
11195         * lyxtext.h:
11196         * text.C: fix hfill at end of line, clean up
11197
11198 2001-12-04  Juergen Vigna  <jug@sad.it>
11199
11200         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11201         that we force an update of the inset and it's owners if neccessary.
11202
11203 2001-12-03  Juergen Vigna  <jug@sad.it>
11204
11205         * text.C (rowLast): simplified code
11206
11207 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11208
11209         * lyxfunc.C: fix show options on timeout
11210
11211 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11212
11213         * screen.C (topCursorVisible): scroll half a page when the cursor
11214         reached top of bottom of screen
11215
11216 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
11217
11218         * minibuffer.C: deactivate on loss of focus
11219
11220 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11221
11222         * vspace.[Ch] (operator!=): add operator.
11223
11224 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
11225
11226         * BufferView_pimpl.C: refuse to open an inset when
11227         there's a selection.
11228
11229 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
11230
11231         * BufferView_pimpl.C: allow to click on RHS of full row insets
11232
11233 2001-11-30  Juergen Vigna  <jug@sad.it>
11234
11235         * tabular.C (LyXTabular): add a same_id to set the same id's in the
11236         insets for undo reasons.
11237
11238 2001-11-28  André Pönitz <poenitz@gmx.net>
11239
11240         * vspace.[Ch]: cosmetical changes
11241
11242 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11243
11244         * LyXAction.h:
11245         * LyXAction.C:
11246         * lyxfunc.h:
11247         * lyxfunc.C:
11248         * kbmap.h:
11249         * kbmap.C:
11250         * lyxrc.C:
11251         * kbsequence.h:
11252         * kbsequence.C: part re-write of old kb code
11253
11254         * Painter.C:
11255         * WorkArea.C: remove Lgb_bug_find_hack
11256
11257 2001-11-30  José Matos <jamatos@fep.up.pt>
11258
11259         * buffer.C (makeDocBookFile): add a comment to point a hack.
11260         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11261         Fixed a double write of labels.
11262
11263 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11264
11265         * LaTeX.C:
11266         * LaTeX.h Fixed bug in LaTeX class where it would not
11267         re-run latex if no depfiles were changed, but the .dvi was removed.
11268
11269 2001-11-28  André Pönitz <poenitz@gmx.net>
11270
11271         * all the files from the change on 2001/11/26:
11272         use lyx::layout_type instead of LyXTextClass::size_type
11273         use lyx::textclass_type instead of LyXTextClassList::size_type
11274
11275 2001-11-29  Juergen Vigna  <jug@sad.it>
11276
11277         * text.C: added support for paragraph::isFreeSpacing()
11278
11279         * buffer.C: same as above
11280
11281         * paragraph.h: inserted isFreeSpacing() function to enable
11282         FreeSpacing inside InsetERT.
11283
11284         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11285         of the paragraph's in the cut/copy buffer to 0!
11286
11287         * text2.C (removeRow): remove the assert as it can!
11288
11289         * lyxtext.h: added helper function firstRow returning firstrow and
11290         made firstrow private again.
11291
11292         * BufferView2.C (lockInset): don't relock if we're already locked!
11293
11294         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11295         the only paragraph.
11296         (removeRow): added Assert::(firstrow)
11297
11298         * debug.C: forgot to add INSETTEXT here.
11299
11300 2001-11-28  Juergen Vigna  <jug@sad.it>
11301
11302         * sp_spell.C (initialize): changed error text to more general
11303         spellchecker command use (not only ispell!)
11304
11305         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11306
11307         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11308
11309 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11310
11311         * vspace.C: initialise lyxgluelength on failure
11312
11313 2001-11-28  Allan Rae  <rae@lyx.org>
11314
11315         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11316         declaration & definition that looks like a function declaration.
11317
11318 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11319
11320         * BufferView2.C (copy):
11321         (copyEnvironment): do not clear the selection when doing a copy.
11322
11323         * text.C (paintFirstRow): compilation fix
11324
11325 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
11326
11327         * tabular.C (Latex): correct line count when writing latex.
11328
11329 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
11330
11331         * paragraph_pimpl.h:
11332         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11333           bug a bit
11334
11335 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11336
11337         * text.C:
11338         * LColor.h:
11339         * LColor.C: change vfillline->added_space
11340
11341         * text.C: add markers and text for added space
11342
11343         * vspace.C: fix comment
11344
11345 2001-11-28  André Pönitz <poenitz@gmx.net>
11346
11347         * paragraph.C: whitespace changes
11348         * all the other files from the change on 2001/11/26:
11349         change *::pos_type into lyx::pos_type
11350
11351 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
11352
11353         * buffer.C (parseSingleLyXformat2Token): Set the language to the
11354         language of the document when inserting error insets.
11355
11356 2001-11-26  André Pönitz <poenitz@gmx.net>
11357
11358         * BufferView_pimpl.[Ch]:
11359         *       CutAndPaste.C:
11360         * buffer.[Ch]:
11361         * lyxcursor.[Ch]:
11362         * lyxfind.C:
11363         * lyxfunc.C:
11364         * lyxrow.[Ch]:
11365         * paragraph.[Ch]:
11366         * paragraph_pimpl.[Ch]:
11367         * sp_spell.C:
11368         * text.C:
11369         * text2.C: reduce header dependencies, introduce type for positions
11370
11371 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11372
11373         * <various>: change to use Alert.h
11374
11375 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
11376
11377         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11378         when encountering an unknown token.
11379         (readLyXformat2): Show an error message if there were unknown tokens.
11380
11381 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
11382
11383         * BufferView2.C:
11384         * BufferView_pimpl.C:
11385         * buffer.C:
11386         * paragraph.h:
11387         * text.C:
11388         * text2.C: use par->isInset()
11389
11390 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11391
11392         * paragraph_pimpl.h:
11393         * paragraph_pimpl.C: cleanup
11394
11395 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11396
11397         * text2.C (removeRow):
11398         * text.C (setHeightOfRow): remove useless (and costly) call to
11399         getRow.
11400
11401 2001-11-20  Allan Rae  <rae@lyx.org>
11402
11403         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11404         Now need Inset*::checkInsertChar() to return true for appropriate
11405         cases so that the characters in the minibuffer will actually be
11406         inserted.
11407
11408 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11409
11410         * text.C: change the order of the includes.
11411         (workWidth): initialize it at once.
11412         (workWidth): make maxw unsigned
11413         (setHeightOfRow): remove unused variable (inset)
11414         (selectSelectedWord): remove unused variable (inset)
11415         (paintRowText): fix drawing of hfill characters, and clean up a bit.
11416
11417 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11418
11419         * lyxserver.C (emergencyCleanup): do not try to close pipes if
11420         server is not running.
11421         (openConnection):
11422         (closeConnection): add debug info when server is disabled.
11423
11424         * ColorHandler.C (getGCForeground): send debug message to GUI
11425         channel.
11426
11427         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11428
11429         * kbmap.C (bind): modify because return conventions of
11430         kb_sequence::parse have changed.
11431
11432         * kbsequence.C (parse): only ignore spaces and not any stupid
11433         control character. This avoids tests like s[i] <= ' ', which are
11434         guaranteed to fail with 8bit characters and signed chars.
11435         Change return code to string::npos when there have been no error
11436         (0 was a bad idea when error is at first character)
11437
11438 2001-11-14  José Matos  <jamatos@fep.up.pt>
11439
11440         * buffer.h:
11441         * buffer.C (simpleDocBookOnePar): removed unused argument.
11442
11443 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11444
11445         * text.C (selectNextWordToSpellcheck): do not test explicitely for
11446         insets which are part of a word. Paragraph::isLetter takes care of
11447         that now. Use Paragraph::isInset to identify insets.
11448         (selectSelectedWord): do not test for hyphenation break.
11449
11450         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11451         that protected spaces are considered as spaces.
11452
11453         * paragraph.C (isLetter): cleanup the code for ispell extras; use
11454         Inset::isLetter.
11455
11456 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
11457
11458         * lyxserver.h:
11459         * lyxserver.C: fix it. and small cleanup.
11460
11461 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11462
11463         * BufferView_pimpl.C: use inline helpers
11464
11465         * LaTeXFeatures.h:
11466         * LaTeXFeatures.C: fix typos
11467
11468         * Spacing.h:
11469         * Spacing.C: move spacing_string into class
11470
11471         * ToolbarDefaults.C: move stuff into namespace anon
11472
11473         * layout.h: update enum
11474
11475         * lyxfunc.C: use better debug
11476
11477         * minibuffer.h: fix typo
11478
11479         * debug.h:
11480         * debug.C:
11481         * WorkArea.C: add and use Debug::WORKAREA
11482
11483         * lyxtext.h:
11484         * text.C:
11485         * text2.C: code re-organisation, inline helpers
11486
11487 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
11488
11489         * Layout.C: replaced a few cases of std::vector.size() == 0 with
11490         std::vector.empty().
11491
11492 2001-11-09  Allan Rae  <rae@lyx.org>
11493
11494         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11495         '\n's after tables.  Tabular and ERT inset work now makes this no
11496         longer necessary.
11497
11498 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11499
11500         * minibuffer.h:
11501         * minibuffer.C: fix crash, improve drop-down completion
11502
11503 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
11504
11505         * lyxserver.h:
11506         * lyxserver.C: invalidate fd's when doing endPipe()
11507
11508 2001-11-08  José Matos  <jamatos@fep.up.pt>
11509
11510         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11511         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11512
11513         * paragraph.h:
11514         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11515
11516 2001-11-07  José Matos  <jamatos@fep.up.pt>
11517
11518         * buffer.h:
11519         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11520         const qualifier.
11521
11522         * buffer.C (sgmlOpenTag):
11523         * buffer.C (sgmlCloseTag): removed debug info.
11524
11525         * buffer.h (sgmlOpenTag):
11526         * buffer.h (sgmlCloseTag): made public.
11527
11528 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11529
11530         * buffer.C (saveParamsAsDefaults):
11531         * lyx_cb.C (MenuLayoutSave): remove
11532
11533         * LyXAction.C (init):
11534         * commandtags.h:
11535         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11536
11537 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11538
11539         * buffer.C (setPaperStuff): removed from here...
11540
11541         * bufferparams.C (setPaperStuff): ... and moved there.
11542
11543 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
11544
11545         * minibuffer.h:
11546         * minibuffer.C:
11547         * XFormsView.C: add support for drop-down completion
11548
11549 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
11550
11551         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11552         commands.
11553
11554 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11555
11556         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11557         disabled.
11558
11559 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
11560
11561         * lyx_main.C: change ref to known bugs
11562
11563 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
11564
11565         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11566         to work around older babel problems.
11567
11568 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11569
11570         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11571
11572 2001-10-24  Juergen Vigna  <jug@sad.it>
11573
11574         * tabular-old.C (ReadOld): below variable changes reflected.
11575
11576         * tabular.[Ch]: added ltType struct for longtable header/footer
11577         defines and changed all instances where they are used. Added
11578         future support for double top/bottom rows.
11579
11580 2001-10-24  José Matos  <jamatos@fep.up.pt>
11581
11582         * buffer.h (docbookHandleCaption):
11583         * buffer.C (docbookHandleCaption): removed unused function.
11584         (makeDocBookFile): moved docbook supported version to v4.1.
11585
11586 2001-10-24  José Matos  <jamatos@fep.up.pt>
11587
11588         * tabular.h:
11589         * tabular.C (docbookRow): new function to export docbook code of a row.
11590         (DocBook): now honors the longtable flags.
11591
11592 2001-10-23  José Matos  <jamatos@fep.up.pt>
11593
11594         * LaTeXFeatures.h:
11595         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11596         of the lyx defined sgml entities used in a docbook/linuxdoc document.
11597
11598         * buffer.C (makeLinuxDocFile):
11599         (makeDocBookFile): reworked the preamble, more clean, and with
11600         support for lyx defined entities. Changed the document declaration
11601         to be more XML friendly.
11602
11603         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11604         if we need to output XML that should be done with a filter.
11605
11606 2001-10-22  Juergen Vigna  <jug@sad.it>
11607
11608         * sp_pspell.h (class PSpell): add alive function needed in the
11609         controller to see if the spellchecker could be started.
11610
11611 2001-10-22  Juergen Vigna  <jug@sad.it>
11612
11613         * buffer.C (insertStringAsLines): modify the font for inserting
11614         chars in certain conditions by calling checkInsertChar(font).
11615
11616 2001-10-19  Juergen Vigna  <jug@sad.it>
11617
11618         * text.C (workWidth): use getRow instead of wrong algorithm.
11619         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11620
11621 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
11622
11623         * lyxserver.h:
11624         * lyxserver.C:
11625         * lyx_main.h:
11626         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11627
11628 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11629
11630         * text.C (workWidth): do not search for the exact row when
11631         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11632         optimization for big documents.
11633
11634 2001-10-18  Juergen Vigna  <jug@sad.it>
11635
11636         * text.C (workWidth): new function with added Inset * parameter.
11637
11638 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11639
11640         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11641
11642         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11643         change return type of getColumnNearX.
11644
11645
11646         * text.C (changeRegionCase): use uppercase/lowercase instead of
11647         toupper/tolower.
11648         (leftMargin):
11649         (rightMargin): simplify code by factoring out the uses of
11650         textclasslist.
11651         (labelFill):
11652         (numberOfHfills):
11653         (setHeightOfRow):
11654         (appendParagraph): use Paragraph::size_type
11655
11656 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11657
11658         * vspace.C (asLatexString): add a missing break
11659
11660 2001-10-15  Herbert Voss  <voss@perce.de>
11661
11662         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11663
11664 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11665
11666         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11667         is not available.
11668
11669 2001-10-10  André Pönitz <poenitz@gmx.net>
11670
11671         * lyxfunc.C: removed greek_kb_flag.
11672
11673 2001-10-10  Herbert Voss  <voss@perce.de>
11674
11675         * lyx_main.C: delete global string help_lyxdir.
11676
11677 2001-10-09  Herbert Voss  <voss@perce.de>
11678
11679         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11680
11681         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11682
11683         * lyx_main.C: added global string help_lyxdir.
11684
11685         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11686
11687 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11688
11689         * lyxrc.C (set_font_norm_type): support iso8859-4
11690
11691 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
11692
11693         * LaTeX.C (deplog): add another regex for MikTeX
11694
11695 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11696
11697         * lyxrc.C (set_font_norm_type): support iso8859-3
11698
11699 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11700
11701         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11702
11703         * LaTeXFeatures.C: remove special case of french and index
11704
11705         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11706         before \begin{document}). This solves several incompatibilities.
11707
11708 2001-10-03  Garst Reese  <reese@isn.net>
11709
11710         * lyx_cb.C: change CheckTex error msg.
11711
11712 2001-10-03  José Matos  <jamatos@fep.up.pt>
11713
11714         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11715
11716 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11717
11718         * .cvsignore: update
11719
11720         * lyx_main.C (commandLineVersionInfo): use new style version info.
11721
11722         * buffer.C (writeFile):
11723         (makeLaTeXFile):
11724         (makeLinuxDocFile):
11725         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11726
11727         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11728
11729         * version.h: update to use stuff in version.C
11730
11731         * version.C.in: new file. Contains version information determined
11732         at compile time. This is a merging of version.h and
11733         version_info.h.in.
11734
11735 2001-10-03  Juergen Vigna  <jug@sad.it>
11736
11737         * BufferView_pimpl.C (update): don't change "dirty" status in
11738         updateInset call.
11739
11740 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
11741
11742         * WorkArea.C (c-tor): re-position version string slightly.
11743
11744 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
11745
11746         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11747         revert to previous code.
11748
11749         WorkArea.[Ch]: (show, destroySplash): methods removed.
11750
11751         WorkArea.C: rework code so that it's an amalgam of the codes before and
11752         after the splash screen was moved to WorkArea.
11753
11754 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11755
11756         * lyxrc.C (read):
11757         * vspace.C (inPixels):
11758         (lyx_advance):
11759         * kbmap.C (bind):
11760         * buffer.C (insertStringAsLines):
11761         (asciiParagraph): fix types to be large enough
11762
11763         * lyxlex_pimpl.h: change member status from short to int
11764
11765         * layout.h: fix type of endlabeltype
11766
11767         * kbmap.C (bind):
11768         * kbsequence.C (parse): change return type to string::size_type
11769
11770         * LaTeX.C (updateBibtexDependencies): comment out unneeded
11771         variable
11772
11773         * Bullet.C (bulletSize):
11774         (bulletEntry): do not use short ints as parameters
11775
11776         * BufferView2.C (insertLyXFile): change a char to an int.
11777
11778         * WorkArea.C (WorkArea): remove unneeded floats in computation
11779
11780 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11781
11782         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11783
11784         * paragraph.C (asString): Do not ignore newline/hfill chars when
11785         copying to the clipboard.
11786
11787 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
11788
11789         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11790         after a multi-line inset.
11791
11792 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
11793
11794         * paragraph.C (validate): Set NeedLyXFootnoteCode
11795
11796 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11797
11798         * lyxfont.C (LyXSizeNames): changed increase-error to increase
11799         and decrease-error to decrease.
11800
11801 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11802
11803         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11804         it more readable (should be equivalent)
11805
11806 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11807
11808         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11809
11810 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11811
11812         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11813         of a cursor (row, etc.) after a character has been deleted
11814         (deleteEmptyParagraphMechanism): call the method above on _all_
11815         cursors held by the LyXText when a double space has been
11816         detected/deleted.
11817
11818 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11819
11820         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11821         pixmap.
11822         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11823
11824         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11825         background. Use greyOut() and the new show() methods to toggle between
11826         the foreground and background. Add code to remove the splash after
11827         its initial showing.
11828
11829         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11830         (create_forms): no longer call Dialogs::showSplash.
11831
11832 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11833
11834         * .cvsignore: add version_info.h
11835
11836 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11837
11838         * version_info.h.in: new file
11839
11840         * Makefile.am: add version_info.h.in
11841
11842         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11843         version_info.h instead of VERSION_INFO
11844
11845 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11846
11847         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11848         The ERT inset now returns string().
11849
11850 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11851
11852         * lyxtext.h, text.C (selectNextWord): renamed as
11853         selectNextWordToSpellcheck.
11854
11855         * text.C (selectNextWordToSpellcheck): Modified to not select
11856         words inside an ERT inset.
11857
11858 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11859
11860         * lyx_cb.C (MenuLayoutSave): change a bit the question
11861
11862         * sp_base.h: include <sys/types.h>
11863
11864 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11865
11866         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11867
11868 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11869
11870         * several files: fix typos in user-visible strings
11871
11872 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11873
11874         * text2.C (pasteSelection): do not set the selection, since it
11875         will be cleared later. Actually, the intent was to fix the way the
11876         selection was set, but I figured rmoving the code was just as good.
11877
11878 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11879
11880         * FontLoader.C (available): Check if font is available without
11881         loading the font.
11882
11883 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11884
11885         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11886
11887 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11888
11889         * lyxrc.[Ch]: added display_graphics variable and associated code.
11890
11891 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11892
11893         * bufferparams.C (hasClassDefaults): new method. Returns true if
11894         the buffer parameters correspond to known class defaults
11895
11896 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11897
11898         * XFormsView.C (show): set minimum size to the main window.
11899
11900 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11901
11902         * text2.C (copySelection):
11903         (cutSelection):
11904         * lyxfind.C (LyXReplace):
11905         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11906         LyXText::selectionAsString.
11907
11908         * paragraph.C (asString): add "label" argument to the second form
11909
11910         * text2.C (selectionAsString): add "label" argument and pass it to
11911         Paragraph::asString.
11912
11913 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11914
11915         * lyx_main.C (commandLineHelp): remove version information
11916
11917 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11918
11919         * lyx_main.C: add -version commandline option
11920
11921 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11922
11923         * paragraph.h: make the optional constructor arg required instead.
11924         some modifications to other files because of this.
11925
11926         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11927
11928         * lyxserver.C (C_LyXComm_callback): make it static
11929
11930         * lyx_main.C (error_handler): make it static
11931
11932         * lyx_gui.C (LyX_XErrHandler): make it static
11933
11934         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11935
11936         * WorkArea.C: make the extern "C" methods static.
11937
11938         * Makefile.am (lyx_LDADD): simplify
11939
11940 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11941
11942         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11943         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11944
11945         * LyXAction.C (init):
11946         * lyxfunc.C (dispatch): associated code removal.
11947
11948 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11949
11950         * lyxfont.h (isSymbolFont): shut off warning
11951
11952         * text.C (setHeightOfRow):
11953         (getVisibleRow): fix crash with empty paragraphs which have a
11954         bottom line
11955
11956 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
11957
11958         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11959         code.
11960
11961 2001-09-04  José Matos  <jamatos@fep.up.pt>
11962         * buffer.C
11963         * buffer.h
11964         * tabular.C (docbook): rename docBook method to docbook.
11965
11966 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11967
11968         * Makefile.am: add dependencies to main.o.
11969
11970 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
11971
11972         * FontLoader.C (available): Return false if !lyxrc.use_gui
11973
11974 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
11975
11976         * FontInfo.C (query):
11977         * converter.C (view):
11978         * importer.C (Import):
11979         * exporter.C (Export): Can not -> cannot.
11980
11981 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
11982
11983         * BufferView_pimpl.C: allow to create index inset even if
11984           string is empty
11985
11986 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11987
11988         * buffer.C (getLists): replace boost::tie code with an explicit pair
11989         as boost::tie can break some compilers.
11990
11991         * iterators.h: Added a std:: declaration to the return type of
11992         ParIterator::size.
11993
11994 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
11995
11996         * lyxrc.C: add help for view_dvi_paper_option, default to safe
11997           case.
11998
11999 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
12000
12001         * iterators.[Ch]: New files. Provide paragraph iterators.
12002
12003         * buffer.C (changeLanguage): Use paragraph iterators.
12004         (isMultiLingual): ditto
12005
12006         * BufferView2.C (ChangeInsets): Use paragraph iterators.
12007
12008 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
12009
12010         * FontLoader.C: Support for cmr font.
12011
12012 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
12013
12014         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12015         (available): New method.
12016
12017         * FontInfo.C (getFontname): Use scalable fonts even when
12018         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12019         found.
12020
12021 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12022
12023         * converter.C (Formats::view): reverted! Incorrect fix.
12024
12025 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12026
12027         * converter.C (Formats::view): only output the -paper option
12028         if the dvi viewer is xdvi, thereby fixing bug #233429.
12029
12030 2001-08-23  Herbert Voss  <voss@perce>
12031
12032         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12033
12034 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
12035
12036         * Spacing.h (Spacing): Set space to Default on in the default
12037         constructor.
12038
12039 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12040
12041         * vc-backend.h (RCS::versionString): add RCS to version
12042         (CVS::versionString): add CVS to version
12043
12044         * vc-backend.C (scanMaster): do not add CVS to version.
12045         (scanMaster): do not add RCS to version
12046
12047         * lyxvc.C (versionString): new method
12048
12049         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12050
12051 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12052
12053         * Spacing.C (set): initialize fval
12054
12055 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
12056
12057         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12058         " or \.
12059
12060 2001-08-16  Juergen Vigna  <jug@sad.it>
12061
12062         * lyxfunc.C (dispatch): implemented the new FINISHED states.
12063
12064 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12065
12066         * BufferView_pimpl.C:
12067         * figureForm.C:
12068         * lyxtext.h:
12069         * text2.C: setParagraph takes linespacing now
12070
12071 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
12072
12073         * LyxAction.C: add internal LFUN_CITATION_INSERT
12074
12075         * LyXView.C: actually apply fix
12076
12077         * bufferlist.C: fix open non-existent file
12078
12079         * lyxfind.C: fix indentation
12080
12081         * lyxfunc.C: remove unneeded assert, fix typo
12082
12083 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12084
12085         * MenuBackend.C: use "Floatname List"
12086
12087 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
12088
12089         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12090         when converting LaTeX layout to insetERT.
12091         Generate a non-collapsed float when reading old float
12092
12093 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12094
12095         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12096         ERT insets.
12097
12098 2001-08-13  Juergen Vigna  <jug@sad.it>
12099
12100         * text.C (fill): return 0 instead of 20 as this seems to be the more
12101         correct value.
12102
12103 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12104
12105         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12106         lyxrc.font_norm.
12107
12108 2001-08-13  Juergen Vigna  <jug@sad.it>
12109
12110         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12111         casesensitive off.
12112         (SearchBackward): comment out the unlocking of the inset_owner this
12113         should not be needed!
12114
12115 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
12116
12117         * Many files: Remove inherit_language, and add latex_language
12118
12119         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12120         collapsible insets.
12121
12122 2001-08-10  Juergen Vigna  <jug@sad.it>
12123
12124         * text.C (prepareToPrint): fixed hfill-width in draw!
12125
12126         * BufferView2.C (selectLastWord): save the selection cursor as this
12127         now is cleared in the function LyXText::clearSelection!
12128
12129 2001-08-08  Juergen Vigna  <jug@sad.it>
12130
12131         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12132         BACKSPACE type functions.
12133
12134         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12135         is only cutted from the document but not put in the cut-buffer, where
12136         still the old stuff should be.
12137
12138         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12139
12140         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12141
12142         * tabular.C (SetWidthOfCell): fixed special case where the width
12143         was not updated!
12144         (LeftLine): handle '|' in align_special.
12145         (RightLine): ditto
12146         (LeftAlreadyDrawed): ditto
12147         (SetWidthOfCell): ditto
12148
12149 2001-08-07  Juergen Vigna  <jug@sad.it>
12150
12151         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12152
12153 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12154
12155         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12156         * lyxlex.[hC]: ditto
12157
12158 2001-08-06  Juergen Vigna  <jug@sad.it>
12159
12160         * text.C (getVisibleRow): fix up row clearing a bit.
12161
12162 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12163
12164         * minibuffer.C: make sure the X server sees the changes in the input.
12165
12166 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12167
12168         * paragraph.C (getFont): split into...
12169         (getLabelFont): this
12170         (getLayoutFont): and this
12171         * paragraph_pimpl.C (realizeFont): calling this
12172
12173         * text2.C (getFont): split into...
12174         (getLayoutFont): this
12175         (getLabelFont): and this
12176         (realizeFont): all three calling this
12177
12178         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12179         files where used.
12180
12181 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12182
12183         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12184
12185 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
12186
12187         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12188         layouts from the Quote inset insertion.
12189
12190 2001-08-03  Juergen Vigna  <jug@sad.it>
12191
12192         * BufferView_pimpl.C (update): do the fitCursor only at the end!
12193
12194         * screen.C (drawFromTo): don't call fitcursor here and do the loop
12195         only if status not is already CHANGED_IN_DRAW (second level).
12196
12197         * text.C (draw): don't set the need_break_row when inside an
12198         InsetText LyXText.
12199
12200 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12201
12202         * buffer.C (parseSingleLyXformat2Token): handle more latex
12203         conversion cases.
12204
12205         * bufferview_funcs.[hC]: change function names to
12206         begin with small char, adjust other files.
12207
12208 2001-08-02  André Pönitz <poenitz@gmx.net>
12209
12210         * lyxfunc.C:
12211         BufferView_pimpl.C: remove broken special code for math-greek
12212
12213 2001-08-02  Juergen Vigna  <jug@sad.it>
12214
12215         * BufferView_pimpl.C (update): redone this function so that we
12216         update the text again if there was a CHANGE_IN_DRAW.
12217
12218         * screen.C (cursorToggle): removed LyXText parameter and recoded.
12219         (drawFromTo): added a new internal bool which is used by draw() and
12220         redraw() function.
12221         (general): some cursor drawing problems fixed.
12222
12223 2001-08-01  Juergen Vigna  <jug@sad.it>
12224
12225         * lyxfind.C (LyXFind): fixed
12226         (SearchForward): ditto
12227         (SearchBackward): ditto
12228
12229         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12230         spurius drawing of the cursor in the main area.
12231
12232         * text2.C (status): small fix which could lead to a segfault!
12233         (clearSelection): remove unneeded BufferView param.
12234
12235 2001-08-01  André Pönitz <poenitz@gmx.net>
12236
12237         * lyxfunc.C: small change due to changed mathed interface
12238
12239 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12240
12241         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12242
12243 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
12244
12245         * lyxfunc.c: fail gracefully if file doesn't exist
12246
12247         * LyXSendto.C:
12248         * buffer.C:
12249         * lyxfunc.C:
12250         * BufferView_pimpl.C: IsDirWriteable() proto changed
12251
12252         * LyXView.C: fix updateWindowTitle() to store the last title
12253
12254 2001-07-31  Juergen Vigna  <jug@sad.it>
12255
12256         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12257         the font (wrong since using of Paragraph::highestFontInRange).
12258
12259         * paragraph.C (highestFontInRange): added a default_size parameter.
12260
12261         * text.C (getVisibleRow): minor clear row changes (still not perfect).
12262         (setHeightOfRow): reformat
12263
12264 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12265
12266         * converter.[hC] + affected files: move to (inital-char)lowercase
12267         function names.
12268
12269         * ParagraphParameters.C (ParagraphParameters): remove commented code
12270
12271         * PainterBase.[Ch]: remove commented code
12272
12273         * LaTeXFeatures.h: add "bool floats" for float.sty
12274
12275         * LaTeXFeatures.C (LaTeXFeatures): init floats
12276         (require): handle float
12277         (getPackages): do it with floats
12278
12279 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12280
12281         * BufferView_pimpl.C (Dispatch): improve handling of
12282         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12283
12284         * commandtags.h: #include lyxfont.h here temporarily to avoid
12285         keybinding bug.
12286
12287         * bufferlist.h: include LString.h here.
12288
12289 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12290
12291         * text2.C (getStringToIndex): new method.
12292
12293 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
12294
12295         * *: Reduced header file dependencies all over.
12296
12297 2001-07-30  Baruch Even  <baruch@lyx.org>
12298
12299         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12300
12301 2001-07-29  Baruch Even  <baruch@lyx.org>
12302
12303         * buffer.C (readInset): Changed GRAPHICS to Graphics.
12304
12305 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12306
12307         * ParameterStruct.h (endif): add a default constructor to make
12308         sure that all variables is initialized.
12309
12310         * ParagraphParameters.C (ParagraphParameters): adjust
12311
12312 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12313
12314         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12315         index; also, check that there is something to index, and that it
12316         does not span over several paragraphs.
12317         (doubleClick): use WHOLE_WORD_STRICT for double click.
12318
12319         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12320
12321         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12322         scheme.
12323
12324 2001-07-26  Baruch Even  <baruch@lyx.org>
12325
12326         * buffer.C (readInset): Changed to call up InsetGraphics when reading
12327         an InsetFig figure, backwards compatible reading of old figure code.
12328
12329 2001-07-27  Juergen Vigna  <jug@sad.it>
12330
12331         * text2.C: font.realize function adaption.
12332
12333         * text.C (draw): add a warnings lyxerr text if needed.
12334
12335         * layout.C: font.realize function adaption.
12336
12337         * language.C: add inherit_language and implement it's handlings
12338
12339         * bufferview_funcs.C (StyleReset): remove language parameter from
12340         font creation (should be language_inherit now).
12341
12342         * bufferparams.C (writeFile): handle ignore_language.
12343
12344         * paragraph.C (getFontSettings): the language has to be resolved
12345         otherwise we have problems in LyXFont!
12346
12347         * lyxfont.C (lyxWriteChanges): added document_language parameter
12348         (update): removed unneeded language parameter
12349
12350         * paragraph.C (validate): fixed wrong output of color-package when
12351         using interface colors for certain fonts in certain environments,
12352         which should not seen as that on the final output.
12353
12354 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
12355
12356         * BufferView_pimpl.C:
12357         * Thesaurus.h:
12358         * Thesaurus.C:
12359         * Makefile.am:
12360         * commandtags.h:
12361         * LyXAction.C: add thesaurus support
12362
12363         * lyxfind.h:
12364         * lyxfind.C: add "once" parameter, for thesaurus, to not
12365           move to the next match
12366
12367 2001-07-26  Juergen Vigna  <jug@sad.it>
12368
12369         * lyxfont.C (realize): honor ignore_language too!
12370         (resolved): ditto.
12371
12372         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12373
12374         * text.C (draw): one place more for ignore_language to not draw
12375         itself!
12376
12377 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
12378
12379         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12380
12381 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12382
12383         * buffer.C (parseSingleLyXformat2Token): a more general fix for
12384         the minipage conversion problem.
12385
12386 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12387
12388         * buffer.C (parseSingleLyXformat2Token): check minipage if we
12389         insert an inset.
12390
12391 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12392
12393         * BufferView.h: don't forward declare WorkArea
12394
12395         * BufferView.C: don't include WorkArea.h
12396
12397 2001-07-25  André Pönitz <poenitz@gmx.net>
12398
12399         * commandtags.h:
12400         * LyXAction.C:
12401         * lyxfunc.C:  new LFUN 'math-space'
12402
12403         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12404
12405 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12406
12407         * text2.C (toggleInset): call open/close
12408
12409 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12410
12411         * lyxfunc.C (dispatch): add debug for the disabled case
12412
12413         * font.C (buttonText): make similar to rectText
12414
12415         * buffer.C (readInset): comment out parsing of insetlist and
12416         insttheorem
12417
12418         * PainterBase.C (rectText): small correction
12419
12420         * BufferView_pimpl.C: comment out insettheorem and insetlist
12421         * LyXAction.C: ditto
12422         * commandtags.h: ditto
12423
12424 2001-07-24  Juergen Vigna  <jug@sad.it>
12425
12426         * text.C (draw): honor the ignore_language.
12427
12428         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12429
12430 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12431
12432         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12433         char inset.
12434
12435 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12436
12437         * lyxtext.h: remove unused (and unimplemented) methods
12438
12439 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12440
12441         * text.C (getVisibleRow): honor background color
12442
12443         * PainterBase.h:
12444         * Painter.h: remove default color argument for fillRectangle
12445
12446         * text.C (backgroundColor): new method
12447
12448 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12449
12450         * text.C (getVisibleRow): adjust
12451
12452         * font.[Ch] (rectText): new method, metrics
12453         (buttonText): new method, metrics
12454
12455         * PainterBase.[hC]: make rectText and buttonText always draw and take
12456         fewer paramteres.
12457
12458 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12459
12460         * ToolbarDefaults.C (read):
12461         * MenuBackend.C (read): allow escaping in all strings
12462
12463         * BufferView_pimpl.C (insertAndEditInset): new method.
12464         (Dispatch): use insertAndEditInset whenever appropriate.
12465
12466         * BufferView_pimpl.C (insertNote): removed
12467
12468         * BufferView_pimpl.C (smartQuote): new method, moved from
12469         BufferView; if an insetquote cannot be inserted, insert a '"'
12470         character instead.
12471
12472         * BufferView2.C: remove insertCorrectQuote();
12473
12474         * lyxfunc.C (getStatus): Add support for all remaingin
12475         inset-insert lfuns.
12476
12477         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12478
12479         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12480         command (necessary to pass " as parameter of self-insert.
12481
12482         * text.C (selectWordWhenUnderCursor):
12483         (selectWord): add word_location parameter
12484         (selectWordWhenUnderCursor): same + remove special code for word
12485         boundary.
12486         (selectNextWord): use kind() to guess type of insetspecialchar,
12487         not latex().
12488
12489         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12490         (insertErtContents): create ert insets as collapsed.
12491         (readInset): better compatibility code for Info inset.
12492
12493 2001-07-20  Juergen Vigna  <jug@sad.it>
12494
12495         * lyxfunc.C (dispatch): use always LyXFind now!
12496
12497         * text2.C (init): add a reinit flag so that the LyXText can be
12498         reinited instead of deleted and reallocated (used in InsetText).
12499
12500         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12501
12502         * text.C: ditto
12503
12504         * text2.C: ditto
12505
12506 2001-07-18  Juergen Vigna  <jug@sad.it>
12507
12508         * text.C (selectNextWord): handle insets inside inset by calling
12509         always the bv->text functions so that we can go up the_locking_inset!
12510
12511         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12512         in strange locations when inside an inset!
12513
12514         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12515         handling to include insets.
12516
12517         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12518
12519 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12520
12521         * LyXAction.C (init):
12522         * commandtags.h:
12523         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12524         LIGATURE_BREAK, since the name is so stupid.
12525
12526 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12527
12528         * buffer.C (readInset): enable reading of new InsetNotes as well as old
12529         InsetInfos.
12530
12531         * FontLoader.C: remove FORMS_H_LOCATION cruft.
12532
12533         * sp_form.[Ch]: remove.
12534
12535         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12536
12537         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12538         InsetInfo.
12539
12540         * src/buffer.C (readInset): ditto.
12541
12542 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12543
12544         * BufferView_pimpl.C (specialChar): new method. Obsoletes
12545         menuSeparator(), endOfSentenceDot(), ldots() and
12546         hyphenationPoint(), which are therefore removed.
12547         (Dispatch): handle LFUN_HYPHENATION_BREAK.
12548
12549         * LyXAction.C (init):
12550         * commandtags.h: add LFUN_HYPHENATION_BREAK.
12551
12552         * paragraph.C (getWord): removed.
12553
12554         * BufferView_pimpl.C (Dispatch): use last word or selection for
12555         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12556
12557         * lyx_main.C (queryUserLyXDir): do not ask before creating
12558         user_dir, except if it has been named explicitely.
12559
12560 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12561
12562         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12563         a document of zero size.
12564
12565 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
12566
12567         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12568         approriately in the c-tor and in require().
12569         (getPackages): output the appropriate LaTeX for natbib support.
12570
12571         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12572         variables "use_natbib" and "use_numerical_citations" when reading the
12573         LyX file.
12574         (readInset): read the various natbib cite commands.
12575         (validate): white-space change.
12576
12577         * bufferparams.[Ch]: new variables "bool use_natbib" and
12578         "bool use_numerical_citations".
12579         (writeFile): output them in the LyX file.
12580
12581 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12582
12583         * lyxfunc.C (getStatus): add support for all the inset insertion
12584         commands.
12585
12586         * text2.C (insertInset):
12587         * paragraph.C (insetAllowed):
12588         * BufferView_pimpl.C (insertInset): update to take in account the
12589         renaming of insertInsetAllowed
12590
12591         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12592
12593         * text2.C (getInset): new method. returns inset at cursor position.
12594
12595         * BufferView_pimpl.C (Dispatch): changes because of this.
12596
12597         * LyXAction.C (init): rename open-stuff to inset-toggle.
12598
12599         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12600
12601         * text2.C (toggleInset): renamed from openStuff; use
12602         Inset::open().
12603
12604 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
12605
12606         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12607
12608         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12609
12610 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
12611
12612         * buffer.C (readLyXformat2): Add filename to the error dialog
12613
12614 2001-07-18  Juergen Vigna  <jug@sad.it>
12615
12616         * tabular.C (GetCellNumber): put an assert here instead of the check!
12617
12618 2001-07-17  Juergen Vigna  <jug@sad.it>
12619
12620         * BufferView_pimpl.C (toggleSelection): adapted too.
12621
12622         * text.C (selectNextWord): adapted for use with insets.
12623         (selectSelectedWord): ditto
12624
12625 2001-07-17  Juergen Vigna  <jug@sad.it>
12626
12627         * sp_spell.C (PSpell): fix initialitation order.
12628
12629 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12630
12631         * paragraph.C: spacing
12632
12633 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
12634
12635         * sp_spell.C: repair language selection for pspell
12636
12637 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12638
12639         * lyxfunc.h: change more methods to begin with lower char.
12640
12641 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
12642
12643         * buffer.C (parseSingleLyXformat2Token): Generate error insets
12644         for unknown layouts.
12645
12646 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12647
12648         * buffer.C (readLyXformat2): Generate an error dialog if there are
12649         unknown layouts.
12650
12651 2001-07-16  Juergen Vigna  <jug@sad.it>
12652
12653         * sp_spell.C: always compile ISpell part.
12654
12655         * lyxrc.C: added use_pspell entry and it's handling.
12656
12657 2001-07-13  Juergen Vigna  <jug@sad.it>
12658
12659         * sp_spell.C: removed double includes.
12660
12661 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
12662
12663         Consistent use of Lsstream.h:
12664         * Lsstream.h: added using std::stringstream for consistencies sake.
12665
12666         * buffer.C: removed using std::stringstream
12667
12668         * lyxfont.C (stateText):
12669         * paragraph.C (asString):
12670         * text.C (selectNextWord, selectSelectedWord):
12671         * text2.C (setCounter):
12672         * vspace.C (asString, asLatexString):
12673         std::ostringstream -> ostringstream.
12674
12675 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12676
12677         * LyXAction.C: add LFUN_HELP_ABOUTLYX
12678         * commandtags.h: add LFUN_HELP_ABOUTLYX
12679         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12680
12681 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12682
12683         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12684         cursorToggle()
12685         * lyx_gui_misc.C: remove spellchecker
12686         * lyxfunc.C: showSpellchecker
12687         * sp_base.h: added
12688         * sp_ispell.h: added
12689         * sp_pspell.h: added
12690         * sp_spell.C: added
12691         * sp_form.[Ch]: removed
12692         * spellchecker.[Ch]: removed
12693
12694 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
12695
12696         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12697         is set.
12698         (simpleTeXSpecialChars): Simply print the input character without
12699         any special translation if pass_thru is set.
12700
12701         * layout.h: Added bool pass_thru to layout class for being able to
12702         implement pass through of a paragraph for Literate Programming.
12703
12704         * layout.C: add LT_PASS_THRU to LayoutTags enum.
12705         * layout.C (LyXLayout): set pass_thru to flase in constructor.
12706         * layout.C (Read): add "passthru" to list of layout tags and add
12707         code to set the pass_thru boolean when it is read.
12708
12709 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12710
12711         * trans_decl.h: remove allowed from KmodInfo
12712
12713         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12714         remove allowed code
12715         (Load): adjust
12716
12717         * paragraph_pimpl.C (erase): use boost::prior
12718
12719         * Painter.C (text): use data() instead of c_str() when length is
12720         also provided.
12721         * WorkArea.C (putClipboard): ditto
12722         * font.h (width): ditto
12723
12724         * BufferView2.C: use it-> instead of (*it). for iterators
12725         * texrow.C: ditto
12726         * paragraph_pimpl.C: ditto
12727         * paragraph.C: ditto
12728         * minibuffer.C: ditto
12729         * language.C: ditto
12730         * kbmap.C: ditto
12731         * encoding.C: ditto
12732         * counters.C: ditto
12733         * converter.C: ditto
12734         * chset.C: ditto
12735         * Variables.C: ditto
12736         * TextCache.C: ditto
12737         * MenuBackend.C: ditto
12738         * LyXAction.C: ditto
12739         * LColor.C: ditto
12740         * FloatList.C: ditto
12741         * DepTable.C: ditto
12742         * ColorHandler.C (LyXColorHandler): ditto
12743
12744 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12745
12746         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12747
12748         * text2.C (openStuff): reintroduce this method (which had been
12749         nuked in NEW_INSETS frenzy).
12750
12751         * lyxfunc.C (Dispatch): when an action has not been handled, use
12752         its name in the error message, not its number.
12753
12754         * paragraph.C (inInset): change method name to begin with lowercase.
12755
12756         * undo_funcs.C:
12757         * text2.C: updates because of this.
12758
12759 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12760
12761         * ToolbarDefaults.C (add): add spaces in error message
12762
12763 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12764
12765         * buffer.C (readLyXformat2): initialize the ert comp. variables.
12766         (readLyXformat2): rename return_par to first_par, use lyxlex's
12767         pushToken and remove the manual push handling.
12768         (parseSingleLyXformat2Token): add another ert comp. variable:
12769         in_tabular, rename return_par to first_par. handle newlines better
12770
12771 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12772
12773         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12774
12775 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12776
12777         * text2.C (getParFromID): removed
12778
12779         * buffer.C (getParFromID): new method moved form lyxtext.
12780         * BufferView2.C (insertErrors): adjust
12781         (setCursorFromRow): adjust
12782         * BufferView_pimpl.C (restorePosition): adjust
12783         * lyxfunc.C (Dispatch): adjust
12784         * undo_funcs.C (textUndo): adjust
12785         (textRedo): adjust
12786         (textHandleUndo): adjust
12787         (textHandleUndo): adjust
12788
12789 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12790
12791         * buffer.C: up' the LYX_FORMAT
12792
12793         * lyxfont.h: turn NO_LATEX on as default
12794
12795         * buffer.C (insertErtContents): new methods of tex style compability.
12796         (parseSingleLyXformat2Token): use it several places.
12797         * tabular.C (OldFormatRead): and here
12798
12799 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12800
12801         * text2.C: remove some commented code.
12802         reindent file.
12803
12804         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12805         * trans.C: changes because of the above.
12806
12807 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
12808
12809         * text2.C (setCounter): Fix counters bug with bibliography layout.
12810
12811 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12812
12813         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12814         own member functions
12815         (simpleTeXSpecialChars): ditto
12816
12817 2001-07-06  Juergen Vigna  <jug@sad.it>
12818
12819         * a lot of files: changed the access to LyXText::status and the
12820         call of undo-functions.
12821
12822         * undo.[Ch]: added a inset_id to the undo informations.
12823
12824         * undo_funcs.[Ch]: added and moved here all undo functions.
12825
12826         * lyxtext.h: give the status enum a weight, made status_ a private
12827         variable and made accessor functions for it, removed the whole bunch
12828         of undo-functions as they are now in their own file, make some
12829         functions publically available. Added function ownerParagraph with
12830         int parameter.
12831
12832         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12833         made InInset() a const function, added getParFromID() function.
12834
12835         * buffer.[Ch]: added const version for inset_iterator functions,
12836         added getInsetFromID() function.
12837
12838         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12839         changed undo functions for new version.
12840
12841 2001-07-05  Juergen Vigna  <jug@sad.it>
12842
12843         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12844         unknow mechanism does not call the proper constructor but only this
12845         one also if I request the other!?
12846
12847 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12848
12849         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12850
12851         * text2.C (LyXText): use initialization lists.
12852
12853         * lyxtext.h (Selection): initialize set_ and mark_
12854         (init): remove method
12855
12856 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12857
12858         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12859
12860 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12861
12862         * screen.[Ch]: change method names to begin with lowercase
12863
12864         * BufferView_pimpl.C (updateScrollbar): simplify further and
12865         hopefully make it a bit faster.
12866
12867 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12868
12869         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12870         calling directly xforms functions.
12871
12872         * Painter.C (Painter):
12873         * lyx_cb.C (MenuWrite):
12874         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12875         fl_display.
12876
12877         * lyx_gui.C: remove bogus guiruntime extern declaration.
12878
12879 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12880
12881         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12882         in NEW_INSETS
12883         (redoDrawingOfParagraph): ditto
12884         (redoParagraphs): ditto
12885         (cutSelection): don't create a object for CutAndPaste use the
12886         static method directly
12887         (pasteSelection): ditto
12888
12889         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12890         LyXview (+ rename)
12891
12892 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12893
12894         * modifications to some other files because of this.
12895
12896         * Makefile.am (lyx_SOURCES): add XFormsView
12897
12898         * XFormsView.[Ch]: new files
12899
12900         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12901         the main window. Move the gui dependent stuff to XFormsView
12902
12903 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12904
12905         * tabular.C (GetCellInset): update cur_cell also in the row/col
12906         version of this function.
12907
12908         * lyxfunc.C: no need to include figure_form.h here.
12909
12910         * FontLoader.h:
12911         * lyxfunc.h:
12912         * lyxscreen.h:
12913         * text2.C:
12914         * lyxvc.C: no need to include forms.h here.
12915
12916 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12917
12918         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12919
12920         * lyxfunc.C (Dispatch):
12921         * Spacing.C (set):
12922         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12923         constructor argument.
12924
12925 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12926
12927         * paragraph.C (Paragraph): dont't clear, and just set layout.
12928         (makeSameLayout): use params's copy contructor.
12929
12930         * ParagraphParameters.[Ch] (makeSame): delete method
12931
12932 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12933
12934         * Variables.[Ch]: fix indentation, rename set to isSet
12935
12936 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12937
12938         * lyxfunc.C (Dispatch): fix typo
12939
12940 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12941
12942         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12943         upper_bound.
12944
12945         * bufferlist.C: include assert.h for emergencyWrite().
12946
12947 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12948
12949         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12950           give up at last (bug #425202) !
12951
12952 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12953
12954         * lyx_gui_misc.C:
12955         * sp_form.h:
12956         * sp_form.C:
12957         * spellchecker.h:
12958         * spellchecker.C: strip spellchecker options and bring up
12959           preferences tab instead
12960
12961 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12962
12963         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12964         the istringstream constructor
12965
12966 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12967
12968         * paragraph.C (getLayout): fix return value
12969
12970         * paragraph.h: do not declare getLayout as inline.
12971
12972         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12973
12974 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12975
12976         * lyxcursor.h (operator<): new func
12977         (operator>): new func
12978         (operator>=): new func
12979         (operator<=): new func
12980
12981         * text.C (changeCase): use selection.start and selection.end
12982         (changeRegionCase): require from to be <= to. Require par to be a
12983         valid paragraph.
12984
12985         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12986
12987 2001-06-27  Juergen Vigna  <jug@sad.it>
12988
12989         * text.C (cursorLeftOneWord): changed to return the cursor and added
12990         overlay with BufferView * parameter which calls this one.
12991         (getWord): added
12992         (selectWord): use new getWord function.
12993         (changeCase): renamed from changeWordCase as and extended to work
12994         also on selections.
12995
12996         * lyxtext.h: added enum word_location
12997
12998         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12999         changeCase as this operates now also on selections.
13000
13001 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
13002
13003         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13004
13005         * many files: send debug output to Debug::INFO instead of
13006         Debug::ANY.
13007
13008         * converter.C (View):
13009         (Convert):
13010         (Move): send debug output to Debug::FILES instead of console.
13011
13012 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
13013
13014         * lyxfunc.C (getStatus): use func_status
13015
13016         * func_status.h: new header, describing the results of
13017         LyXFunc::getStatus;
13018
13019         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13020         LFUN_MATH_HALIGN.
13021
13022 2001-06-25  The LyX Project  <jug@sad.it>
13023
13024         * buffer.C (sgmlOpenTag):
13025         (sgmlCloseTag):
13026         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
13027
13028 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13029
13030         * text2.C: remove some dead code
13031
13032         * tabular.C (GetCellInset): store the last cell checked (gotten)
13033
13034         * tabular.h: add the helper for the speedup
13035
13036         * lyxtext.h: remove some dead code
13037
13038 2001-06-26  The LyX Project  <Asger>
13039
13040         * paragraph.C: Change export to LaTeX of alignment to
13041         \begin{center} and family for better roundtrip work with reLyX.
13042
13043         * Tune the math drawing a bit.
13044
13045 2001-06-25  The LyX Project  <Asger>
13046
13047         * LColor.C (LColor): New color for math background. New color
13048         for buttons.
13049
13050 2001-06-25  The LyX Project  <jug@sad.it>
13051
13052         * lyxfunc.C (MenuNew): remove extra check for .lyx file
13053
13054         * lyxfunc.C (Open):
13055         * bufferlist.C (newFile): do not restrict to files ending with
13056         .lyx
13057
13058         * BufferView_pimpl.C (MenuInsertLyXFile):
13059
13060 2001-06-24  The LyX Project  <jug@sad.it>
13061
13062         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13063         of compare_no_case
13064
13065 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13066
13067         * lyxtext.h: rename most methods to begin with a small char.
13068         Lots of changes because of this.
13069
13070         * paragraph.C (Paragraph): do not call fitToSize
13071         (erase): call Pimpl::erase
13072         (insertChar): call Pimpl::insertChar
13073         (insertInset): call Pipl::insertInset
13074         (breakParagraph): do not call fitToSize
13075         (breakParagraphConservative): do not call fitToSize
13076         (fitToSize): remove method
13077
13078         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13079
13080 2001-06-24  The LyX Project  <Asger>
13081
13082         * Fix Qt compilation^2
13083
13084 2001-06-24  The LyX Project  <jug@sad.it>
13085
13086         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13087         depthHook(getDepth()-1).
13088
13089         * paragraph.h:
13090         * ParagraphParameters.h:
13091         * ParameterStruct.h: change type of depth to unsigned int ==
13092         depth_type. Many adaptations to other files before of that.
13093
13094 2001-06-24  The LyX Project  <Asger>
13095
13096         * Fix Qt compilation.
13097
13098 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13099
13100         * paragraph.h: renamed several methods to begin with small letter.
13101         several changes to many parts of the code because of this.
13102
13103 2001-06-23  The LyX Project  <jug@sad.it>
13104
13105         * text2.C (InsertStringAsLines): renamed from InsertStringA;
13106         rewritten to discard all double spaces when KeepEmpty is off
13107         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13108         to only handle newlines but not fiddle with spaces and friends.
13109
13110         * lyxfunc.C (MenuNew): when doing 'new from template', use
13111         template_path as default directory
13112
13113 2001-06-23  The LyX Project  <Asger>
13114
13115         * Clean-up of header file includes all over
13116         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13117
13118 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13119
13120         * paragraph.h: renamed from lyxparagraph.h
13121
13122 2001-06-23  Asger  <lyx@violet.home.sad.it>
13123
13124         * Buffer.h: Removed Buffer::resize
13125         * BufferList.h: Removed BufferList::resize
13126         * LyXView.h: Added LyXView::resize. This way, we will only reflow
13127         the document lazily when we change the width, or the font settings.
13128
13129 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13130
13131         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13132
13133 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13134
13135         * buffer.h: remove out of date comment
13136
13137 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13138
13139         * lyxscreen.h:
13140         * screen.C: fix "theoretical" GC leak
13141
13142 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13143
13144         * LaTeX.C (scanAuxFile):
13145         (deplog): remove trailing \r when reading stream (useful under
13146         win32)
13147
13148 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
13149
13150         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13151         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13152         and BufferView::theLockingInset(Inset*), so should use them and not
13153         access bv_->text->the_locking_inset directly.
13154
13155         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13156
13157 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13158
13159         * Makefile.am:
13160         * tex-defs.h: remove old unused file
13161
13162 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
13163
13164         * BufferView_pimpl.C: fix typo, remove minibuffer message
13165           when buffer has loaded
13166
13167 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13168
13169         * lyxfunc.C (Dispatch): use stringstream
13170         (MenuNew): use stringstream
13171         (Open): use stringstream
13172
13173         * importer.C (Import): use stringstream
13174
13175         * bufferview_funcs.C (CurrentState): use stringstream
13176
13177         * LaTeX.C (run): use stringstream
13178
13179         * BufferView_pimpl.C (savePosition): use stringstream
13180         (restorePosition): use stringstream
13181         (MenuInsertLyXFile): use stringstream
13182
13183 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
13184
13185         * BufferView.C:
13186         * Bullet.C:
13187         * ColorHandler.C:
13188         * FontInfo.C:
13189         * FontLoader.C:
13190         * LColor.C:
13191         * LaTeXFeatures.C:
13192         * Painter.C:
13193         * gettext.C:
13194         * lyx_gui_misc.C:
13195         * lyxserver.C:
13196         * vspace.C: removed // -*- C++ -*- as first line.
13197
13198         * lyxfind.h:
13199         * version.h: added // -*- C++ -*- as first line.
13200
13201 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13202
13203         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13204
13205         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13206         of string
13207
13208 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13209
13210         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13211         of floats.
13212
13213 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13214
13215         * gettext.C: include LString.h even when --disable-nls is on.
13216
13217 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
13218
13219         * converter.h (Get): changed argument type from int to
13220         FormatList::size_type to avoid unnecessary conversion.
13221
13222         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13223         before using it.
13224
13225 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13226
13227         * gettext.h: include LString.h even when --disable-nls is on.
13228
13229 2001-06-07  Juergen Vigna  <jug@sad.it>
13230
13231         * text.C (BreakAgain): subst spaces with tabs.
13232
13233         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13234         (resizeInsetsLyXText): set force on resizeLyXText.
13235
13236 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13237
13238         * gettext.h (gettext_init):
13239         (locale_init): use a real definition instead of a macro
13240
13241 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13242
13243         * Bufferview_pimpl.C:
13244         * LColor.h:
13245         * LColor.C: further lcolor tidies
13246
13247 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13248
13249         * BufferView_pimpl.C (updateScrollbar): simplify.
13250
13251         * BufferView2.C: don't include insets/insetinfo.h, change
13252         prototype for insertInset and call the Pimpl version. let
13253         updateInset call Pimpl version.
13254
13255         * BufferView.h: move inset_slept to BufferView::Pimpl, move
13256         gotoInset to BufferView::Pimpl
13257
13258 2001-06-01  Juergen Vigna  <jug@sad.it>
13259
13260         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13261         inside a LockingInset (is the update needed at all?).
13262
13263 2001-05-31  Juergen Vigna  <jug@sad.it>
13264
13265         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13266         here not the old one otherwise how should we compare it afterwards
13267         if it's the same!
13268
13269 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13270
13271         * lyxfont.C:
13272         * tabular.C:
13273         * tabular-old.C:
13274         * FontInfo.C: bring C functions into global namespace when
13275         necessary
13276
13277 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13278
13279         * LString.h: make sure config.h has been loaded before LString.h.
13280
13281         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13282         (one for each char read by EatLine!).
13283
13284         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13285         variables.
13286
13287 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13288
13289         * paragraph.C (BreakParagraph): set the inset_owner in the new par
13290         to the same as the par we break from
13291
13292 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13293
13294         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13295
13296         * MenuBackend.C (expand): also create menu entries for wide
13297         versions of the floats.
13298
13299         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13300
13301         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13302
13303         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13304         frontends/Makefile.am
13305
13306         * text2.C: adjust
13307         * text.C: adjust
13308
13309
13310         * tabular.C (getTokenValue): add std::
13311
13312         * tabular-old.C (getTokenValue): add std::
13313         (getTokenValue): ditto
13314         (getTokenValue): ditto
13315
13316         * screen.C (ToggleSelection): adjust
13317
13318         * lyxtext.h: put selection cursors inside a Selection struct.
13319
13320         * lyxfunc.C (moveCursorUpdate): adjust
13321
13322         * lyxfont.C (latexWriteStartChanges): add std::
13323
13324         * lyxfind.C: adjust
13325
13326         * font.h: delete with(char const *, LyXFont const &)
13327
13328         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13329
13330         * FontInfo.C (getFontname): add std::
13331
13332         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13333         (workAreaButtonPress): adjust
13334         (tripleClick): adjust
13335         (update): adjust
13336         (moveCursorUpdate): adjust
13337         (Dispatch): adjust
13338
13339         * BufferView2.C (gotoInset): adjust
13340
13341 2001-05-30  Juergen Vigna  <jug@sad.it>
13342
13343         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13344         to check pspell I add this as default as I now have new pspell
13345         libraries and they seem to use this.
13346
13347 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13348
13349         * text2.C (CutSelection): make the cursor valid before the call to
13350         ClearSelection.
13351
13352 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13353
13354         * kbsequence.C (parse): de-uglify a bit the parsing code, which
13355         relied on 0 terminated strings and other horrors. Bug found due to
13356         the new assert in lyxstring!
13357
13358         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13359         KP_ keys.
13360
13361 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13362
13363         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13364         to latinkeys.bind.
13365
13366         * lyxfunc.C (processKeySym): change method of getting to the
13367         self-insert char.
13368
13369         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13370         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13371         * BufferView_pimpl.[Ch]: here as private methods.
13372
13373 2001-05-28  Juergen Vigna  <jug@sad.it>
13374
13375         * text.C (SetHeightOfRow): added the update() call again as it is
13376         needed to initialize inset dimensions!
13377
13378 2001-05-16  Juergen Vigna  <jug@sad.it>
13379
13380         * text2.C (SetCharFont): Add new function with BufferView * and
13381         bool toggleall parameters for setting insets internal fonts.
13382         (SetFont): Freeze the undo as we may change fonts in Insets and
13383         all this change should be inside only one Undo!
13384
13385         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13386         setting font's in insets as for them we have the SetFont function!
13387
13388 2001-05-15  Juergen Vigna  <jug@sad.it>
13389
13390         * text2.C (ClearSelection): to be sure we REALLY don't have any
13391         selection anymore!
13392
13393         * tabular.C (TeXCellPreamble): fixed the left border problem for
13394         multicolumn cells.
13395
13396 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
13397
13398         * LaTeX.C (deplog): Make sure that the main .tex file is in the
13399         dependancy file
13400
13401 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13402
13403         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13404         LFUN_BREAKPARAGRAPH.
13405
13406         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13407         help test to "internal only", similar for LFUN_INSERT_URL
13408
13409         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13410         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13411         auto_region_delete and deadkeys.
13412
13413 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
13414
13415         * LColor.h:
13416         * LColor.C: remove some dead entries, tidy a little
13417
13418 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13419
13420         * lyxfunc.C (processKeySym): comment the Escape handling, remove
13421         commented code.
13422         (Dispatch): implement LFUN_ESCAPE
13423
13424         * commandtags.h: add LFUN_ESCAPE
13425
13426         * LyXAction.C (init): add entry for LFUN_ESCAPE
13427
13428         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13429         Remove commented code.
13430         (insertNote): moved here
13431         (open_new_inset): moved here
13432
13433         * BufferView[2].[Ch]: move insertNote and open_new_inset to
13434         BufferView_pimpl
13435
13436 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13437
13438         * kbmap.C (findbinding): clean it up and make it work correctly.
13439
13440         * lyx_main.C (init): do not pass argc and argv as parameters
13441
13442 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
13443
13444         * buffer.C: fix path for OS/2 & Win32
13445
13446         * lyx_gui.C:
13447         * lyx_main:
13448         * lyx_main.C: Added os:: class.
13449
13450         * os2_defines.h: update
13451
13452 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13453
13454         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13455         better by trying again with reduced state.
13456
13457 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13458
13459         * lyxrc.C (read): print error about invalid key sequence only when
13460         debugging (because not all latinX keysyms are known to some X
13461         servers)
13462
13463         * kbsequence.C (getiso): add a few std:: qualifiers
13464         (getiso): comment out extra return statement.
13465
13466 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13467
13468         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13469         handling.
13470         (Dispatch): enhance the accent inset a bit. (not perfect)
13471
13472 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13473
13474         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13475
13476 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13477
13478         * bufferlist.C (emergencyWrite): fix assert() call
13479
13480 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
13481
13482         * text.C (InsertChar): Added trivial patch to only send the "you
13483         can not do multiple spaces this way" message once during a
13484         session.
13485
13486 2001-05-08  Baruch Even  <baruch@lyx.org>
13487
13488         * Makefile.am: Changed order of libraries to get LyX to link properly
13489         with the gnome frontend.
13490
13491 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13492
13493         * LaTeXFeatures.h: add a std:: qualifier
13494
13495 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13496
13497         * paragraph.C (String): use stringstream
13498
13499 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13500
13501         * paragraph.C (writeFile): remove footflag arg
13502
13503         * buffer.C (makeLaTeXFile): use stringstream
13504         (latexParagraphs): remove footnot gurba
13505
13506         * LaTeXFeatures.C (getPackages): use stringstream
13507         (getMacros): likewise
13508         (getTClassPreamble): likewise
13509         (getFloatDefinitions): new method
13510
13511         * paragraph.C (writeFile): reindent
13512         (Erase): reindent
13513
13514         * WorkArea.h: revert the xpos + etc changes.
13515
13516         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13517
13518         * lyxparagraph.[Ch]: add copy constructor, remove Clone
13519
13520         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13521         (pasteSelection): likewise
13522         * text2.C (CreateUndo): likewise
13523
13524 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13525
13526         * minibuffer.C (peek_event): temporarily reduce the functionality
13527         of the minibuffer (to allow args on lfuns)
13528
13529         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13530         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13531
13532         * buffer.C (readInset): add compability reading of old float
13533         lists, add reading of new style float list.
13534         (readInset): avoid reevaluation of inscmd.getCmdName()
13535         (getLists): reindent
13536
13537         * MenuBackend.C (MenuItem): implement parsing of
13538         md_floatlistinsert and md_floatinsert.
13539         (expand::LastFiles): move initalizaton of iterators out of loop,
13540         avoid reevaluation.
13541         (expand::Documents): introduce typdedef vector<string> Strings,
13542         and use it.
13543         (expand::ExportFormats): introduce typedef vector<Format const *>
13544         Formats, and use it.
13545         (expand): implement FloatListInsert and FloatInsert.
13546
13547         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13548         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13549         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13550
13551         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13552         handling.
13553         (Dispatch::LFUN_FLOAT_LIST): implement
13554
13555 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13556
13557         * LaTeX.C (run): Fix problem with --export code.
13558
13559 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13560
13561         * BufferView.[Ch] (workarea): removed.
13562         (getClipboard) new method; wrapper for workarea()->getClipboard()
13563
13564         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13565         bug.
13566
13567         * WorkArea.h (width, height, xpos, ypos): These methods all
13568         returned the dimensions of the work_area sub-area of WorkArea,
13569         resulting in a position error if the WorkArea were resized. Now
13570         return the dimensions of the entire WorkArea.
13571
13572         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13573
13574 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13575
13576         * LaTeX.C (deplog): correct the syntax of regex reg1
13577
13578 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13579
13580         * undo.C: remove !NEW_INSETS cruft
13581
13582 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13583
13584         * text2.C: remove !NEW_INSETS cruft
13585
13586         * text.C: remove !NEW_INSETS cruft
13587
13588         * tabular.C: remove !NEW_INSETS cruft
13589
13590         * spellchecker.C: remove !NEW_INSETS cruft
13591
13592         * lyxtext.h: remove !NEW_INSETS cruft
13593
13594         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13595
13596         * lyxfunc.C: remove !NEW_INSETS cruft
13597
13598         * lyxfind.C: remove !NEW_INSETS cruft
13599
13600         * lyx_cb.C: remove !NEW_INSETS cruft
13601
13602         * figureForm.C: remove  !NEW_INSETS cruft
13603
13604         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13605
13606         * buffer.[Ch]: remove !NEW_INSETS cruft
13607
13608         * ToolbarDefaults.C: remove !NEW_INSETS cruft
13609
13610         * CutAndPaste.C: remove !NEW_INSETS cruft
13611
13612         * BufferView_pimpl.C: remove !NEW_INSETS cruft
13613
13614         * BufferView2.C: remove !NEW_INSETS cruft
13615
13616         * BufferView.h: remove !NEW_INSETS cruft
13617
13618 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13619
13620         * Lsstream.h: include LString.h before the sstream headers to
13621         fix problem with gcc 2.95.3 and lyxstring
13622
13623 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13624
13625         * lyx_main.C: add using directives when needed for C functions
13626         declared in std:: namespace.
13627
13628 2001-04-27  Juergen Vigna  <jug@sad.it>
13629
13630         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13631         (SetHeightOfRow): comment out the update call should not be needed!
13632
13633 2001-04-13  Juergen Vigna  <jug@sad.it>
13634
13635         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13636         (LyXTabular): tried to minimize operator= operations (and realized
13637         hopfully Lars wish).
13638
13639 2001-04-27  Juergen Vigna  <jug@sad.it>
13640
13641         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13642
13643 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13644
13645         * lyxfunc.C (Dispatch): hack to make listof algorithm work
13646
13647         * buffer.C (readInset): hack to make listof algorithm work
13648
13649         * BufferView_pimpl.C: hack to make listof algorithm work
13650
13651 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13652
13653         * LyXAction.C: removed all !NEW_INSETS cruft
13654         (init): moved lfun_item in method
13655
13656         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13657
13658 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13659
13660         * BufferView2.C (theLockingInset): white space.
13661
13662 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13663
13664         * minibuffer.C: include <iostream>
13665
13666         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13667
13668         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13669
13670         * commandtags.h: add LFUN_TRANSPOSE_CHARS
13671
13672         * text.[Ch] (TransposeChars): new method
13673
13674 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13675
13676         * call message directly through LyXView instead of through LyXFunc
13677         * BufferView2.C: adjust
13678         * BufferView_pimpl.C: adjust
13679         * FontLoader.C: adjust
13680         * buffer.C: adjust
13681         * bufferview_funcs.C: adjust
13682         * converter.C: adjust
13683         * figureForm.C: adjust
13684         * importer.C: adjust
13685         * lyx_cb.C: adjust
13686         * lyx_gui_misc.C: adjust
13687         * lyxfunc.C: adjust
13688         * lyxvc.C: adjust
13689         * text2.C: adjust
13690         + more files in subdirs
13691
13692         * lyxparagraph.h (size): move up int file
13693         (GetLayout): ditto
13694
13695         * adjust all uses of Assert to lyx::Assert.
13696
13697         * BufferView2.C (ChangeCitationsIfUnique): adjust for
13698         lyxfunctional in namespace lyx
13699         * layout.C (hasLayout): ditto
13700         (GetLayout): ditto
13701         (GetLayout): ditto
13702         (delete_layout): ditto
13703         (NumberOfClass): ditto
13704         * converter.C (GetFormat): ditto
13705         (GetNumber): ditto
13706         (Add): ditto
13707         (Delete): ditto
13708         (SetViewer): ditto
13709         * bufferlist.C (getFileNames): ditto
13710         (emergencyWriteAll): ditto
13711         (exists): ditto
13712         (getBuffer): ditto
13713         * MenuBackend.C (hasSubmenu): ditto
13714         (hasMenu): ditto
13715         (getMenu): ditto
13716         * BufferView_pimpl.C (getInsetByCode): ditto
13717
13718 2001-04-18  Juergen Vigna  <jug@sad.it>
13719
13720         * vspace.C (asLatexString): fixed the 100% problem.
13721
13722 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13723
13724         * lyxfunc.C (Dispatch):
13725         * minibuffer.C:
13726         * minibuffer.h: add a few std:: qualifiers
13727
13728 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13729
13730         * minibuffer.[Ch]: reimplement so that commands is initiated and
13731         run from lyxfunc, simplified som handling, and made the completion
13732         and history code for complete. wip.
13733
13734         * lyxfunc.C (processKeySym): call message
13735         (miniDispatch): new temporary method
13736         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13737         (LFUN_MESSAGE): implement
13738         (LFUN_MESSAGE_PUSH): implement
13739         (LFUN_MESSAGE_POP): implement
13740         (initMiniBuffer): the initial/defualt minibuffer message.
13741
13742         * lyxfont.[Ch]: inline some more getters
13743
13744         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13745
13746         * lyx_gui_misc.[Ch] (WriteStatus): remove method
13747
13748         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13749         (AutoSave): use LFUN_MESSAGE
13750         (Reconfigure): ditto
13751
13752         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13753
13754         * figureForm.C: use LFUN_MESSAGE
13755
13756         * converter.C (runLaTeX): use LFUN_MESSAGE
13757
13758         * bufferview_funcs.C: use LFUN_MESSAGE
13759         (Melt): ditto
13760         (changeDepth): ditto
13761
13762         * bufferparams.h: use boost::
13763
13764         * bufferlist.h: inherit privately from noncopyable
13765
13766         * bufferlist.C (loadLyXFile): remove some commented code.
13767
13768         * buffer.C (runChktex): use LFUN_MESSAGE
13769
13770         * ShareContainer.h: inherit privately from noncopyable
13771
13772         * ParagraphParameters.[hC] (depth): inline it.
13773
13774         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13775         methods.
13776         (message): new method
13777         (messagePush): ditto
13778         (messagePop): ditto
13779         (show): init minibuffer
13780         (showState): direct call
13781
13782         * LaTeX.[Ch]: inherit privately from noncopyable
13783         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13784         instead of WriteStatus.
13785
13786         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13787
13788         * BufferView_pimpl.C (buffer): don't init minibuffer
13789         (workAreaButtonPress): use LFUN_MESSAGE
13790         (workAreaButtonRelease): ditto
13791         (savePosition): ditto
13792         (restorePosition): ditto
13793         (MenuInsertLyXFile): ditto
13794         (workAreaExpose): don't init minibuffer
13795         (update): remove commented code, simplify
13796
13797         * BufferView2.C (openStuff): use LFUN_MESSAGE
13798         (toggleFloat): ditto
13799         (menuUndo): ditto
13800         (menuRedo): ditto
13801         (copyEnvironment): ditto
13802         (pasteEnvironment): ditto
13803         (copy): ditto
13804         (cut): ditto
13805         (paste): ditto
13806         (gotoInset): ditto
13807         (updateInset): remove some commented code
13808
13809         * lastfiles.h: inherit privately from noncopyable
13810         * layout.h: ditto
13811         * lyx_gui.h: ditto
13812         * lyx_main.h: ditto
13813         * lyxlex.h: ditto
13814         * lyxlex_pimpl.h: ditto
13815
13816         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13817         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13818         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13819
13820         * LyXAction.h: inherit privately from noncopyable, add methods
13821         func_begin, func_end, returning iterators to the func map.
13822
13823         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13824         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13825         (func_begin): new method
13826         (func_end): new method
13827
13828         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13829         and not)
13830         (copySelection): ditto
13831         (pasteSelection): ditto
13832
13833         * BufferView.C: whitespace change
13834         * BufferView.h: inherit privately from noncopyable
13835
13836 2001-04-16  Allan Rae  <rae@lyx.org>
13837
13838         * tabular-old.C (l_getline):
13839         * spellchecker.C (sc_check_word):
13840         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13841         an unrecognised preprocessor directive.  So ensure they're wrapped.
13842
13843 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13844
13845         * src/exporter.C (Export): Give an error message when path to file
13846         contains spaces.
13847
13848 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13849
13850         * LaTeX.C (deplog): Always check that foundfile exists.
13851
13852 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13853
13854         * lyx_main.h:
13855         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13856
13857 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13858
13859         * tabular.[Ch] (getLabelList): implement new method
13860
13861         * minibuffer.h: comment ouf setTiimer
13862
13863         * minibuffer.C (ExecutingCB): constify res
13864         (peek_event): constify s
13865         (Set): constify ntext
13866         (Init): constify nicename
13867
13868         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13869
13870         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13871         (savePosition): use two params to Minibuffer::Set
13872         (restorePosition): ditto
13873
13874 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13875
13876         * lyx_main.C: include language.h
13877
13878         * Makefile.am (lyx_main.o): add language.h
13879
13880 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13881
13882         * exporter.C:
13883         * paragraph.C:
13884         * screen.C:
13885         * tabular.C:
13886         * CutAndPaste.C: include gettext.h
13887
13888         * lyxfont.h: remove old hack with ON and OFF.
13889
13890         * lyxparagraph.h:
13891         * lyxfont.h: do not include language.h...
13892
13893         * BufferView2.C:
13894         * LaTeXFeatures.C:
13895         * Painter.C:
13896         * bufferview_funcs.C:
13897         * font.C:
13898         * lyxfont.C:
13899         * text.C:
13900         * text2.C:
13901         * trans_mgr.C:
13902         * paragraph.C: ... but do it here instead
13903
13904 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13905
13906         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13907
13908         * tabular.C: small reformat
13909
13910         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13911         NEW_INSETS version
13912         (GetChar): ditto
13913         (BreakParagraph): ditto
13914         (SetOnlyLayout): ditto
13915         (SetLayout): ditto
13916
13917         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13918         with one arg less.
13919
13920         * lastfiles.C: removed most using decl, add std:: where needed
13921
13922         * buffer.C: ws changes
13923
13924         * MenuBackend.C (class compare_format): put into anon namespace
13925         (expand): constify label, names, action, action2
13926         (expand):
13927
13928         * text.C (SingleWidth): constify font
13929         (IsBoundary): constify rtl2
13930         (GetVisibleRow): constify ww
13931
13932         * LaTeX.C (deplog): constify logfile
13933
13934         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13935         start_x, end_x
13936         (workAreaExpose): constify widthChange, heightChange
13937
13938         * lyxrow.C (par): moved
13939         (height): moved
13940         (next): moved
13941         * lyxrow.h: as inlines here
13942
13943         * lyxfont.h (shape): moved from lyxfont.C
13944         (emph): moved from lyxfont.C
13945
13946         * lyxfont.C (LyXFont): use initialization list for all
13947         constructors
13948         (shape): move to lyxfont.h as inline
13949         (emph): move to lyxfont.h as inline
13950
13951
13952 2001-04-04  Juergen Vigna  <jug@sad.it>
13953
13954         * vspace.C: had to include stdio.h for use of sscanf
13955
13956 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
13957
13958         * BufferView.h:
13959         * BufferView_pimpl.h: remove xforms cruft. Both classes are
13960         independent of xforms.
13961
13962 2001-04-02  Juergen Vigna  <jug@sad.it>
13963
13964         * spellchecker.C: fixed namespace placing!
13965
13966 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
13967
13968         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13969         the LyXParagraph * is 0.
13970
13971 2001-03-29  Juergen Vigna  <jug@sad.it>
13972
13973         * vspace.C: added support for %, c%, p%, l%.
13974         (stringFromUnit): added helper function.
13975         (asLatexString): changed to give right results for the %-values.
13976
13977         * buffer.C: convert the widthp in a width%.
13978
13979 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
13980
13981         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13982         figureForm.[Ch].
13983
13984         * figureForm.[Ch]: stripped the FD_from_figure manipulation
13985         code out of lux_cb.[Ch], ready for its (imminent?) removal.
13986
13987         * lyx_cb.[Ch]: see above.
13988
13989         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13990         form1.[Ch].
13991
13992         * form1.[Ch]:
13993         * lyx.[Ch]: replaced by figure_form.[Ch].
13994
13995         * lyx_gui.C:
13996         * lyx_gui_misc.C:
13997         * lyxfunc.C: changed headers associated with above changes.
13998
13999 2001-03-27  Juergen Vigna  <jug@sad.it>
14000
14001         * BufferView_pimpl.C: set the temporary cursor right!
14002
14003 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
14004
14005         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14006
14007 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
14008
14009         * LString.h: removed "using std::getline"!
14010
14011         * BufferView_pimpl.C (Dispatch): changes due to changes in
14012         InsetInclude::Params.
14013
14014         * buffer.C (tag_name): removed redundant break statements as they were
14015         producing lots of warnings with my compiler.
14016
14017 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14018
14019         * LString.h: add "using std::getline" when using the real <string>.
14020
14021 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
14022
14023         * buffer.C: removed bitset usage.
14024         PAR_TAG moved to an anonymous name space.
14025         (tag_name): new funtion, also in the anonymous namespace.
14026         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14027         (makeDocBookFile): clean code. Completed transition from string arrays
14028         to string vectors.
14029         (SimpleDocBookOnePar): code clean.
14030
14031 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14032
14033         * tabular.C: add some comments.
14034
14035 2001-03-22  Juergen Vigna  <jug@sad.it>
14036
14037         * buffer.C (parseSingleLyXformat2Token): redone the minipage
14038         compatibility read a bit and fixed bug with minipage in different
14039         depth.
14040
14041 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
14042
14043         * buffer.C (pop_tag): removed.
14044         (push_tag): removed.
14045         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14046         array replaced with vector. Added support for CDATA sections.
14047         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14048         at any nest level.
14049         (makeDocBookFile): XML conformant declaration of CDATA section,
14050         fixed bug related to <emphasis> in the first paragraph char.
14051         (sgmlOpenTag): exclude empty tags.
14052         (sgmlCloseTag): ditto.
14053
14054         * buffer.h (pop_tag): removed.
14055         (push_tag): removed.
14056
14057 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
14058
14059         * language.h (Languages): added size_type and size().
14060
14061 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14062
14063         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14064         response on compability reading of minipages. One probliem is that
14065         the old usage of minipages was «flertydig»
14066
14067         * several files here and in subdirs: don't use static at file
14068         scope use anon namespaces instead.
14069
14070 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
14071
14072         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14073         LaTeX output. This is necessary for Literate document
14074         processing.
14075
14076 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14077
14078         * buffer.C: insert hfill when needed.
14079
14080         * tabular.C (l_getline): use string::erase, small whitespace change.
14081
14082         * BufferView_pimpl.C: try the anon namespace.
14083         * WorkArea.C: ditto
14084
14085 2001-03-16  Juergen Vigna  <jug@sad.it>
14086
14087         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14088         otherwise it won't open options-dialogs.
14089
14090         * buffer.C: honor pextraWidth(p) on converting minipages.
14091
14092         * tabular.C (l_getline): changed the functions to strip trailing \r.
14093
14094 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
14095
14096         * BufferView_pimpl.C:
14097         * minibuffer..C: added "using SigC::slot" declaration.
14098
14099 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14100
14101         * lyxlex_pimpl.h: noncopyable is in namespace boost.
14102
14103         * text2.C: ditto
14104
14105         * text.C: ditto
14106
14107         * paragraph.C: ditto
14108
14109         * lyxtext.h: NO_PEXTRA
14110
14111         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14112
14113         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14114         * ParameterStruct.h: ditto
14115         * ParagraphParameters.h: ditto
14116         * lyxparagraph.h: ditto
14117
14118 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14119
14120         * buffer.C: add compability for minipage alignment.
14121         (latexParagraphs): remove unwanted pextra check.
14122
14123         * several files: remove CXX_WORKING_NAMESPACES
14124
14125         * buffer.C (pop_tag): tie is in namespace boost
14126
14127         * BufferView.h: noncopyable is in namespace boost
14128         * lyxlex.h: ditto
14129         * lyx_main.h: ditto
14130         * lyx_gui.h: ditto
14131         * layout.h: ditto
14132         * lastfiles.h: ditto
14133         * bufferlist.h: ditto
14134         * ShareContainer.h: ditto
14135         * LyXView.h: ditto
14136         * LyXAction.h: ditto
14137         * LaTeX.h: ditto
14138
14139 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14140
14141         * Merging changes from BRANCH_MVC back into HEAD.
14142
14143         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14144
14145 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
14146
14147         * BufferView_pimpl.C: change from intl.C
14148
14149         * combox.h:
14150         * combox.C:
14151         * Makefile.am: move combox.*
14152
14153         * form1.h:
14154         * form1.C:
14155         * lyx_gui.C:
14156         * intl.h:
14157         * intl.C: remove dialog (covered by prefs)
14158
14159 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14160
14161         * lyxfunc.C (Dispatch): removed redundant break statement.
14162
14163 2001-03-14  Juergen Vigna  <jug@sad.it>
14164
14165         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14166
14167 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14168
14169         * buffer.C: add hack to fix compability reading of minipages.
14170
14171 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
14172
14173         * buffer.C (getLists): Cleanup.
14174
14175 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14176
14177         * lyxfont.C (update): don't honor toggleall on font size.
14178
14179 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
14180
14181         * bmtable.c:
14182         * bmtable.h:
14183         * Makefile.am: moved to frontends/xforms/
14184
14185         * lyx_gui_misc.C:
14186         * lyxfunc.C:
14187         * BufferView_pimpl.C: changes for moved mathpanel
14188
14189 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14190
14191         * gettext.h: fix gettext_init() in --disable-nls
14192
14193 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14194
14195         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14196
14197 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
14198
14199         * lyx.C:
14200         * lyx.h: strip external form
14201
14202 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14203
14204         * BufferView_pimpl.C: add comment, destroySplash()
14205
14206 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14207
14208         * BufferView_pimpl.C:
14209         * LyXAction.C:
14210         * buffer.C:
14211         * commandtags.h:
14212         * lyxfunc.C: use re-worked insetinclude
14213
14214 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14215
14216         * buffer.C: add using std::stringstream.
14217
14218         * lyx_cb.C: readd using std::ios.
14219
14220         * buffer.C: add using std::map.
14221
14222         * BufferView_pimpl.C: add using std::vector.
14223
14224         * ShareContainer.h: add std:: to swap.
14225
14226         * buffer.h: add some typedefs
14227         * buffer.C (getLists): use them
14228         (getLists): renamed from getTocList.
14229         add a counter for the different float types and use it in the
14230         generated string.
14231         (getLists): use the same counter for the NEW_INSETS and the "non"
14232         NEW_INSETS
14233
14234         * lyx_cb.h: remove unused items, includes, using etc.
14235
14236         * ShareContainer.h: remove some commented code, add more comments
14237         and "documentation".
14238
14239 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14240
14241         * buffer.C (getTocList): make the list also when NEW_INSETS is
14242         defined.
14243
14244         * buffer.h: remove TocType
14245
14246         * buffer.C (getTocList): change to return a map<string,
14247         vector<TocItem> >, implement for dynamic number of list.
14248
14249         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14250         * text2.C (PasteSelection): adjust
14251         * CutAndPaste.C (pasteSelection): adjust
14252
14253         * FloatList.C (FloatList): update from the new_insets branch.
14254         * Floating.[Ch]: ditto
14255         * LaTeXFeatures.C: ditto
14256         * buffer.C: ditto
14257         * lyxlex_pimpl.C: ditto
14258
14259         * paragraph.C (Last): remove when NEW_INSETS is defined.
14260
14261         * other file: changes because of the above.
14262
14263 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14264
14265         * lyxparagraph.h: rename next to next_, previous to previous_,
14266         make them private for NEW_INSETS. Rename Next() to next(),
14267         Previous() to previous().
14268
14269         * other files: changes because of the above.
14270
14271 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
14272
14273         * BufferView.h:
14274         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14275         problem.
14276
14277 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14278
14279         * main.C (main): pass lyx_localedir to gettext_init().
14280
14281         * gettext.h: remove locale_init and gettext_init macros
14282
14283         * gettext.C (locale_init): new function
14284         (gettext_init): new function
14285
14286         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14287         setlocale().
14288
14289 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
14290
14291         * Moved credits to frontends:
14292         * credits.[Ch]: removed
14293         * credits_form.[Ch]: removed
14294         * lyx_gui_misc.C: remove credits stuff
14295         * Makefile.am:
14296
14297 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14298
14299         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14300
14301         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14302         unneeded destructor.
14303
14304         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14305         a standalone pointer again.
14306
14307         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14308
14309 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
14310
14311         * Makefile.am:
14312         * filedlg.h:
14313         * filedlg.C:
14314         * LyXAction.C:
14315         * ToolbarDefaults.C:
14316         * bufferlist.C:
14317         * commandtags.h:
14318         * form1.C:
14319         * form1.h:
14320         * lyx_cb.C:
14321         * lyx_cb.h:
14322         * lyxfunc.h:
14323         * lyxfunc.C:
14324         * BufferView_pimpl.C: use new file dialog in GUII
14325
14326         * lyx_cb.h:
14327         * lyx_cb.C: remove LayoutsCB to Toolbar
14328
14329 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14330
14331         * ShareContainer.h (get): add std:: qualifier
14332
14333 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14334
14335         * ShareContainer.h: define a proper ShareContainer::value_type
14336         type (and use typename to please compaq cxx)
14337
14338 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14339
14340         * lyxparagraph.h: move serveral local vars to
14341         ParameterStruct/ParagraphParameters., use ShareContainer in
14342         FontTable., make vars in FontTable private and add getter and
14343         setter.
14344
14345         * paragraph.C: changes because of the above.
14346
14347         * lyxfont.h: remove copy constructor and copy assignment. (the
14348         default ones is ok), move number inside FontBits. move inlines to
14349         lyxfont.C
14350
14351         * lyxfont.C: add number to initializaton of statics, move several
14352         inlines here. constify several local vars. some whitespace
14353         cleanup. Dont hide outerscope variables.
14354
14355         * Spacing.h: add two new constructors to match the set methods.
14356
14357         * ShareContainer.h: new file, will perhaps be moved to support
14358
14359         * ParameterStruct.h: new file
14360
14361         * ParagraphParameters.h: new file
14362
14363         * ParagraphParameters.C: new file
14364
14365         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14366         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14367
14368         * BufferView_pimpl.C: ParagraphParameter changes.
14369         * buffer.C: Likewise.
14370         * bufferview_funcs.C: Likewise.
14371         * text.C: Likewise.
14372         * text2.C: Likewise.
14373
14374 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14375
14376         * lyxfind.C (LyXReplace): do not redefine default argument in
14377         implementation.
14378         (IsStringInText): ditto
14379         (SearchForward): ditto
14380         (SearchBackward): ditto
14381
14382 2001-03-06  Juergen Vigna  <jug@sad.it>
14383
14384         * lyxfind.C (IsStringInText): put parentes around expressions.
14385
14386 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
14387
14388         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14389
14390 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
14391
14392         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14393
14394         * stl_string_fwd.h: add comment
14395
14396         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14397
14398         * tabular.h:
14399         * tabular.C: remove unused DocBook methods
14400
14401         * intl.C:
14402         * language.C:
14403         * paragraph.C:
14404         * buffer.C:
14405         killed DO_USE_DEFAULT_LANGUAGE
14406
14407 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14408
14409         * lyx_gui.C: do not include language.h.
14410
14411         * bufferview_funcs.C (ToggleAndShow): do not provide optional
14412         arguments in function implementation.
14413
14414 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14415
14416         * BufferView_pimpl.C: add <ctime>
14417
14418 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14419
14420         * BufferView_pimpl.C: add using std::find_if
14421
14422 2001-02-27  José Matos  <jamatos@fep.up.pt>
14423
14424         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14425         by OnlyPath.
14426
14427 2001-02-11  José Matos  <jamatos@fep.up.pt>
14428
14429         * buffer.C (makeDocBookFile): command styles now have a parameter as
14430         "title" by default.
14431
14432 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
14433
14434         * layout_forms.[Ch]: removed
14435         * lyx_cb.[Ch]: out character
14436         * lyx_gui.C: out character
14437         * lyx_gui_misc.C: out character
14438         * bufferview_funcs.C: : out character,
14439         added toggleall as parameter in ToggleAndShow
14440
14441 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
14442
14443         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14444
14445         * text2.C (SetCurrentFont): Disable number property at boundary.
14446
14447 2001-02-26  Juergen Vigna  <jug@sad.it>
14448
14449         * lyxfunc.C (getStatus): added a string argument override function so
14450         that this is correctly called from LyXFunc::Dispatch if it contains a
14451         do_not_use_argument which is used!
14452         (Dispatch): added check for "custom" export and call appropriate func.
14453
14454 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
14455
14456         * lyxrc.C: Add language_command_local, language_use_babel and
14457         language_global_options.
14458
14459         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14460
14461         * buffer.C (makeLaTeXFile): Use language_use_babel and
14462         language_global_options.
14463
14464 2001-02-23  Juergen Vigna  <jug@sad.it>
14465
14466         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14467         which works with LyXText and putted it inside BufferView. Here now we
14468         only call for that part the BufferView::Dispatch() function.
14469
14470         * BufferView.C (Dispatch): added.
14471
14472         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14473         functions which needs to use a LyXText over from LyXFunc.
14474         (MenuInsertLyXFile): added
14475         (getInsetByCode): added
14476         (moveCursorUpdate): added
14477         (static TEXT): added
14478
14479 2001-02-22  Juergen Vigna  <jug@sad.it>
14480
14481         * BufferView_pimpl.C (update): call a status update to see if LyXText
14482         needs it.
14483
14484 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14485
14486         * vc-backend.C (revert): implement for CVS
14487         (getLog): implement for CVS
14488
14489 2001-02-20  Juergen Vigna  <jug@sad.it>
14490
14491         * text2.C (ClearSelection): added BufferView param for inset_owner call
14492
14493         * lyxfunc.C (TEXT): added this function and use it instead of
14494         directly owner->view()-text of getLyXText().
14495
14496 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
14497
14498         * src/layout_forms.C: out preamble
14499         * src/layout_forms.h: out preamble
14500         * src/lyx_cb.C: out preamble
14501         * src/lyx_cb.h: out preamble
14502         * src/lyx_gui.C: out preamble
14503         * src/lyx_gui_misc.C: out preamble
14504         * src/lyxfunc.C: connect with guii preamble
14505
14506 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
14507
14508         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14509
14510 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
14511
14512         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14513         whether to run bibtex.
14514
14515 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
14516
14517         * Makefile.am (lyx_SOURCES): Remove BackStack.h
14518
14519 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14520
14521         * Makefile.am (lyx_SOURCES): removed bibforms.h
14522
14523         * vspace.h: doxygen
14524
14525         * text.C (GetVisibleRow): make several local vars const
14526
14527         * tabular.C: small cleanup.
14528
14529         * lyxserver.C (callback): use compare instead of strncmp
14530
14531         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14532         inlines to after class or to paragraph.C
14533
14534         * lyxfont.h: remove friend operator!=
14535
14536         * converter.h: move friend bool operator< to non friend and after
14537         class def.
14538
14539         * combox.h: small cleanup
14540
14541         * buffer.h: doxygen, remove unused constructor, move inclas inlies
14542         to inlines after class def.
14543
14544         * buffer.C (pop_tag): use string operations instead of strcmp
14545
14546         * bmtable.c: doxygen, small cleanup
14547
14548         * LaTeX.h: remove friend operator==
14549
14550 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
14551
14552         * screen.C:
14553         * lyxrc.[Ch]:
14554         * lyxfunc.C:
14555         * lyxfont.[Ch]:
14556         * lyx_cb.C:
14557         * intl.[Ch]:
14558         * commandtags.h:
14559         * buffer.C:
14560         * WorkArea.[Ch]:
14561         * LyXAction.C:
14562         * BufferView_pimpl.C:
14563         * BufferView.[Ch]: remove cruft
14564
14565 2001-02-14  Juergen Vigna  <jug@sad.it>
14566
14567         * lyxfunc.C: removed #if 0 unused code
14568
14569         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14570
14571         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14572
14573         * text2.C (SetSelection): added a BufferView * parameter
14574
14575 2001-02-13  Juergen Vigna  <jug@sad.it>
14576
14577         * lyxfunc.C (Dispatch): fixed protected blank problem.
14578         * BufferView2.C (protectedBlank): added LyxText * parameter.
14579
14580         * tabular.C (AppendRow): forgot to set row_info of newly added row.
14581         (AppendColumn): same as above for column_info.
14582
14583         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14584         (moveCursorUpdate): use a LyXText param for support of InsetText.
14585
14586         * BufferView_pimpl.C (doubleClick): added support for InsetText.
14587         (tripleClick): ditto
14588
14589         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14590
14591         * BufferView_pimpl.C (update): added LyXText param to honor insets.
14592
14593         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14594
14595         * text2.C (SetSelection): set correct update status if inset_owner
14596         (ToggleFree): ditto
14597
14598 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
14599
14600         * tabular.C: remove some commented code.
14601
14602 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
14603
14604         * BufferView_pimpl.C: call hideSplash()
14605
14606         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14607
14608         * include_form.h:
14609         * bibforms.h: remove
14610
14611         * lyxfunc.C:
14612         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14613           add LFUN_CHILD_CREATE
14614
14615         * counters.h: fix tiny typo
14616
14617         * lyx_cb.C:
14618         * lyx.h:
14619         * lyx_gui.C:
14620         * lyx.C: move splash to frontends/xforms/
14621
14622         * lyx_gui_misc.C: move Include and Bibform to frontends
14623
14624         * lyxvc.h: clarify comment
14625
14626         * vspace.C: tiny housekeeping
14627
14628 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
14629
14630         * text.C (PrepareToPrint): RTL Fix.
14631
14632         * paragraph.C (GetUChar): New method.
14633         (String):  Use GetUChar.
14634
14635         * buffer.C (asciiParagraph): Use GetUChar.
14636
14637 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
14638
14639         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14640
14641 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
14642
14643         * buffer.h:
14644         * buffer.C: rename to getLogName(), handle
14645           build log / latex log nicely
14646
14647 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14648
14649         * MenuBackend.C:
14650         * MenuBackend.h: remove support for reference menuitem type.
14651
14652 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
14653
14654         * BufferView_pimpl.C: housekeeping
14655         * BufferView_pimpl.h:
14656         * LyXView.h:
14657         * Makefile.am:
14658         * Timeout.C:
14659         * Timeout.h:
14660         * minibuffer.h: move Timeout GUI-I
14661
14662 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
14663
14664         * lyxrc.C (read): Update converters data-structures.
14665
14666 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
14667
14668         * LaTeX.h (operator!=): add operator != for Aux_Info
14669
14670 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
14671
14672         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14673
14674         * LaTeXLog.C: deleted, useful code moved to Buffer
14675
14676         * buffer.h:
14677         * buffer.C: new function getLatexLogName()
14678
14679         * lyx_gui_misc.C:
14680         * lyx_gui.C:
14681         * lyxvc.C:
14682         * lyxvc.h:
14683         * lyxfunc.C: use frontends for LaTeX and VC logs
14684
14685 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14686
14687         * LaTeX.h: yet another std:: that Allan forgot.
14688
14689         * Variables.C (set): renamed from isset(), because this clashes
14690         with some HP-UX macros (grr).
14691
14692 2001-02-06  Allan Rae  <rae@lyx.org>
14693
14694         * LaTeX.h: Another bug fix.  Missing std:: this time.
14695
14696 2001-02-04  Allan Rae  <rae@lyx.org>
14697
14698         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14699         floats problem. I've left it commented out because it's not quite
14700         correct.  It should also test that the current object is a table or
14701         figure inset.  But I haven't gotten around to figuring out how to do
14702         that.  I *think* it'll be something like: "table" == inset.type()
14703
14704         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14705         bool.
14706
14707 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
14708
14709         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14710         all the citation/databases/styles in the auxilary file.
14711         (run): Rerun latex if there was a babel language error.
14712
14713 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
14714
14715         * text.C (Backspace): Preserve the font when changing newline char
14716         with a space.
14717         (BreakParagraph): If the cursor is before a space, delete the space.
14718
14719         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14720
14721 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
14722
14723         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14724         new argument (code).
14725         (ChangeCitationsIfUnique): New method.
14726
14727         * paragraph.C (GetPositionOfInset): Handle bibkey.
14728
14729 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14730
14731         * BufferView_pimpl.h: change type of Position::par_pos to
14732         LyXParagraph::size_type.
14733
14734 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
14735
14736         * BufferView_pimpl.C (savePosition, restorePosition): Write
14737         messages to minibuffer.
14738
14739 2001-01-28  José Matos  <jamatos@fep.up.pt>
14740
14741         * buffer.C (makeDocBookFile): adds support for document language.
14742         A silly restriction on the name of LatexCommand types where removed.
14743         Added support for CDATA sections, allows to chars unescaped, used
14744         among others in code, to avoid escape < and >.
14745
14746 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14747
14748         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14749         saved positions instrad of a stack. Furthermore, a position is
14750         stored using paragraph id/paragraph position.
14751
14752         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14753         Remove LFUN_REF_BACK.
14754
14755 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14756
14757         * converter.C (dvipdfm_options): New method.
14758
14759 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14760
14761         * vspace.C (isValidLength): Fix for empty input string.
14762
14763 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14764
14765         * LyXAction.C (init): change description of LFUN_FIGURE to
14766         "Insert Graphics"
14767
14768 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14769
14770         * LaTeX.C: add using directive
14771
14772 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14773
14774         * MenuBackend.C (expand): Fix the sorting of the formats.
14775
14776 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14777
14778         * lyx_main.C: tiny error message fix
14779
14780 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14781
14782         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14783         calling fl_initialize(). This fixes the problem with ',' as
14784         decimal separator in text files.
14785
14786 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14787
14788         * trans.C (process): Fix the keymap bug.
14789
14790 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
14791
14792         * LaTeX.C (scanAuxFiles): New method. Provides support for
14793         multiple bibliographies (when using the bibtopic/bibunits pacakges).
14794         (scanLogFile) Scan for "run BibTeX" messages.
14795
14796         * buffer.C (makeLaTeXFile): Do not load the ae package when using
14797         OT1 font encoding. Also, load the aecompl package if the ae
14798         package is loaded.
14799
14800         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14801
14802 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14803
14804         * texrow.C (increasePos): turn two error messages into debug
14805         messages.
14806
14807 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
14808
14809         * LaTeX.C (scanAux): Handle the \@input macro.
14810         (runBibTeX): Use scanAux().
14811
14812         * language.C (latex_options_): New field.
14813
14814         * LaTeXFeatures.C (getMacros): Add language macros.
14815
14816         * buffer.C (makeLaTeXFile): Small fix.
14817
14818 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14819
14820         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14821
14822         * text2.C: add a using directive.
14823
14824 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14825
14826         * BufferView2.C:
14827         * lyx_gui_misc.h:
14828         * lyxfr1.C:
14829         * lyxfunc.C: kill LyXBell.
14830
14831 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14832
14833         * text.C (IsBoundary): Remove the error message
14834
14835         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14836
14837         * lyxrc.C (setDefaults): Correct initialization value for
14838         font_norm_type.
14839
14840 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14841
14842         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14843         gotoError().
14844
14845         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14846         and GotoNextNote().
14847
14848         * src/LyXAction.C: Added reference-next.
14849
14850         * text.C (InsertChar): Use contains instead of strchr.
14851
14852         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14853
14854 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14855
14856         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14857         alignment commands (when needed).
14858
14859         * text.C (InsertChar): Add ':' to number separator chars.