]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
8945585c89440ded8f6660c5752da00d5a65a6b3
[lyx.git] / src / ChangeLog
1 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2
3         * buffer.C: increment file format to 230.
4
5 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
6
7         * cursor.C (dispatch): avoid infinite loops
8
9 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
10
11         * rowpainter.C (paintSelection): fix x coordinates
12
13 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
14
15         * text.C (rowBreakPoint): fix breaking before displayed insets
16
17 2004-03-01  André Pönitz  <poenitz@gmx.net>
18
19         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
20
21         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
22
23         * Makefile.am:
24         * BufferView.C:
25         * BufferView_pimpl.C:
26         * buffer.C:
27         * lyxfind.C:
28         * lyxfunc.C:
29         * text.C:
30         * text2.C:
31         * text3.C: adjust
32
33 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
34
35         * lyxtext.h:
36         * text.C:
37         * text2.C:
38         * rowpainter.C:
39         * BufferView_pimpl.C: rename textwidth -> maxwidth, 
40         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
41
42 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
43
44         * Bidi.[Ch] (computeTables): const correctness
45         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
46         fill_hfill, fill_label_hfill and x from Row
47         * lyxtext.h: prepareToPrint returns a RowMetrics
48         * rowPainter.C: adjust
49         * text.C (prepareToPrint): use width, not textWidth. adjust
50         (redoParagraphInternal, cursorX): adjust
51         * text2.C (getColumnNearX): adjust
52         (init): put a default value to the top LyXText::width
53
54 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
55
56         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here 
57
58 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
59
60         * lyxtext.h: add FontIterator class 
61
62         * text.C (FontIterator, operator*, operator->, operator++): add
63         (rowBreakPoint, setRowWidth): adjust (fixing a
64         rebreaking bug)
65
66 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
67
68         * BufferView_pimpl.C (workAreaDispatch): allow also
69         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
70
71 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
72
73         * text.C (rowBreakPoint): fix a bug showing with very large insets
74
75 2004-02-25  André Pönitz  <poenitz@gmx.net>
76
77         * text3.C:
78         * cursor.[Ch]: move some mathed specific code to mathed
79
80 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
81
82         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
83         use_tempdir in preferences
84         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
85         tempfile creation
86         * lyx_main.C: ensure that tempdir is valid
87         * lyxlex.h: correct typo
88         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
89         * paragraph.[Ch] (isMultiLingual): make const
90         * cursor.[Ch] (openable): make const
91
92 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
93
94         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
95
96 2004-02-20  André Pönitz  <poenitz@gmx.net>
97
98         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
99
100         * cursor.[Ch]: prepare for localized getStatus()
101
102         * lyxtext.h:
103         * tabular.C:
104         * text.C:
105         * text2.C:
106         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
107
108 2004-02-20  André Pönitz  <poenitz@gmx.net>
109
110         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
111
112 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
113
114         * text2.C (setCursorFromCoordinates): switch to absolute coords
115         (cursorUp): adjust
116         (cursorDown): adjust
117         * text3.C (dispatch): adjust
118
119 2004-02-16  André Pönitz  <poenitz@gmx.net>
120
121         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
122           insets/ChangeLog)
123
124         * cursor_slice.[Ch]: remove unneeded acessor function
125
126         * lyxtext.h: rename rtl() to isRTL()
127
128         * rowpainter.C:
129         * tabular.C:
130         * text.C:
131         * text2.C:
132         * text3.C: adjust
133
134 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
135
136         * rowpainter.C (paintSelection): coord fix
137
138 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
139
140         * Spacing.C: compile fix
141
142 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
143
144         * cursor.C (dispatch): restore current_ before returning
145
146 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
147
148         * text2.C (cursorUp, cursorDown): fix coords
149         (moveUp): fix crash
150
151 2004-02-12  André Pönitz  <poenitz@gmx.net>
152
153         * lyxtext.h:
154         * text.C:
155         * text2.C:
156         * text3.C: add LCursor & parameter to most cursor movement functions
157           remove usage of LyXText::cursorRow() and cursorPar()
158
159         * cursor.[Ch]: add textRow() needed members
160
161         * BufferView.C:
162         * BufferView_pimpl.C:
163         * paragraph.[Ch]:
164         * BufferView.C:
165         * BufferView_pimpl.C: adjust
166
167 2004-02-11  André Pönitz  <poenitz@gmx.net>
168
169         * lyxfunc.C:
170         * BufferView.[Ch]:
171         * BufferView_pimpl.C: shift undo/redo handling
172
173         * cursor.[Ch]: fix mathed crash
174
175         * lyxfind.C:
176         * lyxtext.h: move selectionAsText to LCursor
177
178         * output_latex.C:
179         * paragraph.C:
180         * text.C:
181         * text2.C:
182         * text3.C: adjust
183
184         * rowpainter.C: fix excessive drawing
185
186 2004-02-06  André Pönitz  <poenitz@gmx.net>
187
188         * BufferView.[Ch]:
189         * BufferView_pimpl.[Ch]:
190         * text3.C: move some text specific LFUN handling
191
192 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
193
194         * text3.C (checkInsetHit): adjust coords
195         * text2.C (getColumnNearX): adjust coords
196         (edit): adjust coords
197         * text.C (getRowNearY): add two asserts
198
199 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
200
201         * converter.C:
202         * format.C: add using std::distance to compile on gcc 2.95/stlport
203
204 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
205
206         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
207
208 2004-02-04  André Pönitz  <poenitz@gmx.net>
209
210         * BufferView.[Ch] (insertInset):
211         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value 
212
213         * text2.C:
214         * text3.C: adjust
215
216 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
217
218         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch 
219         on the default clause of the switch
220         * lyxfunc.C (dispatch): call BufferView::dispatch if the event 
221         wasn't catched by LCursor::dispatch
222
223 2004-02-03  André Pönitz  <poenitz@gmx.net>
224
225         * BufferView.C:
226         * cursor.[Ch]: some additional asserts
227
228         * undo.[Ch]: remove LyXText dependency in interface
229
230         * lyxfunc.C: adjust
231
232         * lyxtext.h (firstPar, lastPar): remove dead functions 
233
234         * text.C:
235         * text2.C:
236         * text3.C:
237         * paragraph.[Ch]: adjust
238
239 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
240
241         * lyxfind.C (find): fix argument order in call to ::find
242
243 2004-02-02  André Pönitz  <poenitz@gmx.net>
244
245         * cursor.[Ch]: remove direct access to anchor
246
247         * text.C: remove findText() hack
248
249 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
250
251         * iterators.[Ch] (lockPath): remove in favour of...
252         * BufferView.[Ch] (setCursor): this addition
253         * BufferView.C (putSelectionAt): adjust
254         * undo.C (performUndoOrRedo): adjust
255         * lyxfunc.C (dispatch): adjust
256
257 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
258
259         * iterators.C (lockPath): add a missing slice
260         * undo.C (performUndoOrRedo): remove redundant positioning code
261
262 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
263
264         * vc-backend.C (scanMaster): ";" -> ';'
265
266 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
267
268         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
269         std::binary_function
270
271         * lyxtextclass.C (compare_name): rename to...
272         (LayoutNamesEqual): ...this
273
274         * lyxlex_pimpl.C (compare_tags): inherit from
275         std::binary_function, put back into anon namespace
276
277         * lyxfind.C (MatchString): inherig from std::binary_function
278         (findChange): use empty() istead of !size()
279
280         * format.C (FormatNamesEqual): new functor
281         (getFormat): use it
282         (getNumber): use it
283         (add): use it
284         (erase): use it
285         (setViewer): use it
286
287         * converter.C (compare_Converter): rename to...
288         (ConverterEqual): ...this, and fixup a bit.
289         (getConverter): use it, and make function const
290         (getNumber): use it, and make function const
291         (add): use it
292         (erase): use it:
293
294         * bufferlist.C: add using boost::bind
295
296         * MenuBackend.C (MenuNamesEqual): new functor
297         (hasMenu): use it, and make function const
298         (hasSubmenu): use nested bind to get rid of compare_memfun.
299
300 2004-01-30  André Pönitz  <poenitz@gmx.net>
301
302         * BufferView_pimpl.C:
303         * cursor.C:
304         * cursor.h:
305         * cursor_slice.[Ch]:
306         * lyxfunc.C:
307         * lyxtext.h:
308         * paragraph_funcs.C:
309         * paragraph_funcs.h:
310         * rowpainter.C:
311         * text.C:
312         * text2.C:
313         * text3.C: move some of the edit(x,y) handling to the insets
314         some coordinate changes.
315
316 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
317
318         * text.C: add using statements for std::advance and std::distance
319
320         * paragraph.C: add using statement for std::distance
321
322         * lyxfind.C: add using statement for std::advance
323
324         * cursor.C (region): remove std:: from swap
325         (openable): use nucleus in stead of operator->
326
327         * BufferView.C: add using statements for std::distance and std::swap
328
329 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
330
331         * iterators.C: Remove the pimple, move the needed structures to
332         the header file. Create accessor for the positions stack.
333         (asPosIterator): remove function
334
335         * PosIterator.C (PosIterator): move constructors to top of file
336         (PosIterator): reimplement the constructor taking a ParIterator in
337         terms of setFrom.
338         (setFrom): new function
339         (operator!=): inline it
340
341 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
342
343         * lyxfind.C (replaceAll): use std::advance
344
345         * iterators.h: inherit from std::iterator.
346
347         * PosIterator.C (advance, distance): remove
348         * PosIterator.h: interit from std::iterator.
349
350 2004-01-26  André Pönitz  <poenitz@gmx.net>
351
352         * BufferView.[Ch]:
353         * BufferView_pimpl.[Ch]:
354         * InsetList.[Ch]:
355         * PosIterator.[Ch]:
356         * buffer.h:
357         * bufferview_funcs.C:
358         * cursor.[Ch]:
359         * cursor_slice.h:
360         * factory.[Ch]:
361         * iterators.[Ch]:
362         * lyxfind.C:
363         * lyxfunc.C:
364         * lyxtext.h:
365         * output_docbook.C:
366         * output_latex.C:
367         * output_linuxdoc.C:
368         * output_plaintext.C:
369         * paragraph.[Ch]:
370         * paragraph_funcs.[Ch]:
371         * paragraph_pimpl.[Ch]:
372         * rowpainter.C:
373         * tabular.C:
374         * tabular.h:
375         * text.C:
376         * text2.C:
377         * text3.C: more IU:  dumps most of the rest of the mathcursor
378     implementation into cursor.[Ch]; "globalize" a bit of it.
379
380 2004-01-25  Angus Leeming  <leeming@lyx.org>
381
382         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
383
384 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
385
386         * LaTeXFeatures.h: add nice_ and nice() const
387         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
388
389 2004-01-20  André Pönitz  <poenitz@gmx.net>
390
391         * BufferView.[Ch]:
392         * BufferView_pimpl.C:
393         * PosIterator.C:
394         * bufferview_funcs.C:
395         * cursor.[Ch]:
396         * cursor_slice.[Ch]:
397         * factory.C:
398         * iterators.C:
399         * lyx_cb.C:
400         * lyxfind.C:
401         * lyxfunc.C:
402         * lyxtext.h:
403         * rowpainter.C:
404         * text.C:
405         * text2.C:
406         * text3.C:
407         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
408           LCursor and mathcursor parts to LCursor and InsetBase.
409
410 2004-01-15  André Pönitz  <poenitz@gmx.net>
411
412         * cursor_slice.[Ch]: add a few covienience functions
413
414         * funcrequest.[Ch]: remove BufferView * member
415
416         * BufferView_pimpl.C:
417         * cursor.C:
418         * factory.[Ch]:
419         * lyxfind.[Ch]:
420         * lyxfunc.C:
421         * lyxtext.h:
422         * text3.C:
423         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
424
425 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
426
427         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
428         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
429
430 2004-01-13  André Pönitz  <poenitz@gmx.net>
431
432         * textcursor.[Ch]:
433         * lyxtext.h: hide cursor and selection anchor behind accessor function
434
435         * BufferView.C:
436         * BufferView_pimpl.[Ch]:
437         * PosIterator.C:
438         * bufferview_funcs.C:
439         * cursor.h:
440         * lyxfind.C:
441         * lyxfunc.C:
442         * text.C:
443         * text2.C:
444         * text3.C:
445         * undo.C: adjust
446
447         * cursor.h:
448         * cursor_slice.[Ch]: some integer type changes for inset unification
449
450         * lyxcursor.[hC]: remove, it's CursorSlice now.
451
452         * Makefile.am:
453         * BufferView_pimpl.[Ch]:
454         * bufferview_funcs.C:
455         * cursor_slice.C:
456         * lyxtext.h:
457         * text.C:
458         * text2.C:
459         * text3.C:
460         * textcursor.[Ch]: adjust
461
462 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
463
464         * text2.C (undoSpan): add and use
465         * text.C (breakParagraph): use undoSpan (fix bug 578)
466         * lyxtext.h: adjust
467
468 2004-01-08  Angus Leeming  <leeming@lyx.org>
469
470         * BufferView_pimpl.C (MenuInsertLyXFile):
471         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
472         * lyxfunc.C (menuNew, open, doImport):
473         FileFilterList change to the FileDialog open and save functions.
474
475 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
476
477         * ShareContainer.h: make isEqual and isUnique adaptable
478
479         * CutAndPaste.C: make resetOwnerAndChanges adaptable
480
481 2004-01-07  Angus Leeming  <leeming@lyx.org>
482
483         * LyXAction.C:
484         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
485
486         * BufferView_pimpl.C (dispatch): act on these LFUNs.
487
488         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
489         functions replacing find, replace and replaceAll.
490
491         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
492         LFUN_WORDFIND(FORWARD|BACKWARD).
493
494 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
495
496         * text.C (breakParagraph): remove an outdated #warning
497
498 2004-01-07  André Pönitz  <poenitz@gmx.net>
499
500         * lyxfind.C: somewhat clearer logic
501
502         * text.C: prevent crash in cursorX on unitialized row cache
503
504 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
505
506         * lyxcursor.[Ch] (operator>): add
507         * textcursor.C (selStart, selEnd): use std::min and std::max
508
509 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
510
511         * Chktex.C: include boost/format.hpp
512
513 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
514
515         * InsetList.C: replace functor MathcIt with adaptable functor
516         InsetTablePosLess
517         (insetIterator): modify accordingly
518
519         * BranchList.h: move the BranchNamesEqual functor here from...
520         * BranchList.C: ... to here
521
522         * BranchList.C: new BranchListEqual fuctor, use it. Remove
523         SameName and match.
524         (add): replace a finding loop with std::find_if.
525
526 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
527
528         * output_docbook.C: moving LatexParam functionality into
529         .layout files
530
531 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
532
533         * buffer.C: increment format to 229.
534
535 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
536
537         * LaTeXFeatures.C:
538         * lyx_sty.[Ch]: remove minipageindent_def
539
540         * LyXAction.C:
541         * factory.C:
542         * lfuns.h:
543         * lyxfunc.C:
544         * text3.C: remove LFUN_INSET_MINIPAGE
545
546 2003-12-28  Angus Leeming  <leeming@lyx.org>
547
548         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
549
550 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
551
552         * text2.C (setParagraph): fix off-by-one crash
553
554 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
555
556         * output_docbook.C: header stuff for AGU
557
558 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
559
560         * text2.C (redoCursor): remove
561         * text.C:
562         * text3.C:
563         * BufferView_pimpl.C: remove calls to redoCursor and
564         setCursor(cursor.par(), cursor.pos()) all around
565
566 2003-12-15  Angus Leeming  <leeming@lyx.org>
567
568         * buffer.C: up the format to 228.
569
570 2003-12-15  André Pönitz  <poenitz@gmx.net>
571
572         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
573         slices
574
575         * Makefile.am:
576
577         * BufferView_pimpl.C:
578         * cursor.[Ch]:
579         * lyxcursor.[Ch]:
580         * rowpainter.[Ch]:
581         * lyxtext.h:
582         * text.C:
583         * text2.C:
584         * text3.C: adjust
585
586 2003-12-15  Angus Leeming  <leeming@lyx.org>
587
588         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
589         than getFromGUIName to manipulate the color.
590
591 2003-12-14  Angus Leeming  <leeming@lyx.org>
592
593         * BranchList.[Ch]: minimize the API.
594         (Branch::getBranch, getColor): now return a 'const &'.
595         (Branch::setSelected) now returns a bool set to true if the
596         selection status changes.
597         (BranchList::clear, size, getColor, setColor, setSelected,
598         allBranches, allSelected, separator): removed.
599         (BranchList::find): new functions, returning the Branch with
600         the given name.
601         (BranchList::add, remove): return a bool indicating that
602         the operation was successful.
603
604         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
605         new InsetBranch::isBranchSlected member function.
606
607         * LColor.[Ch]: mimimize the API.
608         (fill): renamed as addColor and made private.
609         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
610         versions of these functions taking a string arg have been removed.
611
612         * bufferparams.C (readToken):
613         * lyxfunc.C (dispatch):
614         * lyxrc.C (read): changes due to the altered BranchList and
615         LColor APIs.
616
617         * factory.C (createInset, readInset): changes due to altered
618         InsetBranch c-tor.
619
620 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
621
622         * factory.C:
623         * lyxfunc.C: remove insetminipage. "minipage-insert"
624         now produces a frameless minipage box inset.
625
626 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
627
628         * textcursor.[Ch] (selStart,selEnd): add new methods
629         remove selection::start, end, use LyXCursor::operator<
630         * lyxcursor.[Ch] (operator<): add
631         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
632         * BufferView.[Ch] (unsetXSel): add
633         * text2.C (clearSelection): use unsetXSel,adjust
634         * text.C: adjust
635         * text3.C: adjust
636         * rowpainter.C: adjust
637         * bufferview_funcs.C (put_selection_at): adjust
638
639 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
640
641         * BufferView_pimpl.C: small coord. correction
642
643 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
644
645         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
646         dragging over the splash screen.
647
648 2003-12-11  Angus Leeming  <leeming@lyx.org>
649
650         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
651         as it is now handled in LyXText::dispatch.
652
653         * text3.C (doInsertInset): remove a level of nesting.
654
655 2003-12-11  Angus Leeming  <leeming@lyx.org>
656
657         * factory.C (createInset): changes due to the changed interface to
658         InsetCommandMailer::string2params.
659
660 2003-12-10  Angus Leeming  <leeming@lyx.org>
661
662         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
663         'dialog-show-new-inset <inset name>'
664
665 2003-12-10  Angus Leeming  <leeming@lyx.org>
666
667         * buffer.C: up the format to 227.
668
669         * factory.C: the box inset is now identified simply by 'Box'.
670
671 2003-12-10  Angus Leeming  <leeming@lyx.org>
672
673         * buffer.C: up the format to 226.
674
675         * factory.C: the note inset is now identified simply by 'Note'.
676
677 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
678
679         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
680         when a pit is enough. Standarize a couple of loops.
681
682 2003-12-05  Angus Leeming  <leeming@lyx.org>
683
684         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
685         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
686         data to the re-worked "log" dialog.
687
688 2003-12-03  André Pönitz  <poenitz@gmx.net>
689
690         * PosIterator.C:
691         * iterators.C:
692         * lyxtext.h:
693         * output_latex.C:
694         * paragraph_funcs.C:
695         * text.C:
696         * text2.C: use Inset::getText instead of Inset::getParagraph
697
698 2003-12-03  André Pönitz  <poenitz@gmx.net>
699
700         * buffer.[Ch]:
701         * lyxtext.h:
702         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
703         InsetText::read() as LyXText::read()
704
705 2003-12-02  Angus Leeming  <leeming@lyx.org>
706
707         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
708         type. Add a comment in the implementation that the function uses
709         the stream's bad() function rather than fail() as the std::streams
710         would do.
711
712 2003-12-02  André Pönitz  <poenitz@gmx.net>
713
714         * lyxlex.[Ch]: make interface more similar to std::stream
715
716         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
717
718 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
719
720         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
721
722 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
723
724         * vspace.[Ch]: remove VSpace::NONE
725
726 2003-12-01  André Pönitz  <poenitz@gmx.net>
727
728         * buffer.[Ch]:
729         * lyxtext.h: move ParagraphList member to LyXText
730         rename LyXText::ownerParagraphs to LyXText::paragraph
731
732         * CutAndPaste.C:
733         * bufferview_funcs.C:
734         * iterators.[Ch]:
735         * lyx_cb.C:
736         * paragraph.C:
737         * rowpainter.C:
738         * tabular.C:
739         * text.C:
740         * text2.C:
741         * text3.C: adjust
742
743         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
744
745         * undo.C: fix cursor positioning
746
747 2003-12-01  John Levon  <levon@movementarian.org>
748
749         * BufferView_pimpl.C: fix a crash on exit with
750         a buffer open
751
752 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
753
754         * BranchList.C: fix setSelected() method.
755
756 2003-11-28  André Pönitz  <poenitz@gmx.net>
757
758         * ParagraphParameters.[Ch]:
759         * ParameterStruct.h: remove space above/below from Paragraph to
760          InsetVSpace
761
762         * BufferView_pimpl.C:
763         * factory.C:
764         * lyxfunc.C:
765         * lyxtext.h:
766         * output_latex.C:
767         * paragraph.C:
768         * paragraph_funcs.C:
769         * rowpainter.[Ch]:
770         * text.C:
771         * text2.C:
772         * text3.C: adjust
773
774 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
775
776         * factory.C: Syntax change for CharStyles
777
778 2003-11-28  André Pönitz  <poenitz@gmx.net>
779
780         * BufferView.[Ch]:
781         * BufferView.[Ch]:
782         * buffer.[Ch]:
783         * buffer.[Ch]: move LyXText member
784
785 2003-11-28  André Pönitz  <poenitz@gmx.net>
786
787         * BufferView.[Ch]: make LyXText * text a private member
788
789         * BufferView_pimpl.C:
790         * cursor.C:
791         * iterators.C:
792         * lyx_cb.C:
793         * lyxfind.C:
794         * lyxtext.h:
795         * rowpainter.[Ch]:
796         * text.C:
797         * text2.C:
798         * undo.C: adjust
799
800         * output_plaintext.C: cleanup
801
802 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
803
804         * buffer.C:
805         * lyxtextclass.[Ch]: parametrize SGML document header
806
807 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
808
809         * converter.[Ch]:
810         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
811         getFlavor().
812
813 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
814
815         * text2.C (setFont): rework using PosIterator (no more recursive)
816         (setCharFont): no more needed
817         (setLayout): no more selection cursors fiddling (done by redoCursor)
818         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
819         destroy remaining ones)
820
821 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
822
823         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
824         * lyxtext.h: ditto
825         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
826         selection cursors
827         * lyxfunc.C: adjust
828         * text3.C: adjust + re-allow multi par depth changes
829         * textcursor.C: simplify a bit
830
831 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
832
833         * src/buffer.C:
834         * src/lyxlayout.C:
835         * src/lyxlayout.h:
836         * src/lyxtext.h:
837         * src/output_docbook.C:
838         * src/output_latex.C:
839         * src/paragraph.C:
840         * src/paragraph.h:
841         * src/sgml.C:
842         * src/sgml.h:
843         * src/text2.C: Introducing a number of tags parametrizing various
844         XML formats that we may want to support
845
846 2003-11-25  André Pönitz  <poenitz@gmx.net>
847
848         * InsetList.[Ch] (begein, end): inline as suggested by profiler
849
850         * lyxtext.h (leftMargin/rightMargin): simplify interface
851
852         * rowpainter.C:
853         * text.C:
854         * text2.C:
855         * text3.C: adjust
856
857 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
858
859         * lyxfunc.C (dispatch): propogate the bibtex databases from the
860         master file to any child files. Fixes bug 546.
861
862 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
863
864         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
865
866 2003-11-24  André Pönitz  <poenitz@gmx.net>
867
868         * rowpainter.C: simplification
869
870         * text2.C (updateCounters): remove call to redoParagraph on
871         changed labels as this is far too expensive.
872
873 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
874
875         * converter.C (convert): fix a crash: this function gets
876         called with buffer == 0 from importer code.
877
878 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
879
880         * text3.C (cursorPrevious): make sure that we do not compare
881         iterators form different containers.
882         (cursorNext): ditto
883
884         * rowpainter.C (paintSelection): make sure that we do not compare
885         iterators from different containers.
886
887         * text3.C (dispatch): [PRIOR] make sure that we do not compare
888         iterators from different ParagraphList containers.
889         [NEXT] ditto
890
891         * text2.C (LyXText): change order of initialization slightly
892         (operator=): new function. copy all variables except cache_par_
893         (moveUp): make sure that we do not compare iterators from
894         different ParagraphList constainers.
895         (moveDown): ditto
896
897         * text.C (firstPar): new function
898         (lastPar): new function
899         (endPar): new function
900
901         * lyxtext.h: move things around and group public functions, public
902         variables, private functions, private variables
903
904 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
905
906         * factory.C: change call to InsetERT constructor to avoid
907         additional invocation of method status
908         * text2.C (toggleInset): remove redundant update() call
909         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
910         instead of a Bufferview pointer
911
912 2003-11-21  André Pönitz  <poenitz@gmx.net>
913
914         * rowpainter.C: simplification
915
916 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
917
918         * text3.C (dispatch): make possible to extend a word/row selection
919         with the mouse
920
921 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
922
923         * lyxtext.h: x0_,y0_ -> xo_,yo_
924         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
925         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
926         * rowpainter.C (paintRows): paint full paragraphs
927
928 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
929
930         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
931         screen coordinates)
932
933 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
934
935         * lyxtext.h: add x0_, y0_
936         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
937         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
938
939 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
940
941         * text2.C (setCursorIntern): move the x_target update here *
942         * text3.C: change some bv() to true/false in calls to
943         cursorUp/Down/Right/Left
944         * cursor.C: use helper function.
945
946 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
947
948         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
949         * paragraph_funcs.[Ch]: correct comment
950         * rowpainter.C: do not paint selections away from bv->cursor()
951         Fix a long standing selection painting bug.
952         * text3.C: generalize mouse-selection code to LyXTexts other that
953         top one
954         * textcursor.C: do not use y coords if we can use par offsets
955
956 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
957
958         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
959         cursor position after e.g. inset insert)
960
961 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
962
963         * lyxfind.C (replace): adjust to locking removal + some
964         code simplification
965
966 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
967
968         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
969         of the path
970
971 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
972
973         * lyxlayout.[Ch]:
974         * output_docbook.C: XML sanitation: new layout
975         parameters InnerTag and CommandDepth
976
977 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
978
979         * BufferView_pimpl.C:
980         * factory.C:
981         * text3.C: Fix the insertion and modification of button-style
982         insets
983
984 2003-11-13  André Pönitz  <poenitz@gmx.net>
985
986         * InsetList.[Ch]: remove deleteLyXText
987
988         * paragraph.[Ch]: cache beginOfBody position
989
990         * Bidi.C:
991         * text.C:
992         * text2.C:
993         * text3.C: remove superfluous update() calls
994
995         * vspace.C: cleanup
996
997 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
998
999         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1000         * BufferView.C (fitLockedInsetCursor): remove
1001         * cursor.[Ch] (getDim): add
1002         * text.C (getRowNearY): add faster version
1003         * text3.C: remove some update calls
1004
1005 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
1006
1007         * LaTeXFeatures.C:
1008         * LyXAction.C:
1009         * MenuBackend.C:
1010         * MenuBackend.h:
1011         * dispatchresult.h:
1012         * factory.C:
1013         * lfuns.h:
1014         * lyxfunc.C:
1015         * lyxtextclass.C:
1016         * lyxtextclass.h:
1017         * text3.C: The Character Style /XML short element patch.
1018
1019 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
1020
1021         * text3.C:
1022         * factory.C: Small step to solving 'unable to insert some insets'
1023         problem
1024
1025 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1026
1027         * cursor.[Ch] (updatePos): new function for updating the y
1028         position of the tip inset
1029         * bufferview_funcs.C (put_selection_at):
1030         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1031
1032 2003-11-11  André Pönitz  <poenitz@gmx.net>
1033
1034         * text.C: remove big comment on invalid Paragraph pointers as it is
1035         not valid anymore
1036
1037 2003-11-11  André Pönitz  <poenitz@gmx.net>
1038
1039         * text_funcs.[Ch]: merge with ...
1040
1041         * text.C: ... this
1042
1043         * lyxtext.h:
1044         * text2.C:
1045         * text3.C: adjust
1046
1047         * Makefile.am: remove text_funcs.[Ch]
1048
1049 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
1050
1051         * cursor.C (getPos): return absolute cached y coord
1052
1053         * BufferView_pimpl.C (fitCursor): new simplistic code
1054         (workAreaDispatch): add a fitCursor call
1055
1056 2003-11-10  André Pönitz  <poenitz@gmx.net>
1057
1058         * BufferView.[Ch]:
1059         * BufferView_pimpl.[Ch]: merge update() and updateInset()
1060
1061 2003-11-10  André Pönitz  <poenitz@gmx.net>
1062
1063         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1064         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1065         indicate that the cursor needs to leave an inset
1066
1067         * lyxtext.h: remove inset locking
1068
1069         * cursor.[Ch]: re-implement functionality provided by inset locking
1070
1071         * BufferView.[Ch]:
1072         * BufferView_pimpl.[Ch]:
1073         * LyXAction.C:
1074         * bufferview_funcs.[Ch]:
1075         * factory.C:
1076         * funcrequest.[Ch]:
1077         * iterators.C:
1078         * lyx_cb.C:
1079         * lyxfind.C:
1080         * lyxfunc.C:
1081         * text.C:
1082         * text2.C:
1083         * text3.C:
1084         * undo.C: adjust
1085
1086 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
1087
1088         * PosIterator.[Ch]: replace the stack with a vector, add inset
1089         accesor
1090         * iterators.[C]: adjust
1091
1092 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1093
1094         * lyxfind.C (replaceAll): mark the buffer dirty if something was
1095         replaced
1096         * paragraph_funcs.C (readParToken): put the correct id in the
1097         error item, not the id of the top paragraph
1098
1099 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1100
1101         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1102         * bufferview_funcs.C (put_selection_at): use the above
1103
1104 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1105
1106         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1107
1108 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1109
1110         * output_linuxdoc.h:
1111         * output_plaintext.h:
1112         * output.h:
1113         * output_docbook.h: add #include statements
1114
1115 2003-11-05  José Matos  <jamatos@lyx.org>
1116
1117         * output_docbook.[Ch]:
1118         * output_latex.[Ch]:
1119         * output_linuxdoc.[Ch]:
1120         * output_plaintext.[Ch]: New files for output formats.
1121         * output.[Ch]: New file for helper functions.
1122
1123         * buffer.[Ch]:
1124         * paragraph_funcs.[Ch]: output functions moved to new files.
1125
1126         * outputparams.h: rename of latexrunparams.h
1127
1128         * LaTeX.[Ch]:
1129         * buffer.[Ch]:
1130         * bufferlist.[Ch]:
1131         * converter.[Ch]:
1132         * exporter.C:
1133         * paragraph.[Ch]:
1134         * paragraph_funcs.[Ch]:
1135         * paragraph_pimpl.[Ch]:
1136         * tabular.[Ch]: rename ascii to plaintext
1137         and LatexRunParams to OutputParams.
1138
1139 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1140
1141         * iterators.[Ch] (text): require bv argument
1142         * undo.C (recordUndo):
1143         * lyxfunc.C (dispatch):
1144         * bufferview_funcs.C (put_selection_at): adjust
1145
1146 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
1147
1148         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1149
1150 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1151
1152         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1153         nestings
1154
1155 2003-11-04  André Pönitz  <poenitz@gmx.net>
1156
1157         * cursor.[Ch]: restructure
1158
1159         * BufferView.[Ch]:
1160         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1161
1162         * iterators.[Ch] (asCursor): remove
1163
1164         * lfuns.h: remove LFUN_INSET_EDIT
1165
1166         * lyxfunc.C:
1167         * tabular.C:
1168         * text.C:
1169         * text2.C:
1170         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1171
1172 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1173
1174         * lyxfind.[Ch]: complete overhaul
1175         * BufferView_pimpl.C:
1176         * lyxfunc.C: adjust
1177         * paragraph.[Ch] (insert): add
1178
1179 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1180
1181         * BufferView.[Ch]:
1182         * lyxtext.h:
1183         * text.C: remove dead spellcheck code
1184
1185 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1186
1187         * dispatchresult.h: add a val setter
1188
1189         * cursor.C (dispatch): use a tempvar for data_[i]
1190
1191 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1192
1193         * PosIterator.[Ch]: compile fix
1194
1195 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1196
1197         * text.C (cursorPar): deactivate the cursor cache
1198
1199 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1200
1201         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1202
1203 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1204
1205         * text3.C (dispatch): adjust for new DisptchResult semantics.
1206
1207         * lyxfunc.C (dispatch): handle update when return from
1208         Cursor::dispatch, adjust for new DispatchResult semantics.
1209
1210         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1211         DispatchResult(true) mean to not update. Add class functions for
1212         setting dispatched and update, as well as reading.
1213
1214         * cursor.C (dispatch): don't handle update here
1215
1216 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1217
1218         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1219         * trans_mgr.C: adjust
1220
1221         * paragraph_funcs.C (readParToken): exception safety
1222
1223         * lyxvc.h: store the vcs pointer in a scoped_ptr
1224         * lyxvc.C: adjust
1225
1226         * lyxsocket.C (serverCallback): exception safety
1227
1228         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1229
1230         * ispell.C (clone): make it return a auto_ptr
1231
1232         * factory.C (createInset): exception safety
1233         (readInset): exception safety
1234
1235         * bufferlist.C (newBuffer): exception safety
1236
1237         * Thesaurus.C (Thesaurus): use initialization for aik_
1238
1239         * MenuBackend.C (expandToc): exception safety.
1240
1241 2003-11-03  André Pönitz  <poenitz@gmx.net>
1242
1243         * buffer.C:
1244         * buffer.h:
1245         * bufferview_funcs.C: remove getInsetFromId()
1246
1247         * lyxcursor.[Ch]:
1248         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1249
1250         * lyxfunc.C:
1251         * text2.C:
1252         * text3.C: adjust
1253
1254 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1255
1256         * PosIterator.C (distance, advance): new
1257         * bufferview_funcs.[Ch] (put_selection_at): new
1258         * iterators.[Ch] (lockPath): new
1259
1260 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
1261
1262         * iterators.[Ch] (asPosIterator): added
1263         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1264         * PosIterator.[Ch]: added
1265
1266 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1267
1268         * text3.C:
1269         * lyxfunc.C:
1270         * cursor.C (dispatch):
1271         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1272
1273         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1274         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1275         contructor, add a class function dispatched. Remove operator>=
1276
1277 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1278
1279         * debug.C: only use the default constructor for debugstream
1280         (lyxerr) here.
1281
1282         * main.C (main): include debug.h and setup the lyxerr streambuf
1283         here.
1284
1285 2003-10-31  José Matos  <jamatos@lyx.org>
1286
1287         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1288
1289         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1290         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1291         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1292         * paragraph_pimpl.C (simpleTeXSpecialC):
1293         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1294         add LatexRunParams argument.
1295
1296         * exporter.C (Export): change call accordingly.
1297
1298         * latexrunparams.h: add new member to take care of the other backends.
1299 2003-10-30  José Matos  <jamatos@lyx.org>
1300
1301         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1302         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1303         factorise code for paragraph output.
1304         * buffer.[Ch]:
1305         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1306         move functions.
1307
1308 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1309
1310         * text3.C (dispatch):
1311         * lyxfunc.C (dispatch):
1312         * cursor.C (dispatch):
1313         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1314
1315         * dispatchresult.h: make the dispatch_result_t ctor explicit
1316
1317 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
1318
1319         * sgml.[Ch]:
1320         * buffer.C: small refactoring of docbook stuff
1321
1322 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1323
1324         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1325         meaning.
1326
1327 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1328
1329         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1330         operator dispatch_result_t, and operators for == != and >=
1331
1332         * cursor.C (dispatch): adjust for operator dispatch_result_t
1333         removal. comment out call to update
1334
1335         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1336
1337 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1338
1339         * text3.C:
1340         * text2.C:
1341         * text.C:
1342         * lyxtext.h:
1343         * lyxfunc.C:
1344         * cursor.C:
1345         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1346         (dispatch):
1347
1348         * dispatchresult.h: new file, DispatchResult broken out of
1349         insets/insetbase.h
1350
1351         * Makefile.am (lyx_SOURCES): add dispatchresult.h
1352
1353 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1354
1355         * text.C (rowBreakPoint): put a hack inside #if 0
1356
1357 2003-10-28  André Pönitz  <poenitz@gmx.net>
1358
1359         * lyxtext.h:
1360         * metricsinfo.C:
1361         * paragraph_funcs.C:
1362         * rowpainter.C:
1363         * text.C:
1364         * text2.C: general cleanup (lots of small stuff)
1365
1366 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1367
1368         * text2.C (cursorEnd): simple fix to the "end key goes to one
1369         before the end on last row" bug
1370
1371 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1372
1373         * text.C (backspace): fix the "zombie characters"
1374
1375 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1376
1377         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1378
1379 2003-10-27  André Pönitz  <poenitz@gmx.net>
1380
1381         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1382
1383         * factory.C: handle new InsetPagebreak, InsetLine
1384
1385         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1386         and move handling into new InsetPagebreak, InsetLine
1387
1388         * BufferView_pimpl.C:
1389         * LyXAction.C:
1390         * ParagraphParameters.C:
1391         * ParameterStruct.h:
1392         * lyxfunc.C:
1393         * lyxtext.h:
1394         * paragraph.C:
1395         * paragraph.h:
1396         * paragraph_funcs.C:
1397         * paragraph_pimpl.C:
1398         * rowpainter.C:
1399         * text.C:
1400         * text2.C:
1401         * text3.C: adjust
1402
1403 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1404
1405         * text.C:
1406         * lyxrow_funcs.[Ch]:
1407         * Bidi.C:
1408         * paragraph.C:
1409         * lyxtext.h:
1410         * rowpainter.C:
1411         * text2.C:
1412         * text3.C: remove lastPos uses in favour of Row::endpos
1413
1414 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1415
1416         * undo.C (performUndoOrRedo): fix two crashes by setting a
1417         cursor by hand and reordering some calls. Use bv->lockInset instead
1418         of inset->edit because the latter loses cursor information
1419
1420 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
1421
1422         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1423         by Martin
1424         (rowBreakPoint): fix width. change point to point + 1.
1425         Add a missing check.
1426
1427 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
1428
1429         * MenuBackend.C:
1430         * lyxfunc.C: fix (at least partly) the problems
1431         with the Nav menu and headers inside branch insets
1432         reported by Kayvan
1433
1434 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
1435
1436         * paragraph.C (getChar): add strong asserts
1437
1438         * lyxrow_funcs.C (lastPos): remove hideous hack
1439
1440         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1441         (fill): adjust to that (avoid an infinite loop)
1442
1443 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1444
1445         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1446
1447 2003-10-23  André Pönitz  <poenitz@gmx.net>
1448
1449         * RowList_fwd.h: change list<> to vector<> to gain speed
1450         after suggestion from Alfredo
1451
1452 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1453
1454         * lyxtext.h: move the bidi stuff from here...
1455         * text.C: and here
1456         * text2.C: and here
1457         * Bidi.[Ch]: ... to here
1458
1459 2003-10-23  André Pönitz  <poenitz@gmx.net>
1460
1461         * lyxtext.h:
1462         * text.C (isLastRow, isFirstRow): new functions
1463
1464         * paragraph.h: new width cache member
1465
1466         * rowpainter.C: replace RowList::iterator with Row & where possible
1467
1468         * lyxfunc.C: replace several view()->text with a single call
1469
1470         * toc.C: fix 'unused' warning
1471
1472 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1473
1474         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1475         when woring with stream::pos_type
1476         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1477
1478 2003-10-22  André Pönitz  <poenitz@gmx.net>
1479
1480         * lyxtext.h:
1481         * text.C: use Row & instead of RowList::iterator
1482
1483         * lyxrow.h: rename end() to endpos()
1484
1485         * rowpainter.C:
1486         * text.C:
1487         * text2.C: adjust
1488
1489 2003-10-22  Angus Leeming  <leeming@lyx.org>
1490
1491         * buffer.[Ch] (fully_loaded): new member function, returning true
1492         only when the file has been loaded fully.
1493         Used to prevent the premature generation of previews and by the
1494         citation inset to prevent computation of the natbib-style label.
1495
1496         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1497         templates are all set up.
1498
1499         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1500
1501 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
1502
1503         * text.C: fixed an "oops" in the "is a bit silly"
1504         bug fix
1505
1506 2003-10-21  André Pönitz  <poenitz@gmx.net>
1507
1508         * FuncStatus.[Ch]: small stuff, whitespace
1509
1510         * lyxfont.[Ch]: operator<<() for debug reasons
1511
1512         * lyxfunc.C:
1513         * lyxrow_funcs.C:
1514         * lyxtext.h: whitespace, spelling
1515
1516         * paragraph.C: naming of variables
1517
1518         * text.C:
1519         * text2.C: small stuff
1520
1521
1522 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
1523
1524         * text.C: (1) finish off the inset display() work;
1525         (2) fix the "is a bit silly" bug (accessing char
1526         past end of par).
1527
1528 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
1529
1530         * text.C: re-introduce display() for insets, fixing the
1531         various bugs (stretch of line above, math inset
1532         positioning, ...)
1533
1534 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1535
1536         * text.C (rightMargin): remove spurious semicolon
1537
1538         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1539         1415)
1540
1541 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
1542
1543         * text3.C: fix one crash due to wrong cursor def
1544
1545 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1546
1547         * vc-backend.C (scanMaster): make the regex static
1548
1549         * LaTeX.C (scanAuxFile): make the regexs static
1550
1551         * text3.C (doInsertInset, dispatch, dispatch):
1552         * text2.C (cursorUp, cursorDown):
1553         * text.C (selectNextWordToSpellcheck):
1554         * BufferView_pimpl.C (dispatch):
1555         * lyxfunc.C (dispatch):  localDispatch -> dispatch
1556
1557 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1558
1559         * lyxsocket.C: include <cerrno>
1560
1561 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1562
1563         * lyxfunc.C (dispatch): remove textcache stuff
1564
1565         * bufferlist.C (release): remove textcache stuff
1566         (closeAll): ditto
1567
1568         * TextCache.C: delete file
1569         * TextCache.h: delete file
1570
1571         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1572
1573         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1574         delete of the bv_->text.
1575         (resizeCurrentBuffer): remove texcache stuff
1576         (workAreaResize): ditto
1577
1578 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1579
1580         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1581         action.
1582
1583 2003-10-16  André Pönitz  <poenitz@gmx.net>
1584
1585         * lyxrow.[Ch]:
1586         * paragraph.h:
1587         * rowpainter.C:
1588         * text.C:
1589         * text2.C:
1590         * text3.C: speed up by storing y positions per paragraph plus per-row
1591         offset instead of having a 'full' y position in the row.
1592
1593 2003-10-15  André Pönitz  <poenitz@gmx.net>
1594
1595         * iterators.[Ch]:
1596         * iterators.[Ch]:
1597         * undo.[Ch]: make undo aware of inner insets
1598
1599 2003-10-14  Angus Leeming  <leeming@lyx.org>
1600
1601         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1602         static member functions LyX::ref() and LyX::cref.
1603         (lastfiles): new accessor functions for the new lastfiles_ member var.
1604         (addLyXView, views_): add a new LyXView to the list of views_.
1605         (updateInset): loop over all LyXViews to call their own updateInset
1606         member function, returning a pointer to the Buffer owning the inset.
1607
1608         * BufferView_pimpl.C (loadLyXFile):
1609         * MenuBackend.C (expandLastfiles):
1610         * bufferlist.C (MenuWrite, QuitLyX):
1611         lastfiles is no longer a global variable.
1612         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1613
1614         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1615         static function. Access through LyX::cref().emergencyCleanup().
1616
1617 2003-10-14  André Pönitz  <poenitz@gmx.net>
1618
1619         * iterators.[Ch]: new direct access to innermost LyXText and Inset
1620
1621         * undo.[Ch]: restoring part of 'undo in insets'
1622
1623         * Makefile.am:
1624         * undo_funcs.[Ch]: merge with undo.[Ch]
1625
1626         * tabular.C: small cleansing stuff
1627
1628 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
1629
1630         * paragraph_funcs.C (readParToken): report unknown insets as error
1631         boxes. Use the outer paragraph as location (also for unknown
1632         tokens).
1633
1634         * factory.C (readInset): do not abort on reading an unknown inset.
1635         Eat it and return 0.
1636
1637 2003-10-13  Angus Leeming  <leeming@lyx.org>
1638
1639         * lyx_main.C (LyX): remove call to setDisplayTranslator().
1640
1641         * lyxrc.C: displayTranslator is now a function,
1642         declared in GraphicsTypes.h.
1643
1644 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1645
1646         * format.C: new placeholder $$a to pass the socket address.
1647
1648         * bufferlist.[Ch]: new function getBufferFromTmp.
1649
1650         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1651           files in the temporary dir.
1652
1653 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1654
1655         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1656
1657         * Makefile.am: add lyxsocket.[Ch].
1658
1659         * lyx_main.C (error_handler): handle SIGPIPE.
1660
1661 2003-10-13  André Pönitz  <poenitz@gmx.net>
1662
1663         * BufferView_pimpl.C:
1664         * lyxtext.h:
1665         * text.C:
1666         * text2.C:
1667         * text3.C:
1668         * undo_funcs.[Ch]: use paroffset_type instead of
1669           ParagraphList::iterators to prevent multiple conversion
1670           (and get a more robust interface)
1671
1672 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1673
1674         * lyxfunc.C (dispatch): RESULT -> dispatch_result
1675         * lyxtext.h: ditto
1676         * text3.C (dispatch): ditto
1677
1678 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1679
1680         * LaTeX.C (handleFoundFile): move the static to smaller scope,
1681         move the onlyfile, use onlyfile instead of foundfile in a couple
1682         of places.
1683
1684         * DepTable.C (update): flush the error stream a bit more
1685
1686 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1687
1688         * lyxserver.C (callback): adjust
1689
1690         * lyxfunc.C (getStatus): add a missing brace in commented code
1691         (ensureBufferClean): reindent
1692         (dispatch): delete version taking a string
1693
1694 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1695
1696         * LaTeX.C (deplog): move found file handlig from here...
1697         (handleFoundFile): .. to new function here.
1698         (deplog): make sure to discover several files mentioned on the
1699         same log line.
1700
1701 2003-10-10  André Pönitz  <poenitz@gmx.net>
1702
1703         * lyxfunc.C:
1704         * lyxtext.h:
1705         * tabular.C:
1706         * text.C:
1707         * text2.C:
1708         * text3.C: fix some of the tabular crashes
1709
1710 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1711
1712         * MenuBackend.C (binding): put debug message into Debug::KBMAP
1713
1714         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1715
1716 2003-10-09  André Pönitz  <poenitz@gmx.net>
1717
1718         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1719
1720         * BufferView.C:
1721         * BufferView_pimpl.C:
1722         * bufferview_funcs.C:
1723         * lyx_cb.C:
1724         * lyxcursor.C:
1725         * lyxfind.C:
1726         * lyxfunc.C:
1727         * lyxtext.h:
1728         * text.C:
1729         * text2.C:
1730         * text3.C:
1731         * text_funcs.[Ch]:
1732         * textcursor.[Ch]:
1733         * undo_funcs.C: adjust
1734
1735 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1736
1737         * text2.C (incrementItemDepth): new function, use a backtracking
1738         algorithm to discover the correct item depth.
1739         (resetEnumCounterIfNeeded): new function, use a backtracking
1740         algorithm to discover if counter reset is needed.
1741         (setCounter): use them. Simplify a bit. Add different labels for
1742         different item depths for itemize.
1743
1744         * paragraph.C (Paragraph): remove initialization of enumdepth
1745         (operator=): ditto
1746
1747         * paragraph.h: get rid of enumdepth, and use itemdepth both for
1748         enumerate and itemize. Change the type of itemdepth to signed char.
1749
1750 2003-10-08  André Pönitz  <poenitz@gmx.net>
1751
1752         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1753           thing assignable.
1754         * text.C:
1755         * text2.C: adjust
1756
1757         * tabular.[Ch]: fix crash after 'row-insert'
1758
1759 2003-10-08  Angus Leeming  <leeming@lyx.org>
1760
1761         Fix doxygen warnings.
1762
1763         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1764         Remove CutAndPaste:: prefix from header file declaration.
1765
1766         * LColor.h (fill): remove LColor:: prefix from declaration.
1767
1768         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1769         use lyx::depth_type rather than Paragraph::depth_type so that
1770         header file and .C file match.
1771
1772         * converter.h (intToFormat): remove Converters:: prefix from declaration.
1773
1774         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1775         * aspell.C: \file aspell_local.C -> \file aspell.C
1776         * gettext.C: \file gettext.C -> \file src/gettext.C
1777         * gettext.h: \file gettext.h -> \file src/gettext.h
1778         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1779         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1780         * text.C: \file text.C -> \file src/text.C
1781
1782         * toc.C: move comment so that doxygen is not confused.
1783
1784 2003-10-07  Angus Leeming  <leeming@lyx.org>
1785
1786         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1787
1788 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1789
1790         * aspell.C:
1791         * aspell_local.h: add forgotten std::string's.
1792
1793 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1794
1795         * LaTeXFeatures.C:
1796         * LyXAction.C:
1797         * factory.C:
1798         * lfuns.h:
1799         * lyxfunc.C:
1800         * text3.C: The Box patch. Fancybox support, minipage, parbox
1801
1802 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1803
1804         * CutAndPaste.h:
1805         * DepTable.h:
1806         * FloatList.h:
1807         * LaTeXFeatures.h:
1808         * ParagraphParameters.h:
1809         * TextCache.h:
1810         * Thesaurus.h:
1811         * bufferlist.h:
1812         * exporter.h:
1813         * importer.h:
1814         * lastfiles.h:
1815         * lyxfind.h:
1816         * lyxfont.h:
1817         * lyxlex.h:
1818         * lyxtextclasslist.h:
1819         * messages.h:
1820         * paragraph.h:
1821         * paragraph_pimpl.C:
1822         * textcursor.h: add <string> and other small fixes to make Lars'
1823         std::string patch compile with STLport.
1824
1825 2003-10-06  Angus Leeming  <leeming@lyx.org>
1826
1827         * LColor.h: Add missing #include <string>.
1828
1829 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1830
1831         * All most all file in all subdirs: Make <string> be the prefered
1832         way of getting to std::string, add using declarations.
1833
1834 2003-10-06  André Pönitz  <poenitz@gmx.net>
1835
1836         * metricsinfo.C: initialize LyXFont before changing attribute.
1837         (fixes the 'math in \emph is upright' bug)
1838
1839 2003-10-06  André Pönitz  <poenitz@gmx.net>
1840
1841         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1842
1843 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1844
1845         * graph.C:
1846         * paragraph_pimpl.C: Small fixes to build using STLport
1847
1848 2003-10-02  André Pönitz  <poenitz@gmx.net>
1849
1850         * lyxfunc.C:
1851         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1852
1853 2003-10-01  André Pönitz  <poenitz@gmx.net>
1854
1855         * factory.C: assert early
1856
1857 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1858
1859         * lyx_main.C: remove the global debug object
1860
1861         * debug.h: adjust for new debugstream
1862
1863         * debug.C: adjust for new debugstream and keep the global debug
1864         object here.
1865
1866 2003-09-22  Angus Leeming  <leeming@lyx.org>
1867
1868         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1869         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1870         an incomplete class LyXFont.
1871
1872 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1873
1874         * factory.C: bug fix in branches
1875
1876 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1877
1878         * lyxfunc.C (processKeySym): adjust
1879         (dispatch): adjust
1880         (dispatch): change arg name from ev to func, adjust
1881         (sendDispatchMessage): ditto
1882
1883         * lyx_main.C (defaultKeyBindings): adjust keybindings
1884         (deadKeyBindings): ditto
1885
1886         * kbsequence.C (addkey): return a FuncRequest
1887
1888         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1889
1890         * kbmap.C (bind): take a FuncRequest as arg, adjust
1891         (read): adjust
1892         (lookup): adjust
1893         (defkey): change to take a FuncRequest as arg, adjust
1894         (findbinding): take a FuncRequest as arg, adjust.
1895
1896         * funcrequest.h (operator=): added
1897
1898         * funcrequest.C (FuncRequest): default kb_action changed from
1899         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1900
1901         * buffer.C (dispatch): simplify
1902         (dispatch): adjust to take a FuncRequest as arg, adjust
1903
1904         * boost.C (assertion_failed): change assertion message slightly
1905
1906         * ToolbarBackend.C (read): simplify
1907
1908         * MenuBackend.C (binding): adjust call to findbinding, add a
1909         message if no binding is found.
1910         (read): simplify
1911         (expandToc): correct by adding a empty FuncRequest
1912
1913         * LyXAction.C: include <boost/assert.hpp>
1914         (isPseudoAction): delete function
1915         (LookupFunc): change name to...
1916         (lookupFunc): this. change return type to FuncRequest.
1917         (getActionName): take kb_action as arg, simplify
1918         (funcHasFlag): add an assert, simplify.
1919
1920 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1921
1922         * toc.C (action): return a FuncRequest, simplify
1923
1924         * lyxfunc.C (processKeySym): adjust
1925         (getStatus): delete version that takes an int.
1926         (getStatus): adjust
1927         (dispatch): delete version that takes action as int
1928         (dispatch): adjust
1929         (sendDispatchMessage): simplify and adjust
1930
1931         * funcrequest.C (getArg): take unsigned int as arg
1932
1933         * ToolbarBackend.C (read): adjust
1934         (add): delete version that takes func as a string.
1935         (getIton): take a FuncRequest as arg
1936
1937         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1938         action.
1939
1940         * MenuBackend.C (MenuItem): add a new construct that only takes a
1941         Kind, simplify the constructor use for submenus.
1942         (add): adjust
1943         (expandLastfiles): adjust
1944         (expandDocuments): adjust
1945         (expandFormats): adjust
1946         (expandFloatListInsert): adjust
1947         (expandFloatInsert): adjust
1948         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1949
1950         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1951         Remove class variables lyx_pseudo_map and lyx_arg_map
1952
1953         * LyXAction.C (searchActionArg): delete function
1954         (getPseudoAction): delete function
1955         (retrieveActionArg): delete function
1956         (LookupFunc): make it return kb_action, simplify.
1957         (getActionName): simplify
1958
1959         * factory.C (createInset): fix new bug
1960
1961 2003-09-19  Angus Leeming  <leeming@lyx.org>
1962
1963         * CutAndPaste.C (pasteSelection): remove fudge used to set the
1964         masterFilename_ parameter in the include inset.
1965
1966         * factory.C (createInset): changes due to the changes to InsetInclude.
1967
1968 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1969
1970         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1971
1972 2003-09-18  Angus Leeming  <leeming@lyx.org>
1973
1974         * buffer.C:
1975         * BufferView.C: pass the buffer when calling Inset::getLabelList,
1976         Inset::fillWithBibKeys.
1977         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1978
1979 2003-09-18  Angus Leeming  <leeming@lyx.org>
1980
1981         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1982         variables.
1983         (ctor): pass and store a 'Buffer const &'
1984         (buffer): new member function.
1985
1986         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1987         '*this' to the LaTeXFeatures ctor.
1988
1989 2003-09-18  Angus Leeming  <leeming@lyx.org>
1990
1991         * LColor.h:
1992         * lyxfont.C:
1993         * lyxfont.h:
1994         * lyxtext.h:
1995         * text.C: rename EnumLColor as LColor_color.
1996
1997 2003-09-18  Angus Leeming  <leeming@lyx.org>
1998
1999         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2000         remove #include "insets/insetbase.h" from cursor.h.
2001
2002 2003-09-18  Angus Leeming  <leeming@lyx.org>
2003
2004         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2005         InsetOld_code to remove #include "inset.h".
2006
2007         * iterators.C: add #include "insets/inset.h"
2008
2009 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
2010
2011         * BufferView.C: remove more locking stuff that apparently doesn't
2012         do anything sensible.
2013
2014 2003-09-16  André Pönitz  <poenitz@gmx.net>
2015
2016         * paragraph.[Ch]:
2017         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2018           performance boost.
2019
2020 2003-09-16  Angus Leeming  <leeming@lyx.org>
2021
2022         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2023
2024         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2025         arg/return type.
2026
2027         * paragraph.h: remove #include "lyxfont.h". Forward declare
2028         LyXFont_size.
2029
2030 2003-09-16  Angus Leeming  <leeming@lyx.org>
2031
2032         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2033         of support/textutils.h.
2034         (isWord): move the contents of support/textutils.h's IsWordChar here.
2035
2036         * buffer.C:
2037         * lyxfind.C:
2038         * rowpainter.C:
2039         * text.C:
2040         * text2.C: add #include "paragraph.h".
2041
2042         * rowpainter.C:
2043         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2044
2045 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2046
2047         * main.C:
2048         * lyx_main.C:
2049         * lyx_cb.C:
2050         * buffer.C:
2051         * LaTeX.C: use namespace alias for lyx::support::os
2052
2053 2003-09-16  Angus Leeming  <leeming@lyx.org>
2054
2055         * bufferparams.C:
2056         * bufferview_funcs.C:
2057         * factory.C:
2058         * lyxfunc.C:
2059         * paragraph_pimpl.C:
2060         * rowpainter.C:
2061         * text.C: add #include "LColor.h".
2062
2063 2003-09-16  Angus Leeming  <leeming@lyx.org>
2064
2065         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2066         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2067         return LyXFont &.
2068         Store the FontBits::color variable as an int rather than as an
2069         LColor::colorso that we can move LColor.h out of the lyxfont.h header
2070         file.
2071
2072         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2073         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2074         string calls together.
2075
2076         * lyxrc.C: add #include "LColor.h".
2077
2078 2003-09-15  Angus Leeming  <leeming@lyx.org>
2079
2080         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2081         a cow_ptr.
2082
2083 2003-09-15  Angus Leeming  <leeming@lyx.org>
2084
2085         * LColor.h: add an EnumLColor wrapper for LColor::color.
2086
2087         * lyxfont.[Ch] (color, setColor, realColor):
2088         * lyxtext.h, text.C (backgroundColor):
2089         pass EnumLColor args to/from the functions, rather than LColor::color
2090         ones.
2091
2092         * lyxfont.h:
2093         * lyxtext.h: forward declare EnumLColor.
2094
2095         * lyx_main.C: add #include "LColor.h".
2096
2097 2003-09-15  Angus Leeming  <leeming@lyx.org>
2098
2099         * .cvsignore: add lyx-gtk.
2100
2101 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2102
2103         * Chktex.C
2104         * LaTeX.C
2105         * LaTeXFeatures.C
2106         * ParagraphParameters.C
2107         * Spacing.C
2108         * buffer.C
2109         * bufferparams.C
2110         * bufferview_funcs.C
2111         * chset.C
2112         * counters.C
2113         * funcrequest.C
2114         * lyxfont.C
2115         * lyxgluelength.C
2116         * lyxlength.C
2117         * paragraph.C
2118         * paragraph_funcs.C
2119         * text3.C
2120         * vc-backend.C: remove usage of STRCONV
2121
2122 2003-09-15  Angus Leeming  <leeming@lyx.org>
2123
2124         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2125         explicitly define the color passed to the painter.
2126
2127 2003-09-15  Angus Leeming  <leeming@lyx.org>
2128
2129         * bufferparams.C (BufferParams): reorder member initializers to avoid
2130         compiler warning.
2131
2132 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
2133
2134         * CutAndPaste.C (pasteSelection): remove an outdated #warning
2135         * text.C (updateRowPositions): remove an unusual nop
2136
2137 2003-09-12  André Pönitz  <poenitz@gmx.net>
2138
2139         * BufferView_pimpl.C:
2140         * Bullet.C:
2141         * layout.h:
2142         * lyxfunc.C:
2143         * lyxlayout.[Ch]:
2144         * lyxtextclass.C:
2145         * rowpainter.C:
2146         * text.C:
2147         * text2.C:
2148         * Counters.[Ch]: finish the 'automatic counters' job
2149
2150 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2151
2152         * aspell.C: include <boost/assert.cpp> (compile fix)
2153
2154 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
2155
2156         * boost.C (assertion_failed): use lyx::support::abort instead of
2157         assert.
2158
2159 2003-09-10  Angus Leeming  <leeming@lyx.org>
2160
2161         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2162         with their _fwd progeny.
2163
2164 2003-09-09  Angus Leeming  <leeming@lyx.org>
2165
2166         134 files throughtout the source tree: replace 'using namespace abc;'
2167         directives with the appropriate 'using abc::xyz;' declarations.
2168
2169 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2170
2171         * boost.C (emergencyCleanup): moved here from LAssert.c
2172         (assertion_failed): new function, called by BOOST_ASSERT
2173
2174         * several files: change Assert to BOOST_ASSERT
2175
2176 2003-09-09  Angus Leeming  <leeming@lyx.org>
2177
2178         * buffer.[Ch]: Add an Impl class and move Buffer's member
2179         variables into it. As a result move several header files out of
2180         buffer.h.
2181
2182         Add header files to lots of .C files all over the tree as a result.
2183
2184 2003-09-09  Angus Leeming  <leeming@lyx.org>
2185
2186         * buffer.[Ch]: make Buffer's member variables private. Add
2187         accessor functions.
2188
2189         Lots of changes all over the tree as a result.
2190
2191 2003-09-08  Angus Leeming  <leeming@lyx.org>
2192
2193         * graph.C: #include <config.h>.
2194
2195 2003-09-08  Angus Leeming  <leeming@lyx.org>
2196
2197         * BranchList.C:
2198         * BufferView.C:
2199         * BufferView_pimpl.C:
2200         * CutAndPaste.C:
2201         * DepTable.C:
2202         * LaTeX.C:
2203         * LaTeXFeatures.C:
2204         * LyXAction.C:
2205         * MenuBackend.C:
2206         * TextCache.C:
2207         * aspell.C:
2208         * buffer.C:
2209         * bufferlist.C:
2210         * changes.C:
2211         * chset.C:
2212         * converter.C:
2213         * counters.C:
2214         * debug.C:
2215         * graph.C:
2216         * ispell.C:
2217         * lyx_cb.C:
2218         * lyxfind.C:
2219         * lyxfunc.C:
2220         * lyxlex_pimpl.C:
2221         * lyxrc.C:
2222         * lyxrow.C:
2223         * paragraph.C:
2224         * rowpainter.C:
2225         * texrow.C:
2226         * text.C:
2227         * text2.C:
2228         * toc.C: remove redundant using directives.
2229
2230 2003-09-07  Angus Leeming  <leeming@lyx.org>
2231
2232         * LaTeXFeatures.h: remove #include "support/types.h".
2233         * ToolbarBackend.h: remove #include <algorithm>.
2234         * changes.h: remove #include <ctime>.
2235         * debug.h: remove #include <iosfwd>.
2236         * graph.h: remove #include "support/std_string.h".
2237         * lyx_main.h: remove #include <csignal>.
2238         * lyxlex_pimpl.h: remove #include <fstream>.
2239         * sgml.h: remove #include <algorithm>, <utility>.
2240         * toc.h: remove #include "support/std_ostream.h".
2241         Add #include <iosfwd>.
2242
2243 2003-09-07  Angus Leeming  <leeming@lyx.org>
2244
2245         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2246
2247         * converter.h: forward declare LatexRunParams.
2248         * encoding.h: remove #include "lyxrc.h".
2249         * lyxtext.h: remove #include "LColor.h".
2250         * lyxtextclass.h: remove #include "support/types.h".
2251         * trans.h: remove #include "tex-accent.h".
2252         * trans_mgr.h: remove #include "tex-accent.h".
2253         * insets/inset.h: remove #include "support/types.h", <vector>.
2254         * insets/insetcollapsable.h: remove #include "LColor.h".
2255         * insets/insetinclude.h: remove #include "dimension.h".
2256         * insets/insetlatexaccent.h: remove #include "dimension.h".
2257         * insets/insetoptarg.h:: remove #include "insettext.h".
2258         * insets/insettext.h: remove #include "dimension.h",
2259         <boost/shared_ptr.hpp>
2260
2261         * insets/renderers.h: add #include "dimension.h".
2262         * insets/updatableinset.h: add #include "support/types.h".
2263
2264         * many .C files: Associated changes.
2265
2266 2003-09-06  Angus Leeming  <leeming@lyx.org>
2267
2268         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2269         one, inside testInvariant.
2270
2271         * PrinterParams.C: new file.
2272         * PrinterParams.[Ch]: move the function bodies out of line.
2273
2274 2003-09-06  Angus Leeming  <leeming@lyx.org>
2275
2276         * ParagraphParameters.h: forward declare ParameterStruct rather than
2277         including its header file.
2278         (depth): moved out-of-line.
2279
2280 2003-09-06  Angus Leeming  <leeming@lyx.org>
2281
2282         * BufferView_pimpl.h:
2283         * kbmap.h:
2284         * kbsequence.h:
2285         * lyxfunc.h: forward declare LyXKeySym rather than
2286         #include "frontends/LyXKeySym.h".
2287
2288         * BufferView_pimpl.C:
2289         * kbmap.C:
2290         * kbsequence.C:
2291         * lyxfunc.C: associated changes.
2292
2293 2003-09-06  Angus Leeming  <leeming@lyx.org>
2294
2295         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2296         As a result, can remove the #include "insets/inset.h" from BufferView.h
2297
2298 2003-09-06  Angus Leeming  <leeming@lyx.org>
2299
2300         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2301         As a result, can remove the #include "insets/inset.h" from BufferView.h
2302
2303 2003-09-06  Angus Leeming  <leeming@lyx.org>
2304
2305         * buffer_funcs.C:
2306         * buffer.h:
2307         * bufferlist.C:
2308         * BufferView.C:
2309         * bufferview_funcs.C:
2310         * BufferView_pimpl.C:
2311         * CutAndPaste.C:
2312         * lyx_cb.C:
2313         * lyxfunc.C:
2314         * paragraph.h:
2315         * ParagraphParameters.C:
2316         * tabular.C:
2317         * text3.C:
2318         * toc.C:
2319         * undo_funcs.C:
2320         * frontends/controllers/ControlDocument.C:
2321         * insets/insetcaption.C: rearrange the #includes into some sort of
2322         coherent order.
2323
2324         * buffer.h: remove #includes ErrorList.h, undo.h
2325
2326 2003-09-06  Angus Leeming  <leeming@lyx.org>
2327
2328         * support/types.h: add a 'depth_type' typedef, used to store the
2329         nesting depth of a paragraph.
2330
2331         * paragraph.h:
2332         * ParameterStruct.h: use this lyx::depth_type typedef rather than
2333         defining explicitly.
2334
2335         * buffer.h:
2336         * paragraph_funcs.h:
2337         * ParagraphParameters.h:
2338         * sgml.h: use lyx::depth_type rather than Paragraph or
2339         ParameterStruct's depth_type.
2340
2341         * buffer.h
2342         * paragraph_funcs.h: no need to #include paragraph.h anymore.
2343
2344         * BufferView.C:
2345         * BufferView_pimpl.C:
2346         * CutAndPaste.C:
2347         * ParagraphParameters.C:
2348         * buffer_funcs.C:
2349         * bufferlist.C:
2350         * bufferview_funcs.C:
2351         * lyx_cb.C:
2352         * lyxfunc.C:
2353         * tabular.C:
2354         * text3.C:
2355         * toc.C:
2356         * undo_funcs.C:
2357         * frontends/LyXView.C:
2358         * frontends/controllers/ControlDocument.C:
2359         * frontends/controllers/ControlErrorList.C:
2360         * insets/insetbibitem.C:
2361         * insets/insetbranch.C:
2362         * insets/insetcaption.C:
2363         * insets/insetcollapsable.C:
2364         * insets/insetenv.C:
2365         * insets/insetert.C:
2366         * insets/insetfloat.C:
2367         * insets/insetfoot.C:
2368         * insets/insetfootlike.C:
2369         * insets/insetnewline.C:
2370         * insets/insetquotes.C:
2371         * insets/insettabular.C:
2372         * insets/insettext.C:
2373         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2374
2375         * frontends/controllers/ControlChanges.C: #include "changes.h".
2376
2377 2003-09-06  Angus Leeming  <leeming@lyx.org>
2378
2379         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2380         than #including paragraph.h.
2381
2382         * ParagraphList.h:
2383         * RowList.h: deleted. Superfluous.
2384
2385         * CutAndPaste.h:
2386         * iterators.h:
2387         * lyxcursor.h:
2388         * lyxtext.h:
2389         * text_funcs.h:
2390         * undo.h:
2391         * undo_funcs.h:
2392         * insets/inset.h:
2393         * insets/insettext.h: use ParagraphList_fwd.h rather than
2394         ParagraphList.h.
2395
2396         * paragraph.h: don't forward declare ParagraphList.
2397
2398         * buffer.h:
2399         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2400         rather than ParagraphList.h. paragraph.h is still needed for the
2401         Paragraph::depth_type parameters.
2402
2403         * textcursor.h: enable it to compile stand-alone in light of the
2404         above changes.
2405
2406         * bufferview_funcs.C:
2407         * iterators.C:
2408         * lyxfunc.C:
2409         * lyxrow_funcs.C:
2410         * paragraph.C:
2411         * rowpainter.C:
2412         * text.C:
2413         * text2.C:
2414         * text3.C:
2415         * text_funcs.C:
2416         * textcursor.C:
2417         * undo.C:
2418         * frontends/controllers/ControlParagraph.C:
2419         * frontends/controllers/ControlTabular.C:
2420         * insets/insetmarginal.C:
2421         * insets/insetminipage.C:
2422         * insets/insetnote.C:
2423         * insets/insetoptarg.C: add header files needed to compile again.
2424
2425 2003-09-06  Angus Leeming  <leeming@lyx.org>
2426
2427         * RowList_fwd.h: new file, forward-declaring Row rather than
2428         #including lyxrow.h.
2429
2430         * lyxrow_funcs.h:
2431         * lyxtext.h:
2432         * paragraph.h:
2433         * insets/insettext.h: use it instead of RowList.h
2434
2435         * bufferview_funcs.C:
2436         * lyxfunc.C:
2437         * lyxrow_funcs.C:
2438         * paragraph.C:
2439         * rowpainter.C:
2440         * text.C:
2441         * text2.C:
2442         * text3.C: #include "RowList.h".
2443
2444 2003-09-05  Angus Leeming  <leeming@lyx.org>
2445
2446         * factory.C (createInset):
2447         * vspace.C (c-tor): replace sscanf call with an istringstream.
2448         * ispell.C: re-add missing HP/UX headers.
2449         * lyxserver.C: re-add missing  os2 headers.
2450
2451 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
2452
2453         * BranchList.C:
2454         * graph.C:
2455         * ispell.C:
2456         * lastfiles.C:
2457         * lyx_cb.C:
2458         * lyxserver.C:
2459         * texrow.C:
2460         * text3.C: re-add missing system headers, needed for 2.95.2.
2461
2462 2003-09-05  Angus Leeming  <leeming@lyx.org>
2463
2464         Changes most place everywhere due to the removal of using directives
2465         from support/std_sstream.h.
2466
2467 2003-09-05  Angus Leeming  <leeming@lyx.org>
2468
2469         Replace LString.h with support/std_string.h,
2470         Lsstream.h with support/std_sstream.h,
2471         support/LIstream.h with support/std_istream.h,
2472         support/LOstream.h with support/std_ostream.h.
2473
2474         Changes resulting throughout the tree.
2475
2476 2003-09-05  Angus Leeming  <leeming@lyx.org>
2477
2478         * sgml.h: ensure that the header file can be compiled stand-alone.
2479         * *.C: strip out redundant #includes. (320 in total.)
2480
2481 2003-09-04  Angus Leeming  <leeming@lyx.org>
2482
2483         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2484         here (from getPackages).
2485
2486         * debug.[Ch]: add a new EXTERNAL tag.
2487
2488 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2489
2490         * text2.C (cursorEnd): simplify
2491         (setCursor): adjust
2492         (getColumnNearX): adjust
2493
2494         * text.C (computeBidiTables): adjust
2495         (fill): adjust
2496
2497         * rowpainter.C (paintChars): adjust
2498         (paintSelection): adjust
2499         (paintChangeBar): adjust
2500         (paintText): adjust
2501
2502         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2503         lastPos instead.
2504         (numberOfSeparators): adjust
2505
2506 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2507
2508         * LyXAction.C:
2509         * box.[Ch]:
2510         * lfuns.h:
2511         * lyxfunc.C:
2512         * text3.C: Restricts the mouse click functionality
2513         of insets like bibtex, include, toc and floatlist to the visible
2514         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2515         up the dialogs. Cursor has to be in front of the inset (i.e.
2516         start of row) for this to function.
2517
2518 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2519
2520         * bufferview_funcs.C (currentState): output row information
2521
2522 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2523
2524         * bufferview_funcs.C (currentState): output paragraph position
2525
2526 2003-09-04  Angus Leeming  <leeming@lyx.org>
2527
2528         * FloatList.h: move out #include "Floating.h".
2529         * LaTeX.h: move out #include "DepTable.h".
2530         * LyXAction.h: move out #include "funcrequest.h".
2531         * buffer.h: move out #include "author.h", "iterators.h".
2532         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2533         * lyx_main.h: move out #include "errorlist.h".
2534         * lyxfunc.h: move out #include "FuncStatus.h".
2535         * lyxtext: move out #include "lyxcursor.h".
2536         * paragraph_pimpl.h: move out #include "counters.h".
2537
2538 2003-09-03  Angus Leeming  <leeming@lyx.org>
2539
2540         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2541         preamble_snippets list, enabling us to add snippets to the preamble
2542         only if the snippet was not there already.
2543
2544 2003-09-04  Angus Leeming  <leeming@lyx.org>
2545
2546         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2547
2548 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2549
2550         * lyxfunc.C (dispatch): if fitCursor did something be sure to
2551         update
2552
2553 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2554
2555         * BranchList.C: point fix, earlier forgotten
2556
2557 2003-09-02  Angus Leeming  <leeming@lyx.org>
2558
2559         * box.C (contains): renamed from 'contained' after a fantastic
2560         amount of hot air.
2561
2562 2003-09-02  John Levon  <levon@movementarian.org>
2563
2564         * BufferView.C:
2565         * lyxcursor.h:
2566         * lyxcursor.C:
2567         * lyxfunc.C:
2568         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2569
2570 2003-09-02  John Levon  <levon@movementarian.org>
2571
2572         * text2.C: simplification of cursorEnd(), including partial
2573         fix for bug 1376
2574
2575 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2576
2577         * buffer.C (readFile): add a space
2578
2579 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
2580
2581         * BufferView_pimpl.C (update): remove bogus fitCursor() call
2582
2583 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2584
2585         * buffer.C (readFile): new function, take a filename and a
2586         ParagraphList::iterator
2587         (readFile): adjust
2588         (readFile): adjust, make it private. don't use setStream, make
2589         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2590         always contain the filename.
2591
2592         * BufferView.C (insertLyXFile): simplify and make it work for
2593         gzipped files.
2594
2595 2003-08-30  John Levon  <levon@movementarian.org>
2596
2597         * Makefile.am: fix dist (from Kayvan)
2598
2599 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2600
2601         * most files: change to use const Buffer refs
2602
2603 2003-08-27  André Pönitz  <poenitz@gmx.net>
2604
2605         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2606         on top of ownerPar().
2607
2608 2003-08-27  John Levon  <levon@movementarian.org>
2609
2610         * funcrequest.C: properly initialise POD members
2611
2612 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2613
2614         * lyxtext.h (top_y): move top_y from here
2615         * text.C:
2616         * text2.C:
2617         * text3.C:
2618         * BufferView.[Ch]:
2619         * BufferView_pimpl.[Ch]: to here
2620         * frontends/screen.C:
2621         * insets/insettabular.C:
2622         * insets/insettext.C: adjust
2623         * rowpainter.[Ch] (paintRows): remove LyXText & argument
2624
2625 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2626
2627         * BufferView.[Ch]:
2628         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2629
2630 2003-08-26  André Pönitz  <poenitz@gmx.net>
2631
2632         * paragraph_func.[Ch] (outerPar): new function
2633
2634         * paragraph.C:
2635         * paragraph_funcs.C:
2636         * paragraph_funcs.h:
2637         * paragraph_pimpl.C:
2638         * text2.C: remove Inset::par_owner
2639
2640 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
2641
2642         * lyxrow_funcs.C:
2643         * lyxtext.h:
2644         * text.C:
2645         * text2.C: eliminates the needFullRow/display() stuff
2646         altogether, putting the logic in metrics/draw in the insets.
2647
2648 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
2649
2650         * text2.C (redoParagraphInternal, redoParagraphs):
2651         * text.C (redoParagraph): add a call to updateRowPositions at the
2652         end of each 'metrics-like' call. Remove all others.
2653         (getRow): remove the 'y-computing' version.
2654         (getRowNearY): do not compute nor return the real y. Solve the
2655         'y < 0' problem and simplify.
2656
2657 2003-08-22  Angus Leeming  <leeming@lyx.org>
2658
2659         * *.[Ch]: clean-up of licence and author blurbs.
2660         Also move config.h out of a few .h files and into a few .C files.
2661
2662 2003-08-22  André Pönitz  <poenitz@gmx.net>
2663
2664         * lyxrow.[Ch]: add x_ and *fill_ members
2665
2666         * lyxtext.h:
2667         * text.C:
2668         * rowpainter.C:
2669         * text2.C: adjust/remove prepareToPrint() calls
2670
2671 2003-08-22  André Pönitz  <poenitz@gmx.net>
2672
2673         * lyxrow.[Ch]: add  end_ member
2674
2675         * lyxrow_funcs.C: use LyXRow::end_
2676
2677         * lyxtext.h (singleWidth): add LyXFont parameter
2678
2679         * rowpainter.C:
2680         * text2.C: adjust LyXText::singleWidth() calls
2681
2682         * text.C (redoParagraph): simplify row breaking logic
2683
2684
2685 2003-08-19  André Pönitz  <poenitz@gmx.net>
2686
2687         * funcrequest.C: initialize button_ member
2688
2689         * text3.C:
2690         * rowpainter.[Ch]: interface consolidation
2691
2692 2003-08-18  André Pönitz  <poenitz@gmx.net>
2693
2694         * BufferView.C:
2695         * BufferView_pimpl.C:
2696         * lyxfind.C:
2697         * paragraph_funcs.C:
2698         * rowpainter.C:
2699         * text3.C: remove LyXScreen::draw() and fitCursor calls
2700
2701         * BranchList.h: remove spurious semicolons
2702
2703         * MenuBackend.C: fix branchlist related crash
2704
2705 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
2706
2707         * BranchList.[Ch]:
2708         * InsetList.[Ch]:
2709         * LColor.[Ch]:
2710         * LyXAction.C:
2711         * Makefile.am:
2712         * MenuBackend.[Ch]:
2713         * bufferparams.[Ch]:
2714         * factory.C:
2715         * lfuns.h:
2716         * lyxfunc.C:
2717         * text3.C: implements the 'branch inset'
2718         idea. This allows the output of various versions of a document
2719         from a single source version, selectively outputing or suppressing
2720         output of parts of the text.
2721         This implementation contains a 'branch list editor' in a separate
2722         tab of the document settings dialog. Branches are user definable
2723         and have a "display colour" to distinguish them on-screen.
2724
2725         ColorHandler was somewhat cleaned up.
2726         (1) make possible a dynamically growing LColor list by allowing
2727         the graphic context cache to grow along (vector);
2728         (2) eliminate an IMHO unnecessary step in colour allocation.
2729
2730 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
2731
2732         * BufferView_pimpl.C: compile fix
2733
2734 2003-08-15  André Pönitz  <poenitz@gmx.net>
2735
2736         * rowpainter.C: remove extra metrics calls
2737
2738         * lyxtext.h: merge the two constructors into a single one,
2739           pass reference to owner's par list
2740
2741         * BufferView_pimpl.C:
2742         * text.C:
2743         * text2.C: adjust
2744
2745 2003-08-15  André Pönitz  <poenitz@gmx.net>
2746
2747         * lyxrow_funcs.[Ch]:
2748         * lyxtext.h:
2749         * paragraph.h:
2750         * paragraph_funcs.C:
2751         * rowpainter.C:
2752         * text.C:
2753         * text2.C:
2754         * text3.C:
2755         * text_funcs.C: split LyXText::rowlist_ into individual
2756         Paragraph::rows_ chunks
2757
2758         * BufferView.[Ch]:
2759         * BufferView_pimpl.[Ch]:
2760         * lyxfind.C:
2761         * lyxtext.h:
2762         * text3.C: remove toggleSelection()
2763
2764 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
2765
2766         * bufferlist.C: beautify two alerts (shorter text of buttons)
2767         * buffer.C: Remove redundant ' ' from message
2768         * tabular.h:
2769         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2770         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2771         rename VALIGN_CENTER to VALIGN_MIDDLE
2772
2773 2003-08-11  André Pönitz  <poenitz@gmx.net>
2774
2775         * lyxtext.h (getPar):
2776         * text.C: new function
2777
2778 2003-08-11  André Pönitz  <poenitz@gmx.net>
2779
2780         * Makefile.am:
2781         * tracer.[Ch]: remove unneeded files
2782
2783         * InsetList.[Ch]: remove resizeInsetsLyXText()
2784
2785         * lyxtext.h:
2786         * text.C:
2787         * text2.C:
2788         * text3.C: merge insertParagraphs() and appendParagraph()
2789         remove breakAgain(), update()
2790
2791         * BufferView_pimpl.[Ch]:
2792         * bufferview_funcs.[Ch]:
2793         * lyxfunc.C:
2794         * paragraph.[Ch]:
2795         * rowpainter.C:
2796         * tabular.C: adjust after text & InsetList changes.
2797
2798 2003-08-08  André Pönitz  <poenitz@gmx.net>
2799
2800         * text.C (insertChar, backspace): replace rowlist fiddling
2801         with rebreak of full par
2802
2803         * lyxtext.h:
2804         * text.C (breakAgainOneRow, redoHeightOfParagraph,
2805         checkParagraph, updateInset): removed
2806
2807 2003-08-07  André Pönitz  <poenitz@gmx.net>
2808
2809         * paragraph.C:
2810         * text3.C: merge some LFUN handlers, remove dead code
2811
2812 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2813
2814         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2815
2816 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
2817
2818         * text2.C (DEPM): fix part of bug 1255 and 1256
2819
2820 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2821
2822         * BufferView_pimpl.C (workAreaDispatch): change to use
2823         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2824         that are no mouse related.
2825
2826 2003-08-05  André Pönitz  <poenitz@gmx.net>
2827
2828         * BufferView.[Ch]:
2829         * BufferView_pimpl.[Ch]:
2830         * bufferview_funcs.C:
2831         * text2.C:
2832         * text3.C: rip out "deep update"
2833
2834         * textcursor.[Ch] (last_sel_cursor): remove unused member
2835
2836 2003-08-04  André Pönitz  <poenitz@gmx.net>
2837
2838         * BufferView.[Ch]:
2839         * BufferView_pimpl.[Ch]:
2840         * ParagraphParameters.C:
2841         * bufferview_funcs.C:
2842         * lyx_cb.C:
2843         * lyxfind.C:
2844         * lyxfunc.C:
2845         * text.C:
2846         * text2.C:
2847         * text3.C: replace "complicated" BufferView::update(...) calls with
2848         simpler ones.
2849
2850         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2851
2852 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2853
2854         * Makefile.am (lyx_SOURCES): add paper.h
2855
2856 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2857
2858         * Makefile.am: move things around so that both lyx-qt and
2859         lyx-xforms can be built (according to --with-frontend). Then lyx
2860         is a symbolic link to lyx-[firstfrontend]
2861
2862 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2863
2864         * Always use std::endl with lyxerr
2865
2866 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2867
2868         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2869
2870 2003-08-01  André Pönitz  <poenitz@gmx.net>
2871
2872         * BufferView.[Ch]:
2873         * BufferView_pimpl.[Ch]:
2874         * lyxfunc.C:
2875         * text3.C: merge BufferView::repaint() and BufferView::update()
2876
2877 2003-08-01  José Matos  <jamatos@lyx.org>
2878
2879         * buffer.[Ch]: file_format is no longer a buffer data element.
2880
2881 2003-08-01  André Pönitz  <poenitz@gmx.net>
2882
2883         * BufferView.C:
2884         * lyxtext.h:
2885         * text.C:
2886         * text2.C: make redoParagraph more independent of current cursor
2887
2888         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2889         * text.C:
2890         * text2.C: remove unneeded members
2891
2892 2003-07-30  André Pönitz  <poenitz@gmx.net>
2893
2894         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2895
2896         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2897           create a single function...
2898
2899         * paragraph_funcs.C (moveItem): ... here.
2900
2901         * text.C:
2902           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2903
2904 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2905
2906         * LColor.[Ch]: Add comment and greyedout logical colors.
2907
2908 2003-07-30  André Pönitz  <poenitz@gmx.net>
2909
2910         * tabular.C: don't use Assert too heavily. This crashes where it
2911           shouldn't
2912
2913 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2914
2915         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2916         is disabled (bug 1232)
2917
2918 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2919
2920         * factory.C: limited 'arg' scope
2921
2922 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2923
2924         * factory.C: fixed Note submenu issues
2925
2926 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2927
2928         * factory.C: submenu for Note/Comment/Greyedout
2929
2930 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2931
2932         * lyx_main.C (LyX):
2933         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2934
2935 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2936
2937         * LaTeXFeatures.C:
2938         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2939         greyedout. Patch provided by Jürgen Spitzmüller.
2940
2941 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2942
2943         * kbmap.C (read): fix error message when reading bind files
2944
2945 2003-07-29  Angus Leeming  <leeming@lyx.org>
2946
2947         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2948         certainly does not do what it purports to do. I am doing it, and
2949         us, a favour by killing it.
2950
2951 2003-07-28  José Matos  <jamatos@lyx.org>
2952
2953         * buffer.C (readBody, do_writeFile):
2954         * paragraph.C(readParagraph): \end_document replaces \the_end.
2955
2956 2003-07-29  André Pönitz  <poenitz@gmx.net>
2957
2958         * BufferView.[Ch]:
2959         * BufferView_pimpl.[Ch]:
2960         * lyxfunc.C:
2961         * text2.C:
2962         * text3.C:
2963         * textcursor.[Ch]: remove toggleToggle & Co
2964
2965 2003-07-28  José Matos  <jamatos@fep.up.pt>
2966
2967         * buffer.C (readParagraph):
2968         * params_func (readParToken, readParagraph):
2969         * paragraph.C (write): \layout -> \begin_layout.
2970
2971 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2972
2973         * lyxlex_pimpl.C (setFile): clean up slightly.
2974
2975         * bufferparams.h: add compressed var
2976
2977         * buffer_funcs.C (readFile): adjust for LyXLex change
2978         (newFile): ditto + simplify
2979
2980         * buffer.C (writeFile): handle writing of compressed files
2981
2982         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2983         Check if the file is compressed and set a bufferparm if so.
2984
2985         * Makefile.am (lyx_LDADD): remove explicit -lz
2986
2987 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2988
2989         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2990         makeDocBookFile): put the real LyX version in the first line of
2991         the file
2992
2993         * version.h:
2994         * version.C.in: remove lyx_docversion
2995
2996         * tabular.C (write_attribute): add a template-based version to
2997         write enums properly
2998
2999 2003-07-28  André Pönitz  <poenitz@gmx.net>
3000
3001         * lyxtext.h:
3002         * text.C:
3003         * text2.C:
3004         * text3.C: use doubles again for x-coordinates. They are needed.
3005
3006 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3007
3008         * messages.C (getLocaleDir): use lyx_localedir()
3009
3010         * lyxlex_pimpl.C (setFile): compress stuff
3011
3012         * buffer.C (writeFile): add some compression stuff
3013         (do_writeFile): new func, dont call expliti close... will this
3014         breake anything?
3015
3016         * Makefile.am (lyx_LDADD): add -lz
3017
3018 2003-07-28  José Matos  <jamatos@fep.up.pt>
3019
3020         * buffer.C: increment file format.
3021         * paragraph_funcs (readParagraph, readParToken):
3022         * paragraph.C (readParagraph): add \end_layout.
3023
3024 2003-07-27  Angus Leeming  <leeming@lyx.org>
3025
3026         * Makefile.am: remove special casing for configure-time setting of
3027         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3028
3029         * lyx_main.C (init): remove all Jean-Marc's magic setting of
3030         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3031
3032 2003-07-26  André Pönitz  <poenitz@gmx.net>
3033
3034         * paragraph_func.[Ch]:
3035         * paragraph.C (realizeFont): inline it whereever it is used
3036
3037         * rowpainter.C:
3038         * text.C:
3039         * text2.C:
3040         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3041
3042
3043 2003-07-26  André Pönitz  <poenitz@gmx.net>
3044
3045         *       lyxtext.h:
3046         * text.C:
3047         * text2.C: get rid of LyXText::need_break_row
3048
3049 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3050
3051         * toc.[Ch]: put namespace toc inside namespace lyx
3052
3053         * MenuBackend.C (expandToc2): adjust for lyx::toc
3054         (expandToc): ditto
3055
3056         * lyxfunc.C (dispatch): adjust for lyx::find
3057
3058         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3059         lyx::find instead. Reorganize a bit.
3060         (LyXReplace): rename to replace
3061         (LyXFind): rename to find
3062
3063         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3064         (dispatch): ditto
3065
3066 2003-07-26  André Pönitz  <poenitz@gmx.net>
3067
3068         * text.C (setHeightOfRow): restrict scope of temporary variable
3069
3070         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
3071           code (never has been used?)
3072
3073 2003-07-27  Asger Alstrup  <alstrup@local>
3074
3075         * text.C (fill): Optimise algorithm to exploit that we can reuse
3076         the LyXFont for many characters.
3077         (setHeightOfRow): Same thing.
3078         (rowBreakPoint): Same thing.
3079
3080 2003-07-26  Asger Alstrup  <alstrup@local>
3081
3082         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3083
3084         * text.C (singleWidth): Spurious font copying in hot-spot
3085         singleWidth avoided. Reorder tests for arabic for efficiency.
3086
3087         * text.C (fill): handle empty paragraphs better.
3088
3089 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3090
3091         * ispell.C:
3092         * encoding.h: add includes
3093
3094         * lyxrc.C: remove reading of bind files
3095
3096         * lyx_main.C (init): setup bindings and menus only if we have a
3097         gui.
3098
3099         * kbmap.C (read): new method. Do the actual reading of bind
3100         files.
3101
3102         * converter.C (dvipdfm_options):
3103         * bufferparams.C:
3104         * lyxrc.C (read):
3105         (output): adapt PAPER_* enums.
3106
3107         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3108
3109         * bufferparams.h: remove paper-related enums from there
3110
3111         * paper.h: New file. A trivial header file to hold paper-related
3112         enums. It should later expand to contain many paper-related
3113         horrors access.
3114
3115         * lyxrc.C: declare extern displayTranslator
3116
3117 2003-07-27  José Matos  <jamatos@fep.up.pt>
3118
3119         * tabular.[Ch] (linuxdoc): add support for tables and figures
3120         (linuxdoc).
3121
3122 2003-07-27  José Matos  <jamatos@fep.up.pt>
3123
3124         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3125         consistency in both functions.
3126         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3127
3128 2003-07-26  Asger Alstrup  <alstrup@local>
3129
3130         * rowpainter.C (paintRows): Change algorithm to work directly on
3131         the insets rather than asking every character in the document
3132         whether its an inset.
3133
3134 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
3135
3136         * buffer.C (openFileWrite): factorize some code
3137
3138 2003-07-26  Angus Leeming  <leeming@lyx.org>
3139
3140         * lyx_cb.C:
3141         * lyx_main.[Ch]: replace occurances of system_tempdir with
3142         os::getTmpDir().
3143
3144 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3145
3146         * rename Inset to InsetOld
3147
3148 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
3149
3150         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3151         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3152         which I think is a bit clearer. EDIT is gone, since it was
3153         premature optimisation, and broken for mathed anyway.
3154         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3155         with cursor positioning in insets as well (math insets still do not
3156         work, but that's a different story anyway.) It mysteriously
3157         crashes sometimes with undo in the first paragraph, but I'm fairly
3158         confident that this is a compiler bug.
3159
3160 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3161
3162         * paragraph.C (Paragraph): adjust for new clone return type
3163         (operator==): ditto
3164         (copyIntoMinibuffer): ditto
3165
3166 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
3167
3168         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3169         by not having a special case, and always doing a full rebreak of
3170         the document after undo.
3171
3172 2003-07-23  Angus Leeming  <leeming@lyx.org>
3173
3174         * factory.C (createInset): InsetExternal::setParams now takes a
3175         Buffer const * arg.
3176
3177 2003-07-23  Angus Leeming  <leeming@lyx.org>
3178
3179         * factory.C (createInset): changed interface to the external and
3180         graphics mailers' string2params functions.
3181
3182 2003-07-23  Angus Leeming  <leeming@lyx.org>
3183
3184         * factory.C (createInset): pass a
3185         Buffer const * parameter to InsetExternalMailer's string2params.
3186
3187 2003-07-22  John Levon  <levon@movementarian.org>
3188
3189         * Thesaurus.h: include the right aiksaurus header
3190
3191 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3192
3193         * MenuBackend.C (expand): check menu shortcuts unconditionally
3194
3195 2003-07-21  Angus Leeming  <leeming@lyx.org>
3196
3197         * factory.C (createInset): pass a
3198         buffer_path parameter to InsetGraphicsMailer's string2params.
3199
3200 2003-07-21  Angus Leeming  <leeming@lyx.org>
3201
3202         * BufferView_pimpl.C (buffer):
3203         * buffer.C (d-tor):
3204         * lyx_main.C (LyX):
3205         * lyxfunc.C (dispatch):
3206         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3207         rather than the grfx shortcut.
3208
3209 2003-07-21  André Pönitz  <poenitz@gmx.net>
3210
3211         * rowpainter.C: remove unused variables
3212
3213         * tabular_funcs.C:
3214         * tabular_funcs.h: move to tabular.C
3215         * Makefile.am: adjust
3216
3217         * tabular.[Ch]: basic optical cleaning
3218
3219         * author.h: pass references, not values
3220
3221 2003-07-18  André Pönitz  <poenitz@gmx.net>
3222
3223         * lyxtext.h:
3224         * metricsinfo.C:
3225         * metricsinfo.h:
3226         * rowpainter.C:
3227         * text.C:
3228         * text2.C:
3229         * text3.C: two-phase drawing for InsetText and InsetTabular
3230         some float -> int changes.
3231
3232 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3233
3234         * lyx_main.C: fix the fix
3235
3236 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3237
3238         * lyx_main.C: fix a crash in batch mode if no files specified
3239         * converter.C: ws
3240
3241 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
3242
3243         * format.[Ch] (papersize): moved to BufferParams
3244         * converter.[Ch] (dvips_options): moved to BufferParams
3245         (dvipdfm_options): moved to anon namespace
3246         * bufferparams.[Ch]: added above functions.
3247
3248 2003-07-17  André Pönitz  <poenitz@gmx.net>
3249
3250         * lyxtext.h:
3251         * rowpainter.C:
3252         * text2.C: don't call inset->update() anymore
3253
3254         * metricsinfo.[Ch]: add convenience constructor
3255
3256 2003-07-16  André Pönitz  <poenitz@gmx.net>
3257
3258         * lyxcursor.[Ch]:
3259         * lyxfunc.[Ch]:
3260         * text.C:
3261         * text2.C: replace the LyXCursor::irow_ member with
3262          on-demand computation of the value
3263
3264 2003-07-16  John Levon  <levon@movementarian.org>
3265
3266         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3267
3268 2003-07-15  André Pönitz  <poenitz@gmx.net>
3269
3270         * text.C:
3271         * text2.C: remove no more needed refresh_row
3272
3273 2003-07-15  André Pönitz  <poenitz@gmx.net>
3274
3275         * lyxtext.h:
3276         * rowpainter.C:
3277         * text2.C:
3278         * text3.C: refresh_status tristate -> need_update bool
3279
3280 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
3281
3282         * lyxtext.h (init): remove reinit argument (act as if always true)
3283         * text2.C: adjust to that
3284
3285 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3286
3287         * bufferview_funcs.[Ch]: introduce function replaceSelection()
3288         * text3.C: use it to delete selections in some cases
3289         (bugs 441, 673, 702, 954).
3290
3291 2003-07-14  André Pönitz  <poenitz@gmx.net>
3292
3293         * rowpainter.[Ch]: reduce interface
3294
3295 2003-07-14  André Pönitz  <poenitz@gmx.net>
3296
3297         * BufferView_pimpl.C:
3298         * text2.C: adjust after removing unused BufferView * argument
3299
3300 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
3301
3302         * text2.C (init): fix a crash fired on resize
3303
3304 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
3305
3306         * buffer.[Ch]: added new closing signal
3307         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3308         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3309         BufferView::Pimpl via the closing the signal
3310
3311 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
3312
3313         * buffer.[Ch]: take out all bv-related from buffer
3314         * BufferView.C:
3315         * BufferView_pimpl.[Ch]: connect to new signals
3316         * CutAndPaste.C: removed useless asserts
3317         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3318         * lyxvc.[Ch]:
3319         * vc-backend.[Ch]:
3320         * lyxfunc.C: moved view-related funciontality from vc here
3321         * paragraph.C: removed outdated comments
3322         * text.C: ws
3323
3324 2003-07-10  André Pönitz  <poenitz@gmx.net>
3325
3326         * BufferView_pimpl.C:
3327         * tabular.h:
3328         * tabular_funcs.C:
3329         * text.C:
3330         * text2.C: remove InsetText::InnerCache, clean up consequences
3331
3332 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
3333
3334         * ispell.C: fix two typos in error messages
3335
3336 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
3337
3338         * Extend Note inset to other forms of annotation like Comment
3339         and Greyedout. Right button click gives dialog.
3340
3341         Files modified or added (+):
3342
3343         * insetnote.[Ch]
3344         * FormNote.[Ch]      +
3345         * ControlNote.[Ch]   +
3346         * form_note.fd       +
3347         * Makefile.am in frontends/xforms, frontends/xforms/forms,
3348         frontends/controllers
3349         * xforms/Dialogs.C
3350         * factory.C
3351
3352 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3353
3354         * aspell.C: add missing namespace lyx::support
3355
3356 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
3357
3358         * BufferView.[Ch] (newFile): Add
3359         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3360         * LaTeX.[Ch] (message): added this signal and use it
3361         * buffer.[Ch] (busy, message): added these signals and use them
3362         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3363         * converter.C:
3364         * exporter.C:
3365         * format.C:
3366         * importer.C: use buffer signals instead of direct bv calling
3367         * lyx_cb.[Ch] (ShowMessage): removed
3368         * lyx_main.C:
3369         * lyxfunc.C:
3370         * paragraph_funcs.C:
3371         * text2.C: use buffer signals
3372
3373 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3374
3375         * introduce namespace lyx::graphics
3376
3377 2003-07-02  André Pönitz  <poenitz@gmx.net>
3378
3379         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3380
3381 2003-07-01  André Pönitz  <poenitz@gmx.net>
3382
3383         * text.C:
3384         * text2.C:
3385         * text3.C:
3386         * text_funcs.[Ch]:
3387         * textcursor.h:
3388         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3389           text*.C to text_func.C
3390
3391 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3392
3393         * introduce namespace lyx::support
3394
3395 2003-06-30  André Pönitz  <poenitz@gmx.net>
3396
3397         * Chktex.C:
3398         * funcrequest.C:
3399         * lyxtext.h:
3400         * text.C: re-enable --with-included-string
3401
3402 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3403
3404         * textcursor.C: add <config.h>
3405
3406         * text.C (getWord): remove const from word_location arg
3407
3408         * lyxvc.C (getLogFile): fix const type order
3409
3410         * lyxtext.h: remove const from word_location arg, add arg name
3411
3412         * lyxlayout.h: currect type on labeltype.
3413
3414         * importer.C: correct \file
3415
3416         * converter.C (intToFormat): use std:: on ret val, ws changes
3417
3418         * bufferlist.h: correct \file
3419
3420         * buffer.C (makeLinuxDocFile): fix const type order
3421         (makeDocBookFile): ditto
3422         (fillWithBibKeys): use std:: on stdlib args.
3423
3424         * CutAndPaste.C: fix authors.
3425         (availableSelections): use std:: on return vector
3426
3427 2003-06-27  André Pönitz  <poenitz@gmx.net>
3428
3429         * BufferView_pimpl.C:
3430         * bufferview_funcs.C:
3431         * lyxcursor.C:
3432         * lyxcursor.h:
3433         * lyxfunc.C:
3434         * lyxtext.h:
3435         * rowpainter.C:
3436         * text.C:
3437         * text2.C:
3438         * text3.C: remove LyXCursor::row_ member
3439
3440         * lyxtext.h:
3441         * text.C: rename fullRebreak() to partialRebreak() and implement
3442           a fullRebreak() that really bereks fully
3443
3444         * textcursor.h: new struct for cursor-related data
3445
3446 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
3447
3448         * lyx_main.C (LyX): get full path of document loaded on the
3449         command line
3450
3451 2003-06-26  André Pönitz  <poenitz@gmx.net>
3452
3453         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3454           remove unused/broken operator>,<,>=.
3455
3456         *       text.C: remove only use of broken operator<= in an Assert().
3457
3458 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3459
3460         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3461         moved errorlist_.clear to showErrorList
3462
3463 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3464
3465         * converter.C (scanLog, runLaTeX):
3466         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3467         move the bv->showErrorList call to the callers
3468         * lyxfunc.C: i.e. here...
3469         * text2.C: and here
3470         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3471         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3472         namespace, the second to...
3473         * buffer_funcs (BufferFormat, parseErrors): added
3474         * errorlist.C (ErrorList(TeXErrors const &)): removed
3475
3476 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3477
3478         * ToolbarBackend.C (getIcon): complain when icon cannot be found
3479
3480 2003-06-24  "Garst R. Reese" <reese@isn.net>
3481
3482         * debug.C: fix typo
3483
3484 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3485
3486         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3487
3488         * version.C.in: change docversion to 1.4
3489
3490 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
3491
3492         * buffer.C: fix a bug just introduced
3493
3494 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
3495
3496         * buffer.[Ch]: added the parseError signal and use it, removed
3497         sgmlError
3498         * BufferView.[Ch] (addError): moved to ...
3499         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3500         to the Buffer::parseError signal to catch (guess what) parse errors
3501         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3502
3503 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
3504
3505         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3506         ability to create a buffer and to return an existing one from
3507         the list. Moved these functions to...
3508         * buffer_funcs.[Ch]: added
3509         * BufferView.[Ch] (loadLyXFile): added
3510         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3511         job removed from bufferlist::loadLyXFile.
3512         * buffer.C (setReadOnly): make it work without view
3513         (i.e added an if (users))
3514
3515 2003-06-19  Angus Leeming  <leeming@lyx.org>
3516
3517         * lfuns.h:
3518         * LyXAction.C (init):
3519         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3520         with LFUN_DIALOG_SHOW <name> <data>.
3521
3522 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3523
3524         * CutAndPaste.C (availableSelections): small compilation fix for
3525         ancient (gcc 2.9x) compilers
3526
3527 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3528
3529         * text3.C (cursorNext): add tmp var
3530
3531         * text2.C (updateCounters): for function calling out of for clause
3532         (replaceSelectionWithString): ditto
3533         (insertStringAsParagraphs): ditto
3534         (getColumnNearX): add tmp var
3535         (setCursorFromCoordinates): add tmp var
3536         (cursorDownParagraph): add tmp var
3537         (deleteEmptyParagraphMechanism): add tmp var
3538
3539         * text.C (insertChar): add tmp var
3540
3541         * rowpainter.C (paintDepthBar): add tmp var
3542
3543         * CutAndPaste.C (availableSelections): potentially check all
3544         paragraphs in a cut to fill the shown strings.
3545
3546 2003-06-18  André Pönitz  <poenitz@gmx.net>
3547
3548         * kbmap.[Ch]: use vector<> instead of list<>
3549
3550 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
3551
3552         * text3.C (dispatch): handle arg to LFUN_PASTE, call
3553         pasteSelection with index
3554
3555         * text2.C (pasteSelection): modify, call pasteSelection with index
3556
3557         * paragraph.C (asString): reimplement version with no interval to
3558         call the one with interval.
3559
3560         * lyxtext.h: add index arg to pasteSelection
3561
3562         * MenuBackend.C (MenuItem): handle PasteRecent
3563         (Menu::read::Menutags): add md_pasterecent
3564         (read): handle it
3565         (expandPasteRecent): new function
3566         (expand): use it
3567
3568         * MenuBackend.h: add PasteRecent to MenuItem::Kind
3569
3570         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3571         the limited stack
3572         (availableSelections): new function
3573
3574 2003-06-17  Angus Leeming  <leeming@lyx.org>
3575
3576         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3577
3578 2003-06-17  Angus Leeming  <leeming@lyx.org>
3579
3580         * lfuns.h:
3581         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3582
3583         * lyxfunc.C (dispatch): invoke it.
3584
3585 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3586
3587         * iterators.C (operator++, ParPosition): reintroduce some
3588         const_cast for the benefit of older compilers.
3589
3590 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3591
3592         * text3.C (dispatch): do not modify clipboard when doing
3593         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3594         LFUN_DELETE_SKIP on a selection selection
3595
3596 2003-06-16  André Pönitz  <poenitz@gmx.net>
3597
3598         * BufferView.C:
3599         * buffer.C:
3600         * buffer.h:
3601         * paragraph.C:
3602         * tabular.[Ch]: IU of clone() and getLabelList();
3603
3604 2003-06-13  André Pönitz  <poenitz@gmx.net>
3605
3606         * tabular.h: compactification
3607
3608 2003-06-12  André Pönitz  <poenitz@gmx.net>
3609
3610         * tabular.C:
3611         * tabular.h:
3612         * tabular_funcs.h: some renaming plus whitespace
3613
3614 2003-06-12  André Pönitz  <poenitz@gmx.net>
3615
3616         * BufferView.C:
3617         * BufferView_pimpl.C:
3618         * CutAndPaste.C:
3619         * buffer.C:
3620         * iterators.[Ch]:
3621         * lyxfunc.C:
3622         * text.C:
3623         * toc.C: Return a Paragraph & for ParIterator::operator*()
3624
3625 2003-06-11  John Levon  <levon@movementarian.org>
3626
3627         * lyx_main.C:
3628         * ToolbarBackend.h:
3629         * ToolbarBackend.C: add "Toolbars" section and
3630         put the flags there
3631
3632 2003-06-10  Angus Leeming  <leeming@lyx.org>
3633
3634         * lfuns.h:
3635         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3636
3637         * lyxfunc.C (dispatch): invoke it.
3638
3639 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3640
3641         * main.C: protect <ios> with HAVE_IOS
3642         (main): protect sync_with_stdio with HAVE_IOS
3643
3644 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
3645
3646         * text2.C (cutSelection): adjust
3647         (pasteSelection): adjust
3648
3649         * messages.C: handle get of empty string
3650
3651         * main.C (main): use sync_with_stdio(false)
3652
3653         * lyxfunc.C (dispatch): adjust
3654
3655         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3656         (WriteAs): remove unneeded BufferView arg.
3657
3658         * bufferparams.h: use correct types on papersize, papersize2 and
3659         paperpackage.
3660
3661         * bufferparams.C (readToken): adjust for type
3662         (writeLaTeX): add missing cases to switch.
3663
3664         * bufferlist.C (quitWriteBuffer): adjust
3665         (close): adjust
3666
3667         * buffer.C (asciiParagraph): remove some commented code.
3668
3669         * CutAndPaste.C: remove current_view extern variable.
3670         (cutSelection): add BufferParams arg.
3671         (eraseSelection): add BufferParams arg.
3672         (pasteSelection): add Buffer const & arg
3673
3674 2003-06-07  John Levon  <levon@movementarian.org>
3675
3676         * buffer.C:
3677         * paragraph_funcs.C:
3678         * paragraph_pimpl.C:
3679         * text.C:
3680         * text2.C:
3681         * paragraph.h:
3682         * paragraph.C: allow InsetERT to freely space lines,
3683         and some consolidation of code
3684
3685 2003-06-06  José Matos  <jamatos@fep.up.pt>
3686
3687         * buffer.C (makeDocBookFile): fix bug #821
3688
3689 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
3690
3691         * BufferView_pimpl.C (dispatch): use Dialogs::visible
3692
3693 2003-06-04  Angus Leeming  <leeming@lyx.org>
3694
3695         * buffer.C: bump format to 224.
3696
3697 2003-06-05  André Pönitz  <poenitz@gmx.net>
3698
3699         * text2.C (redoParagraphs): remove two const_cast<>
3700
3701 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3702
3703         * ParagraphList.h: remove last remnants of NO_STD_LIST
3704
3705 2003-06-03  Angus Leeming  <leeming@lyx.org>
3706
3707         * factory.C (createInset): small change to the way InsetExternal's params
3708         are set.
3709
3710 2003-06-04  André Pönitz  <poenitz@gmx.net>
3711
3712         * buffer.h: use Undo directly instead of shared_ptr<Undo>
3713
3714         * paragraph_pimpl.h:
3715         * paragraph.[Ch]: some Inset -> UpdatableInset changes
3716
3717         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3718
3719         * undo_funcs.C: make some simple cases of undo work again
3720
3721 2003-06-03  John Levon  <levon@movementarian.org>
3722
3723         * ispell.C: HPUX doesn't have sys/select.h
3724         (from Albert Chin)
3725
3726 2003-06-03  John Levon  <levon@movementarian.org>
3727
3728         * CutAndPaste.C: update tabular and include inset
3729         buffer references
3730
3731         * buffer.h:
3732         * paragraph.h:
3733         * paragraph.C: remove owningBuffer(), don't pass Buffer
3734         to clone()
3735
3736         * factory.C: insetGraphicsParams changed
3737
3738 2003-06-02  John Levon  <levon@movementarian.org>
3739
3740         * LyXAction.C:
3741         * factory.C:
3742         * lfuns.h:
3743         * lyxfunc.C:
3744         * text3.C: remove insetparent
3745
3746 2003-06-02  John Levon  <levon@movementarian.org>
3747
3748         * buffer.h:
3749         * buffer.C: fix inset_iterator.end(), move out of line
3750         (bug 1149)
3751
3752 2003-06-01  John Levon  <levon@movementarian.org>
3753
3754         * text3.C: use a proper cut/paste when doing inset
3755         insert (from Jürgen Spitzmüller)
3756
3757 2003-06-01  John Levon  <levon@movementarian.org>
3758
3759         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3760
3761 2003-05-30  André Pönitz  <poenitz@gmx.net>
3762
3763         * rowpainter.C: unify second drawing phase
3764
3765 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3766
3767         * trans_mgr.C: remove one case of current_view
3768
3769         * text2.C (cursorBottom): delete NO_STD_LIST stuff
3770
3771         * paragraph_funcs.h: remove paragraph.h include
3772
3773         * paragraph.h: delete NO_STD_LIST stuff
3774
3775         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3776
3777         * buffer.h: remove paragraph.h include
3778
3779         * ParagraphList.C: delete file
3780
3781         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3782
3783         * toc.C (getTocList): adjust
3784
3785         * paragraph_pimpl.C (validate): adjust
3786
3787         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3788
3789         * paragraph.C (Paragraph): adjust
3790         (getPositionOfInset): use const_iterator, adjust
3791         (bibitem): use const_iterator, adjust
3792         (setInsetOwner): adjust
3793
3794         * iterators.C (operator++): adjust
3795
3796         * InsetList.[Ch]: Replace selfmade iterator with standard
3797         vector::iterator also introduce const_iterator. Remove getPos,
3798         getInset and setInset from InsetTable. Adjust accordingly.
3799
3800         * BufferView.C (lockInset): adjust
3801         (ChangeInsets): adjust
3802
3803         * tabular.[Ch]: delete commented same_id functions
3804
3805 2003-05-28  John Levon  <levon@movementarian.org>
3806
3807         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3808
3809 2003-05-28  André Pönitz  <poenitz@gmx.net>
3810
3811         * metricsinfo.[Ch]: remove 'fullredraw' member
3812
3813 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3814
3815         * lyxtextclass.C (operator): remove caching.
3816
3817 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3818
3819         * text3.C: adjust
3820
3821         * text2.C (cursorBottom): adjust
3822         (setCounter): use ParagraphList::find, adjust
3823
3824         * text.C (workWidth): use ParagraphList::find, adjust
3825
3826         * lyxcursor.C (LyXCursor): adjust
3827
3828         * buffer.C (inset_iterator): adjust
3829
3830         * ParagraphList.h: make iterator(value_type) private, make
3831         ParagraphList a friend of iterator.
3832
3833         * ParagraphList.C (find): new function
3834
3835         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3836
3837 2003-05-27  André Pönitz  <poenitz@gmx.net>
3838
3839         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3840
3841 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3842
3843         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3844
3845 2003-05-26  John Levon  <levon@movementarian.org>
3846
3847         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3848
3849 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3850
3851         * remove same_id from function signatures, adjust.
3852
3853 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3854
3855         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3856
3857         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3858
3859         * paragraph.C (Paragraph): get rid of same_ids parameter
3860
3861         * ParagraphList.C (insert): adjust
3862         (push_back): adjust
3863
3864 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3865
3866         * paragraph_funcs.C (breakParagraph): adjust
3867         (breakParagraphConservative): adjust
3868
3869         * buffer.C (readParagraph): adjust
3870
3871         * ParagraphList.C (insert): take a reference instead of a pointer
3872         (insert): adjust
3873
3874         * paragraph.[Ch] (id): new function
3875
3876         * bufferlist.C (newFile): adjust
3877
3878         * ParagraphList.C (ParagraphList): adjust
3879         (assign): adjust
3880         (push_back): take a reference instead of a pointer.
3881
3882         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3883
3884         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3885         instead.
3886
3887         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3888         set else use old code.
3889
3890         * ParagraphList.C: remove all NO_NEXT code and only compile this
3891         code of NO_STD_LIST is set.
3892
3893 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3894
3895         * BufferView_pimpl.C:
3896         * TextCache.C:
3897         * TextCache.h:
3898         * bufferlist.C:
3899         * errorlist.h:
3900         * format.C:
3901         * format.h:
3902         * graph.C:
3903         * lyxfunc.C:
3904         * lyxrc.C:
3905         * graphics/GraphicsConverter.C:
3906         * graphics/PreviewLoader.C: header adjustment
3907
3908 2003-05-23  Angus Leeming  <leeming@lyx.org>
3909
3910         * LaTeXFeatures.[Ch] (useBabel): new method.
3911         * bufferparams.C (writeLaTeX): use it.
3912
3913 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3914
3915         * ParagraphList.h (set): remove unused function.
3916
3917 2003-05-23  André Pönitz  <poenitz@gmx.net>
3918
3919         * BufferView.C:
3920         * BufferView_pimpl.C:
3921         * buffer.C:
3922         * buffer.h:
3923         * lyxfunc.C:
3924         * undo_funcs.C: setUndo reworked
3925
3926         * iterators.[Ch]: add access to topmost ParagraphList
3927
3928         * lyxtext.[Ch] (workWidth): add a const
3929
3930 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3931
3932         * texrow.[Ch] (increasePos): remove function
3933         * exporter.C (export): removed unused var and outdated comment
3934
3935 2003-05-23  Angus Leeming  <leeming@lyx.org>
3936
3937         * latexrunparams.h: rename fragile as moving_arg.
3938         * paragraph.C (simpleTeXOnePar): ditto.
3939         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3940
3941 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3942
3943         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3944         (createUndo): ditto
3945         (textUndoOrRedo): comment out a currently unused var.
3946
3947         * paragraph.h (NO_NEXT): enable NO_NEXT
3948
3949         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3950
3951         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3952
3953         * exporter.C (Export): adjust for removeAutoInsets removal.
3954
3955         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3956
3957         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3958
3959         * BufferView.[Ch] (removeAutoInsets): delete function
3960
3961 2003-05-22  Angus Leeming  <leeming@lyx.org>
3962
3963         * latexrunparams.h: add a free_spacing variable.
3964
3965         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3966         to pass moving_arg, as the data is stored in runparams.fragile.
3967
3968         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3969         to Inset::latexOptional or to simpleTeXOnePar.
3970
3971         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3972         free_spacing arg to Inset::latexOptional.
3973
3974         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3975         free_spacing arg.
3976
3977 2003-05-22  Angus Leeming  <leeming@lyx.org>
3978
3979         * latexrunparams.h: add fragile and use_babel variables.
3980
3981         * bufferparams.[Ch] (writeLaTeX): return use_babel.
3982         * buffer.C (makeLaTeXFile): store this returned value in
3983         runparams.use_babel, thus passing it to the inset::latex methods.
3984
3985         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3986         simpleTeXSpecialChars as it is now stored in runparams.fragile.
3987
3988         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3989         longer has a fragile arg, as it is stored in runparams.fragile.
3990
3991         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3992         moving_arg parameter as the data is stored in runparams.fragile.
3993
3994         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3995         a fragile parameter as the data is stored in runparams.fragile.
3996
3997 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3998
3999         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4000
4001 2003-05-22  Angus Leeming  <leeming@lyx.org>
4002
4003         * latexrunparams.h: add a 'bool nice' which defaults to false.
4004
4005         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4006         now encapsulated within runparams.
4007
4008         * bufferlist.C (updateIncludedTeXfiles):
4009         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4010
4011 2003-05-22  Angus Leeming  <leeming@lyx.org>
4012
4013         * latexrunparams.h: new file containing struct LatexRunParams.
4014         * Makefile.am: add new file.
4015
4016         * LaTeX.[Ch] (c-tor, run):
4017         * buffer.[Ch] (makeLaTeXFile):
4018         * bufferlist.[Ch] (updateIncludedTeXfiles):
4019         * converter.C (convert, scanLog):
4020         * converter.[Ch] (runLaTeX):
4021         * exporter.C (Export):
4022         * paragraph.[Ch] (simpleTeXOnePar):
4023         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4024         * paragraph_funcs.[Ch] (latexParagraphs):
4025         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4026         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4027         pass around a LatexRunParams parameter.
4028
4029 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4030
4031         * paragraph.[Ch]: remove unused constructor
4032
4033         * ParagraphList.C (erase): new function, taking two iterators
4034
4035 2003-05-22  André Pönitz  <poenitz@gmx.net>
4036
4037         * undo_funcs.C: remove duplicated code
4038
4039         * iterator.[Ch]: operator=
4040
4041 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4042
4043         * tabular.C (SetMultiColumn): ws changes
4044
4045         * rowpainter.C (paintFirst): get rid of a ->previous
4046
4047         * lyx_cb.C (getPossibleLabel): parlist simplification
4048
4049         * BufferView.C (ChangeInsets): simplify slightly.
4050
4051 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4052
4053         * LyXAction.C: new lfun space-insert, kill protected-space-insert
4054         * lfuns.h: new LFUN_SPACE
4055         * lyxfunc.C: protected space has a new lfun
4056         * paragraph_funcs.C: read new space insets
4057         * text3.C:
4058         * factory.C: handle new space insets
4059
4060 2003-05-22  André Pönitz  <poenitz@gmx.net>
4061
4062         * BufferView.C:
4063         * BufferView_pimpl.C:
4064         * buffer.[Ch]:
4065         * lyxfunc.C:
4066         * undo_funcs.C: return a ParIterator from getParFromID.
4067
4068         * iterators.[Ch]: add two const's
4069
4070 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4071
4072         * toc.C (getTocList): adjust
4073
4074         * iterators.[Ch]: rework for parlist
4075
4076         * buffer.C (par_iterator_begin): adjust
4077         (par_iterator_end): adjust
4078
4079         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4080
4081         * BufferView.C (removeAutoInsets): adjust
4082         (ChangeInsets): adjust
4083
4084 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
4085
4086         * text.C (top_y): fix bug 1110
4087
4088 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
4089
4090         * errorlist.[Ch]: added
4091         * buffer.C:
4092         * BufferView.[Ch]:
4093         * BufferView_pimpl.C:
4094         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4095         instead
4096
4097 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4098
4099         * Makefile.am: ensure that lyx is relinked upon changes to the
4100         various "convenience" libs.
4101
4102 2003-05-20  Angus Leeming  <leeming@lyx.org>
4103
4104         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4105         files are compiled in alphabetical order again.
4106
4107         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4108
4109 2003-05-19  Angus Leeming  <leeming@lyx.org>
4110
4111         * gettext.[Ch]: remove "char const * _(char const *)".
4112
4113 2003-05-19  André Pönitz  <poenitz@gmx.net>
4114
4115         * dimension.[Ch]: promote from mathed/dimension.[Ch]
4116
4117         * Makefile.am:
4118         * BufferView.C:
4119         * DepTable.h:
4120         * LaTeXFeatures.C:
4121         * buffer.C:
4122         * lyxfont.C:
4123         * lyxlex.h:
4124         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4125
4126 2003-05-19  André Pönitz  <poenitz@gmx.net>
4127
4128         * buffer.C:
4129         * lyxlayout.[Ch]:
4130         * lyxtextclass.[Ch]:
4131         * paragraph.C:
4132         * paragraph_funcs.[Ch]:
4133         * text2.C:
4134         * text3.C: more insetenv work
4135
4136 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
4137
4138         * ParagraphParameters.C (params2string): small bug fixed
4139
4140 2003-05-16  André Pönitz  <poenitz@gmx.net>
4141
4142         * debug.C:
4143         * bufferview_funcs.C: patch from Kornel Benko to prevent
4144           crash when _(...) is called twice in a statement
4145
4146 2003-05-16  André Pönitz  <poenitz@gmx.net>
4147
4148         * BufferView.C:
4149         * lyxfunc.C:
4150         * text.C:
4151         * text2.C:
4152         * text3.C:
4153         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4154
4155 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
4156
4157         * lyx_main.C (init): remove spurious static_cast
4158
4159 2003-05-14  André Pönitz  <poenitz@gmx.net>
4160
4161         * BufferView.C: fix format string
4162
4163 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
4164
4165         * BufferView.[Ch] (insertErrors): removed
4166         * BufferView.[Ch] (showErrorList): added
4167         * buffer.C (runChkTeX):
4168         * converter.C (scanLog): call showErrorList instead of inserterrors
4169
4170 2003-05-13  André Pönitz  <poenitz@gmx.net>
4171
4172         * BufferView_pimpl.C:
4173         * buffer.C:
4174         * bufferview_func.C:
4175         * MenuBackend.C:
4176         * lyxfunc.C:
4177         * lyxrc.C:
4178         * tex-accent.C:
4179         * text3.C:
4180         * toc.C:
4181         * tabular_funcs.h: tostr() from its own header
4182
4183         * ParagraphParameters.C:
4184         * ToolbarBackend.C:
4185         * bufferparams.C:
4186         * format.C:
4187         * lyxlex_pimpl.C:
4188         * text3.C: STRCONV()
4189
4190 2003-05-12  André Pönitz  <poenitz@gmx.net>
4191
4192         * BufferView.C:
4193         * BufferView_pimpl.C:
4194         * CutAndPaste.C:
4195         * LaTeX.C:
4196         * LaTeXFeatures.C:
4197         * ParagraphParameters.C:
4198         * buffer.C:
4199         * bufferlist.C:
4200         * bufferparams.C:
4201         * bufferview_funcs.C:
4202         * converter.C:
4203         * counters.C:
4204         * debug.C:
4205         * exporter.C:
4206         * format.C:
4207         * importer.C:
4208         * lyx_cb.C:
4209         * lyx_main.C:
4210         * lyxfont.C:
4211         * lyxfunc.C:
4212         * lyxvc.C:
4213         * paragraph.C:
4214         * paragraph_funcs.C:
4215         * tabular.C:
4216         * tabular_funcs.C:
4217         * text2.C:
4218         * text3.C:  boost::format -> bformat  all over the place
4219
4220
4221 2003-05-09  André Pönitz  <poenitz@gmx.net>
4222
4223         * LColor.[Ch]: Pimpl the #include <map> away
4224
4225 2003-05-09  John Levon  <levon@movementarian.org>
4226
4227         * bufferlist.C: never remove emergency saves
4228
4229 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4230
4231         * Makefile.am: better lib building
4232
4233 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4234
4235         * texrow.[Ch]: remove dependency on Paragraph and just store a id
4236         instead.
4237         * paragraph_pimpl.C (simpleTeXBlanks): adjust
4238         (simpleTeXSpecialChars): adjust
4239         (simpleTeXSpecialChars): adjust
4240         * paragraph.C (simpleTeXOnePar): adjust
4241         * buffer.C (makeLaTeXFile): adjust
4242
4243         * Makefile.am (BOOST_LIBS): allow boost as system lib.
4244
4245         * text2.C (changeDepth): parlist cleanup
4246         (getColumnNearX): ditto
4247
4248         * rowpainter.C (getLabelFont): parlist cleanup
4249
4250         * bufferlist.C (newFile): parlist cleanup
4251
4252         * CutAndPaste.C (eraseSelection): parlist cleanup
4253
4254         * BufferView_pimpl.C (trackChanges): parlist cleanup
4255         (dispatch): ditto
4256
4257         * BufferView.C (lockInset): parlist cleanup.
4258         (ChangeInsets): ditto
4259
4260 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4261
4262         * CutAndPaste.h: Update file header.
4263
4264         * CutAndPaste.C: Update file header.
4265         Store the parts cut out of the Document in a limited_stack.
4266         (copySelection): adjust
4267         (pasteSelection): new function, takes the index in the limited stack.
4268         (nrOfParagraphs): adjust
4269         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4270         simplify error inset insertion.
4271         (checkPastePossible): adjust
4272
4273 2003-05-06  John Levon  <levon@movementarian.org>
4274
4275         * text2.C: don't cast wrap inset to float
4276
4277 2003-05-05  André Pönitz  <poenitz@gmx.net>
4278
4279         * iterator.C:
4280         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4281
4282         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4283           few naked Paragraph *.
4284
4285 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
4286
4287         * bufferparams.C: Output warning if a document with missing
4288         TeX document class is loaded
4289         * exporter.C: Disable TeX exports if the document class is missing
4290         * lyxtextclass.C:
4291         * lyxtextclass.h:
4292         * lyxtextclasslist.C: Handle new textclass.lst format; new method
4293         isTeXClassAvailable()
4294
4295 2003-05-03  John Levon  <levon@movementarian.org>
4296
4297         * BufferView.h:
4298         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4299         explicit cursor show/hide
4300
4301         * BufferView_pimpl.h:
4302         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4303         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4304
4305         * lyxfunc.C: hide cursor before dispatching.
4306
4307         * lyx_cb.C:
4308         * lyxfind.C:
4309         * text.C:
4310         * text3.C: remove explicit cursor hides
4311
4312 2003-05-02  André Pönitz  <poenitz@gmx.net>
4313
4314         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4315
4316         * undo_funcs.C:
4317         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4318           linked lists
4319
4320         * text2.C: tiny whitespace
4321
4322 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4323
4324         * undo_funcs.C: almost only ws changes.
4325
4326         * ParagraphList.C (splice): just return if pl is empty.
4327
4328 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4329
4330         * ParagraphList.C (splice): new function.
4331
4332         * CutAndPaste.C (pasteSelection): use it
4333
4334 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4335
4336         * CutAndPaste.C (pasteSelection): remove the last next and
4337         previous from this file.
4338
4339 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4340
4341         * CutAndPaste.C (pasteSelection): more clean up, user proper
4342         ParagraphList functions for pasteing.
4343
4344         * ParagraphList.C (insert): new function, three arg insert
4345
4346 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4347
4348         * ParagraphList.C (insert): new function, three arg insert
4349
4350         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4351         not on paragraphs.
4352
4353 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4354
4355         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4356
4357 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4358
4359         * CutAndPaste.C (pasteSelection): remove some unneeded code.
4360
4361 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4362
4363         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4364         (copySelection): clean up a bit.
4365         (pasteSelection): use make_pair
4366
4367         * ParagraphList.C (ParagraphList): implement copy constructor
4368         (operator=): implement, base on copy constructor.
4369         (assign): new func
4370
4371         * paragraph.C (erase): return a bool
4372
4373         * paragraph_pimpl.C (erasePos): remove function, move contents...
4374         (erase): ... here. Return a bool.
4375         (erase): call erase instead of erasePos.
4376
4377 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
4378
4379         * ParagraphList.h: define PitPosPair
4380         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4381         ParagraphList, fix a bug on pasting multiple pars
4382         * text2.C: change interface to C&P
4383
4384 2003-04-30  André Pönitz  <poenitz@gmx.net>
4385
4386         * undo_func.C: revert part of yesterday's patch 2
4387
4388 2003-04-30  John Levon  <levon@movementarian.org>
4389
4390         * LColor.C: s/tabular/table/
4391
4392 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4393
4394         * text3.C (dispatch): do not convert iterator -> pointer
4395         * undo_funcs.C (setCursorParUndo): ditto
4396         * text_funcs.C (transposeChars): ditto
4397
4398         * text2.C (setLayout): ws changes only
4399
4400         * text.C (breakParagraph): do not convert iterator -> pointer
4401         (insertChar): ditto
4402         (acceptChange): ditto
4403         (rejectChange): ditto
4404         (changeCase): ditto
4405         (Delete): ditto
4406         (backspace): ditto
4407
4408         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4409         pointer
4410
4411 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4412
4413         * text3.C (gotoInset): YABG (yet another bad getChar)
4414
4415 2003-04-29  André Pönitz  <poenitz@gmx.net>
4416
4417         * paragraph.h: make operator= private unimplemented as long as
4418           it is unusable
4419
4420         * ParagraphList.C: whitespace
4421
4422         * paragraph.[Ch]:
4423         * paragraph_pimpl.[Ch]:
4424         * paragraph_funcs.C:
4425         * CutAndPaste.C:
4426         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
4427
4428         * text2.C:
4429           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4430
4431 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4432
4433         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4434         * paragraph.[Ch] (erase):
4435         * paragraph_pimpl.[Ch] (erase): change return type and value
4436         * text2.C (cutSelection): some rework
4437
4438 2003-04-28  John Levon  <levon@movementarian.org>
4439
4440         * bufferlist.C: changes for unsaved changes dialog
4441
4442 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4443
4444         * bufferlist.C (newFile): set language (messages_) for new
4445         documents also.
4446
4447         * buffer.C (readFile): ws changes only.
4448
4449 2003-04-28  André Pönitz  <poenitz@gmx.net>
4450
4451         * undo_funcs.C:
4452         * lyxfunc.C:
4453         * buffer.[Ch]:
4454         * BufferView_pimpl.C:
4455         * BufferView.C: getParFromID related ParagraphList::iterator changes
4456
4457 2003-04-28  André Pönitz  <poenitz@gmx.net>
4458
4459         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4460           Changes
4461
4462 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4463
4464         * messages.C: remove one more localedir class variable.
4465
4466 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4467
4468         * messages.C (getLocaleDir): singleton generation function
4469         (Pimpl): use it.
4470         (Messages): add a default constructor.
4471
4472         * main.C (main): do not setup localedir here, do not call
4473         gettext_init.
4474
4475         * gettext.C (_): use it.
4476         (gettext_init): delete funciton
4477
4478 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4479
4480         * gettext.C (getLyXMessages): new singleton generating function.
4481
4482         * buffer.C (updateDocLang): adjust
4483
4484         * Makefile.am (messages.o): add target
4485         (main.o): remove target
4486
4487 2003-04-27  John Levon  <levon@movementarian.org>
4488
4489         * bufferlist.C:
4490         * lyx_cb.C:
4491         * lyxfunc.C:
4492         * lyxvc.C: specify cancel button in Alert::prompt
4493
4494 2003-04-26  John Levon  <levon@movementarian.org>
4495
4496         * text3.C:
4497         * lyxfunc.C:
4498         * lfuns.h:
4499         * LyXAction.C: add LFUN_INSET_SETTINGS
4500
4501         * lyxfunc.C: don't enable tabular-feature when there's
4502         just any locking inset
4503
4504 2003-04-26  John Levon  <levon@movementarian.org>
4505
4506         * bufferlist.C: re-add Cancel to buffer close question
4507
4508         * lyxfunc.C: fix import UI a bit
4509
4510 2003-04-25  John Levon  <levon@movementarian.org>
4511
4512         * gettext.C: remove the broken asserts for now
4513
4514 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4515
4516         * messages.C: make case where setlocale cannot comply work better.
4517
4518         * buffer.C (updateDocLang): new function
4519         (changeLanguage): use it
4520         (readFile): use it
4521
4522         * text2.C (setCounter): use B_ a bit.
4523
4524         * lyxlayout.C (Read): be sure to trim the label strings.
4525
4526         * messages.C (Messages): fix typo in comment
4527
4528         * buffer.C (readFile): set message_ after file is loaded.
4529         (makeDocBookFile): remove double return
4530         (changeLanguage): reset message_ upon language change.
4531         (B_): new func, use this to get translated buffer strings.
4532
4533         * main.C: add myself and Jean Marc as authors.
4534
4535 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4536
4537         * messages.[hC]: pimplify Messages, and three different pimpls to be
4538         used in different circumstances.
4539
4540         * gettext.[Ch]: change for use with new message code.
4541
4542 2003-04-24 André Pönitz <poenitz@gmx.net>
4543
4544         * factory.C: support for eqref
4545
4546 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4547
4548         * messages.[Ch]: add missing char
4549
4550         * Makefile.am (lyx_SOURCES): add messages.[Ch]
4551
4552         * messages.[Ch]: New files
4553
4554 2003-04-18  John Levon  <levon@movementarian.org>
4555
4556         * BufferView.h:
4557         * BufferView.C:
4558         * BufferView_pimpl.C:
4559         * lfuns.h:
4560         * LyXAction.C:
4561         * lyxtext.h:
4562         * text2.C: remove layout-copy/paste (bug 778)
4563
4564 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4565
4566         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4567
4568 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4569
4570         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4571         if they succeed. Act accordingly.
4572
4573 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4574
4575         * text2.C (setCharFont): adjust
4576         (setCounter): adjust
4577         (insertStringAsLines): adjust
4578
4579         * text.C (leftMargin): adjust
4580         (setHeightOfRow): adjust
4581
4582         * rowpainter.C (paintFirst): adjust
4583         (paintLast): adjust
4584
4585         * paragraph_funcs.C (depthHook): ParagraphList::iterators
4586         (outerHook): ditto
4587         (isFirstInSequence): ditto
4588         (getEndLabel): ditto
4589         (outerFont): adjust
4590
4591         * paragraph.C (getParLanguage): comment out some hard stuff.
4592
4593         * buffer.C (insertStringAsLines): take a ParagraphList as arg
4594         (sgmlError): ditto
4595         (simpleDocBookOnePar): ditto
4596         (makeDocBookFile): use ParagraphList::iterator
4597
4598         * CutAndPaste.C (pasteSelection): adjust
4599
4600 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4601
4602         * text2.C (getFont): adjust
4603         (getLayoutFont): adjust
4604         (getLabelFont): adjust
4605
4606         * paragraph_funcs.C (TeXOnePar): adjust
4607
4608         * buffer.C (simpleLinuxDocOnePar): adjust
4609         (simpleDocBookOnePar): adjust
4610
4611         * CutAndPaste.C (pasteSelection): adjust
4612
4613         * BufferView.C (getEncoding): adjust
4614
4615         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4616
4617 2003-04-16  John Levon  <levon@movementarian.org>
4618
4619         * lyxfind.C: use parlist stuff for search/changes
4620
4621 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4622
4623         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4624
4625         * text2.C (deleteEmptyParagraphMechanism): adjust
4626
4627         * text2.[Ch] (ownerParagraph): delete func (both of them
4628
4629 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4630
4631         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4632
4633 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4634
4635         * ParagraphList.C: prepare for NO_NEXT
4636
4637 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4638
4639         * text2.C (getFont): adjust
4640         (getLayoutFont): adjust
4641         (getLabelFont): adjust
4642
4643         * paragraph.C (getFont): adjust
4644         (getLabelFont): adjust
4645         (getLayoutFont): adjust
4646
4647         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4648
4649 2003-04-15  John Levon  <levon@movementarian.org>
4650
4651         From Angus Leeming
4652
4653         * lyx_main.C: handle Include in .ui files
4654
4655 2003-04-15  John Levon  <levon@movementarian.org>
4656
4657         * MenuBackend.C: make the doc files length shorter
4658
4659         * ToolbarBackend.h:
4660         * ToolbarBackend.C: handle toolbar placement flags,
4661         Minibuffer
4662
4663 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4664
4665         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4666         adjust
4667
4668         * paragraph_funcs.C (TeXOnePar): adjust
4669
4670         * paragraph.C (getLabelFont): add outerfont arg, adjust
4671         (getLayoutFont): ditto
4672         (simpleTeXOnePar): adjust
4673
4674         * paragraph_pimpl.C (realizeFont): delete func
4675
4676 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
4677
4678         * text2.C (beforeFullRowInset): added a bad getchar check, removed
4679         row argument, constify cur argument.
4680
4681 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4682
4683         * text2.C (getFont): adjust
4684         (getLayoutFont): adjust
4685         (getLabelFont): adjust
4686
4687         * paragraph_funcs.C (TeXOnePar): adjust
4688         (outerFont): new func...
4689         (realizeFont): ...moved out from here, changed this to facilitate
4690         transition
4691
4692         * paragraph.C (getFont): take outerfont as arg, adjust
4693         (simpleTeXOnePar): add outerfont arg, adjust
4694
4695         * buffer.C (simpleLinuxDocOnePar): adjust
4696         (simpleDocBookOnePar): adjust
4697
4698         * CutAndPaste.C (pasteSelection): adjust
4699
4700         * BufferView.C (getEncoding): adjust
4701
4702 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4703
4704         * text2.C (setCharFont): adjust
4705         (setCounter): adjust
4706
4707         * text.C (leftMargin): adjust
4708         (setHeightOfRow): adjust
4709
4710         * rowpainter.C (paintFirst): adjust
4711         (paintLast): adjust
4712
4713         * paragraph_pimpl.C (realizeFont): adjust
4714
4715         * paragraph.C (isFirstInSequence): move from here...
4716         * paragraph_funcs.C (isFirstInSequence): ...to here
4717
4718         * paragraph.C (outerHook): move from here...
4719         * paragraph_funcs.C (outerHook): ...to here
4720
4721         * paragraph.C (depthHook): move from here...
4722         * paragraph_funcs.C (depthHook): ...to here
4723
4724         * paragraph.C (getEndLabel): move from here...
4725         * paragraph_funcs.C (getEndLabel): ...to here
4726
4727         * text2.C (realizeFont): move from here...
4728         * paragraph_funcs.C (realizeFont): ...to here
4729
4730 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4731
4732         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4733
4734 2003-04-14  Angus Leeming  <leeming@lyx.org>
4735
4736         * LColor.[Ch]: scrap LColor mathcursor.
4737
4738 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4739
4740         * lyxlex.[Ch] (text): delete function
4741         * trans.C (Load): adjust
4742         * paragraph_funcs.C (readParToken): adjust
4743
4744 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4745
4746         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4747         vector<char> instead of a char[].
4748
4749         * lyxlex_pimpl.C (getString): adjust
4750         (next): adjust
4751         (lex): use getString
4752         (eatLine): adjust
4753         (nextToken): adjust
4754
4755         * lyxlex.C (text): use pimpl_->getString()
4756         (getBool): ditto
4757         (findToken): ditto
4758
4759 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4760
4761         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4762         (makeFontEntriesLayoutSpecific): temp var for par.size()
4763         (setLayout): temp var for ownerParagraphs().end()
4764         (fullRebreak): temp var for rows().end()
4765         (selectionAsString): temp var for boost::next(startpit), realize
4766         that the while really is a regular for loop.
4767         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4768         setCursor in one place.
4769         (setParagraph): temp vr for ownerParagraphs().end()
4770         (updateCounters): make the while loop a for loop
4771         (cutSelection): temp var for ownerParagraphs().end()
4772         (updateInset): make the do {} while() a regular for loop
4773         (getCursorX): use temp vars
4774         (setCurrentFont): use temp vars
4775         (getColumnNearX): use temp vars
4776
4777 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4778
4779         * text.C (transformChar): use temp var for getChar
4780         (computeBidiTables): use temp var for row->par()
4781         (fill): move temp vars for row->par() and pit->layout() earlier in
4782         the function.
4783         (labelFill): use temp var for row->par()
4784         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4785         asc and desc, realize that pit never changes and that firstpit is
4786         just a duplicate and not needed. Exchange rit->par() with pit in a
4787         lot of places.
4788         (breakAgain): use a temp var for boost::next(rit)
4789         (breakAgainOneRow): ditto
4790         (breakParagraph): use a temp var for rows().begin()
4791         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4792         (cursorRightOneWord): use temp var for cursor.par() and
4793         cursor.pos(), remove usage of tmpcursor.
4794         (cursorLeftOneWord): use temp var for cursor.par() and
4795         cursor.pos() only set cur at end of function.
4796
4797 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4798
4799         * text.C, text2.C: exchange all usage of Paragraph::next with
4800         boost::next(ParagraphList::iterator)
4801
4802         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4803
4804         * text2.C (cursorTop): simplify implementation
4805         (cursorBottom): ditto
4806         (setParagraph): use ParagraphList::iterator
4807         (setCurrentFont): adjust
4808         (getColumnNearX): adjust
4809         (cursorRight): adjust
4810         (cursorLeft): remove usage of Paragraph::previous
4811         (cursorUpParagraph): ditto
4812         (deleteEmptyParagraphMechanism): slight cleanup
4813
4814         * text.C (isBoundary): take a Paragraph const & instead of a
4815         pointer as arg.
4816         (addressBreakPoint): ditto
4817         (leftMargin): remove usage of Paragraph::previous.
4818         (setHeightOfRow): ditto
4819         (cursorLeftOneWord): ditto
4820         (selectNextWordToSpellcheck): ditto
4821         (Delete): ditto
4822         (backspace): ditto
4823         (breakParagraph): remove one usage of Paragraph::next
4824         (redoParagraph): ditto
4825         (acceptChange): ditto
4826         (insertChar): adjust
4827         (rowBreakPoint): adjust
4828
4829         * bufferview_funcs.C (toggleAndShow): adjust
4830
4831 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4832
4833         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4834         methods to access it.
4835         * lyxtext.h:
4836         * text.C: Added updateRowPositions to compute all row positions.
4837         Make top_y and getRowNearY() to use the cached y position
4838
4839 2003-04-11  John Levon  <levon@movementarian.org>
4840
4841         * text.C (rowBreakPoint): reintroduce the labelEnd
4842         checks, code copied from the row fill stuff. Deep voodoo.
4843
4844         * text.C (fill): add a comment and debugging for the
4845         next poor soul.
4846
4847 2003-04-11  John Levon  <levon@movementarian.org>
4848
4849         * text.C: make sure fullrow insets get wrapped to the next line,
4850         even when they're in a manual label
4851
4852 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4853
4854         * text2.C (insertParagraph): make it take ParagraphList::iterator
4855         as arg.
4856         (setLayout): make it return ParagraphList::iterator
4857         (redoParagraphs): ditto
4858         (setCounter): ditto
4859         (checkParagraph): ditto
4860
4861         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4862
4863         * text2.C: adjust several funcs.
4864         (realizeFont): take a ParagraphList::iterator as arg.
4865         (getLayoutFont): ditto
4866         (getLabelFont): ditto
4867         (setCharFont): ditto
4868
4869         * text.C: adjust several funcs.
4870
4871 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4872
4873         * text.C (selectNextWordToSpellcheck): don't accidentally
4874         skip insets
4875
4876 2003-04-10  John Levon  <levon@movementarian.org>
4877
4878         * ToolbarBackend.C (getIcon): special handling for
4879         LFUN_MATH_DELIM
4880
4881 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4882
4883         * text2.C (cursorRight): a getChar assert fixed
4884
4885 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4886
4887         * text2.C (getFont): change to take a ParagraphList::iterator
4888         instead of Paragraph*
4889         Adjust several functions.
4890
4891         * text.C (transformChar): change to take a ParagraphList::iterator
4892         instead of Paragraph*
4893         (singleWidth): ditto
4894         Adjust several functions.
4895
4896         * rowpainter.C: adjust several functions
4897         * rowpainter.h:store a ParagraphList::iterator and not a
4898         Paragraph&.
4899
4900
4901 2003-04-09  John Levon  <levon@movementarian.org>
4902
4903         * lyxfunc.C:
4904         * lfuns.h:
4905         * LyXAction.h:
4906         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4907         and the "help" bits as well
4908
4909 2003-04-09  John Levon  <levon@movementarian.org>
4910
4911         * ToolbarBackend.h:
4912         * ToolbarBackend.C: allow multiple toolbars
4913
4914 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4915
4916         * undo_funcs.C (setCursorParUndo): adjust
4917
4918         * text_funcs.C (transposeChars): adjust
4919
4920         * text3.C (gotoNextInset): adjust
4921         (dispatch): adjust
4922
4923         * text2.C (setLayout): adjust
4924         (changeDepth): adjust
4925         (setFont): adjust
4926         (redoParagraphs): adjust
4927         (selectionAsString): adjust
4928         (setParagraph): adjust
4929         (insertInset): adjust
4930         (cutSelection): adjust
4931         (copySelection): adjust
4932         (pasteSelection): adjust
4933         (insertStringAsLines): adjust
4934         (updateInset): adjust
4935         (setCursor): change to take a ParagraphList::iterator parameter
4936         (setCursorIntern): change to take a ParagraphList::iterator parameter
4937         (setCurrentFont): adjust
4938         (cursorLeft): adjust
4939         (cursorRight): adjust
4940         (deleteEmptyParagraphMechanism): adjust
4941
4942         * text.C (breakParagraph): adjust
4943         (insertChar): adjust
4944         (acceptChange): adjust
4945         (rejectChange): adjust
4946         (selectNextWordToSpellcheck): adjust
4947         (changeCase): adjust
4948         (Delete): adjust
4949         (backspace): adjust
4950
4951         * lyxfind.C (SearchForward): adjust
4952         (SearchBackward): adjust
4953         (nextChange): adjust
4954
4955         * lyxcursor.C (par): adjust
4956
4957         * lyxcursor.h: store a ParagraphList::iterator instead of a
4958         Paragraph*
4959
4960         * lyx_cb.C (getPossibleLabel): adjust
4961
4962         * bufferview_funcs.C (toggleAndShow): adjust
4963
4964         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4965         (dispatch): adjust
4966
4967         * BufferView.C (removeAutoInsets): adjust
4968         (lockedInsetStoreUndo): adjust
4969
4970 2003-04-09  John Levon  <levon@movementarian.org>
4971
4972         * ToolbarBackend.C: try icon without argument
4973         if with argument fails
4974
4975 2003-04-08  John Levon  <levon@movementarian.org>
4976
4977         * ToolbarBackend.h:
4978         * ToolbarBackend.C: add getIcon(), handle tooltip,
4979         and change from "Icon" to "Item".
4980
4981 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4982
4983         * BufferView.C (lockInset): another bad getchar crunched
4984
4985 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4986
4987         * text2.C (changeDepth): do not setUndo on test_only (make undo work
4988         again)
4989
4990 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
4991
4992         * lyxfind.C (searchForward, searchBackwards): bug 782
4993
4994 2003-04-07  John Levon  <levon@movementarian.org>
4995
4996         * paragraph.C: remove dead comment
4997
4998         * text.C: remove troublesome depth-fiddling code
4999         in leftMargin() and rightMargin() (bug 1017)
5000
5001         * text.C: fix breaking of rows in nested lists
5002         (bug 1004)
5003
5004         * text2.C (updateCounters): fix up depth values
5005         (bug 1013)
5006
5007 2003-04-07  John Levon  <levon@movementarian.org>
5008
5009         * BufferView_pimpl.C: clear message when doc finishes resizing,
5010         and after a mouse event
5011
5012         * lyxfunc.C: clear message after exiting inset
5013
5014 2003-04-07  John Levon  <levon@movementarian.org>
5015
5016         * bufferview_funcs.C: show math status not outside
5017         status in the statusbar
5018
5019 2003-04-07  John Levon  <levon@movementarian.org>
5020
5021         * lyxfunc.C: note status changed after a depth change
5022
5023 2003-04-04  Angus Leeming  <leeming@lyx.org>
5024
5025         * LaTeX.h: move AuxInfo operator==, != out of line.
5026         Remove LaTeX virtual destructor; nothing derives from it.
5027         Move operator()() out of public area and rename it startscript().
5028         Change protected for private.
5029
5030 2003-04-04  Angus Leeming  <leeming@lyx.org>
5031
5032         * lyxfunc.C:
5033         * text2.C: remove unneeded #includes.
5034
5035 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5036
5037         * text2.C (dEPM): fix the heigth of the next row
5038
5039 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5040
5041         * text.C: squashed an invalid getChar requester + some ws changes
5042
5043 2003-04-03  John Levon  <levon@movementarian.org>
5044
5045         * bufferview_funcs.h:
5046         * bufferview_funcs.C:
5047         * lyxfunc.C:
5048         * lyxtext.h:
5049         * text2.C: make getStatus work for the env depth lfuns
5050
5051 2003-04-03  John Levon  <levon@movementarian.org>
5052
5053         * bufferview_funcs.h:
5054         * bufferview_funcs.C:
5055         * lyxfunc.C:
5056         * lyxtext.h:
5057         * text2.C: parlistize decDepth(), by merging it with incDepth()
5058
5059 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5060
5061         * lyxrow.h: store a ParagraphList::iterator instead of a
5062         Paragraph* and adjust other class functions to suit.
5063
5064         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5065         above.
5066
5067 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5068
5069         * text2.C (setCursor): do not anchor to cursor row for the time being
5070
5071 2003-04-02  John Levon  <levon@movementarian.org>
5072
5073         * LyXAction.C:
5074         * lfuns.h:
5075         * lyx_main.C:
5076         * lyxtext.h:
5077         * text.C:
5078         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5079
5080 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5081
5082         * paragraph.h: make ParagraphList and ParagraphList::iterator
5083         friends of Paragraph.
5084
5085         * buffer.C (makeLinuxDocFile): move towards ParagraphList
5086
5087         * ParagraphList.C: Use the private next_ and previous_ from
5088         Paragraph.
5089
5090 2003-04-01  John Levon  <levon@movementarian.org>
5091
5092         * ToolbarBackend.h:
5093         * ToolbarBackend.C:
5094         * Makefile.am: rename, remove defaults gunk
5095
5096         * MenuBackend.h:
5097         * MenuBackend.C: remove defaults gunk
5098
5099         * Languages.h:
5100         * Languages.C: remove defaults gunk
5101
5102         * lyx_main.h:
5103         * lyx_main.C: error out if files couldn't be found.
5104
5105 2003-04-02  John Levon  <levon@movementarian.org>
5106
5107         * text2.C: make incDepth() use parlist
5108
5109 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5110
5111         * undo_funcs.C (firstUndoParagraph): adjust
5112
5113         * text3.C (gotoInset): adjust
5114         (dispatch): adjust, and rewrite loop.
5115
5116         * text2.C (init): adjust, and rewrite loop.
5117         (redoParagraphs): adjust
5118         (updateInset): adjust, and rewrite loop.
5119         (deleteEmptyParagraphMechanism): adjust
5120
5121         * tabular.C (LyXTabular): adjust
5122         (SetMultiColumn): adjust
5123         (TeXRow): adjust
5124
5125         * lyxtext.[Ch] (ownerParagraph): delete function
5126         (ownerParagraphs): new function returns a ParagraphList.
5127
5128         * BufferView.C (removeAutoInsets): adjust
5129         (insertErrors): adjust
5130         (setCursorFromRow): adjust
5131
5132 2003-04-01  Angus Leeming  <leeming@lyx.org>
5133
5134         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5135         in the frontends.
5136
5137 2003-04-02  John Levon  <levon@movementarian.org>
5138
5139         * lyxtext.h:
5140         * text.C:
5141         * Makefile.am:
5142         * text_funcs.h:
5143         * text_funcs.C: make transposeChars a free function
5144
5145         * lyxrow_funcs.C: remove wrong comment
5146
5147 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5148
5149         * lyxtext.h: adjust
5150         * rowpainter.C: adjust
5151         * text.C: adjust
5152         * text2.C: adjust
5153         * text3.C: adjust
5154
5155         * lyxrow_funcs. [Ch]: new files
5156
5157         * lyxrow.[Ch]: remove next and previous pointers
5158         (next,previous): remove accessor functions
5159         (isParEnd): move to lyxrow_funcs
5160         (lastPos): move to lyxrow_funcs
5161         (nextRowIsAllInset): move to lyxrow_funcs
5162         (lastPrintablePos): move to lyxrow_funcs
5163         (numberOfSeparators): move to lyxrow_funcs
5164         (numberOfHfills): move to lyxrow_funcs
5165         (numberOfLabelHfills): move to lyxrow_funcs
5166         (hfillExpansion): move to lyxrow_funcs
5167
5168         * lyxfunc.C: adjust
5169
5170         * bufferview_funcs.C (toggleAndShow): adjust
5171
5172         * RowList.h: Remove class RowList from file leave just a
5173         std::list<Row>.
5174
5175         * RowList.C: delete file
5176
5177         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5178         and lyxrow_funcs.h
5179
5180 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5181
5182         * text3.C (cursorPrevious): adjust
5183         (cursorNext): adjust
5184         (dispatch): adjust
5185
5186         * text2.C (redoHeightOfParagraph): adjust
5187         (redoDrawingOfParagraph): adjust
5188         (setCursor): adjust
5189
5190         * text.C (breakParagraph): adjust
5191         (insertChar): adjust
5192         (backspace): adjust
5193
5194         * rowpainter.C (RowPainter): adjust
5195         (leftMargin): simplify and adjust
5196         (most rowpainter functions): adjust.
5197
5198         * rowpainter.h: store the row as RowList::iterator not as Row*
5199
5200         * lyxcursor.C (row): taka RowList::iterator as arg
5201         (irow): ditto
5202
5203         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5204         of Row*.
5205
5206 2003-04-01  Angus Leeming  <leeming@lyx.org>
5207
5208         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5209         stuff like bool Bool.
5210
5211 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5212
5213         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5214         rewrite a loop
5215
5216 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5217
5218         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5219         RowList::iterator.
5220
5221         * lyxtext.h (rows): drop one version and leve a const variant that
5222         returns a RowList::iterator.
5223
5224 2003-03-31  Angus Leeming  <leeming@lyx.org>
5225
5226         * text.C (fill): ensure that the signature is the same as that in the
5227         header file.
5228
5229 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
5230
5231         * text2.C (redoParagraphs): adjust
5232         (updateCounters): adjust
5233         (checkParagraph): adjust
5234         (getColumnNearX): adjust and reformat a bit.
5235
5236         * text.C (top_y): adjust
5237         (workWidth): adjust
5238         (leftMargin): adjust
5239         (prepareToPrint): adjust
5240         (getRow): adjust
5241         (getRowNearY): adjust
5242
5243         * lyxtext.h: make rowlist_ mutable.
5244
5245         * RowList.h: add const_iterator
5246         * RowList.C: adjust for RowList::const_iterator.
5247
5248         * text2.C (getCursorX): make it take a RowList::iterator as arg,
5249         adjust.
5250
5251 2003-03-31  John Levon  <levon@movementarian.org>
5252
5253         * lyxrc.h:
5254         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5255
5256         * lyx_main.C: set default fonts from using lyx_gui funcs
5257
5258         * exporter.C: pdf_mode moved from lyxrc
5259
5260         * lyx_cb.C:
5261         * lyxfunc.C: changes from above
5262
5263 2003-03-31  John Levon  <levon@movementarian.org>
5264
5265         * lyx_main.C: fix to the last fix
5266
5267 2003-03-31  John Levon  <levon@movementarian.org>
5268
5269         * bufferlist.C: "Load original" -> "Load Original"
5270
5271         * converter.C:
5272         * exporter.C:
5273         * importer.C:
5274         * lyx_main.C:
5275         * format.C: more Alert cleanups
5276
5277 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5278
5279         * text2.C (removeParagraph): make it take a RowList::iterator as
5280         arg, adjust.
5281         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5282         (postRowPaint): make it take a RowList::iterator as arg, adjust.
5283
5284         * text.C (anchor_row): make it take a RowList::iterator as arg,
5285         adjust.
5286         (computeBidiTables): make it take a const reference to Row instead
5287         of Row pointer, adjust.
5288         (leftMargin): make it take a RowList::iterator as arg, adjust.
5289         (rowBreakPoint): adjust
5290         (breakAgainOneRow): make it take a RowList::iterator as arg,
5291         adjust.
5292         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5293
5294         * bufferview_funcs.C (toggleAndShow): adjust
5295
5296 2003-03-30  John Levon  <levon@movementarian.org>
5297
5298         * Makefile.am:
5299         * BoostFormat.h:
5300         * boost-inst.C: moved to support
5301
5302         * several files: changes as a result
5303
5304 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5305
5306         * text2.C (LyXText): adjust.
5307         (init): adjust
5308         (removeRow): make it take a RowList::iterator as arg, adjust.
5309         (fullRebreak): adjust
5310         (deleteEmptyParagraphMechanism): adjust
5311         (clearPaint): adjust
5312         (postPaint): adjust
5313
5314         * text.C (top_y): adjust
5315         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5316         (breakAgain): make it take a RowList::iterator as arg, adjust.
5317         (breakParagraph): adjust
5318         (insertChar): adjust
5319         (backspace): adjust
5320
5321         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5322         need_break_row, and refresh_row.
5323
5324         * text3.C (dispatch): adjust
5325
5326         * text2.C (checkParagraph): adjust
5327         (setCursor): adjust
5328         (setCursorFromCoordinates): adjust
5329
5330         * text.C (top_y): adjust
5331         (workWidth): adjust
5332         (getRow): make it return a RowList::iterator, adjust
5333         (getRowNearY): make it return a RowList::iterator, adjust
5334
5335         * text2.C (init): adjust
5336         (insertRow): remove function
5337         (insertParagraph): adjust
5338         (redoParagraphs): adjust
5339         (fullRebreak): adjust
5340         (updateCounters): adjust
5341
5342         * text.C (top_y): rewrite to use RowList iterators.
5343         (top_y): adjust
5344         (setHeightOfRow): rewrite to sue RowList iterators.
5345         (appendParagraph): adjust
5346         (breakAgain): adjust
5347         (breakAgainOneRow): adjust
5348         (breakParagraph): adjust
5349         (getRow): adjust
5350         (getRowNearY): adjust, and remove commented code.
5351
5352         * lyxtext.h (firstRow): delete function
5353         (lastRow): delete function
5354         (rows): new function (const and non-const versions.)
5355         (insertRow): delete function
5356
5357         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5358
5359 2003-03-29  John Levon  <levon@movementarian.org>
5360
5361         * BufferView_pimpl.C: always update scrollbar top
5362         because pasting text when we're anchored could mean we
5363         miss an update altogether
5364
5365 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5366
5367         * text2.C (init): use rowlist_.end() and not 0.
5368         (insertRow): change to take a RowList::iterator as arg, adjust
5369         for this.
5370         (insertParagraph): change to take a RowList::iterator as arg,
5371         adjust for this.
5372         (redoParagraphs): remove some debug msgs.
5373
5374         * text.C (appendParagraph): change to take a RowList::iterator
5375         arg, adjust for this.
5376         (breakAgain): add an assert
5377         (breakAgainOneRow): ditto
5378
5379 2003-03-29  John Levon  <levon@movementarian.org>
5380
5381         * text2.C: do not clear selection after inc/decDepth
5382         (bug 550)
5383
5384 2003-03-29  John Levon  <levon@movementarian.org>
5385
5386         * BufferView.C:
5387         * buffer.C: fix broken strerrors according to Lars
5388
5389 2003-03-29  John Levon  <levon@movementarian.org>
5390
5391         * converters.C: more Alert cleanups
5392
5393 2003-03-29  John Levon  <levon@movementarian.org>
5394
5395         * bufferview_funcs.C: remove pointless Alert
5396
5397         * buffer.C: fix confusing error message when
5398         a template is chmoded 000
5399
5400 2003-03-29  John Levon  <levon@movementarian.org>
5401
5402         * BufferView.C:
5403         * BufferView.h:
5404         * BufferView_pimpl.C: Alert fixes
5405
5406         * Makefile.am:
5407         * tabular.C:
5408         * tabular-old.C: remove unused table compat reading
5409
5410 2003-03-29  John Levon  <levon@movementarian.org>
5411
5412         * BufferView.C:
5413         * buffer.C:
5414         * lyx_cb.h:
5415         * lyx_cb.C: more Alert cleanups
5416
5417         * lyxfunc.C: don't allow chktex if not latex document
5418
5419 2003-03-29  John Levon  <levon@movementarian.org>
5420
5421         * lyx_cb.C:
5422         * BufferView.C:
5423         * buffer.C: warnings pushed down from support/,
5424         kill err_alert
5425
5426 2003-03-29  John Levon  <levon@movementarian.org>
5427
5428         * lyxfunc.C: safety check for C-r (revert)
5429
5430 2003-03-29  John Levon  <levon@movementarian.org>
5431
5432         * bufferlist.h:
5433         * bufferlist.C: several UI fixes using Alert::prompt.
5434         Fix the pointless looping quit code. Fix stupid revert
5435         behaviour (bug 938)
5436
5437         * lyxvc.h:
5438         * lyxvc.C:
5439         * lyx_cb.C: use Alert::prompt
5440
5441         * lyx_main.C: remove a silly question
5442
5443         * lyxfunc.C: remove a couple of silly questions,
5444         use Alert::prompt
5445
5446 2003-03-28  John Levon  <levon@movementarian.org>
5447
5448         * text2.C: fix bug 974 (End on empty par)
5449
5450 2003-03-28  John Levon  <levon@movementarian.org>
5451
5452         * BufferView_pimpl.C:
5453         * LyXAction.C:
5454         * lfuns.h: remove do-nothing math greek lfuns
5455
5456 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5457
5458         * lyxgluelength.h (isValidGlueLength): add default arg on
5459         parameter 2. Remove default arg from friend in class.
5460
5461         * lyxlength.h (isValidLength): add default arg on parameter 2.
5462         Remove default arg from friend in class.
5463
5464         * text2.C (LyXText): adjust, initialize refresh_row.
5465         (init): adjust
5466         (removeRow): adjust
5467         (insertRow): adjust
5468         (insertParagraph): adjst
5469         (redoParagraphs): adjust
5470         (fullRebreak): adjust
5471         (updateCounters): adjust
5472         (deleteEmptyParagraphMechanism): first attempt at fixing a
5473         crashing bug.
5474
5475         * text.C (top_y): adjust
5476         (setHeightOfRow): adjust
5477         (getRow): adjust
5478         (getRowNearY): adjust
5479
5480         * lyxtext.h: include RowList.h
5481         (~LyXText): not needed anymore, deleted.
5482         (firstRow): modify for RowList
5483         (lastRow): new function
5484         Delete firstrow and lastrow class variables, add a Rowlist
5485         rowlist_ class variable.
5486
5487         * lyxrow.C (lastPos): use empty() and not !size() to check if a
5488         paragraph is empty.
5489
5490         * RowList.C (insert): fix case where it == begin().
5491
5492 2003-03-26  Angus Leeming  <leeming@lyx.org>
5493
5494         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5495         the thesaurus dialog.
5496
5497 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5498
5499         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5500
5501         * RowList.[Ch]: new files
5502
5503         * ParagraphList.C (erase): handle the case where it == begin
5504         correctly.
5505
5506 2003-03-25  John Levon  <levon@movementarian.org>
5507
5508         * Makefile.am:
5509         * aspell_local.h:
5510         * aspell.C: add new aspell support
5511
5512         * lyxrc.h:
5513         * lyxrc.C: Make use_pspell be use_spell_lib. Always
5514         have it accessible.
5515
5516 2003-03-25  Angus Leeming  <leeming@lyx.org>
5517
5518         * lfuns.h:
5519         * LyXAction.C (init): new LFUN_INSET_INSERT.
5520
5521         * BufferView_pimpl.C (dispatch): split out part of the
5522         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5523
5524         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5525         LFUN_INSET_APPLY.
5526
5527 2003-03-25  Angus Leeming  <leeming@lyx.org>
5528
5529         * lyxfunc.C (dispatch): changes to the Dialogs interface.
5530
5531 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
5532
5533         * text2.C:
5534         * text3.C: remove useless row->height(0)
5535
5536 2003-03-25  John Levon  <levon@movementarian.org>
5537
5538         * lyxtext.h:
5539         * text2.C:
5540         * text3.C: rename the refreshing stuff to better names
5541
5542 2003-03-24  John Levon  <levon@movementarian.org>
5543
5544         * BufferView_pimpl.h:
5545         * BufferView_pimpl.C: update layout choice on a mouse
5546         press/release
5547
5548 2003-03-23  John Levon  <levon@movementarian.org>
5549
5550         * Makefile.am: fix commandtags.h reference
5551
5552 2003-03-22  John Levon  <levon@movementarian.org>
5553
5554         * BufferView_pimpl.C:
5555         * lyxtext.h:
5556         * rowpainter.C:
5557         * rowpainter.h:
5558         * text.C:
5559         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5560
5561 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
5562
5563         * lyxtext.h:
5564         * text.C: take the rtl methods out of line
5565
5566 2003-03-21 André Pönitz <poenitz@gmx.net>
5567
5568         * metricsinfo.[Ch]: new files containing structures to be passed around
5569         during the two-phase-drawing...
5570
5571 2003-03-21 André Pönitz <poenitz@gmx.net>
5572
5573         * lyxtextclass.C: read 'environment' tag.
5574
5575 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
5576
5577         * text2.C (removeRow): fix bug 964
5578
5579 2003-03-20  John Levon  <levon@movementarian.org>
5580
5581         * rowpainter.C:
5582         * text.C:
5583         * text2.C: paint cleanups. Inset::update() dropped font
5584         parameter
5585
5586 2003-03-19  John Levon  <levon@movementarian.org>
5587
5588         * lyxfunc.C: only fitcursor/markDirty if available()
5589
5590 2003-03-19  John Levon  <levon@movementarian.org>
5591
5592         * commandtags.h: rename to ...
5593
5594         * lfuns.h: ... this, and renumber / cleanup
5595
5596 2003-03-19  John Levon  <levon@movementarian.org>
5597
5598         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5599         fit the cursor after an lfun
5600
5601         * BufferView.h:
5602         * BufferView.C:
5603         * BufferView_pimpl.h:
5604         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5605
5606         * LyXAction.C: layout-character should have ReadOnly
5607
5608         * ParagraphParameters.C:
5609         * buffer.C:
5610         * bufferview_funcs.C:
5611         * lyx_cb.C:
5612         * lyxfind.C:
5613         * lyxtext.h:
5614         * text.C:
5615         * text2.C:
5616         * text3.C:
5617         * undo_funcs.C: changes from above
5618
5619 2003-03-18  John Levon  <levon@movementarian.org>
5620
5621         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5622         remove it from update()
5623
5624         * lyxfunc.C: update layout choice after an lfun
5625
5626         * text3.C: remove extra updateLayoutChoice()s
5627
5628 2003-03-18  John Levon  <levon@movementarian.org>
5629
5630         * text.C: top_y change means full repaint, fix
5631         a drawing bug with cursor movement
5632
5633 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5634
5635         * lyxtext.h:
5636         * text.C:
5637         * text2.C: anchor row on setCursor
5638
5639 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5640
5641         * lyxtext.h: remove almost all mutable keywords
5642         * text.C:
5643         * text2.C:
5644         * text3.C: remove const keywords accordingly
5645
5646 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5647
5648         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5649         anon namespace
5650         (TeXEnvironment): ditto
5651         (TeXOnePar): ditto
5652
5653 2003-03-17  John Levon  <levon@movementarian.org>
5654
5655         * text.C (rowBreakPoint): remove attempt to fix displayed
5656         math insets inside a manual label
5657
5658 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5659
5660         * lyxtext.h: remove BufferView* as first arg from almost all class
5661         functions.
5662         * other files: adjust.
5663
5664 2003-03-17  John Levon  <levon@movementarian.org>
5665
5666         * lyxtext.h:
5667         * undo_funcs.C:
5668         * text2.C: more paint cleanups
5669
5670         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5671
5672         * rowpainter.h:
5673         * rowpainter.C: remove "smart" background painting code
5674
5675 2003-03-16  John Levon  <levon@movementarian.org>
5676
5677         * lyxtext.h:
5678         * text.C:
5679         * text2.C:
5680         * text3.C: add helper functions for setting refresh_row/y
5681
5682 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
5683
5684         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5685         newline inset which *can* get inserted in the pass_thru layouts.
5686         This is primarily for literate documents.
5687
5688 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
5689
5690         * buffer.C: increment LYX_FORMAT to 223
5691
5692 2003-03-14 André Pönitz <poenitz@gmx.net>
5693
5694         * textclass.h: prepare for environment handling, ws changes
5695         * lyxlayout.C: read latexheader and latexfooter tags
5696
5697 2003-03-14  John Levon  <levon@movementarian.org>
5698
5699         * text2.C: rewrite ::status() a bit
5700
5701 2003-03-13  John Levon  <levon@movementarian.org>
5702
5703         * lyxtext.h: add some docs
5704
5705 2003-03-13  John Levon  <levon@movementarian.org>
5706
5707         * lyxtext.h:
5708         * text.C:
5709         * text2.C:
5710         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5711
5712 2003-03-13  John Levon  <levon@movementarian.org>
5713
5714         * text3.C: fix appendix redrawing
5715
5716 2003-03-13  John Levon  <levon@movementarian.org>
5717
5718         * text.C (setHeightOfRow):
5719         * rowpainter.h:
5720         * rowpainter.C: make appendix mark have the text
5721           "Appendix" so the user knows what it is
5722
5723         * LColor.h:
5724         * LColor.C: s/appendixline/appendix/ from above
5725
5726 2003-03-13  John Levon  <levon@movementarian.org>
5727
5728         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5729
5730         * text.C: fix a getChar(pos) bug properly
5731
5732 2003-03-13  Angus Leeming  <leeming@lyx.org>
5733
5734         * commandtags.h:
5735         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5736         Probably only temporary. Let's see how things pan out.
5737
5738         * BufferView.C (unlockInset):
5739         * BufferView_pimpl.C (fitCursor):
5740         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5741
5742         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5743         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5744
5745         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5746         new functions that convert ParagraphParameters to and from a string.
5747
5748         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5749         BufferView::Pimpl's dispatch.
5750         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5751
5752 2003-03-13 André Pönitz <poenitz@gmx.net>
5753
5754         * lyxfunc.C:
5755         * text3.C:
5756         * factory.C: make it aware of InsetEnv
5757
5758 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5759
5760         * text2.C (setCursor): never ask for one past last
5761         (setCursor): add some debugging messages.
5762
5763         * text.C (singleWidth): never ask for one past last
5764         (singleWidth): ditto
5765         (leftMargin): ditto
5766         (rightMargin): ditto
5767         (rowBreakPoint): ditto
5768         (setHeightOfRow): ditto
5769         (prepareToPrint): ditto
5770
5771         * rowpainter.C (paintBackground): never ask for one past last
5772         (paintText): never ask for one past last
5773
5774         * paragraph_pimpl.C (getChar): make the assert stricter, never
5775         allow the one past last pos to be taken
5776
5777         * paragraph.C (getChar): ws changes only
5778
5779         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5780         (numberOfSeparators): ditto
5781         (numberOfHfills): ditto
5782
5783 2003-03-12  John Levon  <levon@movementarian.org>
5784
5785         * author.h:
5786         * author.C:
5787         * bufferparams.h:
5788         * bufferparams.C:
5789         * paragraph_funcs.C: fix per-buffer authorlists
5790
5791 2003-03-12  John Levon  <levon@movementarian.org>
5792
5793         * text.C: fix newline in right address
5794
5795 2003-03-12  Angus Leeming  <leeming@lyx.org>
5796
5797         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5798         duplicate those in LyXFunc::dispatch.
5799
5800         * commandtags.h:
5801         * LyXAction.C:
5802         * ToolbarDefaults.C:
5803         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5804         Add LFUN_FONTFREE_UPDATE.
5805
5806         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5807         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5808
5809         * bufferview_func.[Ch]: several new functions to facilliate
5810         transfer of data to and from the character dialog.
5811
5812 2003-03-12  John Levon  <levon@movementarian.org>
5813
5814         * buffer.C:
5815         * paragraph.h:
5816         * paragraph.C:
5817         * paragraph_funcs.C:
5818         * paragraph_pimpl.C:
5819         * sgml.C:
5820         * tabular.C:
5821         * text.C:
5822         * text3.C: remove META_NEWLINE in favour of an inset
5823
5824         * rowpainter.h:
5825         * rowpainter.C: remove paintNewline (done by inset)
5826
5827 2003-03-12  John Levon  <levon@movementarian.org>
5828
5829         * paragraph_pimpl.C: complain about bad getChar()s
5830         for a while at least
5831
5832 2003-03-12  John Levon  <levon@movementarian.org>
5833
5834         * buffer.h:
5835         * buffer.C: move paragraph read into a separate function,
5836         a little renaming to reflect that.
5837
5838         * bufferparams.h:
5839         * bufferparams.C: remove the author_ids map, not necessary now
5840
5841         * factory.h:
5842         * factory.C: moved Buffer::readInset to here
5843
5844         * paragraph_funcs.h:
5845         * paragraph_funcs.C: readParagraph free function moved from
5846         buffer.C
5847
5848         * tabular.C: name change
5849
5850 2003-03-12  John Levon  <levon@movementarian.org>
5851
5852         * buffer.C:
5853         * ParagraphParameters.C: move par params input to
5854         a read() method
5855
5856         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5857         behave like a normal read from the stream wrt reading
5858         a line vs. a \\token
5859
5860 2003-03-12  John Levon  <levon@movementarian.org>
5861
5862         * paragraph.C:
5863         * ParagraphParameters.h:
5864         * ParagraphParameters.C: move output code to a
5865         ::write() method
5866
5867 2003-03-12  John Levon  <levon@movementarian.org>
5868
5869         * BufferView.C (insertLyXFile):
5870         * buffer.h:
5871         * buffer.C:
5872         * tabular.C: use a parlist iterator for creating the
5873           document.
5874
5875 2003-03-12  John Levon  <levon@movementarian.org>
5876
5877         * buffer.C: make current_change static local not
5878           static file-scope
5879
5880 2003-03-12  John Levon  <levon@movementarian.org>
5881
5882         * buffer.C: fix insertStringAsLines for change tracking
5883
5884 2003-03-12  John Levon  <levon@movementarian.org>
5885
5886         * BufferView.C:
5887         * tabular.C:
5888         * buffer.h:
5889         * buffer.C:
5890         * bufferparams.h:
5891         * bufferparams.C: move author list into params. Rename some
5892           functions. Move the header reading into a separate token
5893           loop. Move the header token reading into BufferParams.
5894
5895 2003-03-12  John Levon  <levon@movementarian.org>
5896
5897         * changes.C: put debug inside lyxerr.debugging() checks
5898
5899 2003-03-11 André Pönitz <poenitz@gmx.net>
5900
5901         * factory.C: make it aware of InsetHFill
5902
5903 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5904
5905         * buffer.C (latexParagraphs): move function from here...
5906         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5907         args.
5908
5909 2003-03-10  Angus Leeming  <leeming@lyx.org>
5910
5911         * LyXAction.C (init): fix bug in poplating array with multiple entries
5912         with the same LFUN (spotted by JMarc).
5913
5914 2003-03-10  John Levon  <levon@movementarian.org>
5915
5916         * text.C:
5917         * text2.C: move getColumnNearX() near its
5918         only call site
5919
5920 2003-03-10  John Levon  <levon@movementarian.org>
5921
5922         * text.C: fix break before a minipage
5923
5924 2003-03-10  John Levon  <levon@movementarian.org>
5925
5926         * text.C: fix the last commit
5927
5928 2003-03-09  John Levon  <levon@movementarian.org>
5929
5930         * lyxtext.h:
5931         * text.C:
5932         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5933         bug 365 (don't break before insets unless needed). Don't
5934         return a value > last under any circumstances.
5935
5936 2003-03-09  Angus Leeming  <leeming@lyx.org>
5937
5938         * BufferView_pimpl.C (trackChanges, dispatch): call
5939         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5940
5941 2003-03-09  Angus Leeming  <leeming@lyx.org>
5942
5943         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5944         than Dialogs::showAboutlyx().
5945
5946 2003-03-09  Angus Leeming  <leeming@lyx.org>
5947
5948         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5949         than Dialogs::showTabularCreate().
5950
5951 2003-03-09  John Levon  <levon@movementarian.org>
5952
5953         * lyxtext.h:
5954         * text.C:
5955         * text2.C: 3rd arg to nextBreakPoint was always the same.
5956           Use references.
5957
5958 2003-03-08  John Levon  <levon@movementarian.org>
5959
5960         * lyxrow.C:
5961         * paragraph.C:
5962         * paragraph.h:
5963         * rowpainter.C:
5964         * text.C:
5965         * text2.C: Remove the "main" bit from the "main body"
5966           notion.
5967
5968 2003-03-08  John Levon  <levon@movementarian.org>
5969
5970         * text.C (leftMargin): The left margin of an empty
5971         manual label paragraph should not include the label width
5972         string length.
5973
5974         * text.C (prepareToPrint): don't attempt to measure hfills
5975         for empty manual label paragraphs - the answer should be 0
5976
5977 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5978
5979         * CutAndPaste.C: remove commented code and reindent.
5980
5981 2003-03-08  John Levon  <levon@movementarian.org>
5982
5983         * lyxfunc.h:
5984         * lyxfunc.C: move reloadBuffer()
5985
5986         * BufferView.h:
5987         * BufferView.C: to here
5988
5989         * lyxvc.C: add comment
5990
5991         * vc-backend.h:
5992         * vc-backend.C: call bv->reload() to avoid
5993           getStatus() check on MENURELOAD
5994
5995 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
5996
5997         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5998         to an old format .dep file.
5999
6000 2003-03-07  Angus Leeming  <leeming@lyx.org>
6001
6002         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6003         when the LFUN_MOUSE_RELEASE should have been handled by
6004         inset->localDispatch.
6005
6006 2003-03-07  Angus Leeming  <leeming@lyx.org>
6007
6008         * BufferView_pimpl.C (dispatch):
6009         * LyXAction.C (init):
6010         * ToolbarDefaults.C (init):
6011         * commandtags.h:
6012         * lyxfunc.C (getStatus):
6013         remove LFUN_INSET_GRAPHICS.
6014
6015         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6016
6017 2003-03-07  Angus Leeming  <leeming@lyx.org>
6018
6019         * commandtags.h:
6020         * LyXAction.C (init):
6021         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6022
6023         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6024
6025         * commandtags.h:
6026         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6027
6028         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6029         localDispatch method LFUN_INSET_DIALOG_UPDATE.
6030
6031 2003-03-07  Angus Leeming  <leeming@lyx.org>
6032
6033         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6034         remove "ert".
6035
6036 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6037
6038         * ParagraphList.C (front): new function
6039         (back): implement
6040
6041 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
6042
6043         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6044         and top_row_offset_. removed var first_y.
6045         * text.C (top_y):
6046         * text2.C (LyXText, removeRow):
6047         * text3.C:
6048         * BufferView_pimpl.C:
6049         use these methods instead of using first_y
6050
6051 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6052
6053         * text2.C (pasteSelection): adjust for checkPastePossible
6054
6055         * CutAndPaste.C: remove Paragraph * buf and replace with
6056         ParagraphList paragraphs.
6057         (DeleteBuffer): delete
6058         (cutSelection): change the tc type to textclass_type
6059         (copySelection): change the tc type to textclass_type
6060         (copySelection): adjust for ParagraphList
6061         (pasteSelection): change the tc type to textclass_type
6062         (pasteSelection): adjust for Paragraphlist
6063         (nrOfParagraphs): simplify for ParagraphList
6064         (checkPastePossible): simplify for ParagraphList
6065         (checkPastePossible): remove unused arg
6066
6067         * ParagraphList.C (insert): handle the case where there are no
6068         paragraphs yet.
6069
6070         * CutAndPaste.h: make CutAndPaste a namespace.
6071
6072         * text3.C (dispatch): adjust
6073
6074         * text.C (breakParagraph): add a ParagraphList as arg
6075
6076         * paragraph_funcs.C (breakParagraph): change to take a
6077         BufferParams and a ParagraphList as args.
6078         (breakParagraphConservative): ditto
6079         (mergeParagraph): ditto
6080         (TeXDeeper): add a ParagraphList arg
6081         (TeXEnvironment): ditto
6082         (TeXOnePar): ditto
6083
6084         * buffer.C (readLyXformat2): adjust
6085         (insertStringAsLines): adjust
6086         (latexParagraphs): adjust
6087
6088         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6089         (cutSelection): adjust
6090         (pasteSelection): adjust
6091
6092         * BufferView_pimpl.C (insertInset): adjust
6093
6094 2003-03-05  Angus Leeming  <leeming@lyx.org>
6095
6096         * commandtags.h:
6097         * LyXAction.C (init):
6098         * BufferView_pimpl.C (dispatch):
6099         * lyxfunc.C (getStatus):
6100         remove LFUN_CHILD_INSERT.
6101
6102         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6103
6104 2003-03-05  Angus Leeming  <leeming@lyx.org>
6105
6106         * commandtags.h:
6107         * LyXAction.C (init):
6108         * src/factory.C (createInset):
6109         * lyxfunc.C (getStatus):
6110         * text3.C (dispatch):
6111         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6112
6113         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6114
6115 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6116
6117         * ParagraphList.C (insert): handle insert right before end()
6118         (erase): fix cases where it can be first or last paragraph.
6119
6120 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6121
6122         * paragraph_funcs.C (TeXEnvironment): remove all usage of
6123         Paragraph::next and Paragraph::previous
6124         (TeXOnePar): ditto
6125
6126         * text.C (breakParagraph): adjust
6127
6128         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6129         BufferParams& as arg.
6130         (breakParagraph): use ParagraphList::insert
6131         (breakParagraphConservative): take a Buffer* instead of a
6132         BufferParams& as arg.
6133         (breakParagraphConservative): use ParagraphList::insert.
6134
6135         * buffer.C (insertStringAsLines): un-const it
6136         (insertStringAsLines): adjust
6137
6138         * ParagraphList.C (insert): new function
6139
6140         * CutAndPaste.C (pasteSelection): adjust
6141
6142         * text.C (backspace): adjust
6143
6144         * tabular.C (SetMultiColumn): adjust
6145
6146         * CutAndPaste.C (cutSelection): adjust
6147         (pasteSelection): adjust
6148
6149         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6150         Buffer const * as arg
6151
6152         * ParagraphList.C (erase): new function
6153         * paragraph_funcs.C (mergeParagraph): use it
6154         (mergeParagraph): make it take a Buffer* instead of a
6155         BufferParams* as arg
6156
6157         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6158         as arg
6159         (breakParagraphConservative): ditto
6160
6161         * paragraph.h: remove the breakParagraph friend
6162
6163         * paragraph.C (eraseIntern): new function
6164         (setChange): new function
6165
6166         * paragraph_funcs.C (mergeParagraph): make it take a
6167         ParagraphList::iterator instead of a Paragraph *, adjust
6168         accordingly.
6169
6170         * paragraph.h: move an #endif so that the change tracking stuff
6171         also works in the NO_NEXT case.
6172
6173 2003-03-04  Angus Leeming  <leeming@lyx.org>
6174
6175         * commandtags.h:
6176         * LyXAction.C: new LFUN_INSET_MODIFY.
6177
6178         * BufferView_pimpl.C (dispatch): if an inset is found to be open
6179         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6180
6181 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6182
6183         * several files: ws changes only
6184
6185         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6186         (TeXEnvironment): ditto
6187         (TeXDeeper): ditto
6188
6189         * buffer.C (makeLaTeXFile): adjust
6190         (latexParagraphs): make it take ParagraphList::iterator as args
6191
6192 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6193
6194         * buffer.C (latexParagraphs): adjust
6195
6196         * paragraph.C (TeXOnePar): move function...
6197         (optArgInset): move function...
6198         (TeXEnvironment): move function...
6199         * paragraph_pimpl.C (TeXDeeper): move function...
6200         * paragraph_funcs.C: ...here
6201
6202         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6203
6204 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6205
6206         * buffer.C (readInset): remove compability code for old Figure and
6207         InsetInfo insets
6208
6209 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6210
6211         * buffer.C: ws changes
6212         (readInset):
6213
6214         * BufferView_pimpl.C: ditto
6215         * author.C: ditto
6216         * buffer.h: ditto
6217         * bufferlist.h: ditto
6218         * changes.h: ditto
6219         * lyxfunc.C: ditto
6220
6221 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
6222
6223         * converter.[Ch]: split into itself +
6224         * graph.[Ch]
6225         * format.[Ch]
6226         * Makefile.am: += graph.[Ch] + format.[Ch]
6227         * MenuBackend.C
6228         * buffer.C
6229         * exporter.C
6230         * importer.C
6231         * lyx_main.C
6232         * lyxfunc.C
6233         * lyxrc.C: added #include "format.h"
6234
6235 2003-02-27  Angus Leeming  <leeming@lyx.org>
6236
6237         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6238           a label.
6239
6240         * factory.C (createInset): add "label" to the factory.
6241
6242         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6243           string and do no more.
6244
6245 2003-02-27  Angus Leeming  <leeming@lyx.org>
6246
6247         * commandtags.h:
6248         * LyXAction.C (init):
6249         * factory.C (createInset):
6250         * BufferView_pimpl.C (dispatch):
6251           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6252
6253         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6254
6255         * lyxfunc.C (dispatch):
6256         * text3.C (dispatch): pass name to params2string.
6257
6258 2003-02-26  Angus Leeming  <leeming@lyx.org>
6259
6260         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6261           blocks together.
6262           Rearrange the ~includes. Strip out the unnecessary ones.
6263
6264         * factory.C (createInset): reformat.
6265           create new insets for the various LFUN_XYZ_APPLY lfuns.
6266
6267 2003-02-26  John Levon  <levon@movementarian.org>
6268
6269         * lyxrow.h:
6270         * lyxrow.C: add isParStart,isParEnd helpers
6271
6272         * paragraph.h: make isInserted/DeletedText take refs
6273
6274         * paragraph_funcs.h:
6275         * paragraph_funcs.C: remove #if 0'd code
6276
6277         * lyxtext.h:
6278         * text3.C:
6279         * text2.C:
6280         * text.C: use lyxrow helpers above.
6281           Move draw and paint routines to RowPainter.
6282           Make several methods use refs not pointers.
6283           Make backgroundColor() const.
6284           Add markChangeInDraw(), isInInset().
6285           Merge changeRegionCase into changeCase.
6286           Make workWidth() shouldn't-happen code into an Assert.
6287
6288         * rowpainter.h:
6289         * rowpainter.C: new class for painting a row.
6290
6291         * vspace.h:
6292         * vspace.C: make inPixels take a ref
6293
6294 2003-02-26  Angus Leeming  <leeming@lyx.org>
6295
6296         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6297         LFUN_REF_APPLY.
6298
6299 2003-02-25  John Levon  <levon@movementarian.org>
6300
6301         * ispell.C: give the forked command a more accurate name
6302
6303 2003-02-22  John Levon  <levon@movementarian.org>
6304
6305         * toc.h:
6306         * toc.C: make TocItem store an id not a Paragraph *
6307           (bug #913)
6308
6309 2003-02-21  Angus Leeming  <leeming@lyx.org>
6310
6311         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6312           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6313           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6314           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6315           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6316           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6317
6318         * BufferView_pimpl.C (dispatch):
6319         * LyXAction.C (init):
6320         * factory.C (createInset):
6321         * lyxfunc.C (getStatus, dispatch):
6322         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6323
6324 2003-02-21  Angus Leeming  <leeming@lyx.org>
6325
6326         * BufferView_pimpl.C (MenuInsertLyXFile):
6327         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6328         * lyxfunc.C (menuNew, open, doImport):
6329           no longer pass a LyXView & to fileDlg.
6330
6331 2003-02-21  Angus Leeming  <leeming@lyx.org>
6332
6333         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6334         * LyXAction.C: change, BIBKEY to BIBITEM.
6335         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6336         Change InsetBibKey to InsetBibitem.
6337         Change BIBKEY_CODE to BIBITEM_CODE.
6338         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6339         * factory.C: replace insetbib.h with insetbibitem.h.
6340         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6341         * paragraph.C: replace insetbib.h with insetbibitem.h.
6342         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6343         Change bibkey() to bibitem().
6344         * text.C: remove insetbib.h.
6345         * text2.C: replace insetbib.h with insetbibitem.h.
6346         change bibkey() to bibitem().
6347         * text3.C: remove insetbib.h.
6348         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6349
6350 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6351
6352         * lyxrc.C (output): enclose user email in quotes (in case there are
6353         several words)
6354
6355 2003-02-18  John Levon  <levon@movementarian.org>
6356
6357         * buffer.h: add std::
6358
6359 2003-02-17  John Levon  <levon@movementarian.org>
6360
6361         * SpellBase.h:
6362         * ispell.h:
6363         * ispell.C:
6364         * pspell.h:
6365         * pspell.C: reworking. Especially in ispell, a large
6366           number of clean ups and bug fixes.
6367
6368         * lyxfunc.C: fix revert to behave sensibly
6369
6370 2003-02-17 André Pönitz <poenitz@gmx.net>
6371
6372         * LyXAction.C:
6373         * commandtags.h: new LFUN_INSERT_BIBKEY
6374
6375         * layout.h:
6376         * lyxlayout.C:
6377         * buffer.C:
6378         * factory.C:
6379         * text.C:
6380         * text2.C:
6381         * text3.C:
6382         * paragraph.[Ch]:
6383         * paragraph_func.C: remove special bibkey handling
6384
6385 2003-02-17  John Levon  <levon@movementarian.org>
6386
6387         * text.C (Delete): fix case where delete at the end of
6388           the very first paragraph would not merge the pars
6389
6390 2003-02-17  John Levon  <levon@movementarian.org>
6391
6392         * lyxrow.C: fix lastPrintablePos()
6393
6394 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6395
6396         * bufferparams.C (writeLaTeX): add a std:here
6397
6398         * buffer.C: and remove a using directive there
6399
6400 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6401
6402         * buffer.C (makeLaTeXFile): move the code that generates the
6403           preamble...
6404
6405         * bufferparams.C (writeLaTeX): ... in this new method
6406
6407         * LaTeXFeatures.C (getEncodingSet): make const
6408           (getLanguages): make const
6409
6410         * MenuBackend.C (binding): returns the binding associated to this
6411           action
6412           (add): sets the status of each item by calling getStatus. Adds
6413           some intelligence.
6414           (read): add support for OptSubMenu
6415           (expand): remove extra separator at the end of expanded menu
6416
6417 2003-02-15  John Levon  <levon@movementarian.org>
6418
6419         * BufferView.C:
6420         * BufferView_pimpl.C:
6421         * bufferlist.h:
6422         * bufferlist.C: remove pointless BufferStorage bloat. Remove
6423           inset code that had no actual effect. Remove unneeded status
6424           code.
6425
6426 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6427
6428         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6429           in preamble
6430
6431 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
6432
6433         * text.C (drawLengthMarker): also draw an arrow marker for
6434           symbolic lengths (medskip...)
6435
6436 2003-02-14  John Levon  <levon@movementarian.org>
6437
6438         * tabular.h:
6439         * tabular.C: better method names
6440
6441 2003-02-14  John Levon  <levon@movementarian.org>
6442
6443         * BufferView_pimpl.C:
6444         * bufferlist.C:
6445         * buffer.C:
6446         * converter.C:
6447         * lyx_cb.C:
6448         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6449           it's a more accurate name. Remove some pointless uses.
6450
6451 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6452
6453         * text2.C (LyXText): change order of initilizers to shut off
6454           warnings
6455
6456 2003-02-14  John Levon  <levon@movementarian.org>
6457
6458         * buffer.C: use ParIterator for getParFromID()
6459
6460         * paragraph.h:
6461         * paragraph.C:
6462         * paragraph_pimpl.h:
6463         * paragraph_pimpl.C: remove unused getParFromID()
6464
6465 2003-02-14  John Levon  <levon@movementarian.org>
6466
6467         * buffer.C: remove some very old #if 0'd parse code
6468
6469 2003-02-13  John Levon  <levon@movementarian.org>
6470
6471         * text.h:
6472         * text.C:
6473         * text2.C: move hfillExpansion(), numberOfSeparators(),
6474           rowLast(), rowLastPrintable(), numberofHfills(),
6475           numberOfLabelHfills() ...
6476
6477         * lyxrow.h:
6478         * lyxrow.C: ... to member functions here.
6479
6480         * paragraph.h:
6481         * paragraph.C:
6482         * lyxtext.h:
6483         * text.C: remove LyXText::beginningOfMainBody(), and call
6484           p->beginningOfMainBody() directly. Move the check for
6485           LABEL_MANUAL into the latter.
6486
6487         * text.h:
6488         * text.C:
6489         * text2.C:
6490         * vspace.C:
6491         * BufferView.h:
6492         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6493
6494         * text.h:
6495         * text.C:
6496         * text2.C:
6497         * text3.C:
6498         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6499           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6500
6501 2003-02-13  John Levon  <levon@movementarian.org>
6502
6503         * CutAndPaste.C: remove debug
6504
6505 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6506
6507         * paragraph.C (asString): remove two unused variables
6508
6509         * lyxtextclass.C (readTitleType):
6510           (Read):
6511           (LyXTextClass): handle new members titletype_ and titlename_
6512
6513         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6514
6515 2003-02-09  John Levon  <levon@movementarian.org>
6516
6517         * buffer.h:
6518         * buffer.C: replace hand-coded list with a map for the dep clean
6519
6520 2003-02-08  John Levon  <levon@movementarian.org>
6521
6522         * LaTeX.C: consolidate code into showRunMessage() helper
6523
6524 2003-02-08  John Levon  <levon@movementarian.org>
6525
6526         * lyxfind.C:
6527         * lyxtext.h:
6528         * text2.C:
6529         * BufferView.C: change setSelectionOverString() to setSelectionRange()
6530           and pass the size in explicitly
6531
6532         * BufferView_pimpl.h:
6533         * BufferView_pimpl.C:
6534         * BufferView.h:
6535         * BufferView.C: add getCurrentChange()
6536
6537         * BufferView_pimpl.h:
6538         * BufferView_pimpl.C: handle change lfuns
6539
6540         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6541           for changes. Mark pasted paragraphs as new.
6542
6543         * support/lyxtime.h:
6544         * support/lyxtime.C:
6545         * DepTable.C: abstract time_t as lyx::time_type
6546
6547         * LColor.h:
6548         * LColor.C: add colours for new text, deleted text, changebars
6549
6550         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6551           package use "usenames" option.
6552
6553         * commandtags.h:
6554         * lyxfunc.C:
6555         * LyXAction.C: add change lfuns
6556
6557         * Makefile.am:
6558         * author.h:
6559         * author.C: author handling
6560
6561         * buffer.h:
6562         * buffer.C: add a per-buffer author list, with first entry as
6563           current author. Handle new .lyx tokens for change tracking. Output
6564           author list to .lyx file. Output dvipost stuff to .tex preamble.
6565           Bump lyx format to 222.
6566
6567         * bufferlist.h:
6568         * bufferlist.C: add setCurrentAuthor() to reset current author details
6569           in all buffers.
6570
6571         * bufferparams.h:
6572         * bufferparams.C: add param for tracking
6573
6574         * bufferview_funcs.C: output change info in minibuffer
6575
6576         * Makefile.am:
6577         * changes.h:
6578         * changes.C: add change-tracking structure
6579
6580         * debug.h:
6581         * debug.C: add CHANGES debug flag
6582
6583         * lyxfind.h:
6584         * lyxfind.C: add code for finding the next change piece
6585
6586         * lyxrc.h:
6587         * lyxrc.C: add user_name and user_email
6588
6589         * lyxrow.h:
6590         * lyxrow.C: add a metric for the top of the text line
6591
6592         * lyxtext.h:
6593         * text.C: implement accept/rejectChange()
6594
6595         * lyxtext.h:
6596         * text.C: paint changebars. Paint new/deleted text in the chosen
6597         colours. Strike through deleted text.
6598
6599         * paragraph.h:
6600         * paragraph.C:
6601         * paragraph_pimpl.h:
6602         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6603           in the current change to the insert functions. Rework erase to
6604           mark text as deleted, adding an eraseIntern() and a range-based
6605           erase(). Implement per-paragraph change lookup and
6606           accept/reject.
6607
6608         * paragraph_funcs.C: Fixup paste for change tracking.
6609
6610         * tabular.C: mark added row/columns as new.
6611
6612         * text.C: fix rowLast() to never return -1. Don't allow
6613           spellchecking of deleted text. Track transpose changes. Don't
6614           allow paragraph break or merge where appropriate.
6615
6616         * text2.C: leave cursor at end of selection after a cut.
6617
6618 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6619
6620         * text.C (getLengthMarkerHeight):
6621         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6622         visible on screen too.
6623
6624 2003-02-07  John Levon  <levon@movementarian.org>
6625
6626         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6627
6628 2003-02-05  Angus Leeming  <leeming@lyx.org>
6629
6630         * lyxserver.C (read_ready): revert my patch of 11 September last year
6631         as it sends PC cpu through the roof. Presumably this means that
6632         the lyxserver will no longer run on an Alpha...
6633
6634 2003-01-30  Angus Leeming  <leeming@lyx.org>
6635
6636         * factory.C (createInset): create an InsetCommandParam of type "index"
6637         and use it to 'do the right thing'.
6638
6639         * text2.C (getStringToIndex): ensure that cursor position is always
6640         reset to the reset_cursor position.
6641
6642 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6643
6644         * lyxfunc.C (getStatus): "buffer-export custom" should never be
6645         disabled.
6646
6647 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
6648
6649         * bufferview.C:
6650         * lyxcb.C:
6651         * lyxfunc.C: Output messages with identical spelling, punctuation,
6652         and spaces
6653
6654 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
6655
6656         * MenuBackend.C (expandFormats): List only viewable export formats
6657         in "View" menu
6658
6659         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6660         message
6661
6662         * lyxfunc.C (getStatus): Make sure that formats other than
6663         "fax" can also be disabled
6664
6665 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6666
6667         * text3.C (dispatch): put the lfuns that insert insets in 3
6668         groups, and call doInsertInset with appropriate arguments.
6669         (doInsertInset): new function, that creates an inset and inserts
6670         it according to some boolean parameters.
6671
6672 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6673
6674         * buffer.C (readFile): remember to pass on 'par' when calling
6675         readFile recursively.
6676
6677 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6678
6679         * MenuBackend.C (expandFormats): add "..." to import formats.
6680
6681 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
6682
6683         * paragraph.C (asString): Remove XForms RTL hacks.
6684
6685 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
6686         * buffer.C: fix typo
6687
6688 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6689
6690         * Makefile.am (LIBS): delete var
6691         (lyx_LDADD): add @LIBS@ here instead.
6692
6693 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
6694
6695         * Clarify the meaning of "wheel mouse jump"
6696
6697 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6698
6699         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6700         tabular in a float
6701
6702 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6703
6704         * importer.C (Loaders): do not preallocate 3 elements in the
6705         vector, since one ends up with 6 elements otherwise
6706
6707 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6708
6709         * DepTable.C (write): write the file name as last element of the
6710         .dep file (because it may contain spaces)
6711         (read): read info in the right order
6712
6713 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6714
6715         * paragraph_pimpl.C (simpleTeXBlanks):
6716         (simpleTeXSpecialChars):
6717         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6718
6719         * tabular.C (latex): add some missing case statements. Reindent.
6720
6721         * MenuBackend.C (expandToc): remove unused variable.
6722
6723 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
6724
6725         * LColor.C:
6726         * LaTeX.C:
6727         * LyXAction.C:
6728         * MenuBackend.C:
6729         * buffer.C:
6730         * exporter.C:
6731         * lyxfunc.C:
6732         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6733         and the like.
6734
6735 2003-01-05  John Levon  <levon@movementarian.org>
6736
6737         * BufferView.h:
6738         * BufferView.C: add getEncoding()
6739
6740         * kbsequence.h:
6741         * kbsequence.C: do not store last keypress
6742
6743         * lyxfunc.h:
6744         * lyxfunc.C: store last keypress here instead. Pass encoding
6745           to getISOEncoded()
6746
6747 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6748
6749         * lyx_main.C (init): remove annoying error message when following
6750         symbolic links (bug #780)
6751
6752 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6753
6754         * text.C (insertChar):
6755         * lyxrc.C (getDescription): remove extra spaces
6756
6757 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6758
6759         * lyxrc.C (getDescription): remove extra spaces
6760
6761 2002-12-20  John Levon  <levon@movementarian.org>
6762
6763         * text3.C: hack fix for page up/down across tall rows
6764
6765 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6766
6767         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6768         not been invoked
6769
6770 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6771
6772         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6773         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6774         thesaurus is not compiled in
6775
6776 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
6777
6778         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6779
6780 2002-12-16  Angus Leeming  <leeming@lyx.org>
6781
6782         * lyxrc.[Ch]:
6783         * lyx_main.C (init): remove override_x_deadkeys stuff.
6784
6785 2002-12-12  John Levon  <levon@movementarian.org>
6786
6787         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6788           insert. Only remove shift modifier under strict
6789           circumstances.
6790
6791 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6792
6793         * MenuBackend.C (expandToc): fix crash.
6794
6795 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6796
6797         * MenuBackend.C (expandToc): gettext on float names.
6798
6799 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6800
6801         * lyxlength.[Ch]: set default unit to UNIT_NONE,
6802         implement bool empty() [bug 490]
6803
6804 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6805
6806         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6807
6808 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6809
6810         * several files: ws changes
6811
6812 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6813
6814         * text2.C (setCounter): clean up a bit, use boost.format.
6815         (updateCounters): initialize par upon declaration.
6816
6817         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6818         if the layout exists. We do not just store the layout any more.
6819         (SwitchLayoutsBetweenClasses): use boost.format
6820
6821 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6822
6823         * converter.C (convert): if from and to files are the same, use a
6824         temporary files as intermediary
6825
6826 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6827
6828         * commandtags.h:
6829         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6830
6831 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6832
6833         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6834
6835 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6836
6837         * tabular.C (asciiPrintCell): use string(size, char) instead of
6838         explicit loop.
6839
6840         * sgml.C (openTag): fix order of arguments to string constructor
6841         (closeTag): ditto
6842
6843         * lyxfunc.C (dispatch): use boost.format
6844
6845         * lots of files: change "c" -> 'c'
6846
6847 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6848
6849         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6850
6851 2002-11-25  Angus Leeming  <leeming@lyx.org>
6852
6853         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6854
6855         * lyx_main.C (init): compile fix.
6856
6857 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6858
6859         * lyx_cb.C (start): boost.formatify
6860         do not include <iostream>
6861
6862         * lengthcommon.C: ws only
6863
6864         * boost-inst.C,BoostFormat.h: add more explict instantations
6865
6866 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6867
6868         * lots of files: handle USE_BOOST_FORMAT
6869
6870 2002-11-21  John Levon  <levon@movementarian.org>
6871
6872         * pspell.C: fix compile
6873
6874 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6875
6876         * lyxfunc.C (dispatch): use boost::format
6877         (open): ditto
6878         (doImport): ditto
6879
6880         * lyxfont.C (stateText): use boost::format
6881
6882         * lyx_main.C (LyX): use boost::format
6883         (init): ditto
6884         (queryUserLyXDir): ditto
6885         (readRcFile): ditto
6886         (parse_dbg): ditto
6887         (typedef boost::function): use the recommened syntax.
6888
6889         * importer.C (Import): use boost::format
6890
6891         * debug.C (showLevel): use boost::format
6892
6893         * converter.C (view): use boost::format
6894         (convert): ditto
6895         (move): ditto
6896         (scanLog): ditto
6897
6898         * bufferview_funcs.C (currentState): use boost::format
6899
6900         * bufferlist.C (emergencyWrite): use boost::format
6901
6902         * buffer.C (readLyXformat2): use boost::format
6903         (parseSingleLyXformat2Token): ditto
6904
6905         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6906
6907         * LaTeX.C (run): use boost::format
6908
6909         * Chktex.C (scanLogFile): use boost::format
6910
6911         * BufferView_pimpl.C (savePosition): use boost::format
6912         (restorePosition): ditto
6913         (MenuInsertLyXFile): ditto
6914
6915         * BoostFormat.h: help file for explicit instation.
6916
6917 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6918
6919         * tabular.C (latex): Support for block alignment in fixed width
6920         columns.
6921
6922 2002-11-17  John Levon  <levon@movementarian.org>
6923
6924         * BufferView_pimpl.C:
6925         * lyx_cb.C:
6926         * lyxfunc.C: split filedialog into open/save
6927
6928 2002-11-08  Juergen Vigna  <jug@sad.it>
6929
6930         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6931         by my last patch (hopefully).
6932
6933 2002-11-08  John Levon  <levon@movementarian.org>
6934
6935         * iterators.h:
6936         * iterators.C:
6937         * buffer.h:
6938         * buffer.C:
6939         * paragraph.h:
6940         * paragraph.C:
6941         * toc.h:
6942         * toc.C: ParConstIterator, and use it (from Lars)
6943
6944 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6945
6946         * lyxtextclass.[Ch]: revise and add doxygen comments
6947
6948 2002-11-07  John Levon  <levon@movementarian.org>
6949
6950         * text.C: fix progress value for spellchecker
6951
6952         * toc.C: fix navigate menu for insetwrap inside minipage
6953
6954         * paragraph_funcs.C: added FIXME for suspect code
6955
6956 2002-11-07  John Levon  <levon@movementarian.org>
6957
6958         * BufferView_pimpl.C: fix redrawing of insets
6959           on buffer switch
6960
6961 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6962
6963         * text2.C (updateCounters): fix bug 668
6964
6965 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
6966
6967         * text3.C (dispatch): Do not make the buffer dirty when moving the
6968         cursor.
6969
6970 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6971
6972         * vc-backend.C: STRCONV
6973         (scanMaster): ditto
6974
6975         * text2.C (setCounter): STRCONV
6976
6977         * paragraph.C (asString): STRCONV
6978
6979         * lyxlength.C (asString): STRCONV
6980         (asLatexString): ditto
6981
6982         * lyxgluelength.C (asString): STRCONV
6983         (asLatexString): ditto
6984
6985         * lyxfunc.C (dispatch): STRCONV
6986         (open): ditto
6987
6988         * lyxfont.C (stateText): STRCONV
6989
6990         * importer.C (Import): STRCONV
6991
6992         * counters.C (labelItem): STRCONV
6993         (numberLabel): ditto
6994         (numberLabel): remove unused ostringstream o
6995
6996         * chset.C: STRCONV
6997         (loadFile): ditto
6998
6999         * bufferview_funcs.C (currentState): STRCONV
7000
7001         * buffer.C (readFile): STRCONV
7002         (asciiParagraph): ditto
7003         (makeLaTeXFile): ditto
7004
7005         * Spacing.C (writeEnvirBegin): STRCONV
7006
7007         * LaTeXFeatures.C (getLanguages): STRCONV
7008         (getPackages): ditto
7009         (getMacros): ditto
7010         (getBabelOptions): ditto
7011         (getTClassPreamble): ditto
7012         (getLyXSGMLEntities): ditto
7013         (getIncludedFiles): ditto
7014
7015         * LaTeX.C: STRCONV
7016         (run): ditto
7017         (scanAuxFile): ditto
7018         (deplog): ditto
7019
7020         * LString.h: add the STRCONV macros
7021
7022         * BufferView_pimpl.C (savePosition): STRCONV
7023         (restorePosition): ditto
7024         (MenuInsertLyXFile): ditto
7025
7026         * vc-backend.C (scanMaster): change from submatch[...] to
7027         submatch.str(...)
7028
7029         * funcrequest.C: include config.h
7030
7031         * factory.C: include config.h
7032
7033         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7034
7035         * box.C: include config.h
7036
7037         * LaTeX.C (scanAuxFile): change from submatch[...] to
7038         submatch.str(...)
7039         (deplog): ditto
7040
7041 2002-10-25  Angus Leeming  <leeming@lyx.org>
7042
7043         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7044
7045         * ispell.[Ch] (setError): new method.
7046         * ispell.C (c-tor): move out child process into new class LaunchIspell.
7047         Use setError() insetead of goto END.
7048
7049         * lyx_cb.C (AutoSave): move out child process into new class
7050         AutoSaveBuffer.
7051
7052 2002-10-30  John Levon  <levon@movementarian.org>
7053
7054         * text3.C: make start appendix undoable
7055
7056 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
7057
7058         * lyxlength.C (inPixels): Fix returned value.
7059
7060         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7061         environment.
7062
7063 2002-10-24  Angus Leeming  <leeming@lyx.org>
7064
7065         * lyxgluelength.h: no need to forward declare BufferParams
7066         or BufferView, so don't.
7067
7068 2002-10-21  John Levon  <levon@movementarian.org>
7069
7070         * BufferView.C: menuUndo ->undo, redo
7071
7072         * BufferView.h: document, remove dead, make some methods private
7073
7074         * paragraph_funcs.h:
7075         * paragraph_funcs.C:
7076         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7077
7078         * buffer.h:
7079         * buffer.C:
7080         * sgml.h:
7081         * sgml.C: move sgml open/close tag into sgml.C
7082
7083         * bufferview_funcs.h: unused prototype
7084
7085         * lyxfunc.h:
7086         * lyxfunc.C: remove unused
7087
7088         * lyxtext.h:
7089         * text.C: remove unused
7090
7091 2002-10-21  John Levon  <levon@movementarian.org>
7092
7093         * BufferView.h:
7094         * BufferView.C:
7095         * BufferView_pimpl.h:
7096         * BufferView_pimpl.C: fix mouse wheel handling based on
7097           patch from Darren Freeman
7098
7099 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
7100
7101         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7102
7103 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
7104
7105         * lyxlength.C (inPixels): Fix hanfling of negative length.
7106         Fix LyXLength::MU case.
7107
7108 2002-10-16  John Levon  <levon@movementarian.org>
7109
7110         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7111
7112 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7113
7114         * converter.C (view): add support for $$i (file name) and $$p
7115         (file path) for the viewer command. If $$i is not specified, then
7116         it is appended to the command (for compatibility with old syntax)
7117
7118 2002-10-14  Juergen Vigna  <jug@sad.it>
7119
7120         * undo_funcs.C (textHandleUndo): alter the order in which the
7121         new undopar is added to the LyXText, as we have to set first
7122         the right prev/next and then add it as otherwise the rebuild of
7123         LyXText is not correct. Also reset the cursor to the right paragraph,
7124         with this IMO we could remove the hack in "redoParagraphs()".
7125
7126 2002-10-09  Angus Leeming  <leeming@lyx.org>
7127
7128         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7129         to turn off an optimisation if a new inset is to be inserted.
7130
7131 2002-10-11 André Pönitz <poenitz@gmx.net>
7132
7133         * lyxtext.h: make some functions public to allow access
7134         from inset/lyxtext for handling LFUN_PRIOR/NEXT
7135
7136 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7137
7138         * text3.C (dispatch): when changing layout, avoid an infinite loop
7139         [bug #652]
7140
7141 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7142
7143         * lyxrc.C (read): treat a viewer or converter command of "none" as
7144         if it were empty.
7145
7146         * MenuBackend.C (expandFormats): for an update, also allow the
7147         formats that are not viewable
7148
7149         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7150         script if it is newer than the lyxrc.defaults in user directory
7151
7152 2002-10-07 André Pönitz <poenitz@gmx.net>
7153
7154         * text.C: Vitaly Lipatov's small i18n fix
7155
7156 2002-09-25  Angus Leeming  <leeming@lyx.org>
7157
7158         * ispell.h: doxygen fix.
7159
7160 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
7161
7162         * buffer.h (readFile): Add a new argument to the method, to allow
7163         reading of old-format templates.
7164
7165 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
7166
7167         * toc.C (getTocList): Get TOC from InsetWrap.
7168
7169 2002-09-16  John Levon  <levon@movementarian.org>
7170
7171         * lyxfunc.C: check tabular for cut/copy too
7172
7173 2002-09-12  John Levon  <levon@movementarian.org>
7174
7175         * LyXAction.C: tidy
7176
7177         * factory.h:
7178         * factory.C: add header
7179
7180         * paragraph_funcs.h:
7181         * paragraph_funcs.C: cleanup
7182
7183 2002-09-11  John Levon  <levon@movementarian.org>
7184
7185         * PrinterParams.h: odd/even default to true
7186
7187 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
7188
7189         * PrinterParams.h: update printer parameters for new xforms dialog
7190
7191 2002-09-11  Angus Leeming  <leeming@lyx.org>
7192
7193         * lyxserver.C (read_ready): re-write to make it more transparent
7194         and to make it work in coherent fashion under Tru64 Unix.
7195
7196 2002-09-11  André Pönitz <poenitz@gmx.net>
7197
7198         * commandtags.h:
7199         * LyXAction.C:
7200         * text3.C: implement LFUN_WORDSEL
7201
7202 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7203
7204         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7205         make floatlist_ a boost::shared_ptr<FloatList>
7206
7207         * lyxtextclass.C: include FloatList.h
7208         (LyXTextClass): initialize floatlist_
7209         (TextClassTags): add TC_NOFLOAT
7210         (Read): match "nofloat" to TC_NOFLOAT and use it.
7211         (readFloat): modify call to floatlist_
7212         (floats): ditto
7213         (floats): ditto
7214
7215         * FloatList.[Ch] (FloatList): remove commented out float
7216         initialization.
7217         (erase): new function
7218
7219 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7220
7221         * MenuBackend.C (expandToc): fix crash when there is no document
7222         open
7223
7224 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
7225
7226         * many files: Add insetwrap.
7227
7228 2002-09-09  John Levon  <levon@movementarian.org>
7229
7230         * text2.C: remove confusing and awkward depth wraparound
7231
7232 2002-09-09  John Levon  <levon@movementarian.org>
7233
7234         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7235
7236         * buffer.h:
7237         * buffer.C: remove getIncludeonlyList()
7238
7239         * paragraph.C:
7240         * lyxfunc.C: remove headers
7241
7242 2002-09-09  Juergen Vigna  <jug@sad.it>
7243
7244         * text.C (getColumnNearX): fix form Michael this is most
7245         probably a cut&paste bug.
7246
7247 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7248
7249         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7250
7251         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7252         references, ws changes.
7253
7254         * text2.C (init): update counters after init
7255         (insertParagraph): no need to set counter on idividual paragraphs.
7256         (setCounter): access the counters object in the textclass object
7257         on in the buffer object.
7258         (updateCounters): ditto
7259
7260         * lyxtextclass.C: include counters.h, add variable ctrs_ as
7261         shared_ptr<Counters> to avoid loading counters.h in all
7262         compilation units.
7263         (LyXTextClass): initialize ctrs_
7264         (TextClassTags): add TC_COUNTER, and ...
7265         (Read): use it here.
7266         (CounterTags): new tags
7267         (readCounter): new function
7268         (counters): new funtion
7269         (defaultLayoutName): return a const reference
7270
7271         * counters.C (Counters): remove contructor
7272         (newCounter): remove a couple of unneeded statements.
7273         (newCounter): simplify a bit.
7274         (numberLabel): some small formatting changes.
7275
7276         * buffer.[Ch]: remove all traces of counters, move the Counters
7277         object to the LyXTextClass.
7278
7279 2002-09-06  Alain Castera  <castera@in2p3.fr>
7280
7281         * tabular.C: uses \tabularnewline; uses >{...} construct from array
7282         package to set the horizontal alignment on fixed width columns.
7283
7284         * lyx_sty.C:
7285         * lyx_sty.h: added tabularnewline macro def.
7286
7287         * LaTeXFeatures.C: added NeedTabularnewline macro feature
7288
7289 2002-09-06  John Levon  <levon@movementarian.org>
7290
7291         * LyXAction.C: tooltips for sub/superscript
7292
7293         * MenuBackend.C: a bit more verbose
7294
7295         * lyxfunc.C: tiny clean
7296
7297         * undo_funcs.C: document undo_frozen
7298
7299 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7300
7301         * counters.C (Counters): add missing algorithm counter.
7302
7303         * text2.C (setCounter): lookup the counter with layouts latexname
7304         instead of by section number.
7305         (setCounter): use a hackish way to lookup the correct enum
7306         counter.
7307         a float name->type change
7308         reset enum couners with counter name directly instead of depth value.
7309
7310         * counters.C (Counters): remove the push_backs, change to use the
7311         float type not the float name.
7312         (labelItem): remove unused string, float name->type change
7313
7314         * counters.h: don't include vector, loose the enums and sects vectors
7315
7316 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7317
7318         * lyxtextclass.C (TextClassTags): add TC_FLOAT
7319         (Read): add float->TC_FLOAT to textclassTags
7320         (Read): and handle it in the switch
7321         (readFloat): new function
7322
7323         * FloatList.C (FloatList): comment out the hardcoded float
7324         definitions.
7325
7326         * lyxlayout.h: ws change.
7327
7328 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
7329
7330         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7331
7332 2002-09-03  Angus Leeming  <leeming@lyx.org>
7333
7334         * BufferView_pimpl.h: qualified name is not allowed in member
7335         declaration: WorkArea & Pimpl::workarea() const;
7336
7337         * factory.C: added using std::endl directive.
7338
7339         * text3.C: added using std::find and std::vector directives.
7340
7341 2002-08-29  André Pönitz <poenitz@gmx.net>
7342
7343         * lyxtext.h:
7344         * text2.C: remove unused member number_of_rows
7345
7346         * Makefile.am:
7347         * BufferView2.C: remove file, move contents to...
7348         * BufferView.C: ... here
7349
7350         * BufferView_pimpl.C:
7351         * factory.C: move more inset creation to factory
7352
7353         * vspace.C: avoid direct usage of LyXText, ws changes
7354
7355         * BufferView.[Ch]:
7356                 don't provide direct access to WorkArea, use two simple
7357                 acessors haveSelction() and workHeight() instead
7358
7359
7360 2002-08-29  John Levon  <levon@movementarian.org>
7361
7362         * BufferView_pimpl.C (dispatch): do not continue when
7363           no buffer
7364
7365 2002-08-28  André Pönitz <poenitz@gmx.net>
7366
7367         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7368
7369         * BufferView.h:
7370         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7371
7372 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
7373
7374         * buffer.C: increment LYX_FORMAT to 221
7375
7376         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7377         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7378
7379         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7380
7381         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7382
7383 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7384
7385         * factory.C (createInset): use LyXTextClass::floats
7386
7387         * MenuBackend.C (expandFloatListInsert):
7388         (expandFloatInsert):
7389         (expandToc):
7390
7391         * text2.C (setCounter):
7392
7393         * LaTeXFeatures.C (useFloat):
7394         (getFloatDefinitions):
7395
7396         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7397
7398         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7399         floatlist_, with accessor floats().
7400
7401         * FloatList.h: remove global FloatList
7402
7403 2002-08-26  André Pönitz <poenitz@gmx.net>
7404
7405         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7406
7407         * BufferView.h:
7408         * BufferView2.C:
7409         * BufferView_pimpl.C:
7410         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7411
7412 2002-08-25  John Levon  <levon@movementarian.org>
7413
7414         * LyXAction.C: fix margin note description
7415
7416 2002-08-24  John Levon  <levon@movementarian.org>
7417
7418         * buffer.C:
7419         * bufferlist.C:
7420         * bufferview_funcs.C:
7421         * lyxfont.C:
7422         * undo_funcs.C: cleanups
7423
7424         * lyxfunc.C: disable CUT/COPY when no selection
7425
7426 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
7427
7428         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7429         in "enum UNIT"; e.g. PTW for Percent of TextWidth
7430
7431         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7432         Add backward compatibility to "mono", "gray" and "no".
7433
7434 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
7435
7436         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7437         (and file_format >= 200).
7438
7439 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7440
7441         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7442
7443 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7444
7445         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7446
7447 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
7448
7449         * BufferView_pimpl.C:
7450         * LyXAction.C:
7451         * buffer.C:
7452         * commandtags.h:
7453         * lyxfunc.C:
7454         * paragraph.[Ch]:
7455         * text2.C:
7456         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7457         inset and code to make it  work with the paragraph code. The inset
7458         can be anywhere in the paragraph, but will only do the expected
7459         thing in LaTeX if the layout file contains the parameter line
7460                         OptionalArgs    1
7461         (or more generally, a nonzero value) for that layout.
7462
7463 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7464
7465         * paragraph.h: remove the declaration of undefined counters class
7466         function.
7467
7468 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
7469
7470         * text2.C (setCounter):  fixed enumeration mis-count as reported by
7471         Dr. Richard Hawkins.
7472
7473 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7474
7475         * paragraph_funcs.h: remove some unneeded includes
7476
7477         * text.C (backspace): pasteParagraph now in global scipe
7478
7479         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7480         (pasteSelection): ditto
7481
7482         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7483         * paragraph_funcs.C (pasteParagraph): ... here
7484
7485 2002-08-20  André Pönitz <poenitz@gmx.net>
7486
7487         * commandtags.h: new LFUNs for swapping/copying table row/colums
7488
7489         * LyXAction.C:
7490         * lyxfunc.C: support for new lfuns
7491
7492 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7493
7494         * tabular.C:
7495         * buffer.[Ch]: remove NO_COMPABILITY stuff
7496
7497 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
7498
7499         * boost.C (throw_exception): new file, with helper function for
7500         boost compiled without exceptions.
7501
7502         * paragraph.h:
7503         * lyxlength.C:
7504         * buffer.C:
7505         * ParameterStruct.h:
7506         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7507
7508         * bufferlist.C (emergencyWriteAll): use boost bind
7509
7510         * BufferView_pimpl.C (moveCursorUpdate): remove inline
7511
7512         * text.C: include paragraph_funcs.h
7513         (breakParagraph): breakParagraph is now in global scope
7514
7515         * paragraph_funcs.[Ch]: new files
7516
7517         * paragraph.C (breakParagraph,breakParagraphConservative): move to
7518         global scope
7519
7520         * buffer.C: include paragraph_funcs.h
7521         (insertStringAsLines): breakParagraph is now in global scope
7522
7523         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7524         paragraph_funcs.C
7525
7526         * CutAndPaste.C: include paragraph_funcs.h
7527         (cutSelection): breakParagraphConservative is now in global scope
7528         (pasteSelection): ditto
7529
7530         * buffer.h: declare oprator== and operator!= for
7531         Buffer::inset_iterator
7532
7533         * bufferlist.C (emergencyWrite): don't use fmt(...)
7534
7535         * text3.C: add using std::endl
7536
7537         * BufferView.C (moveCursorUpdate): remove default arg
7538
7539 2002-08-20  André Pönitz <poenitz@gmx.net>
7540
7541         * buffer.[Ch]: move inline functions to .C
7542
7543         * BufferView2.C:
7544         * BufferView_pimpl.C:
7545         * text.C:
7546         * buffer.[Ch]: use improved inset_iterator
7547
7548         * buffer.C:
7549         * paragraph.[Ch]: write one paragraph at a time
7550
7551 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
7552
7553         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7554         style if style is not specified.
7555
7556 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7557
7558         * text2.C (setCounter): when searching for right label for a
7559         caption, make sure to recurse to parent insets (so that a caption
7560         in a minipage in a figure float works) (bug #568)
7561
7562 2002-08-20  André Pönitz <poenitz@gmx.net>
7563
7564         * text3.C: new file for LyXText::dispatch() and helpers
7565
7566         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7567
7568         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7569
7570 2002-08-19  André Pönitz <poenitz@gmx.net>
7571
7572         * lyxtext.h:
7573         * text.C: new LyXText::dispatch()
7574
7575         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7576
7577 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
7578
7579         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7580
7581         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7582         Hebrew text.
7583
7584 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7585
7586         * Makefile.am: use $(variables) instead of @substitutions@
7587
7588 2002-08-15  André Pönitz <poenitz@gmx.net>
7589
7590         * lyxfunc.C:
7591         * BufferView_pimpl.C: streamlining mathed <-> outer world
7592         interaction
7593
7594         * commandtags.h:
7595         * LyXAction.C: remove unused LFUN_MATH
7596
7597 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7598
7599         * paragraph.[Ch]: add some NO_NEXT ifdefs.
7600
7601 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7602
7603         * paragraph.C (Paragraph): reformat a bit
7604         (cutIntoMinibuffer): use builtin InsetList function instad of
7605         doing it manually.
7606         (getInset): ditto
7607
7608         * buffer.C: include boost/bind.hpp, add using std::for_each
7609         (writeFileAscii): use ParagraphList iterators
7610         (validate): use for_each for validate traversal of paragraphs
7611         (getBibkeyList): use ParagraphList iterators
7612         (resizeInsets): use for_each to resizeInsetsLyXText for all
7613         paragraphs.
7614         (getParFromID): use ParagraphList iterators
7615
7616         * BufferView2.C (lockInset): use paragraph list and iterators
7617
7618 2002-08-14  John Levon  <levon@movementarian.org>
7619
7620         * lyxserver.C: remove spurious xforms include
7621
7622 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7623
7624         * lyxfunc.C (getStatus): disable math-extern outside of math mode
7625
7626 2002-08-13  André Pönitz <poenitz@gmx.net>
7627
7628         * LyXAction.[Ch]:
7629         * lyxfunc.C: further cleaning
7630
7631 2002-08-13  André Pönitz <poenitz@gmx.net>
7632
7633         * funcrequest.h: new constructor
7634
7635         * funcrequest.C: move stuff here from .h
7636
7637         * Makefile.am:
7638         * BufferView_pimpl.C:
7639         * LyXAction.C:
7640         * toc.C:
7641         * lyxfunc.C: subsequent changes
7642
7643         * lyxfunc.h: new view() member function
7644
7645         * lyxfunc.C: subsequent changes
7646
7647 2002-08-13  Angus Leeming  <leeming@lyx.org>
7648
7649         * BufferView2.C:
7650         * BufferView_pimpl.C:
7651         * buffer.C:
7652         * converter.C:
7653         * importer.C:
7654         * lyxfunc.C:
7655         * lyxvc.C:
7656         * toc.C:
7657         * vc-backend.C:
7658         changes due to the changed LyXView interface that now returns references
7659         to member variables not pointers.
7660
7661 2002-08-13  Angus Leeming  <leeming@lyx.org>
7662
7663         * WordLangTuple (word, lang_code): return references to strings,
7664         not strings.
7665
7666         * BufferView.h:
7667         * SpellBase.h:
7668         * lyxtext.h: forward-declare WordLangTuple.
7669
7670         * BufferView2.C:
7671         * ispell.C:
7672         * pspell.C:
7673         * text.C: #include "WordLangTuple.h".
7674
7675         * lyxtext.h:
7676         * text.C: (selectNextWordToSpellcheck): constify return type.
7677
7678 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
7679
7680         * buffer.C:
7681         * buffer.h:
7682         * lyxtext.h:
7683         * paragraph.C:
7684         * paragraph_pimpl.h:
7685         * text.C:
7686         * text2.C:
7687         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7688         suggested by Angus.
7689         Made updateCounter always count from start of buffer, and removed
7690         second argument (par).
7691         Reverted floats number display to '#'. Perhaps I'll try again when the
7692         code base is sanitized a bit.
7693
7694 2002-08-12  Angus Leeming  <leeming@lyx.org>
7695
7696         * buffer.[Ch] (getLabelList): constify.
7697
7698 2002-08-07  André Pönitz <poenitz@gmx.net>
7699
7700         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7701
7702         * funcrequest.h: extension to keep mouse (x,y) position
7703
7704 2002-08-12  Juergen Vigna  <jug@sad.it>
7705
7706         * BufferView2.C (insertErrors): forbid undo when inserting error
7707         insets.
7708
7709         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7710
7711 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7712
7713         * ParagraphList.[Ch]: new files
7714
7715         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7716
7717         * BufferView2.C (lockInset): ParagraphList changes
7718         * toc.C: ditto
7719         * text2.C: ditto
7720         * bufferlist.C: ditto
7721         * buffer.h: ditto
7722         * buffer.C: ditto
7723
7724 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7725
7726         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7727         unused class variable counter_,
7728
7729         * paragraph.[Ch] (getFirstCounter): delete unused function
7730
7731         * counters.C: include LAssert.h
7732         (reset): add a new function with no arg, change other version to
7733         not have def. arg and to not allow empty arg.
7734
7735         * text2.C (setCounter): remove empty arg from call to Counters::reset
7736
7737 2002-08-11  John Levon  <levon@movementarian.org>
7738
7739         * Makefile.am: add WordLangTuple.h
7740
7741 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7742
7743         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7744         lyxfunc.C lyxlex_pimpl.C: ws changes only.
7745
7746         * insets/insettext.C: InsetList changes
7747
7748         * graphics/GraphicsSupport.C (operator()): InsetList changes
7749
7750         * toc.C (getTocList): InsetList changes
7751
7752         * paragraph_pimpl.[Ch]: InsetList changes
7753
7754         * paragraph.[Ch]: InsetList changes
7755
7756         * buffer.C (inset_iterator): InsetList changes
7757         (setParagraph): ditto
7758         * buffer.h (inset_iterator): ditto
7759         * iterators.C (operator++): ditto
7760         * iterators.h: ditto
7761
7762         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7763
7764         * InsetList.[Ch]: new files, most InsetList handling moved out of
7765         paragraph.C.
7766
7767         * BufferView2.C (removeAutoInsets): InsetList changes
7768         (lockInset): ditto
7769         (ChangeInsets): ditto
7770
7771 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7772
7773         * paragraph_pimpl.h (empty): new function
7774
7775         * paragraph.[Ch] (empty): new function
7776
7777         * other files: use the new Paragraph::empty function
7778
7779 2002-08-09  John Levon  <levon@movementarian.org>
7780
7781         * lyxtext.h: remove unused refresh_height
7782
7783 2002-08-09  John Levon  <levon@movementarian.org>
7784
7785         * Makefile.am:
7786         * sgml.h:
7787         * sgml.C:
7788         * buffer.C:
7789         * paragraph.h:
7790         * paragraph.C: move sgml char escaping out of paragraph
7791
7792         * paragraph.h:
7793         * paragraph.C: remove id setter
7794
7795         * buffer.C:
7796         * paragraph.C:
7797         * paragraph_pimpl.C: remove dead tex_code_break_column
7798
7799         * bufferview_funcs.C: small cleanup
7800
7801         * lyxfunc.C: remove dead proto
7802
7803         * lyxtext.h: make some stuff private. Remove some dead stuff.
7804
7805         * lyxgluelength.C: make as[LyX]String() readable
7806
7807 2002-08-08  John Levon  <levon@movementarian.org>
7808
7809         * LyXAction.h:
7810         * LyXAction.C:
7811         * MenuBackend.C:
7812         * ToolbarDefaults.C:
7813         * lyxfunc.C:
7814         * lyxrc.C:
7815         * toc.C: lyxaction cleanup
7816
7817 2002-08-08  John Levon  <levon@movementarian.org>
7818
7819         * BufferView2.C: small cleanup
7820
7821         * lyxfind.h:
7822         * lyxfind.C: move unnecessary header into the .C
7823
7824 2002-08-08  John Levon  <levon@movementarian.org>
7825
7826         * funcrequest.h: just tedious nonsense
7827
7828         * lyx_main.h:
7829         * lyx_main.C: cleanups
7830
7831         * buffer.C:
7832         * vspace.C: remove dead header lyx_main.h
7833
7834 2002-08-07  Angus Leeming  <leeming@lyx.org>
7835
7836         * Paragraph.[Ch]:
7837         * paragraph_pimpl.h:
7838         Forward declare class Counters in paragraph.h by moving the ctrs member
7839         variable into Paragraph::Pimpl.
7840         (counters): new method, returning a reference to pimpl_->ctrs.
7841
7842         * text2.C: ensuing changes.
7843
7844 2002-08-07  John Levon  <levon@movementarian.org>
7845
7846         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7847
7848         * BufferView_pimpl.C: announce X selection on double/triple
7849           click
7850
7851         * lyx_main.C: use correct bool in batch dispatch
7852
7853         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7854
7855 2002-08-07  André Pönitz <poenitz@gmx.net>
7856
7857         * funcrequest.h: new class to wrap a kb_action and its argument
7858
7859         * BufferView.[Ch]:
7860         * BufferView_pimpl[Ch]:
7861         * LaTeX.C:
7862         * LyXAction.[Ch]:
7863         * lyxfunc.[Ch]:
7864         * lyxrc.C: subsequent changes
7865
7866
7867 2002-08-07  John Levon  <levon@movementarian.org>
7868
7869         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7870           document options change.
7871
7872 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7873
7874         * counters.[Ch]
7875         * text2.C
7876         * paragraph.[Ch]
7877         * makefile.am: move counters functionality over from
7878         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7879
7880 2002-08-06  John Levon  <levon@movementarian.org>
7881
7882         * WordLangTuple.h: new file for word + language code tuple
7883
7884         * SpellBase.h:
7885         * pspell.h:
7886         * pspell.C:
7887         * ispell.h:
7888         * ispell.C:
7889         * lyxtext.h:
7890         * text.C:
7891         * text2.C:
7892         * BufferView.h:
7893         * BufferView2.C: use WordLangTuple
7894
7895         * layout.h:
7896         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7897
7898 2002-08-06  John Levon  <levon@movementarian.org>
7899
7900         * lyx_main.C: fix cmdline batch handling
7901
7902 2002-08-06  André Pönitz <poenitz@gmx.net>
7903
7904         * lyxrc.C: set default for show_banner to true
7905
7906 2002-08-06  John Levon  <levon@movementarian.org>
7907
7908         * pspell.C: fix a crash, and allow new aspell to work
7909
7910 2002-08-06  John Levon  <levon@movementarian.org>
7911
7912         * lyxfunc.C:
7913         * kbmap.C: small cleanup
7914
7915         * vspace.h:
7916         * vspace.C: add const
7917
7918 2002-08-05  John Levon  <levon@movementarian.org>
7919
7920         * LyXAction.C: back to tabular-insert
7921
7922 2002-08-04  John Levon  <levon@movementarian.org>
7923
7924         * BufferView.h:
7925         * BufferView.C: cosmetic change
7926
7927         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7928
7929         * bufferlist.C:
7930         * buffer.h:
7931         * buffer.C:
7932         * lyxcb.h:
7933         * lyxcb.C:
7934         * lyxserver.C:
7935         * lyxvc.C:
7936         * vc-backend.C:
7937         * BufferView2.C: purge all "Lyx" not "LyX" strings
7938
7939         * lyxcursor.h:
7940         * lyxcursor.C: attempt to add some documentation
7941
7942         * lyxfunc.C:
7943         * commandtags.h:
7944         * LyXAction.C:
7945         * ToolbarDefaults.C:
7946         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7947           merge with LFUN_TABULAR_INSERT
7948
7949         * Makefile.am:
7950         * SpellBase.h:
7951         * ispell.h:
7952         * ispell.C:
7953         * pspell.h:
7954         * pspell.C: split up i/pspell implementations into separate
7955           files, many cleanups
7956
7957         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7958
7959         * text2.C: some cleanup
7960
7961         * lyxfunc.C: don't check for isp_command == "none" any more, it
7962           didn't make any sense
7963
7964 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
7965
7966         * counters.[Ch]
7967         * text2.C
7968         * paragraph.[Ch]
7969         * makefile.am: move counters functionality over
7970         from text2.C/paragraph.[Ch] to counters.[Ch], and
7971         make proper C++.
7972 2002-08-02  John Levon  <levon@movementarian.org>
7973
7974         * buffer.C: s/lyxconvert/lyx2lyx/
7975
7976 2002-08-02  Angus Leeming  <leeming@lyx.org>
7977
7978         * lyxlex.C: revert John's change as it breaks reading of the user
7979         preamble.
7980
7981 2002-08-02  Angus Leeming  <leeming@lyx.org>
7982
7983         * importer.C (Import):
7984         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7985         changes due to LyXView::view() now returning a boost::shared_ptr.
7986
7987 2002-08-02  John Levon  <levon@movementarian.org>
7988
7989         * lyxlex.C: small cleanup
7990
7991 2002-08-02  John Levon  <levon@movementarian.org>
7992
7993         * text2.C (status): small cleanup, no logic change
7994
7995 2002-08-01  John Levon  <levon@movementarian.org>
7996
7997         * buffer.h:
7998         * buffer.C (writeFile): don't output alerts, caller
7999           handles this
8000
8001         * bufferlist.C:
8002         * lyx_cb.C: from above
8003
8004         * lyxfunc.C: allow to open non-existent files
8005
8006 2002-07-31  John Levon  <levon@movementarian.org>
8007
8008         * lyxserver.C: don't let incidental errors get
8009           in the way (errno)
8010
8011 2002-07-30  John Levon  <levon@movementarian.org>
8012
8013         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8014
8015 2002-07-30  John Levon  <levon@movementarian.org>
8016
8017         * lyxserver.h:
8018         * lyxserver.C: remove I/O callback too
8019
8020 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8021
8022         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8023         log.
8024
8025 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8026
8027         * many files: strip,frontStrip -> trim,ltrim,rtrim
8028
8029 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8030
8031         * PrinterParams.h: remove extern containsOnly, and include
8032         support/lstrings.h instead.
8033
8034         * LaTeX.C (scanAuxFile): modify because of strip changes
8035         (deplog): ditto
8036         * buffer.C (makeLaTeXFile): ditto
8037         * bufferparams.C (writeFile): ditt
8038         * lyxfont.C (stateText): ditto
8039         * lyxserver.C (read_ready): ditto
8040         * vc-backend.C (scanMaster): ditto
8041
8042         * BufferView_pimpl.h: ws changes
8043
8044         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8045
8046 2002-07-26  André Pönitz <poenitz@gmx.net>
8047
8048         * kb_sequence.C: remove unnedred usings
8049
8050 2002-07-26  Juergen Vigna  <jug@sad.it>
8051
8052         * lyxfind.C (LyXReplace): we have to check better if the returned
8053         text is not of theLockingInset()->getLockingInset().
8054
8055 2002-07-25  Juergen Vigna  <jug@sad.it>
8056
8057         * lyxfind.C (LyXReplace): don't replace if we don't get the
8058         right LyXText.
8059
8060         * undo_funcs.C (createUndo): remove debugging code.
8061
8062 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
8063
8064         * buffer.C (parseSingleLyXformat2Token): Use default placement
8065         when reading old floats.
8066
8067         * FloatList.C (FloatList): Change the default placement of figure
8068         and tables to "tbp".
8069
8070 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
8071
8072         * MenuBackend.C: using std::max
8073
8074 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8075
8076         * MenuBackend.C (expandToc):
8077         (expandToc2): code moved from xforms menu frontend. It is now
8078         generic and TOCs are transparent to menu frontends.
8079
8080 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8081
8082         * toc.C (getTocList): protect against buf=0
8083
8084         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8085         Menu as first parameter. Now, this calls itself recursively to
8086         expand a whole tree (this will be useful for TOC handling)
8087         (expandFloatInsert): remove 'wide' version of floats
8088
8089         * MenuBackend.h (submenuname): returns the name of the submenu.
8090         (submenu): returns the submenu itself, provided it has been
8091         created by MenuBackend::expand
8092
8093 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8094
8095         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8096         insets which have noFontChange == true. (bug #172)
8097
8098 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8099
8100         * BufferView_pimpl.C: add connection objects and use them...
8101         (Pimpl): here.
8102
8103 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8104
8105         * MenuBackend.C (expandLastfiles):
8106         (expandDocuments):
8107         (expandFormats):
8108         (expandFloatListInsert):
8109         (expandFloatInsert):
8110         (expand): split expand in parts
8111
8112 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8113
8114         * lyx_gui.C: use lyx_gui::exit()
8115
8116 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8117
8118         * LyXAction.C: show the failing pseudo action
8119
8120 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
8121
8122         * buffer.C (readFile): Run the lyxconvert script in order to read
8123         old files.
8124
8125 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8126
8127         * LyXAction.C:
8128         * commandtags.h:
8129         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8130
8131 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8132
8133         * LyXAction.C:
8134         * commandtags.h:
8135         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8136
8137 2002-07-22  Herbert Voss  <voss@lyx.org>
8138
8139         * lengthcommon.C:
8140         * lyxlength.[Ch]: add support for the vertical lengths
8141
8142 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
8143
8144         * toc.[Ch]: std:: fixes
8145
8146 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8147
8148         * lyxrc.C: do not include lyx_main.h
8149
8150         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8151         for layouts
8152
8153         * lyxrc.C:
8154         * encoding.C:
8155         * bufferlist.C:
8156         * BufferView2.C: include "lyxlex.h"
8157
8158         * tabular.h:
8159         * bufferparams.h: do not #include "lyxlex.h"
8160
8161         * lyxtextclasslist.C (Add): remove method
8162         (classlist): renamed to classlist_
8163
8164         * paragraph_pimpl.C:
8165         * paragraph.C:
8166         * text2.C:
8167         * CutAndPaste.C:
8168         * bufferview_funcs.C:
8169         * bufferlist.C:
8170         * text.C:
8171         * LaTeXFeatures.C:
8172         * buffer.C:
8173         * toc.C (getTocList): use BufferParams::getLyXTextClass
8174
8175         * toc.C (getTocList): use InsetFloat::addToToc
8176
8177         * toc.[Ch]: new files, containing helper functions to handle table
8178         of contents
8179
8180         * lyxfunc.C (dispatch): no need to remove spaces around command
8181         given as a string
8182         (getStatus): handle LFUN_SEQUENCE by returning the status of the
8183         first command of the sequence; it is not very clever, but I do not
8184         have a better idea, actually
8185
8186         * LyXAction.C (LookupFunc): make sure to remove space at the
8187         beginning and end of the command
8188
8189 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8190
8191         * MenuBackend.C (getMenubar): new method: return the menubar of
8192         this menu set
8193         (read): treat differently reading of menu and menubar (in
8194         particular, the menubar has no name now)
8195         (Menu::menubar): remove
8196
8197         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8198         saving is finished
8199
8200 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8201
8202         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8203         a bibitem inset in a RTL paragraph.
8204
8205 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
8206
8207         * paragraph_pimpl.C: constify
8208
8209         * BufferView_pimpl.C:
8210         * LaTeX.C:
8211         * lyxfunc.C: fix dispatch in a nicer way
8212
8213 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8214
8215         * lyxfunc.C (dispatch):
8216         * BufferView_pimpl.C:
8217         * BufferView_pimpl.h:
8218         * BufferView.C:
8219         * BufferView.h: rename Dispatch() to dispatch()
8220
8221         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8222
8223         * lyxlayout.C (Read): honor DependsOn tag
8224
8225         * lyxlayout.[Ch] (depends_on): new method
8226
8227         * version.C.in: update lyx_docversion
8228
8229         * LaTeXFeatures.C (getMacros): only define \LyX when needed
8230
8231         * paragraph.C (validate): remove from here...
8232         * paragraph_pimpl.C (validate): ... and move here
8233         (isTextAt): make it const
8234
8235         * buffer.C (getLists): ws cleanup
8236
8237 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8238
8239         * language.C (read): Use iso8859-1 encoding in latex_lang
8240         (this prevents LyX from crashing when using iso10646-1 encoding).
8241
8242 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8243
8244         * text2.C (toggleInset): if cursor is inside an inset, close the
8245         inset and leave cursor _after_ it
8246
8247 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8248
8249         * lyxfunc.C: move minibuffer completion handling out of here
8250
8251 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8252
8253         * BufferView_pimpl.C:
8254         * LaTeX.C: fix dispatch calls
8255
8256 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
8257
8258         * text.C (drawChars): Fix Arabic text rendering.
8259
8260 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
8261
8262         * LyXAction.C:
8263         * commandtags.h:
8264         * lyxfunc.C: remove message-push/pop
8265
8266         * lyxserver.C:
8267         * lyxfunc.h:
8268         * lyxfunc.C: rationalise some code by removing verboseDispatch
8269           in favour of a bool argument to dispatch()
8270
8271 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8272
8273         * lyx_main.C (init): make sure to read symlinks as absolute paths
8274
8275 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8276
8277         * lyxfunc.h:
8278         * lyxfunc.C: no need for commandshortcut to be a member
8279
8280 2002-07-15  André Pönitz <poenitz@gmx.net>
8281
8282         * converter.C: add support for $$s (scripts from lib/scripts dir)
8283         * lyx_main.C: white space
8284
8285 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8286
8287         * bufferlist.C:
8288         * lyxrc.h:
8289         * lyxrc.C: remove second exit confirmation
8290
8291 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8292
8293         * BufferView.h:
8294         * BufferView.C:
8295         * BufferView2.C:
8296         * BufferView_pimpl.h:
8297         * BufferView_pimpl.C:
8298         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8299
8300 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8301
8302         * MenuBackend.C (expand): add numeric shortcuts to document menu
8303
8304         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8305
8306 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8307
8308         * lyxfont.C (setLyXFamily):
8309         (setLyXSeries):
8310         (setLyXShape):
8311         (setLyXSize):
8312         (setLyXMisc):
8313         (lyxRead):
8314         * debug.C (value):
8315         * buffer.C (asciiParagraph): use ascii_lowercase
8316
8317 2002-07-15  Mike Fabian  <mfabian@suse.de>
8318
8319         * lyxlex_pimpl.C (search_kw):
8320         * lyxlex.C (getLongString):
8321         * converter.h (operator<):
8322         * converter.C (operator<):
8323         * buffer.C (parseSingleLyXformat2Token):
8324         (asciiParagraph):
8325         * ToolbarDefaults.C (read):
8326         * MenuBackend.C (checkShortcuts):
8327         (read):
8328         * LColor.C (getFromGUIName):
8329         (getFromLyXName): use the compare_ascii_no_case instead of
8330         compare_no_case, because in turkish, 'i' is not the lowercase
8331         version of 'I', and thus turkish locale breaks parsing of tags.
8332
8333 2002-07-16  Angus Leeming  <leeming@lyx.org>
8334
8335         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8336         now takes a Buffer const & argument.
8337
8338 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
8339
8340         * BufferView.C (resize): check there's a buffer to resize
8341
8342 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
8343
8344         * lyxfunc.C: remove dead code
8345
8346         * lyxserver.h:
8347         * lyxserver.C: use lyx_guii::set_read_callback
8348
8349 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
8350
8351         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8352         an inset in a RTL paragraph.
8353
8354 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8355
8356         * lyxfunc.C: repaint after a font size update
8357
8358 2002-07-15  André Pönitz <poenitz@gmx.net>
8359
8360         * lyxlength.C: inBP should be able to return negative values
8361
8362 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8363
8364         * lyxfunc.C: use lyx_gui::update_fonts()
8365
8366 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8367
8368         * lyxfunc.C: use lyx_gui::update_color()
8369
8370 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8371
8372         * bufferlist.C:
8373         * lyxfunc.h:
8374         * lyxfunc.C:
8375         * lyxrc.h:
8376         * lyxrc.C: remove file->new asks for name option, and let
8377           buffer-new take an argument
8378
8379 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8380
8381         * BufferView_pimpl.C: remove unneeded extra repaint()
8382
8383 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
8384
8385         * LyXAction.C: allow command-sequence with NoBuffer
8386
8387         * lyxfunc.C: don't insist on trailing ';' for command-sequence
8388
8389 2002-07-10  Angus Leeming  <leeming@lyx.org>
8390
8391         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8392
8393 2002-07-09  Angus Leeming  <leeming@lyx.org>
8394
8395         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8396
8397 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8398
8399         * lengthcommon.h: whitespace
8400
8401         * lyxfunc.C: update scrollbar after goto paragraph
8402
8403         * lyxtext.h: factor out page break drawing, and fix it so
8404           page break/added space paints as selected nicely
8405
8406 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8407
8408         * BufferView_pimpl.C: add FIXMEs, clean up a little
8409
8410 2002-07-09  André Pönitz <poenitz@gmx.net>
8411
8412         * lyxfont.[Ch]: support for wasy symbols
8413
8414 2002-07-08  André Pönitz <poenitz@gmx.net>
8415
8416         * BufferView_pimpl.C: apply John's patch for #93.
8417
8418 2002-07-05  Angus Leeming  <leeming@lyx.org>
8419
8420         * BufferView_pimpl.C (buffer): generate previews if desired.
8421
8422         * LColor.h: add "preview" to the color enum.
8423
8424         * LColor.C (LColor): add a corresponding entry to the items array.
8425
8426         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8427         with this buffer.
8428
8429 2002-07-05  Angus Leeming  <leeming@lyx.org>
8430
8431         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8432         The body of the code is now in the method that is passed an ostream &
8433         rather than a file name.
8434         Pass an additional only_preamble parameter, useful for the forthcoming
8435         preview stuff.
8436
8437 2002-07-03  André Pönitz <poenitz@gmx.net>
8438
8439         * lyxfunc.C: simplify getStatus() a bit for math stuff
8440
8441 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8442
8443         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8444
8445 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8446
8447         * text.C (changeRegionCase): do not change case of all the
8448         document when region ends at paragraph end (bug #461)
8449
8450 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8451
8452         * paragraph.C (startTeXParParams):
8453         (endTeXParParams): add \protect when necessary
8454
8455 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8456
8457         * BufferView_pimpl.C (workAreaExpose): remove warning
8458
8459 2002-06-27  Angus Leeming  <leeming@lyx.org>
8460
8461         * Makefile.am: add lyxlayout_ptr_fwd.h.
8462
8463 2002-06-26  André Pönitz <poenitz@gmx.net>
8464
8465         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8466
8467 2002-06-25  Angus Leeming  <leeming@lyx.org>
8468
8469         * lyxfunc.C (dispatch): Comment out the call to
8470         grfx::GCache::changeDisplay. The method no longer exists now that the
8471         pixmap generation part of the graphics loader has been moved into
8472         InsetGraphics.
8473
8474 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8475
8476         * text2.C: layout as layout
8477
8478         * text.C: layout as layout
8479
8480         * tabular.C (OldFormatRead): layout as layout
8481
8482         * paragraph_pimpl.C (TeXDeeper): layout as layout
8483         (realizeFont): layout as layout
8484
8485         * paragraph.C (writeFile): layout as layout
8486         (validate): layout as layout
8487         (getFont): layout as layout
8488         (getLabelFont): layout as layout
8489         (getLayoutFont): layout as layout
8490         (breakParagraph): layout as layout
8491         (stripLeadingSpaces): layout as layout
8492         (getEndLabel): layout as layout
8493         (getMaxDepthAfter): layout as layout
8494         (applyLayout): layout as layout
8495         (TeXOnePar): layout as layout
8496         (simpleTeXOnePar): layout as layout
8497         (TeXEnvironment): layout as layout
8498         (layout): layout as layout
8499         (layout): layout as layout
8500
8501         * lyxtextclass.C (compare_name): new functor to work with
8502         shared_ptr, layout as layout
8503         (Read): layout as layout
8504         (hasLayout): layout as layout
8505         (operator): layout as layout
8506         (delete_layout): layout as layout
8507         (defaultLayout): layout as layout
8508
8509         * lyxlayout_ptr_fwd.h: new file
8510
8511         * lyxlayout.C (Read): layout as layout
8512
8513         * lyx_cb.C (MenuInsertLabel): layout as layout
8514
8515         * bufferlist.C (newFile): layout as layout
8516
8517         * buffer.C (readLyXformat2): layout as layout
8518         (parseSingleLyXformat2Token): layout as layout
8519         (insertStringAsLines): layout as layout
8520         (asciiParagraph): layout as layout
8521         (latexParagraphs): layout as layout
8522         (makeLinuxDocFile): layout as layout
8523         (simpleLinuxDocOnePar): layout as layout
8524         (makeDocBookFile): layout as layout
8525         (simpleDocBookOnePar): layout as layout
8526         (getLists): layout as layout
8527
8528         * LaTeXFeatures.C (getTClassPreamble): layout as layout
8529
8530         * CutAndPaste.C (cutSelection): layout as layout
8531         (pasteSelection): layout as layout
8532         (SwitchLayoutsBetweenClasses): layout as layout
8533
8534         * BufferView_pimpl.C (Dispatch): layout as layout
8535         (smartQuote): layout as layout
8536
8537         * BufferView2.C (unlockInset): layout as layout
8538
8539 2002-06-24  André Pönitz <poenitz@gmx.net>
8540
8541         * lyxfunc.C: fix #487
8542
8543 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8544
8545         * lyxrc.h:
8546         * lyxrc.C:
8547         * lyxfunc.C: remove display_shortcuts, show_banner
8548
8549 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8550
8551         * Buffer_pimpl.C: oops, update on resize
8552
8553 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8554
8555         * buffer.C:
8556         * converter.C:
8557         * exporter.C:
8558         * lyxfunc.C:
8559         * BufferView.h:
8560         * BufferView.C: use repaint()
8561
8562         * BufferView_pimpl.h:
8563         * BufferView_pimpl.C: s/updateScreen()/repaint()/
8564           as it's a clearer description. Remove superfluous
8565           redraws.
8566
8567 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8568
8569         * text.C: fix bug 488. Not ideal, but getting
8570           getWord() to work properly for the insets that
8571           matter is more difficult ...
8572
8573 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8574
8575         * BufferView_pimpl.C:
8576         * LyXAction.C:
8577         * commandtags.h:
8578         * lyxfunc.C: remove the six million index lyxfuncs to just
8579           one, and DTRT (bug 458)
8580
8581 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8582
8583         * BufferView.h:
8584         * BufferView.C:
8585         * BufferView_pimpl.h:
8586         * BufferView_pimpl.C: clean up resize() stuff,
8587           and unnecessary updateScreen()s
8588
8589 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8590
8591         * BufferView.h:
8592         * BufferView.C:
8593         * BufferView_pimpl.h:
8594         * BufferView_pimpl.C:
8595         * lyxfind.h:
8596         * lyxfind.C:
8597         * minibuffer.C: remove focus management of workarea,
8598           not needed. Use screen's greyOut()
8599
8600 2002-06-17  Herbert Voss  <voss@lyx.org>
8601
8602         * converter.C: (convert) do not post a message, when converting
8603         fails, let the calling function decide what to do in this case
8604
8605 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
8606
8607         * lyxfunc.C: tidy up a little
8608
8609 2002-06-16    <alstrup@diku.dk>
8610
8611         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8612         Got rid of FORMS_H_LOCATION include. Now we are
8613         GUII.
8614
8615 2002-06-15  LyX Development team  <lyx@rilke>
8616
8617         * buffer.[Ch] (sgmlOpenTag):
8618         (sgmlCloseTag): Added support for avoiding pernicious mixed
8619         content. Return number of lines written.
8620
8621         (makeLinuxDocFile):
8622         (makeDocBookFile): Fixed calls to sgml*Tag.
8623         Simple white space clean.
8624
8625         (simpleDocBookOnePar): Simple white space clean.
8626
8627         * tabular.[Ch] (docBook): Renamed to docbook and got another
8628         argument to related with the pernicious mixed content.
8629
8630         (docbookRow): Fixed calls for docbook inset method.
8631
8632 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
8633
8634         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8635         so it's X11 independent.
8636
8637         * kb*.[Ch]: ditto.
8638
8639         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8640
8641 2002-06-15  Lyx Development team  <lyx@electronia>
8642
8643         * intl.h: Renamed getTrans to getTransManager.
8644
8645 2002-06-14  Angus Leeming  <leeming@lyx.org>
8646
8647         * Makefile.am: nuke forgotten stl_string_fwd.h.
8648
8649 2002-06-12  Angus Leeming  <leeming@lyx.org>
8650
8651         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8652
8653 2002-06-13  Angus Leeming  <leeming@lyx.org>
8654
8655         * LaTeX.C:
8656         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8657
8658 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
8659
8660         * kbmap.C (getiso): add support for cyrillic and greek
8661
8662 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8663
8664         * BufferView.h:
8665         * BufferView.C:
8666         * BufferView_pimpl.h:
8667         * BufferView_pimpl.C: move bogus scrolling logic
8668           to xforms
8669
8670 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8671
8672         * lyxfunc.C:
8673         * BufferView_pimpl.C: view->resize() change
8674
8675 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8676
8677         * BufferView_pimpl.C: topCursorVisible
8678           prototype change
8679
8680 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8681
8682         * Makefile.am:
8683         * lyx_gui.h:
8684         * lyx_gui.C: move to frontends/
8685
8686         * main.C:
8687         * lyx_main.h:
8688         * lyx_main.C: changes from above
8689
8690 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8691
8692         * intl.C:
8693         * intl.h:
8694         * kbmap.C:
8695         * kbsequence.C:
8696         * lyx_cb.C:
8697         * lyx_main.C: minor tidy
8698
8699 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8700
8701         * BufferView_pimpl.h:
8702         * BufferView_pimpl.C:
8703         * BufferView.h:
8704         * BufferView.C: make painter() const,
8705           remove dead code
8706
8707         * BufferView2.C: use screen() accessor
8708
8709         * lyx_main.h:
8710         * lyx_main.C: some minor cleanup
8711
8712 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8713
8714         * BufferView_pimpl.h:
8715         * BufferView_pimpl.C: remove enter/leaveView,
8716           use workHeight()
8717
8718 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8719
8720         * BufferView.h:
8721         * BufferView.C:
8722         * BufferView2.C:
8723         * BufferView_pimpl.h:
8724         * BufferView_pimpl.C: only construct screen once,
8725           rename
8726
8727         * lyxrc.C: remove pointless comment
8728
8729 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8730
8731         * BufferView.h:
8732         * BufferView.C: remove active() and belowMouse()
8733
8734         * BufferView_pimpl.h:
8735         * BufferView_pimpl.C: use workarea() not workarea_,
8736           and make it use a scoped_ptr instead
8737
8738 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8739
8740         * lyx_gui.C: add debug message on BadWindow
8741
8742 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8743
8744         * sp_spell.C: fdopen is not part of the C++ standard.
8745
8746         * paragraph.C (InsetIterator): use >= instead of ==
8747
8748 2002-06-07  Angus Leeming  <leeming@lyx.org>
8749
8750         Fixes needed to compile with Compaq cxx 6.5.
8751         * BufferView_pimpl.C:
8752         * DepTable.C:
8753         * buffer.C:
8754         * converter.C:
8755         * encoding.C:
8756         * lyx_gui.C:
8757         * lyx_main.C:
8758         * lyxtextclasslist.C:
8759         * minibuffer.C:
8760         * sp_spell.C:
8761         * tabular_funcs.C:
8762         * vc-backend.C:
8763         all c-library variables have been moved into namespace std. Wrap
8764         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8765
8766         * lyxlength.C:
8767         * tabular-old.C:
8768         * tabular.C:
8769         Add a using std::abs declaration.
8770
8771         * kbmap.h (modifier_pair):
8772         * paragraph.h (InsetTable, InsetList):
8773         * lyxfont.h (FontBits):
8774         type definition made public.
8775
8776         * bufferlist.C (emergencyWriteAll): the compiler complains that
8777         there is more than one possible lyx::class_fun template to choose from.
8778         I re-named the void specialisation as lyx::void_class_fun.
8779
8780         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8781
8782         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8783         the compiler is is unable to find tostr in write_attribute.
8784
8785 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8786
8787         * buffer.C (sgmlError): hide #warning
8788
8789 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8790
8791         * xtl/*: get rid of xtl, which is not in use anyway
8792
8793         * LyXAction.C (init):
8794         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8795         were unimplemented xtl experimentation
8796
8797 2002-06-04  André Pönitz <poenitz@gmx.net>
8798
8799         * lyxfunc.C: disable array operation on simple formulae
8800
8801 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
8802
8803         * converter.C: constify a bit
8804
8805 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
8806
8807         * lyx_gui.C: check xforms version correctly
8808
8809 2002-04-30  Herbert Voss  <voss@lyx.org>
8810
8811         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8812         "keep" option
8813
8814 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
8815
8816         * lyxvc.C: fix bug 416 (make sure buffer is saved before
8817           attempt to register it with a VCS)
8818
8819 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8820
8821         * lyx_main.C (init): honor variables LYX_DIR_13x and
8822         LYX_USERDIR_13x
8823
8824 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8825
8826         * buffer.h:
8827         * buffer.C:
8828         * lyx_main.C: fix a crash on bad command line,
8829           and give a useful exit status on error
8830
8831         * lyxfunc.C (doImport): allow -i lyx to work
8832
8833 2002-03-30  André Pönitz <poenitz@gmx.net>
8834
8835         * lyxfunc.C: mathed font changes
8836
8837 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8838
8839         * LaTeX.C:
8840         * importer.h:
8841         * importer.C:
8842         * lyx_sty.h:
8843         * lyx_sty.C:
8844         * lyxlex.C:
8845         * lyxrow.h:
8846         * lyxtext.h:
8847         * paragraph.h:
8848         * paragraph.C:
8849         * texrow.h:
8850         * texrow.C:
8851         * text.C:
8852         * trans_mgr.h: srcdocs, and some minor cleanups
8853
8854 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8855
8856         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8857         call getFont all the time)
8858
8859 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8860
8861         * switch from SigC signals to boost::signals
8862
8863 2002-05-29  André Pönitz <poenitz@gmx.net>
8864
8865         * paragraph_pimpl.C (getChar): don't call size() too often...
8866
8867 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8868
8869         * paragraph_pimpl.C (insertChar): do not try to update tables when
8870         appending (pos == size())
8871
8872         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8873         in order to reduce drastically the number of comparisons needed to
8874         parse a large document
8875
8876 2002-05-29  André Pönitz <poenitz@gmx.net>
8877
8878         * text.C:
8879         * text2.C:
8880         * lyxtextclass.C:
8881         * sp_pspell.h:
8882         * textclasslist.[Ch]:
8883         * sp_ispell.h: whitespace change
8884
8885 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8886
8887         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8888         lyxaction directly now.
8889
8890 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8891
8892         * trans.C:
8893         * lyxfont.C:
8894         * lyxvc.C: remove unused headers
8895
8896 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8897
8898         * Makefile.am:
8899         * buffer.h:
8900         * undostack.h:
8901         * undostack.C:
8902         * undo_funcs.h:
8903         * undo_funcs.C: some cleanups. Use shared_ptr
8904           and a template for the undo stacks.
8905
8906 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8907
8908         * BufferView_pimpl.h:
8909         * BufferView_pimpl.C:
8910         * kbmap.h:
8911         * kbmap.C:
8912         * kbsequence.h:
8913         * kbsequence.C:
8914         * lyxfunc.h:
8915         * lyxfunc.C:
8916         * text2.C: use key_state/mouse_state
8917
8918 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8919
8920         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8921         and LSubstring
8922
8923         * chset.C: change include order
8924         (loadFile): use boost regex and get rid of LRegex and LSubstring
8925
8926         * Makefile.am (BOOST_LIBS): new variable
8927         (lyx_LDADD): use it
8928
8929         * LaTeX.C: change include order.
8930         (scanAuxFile): use boost regex and get rid of LRegex and
8931         LSubstring
8932         (deplog): ditto
8933
8934 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8935
8936         * ColorHandler.h:
8937         * ColorHandler.C:
8938         * FontInfo.h:
8939         * FontInfo.C: moved to frontends/xforms/
8940
8941         * FontLoader.h:
8942         * FontLoader.C: moved into frontends for GUIIzation
8943
8944         * Makefile.am:
8945         * lyx_gui.C:
8946         * lyxfont.C:
8947         * lyxfunc.C: changes from above
8948
8949 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8950
8951         * LColor.C: remove spurious X include
8952
8953         * BufferView_pimpl.C:
8954         * Makefile.am:
8955         * font.h:
8956         * font.C:
8957         * text.C:
8958         * text2.C: move font metrics to frontends/
8959
8960 2002-05-24  Juergen Vigna  <jug@sad.it>
8961
8962         * undo_funcs.C (textHandleUndo): fix the cursor selection after
8963         setting the undo_cursor.
8964
8965         * ParagraphParameters.h: include local includes first.
8966
8967 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8968
8969         * BufferView_pimpl.C:
8970         * BufferView_pimpl.h:
8971         * Makefile.am:
8972         * WorkArea.h:
8973         * WorkArea.C:
8974         * screen.C: move WorkArea into frontends/
8975
8976         * lyxscreen.h:
8977         * screen.C:
8978         * text.C:
8979         * BufferView.C:
8980         * BufferView2.C: move LyXScreen into frontends/
8981
8982         * lyxlookup.h:
8983         * lyxlookup.C:
8984         * lyx_gui.C: move lyxlookup into frontends/xforms/
8985
8986 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8987
8988         * BufferView2.C:
8989         * BufferView_pimpl.C:
8990         * FontLoader.C:
8991         * LyXView.h:
8992         * LyXView.C:
8993         * Makefile.am:
8994         * WorkArea.C:
8995         * XFormsView.h:
8996         * XFormsView.C:
8997         * buffer.C:
8998         * bufferlist.C:
8999         * bufferview_funcs.C:
9000         * converter.C:
9001         * importer.C:
9002         * lyx_cb.C:
9003         * lyx_gui.C:
9004         * lyx_main.C:
9005         * lyx_find.C:
9006         * lyxfunc.C:
9007         * lyxvc.C:
9008         * minibuffer.C:
9009         * text.C:
9010         * text2.C:
9011         * trans.C:
9012         * vc-backend.C: move LyX/XFormsView into frontends/
9013
9014 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9015
9016         * Makefile.am:
9017         * PainterBase.C:
9018         * PainterBase.h:
9019         * Painter.C:
9020         * Painter.h:
9021         * WorkArea.C:
9022         * WorkArea.h:
9023         * screen.C:
9024         * tabular.C:
9025         * text.C:
9026         * text2.C: move Painter to frontends/
9027
9028 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9029
9030         * buffer.C: comment out some some code that depend upon lyx_format
9031         < 220
9032
9033         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9034         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9035
9036         * buffer.h (NO_COMPABILITY): turn off compability
9037
9038         * ColorHandler.C: include scoped_array.hpp
9039
9040         * font.C: Use more specific smart_ptr header.
9041         * Painter.C: ditto
9042         * gettext.C: ditto
9043         * ShareContainer.h: ditto
9044         * lyx_main.h: ditto
9045         * kbmap.h: ditto
9046         * FontInfo.h: ditto
9047         * BufferView_pimpl.h: ditto
9048         * ColorHandler.h: ditto
9049
9050         * kbmap.C (defkey): change call to shared_ptr::reset
9051
9052 2002-05-21  Juergen Vigna  <jug@sad.it>
9053
9054         * buffer.C (insertErtContents): fix to insert ert asis if it is
9055         non empty. Skip it completely if it contains only whitespaces.
9056
9057 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
9058
9059         * BufferView_pimpl.C:
9060         * BufferView2.C: clear selection on paste (bug 393)
9061
9062 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9063
9064         * DepTable.C: include ctime
9065
9066 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
9067
9068         * buffer.C (latexParagraphs): Add new argument (moving_arg).
9069
9070 2002-05-14  Juergen Vigna  <jug@sad.it>
9071
9072         * text.C (breakParagraph): fixed function to honor the keepempty
9073         layout in the right maner and also to permit the right breaking
9074         algorithm on empty or non empyt keepempty paragraphs.
9075
9076         * paragraph.C (breakParagraph): we have to check also if the par
9077         is really empty (!size()) for isempty otherwise we do the wrong
9078         paragraph break.
9079
9080 2002-05-10  Juergen Vigna  <jug@sad.it>
9081
9082         * buffer.[Ch] : The following are only changes to the ert
9083         compatibility read reading old LaTeX layout and font stuff and
9084         convert it to ERTInsets.
9085
9086         * buffer.h: added isErtInset().
9087
9088         * buffer.C (struct ErtComp): add a fromlayout bool to check
9089         if we're inside a LaTeX layout.
9090         (isErtInset): new helper function.
9091         (insertErtContents): look for other ert insets before this one
9092         and insert the contents there, so that we don't have subsequent
9093         ERT insets with nothing between them. This way we create only one
9094         inset with multiple paragraphs. Also check if we don't insert only
9095         spaces ' ' as they are ignored anyway afterwards in the .tex file
9096         so if we have only spaces we will ignore this latex part in the
9097         new file.
9098         (parseSingleLyXformat2Token \\layout): better compatibility when
9099         reading layout-latex stuff.
9100         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9101         language tag.
9102         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9103         stuff after reading the inset only get the information back from
9104         the stack.
9105
9106 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
9107
9108         * buffer.C (makeLaTeXFile): Put language options after loading babel.
9109
9110         * LaTeXFeatures.C (getBabelOptions): New method.
9111
9112 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9113
9114         * BufferView_pimpl.C (Dispatch): work around missing argument for
9115         'layout'
9116
9117 2002-05-08  Juergen Vigna  <jug@sad.it>
9118
9119         * text.C (leftMargin): handle paragraph leftindent.
9120
9121         * paragraph.C (writeFile): write the new \\leftindent tag.
9122         (validate): handle leftindent code.
9123         (TeXEnvironment): handle paragraphleftindent code again.
9124
9125         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9126
9127         * buffer.C (parseSingleLyXformat2Token): added compatibility code
9128         for paragrap_extra indent code and new token \\leftindent.
9129         (latexParagraphs): handle the leftindent as environment.
9130
9131         * ParameterStruct.h: added leftindent support.
9132
9133         * ParagraphParameters.C (leftIndent): added support functions for
9134         the paragraph left indent.
9135
9136         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9137         more appropriate.
9138
9139 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
9140
9141         * paragraph.C (isRightToLeftPar): Return false for a paragraph
9142         inside insetERT.
9143
9144         * text.C (computeBidiTables): No bidi in insetERT.
9145
9146         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9147         in RTL documents.
9148
9149 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9150
9151         * version.C.in: pre 5
9152
9153 2002-05-02  José Matos  <jamatos@fep.up.pt>
9154         * buffer.C (makeDocBookFile): white space changes, add newline to
9155         command styles.
9156         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9157
9158         * tabular.C (docBook): fix typo.
9159
9160 2002-05-03  Juergen Vigna  <jug@sad.it>
9161
9162         * screen.C (drawFromTo): recalculate the rowpointer if we had a
9163         change in LyXText as we can not be sure it was not freed.
9164         (drawOneRow): remove unused code.
9165
9166         * text.C (drawInset): redo the calculation of the need_break_row as
9167         it could have a row which was already freed.
9168         (draw): look at the return value of drawInset and return false if
9169         it also returned false.
9170         (paintRowText): look at the return value of draw and return false if
9171         it also returned false.
9172
9173         * lyxtext.h: added bool return type to drawInset() and draw() so that
9174         if we have a change in the row so that the rowbreak has to be redone
9175         we abort drawing as it will be called again.
9176
9177 2002-05-02  Juergen Vigna  <jug@sad.it>
9178
9179         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9180         a change in the maintext also if we're inside an inset.
9181         (Dispatch): set the cursor again after a break line and after the
9182         screen has been updated as it could be we're in a different row.
9183
9184         * text2.C (fixCursorAfterDelete): check to make sure we don't request
9185         to set the cursor behind the pargraph with > size().
9186         (setCursor): check also for the same paragraph when checking where
9187         to put the cursor if we have a NFR inset.
9188
9189         * buffer.C (parseSingleLyXformat2Token): move the compatibility
9190         parts of layout read further up as it still was in the wrong
9191         position.
9192
9193 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9194
9195         * screen.C (drawFromTo): change sine fullRebreak always return
9196         true.
9197
9198         * buffer.C (parseSingleLyXformat2Token): reindent some
9199
9200         * BufferView_pimpl.C (update): change since fullRebreak always
9201         return true.
9202         (Dispatch): git rid of the last hardcoded "Standard"s.
9203
9204 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9205
9206         * text2.[Ch] (fullRebreak): make it return void now that we always
9207         returned true.
9208
9209 2002-04-30  Juergen Vigna  <jug@sad.it>
9210
9211         * buffer.C (parseSingleLyXformat2Token): reset the font before the
9212         ert compatibility check for "latex" layout.
9213
9214 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
9215
9216         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9217         minipages: use col% instead of p%, and also use the current font.
9218         (makeLaTeXFile): Fix use babel condition.
9219         (parseSingleLyXformat2Token): Correct font when reading old floats.
9220
9221 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
9222
9223         * BufferView_pimpl.C (Dispatch): Check that float type exists when
9224         inserting list of floats.
9225
9226 2002-04-25  Herbert Voss  <voss@lyx.org>
9227
9228         * MenuBackend.C (expand): don't add the graphics extensions to the
9229         export menu
9230
9231 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9232
9233         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9234         non-existing layout, do not complain if it was the default layout
9235         of the original class (bug #342)
9236
9237 2002-04-24  Juergen Vigna  <jug@sad.it>
9238
9239         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9240         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9241
9242 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
9243
9244         * buffer.C (getBibkeyList): If using \bibliography, return the
9245         option field with the reference itself. Enables us to provide natbib
9246         support when using \bibliography.
9247
9248 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
9249
9250         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9251
9252         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9253         natbib is provided by the LaTeX class.
9254
9255 2002-04-23  Juergen Vigna  <jug@sad.it>
9256
9257         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9258         Wakeup functions.
9259
9260         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9261
9262 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9263
9264         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9265
9266         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9267         ensuremath around textordmasculine, textordfeminine and
9268         textdegree.
9269
9270 2002-04-19  Juergen Vigna  <jug@sad.it>
9271
9272         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9273         reinitializing the buffer otherwise row-dimensions may be wrong.
9274         (update): reset also the selection cursors if they do exits otherwise
9275         their x/y positions may be wrong.
9276
9277         * text2.C (cursorDown): don't enter the inset if we came from a row
9278         above and are one row over the inset.
9279
9280         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9281         really leaving an inset.
9282
9283 2002-04-18  Juergen Vigna  <jug@sad.it>
9284
9285         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9286         of the selected paragraph does not have the selected layout also if
9287         the last one had!
9288
9289         * text2.C (setLayout): fixed bug which did not change last selected
9290         paragraph.
9291
9292         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9293         changed the read and substituted \\end_float with \\end_inset!
9294
9295         * BufferView_pimpl.C (cursorPrevious):
9296         (cursorNext): fixed to make it work with rows heigher than the work
9297         area without moving the cursor only the draw of the row.
9298         (workAreaMotionNotify): fix jumping over high rows.
9299
9300 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9301
9302         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9303         Ressler.
9304
9305 2002-04-16  Juergen Vigna  <jug@sad.it>
9306
9307         * text2.C (setCursor): set also the irow().
9308         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9309         (cursorUp):
9310         (cursorDown): support for locking an inset if the x_fix value goes
9311         inside it. That way I can transverse insets too with cursor up/down.
9312
9313         * lyxrow.h: added irow helper function same as other (i) functions.
9314
9315         * BufferView_pimpl.C (cursorPrevious):
9316         (cursorNext): fixed for insets!
9317
9318 2002-04-15  Juergen Vigna  <jug@sad.it>
9319
9320         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9321         position otherwise it is wrong in some cases.
9322
9323         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9324         inside the inset before the call.
9325
9326 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
9327
9328         * buffer.[Ch] (getBibkeyList): make it const.
9329
9330 2002-04-12  Juergen Vigna  <jug@sad.it>
9331
9332         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9333
9334         * text2.C (getCursorX): new helper function
9335         (setCursor): compute also ix_
9336         (setCursorFromCoordinates): set also ix.
9337
9338         * lyxcursor.h: added ix_ and helper functions.
9339
9340         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9341
9342         * buffer.C (insertStringAsLines): dont break paragraph if the this
9343         paragraph is inside an inset which does not permit it!
9344
9345         * text.C (breakParagraph): honor keepempty flag and break the paragraph
9346         also with no chars on this paragraph.
9347         (paintRowText): only paint stuff if it's inside the workarea!
9348
9349         * paragraph.C (breakParagraph): honor keepempty flag and break the
9350         paragraph always below not above.
9351
9352         * BufferView2.C (unlockInset): update the paragraph layout on inset
9353         unlock as we changed paragraph in such a case.
9354
9355         * lyxfind.C (LyXFind): clear the former selection if not found!
9356
9357         * text2.C (insertInset): freeze Undo after setUndo so that it is not
9358         again called in insertChar().
9359
9360         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9361         an inset which uses the whole row!
9362         (rightMargin): ditto.
9363         (insertChar): force a rebreak if we inserted an inset!
9364
9365 2002-03-28  Herbert Voss  <voss@lyx.org>
9366
9367         * lyxlength.[Ch]: add inBP() to get the right PS-point
9368         units (BigPoint). With inPixels we have rounding errors
9369
9370 2002-04-11  Juergen Vigna  <jug@sad.it>
9371
9372         * text2.C (setCursorFromCoordinates): set iy to the right value.
9373         (setCursor): add check if row->previous exists!
9374
9375         * buffer.C (parseSingleLyXformat2Token): reset font after read of
9376         an old float_type as this was the case in the old code!
9377
9378         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9379
9380         * BufferView2.C (showLockedInsetCursor): use iy
9381         (fitLockedInsetCursor): ditto
9382
9383         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9384         locked insets as there we have the right value now.
9385
9386         * lyxcursor.C: added iy_ variable and iy functions to set to the
9387         baseline of cursor-y of the locked inset.
9388
9389         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9390         (setCursor): fixed for insets which need a full row.
9391
9392         * text.C (rowLastPrintable): don't ignore the last space when before
9393         an inset which needs a full row.
9394         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9395         as last character of a row when before a inset which needs a full row.
9396
9397 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9398
9399         * version.C.in: update date
9400
9401         * text2.C (fullRebreak): try to always return true and see what
9402         happens...
9403
9404 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9405
9406         * MenuBackend.C (expand): use Floating::listName
9407
9408         * FloatList.C (FloatList): add listName argument to the built-in
9409         floats
9410
9411         * Floating.[Ch]: add listName member, which is the 'List of XXX'
9412         text associated with the float.
9413
9414 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9415
9416         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9417
9418 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9419
9420         * ShareContainer.h: add a couple of missing typenames.
9421
9422 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
9423
9424         * lyxrc.C (getDescription): use _() correctly rather than N_().
9425
9426 2002-03-28  Herbert Voss  <voss@lyx.org>
9427
9428         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9429         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9430
9431 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9432
9433         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9434         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9435
9436 2002-03-29  Juergen Vigna  <jug@sad.it>
9437
9438         * lyxfunc.C (dispatch): add a missing fitCursor call.
9439
9440         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9441         it was scrolled by a cursor move, so return the bool status.
9442
9443         * BufferView.C (fitCursor): return the bool flag also to the outside
9444         world as this is needed.
9445
9446         * screen.C (toggleToggle): don't subtract the offset if it's positive.
9447
9448         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9449         call the edit() as it is not needed (and wrong) IMO.
9450         (workAreaButtonPress): set the screen_first variable before evt.
9451         unlock the inset as this may change screen_first and then we have
9452         a wrong y position for the click!
9453
9454 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9455
9456         * MenuBackend.C (expand): another translation that I missed
9457
9458 2002-03-28  Juergen Vigna  <jug@sad.it>
9459
9460         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9461
9462         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9463
9464 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9465
9466         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9467
9468         * MenuBackend.C (expand): fix export/view/update when there is no
9469         document open.
9470
9471 2002-03-27  Herbert Voss  <voss@lyx.org>
9472
9473         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9474         and text%
9475
9476 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9477
9478         * bufferview_funcs.C (currentState): only show paragraph number
9479         for is DEVEL_VERSION is set.
9480
9481         * lyxfunc.C (dispatch): put warning in INFO channel
9482
9483         * MenuBackend.C (expand): translate the name of floats
9484
9485         * FloatList.C (FloatList): mark the float names for translation
9486
9487         * converter.C (convert): use LibScriptSearch
9488
9489 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9490
9491         * MenuBackend.C (defaults): fix default menu (we might as well get
9492         rid of it...)
9493
9494 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9495
9496         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9497         directory.
9498
9499 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9500
9501         * lyxvc.C: reorder includes.
9502
9503 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
9504
9505         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9506           properly
9507
9508 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
9509
9510         * CutAndPaste.C: change layouts earlier on paste
9511           to avoid crashing when calling getFont()
9512
9513 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
9514
9515         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9516         irritating #error.
9517
9518 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9519
9520         * WorkArea.C: remove 'Pending' debug message.
9521
9522         * most files: ws cleanup
9523
9524         * buffer.[Ch]: ws changes
9525
9526         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9527
9528 2002-03-21  Juergen Vigna  <jug@sad.it>
9529
9530         * tabular.C (SetMultiColumn): collapse also the contents of the
9531         cells and set the last border right. Added a Buffer const * param.
9532
9533 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9534
9535         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9536         linking or not.
9537
9538 2002-03-19  Juergen Vigna  <jug@sad.it>
9539
9540         * text2.C (clearSelection): reset also xsel_cache.
9541
9542         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9543         where it needs to be called (John tells us to do so too :)
9544         (selectionLost): reset sel_cache.
9545
9546         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9547
9548 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9549
9550         * text2.C (setCursorIntern): put debuging code in INSETS channel
9551
9552 2002-03-19  André Pönitz <poenitz@gmx.net>
9553
9554         * lyxfunc.C: tiny whitespace change
9555
9556 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9557
9558         * ToolbarDefaults.C (init):
9559         * LyXAction.C (init):
9560         * commandtags.h:
9561         * BufferView_pimpl.C (Dispatch):
9562         * lyxfunc.C (dispatch): remove LFUN_DEPTH
9563
9564 2002-03-19  Allan Rae  <rae@lyx.org>
9565
9566         * exporter.C (Export): removeAutoInsets before doing anything else.
9567         While I've just introduced a dependency on BufferView this really is
9568         the best place to clean the buffer otherwise you need to cleanup in
9569         a dozen places before calling export or cleanup in a dozen functions
9570         that export calls.
9571
9572         * converter.C (runLaTeX):
9573         (scanLog): Better handling of removeAutoInsets and screen updates.
9574
9575         * lyxfunc.C (dispatch): small whitespace changes
9576
9577 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9578
9579         * WorkArea.C (C_WorkAreaEvent): return a value.
9580         (event_cb): return 1 if we handled the event, 0 otherwise.
9581
9582         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9583
9584 2002-03-18  Juergen Vigna  <jug@sad.it>
9585
9586         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9587         (GetAdditionalWidth): ditto.
9588         (RightLine): ditto.
9589         (LeftLine): ditto.
9590
9591         * BufferView2.C (copy): use getLyXText() so that we do it inside an
9592         inset if we're there actually (probably not used right now but this
9593         is the direction to go for unifying code).
9594         (paste): disable code to clear the selection.
9595
9596         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9597         inside an InsetText and move the check further up as it is in the
9598         wrong place.
9599
9600         * text2.C (pasteSelection): set a selection over the pasted text.
9601
9602 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
9603
9604         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9605         and libgraphics to build on Cygwin.
9606
9607 2002-03-15  Juergen Vigna  <jug@sad.it>
9608
9609         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9610         inserting an Inset into the paragraph. I know this is not the best
9611         fix but we already use current_view in CutAndPaste so we will remove
9612         all of it's using at the same time.
9613
9614         * buffer.C (sgmlError): deactivated function till it is rewritten in
9615         the right mode, now it can create problems.
9616
9617         * paragraph.C (isLineSeparator): check if getInset returns != 0,
9618         before accessing it.
9619
9620 2002-03-14  Juergen Vigna  <jug@sad.it>
9621
9622         * undo_funcs.C (textHandleUndo): do the right thing when updating
9623         the inset after the undo/redo.
9624
9625         * text2.C (setCursor): just some testcode for #44 not ready yet.
9626
9627         * undo_funcs.C (textHandleUndo): set the next() and previous()
9628         pointers of the paragraph to 0 before deleting otherwise we have
9629         problems with the Paragraph::[destructor].
9630
9631         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9632         on a paragraph insertion.
9633
9634 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9635
9636         * buffer.C (asciiParagraph): use += operator for char append to
9637         string.
9638
9639         * paragraph.C (getFontSettings): compare >= not just >
9640         (highestFontInRange): ditto
9641         (setFont): ditto
9642
9643 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9644
9645         * paragraph.C: change several algorithm to be more appripriate for
9646         the problem domain. This is lookip in FontList and in the InsetList.
9647
9648 2002-03-13  André Pönitz <poenitz@gmx.net>
9649
9650         * commandtags.h:
9651         * LyXAction.C: remove unused LFUN_MATH_MACROARG
9652
9653 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
9654
9655         * commandtags.h:
9656         * LyXAction.C:
9657         * lyxfunc.C:
9658         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9659
9660 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9661
9662         * Painter.C (display): anon helper function, adjust code for this
9663         change.
9664         (pixmap): remove function.
9665
9666         * Painter.h: remove private display variable.
9667
9668         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9669
9670 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
9671
9672         * WorkArea.[Ch]: remove figinset_canvas cruft.
9673
9674 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9675
9676         * lyxtextclass.C (operator): add one item cache optimization.
9677
9678         * bufferlist.h: doxy changes
9679
9680         * bufferlist.C: ws changes
9681
9682         * DepTable.[Ch] (ext_exist): place const in the right spot.
9683
9684         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9685         call resizeInsets.
9686         (workAreaExpose): call resizeInsets when the with BufferView changes.
9687         (Dispatch): adjust for protectedBlank removal
9688         (specialChar): call updateInset if the insert went ok.
9689
9690         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9691         specialChar instead.
9692
9693         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9694
9695         * BufferView.h: doxy change
9696
9697         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9698
9699         * lyxtextclass.C (operator[]): remove non-const version
9700         (defaultLayout): remove non-const version
9701
9702 2002-03-12  Juergen Vigna  <jug@sad.it>
9703
9704         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9705         did resize the LyXText too.
9706
9707         * buffer.C (readLyXformat2): set layout information on newly allocated
9708         paragraphs.
9709
9710         * tabular.C (OldFormatRead): set layout information on the paragraph.
9711
9712 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9713
9714         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9715
9716 2002-03-11  Juergen Vigna  <jug@sad.it>
9717
9718         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9719         plainly wrong.
9720         (resizeCurrentBuffer): force also the insets to resize themselfes.
9721         (moveCursorUpdate): fixed up for InsetText.
9722
9723 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
9724
9725         * commandtags.h:
9726         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9727         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9728         value of Dialogs::tooltipsEnabled().
9729         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9730
9731 2002-03-08  Juergen Vigna  <jug@sad.it>
9732
9733         * BufferView_pimpl.C (updateInset): update inset inside inset also
9734         if it isn't inside theLockingInset().
9735
9736 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9737
9738         * buffer.C (asciiParagraph): redo some of the word and line length
9739         handling.
9740         (getLists): look for Caption instead of caption.
9741
9742 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9743
9744         * buffer.C (Buffer): initialize niceFile to true
9745         (makeLaTeXFile):
9746         (makeLinuxDocFile):
9747         (makeDocBookFile): make sure niceFile is true on exit
9748
9749 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9750
9751         * buffer.C (makeLaTeXFile): escape ~ in \input@path
9752
9753 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
9754
9755         * LyXSendto.C: remove.
9756         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9757         * lyx_gui.C: remove now-redundant comment.
9758         * ColorHandler.h: remove forward declaration of class WorkArea.
9759         * lyxfunc.C: remove #include "WorkArea.h".
9760
9761 2002-03-07  Juergen Vigna  <jug@sad.it>
9762
9763         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9764         got moved away with the DEPM and also set the inset_owner always
9765         right which before could have been omitted.
9766
9767 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9768
9769         * buffer.C (parseSingleLyXformat2Token): use default layout is the
9770         wanted layout is not found.
9771
9772 2002-03-07  Juergen Vigna  <jug@sad.it>
9773
9774         * CutAndPaste.C (cutSelection): another layout settings forgotten.
9775
9776 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9777
9778         * paragraph.C (breakParagraph): use default layout not layout of
9779         prev paragraph.
9780         (Paragraph): clear ParagraphParameters.
9781
9782 2002-03-06  Juergen Vigna  <jug@sad.it>
9783
9784         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9785         otherwise it would not be a valid lenght. Fixed a special case in
9786         the minipage compatibility read where we end the document with a
9787         minipage.
9788
9789         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9790         was set as it could be 0 for InsetTexts first entry.
9791
9792 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9793
9794         * paragraph.C (writeFile): if layout is empty write out
9795         defaultLayoutName().
9796
9797         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9798         file without named layout we set layout to defaultLayoutName().
9799
9800 2002-03-06  Juergen Vigna  <jug@sad.it>
9801
9802         * CutAndPaste.C (copySelection): set layout for new paragraph.
9803
9804         * text.C (prepareToPrint): leave ERT inset left aligned
9805         (leftMargin): don't indent paragraphs inside ERT insets
9806
9807 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9808
9809         * paragraph.C (breakParagraph): dont call clear do the work manually
9810
9811         * paragraph.[Ch] (clear): remove function
9812
9813 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9814
9815         * paragraph.C (Paragraph): dont call clear, the work has already
9816         been done.
9817
9818         * lyxtextclass.C (operator): assert if n is empty
9819
9820         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9821         work manually instead.
9822
9823 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9824
9825         * BufferView_pimpl.C: protect selectionLost against text == 0
9826
9827 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9828
9829         * text.C (breakParagraph): fix a setting layout to '0' problem.
9830
9831 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9832
9833         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9834         final location of file, for the included files, and graphics.
9835
9836 2002-03-05  Juergen Vigna  <jug@sad.it>
9837
9838         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9839
9840 2002-03-04  Juergen Vigna  <jug@sad.it>
9841
9842         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9843
9844         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9845         last column of multicolumn cells.
9846         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9847
9848 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9849
9850         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9851         file if it doesn't go to a temporary file.
9852
9853         * buffer.C (sgmlOpenTag):
9854         (sgmlCloseTag):  remove extra newline insertion.
9855
9856 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9857
9858         * text.C (getRowNearY): comment out debug msg
9859
9860 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9861
9862         * text2.C: first -> first_y
9863
9864         * text.C (getRowNearY): add some attemts at a possible
9865         optimization, not working.
9866
9867         * tabular.[Ch]: add BufferParams to several function so that newly
9868         created paragraph can be initialized to he default layotu for the
9869         buffers textclass.
9870
9871         * tabular-old.C (ReadOld): add buf->params to call of Init
9872
9873         * screen.C: rename text->first to text->first_y
9874
9875         * paragraph.C (breakParagraph): always set layout in the broken
9876         paragraph
9877
9878         * lyxtextclass.C (Read): remove lowercase
9879         (hasLayout): ditto
9880         (operator): ditto
9881         (delete_layout): ditto
9882
9883         * lyxtext.h: rename first -> first_y
9884
9885         * lyxlayout.C (Read): remove lowercase
9886         (name): ditto
9887         (setName): ditto
9888         (obsoleted_by): ditto
9889
9890         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9891
9892         * buffer.C (insertErtContents): add params are to InsetERT
9893         (parseSingleLyXformat2Token): add code to check if a paragraphs
9894         layout really exist.
9895         (parseSingleLyXformat2Token): add params to several inset
9896         constructors
9897         (asciiParagraph): remove lowercase, do the layout comparisons with
9898         no_case
9899
9900         * BufferView_pimpl.C (cursorNext): first -> first_y
9901         (resizeCurrentBuffer): first -> first_y
9902         (updateScrollbar): first -> first_y
9903         (scrollCB): first -> first_y
9904         (workAreaMotionNotify): first -> first_y
9905         (workAreaButtonPress): first -> first_y
9906         (checkInsetHit): first -> first_y
9907         (cursorPrevious): first -> first_y
9908         (cursorNext): first -> first_y
9909         (Dispatch): add buffer_->params to severl inset contructors
9910
9911 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9912
9913         * lyxlayout.C (Read): remove some debug info that I forgot.
9914
9915         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9916         clean up the code slightly.
9917         (makeLinuxDocFile): ditto
9918         (makeDocBookFile): ditto
9919
9920         * text2.C: layout as string
9921
9922         * text.C: layout as string
9923
9924         * paragraph_pimpl.C: layout as string
9925
9926         * paragraph.[Ch]: layout as string
9927
9928         * lyxtextclasslist.[Ch]: layout as string
9929
9930         * lyxtextclass.[Ch]: layout as string
9931
9932         * lyxtext.h: layout as string
9933
9934         * lyxlayout.[Ch]: layout as string
9935
9936         * lyx_cb.C: layout as string
9937
9938         * bufferview_funcs.C: layout as string
9939
9940         * bufferparams.C: layout as string
9941
9942         * buffer.C: layout as string
9943
9944         * LyXView.[Ch]: layout as string
9945
9946         * LaTeXFeatures.[Ch]: layout as string
9947
9948         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9949
9950         * BufferView_pimpl.C: change current_layout to string, remove
9951         lyx::layout_type.
9952         (Dispatch):
9953         (smartQuote):
9954         (insertInset):
9955         (workAreaButtonRelease): layout as string
9956
9957         * BufferView2.C (unlockInset): adjust
9958
9959         * vspace.C (asLatexCommand): use an explict temp variable.
9960
9961 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9962
9963         * Makefile.am: use FRONTEND_*
9964
9965 2002-03-01  Juergen Vigna  <jug@sad.it>
9966
9967         * tabular.C (SetWidthOfMulticolCell): changed to something better
9968         I hope but still work in progress.
9969         (recalculateMulticolumnsOfColumn): renamed function from
9970         recalculateMulticolCells as it is more appropriate now.
9971         (SetWidthOfCell): calculate multicols better.
9972
9973 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9974
9975         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9976
9977         * lyxfunc.C (processKeySym): print sequence also if it is
9978         `deleted' (complete)
9979
9980         * kbsequence.C (print): print sequence even if it is deleted
9981         (complete would be a better word, actually).
9982
9983         * lyxfunc.C (dispatch): print complete options after a prefix key
9984
9985         * vspace.C (asLatexCommand): rewrite in a slightly different form.
9986
9987 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
9988
9989         * text2.C (setCharFont): eliminate setCharFont code duplication.
9990
9991 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9992
9993         * BufferView_pimpl.C (Dispatch): remove bogus handling of
9994         LFUN_TABULAR_FEATURE (bug #177)
9995
9996 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
9997
9998         * Makefile.am: remove figure.h
9999
10000 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
10001
10002         * Bufferview_pimpl.C:
10003         * CutAndPasteC:
10004         * LaTeX.C:
10005         * LyXSendto.C:
10006         * buffer.C:
10007         * bufferlist.C:
10008         * converter.C:
10009         * language.C:
10010         * lyxfunc.C:
10011         * lyxvc.C:
10012         * paragraph.C:
10013         * text.C:
10014         * text2.C: remove #include "lyx_gui_misc.h".
10015
10016         * LaTeX.C: added #include <cstdio>
10017
10018 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10019
10020         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10021         that the paragraph following this one can have.
10022
10023         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10024
10025         * vspace.C (asLatexCommand): fix bogus gcc warning
10026
10027         * Makefile.am (lyx_SOURCES): remove vms_defines.h
10028
10029 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
10030
10031         * text2.C (setLayout): get rid of redundant code
10032
10033 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
10034
10035         * text2.C (incDepth): make sure depth cannot be increased beyond
10036         reasonable values.
10037
10038 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
10039
10040         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10041         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10042
10043         * PainterBase.h (image):
10044         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10045         a LyXImage const *.
10046
10047 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10048
10049         * BufferView.C:
10050         * BufferView.h:
10051         * BufferView_pimpl.C:
10052         * BufferView_pimpl.h:
10053         * LaTeXFeatures.C:
10054         * LyXAction.C:
10055         * LyXView.C:
10056         * Makefile.am:
10057         * UpdateList.h:
10058         * UpdateList.C:
10059         * buffer.C:
10060         * figure.h:
10061         * figureForm.C:
10062         * figureForm.h:
10063         * figure_form.C:
10064         * figure_form.h:
10065         * lyx_cb.C:
10066         * lyx_gui.C:
10067         * lyx_gui_misc.C:
10068         * lyxfunc.C:
10069         * sp_base.h:
10070         * sp_ispell.h:
10071         * sp_pspell.h:
10072         * sp_spell.C: remove fig inset, and the crap house of
10073           cards that follows it
10074
10075 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10076
10077         * Makefile.am:
10078         * lyxserver.C:
10079         * os2_defines.h:
10080         * os2_errortable.h:
10081         * nt_defines.h: move .h into support/
10082
10083         * vms_defines.h: remove
10084
10085         * WorkArea.C: add space in debug output
10086
10087         * text2.C:
10088         * paragraph.C:
10089         * buffer.C: add WITH_WARNINGS
10090
10091         * vc-backend.h:
10092         * vc-backend.C:
10093         * bufferlist.C: s/retrive/retrieve/, add docs
10094
10095         * vspace.h:
10096         * vspace.C:
10097         * kbmap.h:
10098         * lyxlength.h:
10099         * lyxgluelength.h:
10100         * length_common.h:
10101         * chset.h:
10102         * chset.C: add docs
10103
10104         * lyxgui.C: add ID to X error handler
10105
10106         * lyxtestclass.c: fix typo
10107
10108 2002-02-26  Juergen Vigna  <jug@sad.it>
10109
10110         * tabular_funcs.C (write_attribute): changed so that some default
10111         attributes are not written at all.
10112         (getTokenValue): set default values before trying to read the
10113         value so we have the return value always set as default if we don't
10114         find the token we search for.
10115
10116         * tabular.C (Write): write bools as bools not as strings!
10117
10118 2002-02-22  Juergen Vigna  <jug@sad.it>
10119
10120         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10121         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10122
10123         * text.C (leftMargin): don't add an indent for paragraphs inside
10124         tabular cells (fix #208).
10125
10126 2002-02-21  José Matos  <jamatos@fep.up.pt>
10127
10128         * tabular.C (docBook): fixed support for long tables.
10129
10130 2002-02-20  Juergen Vigna  <jug@sad.it>
10131
10132         * text2.C (getFont): get the drawing font of the Inset if this
10133         paragraph is inside an inset (only important for InsetERT for now).
10134
10135         * buffer.C (insertErtContents): use new lanugage params in ERT
10136         constructor.
10137
10138         * CutAndPaste.C: commenting out seemingly uneeded code.
10139
10140 2002-02-19  Allan Rae  <rae@lyx.org>
10141
10142         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10143         Iterators might be simple to use but they also get invalidated.
10144         (removeAutoInsets): renamed saved cursor tracking variables and added
10145         some comments to clarify what everything does.
10146
10147 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
10148
10149         * Chktex.C:
10150         * LaTeX.C:
10151         * LyXSendto.C:
10152         * converter.C:
10153         * lyx_cb.C:
10154         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10155         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10156
10157         * lyxfunc.C:
10158         * vc-backend.h: remove #include "support/syscall.h"
10159
10160         * LaTeX.C:
10161         * LyXSendto.C:
10162         * converter.C: rearrange #includes in Lars' approved fashion.
10163
10164         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10165         forward declare class Timeout in the header file.
10166
10167         * XFormsView.C: changes due to the above.
10168
10169         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10170         similar to LyXView.
10171
10172         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10173         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10174
10175 2002-02-18  José Matos  <jamatos@fep.up.pt>
10176
10177         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10178         insets contents.
10179
10180 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
10181
10182         * a lot of small ws changes
10183         * add a lot of using std::XXX
10184         * use std construcs some places where approp.
10185         * use some exisint stuff from lyxfunctional where approp.
10186         * Make file changes to use partial linking (lets test this now...)
10187
10188 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10189
10190         * Chktex.C:
10191         * buffer.C:
10192         remove #include "support/syscontr.h" as it's redundant. Always has been.
10193
10194         * Chktex.C:
10195         * LaTeX.C:
10196         * LyXSendto.C:
10197         * converter.C:
10198         * lyx_cb.C:
10199         * vc-backend.C:
10200         change Systemcalls::System to Systemcalls::Wait and
10201         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10202         No change of functionality, just reflects the stripped down Systemcalls
10203         class.
10204
10205 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10206
10207         * debug.[Ch]: add a GRAPHICS type to the enum.
10208
10209 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10210
10211         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10212
10213         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10214         there is an inset.
10215
10216 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10217
10218         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10219         match the changes below.
10220
10221         * text2.C (toggleInset): if there is not editable inset at cursor
10222         position, try to see if cursor is _inside_ a collapsable inset
10223         and close it.
10224
10225 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10226
10227         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10228         document menu has a nice checkbox
10229
10230 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10231
10232         * lyxlength.C (asLatexString): change PW to output as percent of
10233         \textwidth.
10234
10235         * lengthcommon.C: change '%' to 't%'
10236
10237         * lyxfunc.C (dispatch): a few comments from Martin
10238
10239 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
10240
10241         * WorkArea.h:
10242         * WorkArea.C:
10243         * BufferView_pimpl.h:
10244         * BufferView_pimpl.C: clear our selection when X tells us we've lost
10245           the X selection.
10246
10247 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10248
10249         * vspace.C (inPixels): fix compiler warning
10250
10251 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10252
10253         * lyxfunc.C (getStatus): fix status message for disabled commands.
10254
10255 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
10256
10257         * BufferView_pimpl.C: fix crash on close buffer
10258         during selection (#227)
10259
10260 2002-01-27  Herbert Voss  <voss@lyx.org>
10261
10262         * buffer.C: link old Figure to new graphic inset
10263
10264 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
10265
10266         * FontLoader.C (getFontinfo): Change the latex font names in order
10267         to match the names of type1inst.
10268
10269 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10270
10271         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10272
10273         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10274         (extchanged): ditto
10275         (ext_exist): ditto
10276         (remove_files_with_extension): ditto
10277         (remove_file): ditto
10278         (write): ditto
10279
10280         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10281         document is smaller than the work area height. Do not initialize
10282         static variables to 0.
10283
10284 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10285
10286         * lyx_gui.C (init): give the toolbar tooltips a normal font.
10287
10288         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10289         LFUN_LAYOUT_PARAGRAPHS.
10290
10291         * tabular.C (GetCellFromInset): new method. Finds an inset in a
10292         tabular. It is possible to provide a possible cell, which will
10293         typically be the actcell from the corresponding insettabular
10294
10295         * lyxfunc.C (getStatus): small cleanup; disable
10296         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10297         true
10298
10299 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10300
10301         * tabular.C (Validate): remove broken optimization (fixes bug #201)
10302
10303         * paragraph.C (startTeXParParams):
10304         (endTeXParParams): new methods. The LaTeX code to
10305         start/end paragraph formatting
10306         (simpleTeXOnePar): call startTeXParParams also when paragraph is
10307         empty (fixes bug #200)
10308
10309         * vspace.C (inPixels): adapt to the change below
10310         (inPixels): [later] more cleanups (remove unused variables)
10311
10312         * lyxlength.C (inPixels): change to use a width and a height as
10313         parameter.
10314
10315 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10316
10317         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10318         Replaced with \paperwidth
10319
10320         * DepTable.C (insert): add std:: qualifier
10321
10322 2002-01-18  Allan Rae  <rae@lyx.org>
10323
10324         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
10325         updated also?
10326
10327         * text.C (drawInset): Turned out I didn't know enough about how
10328         rebreaking worked.  This fixes most of the redraw problems.  I see
10329         an occasional cursor trail when a line is broken now and the cursor
10330         placement can seem out by a few pixels also after a rebreak.
10331
10332 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10333
10334         * buffer.C (parseSingleLyXformat2Token): update because minipage
10335         width is now a LyXLength
10336
10337         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10338
10339         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10340         math insets
10341
10342 2002-01-17  Juergen Vigna  <jug@sad.it>
10343
10344         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10345
10346         * BufferView2.C (lockInset): call edit() so that theLockingInset()
10347         is set correctly and the inset is updated correctly.
10348
10349 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10350
10351         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10352         the beginning of the loop.
10353
10354 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
10355
10356         * lyxrc.C: improve help for use_scalable_fonts
10357
10358 2002-01-17  Allan Rae  <rae@lyx.org>
10359
10360         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10361
10362 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10363
10364         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10365         make sure to set their inset_owner to the right value (bug #171)
10366
10367 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
10368
10369         * DepTable.h
10370         * DepTable.C: Implement mtime checking to reduce time spent doing
10371         CRCs.
10372
10373 2002-01-16  Juergen Vigna  <jug@sad.it>
10374
10375         * tabular.C (GetAdditionalHeight): one of error fixed.
10376
10377         * lyxrc.C (output): small fix in writing use_pspell.
10378
10379 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
10380
10381         * sp_base.h: #include LString.h
10382
10383 2002-01-16  Allan Rae  <rae@lyx.org>
10384
10385         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
10386         Can someone check this please?
10387
10388         * text.C (drawInset): It was possible that p.row would be removed by
10389         breakAgainOneRow upsetting a few other settings.  There may be another
10390         small tweak possible by setting need_break_row = 0 when p.row has been
10391         removed but I don't know enough about the logic here.
10392
10393 2002-01-15  Allan Rae  <rae@lyx.org>
10394
10395         * text.C (insertChar): removed conditional truism.
10396
10397         * BufferView2.C (removeAutoInsets): More tweaks.
10398         cur_par_prev could be a stray pointer.  Check for trailing empty line
10399         in case last line was cur_par and only had an error inset on it.
10400
10401 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10402
10403         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10404         absolute
10405
10406         * vc-backend.C (most methods):
10407         * exporter.C (Export):
10408         * converter.C (convert):
10409         (runLaTeX):
10410         * LyXSendto.C (SendtoApplyCB):
10411         * lyxfunc.C (dispatch):
10412         (menuNew):
10413         (open):
10414         (doImport):
10415         * lyx_cb.C (AutoSave):
10416         (InsertAsciiFile):
10417         * BufferView_pimpl.C (MenuInsertLyXFile):
10418         * buffer.C (runChktex): use Buffer::filePath().
10419
10420         * buffer.h: rename filename to filename_; rename filepath to
10421         filepath_ and make it private
10422         (filePath): new method
10423
10424         * buffer.C (writeFile): use fileName()
10425         (getLatexName):
10426
10427         * lyx_main.C (init): fix starting  of LyX when the binary is a
10428         link from so,ewhere else.
10429
10430         * minibuffer.C: include <cctype> for isprint
10431
10432 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10433
10434         * buffer.C (parseSingleLyXformat2Token): changes associated with the
10435         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10436         name clash with InsetCollapsable's width function.
10437
10438 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10439
10440         * lastfiles.C: include <iterator>
10441
10442 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10443
10444         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10445         std::count.
10446
10447         * buffer.C (makeLaTeXFile): ditto.
10448         Also make loop operation more transparent.
10449
10450 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10451
10452         * ToolbarDefaults.C: remove trailing comma closing namespace.
10453
10454         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10455
10456         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10457         as in WorkArea.
10458
10459         * trans.C (Load): comment out unused variable, allowed.
10460
10461 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10462
10463         * minibuffer.[Ch] (append_char): new method to recieve input from the
10464         drop-down completion browser. If a key was pressed, then recieve this
10465         char and append it to the existing string.
10466         (peek_event): modify the positioning data passed to the completion
10467         browser so that it can be placed above the minibuffer rather than below.
10468 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10469
10470         * LyXAction.C (init): alloe error-next for readonly documents.
10471
10472         * BufferView2.C (ChangeRefsIfUnique): use standard version of
10473         count.
10474
10475 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10476
10477         * bufferlist.C (readFile): create the buffer _after_ checking that
10478         the file exists.
10479
10480         * lyxfunc.C (verboseDispatch): fix handling of arguments
10481
10482         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10483
10484         * lyxrc.C: use string::erase() instead of initializing to "".
10485
10486
10487 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10488
10489         * BufferView_pimpl.h:
10490         * BufferView_pimpl.C:
10491         * WorkArea.h:
10492         * WorkArea.C:
10493         * text2.C: tell X when we have made a selection for copying
10494
10495 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10496
10497         * BufferView_pimpl.C (MenuInsertLyXFile):
10498         * lyxfunc.C (menuNew):
10499         (open):
10500         (doImport): add shortcuts to directory buttons
10501
10502         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10503         open a float)
10504
10505         * lyxfunc.C (setStatusMessage):
10506         (getStatusMessage): new methods
10507         (getStatus):use setStatusMessage instead of setErrorMessage
10508         (dispatch): when function is disabled, set error message here
10509         [instead of in getStatus previously]
10510
10511         * BufferView_pimpl.C (workAreaButtonRelease): update
10512         toolbar/menubar here too.
10513
10514 2002-01-13  Allan Rae  <rae@lyx.org>
10515
10516         * BufferView2.C (removeAutoInsets): finished off earlier fix.
10517         Now seems indestructible.  Remaining task is to audit all other
10518         code affected by deleteEmptyParagraphMechanism.  One small quirk
10519         left is that an empty document with an error in the preamble can
10520         be made to report an error but no error box appears.  I don't know
10521         where it goes.
10522         (removeAutoInsets): Improved comments.
10523
10524 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
10525
10526         * Thesaurus.h:
10527         * Thesaurus.C: update for Aiksaurus 0.14
10528
10529 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10530
10531         * text2.C (firstParagraph): removed member function, all uses
10532         replaces with ownerParagraph
10533         (redoParagraphs): here
10534         (updateInset): here
10535         (toggleAppendix): here
10536         * BufferView2.C (insertErrors): here
10537         (setCursorFromRow): here
10538
10539 2002-01-13  Allan Rae  <rae@lyx.org>
10540
10541         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10542         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10543         There is still a way to segfault this although you may have to do this
10544         multiple times: Have an InsetERT with an unknown command in it.
10545         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10546         <down-arrow>, <Enter> again, View->DVI, BANG!
10547
10548         * text2.C (setCursor):
10549         (deleteEmptyParagraphMechanism):
10550         * lyxtext.h (setCursor):
10551         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10552         Making use of the return value may help fix other bugs.
10553
10554 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10555
10556         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10557
10558         * LyXView.C (updateMenubar): call MenuBar::update here
10559         (updateToolbar): but not here
10560         (showState): do not update toolbar/menubar
10561
10562         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10563         should need to care about that.
10564
10565         * lyxfunc.C (verboseDispatch): simplify a bit
10566         (getStatus): have a version which takes a pseudoaction, and
10567         another which requires a (kb_action,string).
10568
10569         * LyXAction.C (retrieveActionArg): make it work also when action
10570         is not a pseudo-action.
10571         (getActionName): simplify a bit
10572         (helpText):
10573
10574 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10575
10576         * lyxfunc.C (verboseDispatch): new families of methods with
10577         several ways to specify a command and a bool to indicate whether
10578         the command name and shortcut should be displayed in minibuffer
10579         (eventually, we could extend that to a finer bitmask like
10580         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10581         (dispatch): the pristine dispatch command which just, well,
10582         dispatchs! Note it still sets its result to minibuffer; I'm not
10583         sure we want that.
10584
10585         * lyxfunc.h: remove setHintMessage
10586
10587         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10588
10589 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10590
10591         * BufferView_pimpl.C (specialChar): delete new inset if we have
10592         not been able to insert it.
10593
10594         * kbmap.C: revert to using int instead of kb_action, since all we
10595         are dealing with is pseudo-actions.
10596
10597         * LyXAction.C (searchActionArg): change to return int instead of
10598         kb_action, since the result is a pseudoaction.
10599
10600 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
10601
10602         * buffer.C (insertErtContents): Fix (partially) the font bug.
10603
10604 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10605
10606         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10607         as the other one is broken on my machine!
10608
10609 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
10610
10611         * commandtags.h:
10612         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10613
10614 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
10615
10616         * lyxrc.[Ch]: change names and descriptions of popup font variables to
10617         reflect their actual use. Provide compatibility code for older lyxrc
10618         files.
10619
10620         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10621         FL_NORMAL_STYLE.
10622         change names of popup font variables in line with the changes to lyxrc.C
10623
10624 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10625
10626         * buffer.C (asciiParagraph): avoid outputing a word twice after
10627         an inset.
10628
10629         * lyxrc.C (getDescription): document that document_path and
10630         template_path can be empty.
10631
10632 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10633
10634         * LaTeXFeatures.C (getMacros):
10635         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10636
10637         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10638
10639         * LaTeXFeatures.C (useFloat): require "float" here instead of in
10640         getPackages.
10641         (getPackages): rename feature "floats" to "float". Use an array to
10642         iterate over 'simple' features (i.e. just a \usepackage). Add
10643         handling of "amsmath" (renamed from "amsstyle").
10644
10645 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
10646
10647         * LaTeXFeatures.C (require): Prevent duplicate entries in the
10648         features list.
10649
10650 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
10651
10652         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10653         FuncStaus::FuncStatus & FuncStaus::some_method().
10654
10655 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
10656
10657         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10658         of the func_satus stuff. Edited and massaged in various ways by
10659         JMarc.
10660
10661         * lyxfunc.C (getStatus): use FuncStatus
10662
10663 2002-01-08  Juergen Vigna  <jug@sad.it>
10664
10665         * text.C (nextBreakPoint): use function Inset::isChar().
10666
10667         * paragraph.C (TeXOnePar): use function
10668         Inset::forceDefaultParagraphs.
10669
10670         * buffer.C (latexParagraphs): use function
10671         Inset::forceDefaultParagraphs.
10672
10673 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10674
10675         * lyx_gui.C (init): set the style of the menu popups to
10676         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10677
10678 2002-01-07  Juergen Vigna  <jug@sad.it>
10679
10680         * text.C (setHeightOfRow): small fix
10681         (prepareToPrint): don't look at alignment if we don't have the place
10682         for doing it.
10683
10684 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10685
10686         * box.C: New file. Move the Box methods and functions out of box.h,
10687         following Lars' suggestion.
10688
10689 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10690
10691         * box.h: #include "support/LOstream.h", needed for inlined function.
10692
10693         * lyxtextclass.C:
10694         * lyxtextclasslist.C: added some using std declarations.
10695
10696 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
10697
10698         * box.h: make signed dimensions to allow insets wider than
10699           the screen (bug #162)
10700
10701         * BufferView_pimpl.C: add some insetHit debug
10702
10703 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
10704
10705         * vc-backend.C: add FIXME
10706
10707 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10708
10709         * lyxfunc.C (getStatus): enable code for showing math font status
10710         in toolbar/menu.
10711
10712 2002-01-07  Juergen Vigna  <jug@sad.it>
10713
10714         * text.C (nextBreakPoint): removed debug output not needed anymore.
10715
10716 2002-01-06  Juergen Vigna  <jug@sad.it>
10717
10718         * text.C (nextBreakPoint): fixed up this function we had this bug
10719         since ever but now hopefully we break row better.
10720         (insertChar): we have to check if an inset is the next char as it
10721         could now happen that a large inset is causing a break.
10722
10723 2002-01-05  Juergen Vigna  <jug@sad.it>
10724
10725         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10726         if it doesn't like to be drawed.
10727
10728 2002-01-04  Juergen Vigna  <jug@sad.it>
10729
10730         * BufferView2.C (lockInset): forgot to set a cursor.
10731
10732         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10733
10734 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
10735
10736         * FormMathsPanel.C:
10737         * FormMathsPanel.h
10738         * MathsSymbols.C:
10739         * form_maths_panel.C:
10740         * form_maths_panel.h:
10741         * form_maths_panel.fd: implemented sub- and super- buttons in math
10742         panel.
10743
10744         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10745         (or ^ space) to be used as in TeX (req'd by André).
10746
10747         * lyxfunc.C: Allow ^ and _ again to be used both as
10748         super/subscript (mathed) and as themselves (in text).
10749
10750 2002-01-03  Allan Rae  <rae@lyx.org>
10751
10752         * LyXView.C (updateWindowTitle): Setup a short icon title of either
10753         "LyX" or the filename of the current buffer if it has one.  This is a
10754         modified form of John Levon's patch.
10755
10756         * XFormsView.C (setWindowTitle): also set icon title.
10757
10758         * LyXView.h (setWindowTitle): signature changed.
10759         * XFormsView.h (setWindowTitle): ditto.
10760
10761 2002-01-02  Juergen Vigna  <jug@sad.it>
10762
10763         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10764
10765 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10766
10767         * screen.C (topCursorVisible): introduce a temp var for
10768         text->cursor.row(), handle the case where this row is null. (kindo
10769         hachish)
10770
10771         * text2.C (setCursor): add a couple of asserts.
10772
10773         * paragraph.h (inset_iterator): add -> operator
10774
10775         * paragraph.[Ch] (autoDeleteInsets): remove member function
10776
10777         * BufferView2.C (removeAutoInsets): rewrite to handle the old
10778         cursor pos correctly and handle inset deletion by itself.
10779         (insertErrors): move iterator declaration out of for expression
10780
10781         * lyxtextclass.C: add <algorithm>
10782
10783         * Makefile.am: added the new files to sources, removed layout.C
10784
10785         * layout.C: removed file
10786
10787         * layout.h: remove LYX_DUMMY_LAYOUT
10788
10789         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10790         layout.
10791
10792         * lyxlayout.[Ch]:
10793         * lyxtextclass.[Ch]:
10794         * lyxtextclasslist.[Ch]: new files
10795
10796         * include order changes to a lot of files, also changes because of
10797         the six new files.
10798
10799 2001-12-27  Juergen Vigna  <jug@sad.it>
10800
10801         * buffer.C (asciiParagraph): more fixes.
10802
10803         * tabular.C (ascii): make ascii export support export of only the
10804         data separated by a column-delimiter.
10805         (ascii): better support for ascii export.
10806
10807         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10808
10809 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10810
10811         * tabular_funcs.C: use a "using std::getline" instead of the
10812         previous fix from Angus (necessary for cxx + lyxstring)
10813
10814 2001-12-24  Juergen Vigna  <jug@sad.it>
10815
10816         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10817
10818         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10819         problems. First check a minipage also if we have some ert-contents
10820         (not only on par->size(), second set the right depth of the paragraph
10821         on the relink to the root-paragraph-list!
10822
10823         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10824         which then did not anymore update the main paragraphs on undo/redo!
10825
10826 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10827
10828         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10829         code. Support all font-changing funcs (even those which are not in
10830         menu currently). Support for reporting font settings in
10831         mathed (disabled until Andre provides a function on mathed's side).
10832
10833         * func_status.h (toggle): small helper function to set toggle
10834         state on a flag.
10835
10836 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10837
10838         * tabular_funcs.C: getline -> std::getline
10839
10840 2001-12-21  Juergen Vigna  <jug@sad.it>
10841
10842         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10843         accessed and could be 0 (I couldn't generate this but it seems
10844         Michael could!).
10845
10846 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10847
10848         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10849         * tabular_funcs.h: here and include iosfwd
10850
10851 2001-12-20  Juergen Vigna  <jug@sad.it>
10852
10853         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10854         inside inset but undo_par was.
10855
10856 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10857
10858         * Thesaurus.C: always include <config.h> in sources.
10859
10860         * Painter.h:
10861         * lyxlookup.h:
10862         * box.h: do not include <config.h> in header files
10863
10864         * text.C (paintLastRow): remove unused variable
10865
10866         * text.C (transformChar):
10867         (insertChar):
10868         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10869
10870         * Painter.C (text):
10871         * font.C (width): rewrite to use uppercase() instead of
10872         islower/toupper.
10873
10874         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10875
10876 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10877
10878         * lyxfind.C: clean up of find failure position change
10879
10880 2001-12-20  Juergen Vigna  <jug@sad.it>
10881
10882         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10883
10884         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10885         (TeXRow): added to LaTeX a single tabular row.
10886         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10887         (Latex): simplified and finally good LT-h/f support.
10888         (various_functions): just small adaptions for LT-h/f support.
10889
10890         * tabular_funcs.[hC]: added and moved here all not classfunctions
10891         of LyXTabular.
10892
10893 2001-12-19  Juergen Vigna  <jug@sad.it>
10894
10895         * tabular.[Ch]: better support for longtabular options (not finished
10896         yet!)
10897
10898 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10899
10900         * text.C (paintLastRow): use the label font instead of the font of
10901         the last character to compute the size of *_BOX. This makes more
10902         sense and avoids a crash with empty paragraphs.
10903         Use Painter::rectangle to draw EMPTY_BOX.
10904
10905 2001-12-19  Juergen Vigna  <jug@sad.it>
10906
10907         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10908         the paragraphs if the replaced paragraph is not the first one!
10909         Tried to delete not used paragraphs but does not work yet so for
10910         now it's inside #ifdef's and by default off!
10911
10912 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10913
10914         * MenuBackend.C: include "lyx_main.h" instead of declaring
10915         lastfiles (actually was declared as LastFiles* instead of a
10916         scoped_ptr).
10917
10918 2001-12-17  Juergen Vigna  <jug@sad.it>
10919
10920         * tabular.C (AppendColumn): applied John's fix
10921
10922 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10923
10924         * BufferView.h:
10925         * BufferView.C:
10926         * BufferView_pimpl.h:
10927         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10928
10929         * Makefile.am:
10930         * box.h: new start of class for above
10931
10932         * lyxfunc.C: ignore space-only minibuffer dispatches.
10933           Show the command name when it doesn't exist
10934
10935         * minibuffer.C: don't add empty lines to the history
10936
10937         * minibuffer.C: add a space on dropdown completion
10938
10939 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10940
10941         * text.C: fix line above/below drawing in insets
10942
10943 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10944
10945         * lyxlength.C (LyXLength): Initialize private variables.
10946
10947 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10948
10949         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10950         when inserting error insets.
10951
10952 2001-12-13  Juergen Vigna  <jug@sad.it>
10953
10954         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10955         actually sometimes the before-paragraph.
10956         (setUndo): don't clear the redostack if we're not actually undoing!
10957
10958 2001-12-06  Juergen Vigna  <jug@sad.it>
10959
10960         * undo_funcs.C (textHandleUndo): well after John's hint I got here
10961         and fixed redoing of main paragraph, so we can use it now ;)
10962
10963         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10964
10965 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10966
10967         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10968         Juergen's request
10969
10970 2001-12-13  André Pönitz <poenitz@gmx.net>
10971
10972         * undostack.[Ch]:
10973         * undo_func.C: minor cleanup
10974
10975 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10976
10977         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10978         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10979         font in urw-fonts package which is marked as -urw-fontspecific and
10980         does not work (incidentally, changing the encoding in the
10981         fonts.dir of this package to -adobe-fontspecific fixes the
10982         problem).
10983
10984         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10985         is a crash when undoing first paragraph (Juergen, please take a
10986         look). THis does not mean the undo fix is wrong, just that it
10987         uncovers problems.
10988
10989         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10990         the (Paragraph*) version when needed instead of duplicating the
10991         code.
10992
10993         * text.C (workWidth): use Inset::parOwner to find out where the
10994         inset has been inserted. This is a huge performance gain for large
10995         documents with lots of insets. If Inset::parOwner is not set, fall
10996         back on the brute force method
10997
10998         * paragraph_pimpl.C (insertInset):
10999         * paragraph.C (Paragraph):
11000         (cutIntoMinibuffer): set parOwner of insets when
11001         inserting/removing them
11002
11003         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11004
11005 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
11006
11007         * commandtags.h:
11008         * LyXAction.C:
11009         * lyx_main.C:
11010         * lyxfunc.C:
11011         * mathed/formulabase.C:
11012         * mathed/math_cursor.[Ch]:
11013         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11014
11015
11016 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11017
11018         * lyxlength.[Ch] (operator!=): new function
11019
11020 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11021
11022         * text.C (workWidth): use Inset::parOwner to find out where the
11023         inset has been inserted. This is a huge performance gain for large
11024         documents with lots of insets. If Inset::parOwner is not set, fall
11025         back on the brute force method
11026
11027         * paragraph_pimpl.C (insertInset):
11028         * paragraph.C (Paragraph):
11029         (cutIntoMinibuffer): set parOwner of insets when
11030         inserting/removing them
11031
11032         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11033
11034 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11035
11036         * tabular-old.C (getTokenValue):
11037         * tabular.C (getTokenValue):
11038         (write_attribute): new versions for LyXLength
11039         (everywhere): adjust the use of widths
11040
11041         * tabular.h: change the type of widths from string to LyXLength
11042
11043 2001-12-11  Ben Stanley <bds02@uow.edu.au>
11044
11045         * paragraph.C: fixed missing line number count when exporting
11046         Environments to LaTeX file
11047
11048         * buffer.C: added informational message for checking line numbers.
11049
11050 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11051
11052         * text2.C (deleteEmptyParagraphMechanism): if there is only one
11053         paragraph, do the 'double space' part, but not the 'empty
11054         paragraph' one.
11055
11056         * text.C (workWidth): small optimization
11057         (getLengthMarkerHeight): use minimal size for negative lengths.
11058
11059 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
11060
11061         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11062
11063         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11064
11065 2001-12-11  André Pönitz <poenitz@gmx.net>
11066
11067         * FontLoader.C:
11068         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11069
11070 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11071
11072         * text2.C: keep selection on a setFont()
11073
11074 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11075
11076         * lyx_cb.C: another bv->text misuse, from insert label
11077
11078 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11079
11080         * kbsequence.h:
11081         * kbsequence.C: re-instate nmodifier mask
11082
11083 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
11084
11085         * lyx_main.h: make lyxGUI private.
11086
11087 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11088
11089         * lyxfind.C: place the cursor correctly on failed search
11090
11091 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11092
11093         * text.C (getLengthMarkerHeight): for small heights, the arrows
11094         are not always on top/bottom of the text
11095         (drawLengthMarker): smaller arrows; take the left margin in
11096         account; draw also vfills.
11097         (paintFirstRow):
11098         (paintLastRow): remove special code for vfill and standard spaces,
11099         since everything is handled in drawLengthMarker now.
11100
11101 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11102
11103         * buffer.C (insertErtContents): try to handle font and language
11104         interaction a bit better.g
11105
11106         * ColorHandler.C (updateColor): change the hash to cover the whole
11107         LColor enum, ws cleanup
11108         (getGCLinepars): ditto
11109         (getGCLinepars): only lookup in the linecache once.
11110
11111 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
11112
11113         * iterators.C (operator++): Make the iterator more robust
11114
11115         * BufferView2.C (removeAutoInsets): Use paragraph iterators
11116         (John's patch)
11117         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11118
11119 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11120
11121         * lyxtext.h:
11122         * text.C: better added space drawing
11123
11124 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11125
11126         * LyXView.C:
11127         * BufferView2.C: fix layout combo update on inset unlock
11128
11129 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11130
11131         * Makefile.am: don't compile unused files
11132
11133 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11134
11135         * lyxfunc.C:
11136         * commandtags.h:
11137         * LyXAction.C: remove old LFUN_LAYOUTNO
11138
11139 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11140
11141         * paragraph_pimpl.h:
11142         * paragraph_pimpl.C: isTextAt() doesn't need font param
11143
11144 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11145
11146         * lyxlex.h:
11147         * lyxlex.C: little cleanup
11148
11149 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11150
11151         * BufferView_pimpl.C: fix insertAscii for insets
11152
11153 2001-12-05  Juergen Vigna  <jug@sad.it>
11154
11155         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11156         set the right font on the "multi" paragraph paste!
11157
11158 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11159
11160         * trans_decl.h:
11161         * trans_mgr.[Ch]:
11162         * trans.[Ch]:
11163         * lyxgluelength.C:
11164         * lyxlength.C: remove out-commented code.
11165
11166         * BufferView_pimpl:
11167         * CutAndPaste.C:
11168         * DepTable.C:
11169         * buffer.C:
11170         * chset.C:
11171         * lastfiles.C:
11172         * lyxlex.C:
11173         * lyxlex_pimpl.C:
11174         * lyxserver.C:
11175         * screen.C:
11176         * tabular-old.C:
11177         * tabular.C:
11178         * text.C:
11179         * trans_mgr.C:
11180         * vc-backend.C: change "while(" to "while ("
11181
11182         * lyxlength.[Ch]: add zero function to check if length is zero or
11183         not
11184         * lyxgluelength.C: use it
11185
11186 2001-12-05  Allan Rae  <rae@lyx.org>
11187
11188         * lyxlength.C: Attempted a fix for the abs(int) header selection.
11189         Works for 2.95.3, from what I understand of Garst's reports this should
11190         work for other g++ versions.  We're screwed if the abs(int) definition
11191         changed between bugfix releases of gcc.
11192
11193 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11194
11195         * text.C: fix chapter label offset !
11196
11197 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11198
11199         * lyxtext.h:
11200         * text.C: fix hfill at end of line, clean up
11201
11202 2001-12-04  Juergen Vigna  <jug@sad.it>
11203
11204         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11205         that we force an update of the inset and it's owners if neccessary.
11206
11207 2001-12-03  Juergen Vigna  <jug@sad.it>
11208
11209         * text.C (rowLast): simplified code
11210
11211 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11212
11213         * lyxfunc.C: fix show options on timeout
11214
11215 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11216
11217         * screen.C (topCursorVisible): scroll half a page when the cursor
11218         reached top of bottom of screen
11219
11220 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
11221
11222         * minibuffer.C: deactivate on loss of focus
11223
11224 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11225
11226         * vspace.[Ch] (operator!=): add operator.
11227
11228 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
11229
11230         * BufferView_pimpl.C: refuse to open an inset when
11231         there's a selection.
11232
11233 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
11234
11235         * BufferView_pimpl.C: allow to click on RHS of full row insets
11236
11237 2001-11-30  Juergen Vigna  <jug@sad.it>
11238
11239         * tabular.C (LyXTabular): add a same_id to set the same id's in the
11240         insets for undo reasons.
11241
11242 2001-11-28  André Pönitz <poenitz@gmx.net>
11243
11244         * vspace.[Ch]: cosmetical changes
11245
11246 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11247
11248         * LyXAction.h:
11249         * LyXAction.C:
11250         * lyxfunc.h:
11251         * lyxfunc.C:
11252         * kbmap.h:
11253         * kbmap.C:
11254         * lyxrc.C:
11255         * kbsequence.h:
11256         * kbsequence.C: part re-write of old kb code
11257
11258         * Painter.C:
11259         * WorkArea.C: remove Lgb_bug_find_hack
11260
11261 2001-11-30  José Matos <jamatos@fep.up.pt>
11262
11263         * buffer.C (makeDocBookFile): add a comment to point a hack.
11264         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11265         Fixed a double write of labels.
11266
11267 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11268
11269         * LaTeX.C:
11270         * LaTeX.h Fixed bug in LaTeX class where it would not
11271         re-run latex if no depfiles were changed, but the .dvi was removed.
11272
11273 2001-11-28  André Pönitz <poenitz@gmx.net>
11274
11275         * all the files from the change on 2001/11/26:
11276         use lyx::layout_type instead of LyXTextClass::size_type
11277         use lyx::textclass_type instead of LyXTextClassList::size_type
11278
11279 2001-11-29  Juergen Vigna  <jug@sad.it>
11280
11281         * text.C: added support for paragraph::isFreeSpacing()
11282
11283         * buffer.C: same as above
11284
11285         * paragraph.h: inserted isFreeSpacing() function to enable
11286         FreeSpacing inside InsetERT.
11287
11288         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11289         of the paragraph's in the cut/copy buffer to 0!
11290
11291         * text2.C (removeRow): remove the assert as it can!
11292
11293         * lyxtext.h: added helper function firstRow returning firstrow and
11294         made firstrow private again.
11295
11296         * BufferView2.C (lockInset): don't relock if we're already locked!
11297
11298         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11299         the only paragraph.
11300         (removeRow): added Assert::(firstrow)
11301
11302         * debug.C: forgot to add INSETTEXT here.
11303
11304 2001-11-28  Juergen Vigna  <jug@sad.it>
11305
11306         * sp_spell.C (initialize): changed error text to more general
11307         spellchecker command use (not only ispell!)
11308
11309         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11310
11311         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11312
11313 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11314
11315         * vspace.C: initialise lyxgluelength on failure
11316
11317 2001-11-28  Allan Rae  <rae@lyx.org>
11318
11319         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11320         declaration & definition that looks like a function declaration.
11321
11322 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11323
11324         * BufferView2.C (copy):
11325         (copyEnvironment): do not clear the selection when doing a copy.
11326
11327         * text.C (paintFirstRow): compilation fix
11328
11329 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
11330
11331         * tabular.C (Latex): correct line count when writing latex.
11332
11333 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
11334
11335         * paragraph_pimpl.h:
11336         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11337           bug a bit
11338
11339 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11340
11341         * text.C:
11342         * LColor.h:
11343         * LColor.C: change vfillline->added_space
11344
11345         * text.C: add markers and text for added space
11346
11347         * vspace.C: fix comment
11348
11349 2001-11-28  André Pönitz <poenitz@gmx.net>
11350
11351         * paragraph.C: whitespace changes
11352         * all the other files from the change on 2001/11/26:
11353         change *::pos_type into lyx::pos_type
11354
11355 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
11356
11357         * buffer.C (parseSingleLyXformat2Token): Set the language to the
11358         language of the document when inserting error insets.
11359
11360 2001-11-26  André Pönitz <poenitz@gmx.net>
11361
11362         * BufferView_pimpl.[Ch]:
11363         *       CutAndPaste.C:
11364         * buffer.[Ch]:
11365         * lyxcursor.[Ch]:
11366         * lyxfind.C:
11367         * lyxfunc.C:
11368         * lyxrow.[Ch]:
11369         * paragraph.[Ch]:
11370         * paragraph_pimpl.[Ch]:
11371         * sp_spell.C:
11372         * text.C:
11373         * text2.C: reduce header dependencies, introduce type for positions
11374
11375 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11376
11377         * <various>: change to use Alert.h
11378
11379 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
11380
11381         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11382         when encountering an unknown token.
11383         (readLyXformat2): Show an error message if there were unknown tokens.
11384
11385 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
11386
11387         * BufferView2.C:
11388         * BufferView_pimpl.C:
11389         * buffer.C:
11390         * paragraph.h:
11391         * text.C:
11392         * text2.C: use par->isInset()
11393
11394 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11395
11396         * paragraph_pimpl.h:
11397         * paragraph_pimpl.C: cleanup
11398
11399 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11400
11401         * text2.C (removeRow):
11402         * text.C (setHeightOfRow): remove useless (and costly) call to
11403         getRow.
11404
11405 2001-11-20  Allan Rae  <rae@lyx.org>
11406
11407         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11408         Now need Inset*::checkInsertChar() to return true for appropriate
11409         cases so that the characters in the minibuffer will actually be
11410         inserted.
11411
11412 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11413
11414         * text.C: change the order of the includes.
11415         (workWidth): initialize it at once.
11416         (workWidth): make maxw unsigned
11417         (setHeightOfRow): remove unused variable (inset)
11418         (selectSelectedWord): remove unused variable (inset)
11419         (paintRowText): fix drawing of hfill characters, and clean up a bit.
11420
11421 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11422
11423         * lyxserver.C (emergencyCleanup): do not try to close pipes if
11424         server is not running.
11425         (openConnection):
11426         (closeConnection): add debug info when server is disabled.
11427
11428         * ColorHandler.C (getGCForeground): send debug message to GUI
11429         channel.
11430
11431         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11432
11433         * kbmap.C (bind): modify because return conventions of
11434         kb_sequence::parse have changed.
11435
11436         * kbsequence.C (parse): only ignore spaces and not any stupid
11437         control character. This avoids tests like s[i] <= ' ', which are
11438         guaranteed to fail with 8bit characters and signed chars.
11439         Change return code to string::npos when there have been no error
11440         (0 was a bad idea when error is at first character)
11441
11442 2001-11-14  José Matos  <jamatos@fep.up.pt>
11443
11444         * buffer.h:
11445         * buffer.C (simpleDocBookOnePar): removed unused argument.
11446
11447 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11448
11449         * text.C (selectNextWordToSpellcheck): do not test explicitely for
11450         insets which are part of a word. Paragraph::isLetter takes care of
11451         that now. Use Paragraph::isInset to identify insets.
11452         (selectSelectedWord): do not test for hyphenation break.
11453
11454         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11455         that protected spaces are considered as spaces.
11456
11457         * paragraph.C (isLetter): cleanup the code for ispell extras; use
11458         Inset::isLetter.
11459
11460 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
11461
11462         * lyxserver.h:
11463         * lyxserver.C: fix it. and small cleanup.
11464
11465 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11466
11467         * BufferView_pimpl.C: use inline helpers
11468
11469         * LaTeXFeatures.h:
11470         * LaTeXFeatures.C: fix typos
11471
11472         * Spacing.h:
11473         * Spacing.C: move spacing_string into class
11474
11475         * ToolbarDefaults.C: move stuff into namespace anon
11476
11477         * layout.h: update enum
11478
11479         * lyxfunc.C: use better debug
11480
11481         * minibuffer.h: fix typo
11482
11483         * debug.h:
11484         * debug.C:
11485         * WorkArea.C: add and use Debug::WORKAREA
11486
11487         * lyxtext.h:
11488         * text.C:
11489         * text2.C: code re-organisation, inline helpers
11490
11491 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
11492
11493         * Layout.C: replaced a few cases of std::vector.size() == 0 with
11494         std::vector.empty().
11495
11496 2001-11-09  Allan Rae  <rae@lyx.org>
11497
11498         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11499         '\n's after tables.  Tabular and ERT inset work now makes this no
11500         longer necessary.
11501
11502 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11503
11504         * minibuffer.h:
11505         * minibuffer.C: fix crash, improve drop-down completion
11506
11507 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
11508
11509         * lyxserver.h:
11510         * lyxserver.C: invalidate fd's when doing endPipe()
11511
11512 2001-11-08  José Matos  <jamatos@fep.up.pt>
11513
11514         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11515         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11516
11517         * paragraph.h:
11518         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11519
11520 2001-11-07  José Matos  <jamatos@fep.up.pt>
11521
11522         * buffer.h:
11523         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11524         const qualifier.
11525
11526         * buffer.C (sgmlOpenTag):
11527         * buffer.C (sgmlCloseTag): removed debug info.
11528
11529         * buffer.h (sgmlOpenTag):
11530         * buffer.h (sgmlCloseTag): made public.
11531
11532 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11533
11534         * buffer.C (saveParamsAsDefaults):
11535         * lyx_cb.C (MenuLayoutSave): remove
11536
11537         * LyXAction.C (init):
11538         * commandtags.h:
11539         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11540
11541 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11542
11543         * buffer.C (setPaperStuff): removed from here...
11544
11545         * bufferparams.C (setPaperStuff): ... and moved there.
11546
11547 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
11548
11549         * minibuffer.h:
11550         * minibuffer.C:
11551         * XFormsView.C: add support for drop-down completion
11552
11553 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
11554
11555         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11556         commands.
11557
11558 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11559
11560         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11561         disabled.
11562
11563 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
11564
11565         * lyx_main.C: change ref to known bugs
11566
11567 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
11568
11569         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11570         to work around older babel problems.
11571
11572 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11573
11574         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11575
11576 2001-10-24  Juergen Vigna  <jug@sad.it>
11577
11578         * tabular-old.C (ReadOld): below variable changes reflected.
11579
11580         * tabular.[Ch]: added ltType struct for longtable header/footer
11581         defines and changed all instances where they are used. Added
11582         future support for double top/bottom rows.
11583
11584 2001-10-24  José Matos  <jamatos@fep.up.pt>
11585
11586         * buffer.h (docbookHandleCaption):
11587         * buffer.C (docbookHandleCaption): removed unused function.
11588         (makeDocBookFile): moved docbook supported version to v4.1.
11589
11590 2001-10-24  José Matos  <jamatos@fep.up.pt>
11591
11592         * tabular.h:
11593         * tabular.C (docbookRow): new function to export docbook code of a row.
11594         (DocBook): now honors the longtable flags.
11595
11596 2001-10-23  José Matos  <jamatos@fep.up.pt>
11597
11598         * LaTeXFeatures.h:
11599         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11600         of the lyx defined sgml entities used in a docbook/linuxdoc document.
11601
11602         * buffer.C (makeLinuxDocFile):
11603         (makeDocBookFile): reworked the preamble, more clean, and with
11604         support for lyx defined entities. Changed the document declaration
11605         to be more XML friendly.
11606
11607         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11608         if we need to output XML that should be done with a filter.
11609
11610 2001-10-22  Juergen Vigna  <jug@sad.it>
11611
11612         * sp_pspell.h (class PSpell): add alive function needed in the
11613         controller to see if the spellchecker could be started.
11614
11615 2001-10-22  Juergen Vigna  <jug@sad.it>
11616
11617         * buffer.C (insertStringAsLines): modify the font for inserting
11618         chars in certain conditions by calling checkInsertChar(font).
11619
11620 2001-10-19  Juergen Vigna  <jug@sad.it>
11621
11622         * text.C (workWidth): use getRow instead of wrong algorithm.
11623         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11624
11625 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
11626
11627         * lyxserver.h:
11628         * lyxserver.C:
11629         * lyx_main.h:
11630         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11631
11632 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11633
11634         * text.C (workWidth): do not search for the exact row when
11635         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11636         optimization for big documents.
11637
11638 2001-10-18  Juergen Vigna  <jug@sad.it>
11639
11640         * text.C (workWidth): new function with added Inset * parameter.
11641
11642 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11643
11644         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11645
11646         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11647         change return type of getColumnNearX.
11648
11649
11650         * text.C (changeRegionCase): use uppercase/lowercase instead of
11651         toupper/tolower.
11652         (leftMargin):
11653         (rightMargin): simplify code by factoring out the uses of
11654         textclasslist.
11655         (labelFill):
11656         (numberOfHfills):
11657         (setHeightOfRow):
11658         (appendParagraph): use Paragraph::size_type
11659
11660 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11661
11662         * vspace.C (asLatexString): add a missing break
11663
11664 2001-10-15  Herbert Voss  <voss@perce.de>
11665
11666         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11667
11668 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11669
11670         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11671         is not available.
11672
11673 2001-10-10  André Pönitz <poenitz@gmx.net>
11674
11675         * lyxfunc.C: removed greek_kb_flag.
11676
11677 2001-10-10  Herbert Voss  <voss@perce.de>
11678
11679         * lyx_main.C: delete global string help_lyxdir.
11680
11681 2001-10-09  Herbert Voss  <voss@perce.de>
11682
11683         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11684
11685         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11686
11687         * lyx_main.C: added global string help_lyxdir.
11688
11689         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11690
11691 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11692
11693         * lyxrc.C (set_font_norm_type): support iso8859-4
11694
11695 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
11696
11697         * LaTeX.C (deplog): add another regex for MikTeX
11698
11699 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11700
11701         * lyxrc.C (set_font_norm_type): support iso8859-3
11702
11703 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11704
11705         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11706
11707         * LaTeXFeatures.C: remove special case of french and index
11708
11709         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11710         before \begin{document}). This solves several incompatibilities.
11711
11712 2001-10-03  Garst Reese  <reese@isn.net>
11713
11714         * lyx_cb.C: change CheckTex error msg.
11715
11716 2001-10-03  José Matos  <jamatos@fep.up.pt>
11717
11718         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11719
11720 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11721
11722         * .cvsignore: update
11723
11724         * lyx_main.C (commandLineVersionInfo): use new style version info.
11725
11726         * buffer.C (writeFile):
11727         (makeLaTeXFile):
11728         (makeLinuxDocFile):
11729         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11730
11731         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11732
11733         * version.h: update to use stuff in version.C
11734
11735         * version.C.in: new file. Contains version information determined
11736         at compile time. This is a merging of version.h and
11737         version_info.h.in.
11738
11739 2001-10-03  Juergen Vigna  <jug@sad.it>
11740
11741         * BufferView_pimpl.C (update): don't change "dirty" status in
11742         updateInset call.
11743
11744 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
11745
11746         * WorkArea.C (c-tor): re-position version string slightly.
11747
11748 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
11749
11750         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11751         revert to previous code.
11752
11753         WorkArea.[Ch]: (show, destroySplash): methods removed.
11754
11755         WorkArea.C: rework code so that it's an amalgam of the codes before and
11756         after the splash screen was moved to WorkArea.
11757
11758 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11759
11760         * lyxrc.C (read):
11761         * vspace.C (inPixels):
11762         (lyx_advance):
11763         * kbmap.C (bind):
11764         * buffer.C (insertStringAsLines):
11765         (asciiParagraph): fix types to be large enough
11766
11767         * lyxlex_pimpl.h: change member status from short to int
11768
11769         * layout.h: fix type of endlabeltype
11770
11771         * kbmap.C (bind):
11772         * kbsequence.C (parse): change return type to string::size_type
11773
11774         * LaTeX.C (updateBibtexDependencies): comment out unneeded
11775         variable
11776
11777         * Bullet.C (bulletSize):
11778         (bulletEntry): do not use short ints as parameters
11779
11780         * BufferView2.C (insertLyXFile): change a char to an int.
11781
11782         * WorkArea.C (WorkArea): remove unneeded floats in computation
11783
11784 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11785
11786         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11787
11788         * paragraph.C (asString): Do not ignore newline/hfill chars when
11789         copying to the clipboard.
11790
11791 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
11792
11793         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11794         after a multi-line inset.
11795
11796 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
11797
11798         * paragraph.C (validate): Set NeedLyXFootnoteCode
11799
11800 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11801
11802         * lyxfont.C (LyXSizeNames): changed increase-error to increase
11803         and decrease-error to decrease.
11804
11805 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11806
11807         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11808         it more readable (should be equivalent)
11809
11810 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11811
11812         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11813
11814 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11815
11816         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11817         of a cursor (row, etc.) after a character has been deleted
11818         (deleteEmptyParagraphMechanism): call the method above on _all_
11819         cursors held by the LyXText when a double space has been
11820         detected/deleted.
11821
11822 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11823
11824         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11825         pixmap.
11826         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11827
11828         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11829         background. Use greyOut() and the new show() methods to toggle between
11830         the foreground and background. Add code to remove the splash after
11831         its initial showing.
11832
11833         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11834         (create_forms): no longer call Dialogs::showSplash.
11835
11836 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11837
11838         * .cvsignore: add version_info.h
11839
11840 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11841
11842         * version_info.h.in: new file
11843
11844         * Makefile.am: add version_info.h.in
11845
11846         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11847         version_info.h instead of VERSION_INFO
11848
11849 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11850
11851         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11852         The ERT inset now returns string().
11853
11854 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11855
11856         * lyxtext.h, text.C (selectNextWord): renamed as
11857         selectNextWordToSpellcheck.
11858
11859         * text.C (selectNextWordToSpellcheck): Modified to not select
11860         words inside an ERT inset.
11861
11862 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11863
11864         * lyx_cb.C (MenuLayoutSave): change a bit the question
11865
11866         * sp_base.h: include <sys/types.h>
11867
11868 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11869
11870         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11871
11872 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11873
11874         * several files: fix typos in user-visible strings
11875
11876 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11877
11878         * text2.C (pasteSelection): do not set the selection, since it
11879         will be cleared later. Actually, the intent was to fix the way the
11880         selection was set, but I figured rmoving the code was just as good.
11881
11882 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11883
11884         * FontLoader.C (available): Check if font is available without
11885         loading the font.
11886
11887 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11888
11889         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11890
11891 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11892
11893         * lyxrc.[Ch]: added display_graphics variable and associated code.
11894
11895 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11896
11897         * bufferparams.C (hasClassDefaults): new method. Returns true if
11898         the buffer parameters correspond to known class defaults
11899
11900 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11901
11902         * XFormsView.C (show): set minimum size to the main window.
11903
11904 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11905
11906         * text2.C (copySelection):
11907         (cutSelection):
11908         * lyxfind.C (LyXReplace):
11909         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11910         LyXText::selectionAsString.
11911
11912         * paragraph.C (asString): add "label" argument to the second form
11913
11914         * text2.C (selectionAsString): add "label" argument and pass it to
11915         Paragraph::asString.
11916
11917 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11918
11919         * lyx_main.C (commandLineHelp): remove version information
11920
11921 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11922
11923         * lyx_main.C: add -version commandline option
11924
11925 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11926
11927         * paragraph.h: make the optional constructor arg required instead.
11928         some modifications to other files because of this.
11929
11930         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11931
11932         * lyxserver.C (C_LyXComm_callback): make it static
11933
11934         * lyx_main.C (error_handler): make it static
11935
11936         * lyx_gui.C (LyX_XErrHandler): make it static
11937
11938         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11939
11940         * WorkArea.C: make the extern "C" methods static.
11941
11942         * Makefile.am (lyx_LDADD): simplify
11943
11944 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11945
11946         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11947         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11948
11949         * LyXAction.C (init):
11950         * lyxfunc.C (dispatch): associated code removal.
11951
11952 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11953
11954         * lyxfont.h (isSymbolFont): shut off warning
11955
11956         * text.C (setHeightOfRow):
11957         (getVisibleRow): fix crash with empty paragraphs which have a
11958         bottom line
11959
11960 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
11961
11962         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11963         code.
11964
11965 2001-09-04  José Matos  <jamatos@fep.up.pt>
11966         * buffer.C
11967         * buffer.h
11968         * tabular.C (docbook): rename docBook method to docbook.
11969
11970 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11971
11972         * Makefile.am: add dependencies to main.o.
11973
11974 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
11975
11976         * FontLoader.C (available): Return false if !lyxrc.use_gui
11977
11978 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
11979
11980         * FontInfo.C (query):
11981         * converter.C (view):
11982         * importer.C (Import):
11983         * exporter.C (Export): Can not -> cannot.
11984
11985 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
11986
11987         * BufferView_pimpl.C: allow to create index inset even if
11988           string is empty
11989
11990 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11991
11992         * buffer.C (getLists): replace boost::tie code with an explicit pair
11993         as boost::tie can break some compilers.
11994
11995         * iterators.h: Added a std:: declaration to the return type of
11996         ParIterator::size.
11997
11998 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
11999
12000         * lyxrc.C: add help for view_dvi_paper_option, default to safe
12001           case.
12002
12003 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
12004
12005         * iterators.[Ch]: New files. Provide paragraph iterators.
12006
12007         * buffer.C (changeLanguage): Use paragraph iterators.
12008         (isMultiLingual): ditto
12009
12010         * BufferView2.C (ChangeInsets): Use paragraph iterators.
12011
12012 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
12013
12014         * FontLoader.C: Support for cmr font.
12015
12016 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
12017
12018         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12019         (available): New method.
12020
12021         * FontInfo.C (getFontname): Use scalable fonts even when
12022         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12023         found.
12024
12025 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12026
12027         * converter.C (Formats::view): reverted! Incorrect fix.
12028
12029 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12030
12031         * converter.C (Formats::view): only output the -paper option
12032         if the dvi viewer is xdvi, thereby fixing bug #233429.
12033
12034 2001-08-23  Herbert Voss  <voss@perce>
12035
12036         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12037
12038 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
12039
12040         * Spacing.h (Spacing): Set space to Default on in the default
12041         constructor.
12042
12043 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12044
12045         * vc-backend.h (RCS::versionString): add RCS to version
12046         (CVS::versionString): add CVS to version
12047
12048         * vc-backend.C (scanMaster): do not add CVS to version.
12049         (scanMaster): do not add RCS to version
12050
12051         * lyxvc.C (versionString): new method
12052
12053         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12054
12055 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12056
12057         * Spacing.C (set): initialize fval
12058
12059 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
12060
12061         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12062         " or \.
12063
12064 2001-08-16  Juergen Vigna  <jug@sad.it>
12065
12066         * lyxfunc.C (dispatch): implemented the new FINISHED states.
12067
12068 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12069
12070         * BufferView_pimpl.C:
12071         * figureForm.C:
12072         * lyxtext.h:
12073         * text2.C: setParagraph takes linespacing now
12074
12075 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
12076
12077         * LyxAction.C: add internal LFUN_CITATION_INSERT
12078
12079         * LyXView.C: actually apply fix
12080
12081         * bufferlist.C: fix open non-existent file
12082
12083         * lyxfind.C: fix indentation
12084
12085         * lyxfunc.C: remove unneeded assert, fix typo
12086
12087 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12088
12089         * MenuBackend.C: use "Floatname List"
12090
12091 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
12092
12093         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12094         when converting LaTeX layout to insetERT.
12095         Generate a non-collapsed float when reading old float
12096
12097 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12098
12099         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12100         ERT insets.
12101
12102 2001-08-13  Juergen Vigna  <jug@sad.it>
12103
12104         * text.C (fill): return 0 instead of 20 as this seems to be the more
12105         correct value.
12106
12107 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12108
12109         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12110         lyxrc.font_norm.
12111
12112 2001-08-13  Juergen Vigna  <jug@sad.it>
12113
12114         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12115         casesensitive off.
12116         (SearchBackward): comment out the unlocking of the inset_owner this
12117         should not be needed!
12118
12119 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
12120
12121         * Many files: Remove inherit_language, and add latex_language
12122
12123         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12124         collapsible insets.
12125
12126 2001-08-10  Juergen Vigna  <jug@sad.it>
12127
12128         * text.C (prepareToPrint): fixed hfill-width in draw!
12129
12130         * BufferView2.C (selectLastWord): save the selection cursor as this
12131         now is cleared in the function LyXText::clearSelection!
12132
12133 2001-08-08  Juergen Vigna  <jug@sad.it>
12134
12135         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12136         BACKSPACE type functions.
12137
12138         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12139         is only cutted from the document but not put in the cut-buffer, where
12140         still the old stuff should be.
12141
12142         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12143
12144         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12145
12146         * tabular.C (SetWidthOfCell): fixed special case where the width
12147         was not updated!
12148         (LeftLine): handle '|' in align_special.
12149         (RightLine): ditto
12150         (LeftAlreadyDrawed): ditto
12151         (SetWidthOfCell): ditto
12152
12153 2001-08-07  Juergen Vigna  <jug@sad.it>
12154
12155         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12156
12157 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12158
12159         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12160         * lyxlex.[hC]: ditto
12161
12162 2001-08-06  Juergen Vigna  <jug@sad.it>
12163
12164         * text.C (getVisibleRow): fix up row clearing a bit.
12165
12166 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12167
12168         * minibuffer.C: make sure the X server sees the changes in the input.
12169
12170 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12171
12172         * paragraph.C (getFont): split into...
12173         (getLabelFont): this
12174         (getLayoutFont): and this
12175         * paragraph_pimpl.C (realizeFont): calling this
12176
12177         * text2.C (getFont): split into...
12178         (getLayoutFont): this
12179         (getLabelFont): and this
12180         (realizeFont): all three calling this
12181
12182         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12183         files where used.
12184
12185 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12186
12187         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12188
12189 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
12190
12191         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12192         layouts from the Quote inset insertion.
12193
12194 2001-08-03  Juergen Vigna  <jug@sad.it>
12195
12196         * BufferView_pimpl.C (update): do the fitCursor only at the end!
12197
12198         * screen.C (drawFromTo): don't call fitcursor here and do the loop
12199         only if status not is already CHANGED_IN_DRAW (second level).
12200
12201         * text.C (draw): don't set the need_break_row when inside an
12202         InsetText LyXText.
12203
12204 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12205
12206         * buffer.C (parseSingleLyXformat2Token): handle more latex
12207         conversion cases.
12208
12209         * bufferview_funcs.[hC]: change function names to
12210         begin with small char, adjust other files.
12211
12212 2001-08-02  André Pönitz <poenitz@gmx.net>
12213
12214         * lyxfunc.C:
12215         BufferView_pimpl.C: remove broken special code for math-greek
12216
12217 2001-08-02  Juergen Vigna  <jug@sad.it>
12218
12219         * BufferView_pimpl.C (update): redone this function so that we
12220         update the text again if there was a CHANGE_IN_DRAW.
12221
12222         * screen.C (cursorToggle): removed LyXText parameter and recoded.
12223         (drawFromTo): added a new internal bool which is used by draw() and
12224         redraw() function.
12225         (general): some cursor drawing problems fixed.
12226
12227 2001-08-01  Juergen Vigna  <jug@sad.it>
12228
12229         * lyxfind.C (LyXFind): fixed
12230         (SearchForward): ditto
12231         (SearchBackward): ditto
12232
12233         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12234         spurius drawing of the cursor in the main area.
12235
12236         * text2.C (status): small fix which could lead to a segfault!
12237         (clearSelection): remove unneeded BufferView param.
12238
12239 2001-08-01  André Pönitz <poenitz@gmx.net>
12240
12241         * lyxfunc.C: small change due to changed mathed interface
12242
12243 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12244
12245         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12246
12247 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
12248
12249         * lyxfunc.c: fail gracefully if file doesn't exist
12250
12251         * LyXSendto.C:
12252         * buffer.C:
12253         * lyxfunc.C:
12254         * BufferView_pimpl.C: IsDirWriteable() proto changed
12255
12256         * LyXView.C: fix updateWindowTitle() to store the last title
12257
12258 2001-07-31  Juergen Vigna  <jug@sad.it>
12259
12260         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12261         the font (wrong since using of Paragraph::highestFontInRange).
12262
12263         * paragraph.C (highestFontInRange): added a default_size parameter.
12264
12265         * text.C (getVisibleRow): minor clear row changes (still not perfect).
12266         (setHeightOfRow): reformat
12267
12268 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12269
12270         * converter.[hC] + affected files: move to (inital-char)lowercase
12271         function names.
12272
12273         * ParagraphParameters.C (ParagraphParameters): remove commented code
12274
12275         * PainterBase.[Ch]: remove commented code
12276
12277         * LaTeXFeatures.h: add "bool floats" for float.sty
12278
12279         * LaTeXFeatures.C (LaTeXFeatures): init floats
12280         (require): handle float
12281         (getPackages): do it with floats
12282
12283 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12284
12285         * BufferView_pimpl.C (Dispatch): improve handling of
12286         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12287
12288         * commandtags.h: #include lyxfont.h here temporarily to avoid
12289         keybinding bug.
12290
12291         * bufferlist.h: include LString.h here.
12292
12293 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12294
12295         * text2.C (getStringToIndex): new method.
12296
12297 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
12298
12299         * *: Reduced header file dependencies all over.
12300
12301 2001-07-30  Baruch Even  <baruch@lyx.org>
12302
12303         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12304
12305 2001-07-29  Baruch Even  <baruch@lyx.org>
12306
12307         * buffer.C (readInset): Changed GRAPHICS to Graphics.
12308
12309 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12310
12311         * ParameterStruct.h (endif): add a default constructor to make
12312         sure that all variables is initialized.
12313
12314         * ParagraphParameters.C (ParagraphParameters): adjust
12315
12316 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12317
12318         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12319         index; also, check that there is something to index, and that it
12320         does not span over several paragraphs.
12321         (doubleClick): use WHOLE_WORD_STRICT for double click.
12322
12323         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12324
12325         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12326         scheme.
12327
12328 2001-07-26  Baruch Even  <baruch@lyx.org>
12329
12330         * buffer.C (readInset): Changed to call up InsetGraphics when reading
12331         an InsetFig figure, backwards compatible reading of old figure code.
12332
12333 2001-07-27  Juergen Vigna  <jug@sad.it>
12334
12335         * text2.C: font.realize function adaption.
12336
12337         * text.C (draw): add a warnings lyxerr text if needed.
12338
12339         * layout.C: font.realize function adaption.
12340
12341         * language.C: add inherit_language and implement it's handlings
12342
12343         * bufferview_funcs.C (StyleReset): remove language parameter from
12344         font creation (should be language_inherit now).
12345
12346         * bufferparams.C (writeFile): handle ignore_language.
12347
12348         * paragraph.C (getFontSettings): the language has to be resolved
12349         otherwise we have problems in LyXFont!
12350
12351         * lyxfont.C (lyxWriteChanges): added document_language parameter
12352         (update): removed unneeded language parameter
12353
12354         * paragraph.C (validate): fixed wrong output of color-package when
12355         using interface colors for certain fonts in certain environments,
12356         which should not seen as that on the final output.
12357
12358 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
12359
12360         * BufferView_pimpl.C:
12361         * Thesaurus.h:
12362         * Thesaurus.C:
12363         * Makefile.am:
12364         * commandtags.h:
12365         * LyXAction.C: add thesaurus support
12366
12367         * lyxfind.h:
12368         * lyxfind.C: add "once" parameter, for thesaurus, to not
12369           move to the next match
12370
12371 2001-07-26  Juergen Vigna  <jug@sad.it>
12372
12373         * lyxfont.C (realize): honor ignore_language too!
12374         (resolved): ditto.
12375
12376         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12377
12378         * text.C (draw): one place more for ignore_language to not draw
12379         itself!
12380
12381 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
12382
12383         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12384
12385 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12386
12387         * buffer.C (parseSingleLyXformat2Token): a more general fix for
12388         the minipage conversion problem.
12389
12390 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12391
12392         * buffer.C (parseSingleLyXformat2Token): check minipage if we
12393         insert an inset.
12394
12395 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12396
12397         * BufferView.h: don't forward declare WorkArea
12398
12399         * BufferView.C: don't include WorkArea.h
12400
12401 2001-07-25  André Pönitz <poenitz@gmx.net>
12402
12403         * commandtags.h:
12404         * LyXAction.C:
12405         * lyxfunc.C:  new LFUN 'math-space'
12406
12407         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12408
12409 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12410
12411         * text2.C (toggleInset): call open/close
12412
12413 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12414
12415         * lyxfunc.C (dispatch): add debug for the disabled case
12416
12417         * font.C (buttonText): make similar to rectText
12418
12419         * buffer.C (readInset): comment out parsing of insetlist and
12420         insttheorem
12421
12422         * PainterBase.C (rectText): small correction
12423
12424         * BufferView_pimpl.C: comment out insettheorem and insetlist
12425         * LyXAction.C: ditto
12426         * commandtags.h: ditto
12427
12428 2001-07-24  Juergen Vigna  <jug@sad.it>
12429
12430         * text.C (draw): honor the ignore_language.
12431
12432         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12433
12434 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12435
12436         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12437         char inset.
12438
12439 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12440
12441         * lyxtext.h: remove unused (and unimplemented) methods
12442
12443 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12444
12445         * text.C (getVisibleRow): honor background color
12446
12447         * PainterBase.h:
12448         * Painter.h: remove default color argument for fillRectangle
12449
12450         * text.C (backgroundColor): new method
12451
12452 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12453
12454         * text.C (getVisibleRow): adjust
12455
12456         * font.[Ch] (rectText): new method, metrics
12457         (buttonText): new method, metrics
12458
12459         * PainterBase.[hC]: make rectText and buttonText always draw and take
12460         fewer paramteres.
12461
12462 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12463
12464         * ToolbarDefaults.C (read):
12465         * MenuBackend.C (read): allow escaping in all strings
12466
12467         * BufferView_pimpl.C (insertAndEditInset): new method.
12468         (Dispatch): use insertAndEditInset whenever appropriate.
12469
12470         * BufferView_pimpl.C (insertNote): removed
12471
12472         * BufferView_pimpl.C (smartQuote): new method, moved from
12473         BufferView; if an insetquote cannot be inserted, insert a '"'
12474         character instead.
12475
12476         * BufferView2.C: remove insertCorrectQuote();
12477
12478         * lyxfunc.C (getStatus): Add support for all remaingin
12479         inset-insert lfuns.
12480
12481         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12482
12483         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12484         command (necessary to pass " as parameter of self-insert.
12485
12486         * text.C (selectWordWhenUnderCursor):
12487         (selectWord): add word_location parameter
12488         (selectWordWhenUnderCursor): same + remove special code for word
12489         boundary.
12490         (selectNextWord): use kind() to guess type of insetspecialchar,
12491         not latex().
12492
12493         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12494         (insertErtContents): create ert insets as collapsed.
12495         (readInset): better compatibility code for Info inset.
12496
12497 2001-07-20  Juergen Vigna  <jug@sad.it>
12498
12499         * lyxfunc.C (dispatch): use always LyXFind now!
12500
12501         * text2.C (init): add a reinit flag so that the LyXText can be
12502         reinited instead of deleted and reallocated (used in InsetText).
12503
12504         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12505
12506         * text.C: ditto
12507
12508         * text2.C: ditto
12509
12510 2001-07-18  Juergen Vigna  <jug@sad.it>
12511
12512         * text.C (selectNextWord): handle insets inside inset by calling
12513         always the bv->text functions so that we can go up the_locking_inset!
12514
12515         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12516         in strange locations when inside an inset!
12517
12518         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12519         handling to include insets.
12520
12521         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12522
12523 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12524
12525         * LyXAction.C (init):
12526         * commandtags.h:
12527         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12528         LIGATURE_BREAK, since the name is so stupid.
12529
12530 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12531
12532         * buffer.C (readInset): enable reading of new InsetNotes as well as old
12533         InsetInfos.
12534
12535         * FontLoader.C: remove FORMS_H_LOCATION cruft.
12536
12537         * sp_form.[Ch]: remove.
12538
12539         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12540
12541         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12542         InsetInfo.
12543
12544         * src/buffer.C (readInset): ditto.
12545
12546 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12547
12548         * BufferView_pimpl.C (specialChar): new method. Obsoletes
12549         menuSeparator(), endOfSentenceDot(), ldots() and
12550         hyphenationPoint(), which are therefore removed.
12551         (Dispatch): handle LFUN_HYPHENATION_BREAK.
12552
12553         * LyXAction.C (init):
12554         * commandtags.h: add LFUN_HYPHENATION_BREAK.
12555
12556         * paragraph.C (getWord): removed.
12557
12558         * BufferView_pimpl.C (Dispatch): use last word or selection for
12559         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12560
12561         * lyx_main.C (queryUserLyXDir): do not ask before creating
12562         user_dir, except if it has been named explicitely.
12563
12564 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12565
12566         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12567         a document of zero size.
12568
12569 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
12570
12571         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12572         approriately in the c-tor and in require().
12573         (getPackages): output the appropriate LaTeX for natbib support.
12574
12575         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12576         variables "use_natbib" and "use_numerical_citations" when reading the
12577         LyX file.
12578         (readInset): read the various natbib cite commands.
12579         (validate): white-space change.
12580
12581         * bufferparams.[Ch]: new variables "bool use_natbib" and
12582         "bool use_numerical_citations".
12583         (writeFile): output them in the LyX file.
12584
12585 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12586
12587         * lyxfunc.C (getStatus): add support for all the inset insertion
12588         commands.
12589
12590         * text2.C (insertInset):
12591         * paragraph.C (insetAllowed):
12592         * BufferView_pimpl.C (insertInset): update to take in account the
12593         renaming of insertInsetAllowed
12594
12595         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12596
12597         * text2.C (getInset): new method. returns inset at cursor position.
12598
12599         * BufferView_pimpl.C (Dispatch): changes because of this.
12600
12601         * LyXAction.C (init): rename open-stuff to inset-toggle.
12602
12603         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12604
12605         * text2.C (toggleInset): renamed from openStuff; use
12606         Inset::open().
12607
12608 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
12609
12610         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12611
12612         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12613
12614 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
12615
12616         * buffer.C (readLyXformat2): Add filename to the error dialog
12617
12618 2001-07-18  Juergen Vigna  <jug@sad.it>
12619
12620         * tabular.C (GetCellNumber): put an assert here instead of the check!
12621
12622 2001-07-17  Juergen Vigna  <jug@sad.it>
12623
12624         * BufferView_pimpl.C (toggleSelection): adapted too.
12625
12626         * text.C (selectNextWord): adapted for use with insets.
12627         (selectSelectedWord): ditto
12628
12629 2001-07-17  Juergen Vigna  <jug@sad.it>
12630
12631         * sp_spell.C (PSpell): fix initialitation order.
12632
12633 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12634
12635         * paragraph.C: spacing
12636
12637 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
12638
12639         * sp_spell.C: repair language selection for pspell
12640
12641 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12642
12643         * lyxfunc.h: change more methods to begin with lower char.
12644
12645 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
12646
12647         * buffer.C (parseSingleLyXformat2Token): Generate error insets
12648         for unknown layouts.
12649
12650 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12651
12652         * buffer.C (readLyXformat2): Generate an error dialog if there are
12653         unknown layouts.
12654
12655 2001-07-16  Juergen Vigna  <jug@sad.it>
12656
12657         * sp_spell.C: always compile ISpell part.
12658
12659         * lyxrc.C: added use_pspell entry and it's handling.
12660
12661 2001-07-13  Juergen Vigna  <jug@sad.it>
12662
12663         * sp_spell.C: removed double includes.
12664
12665 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
12666
12667         Consistent use of Lsstream.h:
12668         * Lsstream.h: added using std::stringstream for consistencies sake.
12669
12670         * buffer.C: removed using std::stringstream
12671
12672         * lyxfont.C (stateText):
12673         * paragraph.C (asString):
12674         * text.C (selectNextWord, selectSelectedWord):
12675         * text2.C (setCounter):
12676         * vspace.C (asString, asLatexString):
12677         std::ostringstream -> ostringstream.
12678
12679 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12680
12681         * LyXAction.C: add LFUN_HELP_ABOUTLYX
12682         * commandtags.h: add LFUN_HELP_ABOUTLYX
12683         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12684
12685 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12686
12687         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12688         cursorToggle()
12689         * lyx_gui_misc.C: remove spellchecker
12690         * lyxfunc.C: showSpellchecker
12691         * sp_base.h: added
12692         * sp_ispell.h: added
12693         * sp_pspell.h: added
12694         * sp_spell.C: added
12695         * sp_form.[Ch]: removed
12696         * spellchecker.[Ch]: removed
12697
12698 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
12699
12700         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12701         is set.
12702         (simpleTeXSpecialChars): Simply print the input character without
12703         any special translation if pass_thru is set.
12704
12705         * layout.h: Added bool pass_thru to layout class for being able to
12706         implement pass through of a paragraph for Literate Programming.
12707
12708         * layout.C: add LT_PASS_THRU to LayoutTags enum.
12709         * layout.C (LyXLayout): set pass_thru to flase in constructor.
12710         * layout.C (Read): add "passthru" to list of layout tags and add
12711         code to set the pass_thru boolean when it is read.
12712
12713 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12714
12715         * trans_decl.h: remove allowed from KmodInfo
12716
12717         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12718         remove allowed code
12719         (Load): adjust
12720
12721         * paragraph_pimpl.C (erase): use boost::prior
12722
12723         * Painter.C (text): use data() instead of c_str() when length is
12724         also provided.
12725         * WorkArea.C (putClipboard): ditto
12726         * font.h (width): ditto
12727
12728         * BufferView2.C: use it-> instead of (*it). for iterators
12729         * texrow.C: ditto
12730         * paragraph_pimpl.C: ditto
12731         * paragraph.C: ditto
12732         * minibuffer.C: ditto
12733         * language.C: ditto
12734         * kbmap.C: ditto
12735         * encoding.C: ditto
12736         * counters.C: ditto
12737         * converter.C: ditto
12738         * chset.C: ditto
12739         * Variables.C: ditto
12740         * TextCache.C: ditto
12741         * MenuBackend.C: ditto
12742         * LyXAction.C: ditto
12743         * LColor.C: ditto
12744         * FloatList.C: ditto
12745         * DepTable.C: ditto
12746         * ColorHandler.C (LyXColorHandler): ditto
12747
12748 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12749
12750         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12751
12752         * text2.C (openStuff): reintroduce this method (which had been
12753         nuked in NEW_INSETS frenzy).
12754
12755         * lyxfunc.C (Dispatch): when an action has not been handled, use
12756         its name in the error message, not its number.
12757
12758         * paragraph.C (inInset): change method name to begin with lowercase.
12759
12760         * undo_funcs.C:
12761         * text2.C: updates because of this.
12762
12763 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12764
12765         * ToolbarDefaults.C (add): add spaces in error message
12766
12767 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12768
12769         * buffer.C (readLyXformat2): initialize the ert comp. variables.
12770         (readLyXformat2): rename return_par to first_par, use lyxlex's
12771         pushToken and remove the manual push handling.
12772         (parseSingleLyXformat2Token): add another ert comp. variable:
12773         in_tabular, rename return_par to first_par. handle newlines better
12774
12775 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12776
12777         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12778
12779 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12780
12781         * text2.C (getParFromID): removed
12782
12783         * buffer.C (getParFromID): new method moved form lyxtext.
12784         * BufferView2.C (insertErrors): adjust
12785         (setCursorFromRow): adjust
12786         * BufferView_pimpl.C (restorePosition): adjust
12787         * lyxfunc.C (Dispatch): adjust
12788         * undo_funcs.C (textUndo): adjust
12789         (textRedo): adjust
12790         (textHandleUndo): adjust
12791         (textHandleUndo): adjust
12792
12793 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12794
12795         * buffer.C: up' the LYX_FORMAT
12796
12797         * lyxfont.h: turn NO_LATEX on as default
12798
12799         * buffer.C (insertErtContents): new methods of tex style compability.
12800         (parseSingleLyXformat2Token): use it several places.
12801         * tabular.C (OldFormatRead): and here
12802
12803 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12804
12805         * text2.C: remove some commented code.
12806         reindent file.
12807
12808         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12809         * trans.C: changes because of the above.
12810
12811 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
12812
12813         * text2.C (setCounter): Fix counters bug with bibliography layout.
12814
12815 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12816
12817         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12818         own member functions
12819         (simpleTeXSpecialChars): ditto
12820
12821 2001-07-06  Juergen Vigna  <jug@sad.it>
12822
12823         * a lot of files: changed the access to LyXText::status and the
12824         call of undo-functions.
12825
12826         * undo.[Ch]: added a inset_id to the undo informations.
12827
12828         * undo_funcs.[Ch]: added and moved here all undo functions.
12829
12830         * lyxtext.h: give the status enum a weight, made status_ a private
12831         variable and made accessor functions for it, removed the whole bunch
12832         of undo-functions as they are now in their own file, make some
12833         functions publically available. Added function ownerParagraph with
12834         int parameter.
12835
12836         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12837         made InInset() a const function, added getParFromID() function.
12838
12839         * buffer.[Ch]: added const version for inset_iterator functions,
12840         added getInsetFromID() function.
12841
12842         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12843         changed undo functions for new version.
12844
12845 2001-07-05  Juergen Vigna  <jug@sad.it>
12846
12847         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12848         unknow mechanism does not call the proper constructor but only this
12849         one also if I request the other!?
12850
12851 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12852
12853         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12854
12855         * text2.C (LyXText): use initialization lists.
12856
12857         * lyxtext.h (Selection): initialize set_ and mark_
12858         (init): remove method
12859
12860 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12861
12862         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12863
12864 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12865
12866         * screen.[Ch]: change method names to begin with lowercase
12867
12868         * BufferView_pimpl.C (updateScrollbar): simplify further and
12869         hopefully make it a bit faster.
12870
12871 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12872
12873         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12874         calling directly xforms functions.
12875
12876         * Painter.C (Painter):
12877         * lyx_cb.C (MenuWrite):
12878         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12879         fl_display.
12880
12881         * lyx_gui.C: remove bogus guiruntime extern declaration.
12882
12883 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12884
12885         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12886         in NEW_INSETS
12887         (redoDrawingOfParagraph): ditto
12888         (redoParagraphs): ditto
12889         (cutSelection): don't create a object for CutAndPaste use the
12890         static method directly
12891         (pasteSelection): ditto
12892
12893         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12894         LyXview (+ rename)
12895
12896 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12897
12898         * modifications to some other files because of this.
12899
12900         * Makefile.am (lyx_SOURCES): add XFormsView
12901
12902         * XFormsView.[Ch]: new files
12903
12904         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12905         the main window. Move the gui dependent stuff to XFormsView
12906
12907 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12908
12909         * tabular.C (GetCellInset): update cur_cell also in the row/col
12910         version of this function.
12911
12912         * lyxfunc.C: no need to include figure_form.h here.
12913
12914         * FontLoader.h:
12915         * lyxfunc.h:
12916         * lyxscreen.h:
12917         * text2.C:
12918         * lyxvc.C: no need to include forms.h here.
12919
12920 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12921
12922         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12923
12924         * lyxfunc.C (Dispatch):
12925         * Spacing.C (set):
12926         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12927         constructor argument.
12928
12929 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12930
12931         * paragraph.C (Paragraph): dont't clear, and just set layout.
12932         (makeSameLayout): use params's copy contructor.
12933
12934         * ParagraphParameters.[Ch] (makeSame): delete method
12935
12936 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12937
12938         * Variables.[Ch]: fix indentation, rename set to isSet
12939
12940 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12941
12942         * lyxfunc.C (Dispatch): fix typo
12943
12944 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12945
12946         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12947         upper_bound.
12948
12949         * bufferlist.C: include assert.h for emergencyWrite().
12950
12951 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12952
12953         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12954           give up at last (bug #425202) !
12955
12956 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12957
12958         * lyx_gui_misc.C:
12959         * sp_form.h:
12960         * sp_form.C:
12961         * spellchecker.h:
12962         * spellchecker.C: strip spellchecker options and bring up
12963           preferences tab instead
12964
12965 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12966
12967         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12968         the istringstream constructor
12969
12970 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12971
12972         * paragraph.C (getLayout): fix return value
12973
12974         * paragraph.h: do not declare getLayout as inline.
12975
12976         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12977
12978 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12979
12980         * lyxcursor.h (operator<): new func
12981         (operator>): new func
12982         (operator>=): new func
12983         (operator<=): new func
12984
12985         * text.C (changeCase): use selection.start and selection.end
12986         (changeRegionCase): require from to be <= to. Require par to be a
12987         valid paragraph.
12988
12989         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12990
12991 2001-06-27  Juergen Vigna  <jug@sad.it>
12992
12993         * text.C (cursorLeftOneWord): changed to return the cursor and added
12994         overlay with BufferView * parameter which calls this one.
12995         (getWord): added
12996         (selectWord): use new getWord function.
12997         (changeCase): renamed from changeWordCase as and extended to work
12998         also on selections.
12999
13000         * lyxtext.h: added enum word_location
13001
13002         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13003         changeCase as this operates now also on selections.
13004
13005 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
13006
13007         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13008
13009         * many files: send debug output to Debug::INFO instead of
13010         Debug::ANY.
13011
13012         * converter.C (View):
13013         (Convert):
13014         (Move): send debug output to Debug::FILES instead of console.
13015
13016 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
13017
13018         * lyxfunc.C (getStatus): use func_status
13019
13020         * func_status.h: new header, describing the results of
13021         LyXFunc::getStatus;
13022
13023         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13024         LFUN_MATH_HALIGN.
13025
13026 2001-06-25  The LyX Project  <jug@sad.it>
13027
13028         * buffer.C (sgmlOpenTag):
13029         (sgmlCloseTag):
13030         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
13031
13032 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13033
13034         * text2.C: remove some dead code
13035
13036         * tabular.C (GetCellInset): store the last cell checked (gotten)
13037
13038         * tabular.h: add the helper for the speedup
13039
13040         * lyxtext.h: remove some dead code
13041
13042 2001-06-26  The LyX Project  <Asger>
13043
13044         * paragraph.C: Change export to LaTeX of alignment to
13045         \begin{center} and family for better roundtrip work with reLyX.
13046
13047         * Tune the math drawing a bit.
13048
13049 2001-06-25  The LyX Project  <Asger>
13050
13051         * LColor.C (LColor): New color for math background. New color
13052         for buttons.
13053
13054 2001-06-25  The LyX Project  <jug@sad.it>
13055
13056         * lyxfunc.C (MenuNew): remove extra check for .lyx file
13057
13058         * lyxfunc.C (Open):
13059         * bufferlist.C (newFile): do not restrict to files ending with
13060         .lyx
13061
13062         * BufferView_pimpl.C (MenuInsertLyXFile):
13063
13064 2001-06-24  The LyX Project  <jug@sad.it>
13065
13066         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13067         of compare_no_case
13068
13069 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13070
13071         * lyxtext.h: rename most methods to begin with a small char.
13072         Lots of changes because of this.
13073
13074         * paragraph.C (Paragraph): do not call fitToSize
13075         (erase): call Pimpl::erase
13076         (insertChar): call Pimpl::insertChar
13077         (insertInset): call Pipl::insertInset
13078         (breakParagraph): do not call fitToSize
13079         (breakParagraphConservative): do not call fitToSize
13080         (fitToSize): remove method
13081
13082         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13083
13084 2001-06-24  The LyX Project  <Asger>
13085
13086         * Fix Qt compilation^2
13087
13088 2001-06-24  The LyX Project  <jug@sad.it>
13089
13090         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13091         depthHook(getDepth()-1).
13092
13093         * paragraph.h:
13094         * ParagraphParameters.h:
13095         * ParameterStruct.h: change type of depth to unsigned int ==
13096         depth_type. Many adaptations to other files before of that.
13097
13098 2001-06-24  The LyX Project  <Asger>
13099
13100         * Fix Qt compilation.
13101
13102 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13103
13104         * paragraph.h: renamed several methods to begin with small letter.
13105         several changes to many parts of the code because of this.
13106
13107 2001-06-23  The LyX Project  <jug@sad.it>
13108
13109         * text2.C (InsertStringAsLines): renamed from InsertStringA;
13110         rewritten to discard all double spaces when KeepEmpty is off
13111         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13112         to only handle newlines but not fiddle with spaces and friends.
13113
13114         * lyxfunc.C (MenuNew): when doing 'new from template', use
13115         template_path as default directory
13116
13117 2001-06-23  The LyX Project  <Asger>
13118
13119         * Clean-up of header file includes all over
13120         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13121
13122 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13123
13124         * paragraph.h: renamed from lyxparagraph.h
13125
13126 2001-06-23  Asger  <lyx@violet.home.sad.it>
13127
13128         * Buffer.h: Removed Buffer::resize
13129         * BufferList.h: Removed BufferList::resize
13130         * LyXView.h: Added LyXView::resize. This way, we will only reflow
13131         the document lazily when we change the width, or the font settings.
13132
13133 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13134
13135         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13136
13137 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13138
13139         * buffer.h: remove out of date comment
13140
13141 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13142
13143         * lyxscreen.h:
13144         * screen.C: fix "theoretical" GC leak
13145
13146 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13147
13148         * LaTeX.C (scanAuxFile):
13149         (deplog): remove trailing \r when reading stream (useful under
13150         win32)
13151
13152 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
13153
13154         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13155         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13156         and BufferView::theLockingInset(Inset*), so should use them and not
13157         access bv_->text->the_locking_inset directly.
13158
13159         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13160
13161 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13162
13163         * Makefile.am:
13164         * tex-defs.h: remove old unused file
13165
13166 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
13167
13168         * BufferView_pimpl.C: fix typo, remove minibuffer message
13169           when buffer has loaded
13170
13171 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13172
13173         * lyxfunc.C (Dispatch): use stringstream
13174         (MenuNew): use stringstream
13175         (Open): use stringstream
13176
13177         * importer.C (Import): use stringstream
13178
13179         * bufferview_funcs.C (CurrentState): use stringstream
13180
13181         * LaTeX.C (run): use stringstream
13182
13183         * BufferView_pimpl.C (savePosition): use stringstream
13184         (restorePosition): use stringstream
13185         (MenuInsertLyXFile): use stringstream
13186
13187 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
13188
13189         * BufferView.C:
13190         * Bullet.C:
13191         * ColorHandler.C:
13192         * FontInfo.C:
13193         * FontLoader.C:
13194         * LColor.C:
13195         * LaTeXFeatures.C:
13196         * Painter.C:
13197         * gettext.C:
13198         * lyx_gui_misc.C:
13199         * lyxserver.C:
13200         * vspace.C: removed // -*- C++ -*- as first line.
13201
13202         * lyxfind.h:
13203         * version.h: added // -*- C++ -*- as first line.
13204
13205 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13206
13207         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13208
13209         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13210         of string
13211
13212 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13213
13214         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13215         of floats.
13216
13217 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13218
13219         * gettext.C: include LString.h even when --disable-nls is on.
13220
13221 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
13222
13223         * converter.h (Get): changed argument type from int to
13224         FormatList::size_type to avoid unnecessary conversion.
13225
13226         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13227         before using it.
13228
13229 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13230
13231         * gettext.h: include LString.h even when --disable-nls is on.
13232
13233 2001-06-07  Juergen Vigna  <jug@sad.it>
13234
13235         * text.C (BreakAgain): subst spaces with tabs.
13236
13237         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13238         (resizeInsetsLyXText): set force on resizeLyXText.
13239
13240 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13241
13242         * gettext.h (gettext_init):
13243         (locale_init): use a real definition instead of a macro
13244
13245 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13246
13247         * Bufferview_pimpl.C:
13248         * LColor.h:
13249         * LColor.C: further lcolor tidies
13250
13251 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13252
13253         * BufferView_pimpl.C (updateScrollbar): simplify.
13254
13255         * BufferView2.C: don't include insets/insetinfo.h, change
13256         prototype for insertInset and call the Pimpl version. let
13257         updateInset call Pimpl version.
13258
13259         * BufferView.h: move inset_slept to BufferView::Pimpl, move
13260         gotoInset to BufferView::Pimpl
13261
13262 2001-06-01  Juergen Vigna  <jug@sad.it>
13263
13264         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13265         inside a LockingInset (is the update needed at all?).
13266
13267 2001-05-31  Juergen Vigna  <jug@sad.it>
13268
13269         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13270         here not the old one otherwise how should we compare it afterwards
13271         if it's the same!
13272
13273 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13274
13275         * lyxfont.C:
13276         * tabular.C:
13277         * tabular-old.C:
13278         * FontInfo.C: bring C functions into global namespace when
13279         necessary
13280
13281 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13282
13283         * LString.h: make sure config.h has been loaded before LString.h.
13284
13285         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13286         (one for each char read by EatLine!).
13287
13288         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13289         variables.
13290
13291 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13292
13293         * paragraph.C (BreakParagraph): set the inset_owner in the new par
13294         to the same as the par we break from
13295
13296 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13297
13298         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13299
13300         * MenuBackend.C (expand): also create menu entries for wide
13301         versions of the floats.
13302
13303         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13304
13305         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13306
13307         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13308         frontends/Makefile.am
13309
13310         * text2.C: adjust
13311         * text.C: adjust
13312
13313
13314         * tabular.C (getTokenValue): add std::
13315
13316         * tabular-old.C (getTokenValue): add std::
13317         (getTokenValue): ditto
13318         (getTokenValue): ditto
13319
13320         * screen.C (ToggleSelection): adjust
13321
13322         * lyxtext.h: put selection cursors inside a Selection struct.
13323
13324         * lyxfunc.C (moveCursorUpdate): adjust
13325
13326         * lyxfont.C (latexWriteStartChanges): add std::
13327
13328         * lyxfind.C: adjust
13329
13330         * font.h: delete with(char const *, LyXFont const &)
13331
13332         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13333
13334         * FontInfo.C (getFontname): add std::
13335
13336         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13337         (workAreaButtonPress): adjust
13338         (tripleClick): adjust
13339         (update): adjust
13340         (moveCursorUpdate): adjust
13341         (Dispatch): adjust
13342
13343         * BufferView2.C (gotoInset): adjust
13344
13345 2001-05-30  Juergen Vigna  <jug@sad.it>
13346
13347         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13348         to check pspell I add this as default as I now have new pspell
13349         libraries and they seem to use this.
13350
13351 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13352
13353         * text2.C (CutSelection): make the cursor valid before the call to
13354         ClearSelection.
13355
13356 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13357
13358         * kbsequence.C (parse): de-uglify a bit the parsing code, which
13359         relied on 0 terminated strings and other horrors. Bug found due to
13360         the new assert in lyxstring!
13361
13362         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13363         KP_ keys.
13364
13365 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13366
13367         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13368         to latinkeys.bind.
13369
13370         * lyxfunc.C (processKeySym): change method of getting to the
13371         self-insert char.
13372
13373         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13374         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13375         * BufferView_pimpl.[Ch]: here as private methods.
13376
13377 2001-05-28  Juergen Vigna  <jug@sad.it>
13378
13379         * text.C (SetHeightOfRow): added the update() call again as it is
13380         needed to initialize inset dimensions!
13381
13382 2001-05-16  Juergen Vigna  <jug@sad.it>
13383
13384         * text2.C (SetCharFont): Add new function with BufferView * and
13385         bool toggleall parameters for setting insets internal fonts.
13386         (SetFont): Freeze the undo as we may change fonts in Insets and
13387         all this change should be inside only one Undo!
13388
13389         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13390         setting font's in insets as for them we have the SetFont function!
13391
13392 2001-05-15  Juergen Vigna  <jug@sad.it>
13393
13394         * text2.C (ClearSelection): to be sure we REALLY don't have any
13395         selection anymore!
13396
13397         * tabular.C (TeXCellPreamble): fixed the left border problem for
13398         multicolumn cells.
13399
13400 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
13401
13402         * LaTeX.C (deplog): Make sure that the main .tex file is in the
13403         dependancy file
13404
13405 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13406
13407         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13408         LFUN_BREAKPARAGRAPH.
13409
13410         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13411         help test to "internal only", similar for LFUN_INSERT_URL
13412
13413         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13414         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13415         auto_region_delete and deadkeys.
13416
13417 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
13418
13419         * LColor.h:
13420         * LColor.C: remove some dead entries, tidy a little
13421
13422 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13423
13424         * lyxfunc.C (processKeySym): comment the Escape handling, remove
13425         commented code.
13426         (Dispatch): implement LFUN_ESCAPE
13427
13428         * commandtags.h: add LFUN_ESCAPE
13429
13430         * LyXAction.C (init): add entry for LFUN_ESCAPE
13431
13432         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13433         Remove commented code.
13434         (insertNote): moved here
13435         (open_new_inset): moved here
13436
13437         * BufferView[2].[Ch]: move insertNote and open_new_inset to
13438         BufferView_pimpl
13439
13440 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13441
13442         * kbmap.C (findbinding): clean it up and make it work correctly.
13443
13444         * lyx_main.C (init): do not pass argc and argv as parameters
13445
13446 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
13447
13448         * buffer.C: fix path for OS/2 & Win32
13449
13450         * lyx_gui.C:
13451         * lyx_main:
13452         * lyx_main.C: Added os:: class.
13453
13454         * os2_defines.h: update
13455
13456 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13457
13458         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13459         better by trying again with reduced state.
13460
13461 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13462
13463         * lyxrc.C (read): print error about invalid key sequence only when
13464         debugging (because not all latinX keysyms are known to some X
13465         servers)
13466
13467         * kbsequence.C (getiso): add a few std:: qualifiers
13468         (getiso): comment out extra return statement.
13469
13470 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13471
13472         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13473         handling.
13474         (Dispatch): enhance the accent inset a bit. (not perfect)
13475
13476 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13477
13478         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13479
13480 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13481
13482         * bufferlist.C (emergencyWrite): fix assert() call
13483
13484 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
13485
13486         * text.C (InsertChar): Added trivial patch to only send the "you
13487         can not do multiple spaces this way" message once during a
13488         session.
13489
13490 2001-05-08  Baruch Even  <baruch@lyx.org>
13491
13492         * Makefile.am: Changed order of libraries to get LyX to link properly
13493         with the gnome frontend.
13494
13495 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13496
13497         * LaTeXFeatures.h: add a std:: qualifier
13498
13499 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13500
13501         * paragraph.C (String): use stringstream
13502
13503 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13504
13505         * paragraph.C (writeFile): remove footflag arg
13506
13507         * buffer.C (makeLaTeXFile): use stringstream
13508         (latexParagraphs): remove footnot gurba
13509
13510         * LaTeXFeatures.C (getPackages): use stringstream
13511         (getMacros): likewise
13512         (getTClassPreamble): likewise
13513         (getFloatDefinitions): new method
13514
13515         * paragraph.C (writeFile): reindent
13516         (Erase): reindent
13517
13518         * WorkArea.h: revert the xpos + etc changes.
13519
13520         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13521
13522         * lyxparagraph.[Ch]: add copy constructor, remove Clone
13523
13524         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13525         (pasteSelection): likewise
13526         * text2.C (CreateUndo): likewise
13527
13528 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13529
13530         * minibuffer.C (peek_event): temporarily reduce the functionality
13531         of the minibuffer (to allow args on lfuns)
13532
13533         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13534         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13535
13536         * buffer.C (readInset): add compability reading of old float
13537         lists, add reading of new style float list.
13538         (readInset): avoid reevaluation of inscmd.getCmdName()
13539         (getLists): reindent
13540
13541         * MenuBackend.C (MenuItem): implement parsing of
13542         md_floatlistinsert and md_floatinsert.
13543         (expand::LastFiles): move initalizaton of iterators out of loop,
13544         avoid reevaluation.
13545         (expand::Documents): introduce typdedef vector<string> Strings,
13546         and use it.
13547         (expand::ExportFormats): introduce typedef vector<Format const *>
13548         Formats, and use it.
13549         (expand): implement FloatListInsert and FloatInsert.
13550
13551         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13552         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13553         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13554
13555         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13556         handling.
13557         (Dispatch::LFUN_FLOAT_LIST): implement
13558
13559 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13560
13561         * LaTeX.C (run): Fix problem with --export code.
13562
13563 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13564
13565         * BufferView.[Ch] (workarea): removed.
13566         (getClipboard) new method; wrapper for workarea()->getClipboard()
13567
13568         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13569         bug.
13570
13571         * WorkArea.h (width, height, xpos, ypos): These methods all
13572         returned the dimensions of the work_area sub-area of WorkArea,
13573         resulting in a position error if the WorkArea were resized. Now
13574         return the dimensions of the entire WorkArea.
13575
13576         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13577
13578 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13579
13580         * LaTeX.C (deplog): correct the syntax of regex reg1
13581
13582 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13583
13584         * undo.C: remove !NEW_INSETS cruft
13585
13586 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13587
13588         * text2.C: remove !NEW_INSETS cruft
13589
13590         * text.C: remove !NEW_INSETS cruft
13591
13592         * tabular.C: remove !NEW_INSETS cruft
13593
13594         * spellchecker.C: remove !NEW_INSETS cruft
13595
13596         * lyxtext.h: remove !NEW_INSETS cruft
13597
13598         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13599
13600         * lyxfunc.C: remove !NEW_INSETS cruft
13601
13602         * lyxfind.C: remove !NEW_INSETS cruft
13603
13604         * lyx_cb.C: remove !NEW_INSETS cruft
13605
13606         * figureForm.C: remove  !NEW_INSETS cruft
13607
13608         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13609
13610         * buffer.[Ch]: remove !NEW_INSETS cruft
13611
13612         * ToolbarDefaults.C: remove !NEW_INSETS cruft
13613
13614         * CutAndPaste.C: remove !NEW_INSETS cruft
13615
13616         * BufferView_pimpl.C: remove !NEW_INSETS cruft
13617
13618         * BufferView2.C: remove !NEW_INSETS cruft
13619
13620         * BufferView.h: remove !NEW_INSETS cruft
13621
13622 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13623
13624         * Lsstream.h: include LString.h before the sstream headers to
13625         fix problem with gcc 2.95.3 and lyxstring
13626
13627 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13628
13629         * lyx_main.C: add using directives when needed for C functions
13630         declared in std:: namespace.
13631
13632 2001-04-27  Juergen Vigna  <jug@sad.it>
13633
13634         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13635         (SetHeightOfRow): comment out the update call should not be needed!
13636
13637 2001-04-13  Juergen Vigna  <jug@sad.it>
13638
13639         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13640         (LyXTabular): tried to minimize operator= operations (and realized
13641         hopfully Lars wish).
13642
13643 2001-04-27  Juergen Vigna  <jug@sad.it>
13644
13645         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13646
13647 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13648
13649         * lyxfunc.C (Dispatch): hack to make listof algorithm work
13650
13651         * buffer.C (readInset): hack to make listof algorithm work
13652
13653         * BufferView_pimpl.C: hack to make listof algorithm work
13654
13655 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13656
13657         * LyXAction.C: removed all !NEW_INSETS cruft
13658         (init): moved lfun_item in method
13659
13660         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13661
13662 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13663
13664         * BufferView2.C (theLockingInset): white space.
13665
13666 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13667
13668         * minibuffer.C: include <iostream>
13669
13670         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13671
13672         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13673
13674         * commandtags.h: add LFUN_TRANSPOSE_CHARS
13675
13676         * text.[Ch] (TransposeChars): new method
13677
13678 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13679
13680         * call message directly through LyXView instead of through LyXFunc
13681         * BufferView2.C: adjust
13682         * BufferView_pimpl.C: adjust
13683         * FontLoader.C: adjust
13684         * buffer.C: adjust
13685         * bufferview_funcs.C: adjust
13686         * converter.C: adjust
13687         * figureForm.C: adjust
13688         * importer.C: adjust
13689         * lyx_cb.C: adjust
13690         * lyx_gui_misc.C: adjust
13691         * lyxfunc.C: adjust
13692         * lyxvc.C: adjust
13693         * text2.C: adjust
13694         + more files in subdirs
13695
13696         * lyxparagraph.h (size): move up int file
13697         (GetLayout): ditto
13698
13699         * adjust all uses of Assert to lyx::Assert.
13700
13701         * BufferView2.C (ChangeCitationsIfUnique): adjust for
13702         lyxfunctional in namespace lyx
13703         * layout.C (hasLayout): ditto
13704         (GetLayout): ditto
13705         (GetLayout): ditto
13706         (delete_layout): ditto
13707         (NumberOfClass): ditto
13708         * converter.C (GetFormat): ditto
13709         (GetNumber): ditto
13710         (Add): ditto
13711         (Delete): ditto
13712         (SetViewer): ditto
13713         * bufferlist.C (getFileNames): ditto
13714         (emergencyWriteAll): ditto
13715         (exists): ditto
13716         (getBuffer): ditto
13717         * MenuBackend.C (hasSubmenu): ditto
13718         (hasMenu): ditto
13719         (getMenu): ditto
13720         * BufferView_pimpl.C (getInsetByCode): ditto
13721
13722 2001-04-18  Juergen Vigna  <jug@sad.it>
13723
13724         * vspace.C (asLatexString): fixed the 100% problem.
13725
13726 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13727
13728         * lyxfunc.C (Dispatch):
13729         * minibuffer.C:
13730         * minibuffer.h: add a few std:: qualifiers
13731
13732 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13733
13734         * minibuffer.[Ch]: reimplement so that commands is initiated and
13735         run from lyxfunc, simplified som handling, and made the completion
13736         and history code for complete. wip.
13737
13738         * lyxfunc.C (processKeySym): call message
13739         (miniDispatch): new temporary method
13740         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13741         (LFUN_MESSAGE): implement
13742         (LFUN_MESSAGE_PUSH): implement
13743         (LFUN_MESSAGE_POP): implement
13744         (initMiniBuffer): the initial/defualt minibuffer message.
13745
13746         * lyxfont.[Ch]: inline some more getters
13747
13748         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13749
13750         * lyx_gui_misc.[Ch] (WriteStatus): remove method
13751
13752         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13753         (AutoSave): use LFUN_MESSAGE
13754         (Reconfigure): ditto
13755
13756         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13757
13758         * figureForm.C: use LFUN_MESSAGE
13759
13760         * converter.C (runLaTeX): use LFUN_MESSAGE
13761
13762         * bufferview_funcs.C: use LFUN_MESSAGE
13763         (Melt): ditto
13764         (changeDepth): ditto
13765
13766         * bufferparams.h: use boost::
13767
13768         * bufferlist.h: inherit privately from noncopyable
13769
13770         * bufferlist.C (loadLyXFile): remove some commented code.
13771
13772         * buffer.C (runChktex): use LFUN_MESSAGE
13773
13774         * ShareContainer.h: inherit privately from noncopyable
13775
13776         * ParagraphParameters.[hC] (depth): inline it.
13777
13778         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13779         methods.
13780         (message): new method
13781         (messagePush): ditto
13782         (messagePop): ditto
13783         (show): init minibuffer
13784         (showState): direct call
13785
13786         * LaTeX.[Ch]: inherit privately from noncopyable
13787         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13788         instead of WriteStatus.
13789
13790         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13791
13792         * BufferView_pimpl.C (buffer): don't init minibuffer
13793         (workAreaButtonPress): use LFUN_MESSAGE
13794         (workAreaButtonRelease): ditto
13795         (savePosition): ditto
13796         (restorePosition): ditto
13797         (MenuInsertLyXFile): ditto
13798         (workAreaExpose): don't init minibuffer
13799         (update): remove commented code, simplify
13800
13801         * BufferView2.C (openStuff): use LFUN_MESSAGE
13802         (toggleFloat): ditto
13803         (menuUndo): ditto
13804         (menuRedo): ditto
13805         (copyEnvironment): ditto
13806         (pasteEnvironment): ditto
13807         (copy): ditto
13808         (cut): ditto
13809         (paste): ditto
13810         (gotoInset): ditto
13811         (updateInset): remove some commented code
13812
13813         * lastfiles.h: inherit privately from noncopyable
13814         * layout.h: ditto
13815         * lyx_gui.h: ditto
13816         * lyx_main.h: ditto
13817         * lyxlex.h: ditto
13818         * lyxlex_pimpl.h: ditto
13819
13820         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13821         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13822         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13823
13824         * LyXAction.h: inherit privately from noncopyable, add methods
13825         func_begin, func_end, returning iterators to the func map.
13826
13827         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13828         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13829         (func_begin): new method
13830         (func_end): new method
13831
13832         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13833         and not)
13834         (copySelection): ditto
13835         (pasteSelection): ditto
13836
13837         * BufferView.C: whitespace change
13838         * BufferView.h: inherit privately from noncopyable
13839
13840 2001-04-16  Allan Rae  <rae@lyx.org>
13841
13842         * tabular-old.C (l_getline):
13843         * spellchecker.C (sc_check_word):
13844         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13845         an unrecognised preprocessor directive.  So ensure they're wrapped.
13846
13847 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13848
13849         * src/exporter.C (Export): Give an error message when path to file
13850         contains spaces.
13851
13852 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13853
13854         * LaTeX.C (deplog): Always check that foundfile exists.
13855
13856 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13857
13858         * lyx_main.h:
13859         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13860
13861 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13862
13863         * tabular.[Ch] (getLabelList): implement new method
13864
13865         * minibuffer.h: comment ouf setTiimer
13866
13867         * minibuffer.C (ExecutingCB): constify res
13868         (peek_event): constify s
13869         (Set): constify ntext
13870         (Init): constify nicename
13871
13872         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13873
13874         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13875         (savePosition): use two params to Minibuffer::Set
13876         (restorePosition): ditto
13877
13878 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13879
13880         * lyx_main.C: include language.h
13881
13882         * Makefile.am (lyx_main.o): add language.h
13883
13884 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13885
13886         * exporter.C:
13887         * paragraph.C:
13888         * screen.C:
13889         * tabular.C:
13890         * CutAndPaste.C: include gettext.h
13891
13892         * lyxfont.h: remove old hack with ON and OFF.
13893
13894         * lyxparagraph.h:
13895         * lyxfont.h: do not include language.h...
13896
13897         * BufferView2.C:
13898         * LaTeXFeatures.C:
13899         * Painter.C:
13900         * bufferview_funcs.C:
13901         * font.C:
13902         * lyxfont.C:
13903         * text.C:
13904         * text2.C:
13905         * trans_mgr.C:
13906         * paragraph.C: ... but do it here instead
13907
13908 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13909
13910         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13911
13912         * tabular.C: small reformat
13913
13914         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13915         NEW_INSETS version
13916         (GetChar): ditto
13917         (BreakParagraph): ditto
13918         (SetOnlyLayout): ditto
13919         (SetLayout): ditto
13920
13921         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13922         with one arg less.
13923
13924         * lastfiles.C: removed most using decl, add std:: where needed
13925
13926         * buffer.C: ws changes
13927
13928         * MenuBackend.C (class compare_format): put into anon namespace
13929         (expand): constify label, names, action, action2
13930         (expand):
13931
13932         * text.C (SingleWidth): constify font
13933         (IsBoundary): constify rtl2
13934         (GetVisibleRow): constify ww
13935
13936         * LaTeX.C (deplog): constify logfile
13937
13938         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13939         start_x, end_x
13940         (workAreaExpose): constify widthChange, heightChange
13941
13942         * lyxrow.C (par): moved
13943         (height): moved
13944         (next): moved
13945         * lyxrow.h: as inlines here
13946
13947         * lyxfont.h (shape): moved from lyxfont.C
13948         (emph): moved from lyxfont.C
13949
13950         * lyxfont.C (LyXFont): use initialization list for all
13951         constructors
13952         (shape): move to lyxfont.h as inline
13953         (emph): move to lyxfont.h as inline
13954
13955
13956 2001-04-04  Juergen Vigna  <jug@sad.it>
13957
13958         * vspace.C: had to include stdio.h for use of sscanf
13959
13960 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
13961
13962         * BufferView.h:
13963         * BufferView_pimpl.h: remove xforms cruft. Both classes are
13964         independent of xforms.
13965
13966 2001-04-02  Juergen Vigna  <jug@sad.it>
13967
13968         * spellchecker.C: fixed namespace placing!
13969
13970 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
13971
13972         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13973         the LyXParagraph * is 0.
13974
13975 2001-03-29  Juergen Vigna  <jug@sad.it>
13976
13977         * vspace.C: added support for %, c%, p%, l%.
13978         (stringFromUnit): added helper function.
13979         (asLatexString): changed to give right results for the %-values.
13980
13981         * buffer.C: convert the widthp in a width%.
13982
13983 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
13984
13985         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13986         figureForm.[Ch].
13987
13988         * figureForm.[Ch]: stripped the FD_from_figure manipulation
13989         code out of lux_cb.[Ch], ready for its (imminent?) removal.
13990
13991         * lyx_cb.[Ch]: see above.
13992
13993         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13994         form1.[Ch].
13995
13996         * form1.[Ch]:
13997         * lyx.[Ch]: replaced by figure_form.[Ch].
13998
13999         * lyx_gui.C:
14000         * lyx_gui_misc.C:
14001         * lyxfunc.C: changed headers associated with above changes.
14002
14003 2001-03-27  Juergen Vigna  <jug@sad.it>
14004
14005         * BufferView_pimpl.C: set the temporary cursor right!
14006
14007 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
14008
14009         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14010
14011 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
14012
14013         * LString.h: removed "using std::getline"!
14014
14015         * BufferView_pimpl.C (Dispatch): changes due to changes in
14016         InsetInclude::Params.
14017
14018         * buffer.C (tag_name): removed redundant break statements as they were
14019         producing lots of warnings with my compiler.
14020
14021 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14022
14023         * LString.h: add "using std::getline" when using the real <string>.
14024
14025 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
14026
14027         * buffer.C: removed bitset usage.
14028         PAR_TAG moved to an anonymous name space.
14029         (tag_name): new funtion, also in the anonymous namespace.
14030         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14031         (makeDocBookFile): clean code. Completed transition from string arrays
14032         to string vectors.
14033         (SimpleDocBookOnePar): code clean.
14034
14035 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14036
14037         * tabular.C: add some comments.
14038
14039 2001-03-22  Juergen Vigna  <jug@sad.it>
14040
14041         * buffer.C (parseSingleLyXformat2Token): redone the minipage
14042         compatibility read a bit and fixed bug with minipage in different
14043         depth.
14044
14045 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
14046
14047         * buffer.C (pop_tag): removed.
14048         (push_tag): removed.
14049         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14050         array replaced with vector. Added support for CDATA sections.
14051         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14052         at any nest level.
14053         (makeDocBookFile): XML conformant declaration of CDATA section,
14054         fixed bug related to <emphasis> in the first paragraph char.
14055         (sgmlOpenTag): exclude empty tags.
14056         (sgmlCloseTag): ditto.
14057
14058         * buffer.h (pop_tag): removed.
14059         (push_tag): removed.
14060
14061 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
14062
14063         * language.h (Languages): added size_type and size().
14064
14065 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14066
14067         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14068         response on compability reading of minipages. One probliem is that
14069         the old usage of minipages was «flertydig»
14070
14071         * several files here and in subdirs: don't use static at file
14072         scope use anon namespaces instead.
14073
14074 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
14075
14076         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14077         LaTeX output. This is necessary for Literate document
14078         processing.
14079
14080 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14081
14082         * buffer.C: insert hfill when needed.
14083
14084         * tabular.C (l_getline): use string::erase, small whitespace change.
14085
14086         * BufferView_pimpl.C: try the anon namespace.
14087         * WorkArea.C: ditto
14088
14089 2001-03-16  Juergen Vigna  <jug@sad.it>
14090
14091         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14092         otherwise it won't open options-dialogs.
14093
14094         * buffer.C: honor pextraWidth(p) on converting minipages.
14095
14096         * tabular.C (l_getline): changed the functions to strip trailing \r.
14097
14098 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
14099
14100         * BufferView_pimpl.C:
14101         * minibuffer..C: added "using SigC::slot" declaration.
14102
14103 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14104
14105         * lyxlex_pimpl.h: noncopyable is in namespace boost.
14106
14107         * text2.C: ditto
14108
14109         * text.C: ditto
14110
14111         * paragraph.C: ditto
14112
14113         * lyxtext.h: NO_PEXTRA
14114
14115         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14116
14117         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14118         * ParameterStruct.h: ditto
14119         * ParagraphParameters.h: ditto
14120         * lyxparagraph.h: ditto
14121
14122 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14123
14124         * buffer.C: add compability for minipage alignment.
14125         (latexParagraphs): remove unwanted pextra check.
14126
14127         * several files: remove CXX_WORKING_NAMESPACES
14128
14129         * buffer.C (pop_tag): tie is in namespace boost
14130
14131         * BufferView.h: noncopyable is in namespace boost
14132         * lyxlex.h: ditto
14133         * lyx_main.h: ditto
14134         * lyx_gui.h: ditto
14135         * layout.h: ditto
14136         * lastfiles.h: ditto
14137         * bufferlist.h: ditto
14138         * ShareContainer.h: ditto
14139         * LyXView.h: ditto
14140         * LyXAction.h: ditto
14141         * LaTeX.h: ditto
14142
14143 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14144
14145         * Merging changes from BRANCH_MVC back into HEAD.
14146
14147         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14148
14149 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
14150
14151         * BufferView_pimpl.C: change from intl.C
14152
14153         * combox.h:
14154         * combox.C:
14155         * Makefile.am: move combox.*
14156
14157         * form1.h:
14158         * form1.C:
14159         * lyx_gui.C:
14160         * intl.h:
14161         * intl.C: remove dialog (covered by prefs)
14162
14163 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14164
14165         * lyxfunc.C (Dispatch): removed redundant break statement.
14166
14167 2001-03-14  Juergen Vigna  <jug@sad.it>
14168
14169         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14170
14171 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14172
14173         * buffer.C: add hack to fix compability reading of minipages.
14174
14175 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
14176
14177         * buffer.C (getLists): Cleanup.
14178
14179 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14180
14181         * lyxfont.C (update): don't honor toggleall on font size.
14182
14183 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
14184
14185         * bmtable.c:
14186         * bmtable.h:
14187         * Makefile.am: moved to frontends/xforms/
14188
14189         * lyx_gui_misc.C:
14190         * lyxfunc.C:
14191         * BufferView_pimpl.C: changes for moved mathpanel
14192
14193 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14194
14195         * gettext.h: fix gettext_init() in --disable-nls
14196
14197 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14198
14199         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14200
14201 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
14202
14203         * lyx.C:
14204         * lyx.h: strip external form
14205
14206 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14207
14208         * BufferView_pimpl.C: add comment, destroySplash()
14209
14210 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14211
14212         * BufferView_pimpl.C:
14213         * LyXAction.C:
14214         * buffer.C:
14215         * commandtags.h:
14216         * lyxfunc.C: use re-worked insetinclude
14217
14218 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14219
14220         * buffer.C: add using std::stringstream.
14221
14222         * lyx_cb.C: readd using std::ios.
14223
14224         * buffer.C: add using std::map.
14225
14226         * BufferView_pimpl.C: add using std::vector.
14227
14228         * ShareContainer.h: add std:: to swap.
14229
14230         * buffer.h: add some typedefs
14231         * buffer.C (getLists): use them
14232         (getLists): renamed from getTocList.
14233         add a counter for the different float types and use it in the
14234         generated string.
14235         (getLists): use the same counter for the NEW_INSETS and the "non"
14236         NEW_INSETS
14237
14238         * lyx_cb.h: remove unused items, includes, using etc.
14239
14240         * ShareContainer.h: remove some commented code, add more comments
14241         and "documentation".
14242
14243 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14244
14245         * buffer.C (getTocList): make the list also when NEW_INSETS is
14246         defined.
14247
14248         * buffer.h: remove TocType
14249
14250         * buffer.C (getTocList): change to return a map<string,
14251         vector<TocItem> >, implement for dynamic number of list.
14252
14253         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14254         * text2.C (PasteSelection): adjust
14255         * CutAndPaste.C (pasteSelection): adjust
14256
14257         * FloatList.C (FloatList): update from the new_insets branch.
14258         * Floating.[Ch]: ditto
14259         * LaTeXFeatures.C: ditto
14260         * buffer.C: ditto
14261         * lyxlex_pimpl.C: ditto
14262
14263         * paragraph.C (Last): remove when NEW_INSETS is defined.
14264
14265         * other file: changes because of the above.
14266
14267 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14268
14269         * lyxparagraph.h: rename next to next_, previous to previous_,
14270         make them private for NEW_INSETS. Rename Next() to next(),
14271         Previous() to previous().
14272
14273         * other files: changes because of the above.
14274
14275 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
14276
14277         * BufferView.h:
14278         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14279         problem.
14280
14281 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14282
14283         * main.C (main): pass lyx_localedir to gettext_init().
14284
14285         * gettext.h: remove locale_init and gettext_init macros
14286
14287         * gettext.C (locale_init): new function
14288         (gettext_init): new function
14289
14290         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14291         setlocale().
14292
14293 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
14294
14295         * Moved credits to frontends:
14296         * credits.[Ch]: removed
14297         * credits_form.[Ch]: removed
14298         * lyx_gui_misc.C: remove credits stuff
14299         * Makefile.am:
14300
14301 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14302
14303         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14304
14305         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14306         unneeded destructor.
14307
14308         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14309         a standalone pointer again.
14310
14311         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14312
14313 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
14314
14315         * Makefile.am:
14316         * filedlg.h:
14317         * filedlg.C:
14318         * LyXAction.C:
14319         * ToolbarDefaults.C:
14320         * bufferlist.C:
14321         * commandtags.h:
14322         * form1.C:
14323         * form1.h:
14324         * lyx_cb.C:
14325         * lyx_cb.h:
14326         * lyxfunc.h:
14327         * lyxfunc.C:
14328         * BufferView_pimpl.C: use new file dialog in GUII
14329
14330         * lyx_cb.h:
14331         * lyx_cb.C: remove LayoutsCB to Toolbar
14332
14333 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14334
14335         * ShareContainer.h (get): add std:: qualifier
14336
14337 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14338
14339         * ShareContainer.h: define a proper ShareContainer::value_type
14340         type (and use typename to please compaq cxx)
14341
14342 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14343
14344         * lyxparagraph.h: move serveral local vars to
14345         ParameterStruct/ParagraphParameters., use ShareContainer in
14346         FontTable., make vars in FontTable private and add getter and
14347         setter.
14348
14349         * paragraph.C: changes because of the above.
14350
14351         * lyxfont.h: remove copy constructor and copy assignment. (the
14352         default ones is ok), move number inside FontBits. move inlines to
14353         lyxfont.C
14354
14355         * lyxfont.C: add number to initializaton of statics, move several
14356         inlines here. constify several local vars. some whitespace
14357         cleanup. Dont hide outerscope variables.
14358
14359         * Spacing.h: add two new constructors to match the set methods.
14360
14361         * ShareContainer.h: new file, will perhaps be moved to support
14362
14363         * ParameterStruct.h: new file
14364
14365         * ParagraphParameters.h: new file
14366
14367         * ParagraphParameters.C: new file
14368
14369         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14370         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14371
14372         * BufferView_pimpl.C: ParagraphParameter changes.
14373         * buffer.C: Likewise.
14374         * bufferview_funcs.C: Likewise.
14375         * text.C: Likewise.
14376         * text2.C: Likewise.
14377
14378 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14379
14380         * lyxfind.C (LyXReplace): do not redefine default argument in
14381         implementation.
14382         (IsStringInText): ditto
14383         (SearchForward): ditto
14384         (SearchBackward): ditto
14385
14386 2001-03-06  Juergen Vigna  <jug@sad.it>
14387
14388         * lyxfind.C (IsStringInText): put parentes around expressions.
14389
14390 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
14391
14392         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14393
14394 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
14395
14396         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14397
14398         * stl_string_fwd.h: add comment
14399
14400         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14401
14402         * tabular.h:
14403         * tabular.C: remove unused DocBook methods
14404
14405         * intl.C:
14406         * language.C:
14407         * paragraph.C:
14408         * buffer.C:
14409         killed DO_USE_DEFAULT_LANGUAGE
14410
14411 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14412
14413         * lyx_gui.C: do not include language.h.
14414
14415         * bufferview_funcs.C (ToggleAndShow): do not provide optional
14416         arguments in function implementation.
14417
14418 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14419
14420         * BufferView_pimpl.C: add <ctime>
14421
14422 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14423
14424         * BufferView_pimpl.C: add using std::find_if
14425
14426 2001-02-27  José Matos  <jamatos@fep.up.pt>
14427
14428         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14429         by OnlyPath.
14430
14431 2001-02-11  José Matos  <jamatos@fep.up.pt>
14432
14433         * buffer.C (makeDocBookFile): command styles now have a parameter as
14434         "title" by default.
14435
14436 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
14437
14438         * layout_forms.[Ch]: removed
14439         * lyx_cb.[Ch]: out character
14440         * lyx_gui.C: out character
14441         * lyx_gui_misc.C: out character
14442         * bufferview_funcs.C: : out character,
14443         added toggleall as parameter in ToggleAndShow
14444
14445 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
14446
14447         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14448
14449         * text2.C (SetCurrentFont): Disable number property at boundary.
14450
14451 2001-02-26  Juergen Vigna  <jug@sad.it>
14452
14453         * lyxfunc.C (getStatus): added a string argument override function so
14454         that this is correctly called from LyXFunc::Dispatch if it contains a
14455         do_not_use_argument which is used!
14456         (Dispatch): added check for "custom" export and call appropriate func.
14457
14458 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
14459
14460         * lyxrc.C: Add language_command_local, language_use_babel and
14461         language_global_options.
14462
14463         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14464
14465         * buffer.C (makeLaTeXFile): Use language_use_babel and
14466         language_global_options.
14467
14468 2001-02-23  Juergen Vigna  <jug@sad.it>
14469
14470         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14471         which works with LyXText and putted it inside BufferView. Here now we
14472         only call for that part the BufferView::Dispatch() function.
14473
14474         * BufferView.C (Dispatch): added.
14475
14476         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14477         functions which needs to use a LyXText over from LyXFunc.
14478         (MenuInsertLyXFile): added
14479         (getInsetByCode): added
14480         (moveCursorUpdate): added
14481         (static TEXT): added
14482
14483 2001-02-22  Juergen Vigna  <jug@sad.it>
14484
14485         * BufferView_pimpl.C (update): call a status update to see if LyXText
14486         needs it.
14487
14488 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14489
14490         * vc-backend.C (revert): implement for CVS
14491         (getLog): implement for CVS
14492
14493 2001-02-20  Juergen Vigna  <jug@sad.it>
14494
14495         * text2.C (ClearSelection): added BufferView param for inset_owner call
14496
14497         * lyxfunc.C (TEXT): added this function and use it instead of
14498         directly owner->view()-text of getLyXText().
14499
14500 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
14501
14502         * src/layout_forms.C: out preamble
14503         * src/layout_forms.h: out preamble
14504         * src/lyx_cb.C: out preamble
14505         * src/lyx_cb.h: out preamble
14506         * src/lyx_gui.C: out preamble
14507         * src/lyx_gui_misc.C: out preamble
14508         * src/lyxfunc.C: connect with guii preamble
14509
14510 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
14511
14512         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14513
14514 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
14515
14516         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14517         whether to run bibtex.
14518
14519 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
14520
14521         * Makefile.am (lyx_SOURCES): Remove BackStack.h
14522
14523 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14524
14525         * Makefile.am (lyx_SOURCES): removed bibforms.h
14526
14527         * vspace.h: doxygen
14528
14529         * text.C (GetVisibleRow): make several local vars const
14530
14531         * tabular.C: small cleanup.
14532
14533         * lyxserver.C (callback): use compare instead of strncmp
14534
14535         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14536         inlines to after class or to paragraph.C
14537
14538         * lyxfont.h: remove friend operator!=
14539
14540         * converter.h: move friend bool operator< to non friend and after
14541         class def.
14542
14543         * combox.h: small cleanup
14544
14545         * buffer.h: doxygen, remove unused constructor, move inclas inlies
14546         to inlines after class def.
14547
14548         * buffer.C (pop_tag): use string operations instead of strcmp
14549
14550         * bmtable.c: doxygen, small cleanup
14551
14552         * LaTeX.h: remove friend operator==
14553
14554 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
14555
14556         * screen.C:
14557         * lyxrc.[Ch]:
14558         * lyxfunc.C:
14559         * lyxfont.[Ch]:
14560         * lyx_cb.C:
14561         * intl.[Ch]:
14562         * commandtags.h:
14563         * buffer.C:
14564         * WorkArea.[Ch]:
14565         * LyXAction.C:
14566         * BufferView_pimpl.C:
14567         * BufferView.[Ch]: remove cruft
14568
14569 2001-02-14  Juergen Vigna  <jug@sad.it>
14570
14571         * lyxfunc.C: removed #if 0 unused code
14572
14573         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14574
14575         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14576
14577         * text2.C (SetSelection): added a BufferView * parameter
14578
14579 2001-02-13  Juergen Vigna  <jug@sad.it>
14580
14581         * lyxfunc.C (Dispatch): fixed protected blank problem.
14582         * BufferView2.C (protectedBlank): added LyxText * parameter.
14583
14584         * tabular.C (AppendRow): forgot to set row_info of newly added row.
14585         (AppendColumn): same as above for column_info.
14586
14587         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14588         (moveCursorUpdate): use a LyXText param for support of InsetText.
14589
14590         * BufferView_pimpl.C (doubleClick): added support for InsetText.
14591         (tripleClick): ditto
14592
14593         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14594
14595         * BufferView_pimpl.C (update): added LyXText param to honor insets.
14596
14597         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14598
14599         * text2.C (SetSelection): set correct update status if inset_owner
14600         (ToggleFree): ditto
14601
14602 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
14603
14604         * tabular.C: remove some commented code.
14605
14606 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
14607
14608         * BufferView_pimpl.C: call hideSplash()
14609
14610         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14611
14612         * include_form.h:
14613         * bibforms.h: remove
14614
14615         * lyxfunc.C:
14616         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14617           add LFUN_CHILD_CREATE
14618
14619         * counters.h: fix tiny typo
14620
14621         * lyx_cb.C:
14622         * lyx.h:
14623         * lyx_gui.C:
14624         * lyx.C: move splash to frontends/xforms/
14625
14626         * lyx_gui_misc.C: move Include and Bibform to frontends
14627
14628         * lyxvc.h: clarify comment
14629
14630         * vspace.C: tiny housekeeping
14631
14632 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
14633
14634         * text.C (PrepareToPrint): RTL Fix.
14635
14636         * paragraph.C (GetUChar): New method.
14637         (String):  Use GetUChar.
14638
14639         * buffer.C (asciiParagraph): Use GetUChar.
14640
14641 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
14642
14643         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14644
14645 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
14646
14647         * buffer.h:
14648         * buffer.C: rename to getLogName(), handle
14649           build log / latex log nicely
14650
14651 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14652
14653         * MenuBackend.C:
14654         * MenuBackend.h: remove support for reference menuitem type.
14655
14656 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
14657
14658         * BufferView_pimpl.C: housekeeping
14659         * BufferView_pimpl.h:
14660         * LyXView.h:
14661         * Makefile.am:
14662         * Timeout.C:
14663         * Timeout.h:
14664         * minibuffer.h: move Timeout GUI-I
14665
14666 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
14667
14668         * lyxrc.C (read): Update converters data-structures.
14669
14670 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
14671
14672         * LaTeX.h (operator!=): add operator != for Aux_Info
14673
14674 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
14675
14676         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14677
14678         * LaTeXLog.C: deleted, useful code moved to Buffer
14679
14680         * buffer.h:
14681         * buffer.C: new function getLatexLogName()
14682
14683         * lyx_gui_misc.C:
14684         * lyx_gui.C:
14685         * lyxvc.C:
14686         * lyxvc.h:
14687         * lyxfunc.C: use frontends for LaTeX and VC logs
14688
14689 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14690
14691         * LaTeX.h: yet another std:: that Allan forgot.
14692
14693         * Variables.C (set): renamed from isset(), because this clashes
14694         with some HP-UX macros (grr).
14695
14696 2001-02-06  Allan Rae  <rae@lyx.org>
14697
14698         * LaTeX.h: Another bug fix.  Missing std:: this time.
14699
14700 2001-02-04  Allan Rae  <rae@lyx.org>
14701
14702         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14703         floats problem. I've left it commented out because it's not quite
14704         correct.  It should also test that the current object is a table or
14705         figure inset.  But I haven't gotten around to figuring out how to do
14706         that.  I *think* it'll be something like: "table" == inset.type()
14707
14708         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14709         bool.
14710
14711 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
14712
14713         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14714         all the citation/databases/styles in the auxilary file.
14715         (run): Rerun latex if there was a babel language error.
14716
14717 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
14718
14719         * text.C (Backspace): Preserve the font when changing newline char
14720         with a space.
14721         (BreakParagraph): If the cursor is before a space, delete the space.
14722
14723         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14724
14725 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
14726
14727         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14728         new argument (code).
14729         (ChangeCitationsIfUnique): New method.
14730
14731         * paragraph.C (GetPositionOfInset): Handle bibkey.
14732
14733 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14734
14735         * BufferView_pimpl.h: change type of Position::par_pos to
14736         LyXParagraph::size_type.
14737
14738 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
14739
14740         * BufferView_pimpl.C (savePosition, restorePosition): Write
14741         messages to minibuffer.
14742
14743 2001-01-28  José Matos  <jamatos@fep.up.pt>
14744
14745         * buffer.C (makeDocBookFile): adds support for document language.
14746         A silly restriction on the name of LatexCommand types where removed.
14747         Added support for CDATA sections, allows to chars unescaped, used
14748         among others in code, to avoid escape < and >.
14749
14750 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14751
14752         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14753         saved positions instrad of a stack. Furthermore, a position is
14754         stored using paragraph id/paragraph position.
14755
14756         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14757         Remove LFUN_REF_BACK.
14758
14759 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14760
14761         * converter.C (dvipdfm_options): New method.
14762
14763 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14764
14765         * vspace.C (isValidLength): Fix for empty input string.
14766
14767 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14768
14769         * LyXAction.C (init): change description of LFUN_FIGURE to
14770         "Insert Graphics"
14771
14772 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14773
14774         * LaTeX.C: add using directive
14775
14776 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14777
14778         * MenuBackend.C (expand): Fix the sorting of the formats.
14779
14780 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14781
14782         * lyx_main.C: tiny error message fix
14783
14784 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14785
14786         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14787         calling fl_initialize(). This fixes the problem with ',' as
14788         decimal separator in text files.
14789
14790 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14791
14792         * trans.C (process): Fix the keymap bug.
14793
14794 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
14795
14796         * LaTeX.C (scanAuxFiles): New method. Provides support for
14797         multiple bibliographies (when using the bibtopic/bibunits pacakges).
14798         (scanLogFile) Scan for "run BibTeX" messages.
14799
14800         * buffer.C (makeLaTeXFile): Do not load the ae package when using
14801         OT1 font encoding. Also, load the aecompl package if the ae
14802         package is loaded.
14803
14804         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14805
14806 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14807
14808         * texrow.C (increasePos): turn two error messages into debug
14809         messages.
14810
14811 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
14812
14813         * LaTeX.C (scanAux): Handle the \@input macro.
14814         (runBibTeX): Use scanAux().
14815
14816         * language.C (latex_options_): New field.
14817
14818         * LaTeXFeatures.C (getMacros): Add language macros.
14819
14820         * buffer.C (makeLaTeXFile): Small fix.
14821
14822 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14823
14824         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14825
14826         * text2.C: add a using directive.
14827
14828 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14829
14830         * BufferView2.C:
14831         * lyx_gui_misc.h:
14832         * lyxfr1.C:
14833         * lyxfunc.C: kill LyXBell.
14834
14835 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14836
14837         * text.C (IsBoundary): Remove the error message
14838
14839         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14840
14841         * lyxrc.C (setDefaults): Correct initialization value for
14842         font_norm_type.
14843
14844 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14845
14846         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14847         gotoError().
14848
14849         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14850         and GotoNextNote().
14851
14852         * src/LyXAction.C: Added reference-next.
14853
14854         * text.C (InsertChar): Use contains instead of strchr.
14855
14856         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14857
14858 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14859
14860         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14861         alignment commands (when needed).
14862
14863         * text.C (InsertChar): Add ':' to number separator chars.