]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
andre's "brown paper bag" patch
[lyx.git] / src / ChangeLog
1
2 2004-03-19  André Pönitz  <poenitz@gmx.net>
3
4         * cursor.[Ch] (reset): take main text inset as argument
5
6         * BufferView: adjust
7         * BufferView_pimpl.C: adjust
8
9         * paragraph.[Ch]: fix completely broken operator=()
10
11
12 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13
14         * LColor.C (getFromLyXName): make sure that the color name is used
15         as lowercase.
16 2004-03-17  Angus Leeming  <leeming@lyx.org>
17
18         * lfuns.h:
19         * LyXAction.C (init): remove LFUN_FORKS_KILL.
20
21         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
22         dialog and to kill a forked process.
23
24 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
25
26         * text2.C (setCursorFromCoordinates): fix font problem
27
28 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
29
30         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
31         bogus "rebuild cursor" code
32
33 2004-03-11  André Pönitz  <poenitz@gmx.net>
34
35         * buffer.[Ch]: use InsetText instead of LyXText as container for 
36         the main lyx text.
37
38         * dociterator.[Ch]: drop the BufferView * member which is not needed
39         anymore after the change to buffer.C
40
41         * paragraph_funcs.C:
42         * text.C:
43         * text2.C:
44         * BufferView.[Ch]:
45         * BufferView_pimpl.[Ch]:
46         * cursor.[Ch]:
47         * cursor_slice.[Ch]: adjust
48
49         * text3.C: fix bug in mathDispatch
50
51 2004-03-08  André Pönitz  <poenitz@gmx.net>
52
53         * undo.[Ch]: use 'StableDocumentIterator' as base for
54         the Undo struct.
55
56 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
57
58         * LaTeXFeatures.C:
59         * bufferparams.[Ch]: add jurabib support and param.
60
61         * LaTeX.C: add FIXME/comment.
62
63 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
64
65         * buffer.C: increment file format to 230.
66
67 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
68
69         * cursor.C (dispatch): avoid infinite loops
70
71 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
72
73         * rowpainter.C (paintSelection): fix x coordinates
74
75 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
76
77         * text.C (rowBreakPoint): fix breaking before displayed insets
78
79 2004-03-01  André Pönitz  <poenitz@gmx.net>
80
81         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
82
83         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
84
85         * Makefile.am:
86         * BufferView.C:
87         * BufferView_pimpl.C:
88         * buffer.C:
89         * lyxfind.C:
90         * lyxfunc.C:
91         * text.C:
92         * text2.C:
93         * text3.C: adjust
94
95 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
96
97         * lyxtext.h:
98         * text.C:
99         * text2.C:
100         * rowpainter.C:
101         * BufferView_pimpl.C: rename textwidth -> maxwidth, 
102         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
103
104 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
105
106         * Bidi.[Ch] (computeTables): const correctness
107         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
108         fill_hfill, fill_label_hfill and x from Row
109         * lyxtext.h: prepareToPrint returns a RowMetrics
110         * rowPainter.C: adjust
111         * text.C (prepareToPrint): use width, not textWidth. adjust
112         (redoParagraphInternal, cursorX): adjust
113         * text2.C (getColumnNearX): adjust
114         (init): put a default value to the top LyXText::width
115
116 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
117
118         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here 
119
120 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
121
122         * lyxtext.h: add FontIterator class 
123
124         * text.C (FontIterator, operator*, operator->, operator++): add
125         (rowBreakPoint, setRowWidth): adjust (fixing a
126         rebreaking bug)
127
128 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
129
130         * BufferView_pimpl.C (workAreaDispatch): allow also
131         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
132
133 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
134
135         * text.C (rowBreakPoint): fix a bug showing with very large insets
136
137 2004-02-25  André Pönitz  <poenitz@gmx.net>
138
139         * text3.C:
140         * cursor.[Ch]: move some mathed specific code to mathed
141
142 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
143
144         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
145         use_tempdir in preferences
146         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
147         tempfile creation
148         * lyx_main.C: ensure that tempdir is valid
149         * lyxlex.h: correct typo
150         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
151         * paragraph.[Ch] (isMultiLingual): make const
152         * cursor.[Ch] (openable): make const
153
154 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
155
156         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
157
158 2004-02-20  André Pönitz  <poenitz@gmx.net>
159
160         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
161
162         * cursor.[Ch]: prepare for localized getStatus()
163
164         * lyxtext.h:
165         * tabular.C:
166         * text.C:
167         * text2.C:
168         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
169
170 2004-02-20  André Pönitz  <poenitz@gmx.net>
171
172         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
173
174 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
175
176         * text2.C (setCursorFromCoordinates): switch to absolute coords
177         (cursorUp): adjust
178         (cursorDown): adjust
179         * text3.C (dispatch): adjust
180
181 2004-02-16  André Pönitz  <poenitz@gmx.net>
182
183         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
184           insets/ChangeLog)
185
186         * cursor_slice.[Ch]: remove unneeded acessor function
187
188         * lyxtext.h: rename rtl() to isRTL()
189
190         * rowpainter.C:
191         * tabular.C:
192         * text.C:
193         * text2.C:
194         * text3.C: adjust
195
196 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
197
198         * rowpainter.C (paintSelection): coord fix
199
200 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
201
202         * Spacing.C: compile fix
203
204 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
205
206         * cursor.C (dispatch): restore current_ before returning
207
208 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
209
210         * text2.C (cursorUp, cursorDown): fix coords
211         (moveUp): fix crash
212
213 2004-02-12  André Pönitz  <poenitz@gmx.net>
214
215         * lyxtext.h:
216         * text.C:
217         * text2.C:
218         * text3.C: add LCursor & parameter to most cursor movement functions
219           remove usage of LyXText::cursorRow() and cursorPar()
220
221         * cursor.[Ch]: add textRow() needed members
222
223         * BufferView.C:
224         * BufferView_pimpl.C:
225         * paragraph.[Ch]:
226         * BufferView.C:
227         * BufferView_pimpl.C: adjust
228
229 2004-02-11  André Pönitz  <poenitz@gmx.net>
230
231         * lyxfunc.C:
232         * BufferView.[Ch]:
233         * BufferView_pimpl.C: shift undo/redo handling
234
235         * cursor.[Ch]: fix mathed crash
236
237         * lyxfind.C:
238         * lyxtext.h: move selectionAsText to LCursor
239
240         * output_latex.C:
241         * paragraph.C:
242         * text.C:
243         * text2.C:
244         * text3.C: adjust
245
246         * rowpainter.C: fix excessive drawing
247
248 2004-02-06  André Pönitz  <poenitz@gmx.net>
249
250         * BufferView.[Ch]:
251         * BufferView_pimpl.[Ch]:
252         * text3.C: move some text specific LFUN handling
253
254 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
255
256         * text3.C (checkInsetHit): adjust coords
257         * text2.C (getColumnNearX): adjust coords
258         (edit): adjust coords
259         * text.C (getRowNearY): add two asserts
260
261 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
262
263         * converter.C:
264         * format.C: add using std::distance to compile on gcc 2.95/stlport
265
266 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
267
268         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
269
270 2004-02-04  André Pönitz  <poenitz@gmx.net>
271
272         * BufferView.[Ch] (insertInset):
273         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value 
274
275         * text2.C:
276         * text3.C: adjust
277
278 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
279
280         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch 
281         on the default clause of the switch
282         * lyxfunc.C (dispatch): call BufferView::dispatch if the event 
283         wasn't catched by LCursor::dispatch
284
285 2004-02-03  André Pönitz  <poenitz@gmx.net>
286
287         * BufferView.C:
288         * cursor.[Ch]: some additional asserts
289
290         * undo.[Ch]: remove LyXText dependency in interface
291
292         * lyxfunc.C: adjust
293
294         * lyxtext.h (firstPar, lastPar): remove dead functions 
295
296         * text.C:
297         * text2.C:
298         * text3.C:
299         * paragraph.[Ch]: adjust
300
301 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
302
303         * lyxfind.C (find): fix argument order in call to ::find
304
305 2004-02-02  André Pönitz  <poenitz@gmx.net>
306
307         * cursor.[Ch]: remove direct access to anchor
308
309         * text.C: remove findText() hack
310
311 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
312
313         * iterators.[Ch] (lockPath): remove in favour of...
314         * BufferView.[Ch] (setCursor): this addition
315         * BufferView.C (putSelectionAt): adjust
316         * undo.C (performUndoOrRedo): adjust
317         * lyxfunc.C (dispatch): adjust
318
319 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
320
321         * iterators.C (lockPath): add a missing slice
322         * undo.C (performUndoOrRedo): remove redundant positioning code
323
324 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
325
326         * vc-backend.C (scanMaster): ";" -> ';'
327
328 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
329
330         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
331         std::binary_function
332
333         * lyxtextclass.C (compare_name): rename to...
334         (LayoutNamesEqual): ...this
335
336         * lyxlex_pimpl.C (compare_tags): inherit from
337         std::binary_function, put back into anon namespace
338
339         * lyxfind.C (MatchString): inherig from std::binary_function
340         (findChange): use empty() istead of !size()
341
342         * format.C (FormatNamesEqual): new functor
343         (getFormat): use it
344         (getNumber): use it
345         (add): use it
346         (erase): use it
347         (setViewer): use it
348
349         * converter.C (compare_Converter): rename to...
350         (ConverterEqual): ...this, and fixup a bit.
351         (getConverter): use it, and make function const
352         (getNumber): use it, and make function const
353         (add): use it
354         (erase): use it:
355
356         * bufferlist.C: add using boost::bind
357
358         * MenuBackend.C (MenuNamesEqual): new functor
359         (hasMenu): use it, and make function const
360         (hasSubmenu): use nested bind to get rid of compare_memfun.
361
362 2004-01-30  André Pönitz  <poenitz@gmx.net>
363
364         * BufferView_pimpl.C:
365         * cursor.C:
366         * cursor.h:
367         * cursor_slice.[Ch]:
368         * lyxfunc.C:
369         * lyxtext.h:
370         * paragraph_funcs.C:
371         * paragraph_funcs.h:
372         * rowpainter.C:
373         * text.C:
374         * text2.C:
375         * text3.C: move some of the edit(x,y) handling to the insets
376         some coordinate changes.
377
378 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
379
380         * text.C: add using statements for std::advance and std::distance
381
382         * paragraph.C: add using statement for std::distance
383
384         * lyxfind.C: add using statement for std::advance
385
386         * cursor.C (region): remove std:: from swap
387         (openable): use nucleus in stead of operator->
388
389         * BufferView.C: add using statements for std::distance and std::swap
390
391 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
392
393         * iterators.C: Remove the pimple, move the needed structures to
394         the header file. Create accessor for the positions stack.
395         (asPosIterator): remove function
396
397         * PosIterator.C (PosIterator): move constructors to top of file
398         (PosIterator): reimplement the constructor taking a ParIterator in
399         terms of setFrom.
400         (setFrom): new function
401         (operator!=): inline it
402
403 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
404
405         * lyxfind.C (replaceAll): use std::advance
406
407         * iterators.h: inherit from std::iterator.
408
409         * PosIterator.C (advance, distance): remove
410         * PosIterator.h: interit from std::iterator.
411
412 2004-01-26  André Pönitz  <poenitz@gmx.net>
413
414         * BufferView.[Ch]:
415         * BufferView_pimpl.[Ch]:
416         * InsetList.[Ch]:
417         * PosIterator.[Ch]:
418         * buffer.h:
419         * bufferview_funcs.C:
420         * cursor.[Ch]:
421         * cursor_slice.h:
422         * factory.[Ch]:
423         * iterators.[Ch]:
424         * lyxfind.C:
425         * lyxfunc.C:
426         * lyxtext.h:
427         * output_docbook.C:
428         * output_latex.C:
429         * output_linuxdoc.C:
430         * output_plaintext.C:
431         * paragraph.[Ch]:
432         * paragraph_funcs.[Ch]:
433         * paragraph_pimpl.[Ch]:
434         * rowpainter.C:
435         * tabular.C:
436         * tabular.h:
437         * text.C:
438         * text2.C:
439         * text3.C: more IU:  dumps most of the rest of the mathcursor
440     implementation into cursor.[Ch]; "globalize" a bit of it.
441
442 2004-01-25  Angus Leeming  <leeming@lyx.org>
443
444         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
445
446 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
447
448         * LaTeXFeatures.h: add nice_ and nice() const
449         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
450
451 2004-01-20  André Pönitz  <poenitz@gmx.net>
452
453         * BufferView.[Ch]:
454         * BufferView_pimpl.C:
455         * PosIterator.C:
456         * bufferview_funcs.C:
457         * cursor.[Ch]:
458         * cursor_slice.[Ch]:
459         * factory.C:
460         * iterators.C:
461         * lyx_cb.C:
462         * lyxfind.C:
463         * lyxfunc.C:
464         * lyxtext.h:
465         * rowpainter.C:
466         * text.C:
467         * text2.C:
468         * text3.C:
469         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
470           LCursor and mathcursor parts to LCursor and InsetBase.
471
472 2004-01-15  André Pönitz  <poenitz@gmx.net>
473
474         * cursor_slice.[Ch]: add a few covienience functions
475
476         * funcrequest.[Ch]: remove BufferView * member
477
478         * BufferView_pimpl.C:
479         * cursor.C:
480         * factory.[Ch]:
481         * lyxfind.[Ch]:
482         * lyxfunc.C:
483         * lyxtext.h:
484         * text3.C:
485         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
486
487 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
488
489         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
490         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
491
492 2004-01-13  André Pönitz  <poenitz@gmx.net>
493
494         * textcursor.[Ch]:
495         * lyxtext.h: hide cursor and selection anchor behind accessor function
496
497         * BufferView.C:
498         * BufferView_pimpl.[Ch]:
499         * PosIterator.C:
500         * bufferview_funcs.C:
501         * cursor.h:
502         * lyxfind.C:
503         * lyxfunc.C:
504         * text.C:
505         * text2.C:
506         * text3.C:
507         * undo.C: adjust
508
509         * cursor.h:
510         * cursor_slice.[Ch]: some integer type changes for inset unification
511
512         * lyxcursor.[hC]: remove, it's CursorSlice now.
513
514         * Makefile.am:
515         * BufferView_pimpl.[Ch]:
516         * bufferview_funcs.C:
517         * cursor_slice.C:
518         * lyxtext.h:
519         * text.C:
520         * text2.C:
521         * text3.C:
522         * textcursor.[Ch]: adjust
523
524 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
525
526         * text2.C (undoSpan): add and use
527         * text.C (breakParagraph): use undoSpan (fix bug 578)
528         * lyxtext.h: adjust
529
530 2004-01-08  Angus Leeming  <leeming@lyx.org>
531
532         * BufferView_pimpl.C (MenuInsertLyXFile):
533         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
534         * lyxfunc.C (menuNew, open, doImport):
535         FileFilterList change to the FileDialog open and save functions.
536
537 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
538
539         * ShareContainer.h: make isEqual and isUnique adaptable
540
541         * CutAndPaste.C: make resetOwnerAndChanges adaptable
542
543 2004-01-07  Angus Leeming  <leeming@lyx.org>
544
545         * LyXAction.C:
546         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
547
548         * BufferView_pimpl.C (dispatch): act on these LFUNs.
549
550         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
551         functions replacing find, replace and replaceAll.
552
553         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
554         LFUN_WORDFIND(FORWARD|BACKWARD).
555
556 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
557
558         * text.C (breakParagraph): remove an outdated #warning
559
560 2004-01-07  André Pönitz  <poenitz@gmx.net>
561
562         * lyxfind.C: somewhat clearer logic
563
564         * text.C: prevent crash in cursorX on unitialized row cache
565
566 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
567
568         * lyxcursor.[Ch] (operator>): add
569         * textcursor.C (selStart, selEnd): use std::min and std::max
570
571 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
572
573         * Chktex.C: include boost/format.hpp
574
575 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
576
577         * InsetList.C: replace functor MathcIt with adaptable functor
578         InsetTablePosLess
579         (insetIterator): modify accordingly
580
581         * BranchList.h: move the BranchNamesEqual functor here from...
582         * BranchList.C: ... to here
583
584         * BranchList.C: new BranchListEqual fuctor, use it. Remove
585         SameName and match.
586         (add): replace a finding loop with std::find_if.
587
588 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
589
590         * output_docbook.C: moving LatexParam functionality into
591         .layout files
592
593 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
594
595         * buffer.C: increment format to 229.
596
597 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
598
599         * LaTeXFeatures.C:
600         * lyx_sty.[Ch]: remove minipageindent_def
601
602         * LyXAction.C:
603         * factory.C:
604         * lfuns.h:
605         * lyxfunc.C:
606         * text3.C: remove LFUN_INSET_MINIPAGE
607
608 2003-12-28  Angus Leeming  <leeming@lyx.org>
609
610         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
611
612 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
613
614         * text2.C (setParagraph): fix off-by-one crash
615
616 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
617
618         * output_docbook.C: header stuff for AGU
619
620 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
621
622         * text2.C (redoCursor): remove
623         * text.C:
624         * text3.C:
625         * BufferView_pimpl.C: remove calls to redoCursor and
626         setCursor(cursor.par(), cursor.pos()) all around
627
628 2003-12-15  Angus Leeming  <leeming@lyx.org>
629
630         * buffer.C: up the format to 228.
631
632 2003-12-15  André Pönitz  <poenitz@gmx.net>
633
634         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
635         slices
636
637         * Makefile.am:
638
639         * BufferView_pimpl.C:
640         * cursor.[Ch]:
641         * lyxcursor.[Ch]:
642         * rowpainter.[Ch]:
643         * lyxtext.h:
644         * text.C:
645         * text2.C:
646         * text3.C: adjust
647
648 2003-12-15  Angus Leeming  <leeming@lyx.org>
649
650         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
651         than getFromGUIName to manipulate the color.
652
653 2003-12-14  Angus Leeming  <leeming@lyx.org>
654
655         * BranchList.[Ch]: minimize the API.
656         (Branch::getBranch, getColor): now return a 'const &'.
657         (Branch::setSelected) now returns a bool set to true if the
658         selection status changes.
659         (BranchList::clear, size, getColor, setColor, setSelected,
660         allBranches, allSelected, separator): removed.
661         (BranchList::find): new functions, returning the Branch with
662         the given name.
663         (BranchList::add, remove): return a bool indicating that
664         the operation was successful.
665
666         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
667         new InsetBranch::isBranchSlected member function.
668
669         * LColor.[Ch]: mimimize the API.
670         (fill): renamed as addColor and made private.
671         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
672         versions of these functions taking a string arg have been removed.
673
674         * bufferparams.C (readToken):
675         * lyxfunc.C (dispatch):
676         * lyxrc.C (read): changes due to the altered BranchList and
677         LColor APIs.
678
679         * factory.C (createInset, readInset): changes due to altered
680         InsetBranch c-tor.
681
682 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
683
684         * factory.C:
685         * lyxfunc.C: remove insetminipage. "minipage-insert"
686         now produces a frameless minipage box inset.
687
688 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
689
690         * textcursor.[Ch] (selStart,selEnd): add new methods
691         remove selection::start, end, use LyXCursor::operator<
692         * lyxcursor.[Ch] (operator<): add
693         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
694         * BufferView.[Ch] (unsetXSel): add
695         * text2.C (clearSelection): use unsetXSel,adjust
696         * text.C: adjust
697         * text3.C: adjust
698         * rowpainter.C: adjust
699         * bufferview_funcs.C (put_selection_at): adjust
700
701 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
702
703         * BufferView_pimpl.C: small coord. correction
704
705 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
706
707         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
708         dragging over the splash screen.
709
710 2003-12-11  Angus Leeming  <leeming@lyx.org>
711
712         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
713         as it is now handled in LyXText::dispatch.
714
715         * text3.C (doInsertInset): remove a level of nesting.
716
717 2003-12-11  Angus Leeming  <leeming@lyx.org>
718
719         * factory.C (createInset): changes due to the changed interface to
720         InsetCommandMailer::string2params.
721
722 2003-12-10  Angus Leeming  <leeming@lyx.org>
723
724         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
725         'dialog-show-new-inset <inset name>'
726
727 2003-12-10  Angus Leeming  <leeming@lyx.org>
728
729         * buffer.C: up the format to 227.
730
731         * factory.C: the box inset is now identified simply by 'Box'.
732
733 2003-12-10  Angus Leeming  <leeming@lyx.org>
734
735         * buffer.C: up the format to 226.
736
737         * factory.C: the note inset is now identified simply by 'Note'.
738
739 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
740
741         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
742         when a pit is enough. Standarize a couple of loops.
743
744 2003-12-05  Angus Leeming  <leeming@lyx.org>
745
746         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
747         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
748         data to the re-worked "log" dialog.
749
750 2003-12-03  André Pönitz  <poenitz@gmx.net>
751
752         * PosIterator.C:
753         * iterators.C:
754         * lyxtext.h:
755         * output_latex.C:
756         * paragraph_funcs.C:
757         * text.C:
758         * text2.C: use Inset::getText instead of Inset::getParagraph
759
760 2003-12-03  André Pönitz  <poenitz@gmx.net>
761
762         * buffer.[Ch]:
763         * lyxtext.h:
764         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
765         InsetText::read() as LyXText::read()
766
767 2003-12-02  Angus Leeming  <leeming@lyx.org>
768
769         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
770         type. Add a comment in the implementation that the function uses
771         the stream's bad() function rather than fail() as the std::streams
772         would do.
773
774 2003-12-02  André Pönitz  <poenitz@gmx.net>
775
776         * lyxlex.[Ch]: make interface more similar to std::stream
777
778         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
779
780 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
781
782         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
783
784 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
785
786         * vspace.[Ch]: remove VSpace::NONE
787
788 2003-12-01  André Pönitz  <poenitz@gmx.net>
789
790         * buffer.[Ch]:
791         * lyxtext.h: move ParagraphList member to LyXText
792         rename LyXText::ownerParagraphs to LyXText::paragraph
793
794         * CutAndPaste.C:
795         * bufferview_funcs.C:
796         * iterators.[Ch]:
797         * lyx_cb.C:
798         * paragraph.C:
799         * rowpainter.C:
800         * tabular.C:
801         * text.C:
802         * text2.C:
803         * text3.C: adjust
804
805         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
806
807         * undo.C: fix cursor positioning
808
809 2003-12-01  John Levon  <levon@movementarian.org>
810
811         * BufferView_pimpl.C: fix a crash on exit with
812         a buffer open
813
814 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
815
816         * BranchList.C: fix setSelected() method.
817
818 2003-11-28  André Pönitz  <poenitz@gmx.net>
819
820         * ParagraphParameters.[Ch]:
821         * ParameterStruct.h: remove space above/below from Paragraph to
822          InsetVSpace
823
824         * BufferView_pimpl.C:
825         * factory.C:
826         * lyxfunc.C:
827         * lyxtext.h:
828         * output_latex.C:
829         * paragraph.C:
830         * paragraph_funcs.C:
831         * rowpainter.[Ch]:
832         * text.C:
833         * text2.C:
834         * text3.C: adjust
835
836 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
837
838         * factory.C: Syntax change for CharStyles
839
840 2003-11-28  André Pönitz  <poenitz@gmx.net>
841
842         * BufferView.[Ch]:
843         * BufferView.[Ch]:
844         * buffer.[Ch]:
845         * buffer.[Ch]: move LyXText member
846
847 2003-11-28  André Pönitz  <poenitz@gmx.net>
848
849         * BufferView.[Ch]: make LyXText * text a private member
850
851         * BufferView_pimpl.C:
852         * cursor.C:
853         * iterators.C:
854         * lyx_cb.C:
855         * lyxfind.C:
856         * lyxtext.h:
857         * rowpainter.[Ch]:
858         * text.C:
859         * text2.C:
860         * undo.C: adjust
861
862         * output_plaintext.C: cleanup
863
864 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
865
866         * buffer.C:
867         * lyxtextclass.[Ch]: parametrize SGML document header
868
869 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
870
871         * converter.[Ch]:
872         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
873         getFlavor().
874
875 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
876
877         * text2.C (setFont): rework using PosIterator (no more recursive)
878         (setCharFont): no more needed
879         (setLayout): no more selection cursors fiddling (done by redoCursor)
880         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
881         destroy remaining ones)
882
883 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
884
885         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
886         * lyxtext.h: ditto
887         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
888         selection cursors
889         * lyxfunc.C: adjust
890         * text3.C: adjust + re-allow multi par depth changes
891         * textcursor.C: simplify a bit
892
893 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
894
895         * src/buffer.C:
896         * src/lyxlayout.C:
897         * src/lyxlayout.h:
898         * src/lyxtext.h:
899         * src/output_docbook.C:
900         * src/output_latex.C:
901         * src/paragraph.C:
902         * src/paragraph.h:
903         * src/sgml.C:
904         * src/sgml.h:
905         * src/text2.C: Introducing a number of tags parametrizing various
906         XML formats that we may want to support
907
908 2003-11-25  André Pönitz  <poenitz@gmx.net>
909
910         * InsetList.[Ch] (begein, end): inline as suggested by profiler
911
912         * lyxtext.h (leftMargin/rightMargin): simplify interface
913
914         * rowpainter.C:
915         * text.C:
916         * text2.C:
917         * text3.C: adjust
918
919 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
920
921         * lyxfunc.C (dispatch): propogate the bibtex databases from the
922         master file to any child files. Fixes bug 546.
923
924 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
925
926         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
927
928 2003-11-24  André Pönitz  <poenitz@gmx.net>
929
930         * rowpainter.C: simplification
931
932         * text2.C (updateCounters): remove call to redoParagraph on
933         changed labels as this is far too expensive.
934
935 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
936
937         * converter.C (convert): fix a crash: this function gets
938         called with buffer == 0 from importer code.
939
940 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
941
942         * text3.C (cursorPrevious): make sure that we do not compare
943         iterators form different containers.
944         (cursorNext): ditto
945
946         * rowpainter.C (paintSelection): make sure that we do not compare
947         iterators from different containers.
948
949         * text3.C (dispatch): [PRIOR] make sure that we do not compare
950         iterators from different ParagraphList containers.
951         [NEXT] ditto
952
953         * text2.C (LyXText): change order of initialization slightly
954         (operator=): new function. copy all variables except cache_par_
955         (moveUp): make sure that we do not compare iterators from
956         different ParagraphList constainers.
957         (moveDown): ditto
958
959         * text.C (firstPar): new function
960         (lastPar): new function
961         (endPar): new function
962
963         * lyxtext.h: move things around and group public functions, public
964         variables, private functions, private variables
965
966 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
967
968         * factory.C: change call to InsetERT constructor to avoid
969         additional invocation of method status
970         * text2.C (toggleInset): remove redundant update() call
971         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
972         instead of a Bufferview pointer
973
974 2003-11-21  André Pönitz  <poenitz@gmx.net>
975
976         * rowpainter.C: simplification
977
978 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
979
980         * text3.C (dispatch): make possible to extend a word/row selection
981         with the mouse
982
983 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
984
985         * lyxtext.h: x0_,y0_ -> xo_,yo_
986         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
987         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
988         * rowpainter.C (paintRows): paint full paragraphs
989
990 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
991
992         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
993         screen coordinates)
994
995 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
996
997         * lyxtext.h: add x0_, y0_
998         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
999         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1000
1001 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
1002
1003         * text2.C (setCursorIntern): move the x_target update here *
1004         * text3.C: change some bv() to true/false in calls to
1005         cursorUp/Down/Right/Left
1006         * cursor.C: use helper function.
1007
1008 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1009
1010         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1011         * paragraph_funcs.[Ch]: correct comment
1012         * rowpainter.C: do not paint selections away from bv->cursor()
1013         Fix a long standing selection painting bug.
1014         * text3.C: generalize mouse-selection code to LyXTexts other that
1015         top one
1016         * textcursor.C: do not use y coords if we can use par offsets
1017
1018 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1019
1020         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1021         cursor position after e.g. inset insert)
1022
1023 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
1024
1025         * lyxfind.C (replace): adjust to locking removal + some
1026         code simplification
1027
1028 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
1029
1030         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1031         of the path
1032
1033 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
1034
1035         * lyxlayout.[Ch]:
1036         * output_docbook.C: XML sanitation: new layout
1037         parameters InnerTag and CommandDepth
1038
1039 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
1040
1041         * BufferView_pimpl.C:
1042         * factory.C:
1043         * text3.C: Fix the insertion and modification of button-style
1044         insets
1045
1046 2003-11-13  André Pönitz  <poenitz@gmx.net>
1047
1048         * InsetList.[Ch]: remove deleteLyXText
1049
1050         * paragraph.[Ch]: cache beginOfBody position
1051
1052         * Bidi.C:
1053         * text.C:
1054         * text2.C:
1055         * text3.C: remove superfluous update() calls
1056
1057         * vspace.C: cleanup
1058
1059 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
1060
1061         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1062         * BufferView.C (fitLockedInsetCursor): remove
1063         * cursor.[Ch] (getDim): add
1064         * text.C (getRowNearY): add faster version
1065         * text3.C: remove some update calls
1066
1067 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
1068
1069         * LaTeXFeatures.C:
1070         * LyXAction.C:
1071         * MenuBackend.C:
1072         * MenuBackend.h:
1073         * dispatchresult.h:
1074         * factory.C:
1075         * lfuns.h:
1076         * lyxfunc.C:
1077         * lyxtextclass.C:
1078         * lyxtextclass.h:
1079         * text3.C: The Character Style /XML short element patch.
1080
1081 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
1082
1083         * text3.C:
1084         * factory.C: Small step to solving 'unable to insert some insets'
1085         problem
1086
1087 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1088
1089         * cursor.[Ch] (updatePos): new function for updating the y
1090         position of the tip inset
1091         * bufferview_funcs.C (put_selection_at):
1092         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1093
1094 2003-11-11  André Pönitz  <poenitz@gmx.net>
1095
1096         * text.C: remove big comment on invalid Paragraph pointers as it is
1097         not valid anymore
1098
1099 2003-11-11  André Pönitz  <poenitz@gmx.net>
1100
1101         * text_funcs.[Ch]: merge with ...
1102
1103         * text.C: ... this
1104
1105         * lyxtext.h:
1106         * text2.C:
1107         * text3.C: adjust
1108
1109         * Makefile.am: remove text_funcs.[Ch]
1110
1111 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
1112
1113         * cursor.C (getPos): return absolute cached y coord
1114
1115         * BufferView_pimpl.C (fitCursor): new simplistic code
1116         (workAreaDispatch): add a fitCursor call
1117
1118 2003-11-10  André Pönitz  <poenitz@gmx.net>
1119
1120         * BufferView.[Ch]:
1121         * BufferView_pimpl.[Ch]: merge update() and updateInset()
1122
1123 2003-11-10  André Pönitz  <poenitz@gmx.net>
1124
1125         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1126         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1127         indicate that the cursor needs to leave an inset
1128
1129         * lyxtext.h: remove inset locking
1130
1131         * cursor.[Ch]: re-implement functionality provided by inset locking
1132
1133         * BufferView.[Ch]:
1134         * BufferView_pimpl.[Ch]:
1135         * LyXAction.C:
1136         * bufferview_funcs.[Ch]:
1137         * factory.C:
1138         * funcrequest.[Ch]:
1139         * iterators.C:
1140         * lyx_cb.C:
1141         * lyxfind.C:
1142         * lyxfunc.C:
1143         * text.C:
1144         * text2.C:
1145         * text3.C:
1146         * undo.C: adjust
1147
1148 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
1149
1150         * PosIterator.[Ch]: replace the stack with a vector, add inset
1151         accesor
1152         * iterators.[C]: adjust
1153
1154 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1155
1156         * lyxfind.C (replaceAll): mark the buffer dirty if something was
1157         replaced
1158         * paragraph_funcs.C (readParToken): put the correct id in the
1159         error item, not the id of the top paragraph
1160
1161 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1162
1163         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1164         * bufferview_funcs.C (put_selection_at): use the above
1165
1166 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1167
1168         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1169
1170 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1171
1172         * output_linuxdoc.h:
1173         * output_plaintext.h:
1174         * output.h:
1175         * output_docbook.h: add #include statements
1176
1177 2003-11-05  José Matos  <jamatos@lyx.org>
1178
1179         * output_docbook.[Ch]:
1180         * output_latex.[Ch]:
1181         * output_linuxdoc.[Ch]:
1182         * output_plaintext.[Ch]: New files for output formats.
1183         * output.[Ch]: New file for helper functions.
1184
1185         * buffer.[Ch]:
1186         * paragraph_funcs.[Ch]: output functions moved to new files.
1187
1188         * outputparams.h: rename of latexrunparams.h
1189
1190         * LaTeX.[Ch]:
1191         * buffer.[Ch]:
1192         * bufferlist.[Ch]:
1193         * converter.[Ch]:
1194         * exporter.C:
1195         * paragraph.[Ch]:
1196         * paragraph_funcs.[Ch]:
1197         * paragraph_pimpl.[Ch]:
1198         * tabular.[Ch]: rename ascii to plaintext
1199         and LatexRunParams to OutputParams.
1200
1201 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1202
1203         * iterators.[Ch] (text): require bv argument
1204         * undo.C (recordUndo):
1205         * lyxfunc.C (dispatch):
1206         * bufferview_funcs.C (put_selection_at): adjust
1207
1208 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
1209
1210         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1211
1212 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1213
1214         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1215         nestings
1216
1217 2003-11-04  André Pönitz  <poenitz@gmx.net>
1218
1219         * cursor.[Ch]: restructure
1220
1221         * BufferView.[Ch]:
1222         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1223
1224         * iterators.[Ch] (asCursor): remove
1225
1226         * lfuns.h: remove LFUN_INSET_EDIT
1227
1228         * lyxfunc.C:
1229         * tabular.C:
1230         * text.C:
1231         * text2.C:
1232         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1233
1234 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1235
1236         * lyxfind.[Ch]: complete overhaul
1237         * BufferView_pimpl.C:
1238         * lyxfunc.C: adjust
1239         * paragraph.[Ch] (insert): add
1240
1241 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1242
1243         * BufferView.[Ch]:
1244         * lyxtext.h:
1245         * text.C: remove dead spellcheck code
1246
1247 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1248
1249         * dispatchresult.h: add a val setter
1250
1251         * cursor.C (dispatch): use a tempvar for data_[i]
1252
1253 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1254
1255         * PosIterator.[Ch]: compile fix
1256
1257 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1258
1259         * text.C (cursorPar): deactivate the cursor cache
1260
1261 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1262
1263         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1264
1265 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1266
1267         * text3.C (dispatch): adjust for new DisptchResult semantics.
1268
1269         * lyxfunc.C (dispatch): handle update when return from
1270         Cursor::dispatch, adjust for new DispatchResult semantics.
1271
1272         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1273         DispatchResult(true) mean to not update. Add class functions for
1274         setting dispatched and update, as well as reading.
1275
1276         * cursor.C (dispatch): don't handle update here
1277
1278 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1279
1280         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1281         * trans_mgr.C: adjust
1282
1283         * paragraph_funcs.C (readParToken): exception safety
1284
1285         * lyxvc.h: store the vcs pointer in a scoped_ptr
1286         * lyxvc.C: adjust
1287
1288         * lyxsocket.C (serverCallback): exception safety
1289
1290         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1291
1292         * ispell.C (clone): make it return a auto_ptr
1293
1294         * factory.C (createInset): exception safety
1295         (readInset): exception safety
1296
1297         * bufferlist.C (newBuffer): exception safety
1298
1299         * Thesaurus.C (Thesaurus): use initialization for aik_
1300
1301         * MenuBackend.C (expandToc): exception safety.
1302
1303 2003-11-03  André Pönitz  <poenitz@gmx.net>
1304
1305         * buffer.C:
1306         * buffer.h:
1307         * bufferview_funcs.C: remove getInsetFromId()
1308
1309         * lyxcursor.[Ch]:
1310         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1311
1312         * lyxfunc.C:
1313         * text2.C:
1314         * text3.C: adjust
1315
1316 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1317
1318         * PosIterator.C (distance, advance): new
1319         * bufferview_funcs.[Ch] (put_selection_at): new
1320         * iterators.[Ch] (lockPath): new
1321
1322 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
1323
1324         * iterators.[Ch] (asPosIterator): added
1325         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1326         * PosIterator.[Ch]: added
1327
1328 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1329
1330         * text3.C:
1331         * lyxfunc.C:
1332         * cursor.C (dispatch):
1333         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1334
1335         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1336         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1337         contructor, add a class function dispatched. Remove operator>=
1338
1339 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1340
1341         * debug.C: only use the default constructor for debugstream
1342         (lyxerr) here.
1343
1344         * main.C (main): include debug.h and setup the lyxerr streambuf
1345         here.
1346
1347 2003-10-31  José Matos  <jamatos@lyx.org>
1348
1349         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1350
1351         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1352         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1353         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1354         * paragraph_pimpl.C (simpleTeXSpecialC):
1355         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1356         add LatexRunParams argument.
1357
1358         * exporter.C (Export): change call accordingly.
1359
1360         * latexrunparams.h: add new member to take care of the other backends.
1361 2003-10-30  José Matos  <jamatos@lyx.org>
1362
1363         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1364         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1365         factorise code for paragraph output.
1366         * buffer.[Ch]:
1367         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1368         move functions.
1369
1370 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1371
1372         * text3.C (dispatch):
1373         * lyxfunc.C (dispatch):
1374         * cursor.C (dispatch):
1375         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1376
1377         * dispatchresult.h: make the dispatch_result_t ctor explicit
1378
1379 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
1380
1381         * sgml.[Ch]:
1382         * buffer.C: small refactoring of docbook stuff
1383
1384 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1385
1386         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1387         meaning.
1388
1389 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1390
1391         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1392         operator dispatch_result_t, and operators for == != and >=
1393
1394         * cursor.C (dispatch): adjust for operator dispatch_result_t
1395         removal. comment out call to update
1396
1397         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1398
1399 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1400
1401         * text3.C:
1402         * text2.C:
1403         * text.C:
1404         * lyxtext.h:
1405         * lyxfunc.C:
1406         * cursor.C:
1407         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1408         (dispatch):
1409
1410         * dispatchresult.h: new file, DispatchResult broken out of
1411         insets/insetbase.h
1412
1413         * Makefile.am (lyx_SOURCES): add dispatchresult.h
1414
1415 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1416
1417         * text.C (rowBreakPoint): put a hack inside #if 0
1418
1419 2003-10-28  André Pönitz  <poenitz@gmx.net>
1420
1421         * lyxtext.h:
1422         * metricsinfo.C:
1423         * paragraph_funcs.C:
1424         * rowpainter.C:
1425         * text.C:
1426         * text2.C: general cleanup (lots of small stuff)
1427
1428 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1429
1430         * text2.C (cursorEnd): simple fix to the "end key goes to one
1431         before the end on last row" bug
1432
1433 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1434
1435         * text.C (backspace): fix the "zombie characters"
1436
1437 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1438
1439         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1440
1441 2003-10-27  André Pönitz  <poenitz@gmx.net>
1442
1443         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1444
1445         * factory.C: handle new InsetPagebreak, InsetLine
1446
1447         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1448         and move handling into new InsetPagebreak, InsetLine
1449
1450         * BufferView_pimpl.C:
1451         * LyXAction.C:
1452         * ParagraphParameters.C:
1453         * ParameterStruct.h:
1454         * lyxfunc.C:
1455         * lyxtext.h:
1456         * paragraph.C:
1457         * paragraph.h:
1458         * paragraph_funcs.C:
1459         * paragraph_pimpl.C:
1460         * rowpainter.C:
1461         * text.C:
1462         * text2.C:
1463         * text3.C: adjust
1464
1465 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1466
1467         * text.C:
1468         * lyxrow_funcs.[Ch]:
1469         * Bidi.C:
1470         * paragraph.C:
1471         * lyxtext.h:
1472         * rowpainter.C:
1473         * text2.C:
1474         * text3.C: remove lastPos uses in favour of Row::endpos
1475
1476 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1477
1478         * undo.C (performUndoOrRedo): fix two crashes by setting a
1479         cursor by hand and reordering some calls. Use bv->lockInset instead
1480         of inset->edit because the latter loses cursor information
1481
1482 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
1483
1484         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1485         by Martin
1486         (rowBreakPoint): fix width. change point to point + 1.
1487         Add a missing check.
1488
1489 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
1490
1491         * MenuBackend.C:
1492         * lyxfunc.C: fix (at least partly) the problems
1493         with the Nav menu and headers inside branch insets
1494         reported by Kayvan
1495
1496 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
1497
1498         * paragraph.C (getChar): add strong asserts
1499
1500         * lyxrow_funcs.C (lastPos): remove hideous hack
1501
1502         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1503         (fill): adjust to that (avoid an infinite loop)
1504
1505 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1506
1507         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1508
1509 2003-10-23  André Pönitz  <poenitz@gmx.net>
1510
1511         * RowList_fwd.h: change list<> to vector<> to gain speed
1512         after suggestion from Alfredo
1513
1514 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1515
1516         * lyxtext.h: move the bidi stuff from here...
1517         * text.C: and here
1518         * text2.C: and here
1519         * Bidi.[Ch]: ... to here
1520
1521 2003-10-23  André Pönitz  <poenitz@gmx.net>
1522
1523         * lyxtext.h:
1524         * text.C (isLastRow, isFirstRow): new functions
1525
1526         * paragraph.h: new width cache member
1527
1528         * rowpainter.C: replace RowList::iterator with Row & where possible
1529
1530         * lyxfunc.C: replace several view()->text with a single call
1531
1532         * toc.C: fix 'unused' warning
1533
1534 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1535
1536         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1537         when woring with stream::pos_type
1538         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1539
1540 2003-10-22  André Pönitz  <poenitz@gmx.net>
1541
1542         * lyxtext.h:
1543         * text.C: use Row & instead of RowList::iterator
1544
1545         * lyxrow.h: rename end() to endpos()
1546
1547         * rowpainter.C:
1548         * text.C:
1549         * text2.C: adjust
1550
1551 2003-10-22  Angus Leeming  <leeming@lyx.org>
1552
1553         * buffer.[Ch] (fully_loaded): new member function, returning true
1554         only when the file has been loaded fully.
1555         Used to prevent the premature generation of previews and by the
1556         citation inset to prevent computation of the natbib-style label.
1557
1558         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1559         templates are all set up.
1560
1561         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1562
1563 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
1564
1565         * text.C: fixed an "oops" in the "is a bit silly"
1566         bug fix
1567
1568 2003-10-21  André Pönitz  <poenitz@gmx.net>
1569
1570         * FuncStatus.[Ch]: small stuff, whitespace
1571
1572         * lyxfont.[Ch]: operator<<() for debug reasons
1573
1574         * lyxfunc.C:
1575         * lyxrow_funcs.C:
1576         * lyxtext.h: whitespace, spelling
1577
1578         * paragraph.C: naming of variables
1579
1580         * text.C:
1581         * text2.C: small stuff
1582
1583
1584 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
1585
1586         * text.C: (1) finish off the inset display() work;
1587         (2) fix the "is a bit silly" bug (accessing char
1588         past end of par).
1589
1590 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
1591
1592         * text.C: re-introduce display() for insets, fixing the
1593         various bugs (stretch of line above, math inset
1594         positioning, ...)
1595
1596 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1597
1598         * text.C (rightMargin): remove spurious semicolon
1599
1600         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1601         1415)
1602
1603 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
1604
1605         * text3.C: fix one crash due to wrong cursor def
1606
1607 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1608
1609         * vc-backend.C (scanMaster): make the regex static
1610
1611         * LaTeX.C (scanAuxFile): make the regexs static
1612
1613         * text3.C (doInsertInset, dispatch, dispatch):
1614         * text2.C (cursorUp, cursorDown):
1615         * text.C (selectNextWordToSpellcheck):
1616         * BufferView_pimpl.C (dispatch):
1617         * lyxfunc.C (dispatch):  localDispatch -> dispatch
1618
1619 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1620
1621         * lyxsocket.C: include <cerrno>
1622
1623 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1624
1625         * lyxfunc.C (dispatch): remove textcache stuff
1626
1627         * bufferlist.C (release): remove textcache stuff
1628         (closeAll): ditto
1629
1630         * TextCache.C: delete file
1631         * TextCache.h: delete file
1632
1633         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1634
1635         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1636         delete of the bv_->text.
1637         (resizeCurrentBuffer): remove texcache stuff
1638         (workAreaResize): ditto
1639
1640 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1641
1642         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1643         action.
1644
1645 2003-10-16  André Pönitz  <poenitz@gmx.net>
1646
1647         * lyxrow.[Ch]:
1648         * paragraph.h:
1649         * rowpainter.C:
1650         * text.C:
1651         * text2.C:
1652         * text3.C: speed up by storing y positions per paragraph plus per-row
1653         offset instead of having a 'full' y position in the row.
1654
1655 2003-10-15  André Pönitz  <poenitz@gmx.net>
1656
1657         * iterators.[Ch]:
1658         * iterators.[Ch]:
1659         * undo.[Ch]: make undo aware of inner insets
1660
1661 2003-10-14  Angus Leeming  <leeming@lyx.org>
1662
1663         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1664         static member functions LyX::ref() and LyX::cref.
1665         (lastfiles): new accessor functions for the new lastfiles_ member var.
1666         (addLyXView, views_): add a new LyXView to the list of views_.
1667         (updateInset): loop over all LyXViews to call their own updateInset
1668         member function, returning a pointer to the Buffer owning the inset.
1669
1670         * BufferView_pimpl.C (loadLyXFile):
1671         * MenuBackend.C (expandLastfiles):
1672         * bufferlist.C (MenuWrite, QuitLyX):
1673         lastfiles is no longer a global variable.
1674         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1675
1676         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1677         static function. Access through LyX::cref().emergencyCleanup().
1678
1679 2003-10-14  André Pönitz  <poenitz@gmx.net>
1680
1681         * iterators.[Ch]: new direct access to innermost LyXText and Inset
1682
1683         * undo.[Ch]: restoring part of 'undo in insets'
1684
1685         * Makefile.am:
1686         * undo_funcs.[Ch]: merge with undo.[Ch]
1687
1688         * tabular.C: small cleansing stuff
1689
1690 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
1691
1692         * paragraph_funcs.C (readParToken): report unknown insets as error
1693         boxes. Use the outer paragraph as location (also for unknown
1694         tokens).
1695
1696         * factory.C (readInset): do not abort on reading an unknown inset.
1697         Eat it and return 0.
1698
1699 2003-10-13  Angus Leeming  <leeming@lyx.org>
1700
1701         * lyx_main.C (LyX): remove call to setDisplayTranslator().
1702
1703         * lyxrc.C: displayTranslator is now a function,
1704         declared in GraphicsTypes.h.
1705
1706 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1707
1708         * format.C: new placeholder $$a to pass the socket address.
1709
1710         * bufferlist.[Ch]: new function getBufferFromTmp.
1711
1712         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1713           files in the temporary dir.
1714
1715 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1716
1717         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1718
1719         * Makefile.am: add lyxsocket.[Ch].
1720
1721         * lyx_main.C (error_handler): handle SIGPIPE.
1722
1723 2003-10-13  André Pönitz  <poenitz@gmx.net>
1724
1725         * BufferView_pimpl.C:
1726         * lyxtext.h:
1727         * text.C:
1728         * text2.C:
1729         * text3.C:
1730         * undo_funcs.[Ch]: use paroffset_type instead of
1731           ParagraphList::iterators to prevent multiple conversion
1732           (and get a more robust interface)
1733
1734 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1735
1736         * lyxfunc.C (dispatch): RESULT -> dispatch_result
1737         * lyxtext.h: ditto
1738         * text3.C (dispatch): ditto
1739
1740 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1741
1742         * LaTeX.C (handleFoundFile): move the static to smaller scope,
1743         move the onlyfile, use onlyfile instead of foundfile in a couple
1744         of places.
1745
1746         * DepTable.C (update): flush the error stream a bit more
1747
1748 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1749
1750         * lyxserver.C (callback): adjust
1751
1752         * lyxfunc.C (getStatus): add a missing brace in commented code
1753         (ensureBufferClean): reindent
1754         (dispatch): delete version taking a string
1755
1756 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1757
1758         * LaTeX.C (deplog): move found file handlig from here...
1759         (handleFoundFile): .. to new function here.
1760         (deplog): make sure to discover several files mentioned on the
1761         same log line.
1762
1763 2003-10-10  André Pönitz  <poenitz@gmx.net>
1764
1765         * lyxfunc.C:
1766         * lyxtext.h:
1767         * tabular.C:
1768         * text.C:
1769         * text2.C:
1770         * text3.C: fix some of the tabular crashes
1771
1772 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1773
1774         * MenuBackend.C (binding): put debug message into Debug::KBMAP
1775
1776         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1777
1778 2003-10-09  André Pönitz  <poenitz@gmx.net>
1779
1780         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1781
1782         * BufferView.C:
1783         * BufferView_pimpl.C:
1784         * bufferview_funcs.C:
1785         * lyx_cb.C:
1786         * lyxcursor.C:
1787         * lyxfind.C:
1788         * lyxfunc.C:
1789         * lyxtext.h:
1790         * text.C:
1791         * text2.C:
1792         * text3.C:
1793         * text_funcs.[Ch]:
1794         * textcursor.[Ch]:
1795         * undo_funcs.C: adjust
1796
1797 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1798
1799         * text2.C (incrementItemDepth): new function, use a backtracking
1800         algorithm to discover the correct item depth.
1801         (resetEnumCounterIfNeeded): new function, use a backtracking
1802         algorithm to discover if counter reset is needed.
1803         (setCounter): use them. Simplify a bit. Add different labels for
1804         different item depths for itemize.
1805
1806         * paragraph.C (Paragraph): remove initialization of enumdepth
1807         (operator=): ditto
1808
1809         * paragraph.h: get rid of enumdepth, and use itemdepth both for
1810         enumerate and itemize. Change the type of itemdepth to signed char.
1811
1812 2003-10-08  André Pönitz  <poenitz@gmx.net>
1813
1814         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1815           thing assignable.
1816         * text.C:
1817         * text2.C: adjust
1818
1819         * tabular.[Ch]: fix crash after 'row-insert'
1820
1821 2003-10-08  Angus Leeming  <leeming@lyx.org>
1822
1823         Fix doxygen warnings.
1824
1825         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1826         Remove CutAndPaste:: prefix from header file declaration.
1827
1828         * LColor.h (fill): remove LColor:: prefix from declaration.
1829
1830         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1831         use lyx::depth_type rather than Paragraph::depth_type so that
1832         header file and .C file match.
1833
1834         * converter.h (intToFormat): remove Converters:: prefix from declaration.
1835
1836         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1837         * aspell.C: \file aspell_local.C -> \file aspell.C
1838         * gettext.C: \file gettext.C -> \file src/gettext.C
1839         * gettext.h: \file gettext.h -> \file src/gettext.h
1840         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1841         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1842         * text.C: \file text.C -> \file src/text.C
1843
1844         * toc.C: move comment so that doxygen is not confused.
1845
1846 2003-10-07  Angus Leeming  <leeming@lyx.org>
1847
1848         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1849
1850 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1851
1852         * aspell.C:
1853         * aspell_local.h: add forgotten std::string's.
1854
1855 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1856
1857         * LaTeXFeatures.C:
1858         * LyXAction.C:
1859         * factory.C:
1860         * lfuns.h:
1861         * lyxfunc.C:
1862         * text3.C: The Box patch. Fancybox support, minipage, parbox
1863
1864 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1865
1866         * CutAndPaste.h:
1867         * DepTable.h:
1868         * FloatList.h:
1869         * LaTeXFeatures.h:
1870         * ParagraphParameters.h:
1871         * TextCache.h:
1872         * Thesaurus.h:
1873         * bufferlist.h:
1874         * exporter.h:
1875         * importer.h:
1876         * lastfiles.h:
1877         * lyxfind.h:
1878         * lyxfont.h:
1879         * lyxlex.h:
1880         * lyxtextclasslist.h:
1881         * messages.h:
1882         * paragraph.h:
1883         * paragraph_pimpl.C:
1884         * textcursor.h: add <string> and other small fixes to make Lars'
1885         std::string patch compile with STLport.
1886
1887 2003-10-06  Angus Leeming  <leeming@lyx.org>
1888
1889         * LColor.h: Add missing #include <string>.
1890
1891 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1892
1893         * All most all file in all subdirs: Make <string> be the prefered
1894         way of getting to std::string, add using declarations.
1895
1896 2003-10-06  André Pönitz  <poenitz@gmx.net>
1897
1898         * metricsinfo.C: initialize LyXFont before changing attribute.
1899         (fixes the 'math in \emph is upright' bug)
1900
1901 2003-10-06  André Pönitz  <poenitz@gmx.net>
1902
1903         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1904
1905 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1906
1907         * graph.C:
1908         * paragraph_pimpl.C: Small fixes to build using STLport
1909
1910 2003-10-02  André Pönitz  <poenitz@gmx.net>
1911
1912         * lyxfunc.C:
1913         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1914
1915 2003-10-01  André Pönitz  <poenitz@gmx.net>
1916
1917         * factory.C: assert early
1918
1919 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1920
1921         * lyx_main.C: remove the global debug object
1922
1923         * debug.h: adjust for new debugstream
1924
1925         * debug.C: adjust for new debugstream and keep the global debug
1926         object here.
1927
1928 2003-09-22  Angus Leeming  <leeming@lyx.org>
1929
1930         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1931         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1932         an incomplete class LyXFont.
1933
1934 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1935
1936         * factory.C: bug fix in branches
1937
1938 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1939
1940         * lyxfunc.C (processKeySym): adjust
1941         (dispatch): adjust
1942         (dispatch): change arg name from ev to func, adjust
1943         (sendDispatchMessage): ditto
1944
1945         * lyx_main.C (defaultKeyBindings): adjust keybindings
1946         (deadKeyBindings): ditto
1947
1948         * kbsequence.C (addkey): return a FuncRequest
1949
1950         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1951
1952         * kbmap.C (bind): take a FuncRequest as arg, adjust
1953         (read): adjust
1954         (lookup): adjust
1955         (defkey): change to take a FuncRequest as arg, adjust
1956         (findbinding): take a FuncRequest as arg, adjust.
1957
1958         * funcrequest.h (operator=): added
1959
1960         * funcrequest.C (FuncRequest): default kb_action changed from
1961         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1962
1963         * buffer.C (dispatch): simplify
1964         (dispatch): adjust to take a FuncRequest as arg, adjust
1965
1966         * boost.C (assertion_failed): change assertion message slightly
1967
1968         * ToolbarBackend.C (read): simplify
1969
1970         * MenuBackend.C (binding): adjust call to findbinding, add a
1971         message if no binding is found.
1972         (read): simplify
1973         (expandToc): correct by adding a empty FuncRequest
1974
1975         * LyXAction.C: include <boost/assert.hpp>
1976         (isPseudoAction): delete function
1977         (LookupFunc): change name to...
1978         (lookupFunc): this. change return type to FuncRequest.
1979         (getActionName): take kb_action as arg, simplify
1980         (funcHasFlag): add an assert, simplify.
1981
1982 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1983
1984         * toc.C (action): return a FuncRequest, simplify
1985
1986         * lyxfunc.C (processKeySym): adjust
1987         (getStatus): delete version that takes an int.
1988         (getStatus): adjust
1989         (dispatch): delete version that takes action as int
1990         (dispatch): adjust
1991         (sendDispatchMessage): simplify and adjust
1992
1993         * funcrequest.C (getArg): take unsigned int as arg
1994
1995         * ToolbarBackend.C (read): adjust
1996         (add): delete version that takes func as a string.
1997         (getIton): take a FuncRequest as arg
1998
1999         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2000         action.
2001
2002         * MenuBackend.C (MenuItem): add a new construct that only takes a
2003         Kind, simplify the constructor use for submenus.
2004         (add): adjust
2005         (expandLastfiles): adjust
2006         (expandDocuments): adjust
2007         (expandFormats): adjust
2008         (expandFloatListInsert): adjust
2009         (expandFloatInsert): adjust
2010         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2011
2012         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2013         Remove class variables lyx_pseudo_map and lyx_arg_map
2014
2015         * LyXAction.C (searchActionArg): delete function
2016         (getPseudoAction): delete function
2017         (retrieveActionArg): delete function
2018         (LookupFunc): make it return kb_action, simplify.
2019         (getActionName): simplify
2020
2021         * factory.C (createInset): fix new bug
2022
2023 2003-09-19  Angus Leeming  <leeming@lyx.org>
2024
2025         * CutAndPaste.C (pasteSelection): remove fudge used to set the
2026         masterFilename_ parameter in the include inset.
2027
2028         * factory.C (createInset): changes due to the changes to InsetInclude.
2029
2030 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2031
2032         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2033
2034 2003-09-18  Angus Leeming  <leeming@lyx.org>
2035
2036         * buffer.C:
2037         * BufferView.C: pass the buffer when calling Inset::getLabelList,
2038         Inset::fillWithBibKeys.
2039         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2040
2041 2003-09-18  Angus Leeming  <leeming@lyx.org>
2042
2043         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2044         variables.
2045         (ctor): pass and store a 'Buffer const &'
2046         (buffer): new member function.
2047
2048         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2049         '*this' to the LaTeXFeatures ctor.
2050
2051 2003-09-18  Angus Leeming  <leeming@lyx.org>
2052
2053         * LColor.h:
2054         * lyxfont.C:
2055         * lyxfont.h:
2056         * lyxtext.h:
2057         * text.C: rename EnumLColor as LColor_color.
2058
2059 2003-09-18  Angus Leeming  <leeming@lyx.org>
2060
2061         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2062         remove #include "insets/insetbase.h" from cursor.h.
2063
2064 2003-09-18  Angus Leeming  <leeming@lyx.org>
2065
2066         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2067         InsetOld_code to remove #include "inset.h".
2068
2069         * iterators.C: add #include "insets/inset.h"
2070
2071 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
2072
2073         * BufferView.C: remove more locking stuff that apparently doesn't
2074         do anything sensible.
2075
2076 2003-09-16  André Pönitz  <poenitz@gmx.net>
2077
2078         * paragraph.[Ch]:
2079         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2080           performance boost.
2081
2082 2003-09-16  Angus Leeming  <leeming@lyx.org>
2083
2084         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2085
2086         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2087         arg/return type.
2088
2089         * paragraph.h: remove #include "lyxfont.h". Forward declare
2090         LyXFont_size.
2091
2092 2003-09-16  Angus Leeming  <leeming@lyx.org>
2093
2094         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2095         of support/textutils.h.
2096         (isWord): move the contents of support/textutils.h's IsWordChar here.
2097
2098         * buffer.C:
2099         * lyxfind.C:
2100         * rowpainter.C:
2101         * text.C:
2102         * text2.C: add #include "paragraph.h".
2103
2104         * rowpainter.C:
2105         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2106
2107 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2108
2109         * main.C:
2110         * lyx_main.C:
2111         * lyx_cb.C:
2112         * buffer.C:
2113         * LaTeX.C: use namespace alias for lyx::support::os
2114
2115 2003-09-16  Angus Leeming  <leeming@lyx.org>
2116
2117         * bufferparams.C:
2118         * bufferview_funcs.C:
2119         * factory.C:
2120         * lyxfunc.C:
2121         * paragraph_pimpl.C:
2122         * rowpainter.C:
2123         * text.C: add #include "LColor.h".
2124
2125 2003-09-16  Angus Leeming  <leeming@lyx.org>
2126
2127         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2128         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2129         return LyXFont &.
2130         Store the FontBits::color variable as an int rather than as an
2131         LColor::colorso that we can move LColor.h out of the lyxfont.h header
2132         file.
2133
2134         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2135         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2136         string calls together.
2137
2138         * lyxrc.C: add #include "LColor.h".
2139
2140 2003-09-15  Angus Leeming  <leeming@lyx.org>
2141
2142         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2143         a cow_ptr.
2144
2145 2003-09-15  Angus Leeming  <leeming@lyx.org>
2146
2147         * LColor.h: add an EnumLColor wrapper for LColor::color.
2148
2149         * lyxfont.[Ch] (color, setColor, realColor):
2150         * lyxtext.h, text.C (backgroundColor):
2151         pass EnumLColor args to/from the functions, rather than LColor::color
2152         ones.
2153
2154         * lyxfont.h:
2155         * lyxtext.h: forward declare EnumLColor.
2156
2157         * lyx_main.C: add #include "LColor.h".
2158
2159 2003-09-15  Angus Leeming  <leeming@lyx.org>
2160
2161         * .cvsignore: add lyx-gtk.
2162
2163 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2164
2165         * Chktex.C
2166         * LaTeX.C
2167         * LaTeXFeatures.C
2168         * ParagraphParameters.C
2169         * Spacing.C
2170         * buffer.C
2171         * bufferparams.C
2172         * bufferview_funcs.C
2173         * chset.C
2174         * counters.C
2175         * funcrequest.C
2176         * lyxfont.C
2177         * lyxgluelength.C
2178         * lyxlength.C
2179         * paragraph.C
2180         * paragraph_funcs.C
2181         * text3.C
2182         * vc-backend.C: remove usage of STRCONV
2183
2184 2003-09-15  Angus Leeming  <leeming@lyx.org>
2185
2186         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2187         explicitly define the color passed to the painter.
2188
2189 2003-09-15  Angus Leeming  <leeming@lyx.org>
2190
2191         * bufferparams.C (BufferParams): reorder member initializers to avoid
2192         compiler warning.
2193
2194 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
2195
2196         * CutAndPaste.C (pasteSelection): remove an outdated #warning
2197         * text.C (updateRowPositions): remove an unusual nop
2198
2199 2003-09-12  André Pönitz  <poenitz@gmx.net>
2200
2201         * BufferView_pimpl.C:
2202         * Bullet.C:
2203         * layout.h:
2204         * lyxfunc.C:
2205         * lyxlayout.[Ch]:
2206         * lyxtextclass.C:
2207         * rowpainter.C:
2208         * text.C:
2209         * text2.C:
2210         * Counters.[Ch]: finish the 'automatic counters' job
2211
2212 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2213
2214         * aspell.C: include <boost/assert.cpp> (compile fix)
2215
2216 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
2217
2218         * boost.C (assertion_failed): use lyx::support::abort instead of
2219         assert.
2220
2221 2003-09-10  Angus Leeming  <leeming@lyx.org>
2222
2223         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2224         with their _fwd progeny.
2225
2226 2003-09-09  Angus Leeming  <leeming@lyx.org>
2227
2228         134 files throughtout the source tree: replace 'using namespace abc;'
2229         directives with the appropriate 'using abc::xyz;' declarations.
2230
2231 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2232
2233         * boost.C (emergencyCleanup): moved here from LAssert.c
2234         (assertion_failed): new function, called by BOOST_ASSERT
2235
2236         * several files: change Assert to BOOST_ASSERT
2237
2238 2003-09-09  Angus Leeming  <leeming@lyx.org>
2239
2240         * buffer.[Ch]: Add an Impl class and move Buffer's member
2241         variables into it. As a result move several header files out of
2242         buffer.h.
2243
2244         Add header files to lots of .C files all over the tree as a result.
2245
2246 2003-09-09  Angus Leeming  <leeming@lyx.org>
2247
2248         * buffer.[Ch]: make Buffer's member variables private. Add
2249         accessor functions.
2250
2251         Lots of changes all over the tree as a result.
2252
2253 2003-09-08  Angus Leeming  <leeming@lyx.org>
2254
2255         * graph.C: #include <config.h>.
2256
2257 2003-09-08  Angus Leeming  <leeming@lyx.org>
2258
2259         * BranchList.C:
2260         * BufferView.C:
2261         * BufferView_pimpl.C:
2262         * CutAndPaste.C:
2263         * DepTable.C:
2264         * LaTeX.C:
2265         * LaTeXFeatures.C:
2266         * LyXAction.C:
2267         * MenuBackend.C:
2268         * TextCache.C:
2269         * aspell.C:
2270         * buffer.C:
2271         * bufferlist.C:
2272         * changes.C:
2273         * chset.C:
2274         * converter.C:
2275         * counters.C:
2276         * debug.C:
2277         * graph.C:
2278         * ispell.C:
2279         * lyx_cb.C:
2280         * lyxfind.C:
2281         * lyxfunc.C:
2282         * lyxlex_pimpl.C:
2283         * lyxrc.C:
2284         * lyxrow.C:
2285         * paragraph.C:
2286         * rowpainter.C:
2287         * texrow.C:
2288         * text.C:
2289         * text2.C:
2290         * toc.C: remove redundant using directives.
2291
2292 2003-09-07  Angus Leeming  <leeming@lyx.org>
2293
2294         * LaTeXFeatures.h: remove #include "support/types.h".
2295         * ToolbarBackend.h: remove #include <algorithm>.
2296         * changes.h: remove #include <ctime>.
2297         * debug.h: remove #include <iosfwd>.
2298         * graph.h: remove #include "support/std_string.h".
2299         * lyx_main.h: remove #include <csignal>.
2300         * lyxlex_pimpl.h: remove #include <fstream>.
2301         * sgml.h: remove #include <algorithm>, <utility>.
2302         * toc.h: remove #include "support/std_ostream.h".
2303         Add #include <iosfwd>.
2304
2305 2003-09-07  Angus Leeming  <leeming@lyx.org>
2306
2307         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2308
2309         * converter.h: forward declare LatexRunParams.
2310         * encoding.h: remove #include "lyxrc.h".
2311         * lyxtext.h: remove #include "LColor.h".
2312         * lyxtextclass.h: remove #include "support/types.h".
2313         * trans.h: remove #include "tex-accent.h".
2314         * trans_mgr.h: remove #include "tex-accent.h".
2315         * insets/inset.h: remove #include "support/types.h", <vector>.
2316         * insets/insetcollapsable.h: remove #include "LColor.h".
2317         * insets/insetinclude.h: remove #include "dimension.h".
2318         * insets/insetlatexaccent.h: remove #include "dimension.h".
2319         * insets/insetoptarg.h:: remove #include "insettext.h".
2320         * insets/insettext.h: remove #include "dimension.h",
2321         <boost/shared_ptr.hpp>
2322
2323         * insets/renderers.h: add #include "dimension.h".
2324         * insets/updatableinset.h: add #include "support/types.h".
2325
2326         * many .C files: Associated changes.
2327
2328 2003-09-06  Angus Leeming  <leeming@lyx.org>
2329
2330         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2331         one, inside testInvariant.
2332
2333         * PrinterParams.C: new file.
2334         * PrinterParams.[Ch]: move the function bodies out of line.
2335
2336 2003-09-06  Angus Leeming  <leeming@lyx.org>
2337
2338         * ParagraphParameters.h: forward declare ParameterStruct rather than
2339         including its header file.
2340         (depth): moved out-of-line.
2341
2342 2003-09-06  Angus Leeming  <leeming@lyx.org>
2343
2344         * BufferView_pimpl.h:
2345         * kbmap.h:
2346         * kbsequence.h:
2347         * lyxfunc.h: forward declare LyXKeySym rather than
2348         #include "frontends/LyXKeySym.h".
2349
2350         * BufferView_pimpl.C:
2351         * kbmap.C:
2352         * kbsequence.C:
2353         * lyxfunc.C: associated changes.
2354
2355 2003-09-06  Angus Leeming  <leeming@lyx.org>
2356
2357         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2358         As a result, can remove the #include "insets/inset.h" from BufferView.h
2359
2360 2003-09-06  Angus Leeming  <leeming@lyx.org>
2361
2362         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2363         As a result, can remove the #include "insets/inset.h" from BufferView.h
2364
2365 2003-09-06  Angus Leeming  <leeming@lyx.org>
2366
2367         * buffer_funcs.C:
2368         * buffer.h:
2369         * bufferlist.C:
2370         * BufferView.C:
2371         * bufferview_funcs.C:
2372         * BufferView_pimpl.C:
2373         * CutAndPaste.C:
2374         * lyx_cb.C:
2375         * lyxfunc.C:
2376         * paragraph.h:
2377         * ParagraphParameters.C:
2378         * tabular.C:
2379         * text3.C:
2380         * toc.C:
2381         * undo_funcs.C:
2382         * frontends/controllers/ControlDocument.C:
2383         * insets/insetcaption.C: rearrange the #includes into some sort of
2384         coherent order.
2385
2386         * buffer.h: remove #includes ErrorList.h, undo.h
2387
2388 2003-09-06  Angus Leeming  <leeming@lyx.org>
2389
2390         * support/types.h: add a 'depth_type' typedef, used to store the
2391         nesting depth of a paragraph.
2392
2393         * paragraph.h:
2394         * ParameterStruct.h: use this lyx::depth_type typedef rather than
2395         defining explicitly.
2396
2397         * buffer.h:
2398         * paragraph_funcs.h:
2399         * ParagraphParameters.h:
2400         * sgml.h: use lyx::depth_type rather than Paragraph or
2401         ParameterStruct's depth_type.
2402
2403         * buffer.h
2404         * paragraph_funcs.h: no need to #include paragraph.h anymore.
2405
2406         * BufferView.C:
2407         * BufferView_pimpl.C:
2408         * CutAndPaste.C:
2409         * ParagraphParameters.C:
2410         * buffer_funcs.C:
2411         * bufferlist.C:
2412         * bufferview_funcs.C:
2413         * lyx_cb.C:
2414         * lyxfunc.C:
2415         * tabular.C:
2416         * text3.C:
2417         * toc.C:
2418         * undo_funcs.C:
2419         * frontends/LyXView.C:
2420         * frontends/controllers/ControlDocument.C:
2421         * frontends/controllers/ControlErrorList.C:
2422         * insets/insetbibitem.C:
2423         * insets/insetbranch.C:
2424         * insets/insetcaption.C:
2425         * insets/insetcollapsable.C:
2426         * insets/insetenv.C:
2427         * insets/insetert.C:
2428         * insets/insetfloat.C:
2429         * insets/insetfoot.C:
2430         * insets/insetfootlike.C:
2431         * insets/insetnewline.C:
2432         * insets/insetquotes.C:
2433         * insets/insettabular.C:
2434         * insets/insettext.C:
2435         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2436
2437         * frontends/controllers/ControlChanges.C: #include "changes.h".
2438
2439 2003-09-06  Angus Leeming  <leeming@lyx.org>
2440
2441         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2442         than #including paragraph.h.
2443
2444         * ParagraphList.h:
2445         * RowList.h: deleted. Superfluous.
2446
2447         * CutAndPaste.h:
2448         * iterators.h:
2449         * lyxcursor.h:
2450         * lyxtext.h:
2451         * text_funcs.h:
2452         * undo.h:
2453         * undo_funcs.h:
2454         * insets/inset.h:
2455         * insets/insettext.h: use ParagraphList_fwd.h rather than
2456         ParagraphList.h.
2457
2458         * paragraph.h: don't forward declare ParagraphList.
2459
2460         * buffer.h:
2461         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2462         rather than ParagraphList.h. paragraph.h is still needed for the
2463         Paragraph::depth_type parameters.
2464
2465         * textcursor.h: enable it to compile stand-alone in light of the
2466         above changes.
2467
2468         * bufferview_funcs.C:
2469         * iterators.C:
2470         * lyxfunc.C:
2471         * lyxrow_funcs.C:
2472         * paragraph.C:
2473         * rowpainter.C:
2474         * text.C:
2475         * text2.C:
2476         * text3.C:
2477         * text_funcs.C:
2478         * textcursor.C:
2479         * undo.C:
2480         * frontends/controllers/ControlParagraph.C:
2481         * frontends/controllers/ControlTabular.C:
2482         * insets/insetmarginal.C:
2483         * insets/insetminipage.C:
2484         * insets/insetnote.C:
2485         * insets/insetoptarg.C: add header files needed to compile again.
2486
2487 2003-09-06  Angus Leeming  <leeming@lyx.org>
2488
2489         * RowList_fwd.h: new file, forward-declaring Row rather than
2490         #including lyxrow.h.
2491
2492         * lyxrow_funcs.h:
2493         * lyxtext.h:
2494         * paragraph.h:
2495         * insets/insettext.h: use it instead of RowList.h
2496
2497         * bufferview_funcs.C:
2498         * lyxfunc.C:
2499         * lyxrow_funcs.C:
2500         * paragraph.C:
2501         * rowpainter.C:
2502         * text.C:
2503         * text2.C:
2504         * text3.C: #include "RowList.h".
2505
2506 2003-09-05  Angus Leeming  <leeming@lyx.org>
2507
2508         * factory.C (createInset):
2509         * vspace.C (c-tor): replace sscanf call with an istringstream.
2510         * ispell.C: re-add missing HP/UX headers.
2511         * lyxserver.C: re-add missing  os2 headers.
2512
2513 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
2514
2515         * BranchList.C:
2516         * graph.C:
2517         * ispell.C:
2518         * lastfiles.C:
2519         * lyx_cb.C:
2520         * lyxserver.C:
2521         * texrow.C:
2522         * text3.C: re-add missing system headers, needed for 2.95.2.
2523
2524 2003-09-05  Angus Leeming  <leeming@lyx.org>
2525
2526         Changes most place everywhere due to the removal of using directives
2527         from support/std_sstream.h.
2528
2529 2003-09-05  Angus Leeming  <leeming@lyx.org>
2530
2531         Replace LString.h with support/std_string.h,
2532         Lsstream.h with support/std_sstream.h,
2533         support/LIstream.h with support/std_istream.h,
2534         support/LOstream.h with support/std_ostream.h.
2535
2536         Changes resulting throughout the tree.
2537
2538 2003-09-05  Angus Leeming  <leeming@lyx.org>
2539
2540         * sgml.h: ensure that the header file can be compiled stand-alone.
2541         * *.C: strip out redundant #includes. (320 in total.)
2542
2543 2003-09-04  Angus Leeming  <leeming@lyx.org>
2544
2545         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2546         here (from getPackages).
2547
2548         * debug.[Ch]: add a new EXTERNAL tag.
2549
2550 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2551
2552         * text2.C (cursorEnd): simplify
2553         (setCursor): adjust
2554         (getColumnNearX): adjust
2555
2556         * text.C (computeBidiTables): adjust
2557         (fill): adjust
2558
2559         * rowpainter.C (paintChars): adjust
2560         (paintSelection): adjust
2561         (paintChangeBar): adjust
2562         (paintText): adjust
2563
2564         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2565         lastPos instead.
2566         (numberOfSeparators): adjust
2567
2568 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2569
2570         * LyXAction.C:
2571         * box.[Ch]:
2572         * lfuns.h:
2573         * lyxfunc.C:
2574         * text3.C: Restricts the mouse click functionality
2575         of insets like bibtex, include, toc and floatlist to the visible
2576         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2577         up the dialogs. Cursor has to be in front of the inset (i.e.
2578         start of row) for this to function.
2579
2580 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2581
2582         * bufferview_funcs.C (currentState): output row information
2583
2584 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2585
2586         * bufferview_funcs.C (currentState): output paragraph position
2587
2588 2003-09-04  Angus Leeming  <leeming@lyx.org>
2589
2590         * FloatList.h: move out #include "Floating.h".
2591         * LaTeX.h: move out #include "DepTable.h".
2592         * LyXAction.h: move out #include "funcrequest.h".
2593         * buffer.h: move out #include "author.h", "iterators.h".
2594         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2595         * lyx_main.h: move out #include "errorlist.h".
2596         * lyxfunc.h: move out #include "FuncStatus.h".
2597         * lyxtext: move out #include "lyxcursor.h".
2598         * paragraph_pimpl.h: move out #include "counters.h".
2599
2600 2003-09-03  Angus Leeming  <leeming@lyx.org>
2601
2602         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2603         preamble_snippets list, enabling us to add snippets to the preamble
2604         only if the snippet was not there already.
2605
2606 2003-09-04  Angus Leeming  <leeming@lyx.org>
2607
2608         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2609
2610 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2611
2612         * lyxfunc.C (dispatch): if fitCursor did something be sure to
2613         update
2614
2615 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2616
2617         * BranchList.C: point fix, earlier forgotten
2618
2619 2003-09-02  Angus Leeming  <leeming@lyx.org>
2620
2621         * box.C (contains): renamed from 'contained' after a fantastic
2622         amount of hot air.
2623
2624 2003-09-02  John Levon  <levon@movementarian.org>
2625
2626         * BufferView.C:
2627         * lyxcursor.h:
2628         * lyxcursor.C:
2629         * lyxfunc.C:
2630         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2631
2632 2003-09-02  John Levon  <levon@movementarian.org>
2633
2634         * text2.C: simplification of cursorEnd(), including partial
2635         fix for bug 1376
2636
2637 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2638
2639         * buffer.C (readFile): add a space
2640
2641 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
2642
2643         * BufferView_pimpl.C (update): remove bogus fitCursor() call
2644
2645 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2646
2647         * buffer.C (readFile): new function, take a filename and a
2648         ParagraphList::iterator
2649         (readFile): adjust
2650         (readFile): adjust, make it private. don't use setStream, make
2651         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2652         always contain the filename.
2653
2654         * BufferView.C (insertLyXFile): simplify and make it work for
2655         gzipped files.
2656
2657 2003-08-30  John Levon  <levon@movementarian.org>
2658
2659         * Makefile.am: fix dist (from Kayvan)
2660
2661 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2662
2663         * most files: change to use const Buffer refs
2664
2665 2003-08-27  André Pönitz  <poenitz@gmx.net>
2666
2667         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2668         on top of ownerPar().
2669
2670 2003-08-27  John Levon  <levon@movementarian.org>
2671
2672         * funcrequest.C: properly initialise POD members
2673
2674 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2675
2676         * lyxtext.h (top_y): move top_y from here
2677         * text.C:
2678         * text2.C:
2679         * text3.C:
2680         * BufferView.[Ch]:
2681         * BufferView_pimpl.[Ch]: to here
2682         * frontends/screen.C:
2683         * insets/insettabular.C:
2684         * insets/insettext.C: adjust
2685         * rowpainter.[Ch] (paintRows): remove LyXText & argument
2686
2687 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2688
2689         * BufferView.[Ch]:
2690         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2691
2692 2003-08-26  André Pönitz  <poenitz@gmx.net>
2693
2694         * paragraph_func.[Ch] (outerPar): new function
2695
2696         * paragraph.C:
2697         * paragraph_funcs.C:
2698         * paragraph_funcs.h:
2699         * paragraph_pimpl.C:
2700         * text2.C: remove Inset::par_owner
2701
2702 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
2703
2704         * lyxrow_funcs.C:
2705         * lyxtext.h:
2706         * text.C:
2707         * text2.C: eliminates the needFullRow/display() stuff
2708         altogether, putting the logic in metrics/draw in the insets.
2709
2710 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
2711
2712         * text2.C (redoParagraphInternal, redoParagraphs):
2713         * text.C (redoParagraph): add a call to updateRowPositions at the
2714         end of each 'metrics-like' call. Remove all others.
2715         (getRow): remove the 'y-computing' version.
2716         (getRowNearY): do not compute nor return the real y. Solve the
2717         'y < 0' problem and simplify.
2718
2719 2003-08-22  Angus Leeming  <leeming@lyx.org>
2720
2721         * *.[Ch]: clean-up of licence and author blurbs.
2722         Also move config.h out of a few .h files and into a few .C files.
2723
2724 2003-08-22  André Pönitz  <poenitz@gmx.net>
2725
2726         * lyxrow.[Ch]: add x_ and *fill_ members
2727
2728         * lyxtext.h:
2729         * text.C:
2730         * rowpainter.C:
2731         * text2.C: adjust/remove prepareToPrint() calls
2732
2733 2003-08-22  André Pönitz  <poenitz@gmx.net>
2734
2735         * lyxrow.[Ch]: add  end_ member
2736
2737         * lyxrow_funcs.C: use LyXRow::end_
2738
2739         * lyxtext.h (singleWidth): add LyXFont parameter
2740
2741         * rowpainter.C:
2742         * text2.C: adjust LyXText::singleWidth() calls
2743
2744         * text.C (redoParagraph): simplify row breaking logic
2745
2746
2747 2003-08-19  André Pönitz  <poenitz@gmx.net>
2748
2749         * funcrequest.C: initialize button_ member
2750
2751         * text3.C:
2752         * rowpainter.[Ch]: interface consolidation
2753
2754 2003-08-18  André Pönitz  <poenitz@gmx.net>
2755
2756         * BufferView.C:
2757         * BufferView_pimpl.C:
2758         * lyxfind.C:
2759         * paragraph_funcs.C:
2760         * rowpainter.C:
2761         * text3.C: remove LyXScreen::draw() and fitCursor calls
2762
2763         * BranchList.h: remove spurious semicolons
2764
2765         * MenuBackend.C: fix branchlist related crash
2766
2767 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
2768
2769         * BranchList.[Ch]:
2770         * InsetList.[Ch]:
2771         * LColor.[Ch]:
2772         * LyXAction.C:
2773         * Makefile.am:
2774         * MenuBackend.[Ch]:
2775         * bufferparams.[Ch]:
2776         * factory.C:
2777         * lfuns.h:
2778         * lyxfunc.C:
2779         * text3.C: implements the 'branch inset'
2780         idea. This allows the output of various versions of a document
2781         from a single source version, selectively outputing or suppressing
2782         output of parts of the text.
2783         This implementation contains a 'branch list editor' in a separate
2784         tab of the document settings dialog. Branches are user definable
2785         and have a "display colour" to distinguish them on-screen.
2786
2787         ColorHandler was somewhat cleaned up.
2788         (1) make possible a dynamically growing LColor list by allowing
2789         the graphic context cache to grow along (vector);
2790         (2) eliminate an IMHO unnecessary step in colour allocation.
2791
2792 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
2793
2794         * BufferView_pimpl.C: compile fix
2795
2796 2003-08-15  André Pönitz  <poenitz@gmx.net>
2797
2798         * rowpainter.C: remove extra metrics calls
2799
2800         * lyxtext.h: merge the two constructors into a single one,
2801           pass reference to owner's par list
2802
2803         * BufferView_pimpl.C:
2804         * text.C:
2805         * text2.C: adjust
2806
2807 2003-08-15  André Pönitz  <poenitz@gmx.net>
2808
2809         * lyxrow_funcs.[Ch]:
2810         * lyxtext.h:
2811         * paragraph.h:
2812         * paragraph_funcs.C:
2813         * rowpainter.C:
2814         * text.C:
2815         * text2.C:
2816         * text3.C:
2817         * text_funcs.C: split LyXText::rowlist_ into individual
2818         Paragraph::rows_ chunks
2819
2820         * BufferView.[Ch]:
2821         * BufferView_pimpl.[Ch]:
2822         * lyxfind.C:
2823         * lyxtext.h:
2824         * text3.C: remove toggleSelection()
2825
2826 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
2827
2828         * bufferlist.C: beautify two alerts (shorter text of buttons)
2829         * buffer.C: Remove redundant ' ' from message
2830         * tabular.h:
2831         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2832         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2833         rename VALIGN_CENTER to VALIGN_MIDDLE
2834
2835 2003-08-11  André Pönitz  <poenitz@gmx.net>
2836
2837         * lyxtext.h (getPar):
2838         * text.C: new function
2839
2840 2003-08-11  André Pönitz  <poenitz@gmx.net>
2841
2842         * Makefile.am:
2843         * tracer.[Ch]: remove unneeded files
2844
2845         * InsetList.[Ch]: remove resizeInsetsLyXText()
2846
2847         * lyxtext.h:
2848         * text.C:
2849         * text2.C:
2850         * text3.C: merge insertParagraphs() and appendParagraph()
2851         remove breakAgain(), update()
2852
2853         * BufferView_pimpl.[Ch]:
2854         * bufferview_funcs.[Ch]:
2855         * lyxfunc.C:
2856         * paragraph.[Ch]:
2857         * rowpainter.C:
2858         * tabular.C: adjust after text & InsetList changes.
2859
2860 2003-08-08  André Pönitz  <poenitz@gmx.net>
2861
2862         * text.C (insertChar, backspace): replace rowlist fiddling
2863         with rebreak of full par
2864
2865         * lyxtext.h:
2866         * text.C (breakAgainOneRow, redoHeightOfParagraph,
2867         checkParagraph, updateInset): removed
2868
2869 2003-08-07  André Pönitz  <poenitz@gmx.net>
2870
2871         * paragraph.C:
2872         * text3.C: merge some LFUN handlers, remove dead code
2873
2874 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2875
2876         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2877
2878 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
2879
2880         * text2.C (DEPM): fix part of bug 1255 and 1256
2881
2882 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2883
2884         * BufferView_pimpl.C (workAreaDispatch): change to use
2885         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2886         that are no mouse related.
2887
2888 2003-08-05  André Pönitz  <poenitz@gmx.net>
2889
2890         * BufferView.[Ch]:
2891         * BufferView_pimpl.[Ch]:
2892         * bufferview_funcs.C:
2893         * text2.C:
2894         * text3.C: rip out "deep update"
2895
2896         * textcursor.[Ch] (last_sel_cursor): remove unused member
2897
2898 2003-08-04  André Pönitz  <poenitz@gmx.net>
2899
2900         * BufferView.[Ch]:
2901         * BufferView_pimpl.[Ch]:
2902         * ParagraphParameters.C:
2903         * bufferview_funcs.C:
2904         * lyx_cb.C:
2905         * lyxfind.C:
2906         * lyxfunc.C:
2907         * text.C:
2908         * text2.C:
2909         * text3.C: replace "complicated" BufferView::update(...) calls with
2910         simpler ones.
2911
2912         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2913
2914 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2915
2916         * Makefile.am (lyx_SOURCES): add paper.h
2917
2918 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2919
2920         * Makefile.am: move things around so that both lyx-qt and
2921         lyx-xforms can be built (according to --with-frontend). Then lyx
2922         is a symbolic link to lyx-[firstfrontend]
2923
2924 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2925
2926         * Always use std::endl with lyxerr
2927
2928 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2929
2930         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2931
2932 2003-08-01  André Pönitz  <poenitz@gmx.net>
2933
2934         * BufferView.[Ch]:
2935         * BufferView_pimpl.[Ch]:
2936         * lyxfunc.C:
2937         * text3.C: merge BufferView::repaint() and BufferView::update()
2938
2939 2003-08-01  José Matos  <jamatos@lyx.org>
2940
2941         * buffer.[Ch]: file_format is no longer a buffer data element.
2942
2943 2003-08-01  André Pönitz  <poenitz@gmx.net>
2944
2945         * BufferView.C:
2946         * lyxtext.h:
2947         * text.C:
2948         * text2.C: make redoParagraph more independent of current cursor
2949
2950         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2951         * text.C:
2952         * text2.C: remove unneeded members
2953
2954 2003-07-30  André Pönitz  <poenitz@gmx.net>
2955
2956         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2957
2958         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2959           create a single function...
2960
2961         * paragraph_funcs.C (moveItem): ... here.
2962
2963         * text.C:
2964           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2965
2966 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2967
2968         * LColor.[Ch]: Add comment and greyedout logical colors.
2969
2970 2003-07-30  André Pönitz  <poenitz@gmx.net>
2971
2972         * tabular.C: don't use Assert too heavily. This crashes where it
2973           shouldn't
2974
2975 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2976
2977         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2978         is disabled (bug 1232)
2979
2980 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2981
2982         * factory.C: limited 'arg' scope
2983
2984 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2985
2986         * factory.C: fixed Note submenu issues
2987
2988 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2989
2990         * factory.C: submenu for Note/Comment/Greyedout
2991
2992 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2993
2994         * lyx_main.C (LyX):
2995         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2996
2997 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2998
2999         * LaTeXFeatures.C:
3000         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3001         greyedout. Patch provided by Jürgen Spitzmüller.
3002
3003 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3004
3005         * kbmap.C (read): fix error message when reading bind files
3006
3007 2003-07-29  Angus Leeming  <leeming@lyx.org>
3008
3009         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3010         certainly does not do what it purports to do. I am doing it, and
3011         us, a favour by killing it.
3012
3013 2003-07-28  José Matos  <jamatos@lyx.org>
3014
3015         * buffer.C (readBody, do_writeFile):
3016         * paragraph.C(readParagraph): \end_document replaces \the_end.
3017
3018 2003-07-29  André Pönitz  <poenitz@gmx.net>
3019
3020         * BufferView.[Ch]:
3021         * BufferView_pimpl.[Ch]:
3022         * lyxfunc.C:
3023         * text2.C:
3024         * text3.C:
3025         * textcursor.[Ch]: remove toggleToggle & Co
3026
3027 2003-07-28  José Matos  <jamatos@fep.up.pt>
3028
3029         * buffer.C (readParagraph):
3030         * params_func (readParToken, readParagraph):
3031         * paragraph.C (write): \layout -> \begin_layout.
3032
3033 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3034
3035         * lyxlex_pimpl.C (setFile): clean up slightly.
3036
3037         * bufferparams.h: add compressed var
3038
3039         * buffer_funcs.C (readFile): adjust for LyXLex change
3040         (newFile): ditto + simplify
3041
3042         * buffer.C (writeFile): handle writing of compressed files
3043
3044         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3045         Check if the file is compressed and set a bufferparm if so.
3046
3047         * Makefile.am (lyx_LDADD): remove explicit -lz
3048
3049 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3050
3051         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3052         makeDocBookFile): put the real LyX version in the first line of
3053         the file
3054
3055         * version.h:
3056         * version.C.in: remove lyx_docversion
3057
3058         * tabular.C (write_attribute): add a template-based version to
3059         write enums properly
3060
3061 2003-07-28  André Pönitz  <poenitz@gmx.net>
3062
3063         * lyxtext.h:
3064         * text.C:
3065         * text2.C:
3066         * text3.C: use doubles again for x-coordinates. They are needed.
3067
3068 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3069
3070         * messages.C (getLocaleDir): use lyx_localedir()
3071
3072         * lyxlex_pimpl.C (setFile): compress stuff
3073
3074         * buffer.C (writeFile): add some compression stuff
3075         (do_writeFile): new func, dont call expliti close... will this
3076         breake anything?
3077
3078         * Makefile.am (lyx_LDADD): add -lz
3079
3080 2003-07-28  José Matos  <jamatos@fep.up.pt>
3081
3082         * buffer.C: increment file format.
3083         * paragraph_funcs (readParagraph, readParToken):
3084         * paragraph.C (readParagraph): add \end_layout.
3085
3086 2003-07-27  Angus Leeming  <leeming@lyx.org>
3087
3088         * Makefile.am: remove special casing for configure-time setting of
3089         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3090
3091         * lyx_main.C (init): remove all Jean-Marc's magic setting of
3092         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3093
3094 2003-07-26  André Pönitz  <poenitz@gmx.net>
3095
3096         * paragraph_func.[Ch]:
3097         * paragraph.C (realizeFont): inline it whereever it is used
3098
3099         * rowpainter.C:
3100         * text.C:
3101         * text2.C:
3102         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3103
3104
3105 2003-07-26  André Pönitz  <poenitz@gmx.net>
3106
3107         *       lyxtext.h:
3108         * text.C:
3109         * text2.C: get rid of LyXText::need_break_row
3110
3111 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3112
3113         * toc.[Ch]: put namespace toc inside namespace lyx
3114
3115         * MenuBackend.C (expandToc2): adjust for lyx::toc
3116         (expandToc): ditto
3117
3118         * lyxfunc.C (dispatch): adjust for lyx::find
3119
3120         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3121         lyx::find instead. Reorganize a bit.
3122         (LyXReplace): rename to replace
3123         (LyXFind): rename to find
3124
3125         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3126         (dispatch): ditto
3127
3128 2003-07-26  André Pönitz  <poenitz@gmx.net>
3129
3130         * text.C (setHeightOfRow): restrict scope of temporary variable
3131
3132         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
3133           code (never has been used?)
3134
3135 2003-07-27  Asger Alstrup  <alstrup@local>
3136
3137         * text.C (fill): Optimise algorithm to exploit that we can reuse
3138         the LyXFont for many characters.
3139         (setHeightOfRow): Same thing.
3140         (rowBreakPoint): Same thing.
3141
3142 2003-07-26  Asger Alstrup  <alstrup@local>
3143
3144         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3145
3146         * text.C (singleWidth): Spurious font copying in hot-spot
3147         singleWidth avoided. Reorder tests for arabic for efficiency.
3148
3149         * text.C (fill): handle empty paragraphs better.
3150
3151 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3152
3153         * ispell.C:
3154         * encoding.h: add includes
3155
3156         * lyxrc.C: remove reading of bind files
3157
3158         * lyx_main.C (init): setup bindings and menus only if we have a
3159         gui.
3160
3161         * kbmap.C (read): new method. Do the actual reading of bind
3162         files.
3163
3164         * converter.C (dvipdfm_options):
3165         * bufferparams.C:
3166         * lyxrc.C (read):
3167         (output): adapt PAPER_* enums.
3168
3169         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3170
3171         * bufferparams.h: remove paper-related enums from there
3172
3173         * paper.h: New file. A trivial header file to hold paper-related
3174         enums. It should later expand to contain many paper-related
3175         horrors access.
3176
3177         * lyxrc.C: declare extern displayTranslator
3178
3179 2003-07-27  José Matos  <jamatos@fep.up.pt>
3180
3181         * tabular.[Ch] (linuxdoc): add support for tables and figures
3182         (linuxdoc).
3183
3184 2003-07-27  José Matos  <jamatos@fep.up.pt>
3185
3186         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3187         consistency in both functions.
3188         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3189
3190 2003-07-26  Asger Alstrup  <alstrup@local>
3191
3192         * rowpainter.C (paintRows): Change algorithm to work directly on
3193         the insets rather than asking every character in the document
3194         whether its an inset.
3195
3196 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
3197
3198         * buffer.C (openFileWrite): factorize some code
3199
3200 2003-07-26  Angus Leeming  <leeming@lyx.org>
3201
3202         * lyx_cb.C:
3203         * lyx_main.[Ch]: replace occurances of system_tempdir with
3204         os::getTmpDir().
3205
3206 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3207
3208         * rename Inset to InsetOld
3209
3210 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
3211
3212         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3213         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3214         which I think is a bit clearer. EDIT is gone, since it was
3215         premature optimisation, and broken for mathed anyway.
3216         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3217         with cursor positioning in insets as well (math insets still do not
3218         work, but that's a different story anyway.) It mysteriously
3219         crashes sometimes with undo in the first paragraph, but I'm fairly
3220         confident that this is a compiler bug.
3221
3222 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3223
3224         * paragraph.C (Paragraph): adjust for new clone return type
3225         (operator==): ditto
3226         (copyIntoMinibuffer): ditto
3227
3228 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
3229
3230         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3231         by not having a special case, and always doing a full rebreak of
3232         the document after undo.
3233
3234 2003-07-23  Angus Leeming  <leeming@lyx.org>
3235
3236         * factory.C (createInset): InsetExternal::setParams now takes a
3237         Buffer const * arg.
3238
3239 2003-07-23  Angus Leeming  <leeming@lyx.org>
3240
3241         * factory.C (createInset): changed interface to the external and
3242         graphics mailers' string2params functions.
3243
3244 2003-07-23  Angus Leeming  <leeming@lyx.org>
3245
3246         * factory.C (createInset): pass a
3247         Buffer const * parameter to InsetExternalMailer's string2params.
3248
3249 2003-07-22  John Levon  <levon@movementarian.org>
3250
3251         * Thesaurus.h: include the right aiksaurus header
3252
3253 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3254
3255         * MenuBackend.C (expand): check menu shortcuts unconditionally
3256
3257 2003-07-21  Angus Leeming  <leeming@lyx.org>
3258
3259         * factory.C (createInset): pass a
3260         buffer_path parameter to InsetGraphicsMailer's string2params.
3261
3262 2003-07-21  Angus Leeming  <leeming@lyx.org>
3263
3264         * BufferView_pimpl.C (buffer):
3265         * buffer.C (d-tor):
3266         * lyx_main.C (LyX):
3267         * lyxfunc.C (dispatch):
3268         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3269         rather than the grfx shortcut.
3270
3271 2003-07-21  André Pönitz  <poenitz@gmx.net>
3272
3273         * rowpainter.C: remove unused variables
3274
3275         * tabular_funcs.C:
3276         * tabular_funcs.h: move to tabular.C
3277         * Makefile.am: adjust
3278
3279         * tabular.[Ch]: basic optical cleaning
3280
3281         * author.h: pass references, not values
3282
3283 2003-07-18  André Pönitz  <poenitz@gmx.net>
3284
3285         * lyxtext.h:
3286         * metricsinfo.C:
3287         * metricsinfo.h:
3288         * rowpainter.C:
3289         * text.C:
3290         * text2.C:
3291         * text3.C: two-phase drawing for InsetText and InsetTabular
3292         some float -> int changes.
3293
3294 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3295
3296         * lyx_main.C: fix the fix
3297
3298 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3299
3300         * lyx_main.C: fix a crash in batch mode if no files specified
3301         * converter.C: ws
3302
3303 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
3304
3305         * format.[Ch] (papersize): moved to BufferParams
3306         * converter.[Ch] (dvips_options): moved to BufferParams
3307         (dvipdfm_options): moved to anon namespace
3308         * bufferparams.[Ch]: added above functions.
3309
3310 2003-07-17  André Pönitz  <poenitz@gmx.net>
3311
3312         * lyxtext.h:
3313         * rowpainter.C:
3314         * text2.C: don't call inset->update() anymore
3315
3316         * metricsinfo.[Ch]: add convenience constructor
3317
3318 2003-07-16  André Pönitz  <poenitz@gmx.net>
3319
3320         * lyxcursor.[Ch]:
3321         * lyxfunc.[Ch]:
3322         * text.C:
3323         * text2.C: replace the LyXCursor::irow_ member with
3324          on-demand computation of the value
3325
3326 2003-07-16  John Levon  <levon@movementarian.org>
3327
3328         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3329
3330 2003-07-15  André Pönitz  <poenitz@gmx.net>
3331
3332         * text.C:
3333         * text2.C: remove no more needed refresh_row
3334
3335 2003-07-15  André Pönitz  <poenitz@gmx.net>
3336
3337         * lyxtext.h:
3338         * rowpainter.C:
3339         * text2.C:
3340         * text3.C: refresh_status tristate -> need_update bool
3341
3342 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
3343
3344         * lyxtext.h (init): remove reinit argument (act as if always true)
3345         * text2.C: adjust to that
3346
3347 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3348
3349         * bufferview_funcs.[Ch]: introduce function replaceSelection()
3350         * text3.C: use it to delete selections in some cases
3351         (bugs 441, 673, 702, 954).
3352
3353 2003-07-14  André Pönitz  <poenitz@gmx.net>
3354
3355         * rowpainter.[Ch]: reduce interface
3356
3357 2003-07-14  André Pönitz  <poenitz@gmx.net>
3358
3359         * BufferView_pimpl.C:
3360         * text2.C: adjust after removing unused BufferView * argument
3361
3362 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
3363
3364         * text2.C (init): fix a crash fired on resize
3365
3366 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
3367
3368         * buffer.[Ch]: added new closing signal
3369         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3370         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3371         BufferView::Pimpl via the closing the signal
3372
3373 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
3374
3375         * buffer.[Ch]: take out all bv-related from buffer
3376         * BufferView.C:
3377         * BufferView_pimpl.[Ch]: connect to new signals
3378         * CutAndPaste.C: removed useless asserts
3379         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3380         * lyxvc.[Ch]:
3381         * vc-backend.[Ch]:
3382         * lyxfunc.C: moved view-related funciontality from vc here
3383         * paragraph.C: removed outdated comments
3384         * text.C: ws
3385
3386 2003-07-10  André Pönitz  <poenitz@gmx.net>
3387
3388         * BufferView_pimpl.C:
3389         * tabular.h:
3390         * tabular_funcs.C:
3391         * text.C:
3392         * text2.C: remove InsetText::InnerCache, clean up consequences
3393
3394 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
3395
3396         * ispell.C: fix two typos in error messages
3397
3398 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
3399
3400         * Extend Note inset to other forms of annotation like Comment
3401         and Greyedout. Right button click gives dialog.
3402
3403         Files modified or added (+):
3404
3405         * insetnote.[Ch]
3406         * FormNote.[Ch]      +
3407         * ControlNote.[Ch]   +
3408         * form_note.fd       +
3409         * Makefile.am in frontends/xforms, frontends/xforms/forms,
3410         frontends/controllers
3411         * xforms/Dialogs.C
3412         * factory.C
3413
3414 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3415
3416         * aspell.C: add missing namespace lyx::support
3417
3418 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
3419
3420         * BufferView.[Ch] (newFile): Add
3421         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3422         * LaTeX.[Ch] (message): added this signal and use it
3423         * buffer.[Ch] (busy, message): added these signals and use them
3424         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3425         * converter.C:
3426         * exporter.C:
3427         * format.C:
3428         * importer.C: use buffer signals instead of direct bv calling
3429         * lyx_cb.[Ch] (ShowMessage): removed
3430         * lyx_main.C:
3431         * lyxfunc.C:
3432         * paragraph_funcs.C:
3433         * text2.C: use buffer signals
3434
3435 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3436
3437         * introduce namespace lyx::graphics
3438
3439 2003-07-02  André Pönitz  <poenitz@gmx.net>
3440
3441         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3442
3443 2003-07-01  André Pönitz  <poenitz@gmx.net>
3444
3445         * text.C:
3446         * text2.C:
3447         * text3.C:
3448         * text_funcs.[Ch]:
3449         * textcursor.h:
3450         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3451           text*.C to text_func.C
3452
3453 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3454
3455         * introduce namespace lyx::support
3456
3457 2003-06-30  André Pönitz  <poenitz@gmx.net>
3458
3459         * Chktex.C:
3460         * funcrequest.C:
3461         * lyxtext.h:
3462         * text.C: re-enable --with-included-string
3463
3464 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3465
3466         * textcursor.C: add <config.h>
3467
3468         * text.C (getWord): remove const from word_location arg
3469
3470         * lyxvc.C (getLogFile): fix const type order
3471
3472         * lyxtext.h: remove const from word_location arg, add arg name
3473
3474         * lyxlayout.h: currect type on labeltype.
3475
3476         * importer.C: correct \file
3477
3478         * converter.C (intToFormat): use std:: on ret val, ws changes
3479
3480         * bufferlist.h: correct \file
3481
3482         * buffer.C (makeLinuxDocFile): fix const type order
3483         (makeDocBookFile): ditto
3484         (fillWithBibKeys): use std:: on stdlib args.
3485
3486         * CutAndPaste.C: fix authors.
3487         (availableSelections): use std:: on return vector
3488
3489 2003-06-27  André Pönitz  <poenitz@gmx.net>
3490
3491         * BufferView_pimpl.C:
3492         * bufferview_funcs.C:
3493         * lyxcursor.C:
3494         * lyxcursor.h:
3495         * lyxfunc.C:
3496         * lyxtext.h:
3497         * rowpainter.C:
3498         * text.C:
3499         * text2.C:
3500         * text3.C: remove LyXCursor::row_ member
3501
3502         * lyxtext.h:
3503         * text.C: rename fullRebreak() to partialRebreak() and implement
3504           a fullRebreak() that really bereks fully
3505
3506         * textcursor.h: new struct for cursor-related data
3507
3508 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
3509
3510         * lyx_main.C (LyX): get full path of document loaded on the
3511         command line
3512
3513 2003-06-26  André Pönitz  <poenitz@gmx.net>
3514
3515         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3516           remove unused/broken operator>,<,>=.
3517
3518         *       text.C: remove only use of broken operator<= in an Assert().
3519
3520 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3521
3522         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3523         moved errorlist_.clear to showErrorList
3524
3525 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3526
3527         * converter.C (scanLog, runLaTeX):
3528         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3529         move the bv->showErrorList call to the callers
3530         * lyxfunc.C: i.e. here...
3531         * text2.C: and here
3532         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3533         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3534         namespace, the second to...
3535         * buffer_funcs (BufferFormat, parseErrors): added
3536         * errorlist.C (ErrorList(TeXErrors const &)): removed
3537
3538 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3539
3540         * ToolbarBackend.C (getIcon): complain when icon cannot be found
3541
3542 2003-06-24  "Garst R. Reese" <reese@isn.net>
3543
3544         * debug.C: fix typo
3545
3546 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3547
3548         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3549
3550         * version.C.in: change docversion to 1.4
3551
3552 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
3553
3554         * buffer.C: fix a bug just introduced
3555
3556 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
3557
3558         * buffer.[Ch]: added the parseError signal and use it, removed
3559         sgmlError
3560         * BufferView.[Ch] (addError): moved to ...
3561         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3562         to the Buffer::parseError signal to catch (guess what) parse errors
3563         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3564
3565 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
3566
3567         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3568         ability to create a buffer and to return an existing one from
3569         the list. Moved these functions to...
3570         * buffer_funcs.[Ch]: added
3571         * BufferView.[Ch] (loadLyXFile): added
3572         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3573         job removed from bufferlist::loadLyXFile.
3574         * buffer.C (setReadOnly): make it work without view
3575         (i.e added an if (users))
3576
3577 2003-06-19  Angus Leeming  <leeming@lyx.org>
3578
3579         * lfuns.h:
3580         * LyXAction.C (init):
3581         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3582         with LFUN_DIALOG_SHOW <name> <data>.
3583
3584 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3585
3586         * CutAndPaste.C (availableSelections): small compilation fix for
3587         ancient (gcc 2.9x) compilers
3588
3589 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3590
3591         * text3.C (cursorNext): add tmp var
3592
3593         * text2.C (updateCounters): for function calling out of for clause
3594         (replaceSelectionWithString): ditto
3595         (insertStringAsParagraphs): ditto
3596         (getColumnNearX): add tmp var
3597         (setCursorFromCoordinates): add tmp var
3598         (cursorDownParagraph): add tmp var
3599         (deleteEmptyParagraphMechanism): add tmp var
3600
3601         * text.C (insertChar): add tmp var
3602
3603         * rowpainter.C (paintDepthBar): add tmp var
3604
3605         * CutAndPaste.C (availableSelections): potentially check all
3606         paragraphs in a cut to fill the shown strings.
3607
3608 2003-06-18  André Pönitz  <poenitz@gmx.net>
3609
3610         * kbmap.[Ch]: use vector<> instead of list<>
3611
3612 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
3613
3614         * text3.C (dispatch): handle arg to LFUN_PASTE, call
3615         pasteSelection with index
3616
3617         * text2.C (pasteSelection): modify, call pasteSelection with index
3618
3619         * paragraph.C (asString): reimplement version with no interval to
3620         call the one with interval.
3621
3622         * lyxtext.h: add index arg to pasteSelection
3623
3624         * MenuBackend.C (MenuItem): handle PasteRecent
3625         (Menu::read::Menutags): add md_pasterecent
3626         (read): handle it
3627         (expandPasteRecent): new function
3628         (expand): use it
3629
3630         * MenuBackend.h: add PasteRecent to MenuItem::Kind
3631
3632         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3633         the limited stack
3634         (availableSelections): new function
3635
3636 2003-06-17  Angus Leeming  <leeming@lyx.org>
3637
3638         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3639
3640 2003-06-17  Angus Leeming  <leeming@lyx.org>
3641
3642         * lfuns.h:
3643         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3644
3645         * lyxfunc.C (dispatch): invoke it.
3646
3647 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3648
3649         * iterators.C (operator++, ParPosition): reintroduce some
3650         const_cast for the benefit of older compilers.
3651
3652 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3653
3654         * text3.C (dispatch): do not modify clipboard when doing
3655         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3656         LFUN_DELETE_SKIP on a selection selection
3657
3658 2003-06-16  André Pönitz  <poenitz@gmx.net>
3659
3660         * BufferView.C:
3661         * buffer.C:
3662         * buffer.h:
3663         * paragraph.C:
3664         * tabular.[Ch]: IU of clone() and getLabelList();
3665
3666 2003-06-13  André Pönitz  <poenitz@gmx.net>
3667
3668         * tabular.h: compactification
3669
3670 2003-06-12  André Pönitz  <poenitz@gmx.net>
3671
3672         * tabular.C:
3673         * tabular.h:
3674         * tabular_funcs.h: some renaming plus whitespace
3675
3676 2003-06-12  André Pönitz  <poenitz@gmx.net>
3677
3678         * BufferView.C:
3679         * BufferView_pimpl.C:
3680         * CutAndPaste.C:
3681         * buffer.C:
3682         * iterators.[Ch]:
3683         * lyxfunc.C:
3684         * text.C:
3685         * toc.C: Return a Paragraph & for ParIterator::operator*()
3686
3687 2003-06-11  John Levon  <levon@movementarian.org>
3688
3689         * lyx_main.C:
3690         * ToolbarBackend.h:
3691         * ToolbarBackend.C: add "Toolbars" section and
3692         put the flags there
3693
3694 2003-06-10  Angus Leeming  <leeming@lyx.org>
3695
3696         * lfuns.h:
3697         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3698
3699         * lyxfunc.C (dispatch): invoke it.
3700
3701 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3702
3703         * main.C: protect <ios> with HAVE_IOS
3704         (main): protect sync_with_stdio with HAVE_IOS
3705
3706 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
3707
3708         * text2.C (cutSelection): adjust
3709         (pasteSelection): adjust
3710
3711         * messages.C: handle get of empty string
3712
3713         * main.C (main): use sync_with_stdio(false)
3714
3715         * lyxfunc.C (dispatch): adjust
3716
3717         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3718         (WriteAs): remove unneeded BufferView arg.
3719
3720         * bufferparams.h: use correct types on papersize, papersize2 and
3721         paperpackage.
3722
3723         * bufferparams.C (readToken): adjust for type
3724         (writeLaTeX): add missing cases to switch.
3725
3726         * bufferlist.C (quitWriteBuffer): adjust
3727         (close): adjust
3728
3729         * buffer.C (asciiParagraph): remove some commented code.
3730
3731         * CutAndPaste.C: remove current_view extern variable.
3732         (cutSelection): add BufferParams arg.
3733         (eraseSelection): add BufferParams arg.
3734         (pasteSelection): add Buffer const & arg
3735
3736 2003-06-07  John Levon  <levon@movementarian.org>
3737
3738         * buffer.C:
3739         * paragraph_funcs.C:
3740         * paragraph_pimpl.C:
3741         * text.C:
3742         * text2.C:
3743         * paragraph.h:
3744         * paragraph.C: allow InsetERT to freely space lines,
3745         and some consolidation of code
3746
3747 2003-06-06  José Matos  <jamatos@fep.up.pt>
3748
3749         * buffer.C (makeDocBookFile): fix bug #821
3750
3751 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
3752
3753         * BufferView_pimpl.C (dispatch): use Dialogs::visible
3754
3755 2003-06-04  Angus Leeming  <leeming@lyx.org>
3756
3757         * buffer.C: bump format to 224.
3758
3759 2003-06-05  André Pönitz  <poenitz@gmx.net>
3760
3761         * text2.C (redoParagraphs): remove two const_cast<>
3762
3763 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3764
3765         * ParagraphList.h: remove last remnants of NO_STD_LIST
3766
3767 2003-06-03  Angus Leeming  <leeming@lyx.org>
3768
3769         * factory.C (createInset): small change to the way InsetExternal's params
3770         are set.
3771
3772 2003-06-04  André Pönitz  <poenitz@gmx.net>
3773
3774         * buffer.h: use Undo directly instead of shared_ptr<Undo>
3775
3776         * paragraph_pimpl.h:
3777         * paragraph.[Ch]: some Inset -> UpdatableInset changes
3778
3779         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3780
3781         * undo_funcs.C: make some simple cases of undo work again
3782
3783 2003-06-03  John Levon  <levon@movementarian.org>
3784
3785         * ispell.C: HPUX doesn't have sys/select.h
3786         (from Albert Chin)
3787
3788 2003-06-03  John Levon  <levon@movementarian.org>
3789
3790         * CutAndPaste.C: update tabular and include inset
3791         buffer references
3792
3793         * buffer.h:
3794         * paragraph.h:
3795         * paragraph.C: remove owningBuffer(), don't pass Buffer
3796         to clone()
3797
3798         * factory.C: insetGraphicsParams changed
3799
3800 2003-06-02  John Levon  <levon@movementarian.org>
3801
3802         * LyXAction.C:
3803         * factory.C:
3804         * lfuns.h:
3805         * lyxfunc.C:
3806         * text3.C: remove insetparent
3807
3808 2003-06-02  John Levon  <levon@movementarian.org>
3809
3810         * buffer.h:
3811         * buffer.C: fix inset_iterator.end(), move out of line
3812         (bug 1149)
3813
3814 2003-06-01  John Levon  <levon@movementarian.org>
3815
3816         * text3.C: use a proper cut/paste when doing inset
3817         insert (from Jürgen Spitzmüller)
3818
3819 2003-06-01  John Levon  <levon@movementarian.org>
3820
3821         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3822
3823 2003-05-30  André Pönitz  <poenitz@gmx.net>
3824
3825         * rowpainter.C: unify second drawing phase
3826
3827 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3828
3829         * trans_mgr.C: remove one case of current_view
3830
3831         * text2.C (cursorBottom): delete NO_STD_LIST stuff
3832
3833         * paragraph_funcs.h: remove paragraph.h include
3834
3835         * paragraph.h: delete NO_STD_LIST stuff
3836
3837         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3838
3839         * buffer.h: remove paragraph.h include
3840
3841         * ParagraphList.C: delete file
3842
3843         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3844
3845         * toc.C (getTocList): adjust
3846
3847         * paragraph_pimpl.C (validate): adjust
3848
3849         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3850
3851         * paragraph.C (Paragraph): adjust
3852         (getPositionOfInset): use const_iterator, adjust
3853         (bibitem): use const_iterator, adjust
3854         (setInsetOwner): adjust
3855
3856         * iterators.C (operator++): adjust
3857
3858         * InsetList.[Ch]: Replace selfmade iterator with standard
3859         vector::iterator also introduce const_iterator. Remove getPos,
3860         getInset and setInset from InsetTable. Adjust accordingly.
3861
3862         * BufferView.C (lockInset): adjust
3863         (ChangeInsets): adjust
3864
3865         * tabular.[Ch]: delete commented same_id functions
3866
3867 2003-05-28  John Levon  <levon@movementarian.org>
3868
3869         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3870
3871 2003-05-28  André Pönitz  <poenitz@gmx.net>
3872
3873         * metricsinfo.[Ch]: remove 'fullredraw' member
3874
3875 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3876
3877         * lyxtextclass.C (operator): remove caching.
3878
3879 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3880
3881         * text3.C: adjust
3882
3883         * text2.C (cursorBottom): adjust
3884         (setCounter): use ParagraphList::find, adjust
3885
3886         * text.C (workWidth): use ParagraphList::find, adjust
3887
3888         * lyxcursor.C (LyXCursor): adjust
3889
3890         * buffer.C (inset_iterator): adjust
3891
3892         * ParagraphList.h: make iterator(value_type) private, make
3893         ParagraphList a friend of iterator.
3894
3895         * ParagraphList.C (find): new function
3896
3897         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3898
3899 2003-05-27  André Pönitz  <poenitz@gmx.net>
3900
3901         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3902
3903 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3904
3905         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3906
3907 2003-05-26  John Levon  <levon@movementarian.org>
3908
3909         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3910
3911 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3912
3913         * remove same_id from function signatures, adjust.
3914
3915 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3916
3917         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3918
3919         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3920
3921         * paragraph.C (Paragraph): get rid of same_ids parameter
3922
3923         * ParagraphList.C (insert): adjust
3924         (push_back): adjust
3925
3926 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3927
3928         * paragraph_funcs.C (breakParagraph): adjust
3929         (breakParagraphConservative): adjust
3930
3931         * buffer.C (readParagraph): adjust
3932
3933         * ParagraphList.C (insert): take a reference instead of a pointer
3934         (insert): adjust
3935
3936         * paragraph.[Ch] (id): new function
3937
3938         * bufferlist.C (newFile): adjust
3939
3940         * ParagraphList.C (ParagraphList): adjust
3941         (assign): adjust
3942         (push_back): take a reference instead of a pointer.
3943
3944         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3945
3946         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3947         instead.
3948
3949         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3950         set else use old code.
3951
3952         * ParagraphList.C: remove all NO_NEXT code and only compile this
3953         code of NO_STD_LIST is set.
3954
3955 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3956
3957         * BufferView_pimpl.C:
3958         * TextCache.C:
3959         * TextCache.h:
3960         * bufferlist.C:
3961         * errorlist.h:
3962         * format.C:
3963         * format.h:
3964         * graph.C:
3965         * lyxfunc.C:
3966         * lyxrc.C:
3967         * graphics/GraphicsConverter.C:
3968         * graphics/PreviewLoader.C: header adjustment
3969
3970 2003-05-23  Angus Leeming  <leeming@lyx.org>
3971
3972         * LaTeXFeatures.[Ch] (useBabel): new method.
3973         * bufferparams.C (writeLaTeX): use it.
3974
3975 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3976
3977         * ParagraphList.h (set): remove unused function.
3978
3979 2003-05-23  André Pönitz  <poenitz@gmx.net>
3980
3981         * BufferView.C:
3982         * BufferView_pimpl.C:
3983         * buffer.C:
3984         * buffer.h:
3985         * lyxfunc.C:
3986         * undo_funcs.C: setUndo reworked
3987
3988         * iterators.[Ch]: add access to topmost ParagraphList
3989
3990         * lyxtext.[Ch] (workWidth): add a const
3991
3992 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3993
3994         * texrow.[Ch] (increasePos): remove function
3995         * exporter.C (export): removed unused var and outdated comment
3996
3997 2003-05-23  Angus Leeming  <leeming@lyx.org>
3998
3999         * latexrunparams.h: rename fragile as moving_arg.
4000         * paragraph.C (simpleTeXOnePar): ditto.
4001         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4002
4003 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4004
4005         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4006         (createUndo): ditto
4007         (textUndoOrRedo): comment out a currently unused var.
4008
4009         * paragraph.h (NO_NEXT): enable NO_NEXT
4010
4011         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4012
4013         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4014
4015         * exporter.C (Export): adjust for removeAutoInsets removal.
4016
4017         * buffer.C (runChktex): adjust for removeAutoInsets removal.
4018
4019         * LyXAction.C (init): remove LFUN_REMOVEERRORS
4020
4021         * BufferView.[Ch] (removeAutoInsets): delete function
4022
4023 2003-05-22  Angus Leeming  <leeming@lyx.org>
4024
4025         * latexrunparams.h: add a free_spacing variable.
4026
4027         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4028         to pass moving_arg, as the data is stored in runparams.fragile.
4029
4030         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4031         to Inset::latexOptional or to simpleTeXOnePar.
4032
4033         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4034         free_spacing arg to Inset::latexOptional.
4035
4036         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4037         free_spacing arg.
4038
4039 2003-05-22  Angus Leeming  <leeming@lyx.org>
4040
4041         * latexrunparams.h: add fragile and use_babel variables.
4042
4043         * bufferparams.[Ch] (writeLaTeX): return use_babel.
4044         * buffer.C (makeLaTeXFile): store this returned value in
4045         runparams.use_babel, thus passing it to the inset::latex methods.
4046
4047         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4048         simpleTeXSpecialChars as it is now stored in runparams.fragile.
4049
4050         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4051         longer has a fragile arg, as it is stored in runparams.fragile.
4052
4053         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4054         moving_arg parameter as the data is stored in runparams.fragile.
4055
4056         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4057         a fragile parameter as the data is stored in runparams.fragile.
4058
4059 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4060
4061         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4062
4063 2003-05-22  Angus Leeming  <leeming@lyx.org>
4064
4065         * latexrunparams.h: add a 'bool nice' which defaults to false.
4066
4067         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4068         now encapsulated within runparams.
4069
4070         * bufferlist.C (updateIncludedTeXfiles):
4071         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4072
4073 2003-05-22  Angus Leeming  <leeming@lyx.org>
4074
4075         * latexrunparams.h: new file containing struct LatexRunParams.
4076         * Makefile.am: add new file.
4077
4078         * LaTeX.[Ch] (c-tor, run):
4079         * buffer.[Ch] (makeLaTeXFile):
4080         * bufferlist.[Ch] (updateIncludedTeXfiles):
4081         * converter.C (convert, scanLog):
4082         * converter.[Ch] (runLaTeX):
4083         * exporter.C (Export):
4084         * paragraph.[Ch] (simpleTeXOnePar):
4085         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4086         * paragraph_funcs.[Ch] (latexParagraphs):
4087         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4088         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4089         pass around a LatexRunParams parameter.
4090
4091 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4092
4093         * paragraph.[Ch]: remove unused constructor
4094
4095         * ParagraphList.C (erase): new function, taking two iterators
4096
4097 2003-05-22  André Pönitz  <poenitz@gmx.net>
4098
4099         * undo_funcs.C: remove duplicated code
4100
4101         * iterator.[Ch]: operator=
4102
4103 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4104
4105         * tabular.C (SetMultiColumn): ws changes
4106
4107         * rowpainter.C (paintFirst): get rid of a ->previous
4108
4109         * lyx_cb.C (getPossibleLabel): parlist simplification
4110
4111         * BufferView.C (ChangeInsets): simplify slightly.
4112
4113 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4114
4115         * LyXAction.C: new lfun space-insert, kill protected-space-insert
4116         * lfuns.h: new LFUN_SPACE
4117         * lyxfunc.C: protected space has a new lfun
4118         * paragraph_funcs.C: read new space insets
4119         * text3.C:
4120         * factory.C: handle new space insets
4121
4122 2003-05-22  André Pönitz  <poenitz@gmx.net>
4123
4124         * BufferView.C:
4125         * BufferView_pimpl.C:
4126         * buffer.[Ch]:
4127         * lyxfunc.C:
4128         * undo_funcs.C: return a ParIterator from getParFromID.
4129
4130         * iterators.[Ch]: add two const's
4131
4132 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4133
4134         * toc.C (getTocList): adjust
4135
4136         * iterators.[Ch]: rework for parlist
4137
4138         * buffer.C (par_iterator_begin): adjust
4139         (par_iterator_end): adjust
4140
4141         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4142
4143         * BufferView.C (removeAutoInsets): adjust
4144         (ChangeInsets): adjust
4145
4146 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
4147
4148         * text.C (top_y): fix bug 1110
4149
4150 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
4151
4152         * errorlist.[Ch]: added
4153         * buffer.C:
4154         * BufferView.[Ch]:
4155         * BufferView_pimpl.C:
4156         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4157         instead
4158
4159 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4160
4161         * Makefile.am: ensure that lyx is relinked upon changes to the
4162         various "convenience" libs.
4163
4164 2003-05-20  Angus Leeming  <leeming@lyx.org>
4165
4166         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4167         files are compiled in alphabetical order again.
4168
4169         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4170
4171 2003-05-19  Angus Leeming  <leeming@lyx.org>
4172
4173         * gettext.[Ch]: remove "char const * _(char const *)".
4174
4175 2003-05-19  André Pönitz  <poenitz@gmx.net>
4176
4177         * dimension.[Ch]: promote from mathed/dimension.[Ch]
4178
4179         * Makefile.am:
4180         * BufferView.C:
4181         * DepTable.h:
4182         * LaTeXFeatures.C:
4183         * buffer.C:
4184         * lyxfont.C:
4185         * lyxlex.h:
4186         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4187
4188 2003-05-19  André Pönitz  <poenitz@gmx.net>
4189
4190         * buffer.C:
4191         * lyxlayout.[Ch]:
4192         * lyxtextclass.[Ch]:
4193         * paragraph.C:
4194         * paragraph_funcs.[Ch]:
4195         * text2.C:
4196         * text3.C: more insetenv work
4197
4198 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
4199
4200         * ParagraphParameters.C (params2string): small bug fixed
4201
4202 2003-05-16  André Pönitz  <poenitz@gmx.net>
4203
4204         * debug.C:
4205         * bufferview_funcs.C: patch from Kornel Benko to prevent
4206           crash when _(...) is called twice in a statement
4207
4208 2003-05-16  André Pönitz  <poenitz@gmx.net>
4209
4210         * BufferView.C:
4211         * lyxfunc.C:
4212         * text.C:
4213         * text2.C:
4214         * text3.C:
4215         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4216
4217 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
4218
4219         * lyx_main.C (init): remove spurious static_cast
4220
4221 2003-05-14  André Pönitz  <poenitz@gmx.net>
4222
4223         * BufferView.C: fix format string
4224
4225 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
4226
4227         * BufferView.[Ch] (insertErrors): removed
4228         * BufferView.[Ch] (showErrorList): added
4229         * buffer.C (runChkTeX):
4230         * converter.C (scanLog): call showErrorList instead of inserterrors
4231
4232 2003-05-13  André Pönitz  <poenitz@gmx.net>
4233
4234         * BufferView_pimpl.C:
4235         * buffer.C:
4236         * bufferview_func.C:
4237         * MenuBackend.C:
4238         * lyxfunc.C:
4239         * lyxrc.C:
4240         * tex-accent.C:
4241         * text3.C:
4242         * toc.C:
4243         * tabular_funcs.h: tostr() from its own header
4244
4245         * ParagraphParameters.C:
4246         * ToolbarBackend.C:
4247         * bufferparams.C:
4248         * format.C:
4249         * lyxlex_pimpl.C:
4250         * text3.C: STRCONV()
4251
4252 2003-05-12  André Pönitz  <poenitz@gmx.net>
4253
4254         * BufferView.C:
4255         * BufferView_pimpl.C:
4256         * CutAndPaste.C:
4257         * LaTeX.C:
4258         * LaTeXFeatures.C:
4259         * ParagraphParameters.C:
4260         * buffer.C:
4261         * bufferlist.C:
4262         * bufferparams.C:
4263         * bufferview_funcs.C:
4264         * converter.C:
4265         * counters.C:
4266         * debug.C:
4267         * exporter.C:
4268         * format.C:
4269         * importer.C:
4270         * lyx_cb.C:
4271         * lyx_main.C:
4272         * lyxfont.C:
4273         * lyxfunc.C:
4274         * lyxvc.C:
4275         * paragraph.C:
4276         * paragraph_funcs.C:
4277         * tabular.C:
4278         * tabular_funcs.C:
4279         * text2.C:
4280         * text3.C:  boost::format -> bformat  all over the place
4281
4282
4283 2003-05-09  André Pönitz  <poenitz@gmx.net>
4284
4285         * LColor.[Ch]: Pimpl the #include <map> away
4286
4287 2003-05-09  John Levon  <levon@movementarian.org>
4288
4289         * bufferlist.C: never remove emergency saves
4290
4291 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4292
4293         * Makefile.am: better lib building
4294
4295 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4296
4297         * texrow.[Ch]: remove dependency on Paragraph and just store a id
4298         instead.
4299         * paragraph_pimpl.C (simpleTeXBlanks): adjust
4300         (simpleTeXSpecialChars): adjust
4301         (simpleTeXSpecialChars): adjust
4302         * paragraph.C (simpleTeXOnePar): adjust
4303         * buffer.C (makeLaTeXFile): adjust
4304
4305         * Makefile.am (BOOST_LIBS): allow boost as system lib.
4306
4307         * text2.C (changeDepth): parlist cleanup
4308         (getColumnNearX): ditto
4309
4310         * rowpainter.C (getLabelFont): parlist cleanup
4311
4312         * bufferlist.C (newFile): parlist cleanup
4313
4314         * CutAndPaste.C (eraseSelection): parlist cleanup
4315
4316         * BufferView_pimpl.C (trackChanges): parlist cleanup
4317         (dispatch): ditto
4318
4319         * BufferView.C (lockInset): parlist cleanup.
4320         (ChangeInsets): ditto
4321
4322 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4323
4324         * CutAndPaste.h: Update file header.
4325
4326         * CutAndPaste.C: Update file header.
4327         Store the parts cut out of the Document in a limited_stack.
4328         (copySelection): adjust
4329         (pasteSelection): new function, takes the index in the limited stack.
4330         (nrOfParagraphs): adjust
4331         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4332         simplify error inset insertion.
4333         (checkPastePossible): adjust
4334
4335 2003-05-06  John Levon  <levon@movementarian.org>
4336
4337         * text2.C: don't cast wrap inset to float
4338
4339 2003-05-05  André Pönitz  <poenitz@gmx.net>
4340
4341         * iterator.C:
4342         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4343
4344         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4345           few naked Paragraph *.
4346
4347 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
4348
4349         * bufferparams.C: Output warning if a document with missing
4350         TeX document class is loaded
4351         * exporter.C: Disable TeX exports if the document class is missing
4352         * lyxtextclass.C:
4353         * lyxtextclass.h:
4354         * lyxtextclasslist.C: Handle new textclass.lst format; new method
4355         isTeXClassAvailable()
4356
4357 2003-05-03  John Levon  <levon@movementarian.org>
4358
4359         * BufferView.h:
4360         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4361         explicit cursor show/hide
4362
4363         * BufferView_pimpl.h:
4364         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4365         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4366
4367         * lyxfunc.C: hide cursor before dispatching.
4368
4369         * lyx_cb.C:
4370         * lyxfind.C:
4371         * text.C:
4372         * text3.C: remove explicit cursor hides
4373
4374 2003-05-02  André Pönitz  <poenitz@gmx.net>
4375
4376         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4377
4378         * undo_funcs.C:
4379         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4380           linked lists
4381
4382         * text2.C: tiny whitespace
4383
4384 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4385
4386         * undo_funcs.C: almost only ws changes.
4387
4388         * ParagraphList.C (splice): just return if pl is empty.
4389
4390 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4391
4392         * ParagraphList.C (splice): new function.
4393
4394         * CutAndPaste.C (pasteSelection): use it
4395
4396 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4397
4398         * CutAndPaste.C (pasteSelection): remove the last next and
4399         previous from this file.
4400
4401 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4402
4403         * CutAndPaste.C (pasteSelection): more clean up, user proper
4404         ParagraphList functions for pasteing.
4405
4406         * ParagraphList.C (insert): new function, three arg insert
4407
4408 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4409
4410         * ParagraphList.C (insert): new function, three arg insert
4411
4412         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4413         not on paragraphs.
4414
4415 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4416
4417         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4418
4419 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4420
4421         * CutAndPaste.C (pasteSelection): remove some unneeded code.
4422
4423 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4424
4425         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4426         (copySelection): clean up a bit.
4427         (pasteSelection): use make_pair
4428
4429         * ParagraphList.C (ParagraphList): implement copy constructor
4430         (operator=): implement, base on copy constructor.
4431         (assign): new func
4432
4433         * paragraph.C (erase): return a bool
4434
4435         * paragraph_pimpl.C (erasePos): remove function, move contents...
4436         (erase): ... here. Return a bool.
4437         (erase): call erase instead of erasePos.
4438
4439 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
4440
4441         * ParagraphList.h: define PitPosPair
4442         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4443         ParagraphList, fix a bug on pasting multiple pars
4444         * text2.C: change interface to C&P
4445
4446 2003-04-30  André Pönitz  <poenitz@gmx.net>
4447
4448         * undo_func.C: revert part of yesterday's patch 2
4449
4450 2003-04-30  John Levon  <levon@movementarian.org>
4451
4452         * LColor.C: s/tabular/table/
4453
4454 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4455
4456         * text3.C (dispatch): do not convert iterator -> pointer
4457         * undo_funcs.C (setCursorParUndo): ditto
4458         * text_funcs.C (transposeChars): ditto
4459
4460         * text2.C (setLayout): ws changes only
4461
4462         * text.C (breakParagraph): do not convert iterator -> pointer
4463         (insertChar): ditto
4464         (acceptChange): ditto
4465         (rejectChange): ditto
4466         (changeCase): ditto
4467         (Delete): ditto
4468         (backspace): ditto
4469
4470         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4471         pointer
4472
4473 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4474
4475         * text3.C (gotoInset): YABG (yet another bad getChar)
4476
4477 2003-04-29  André Pönitz  <poenitz@gmx.net>
4478
4479         * paragraph.h: make operator= private unimplemented as long as
4480           it is unusable
4481
4482         * ParagraphList.C: whitespace
4483
4484         * paragraph.[Ch]:
4485         * paragraph_pimpl.[Ch]:
4486         * paragraph_funcs.C:
4487         * CutAndPaste.C:
4488         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
4489
4490         * text2.C:
4491           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4492
4493 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4494
4495         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4496         * paragraph.[Ch] (erase):
4497         * paragraph_pimpl.[Ch] (erase): change return type and value
4498         * text2.C (cutSelection): some rework
4499
4500 2003-04-28  John Levon  <levon@movementarian.org>
4501
4502         * bufferlist.C: changes for unsaved changes dialog
4503
4504 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4505
4506         * bufferlist.C (newFile): set language (messages_) for new
4507         documents also.
4508
4509         * buffer.C (readFile): ws changes only.
4510
4511 2003-04-28  André Pönitz  <poenitz@gmx.net>
4512
4513         * undo_funcs.C:
4514         * lyxfunc.C:
4515         * buffer.[Ch]:
4516         * BufferView_pimpl.C:
4517         * BufferView.C: getParFromID related ParagraphList::iterator changes
4518
4519 2003-04-28  André Pönitz  <poenitz@gmx.net>
4520
4521         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4522           Changes
4523
4524 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4525
4526         * messages.C: remove one more localedir class variable.
4527
4528 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4529
4530         * messages.C (getLocaleDir): singleton generation function
4531         (Pimpl): use it.
4532         (Messages): add a default constructor.
4533
4534         * main.C (main): do not setup localedir here, do not call
4535         gettext_init.
4536
4537         * gettext.C (_): use it.
4538         (gettext_init): delete funciton
4539
4540 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4541
4542         * gettext.C (getLyXMessages): new singleton generating function.
4543
4544         * buffer.C (updateDocLang): adjust
4545
4546         * Makefile.am (messages.o): add target
4547         (main.o): remove target
4548
4549 2003-04-27  John Levon  <levon@movementarian.org>
4550
4551         * bufferlist.C:
4552         * lyx_cb.C:
4553         * lyxfunc.C:
4554         * lyxvc.C: specify cancel button in Alert::prompt
4555
4556 2003-04-26  John Levon  <levon@movementarian.org>
4557
4558         * text3.C:
4559         * lyxfunc.C:
4560         * lfuns.h:
4561         * LyXAction.C: add LFUN_INSET_SETTINGS
4562
4563         * lyxfunc.C: don't enable tabular-feature when there's
4564         just any locking inset
4565
4566 2003-04-26  John Levon  <levon@movementarian.org>
4567
4568         * bufferlist.C: re-add Cancel to buffer close question
4569
4570         * lyxfunc.C: fix import UI a bit
4571
4572 2003-04-25  John Levon  <levon@movementarian.org>
4573
4574         * gettext.C: remove the broken asserts for now
4575
4576 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4577
4578         * messages.C: make case where setlocale cannot comply work better.
4579
4580         * buffer.C (updateDocLang): new function
4581         (changeLanguage): use it
4582         (readFile): use it
4583
4584         * text2.C (setCounter): use B_ a bit.
4585
4586         * lyxlayout.C (Read): be sure to trim the label strings.
4587
4588         * messages.C (Messages): fix typo in comment
4589
4590         * buffer.C (readFile): set message_ after file is loaded.
4591         (makeDocBookFile): remove double return
4592         (changeLanguage): reset message_ upon language change.
4593         (B_): new func, use this to get translated buffer strings.
4594
4595         * main.C: add myself and Jean Marc as authors.
4596
4597 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4598
4599         * messages.[hC]: pimplify Messages, and three different pimpls to be
4600         used in different circumstances.
4601
4602         * gettext.[Ch]: change for use with new message code.
4603
4604 2003-04-24 André Pönitz <poenitz@gmx.net>
4605
4606         * factory.C: support for eqref
4607
4608 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4609
4610         * messages.[Ch]: add missing char
4611
4612         * Makefile.am (lyx_SOURCES): add messages.[Ch]
4613
4614         * messages.[Ch]: New files
4615
4616 2003-04-18  John Levon  <levon@movementarian.org>
4617
4618         * BufferView.h:
4619         * BufferView.C:
4620         * BufferView_pimpl.C:
4621         * lfuns.h:
4622         * LyXAction.C:
4623         * lyxtext.h:
4624         * text2.C: remove layout-copy/paste (bug 778)
4625
4626 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4627
4628         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4629
4630 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4631
4632         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4633         if they succeed. Act accordingly.
4634
4635 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4636
4637         * text2.C (setCharFont): adjust
4638         (setCounter): adjust
4639         (insertStringAsLines): adjust
4640
4641         * text.C (leftMargin): adjust
4642         (setHeightOfRow): adjust
4643
4644         * rowpainter.C (paintFirst): adjust
4645         (paintLast): adjust
4646
4647         * paragraph_funcs.C (depthHook): ParagraphList::iterators
4648         (outerHook): ditto
4649         (isFirstInSequence): ditto
4650         (getEndLabel): ditto
4651         (outerFont): adjust
4652
4653         * paragraph.C (getParLanguage): comment out some hard stuff.
4654
4655         * buffer.C (insertStringAsLines): take a ParagraphList as arg
4656         (sgmlError): ditto
4657         (simpleDocBookOnePar): ditto
4658         (makeDocBookFile): use ParagraphList::iterator
4659
4660         * CutAndPaste.C (pasteSelection): adjust
4661
4662 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4663
4664         * text2.C (getFont): adjust
4665         (getLayoutFont): adjust
4666         (getLabelFont): adjust
4667
4668         * paragraph_funcs.C (TeXOnePar): adjust
4669
4670         * buffer.C (simpleLinuxDocOnePar): adjust
4671         (simpleDocBookOnePar): adjust
4672
4673         * CutAndPaste.C (pasteSelection): adjust
4674
4675         * BufferView.C (getEncoding): adjust
4676
4677         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4678
4679 2003-04-16  John Levon  <levon@movementarian.org>
4680
4681         * lyxfind.C: use parlist stuff for search/changes
4682
4683 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4684
4685         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4686
4687         * text2.C (deleteEmptyParagraphMechanism): adjust
4688
4689         * text2.[Ch] (ownerParagraph): delete func (both of them
4690
4691 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4692
4693         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4694
4695 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4696
4697         * ParagraphList.C: prepare for NO_NEXT
4698
4699 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4700
4701         * text2.C (getFont): adjust
4702         (getLayoutFont): adjust
4703         (getLabelFont): adjust
4704
4705         * paragraph.C (getFont): adjust
4706         (getLabelFont): adjust
4707         (getLayoutFont): adjust
4708
4709         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4710
4711 2003-04-15  John Levon  <levon@movementarian.org>
4712
4713         From Angus Leeming
4714
4715         * lyx_main.C: handle Include in .ui files
4716
4717 2003-04-15  John Levon  <levon@movementarian.org>
4718
4719         * MenuBackend.C: make the doc files length shorter
4720
4721         * ToolbarBackend.h:
4722         * ToolbarBackend.C: handle toolbar placement flags,
4723         Minibuffer
4724
4725 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4726
4727         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4728         adjust
4729
4730         * paragraph_funcs.C (TeXOnePar): adjust
4731
4732         * paragraph.C (getLabelFont): add outerfont arg, adjust
4733         (getLayoutFont): ditto
4734         (simpleTeXOnePar): adjust
4735
4736         * paragraph_pimpl.C (realizeFont): delete func
4737
4738 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
4739
4740         * text2.C (beforeFullRowInset): added a bad getchar check, removed
4741         row argument, constify cur argument.
4742
4743 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4744
4745         * text2.C (getFont): adjust
4746         (getLayoutFont): adjust
4747         (getLabelFont): adjust
4748
4749         * paragraph_funcs.C (TeXOnePar): adjust
4750         (outerFont): new func...
4751         (realizeFont): ...moved out from here, changed this to facilitate
4752         transition
4753
4754         * paragraph.C (getFont): take outerfont as arg, adjust
4755         (simpleTeXOnePar): add outerfont arg, adjust
4756
4757         * buffer.C (simpleLinuxDocOnePar): adjust
4758         (simpleDocBookOnePar): adjust
4759
4760         * CutAndPaste.C (pasteSelection): adjust
4761
4762         * BufferView.C (getEncoding): adjust
4763
4764 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4765
4766         * text2.C (setCharFont): adjust
4767         (setCounter): adjust
4768
4769         * text.C (leftMargin): adjust
4770         (setHeightOfRow): adjust
4771
4772         * rowpainter.C (paintFirst): adjust
4773         (paintLast): adjust
4774
4775         * paragraph_pimpl.C (realizeFont): adjust
4776
4777         * paragraph.C (isFirstInSequence): move from here...
4778         * paragraph_funcs.C (isFirstInSequence): ...to here
4779
4780         * paragraph.C (outerHook): move from here...
4781         * paragraph_funcs.C (outerHook): ...to here
4782
4783         * paragraph.C (depthHook): move from here...
4784         * paragraph_funcs.C (depthHook): ...to here
4785
4786         * paragraph.C (getEndLabel): move from here...
4787         * paragraph_funcs.C (getEndLabel): ...to here
4788
4789         * text2.C (realizeFont): move from here...
4790         * paragraph_funcs.C (realizeFont): ...to here
4791
4792 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4793
4794         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4795
4796 2003-04-14  Angus Leeming  <leeming@lyx.org>
4797
4798         * LColor.[Ch]: scrap LColor mathcursor.
4799
4800 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4801
4802         * lyxlex.[Ch] (text): delete function
4803         * trans.C (Load): adjust
4804         * paragraph_funcs.C (readParToken): adjust
4805
4806 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4807
4808         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4809         vector<char> instead of a char[].
4810
4811         * lyxlex_pimpl.C (getString): adjust
4812         (next): adjust
4813         (lex): use getString
4814         (eatLine): adjust
4815         (nextToken): adjust
4816
4817         * lyxlex.C (text): use pimpl_->getString()
4818         (getBool): ditto
4819         (findToken): ditto
4820
4821 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4822
4823         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4824         (makeFontEntriesLayoutSpecific): temp var for par.size()
4825         (setLayout): temp var for ownerParagraphs().end()
4826         (fullRebreak): temp var for rows().end()
4827         (selectionAsString): temp var for boost::next(startpit), realize
4828         that the while really is a regular for loop.
4829         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4830         setCursor in one place.
4831         (setParagraph): temp vr for ownerParagraphs().end()
4832         (updateCounters): make the while loop a for loop
4833         (cutSelection): temp var for ownerParagraphs().end()
4834         (updateInset): make the do {} while() a regular for loop
4835         (getCursorX): use temp vars
4836         (setCurrentFont): use temp vars
4837         (getColumnNearX): use temp vars
4838
4839 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4840
4841         * text.C (transformChar): use temp var for getChar
4842         (computeBidiTables): use temp var for row->par()
4843         (fill): move temp vars for row->par() and pit->layout() earlier in
4844         the function.
4845         (labelFill): use temp var for row->par()
4846         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4847         asc and desc, realize that pit never changes and that firstpit is
4848         just a duplicate and not needed. Exchange rit->par() with pit in a
4849         lot of places.
4850         (breakAgain): use a temp var for boost::next(rit)
4851         (breakAgainOneRow): ditto
4852         (breakParagraph): use a temp var for rows().begin()
4853         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4854         (cursorRightOneWord): use temp var for cursor.par() and
4855         cursor.pos(), remove usage of tmpcursor.
4856         (cursorLeftOneWord): use temp var for cursor.par() and
4857         cursor.pos() only set cur at end of function.
4858
4859 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4860
4861         * text.C, text2.C: exchange all usage of Paragraph::next with
4862         boost::next(ParagraphList::iterator)
4863
4864         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4865
4866         * text2.C (cursorTop): simplify implementation
4867         (cursorBottom): ditto
4868         (setParagraph): use ParagraphList::iterator
4869         (setCurrentFont): adjust
4870         (getColumnNearX): adjust
4871         (cursorRight): adjust
4872         (cursorLeft): remove usage of Paragraph::previous
4873         (cursorUpParagraph): ditto
4874         (deleteEmptyParagraphMechanism): slight cleanup
4875
4876         * text.C (isBoundary): take a Paragraph const & instead of a
4877         pointer as arg.
4878         (addressBreakPoint): ditto
4879         (leftMargin): remove usage of Paragraph::previous.
4880         (setHeightOfRow): ditto
4881         (cursorLeftOneWord): ditto
4882         (selectNextWordToSpellcheck): ditto
4883         (Delete): ditto
4884         (backspace): ditto
4885         (breakParagraph): remove one usage of Paragraph::next
4886         (redoParagraph): ditto
4887         (acceptChange): ditto
4888         (insertChar): adjust
4889         (rowBreakPoint): adjust
4890
4891         * bufferview_funcs.C (toggleAndShow): adjust
4892
4893 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4894
4895         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4896         methods to access it.
4897         * lyxtext.h:
4898         * text.C: Added updateRowPositions to compute all row positions.
4899         Make top_y and getRowNearY() to use the cached y position
4900
4901 2003-04-11  John Levon  <levon@movementarian.org>
4902
4903         * text.C (rowBreakPoint): reintroduce the labelEnd
4904         checks, code copied from the row fill stuff. Deep voodoo.
4905
4906         * text.C (fill): add a comment and debugging for the
4907         next poor soul.
4908
4909 2003-04-11  John Levon  <levon@movementarian.org>
4910
4911         * text.C: make sure fullrow insets get wrapped to the next line,
4912         even when they're in a manual label
4913
4914 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4915
4916         * text2.C (insertParagraph): make it take ParagraphList::iterator
4917         as arg.
4918         (setLayout): make it return ParagraphList::iterator
4919         (redoParagraphs): ditto
4920         (setCounter): ditto
4921         (checkParagraph): ditto
4922
4923         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4924
4925         * text2.C: adjust several funcs.
4926         (realizeFont): take a ParagraphList::iterator as arg.
4927         (getLayoutFont): ditto
4928         (getLabelFont): ditto
4929         (setCharFont): ditto
4930
4931         * text.C: adjust several funcs.
4932
4933 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4934
4935         * text.C (selectNextWordToSpellcheck): don't accidentally
4936         skip insets
4937
4938 2003-04-10  John Levon  <levon@movementarian.org>
4939
4940         * ToolbarBackend.C (getIcon): special handling for
4941         LFUN_MATH_DELIM
4942
4943 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4944
4945         * text2.C (cursorRight): a getChar assert fixed
4946
4947 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4948
4949         * text2.C (getFont): change to take a ParagraphList::iterator
4950         instead of Paragraph*
4951         Adjust several functions.
4952
4953         * text.C (transformChar): change to take a ParagraphList::iterator
4954         instead of Paragraph*
4955         (singleWidth): ditto
4956         Adjust several functions.
4957
4958         * rowpainter.C: adjust several functions
4959         * rowpainter.h:store a ParagraphList::iterator and not a
4960         Paragraph&.
4961
4962
4963 2003-04-09  John Levon  <levon@movementarian.org>
4964
4965         * lyxfunc.C:
4966         * lfuns.h:
4967         * LyXAction.h:
4968         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4969         and the "help" bits as well
4970
4971 2003-04-09  John Levon  <levon@movementarian.org>
4972
4973         * ToolbarBackend.h:
4974         * ToolbarBackend.C: allow multiple toolbars
4975
4976 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4977
4978         * undo_funcs.C (setCursorParUndo): adjust
4979
4980         * text_funcs.C (transposeChars): adjust
4981
4982         * text3.C (gotoNextInset): adjust
4983         (dispatch): adjust
4984
4985         * text2.C (setLayout): adjust
4986         (changeDepth): adjust
4987         (setFont): adjust
4988         (redoParagraphs): adjust
4989         (selectionAsString): adjust
4990         (setParagraph): adjust
4991         (insertInset): adjust
4992         (cutSelection): adjust
4993         (copySelection): adjust
4994         (pasteSelection): adjust
4995         (insertStringAsLines): adjust
4996         (updateInset): adjust
4997         (setCursor): change to take a ParagraphList::iterator parameter
4998         (setCursorIntern): change to take a ParagraphList::iterator parameter
4999         (setCurrentFont): adjust
5000         (cursorLeft): adjust
5001         (cursorRight): adjust
5002         (deleteEmptyParagraphMechanism): adjust
5003
5004         * text.C (breakParagraph): adjust
5005         (insertChar): adjust
5006         (acceptChange): adjust
5007         (rejectChange): adjust
5008         (selectNextWordToSpellcheck): adjust
5009         (changeCase): adjust
5010         (Delete): adjust
5011         (backspace): adjust
5012
5013         * lyxfind.C (SearchForward): adjust
5014         (SearchBackward): adjust
5015         (nextChange): adjust
5016
5017         * lyxcursor.C (par): adjust
5018
5019         * lyxcursor.h: store a ParagraphList::iterator instead of a
5020         Paragraph*
5021
5022         * lyx_cb.C (getPossibleLabel): adjust
5023
5024         * bufferview_funcs.C (toggleAndShow): adjust
5025
5026         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5027         (dispatch): adjust
5028
5029         * BufferView.C (removeAutoInsets): adjust
5030         (lockedInsetStoreUndo): adjust
5031
5032 2003-04-09  John Levon  <levon@movementarian.org>
5033
5034         * ToolbarBackend.C: try icon without argument
5035         if with argument fails
5036
5037 2003-04-08  John Levon  <levon@movementarian.org>
5038
5039         * ToolbarBackend.h:
5040         * ToolbarBackend.C: add getIcon(), handle tooltip,
5041         and change from "Icon" to "Item".
5042
5043 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5044
5045         * BufferView.C (lockInset): another bad getchar crunched
5046
5047 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5048
5049         * text2.C (changeDepth): do not setUndo on test_only (make undo work
5050         again)
5051
5052 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
5053
5054         * lyxfind.C (searchForward, searchBackwards): bug 782
5055
5056 2003-04-07  John Levon  <levon@movementarian.org>
5057
5058         * paragraph.C: remove dead comment
5059
5060         * text.C: remove troublesome depth-fiddling code
5061         in leftMargin() and rightMargin() (bug 1017)
5062
5063         * text.C: fix breaking of rows in nested lists
5064         (bug 1004)
5065
5066         * text2.C (updateCounters): fix up depth values
5067         (bug 1013)
5068
5069 2003-04-07  John Levon  <levon@movementarian.org>
5070
5071         * BufferView_pimpl.C: clear message when doc finishes resizing,
5072         and after a mouse event
5073
5074         * lyxfunc.C: clear message after exiting inset
5075
5076 2003-04-07  John Levon  <levon@movementarian.org>
5077
5078         * bufferview_funcs.C: show math status not outside
5079         status in the statusbar
5080
5081 2003-04-07  John Levon  <levon@movementarian.org>
5082
5083         * lyxfunc.C: note status changed after a depth change
5084
5085 2003-04-04  Angus Leeming  <leeming@lyx.org>
5086
5087         * LaTeX.h: move AuxInfo operator==, != out of line.
5088         Remove LaTeX virtual destructor; nothing derives from it.
5089         Move operator()() out of public area and rename it startscript().
5090         Change protected for private.
5091
5092 2003-04-04  Angus Leeming  <leeming@lyx.org>
5093
5094         * lyxfunc.C:
5095         * text2.C: remove unneeded #includes.
5096
5097 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5098
5099         * text2.C (dEPM): fix the heigth of the next row
5100
5101 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5102
5103         * text.C: squashed an invalid getChar requester + some ws changes
5104
5105 2003-04-03  John Levon  <levon@movementarian.org>
5106
5107         * bufferview_funcs.h:
5108         * bufferview_funcs.C:
5109         * lyxfunc.C:
5110         * lyxtext.h:
5111         * text2.C: make getStatus work for the env depth lfuns
5112
5113 2003-04-03  John Levon  <levon@movementarian.org>
5114
5115         * bufferview_funcs.h:
5116         * bufferview_funcs.C:
5117         * lyxfunc.C:
5118         * lyxtext.h:
5119         * text2.C: parlistize decDepth(), by merging it with incDepth()
5120
5121 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5122
5123         * lyxrow.h: store a ParagraphList::iterator instead of a
5124         Paragraph* and adjust other class functions to suit.
5125
5126         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5127         above.
5128
5129 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5130
5131         * text2.C (setCursor): do not anchor to cursor row for the time being
5132
5133 2003-04-02  John Levon  <levon@movementarian.org>
5134
5135         * LyXAction.C:
5136         * lfuns.h:
5137         * lyx_main.C:
5138         * lyxtext.h:
5139         * text.C:
5140         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5141
5142 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5143
5144         * paragraph.h: make ParagraphList and ParagraphList::iterator
5145         friends of Paragraph.
5146
5147         * buffer.C (makeLinuxDocFile): move towards ParagraphList
5148
5149         * ParagraphList.C: Use the private next_ and previous_ from
5150         Paragraph.
5151
5152 2003-04-01  John Levon  <levon@movementarian.org>
5153
5154         * ToolbarBackend.h:
5155         * ToolbarBackend.C:
5156         * Makefile.am: rename, remove defaults gunk
5157
5158         * MenuBackend.h:
5159         * MenuBackend.C: remove defaults gunk
5160
5161         * Languages.h:
5162         * Languages.C: remove defaults gunk
5163
5164         * lyx_main.h:
5165         * lyx_main.C: error out if files couldn't be found.
5166
5167 2003-04-02  John Levon  <levon@movementarian.org>
5168
5169         * text2.C: make incDepth() use parlist
5170
5171 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5172
5173         * undo_funcs.C (firstUndoParagraph): adjust
5174
5175         * text3.C (gotoInset): adjust
5176         (dispatch): adjust, and rewrite loop.
5177
5178         * text2.C (init): adjust, and rewrite loop.
5179         (redoParagraphs): adjust
5180         (updateInset): adjust, and rewrite loop.
5181         (deleteEmptyParagraphMechanism): adjust
5182
5183         * tabular.C (LyXTabular): adjust
5184         (SetMultiColumn): adjust
5185         (TeXRow): adjust
5186
5187         * lyxtext.[Ch] (ownerParagraph): delete function
5188         (ownerParagraphs): new function returns a ParagraphList.
5189
5190         * BufferView.C (removeAutoInsets): adjust
5191         (insertErrors): adjust
5192         (setCursorFromRow): adjust
5193
5194 2003-04-01  Angus Leeming  <leeming@lyx.org>
5195
5196         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5197         in the frontends.
5198
5199 2003-04-02  John Levon  <levon@movementarian.org>
5200
5201         * lyxtext.h:
5202         * text.C:
5203         * Makefile.am:
5204         * text_funcs.h:
5205         * text_funcs.C: make transposeChars a free function
5206
5207         * lyxrow_funcs.C: remove wrong comment
5208
5209 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5210
5211         * lyxtext.h: adjust
5212         * rowpainter.C: adjust
5213         * text.C: adjust
5214         * text2.C: adjust
5215         * text3.C: adjust
5216
5217         * lyxrow_funcs. [Ch]: new files
5218
5219         * lyxrow.[Ch]: remove next and previous pointers
5220         (next,previous): remove accessor functions
5221         (isParEnd): move to lyxrow_funcs
5222         (lastPos): move to lyxrow_funcs
5223         (nextRowIsAllInset): move to lyxrow_funcs
5224         (lastPrintablePos): move to lyxrow_funcs
5225         (numberOfSeparators): move to lyxrow_funcs
5226         (numberOfHfills): move to lyxrow_funcs
5227         (numberOfLabelHfills): move to lyxrow_funcs
5228         (hfillExpansion): move to lyxrow_funcs
5229
5230         * lyxfunc.C: adjust
5231
5232         * bufferview_funcs.C (toggleAndShow): adjust
5233
5234         * RowList.h: Remove class RowList from file leave just a
5235         std::list<Row>.
5236
5237         * RowList.C: delete file
5238
5239         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5240         and lyxrow_funcs.h
5241
5242 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5243
5244         * text3.C (cursorPrevious): adjust
5245         (cursorNext): adjust
5246         (dispatch): adjust
5247
5248         * text2.C (redoHeightOfParagraph): adjust
5249         (redoDrawingOfParagraph): adjust
5250         (setCursor): adjust
5251
5252         * text.C (breakParagraph): adjust
5253         (insertChar): adjust
5254         (backspace): adjust
5255
5256         * rowpainter.C (RowPainter): adjust
5257         (leftMargin): simplify and adjust
5258         (most rowpainter functions): adjust.
5259
5260         * rowpainter.h: store the row as RowList::iterator not as Row*
5261
5262         * lyxcursor.C (row): taka RowList::iterator as arg
5263         (irow): ditto
5264
5265         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5266         of Row*.
5267
5268 2003-04-01  Angus Leeming  <leeming@lyx.org>
5269
5270         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5271         stuff like bool Bool.
5272
5273 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5274
5275         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5276         rewrite a loop
5277
5278 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5279
5280         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5281         RowList::iterator.
5282
5283         * lyxtext.h (rows): drop one version and leve a const variant that
5284         returns a RowList::iterator.
5285
5286 2003-03-31  Angus Leeming  <leeming@lyx.org>
5287
5288         * text.C (fill): ensure that the signature is the same as that in the
5289         header file.
5290
5291 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
5292
5293         * text2.C (redoParagraphs): adjust
5294         (updateCounters): adjust
5295         (checkParagraph): adjust
5296         (getColumnNearX): adjust and reformat a bit.
5297
5298         * text.C (top_y): adjust
5299         (workWidth): adjust
5300         (leftMargin): adjust
5301         (prepareToPrint): adjust
5302         (getRow): adjust
5303         (getRowNearY): adjust
5304
5305         * lyxtext.h: make rowlist_ mutable.
5306
5307         * RowList.h: add const_iterator
5308         * RowList.C: adjust for RowList::const_iterator.
5309
5310         * text2.C (getCursorX): make it take a RowList::iterator as arg,
5311         adjust.
5312
5313 2003-03-31  John Levon  <levon@movementarian.org>
5314
5315         * lyxrc.h:
5316         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5317
5318         * lyx_main.C: set default fonts from using lyx_gui funcs
5319
5320         * exporter.C: pdf_mode moved from lyxrc
5321
5322         * lyx_cb.C:
5323         * lyxfunc.C: changes from above
5324
5325 2003-03-31  John Levon  <levon@movementarian.org>
5326
5327         * lyx_main.C: fix to the last fix
5328
5329 2003-03-31  John Levon  <levon@movementarian.org>
5330
5331         * bufferlist.C: "Load original" -> "Load Original"
5332
5333         * converter.C:
5334         * exporter.C:
5335         * importer.C:
5336         * lyx_main.C:
5337         * format.C: more Alert cleanups
5338
5339 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5340
5341         * text2.C (removeParagraph): make it take a RowList::iterator as
5342         arg, adjust.
5343         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5344         (postRowPaint): make it take a RowList::iterator as arg, adjust.
5345
5346         * text.C (anchor_row): make it take a RowList::iterator as arg,
5347         adjust.
5348         (computeBidiTables): make it take a const reference to Row instead
5349         of Row pointer, adjust.
5350         (leftMargin): make it take a RowList::iterator as arg, adjust.
5351         (rowBreakPoint): adjust
5352         (breakAgainOneRow): make it take a RowList::iterator as arg,
5353         adjust.
5354         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5355
5356         * bufferview_funcs.C (toggleAndShow): adjust
5357
5358 2003-03-30  John Levon  <levon@movementarian.org>
5359
5360         * Makefile.am:
5361         * BoostFormat.h:
5362         * boost-inst.C: moved to support
5363
5364         * several files: changes as a result
5365
5366 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5367
5368         * text2.C (LyXText): adjust.
5369         (init): adjust
5370         (removeRow): make it take a RowList::iterator as arg, adjust.
5371         (fullRebreak): adjust
5372         (deleteEmptyParagraphMechanism): adjust
5373         (clearPaint): adjust
5374         (postPaint): adjust
5375
5376         * text.C (top_y): adjust
5377         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5378         (breakAgain): make it take a RowList::iterator as arg, adjust.
5379         (breakParagraph): adjust
5380         (insertChar): adjust
5381         (backspace): adjust
5382
5383         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5384         need_break_row, and refresh_row.
5385
5386         * text3.C (dispatch): adjust
5387
5388         * text2.C (checkParagraph): adjust
5389         (setCursor): adjust
5390         (setCursorFromCoordinates): adjust
5391
5392         * text.C (top_y): adjust
5393         (workWidth): adjust
5394         (getRow): make it return a RowList::iterator, adjust
5395         (getRowNearY): make it return a RowList::iterator, adjust
5396
5397         * text2.C (init): adjust
5398         (insertRow): remove function
5399         (insertParagraph): adjust
5400         (redoParagraphs): adjust
5401         (fullRebreak): adjust
5402         (updateCounters): adjust
5403
5404         * text.C (top_y): rewrite to use RowList iterators.
5405         (top_y): adjust
5406         (setHeightOfRow): rewrite to sue RowList iterators.
5407         (appendParagraph): adjust
5408         (breakAgain): adjust
5409         (breakAgainOneRow): adjust
5410         (breakParagraph): adjust
5411         (getRow): adjust
5412         (getRowNearY): adjust, and remove commented code.
5413
5414         * lyxtext.h (firstRow): delete function
5415         (lastRow): delete function
5416         (rows): new function (const and non-const versions.)
5417         (insertRow): delete function
5418
5419         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5420
5421 2003-03-29  John Levon  <levon@movementarian.org>
5422
5423         * BufferView_pimpl.C: always update scrollbar top
5424         because pasting text when we're anchored could mean we
5425         miss an update altogether
5426
5427 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5428
5429         * text2.C (init): use rowlist_.end() and not 0.
5430         (insertRow): change to take a RowList::iterator as arg, adjust
5431         for this.
5432         (insertParagraph): change to take a RowList::iterator as arg,
5433         adjust for this.
5434         (redoParagraphs): remove some debug msgs.
5435
5436         * text.C (appendParagraph): change to take a RowList::iterator
5437         arg, adjust for this.
5438         (breakAgain): add an assert
5439         (breakAgainOneRow): ditto
5440
5441 2003-03-29  John Levon  <levon@movementarian.org>
5442
5443         * text2.C: do not clear selection after inc/decDepth
5444         (bug 550)
5445
5446 2003-03-29  John Levon  <levon@movementarian.org>
5447
5448         * BufferView.C:
5449         * buffer.C: fix broken strerrors according to Lars
5450
5451 2003-03-29  John Levon  <levon@movementarian.org>
5452
5453         * converters.C: more Alert cleanups
5454
5455 2003-03-29  John Levon  <levon@movementarian.org>
5456
5457         * bufferview_funcs.C: remove pointless Alert
5458
5459         * buffer.C: fix confusing error message when
5460         a template is chmoded 000
5461
5462 2003-03-29  John Levon  <levon@movementarian.org>
5463
5464         * BufferView.C:
5465         * BufferView.h:
5466         * BufferView_pimpl.C: Alert fixes
5467
5468         * Makefile.am:
5469         * tabular.C:
5470         * tabular-old.C: remove unused table compat reading
5471
5472 2003-03-29  John Levon  <levon@movementarian.org>
5473
5474         * BufferView.C:
5475         * buffer.C:
5476         * lyx_cb.h:
5477         * lyx_cb.C: more Alert cleanups
5478
5479         * lyxfunc.C: don't allow chktex if not latex document
5480
5481 2003-03-29  John Levon  <levon@movementarian.org>
5482
5483         * lyx_cb.C:
5484         * BufferView.C:
5485         * buffer.C: warnings pushed down from support/,
5486         kill err_alert
5487
5488 2003-03-29  John Levon  <levon@movementarian.org>
5489
5490         * lyxfunc.C: safety check for C-r (revert)
5491
5492 2003-03-29  John Levon  <levon@movementarian.org>
5493
5494         * bufferlist.h:
5495         * bufferlist.C: several UI fixes using Alert::prompt.
5496         Fix the pointless looping quit code. Fix stupid revert
5497         behaviour (bug 938)
5498
5499         * lyxvc.h:
5500         * lyxvc.C:
5501         * lyx_cb.C: use Alert::prompt
5502
5503         * lyx_main.C: remove a silly question
5504
5505         * lyxfunc.C: remove a couple of silly questions,
5506         use Alert::prompt
5507
5508 2003-03-28  John Levon  <levon@movementarian.org>
5509
5510         * text2.C: fix bug 974 (End on empty par)
5511
5512 2003-03-28  John Levon  <levon@movementarian.org>
5513
5514         * BufferView_pimpl.C:
5515         * LyXAction.C:
5516         * lfuns.h: remove do-nothing math greek lfuns
5517
5518 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5519
5520         * lyxgluelength.h (isValidGlueLength): add default arg on
5521         parameter 2. Remove default arg from friend in class.
5522
5523         * lyxlength.h (isValidLength): add default arg on parameter 2.
5524         Remove default arg from friend in class.
5525
5526         * text2.C (LyXText): adjust, initialize refresh_row.
5527         (init): adjust
5528         (removeRow): adjust
5529         (insertRow): adjust
5530         (insertParagraph): adjst
5531         (redoParagraphs): adjust
5532         (fullRebreak): adjust
5533         (updateCounters): adjust
5534         (deleteEmptyParagraphMechanism): first attempt at fixing a
5535         crashing bug.
5536
5537         * text.C (top_y): adjust
5538         (setHeightOfRow): adjust
5539         (getRow): adjust
5540         (getRowNearY): adjust
5541
5542         * lyxtext.h: include RowList.h
5543         (~LyXText): not needed anymore, deleted.
5544         (firstRow): modify for RowList
5545         (lastRow): new function
5546         Delete firstrow and lastrow class variables, add a Rowlist
5547         rowlist_ class variable.
5548
5549         * lyxrow.C (lastPos): use empty() and not !size() to check if a
5550         paragraph is empty.
5551
5552         * RowList.C (insert): fix case where it == begin().
5553
5554 2003-03-26  Angus Leeming  <leeming@lyx.org>
5555
5556         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5557         the thesaurus dialog.
5558
5559 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5560
5561         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5562
5563         * RowList.[Ch]: new files
5564
5565         * ParagraphList.C (erase): handle the case where it == begin
5566         correctly.
5567
5568 2003-03-25  John Levon  <levon@movementarian.org>
5569
5570         * Makefile.am:
5571         * aspell_local.h:
5572         * aspell.C: add new aspell support
5573
5574         * lyxrc.h:
5575         * lyxrc.C: Make use_pspell be use_spell_lib. Always
5576         have it accessible.
5577
5578 2003-03-25  Angus Leeming  <leeming@lyx.org>
5579
5580         * lfuns.h:
5581         * LyXAction.C (init): new LFUN_INSET_INSERT.
5582
5583         * BufferView_pimpl.C (dispatch): split out part of the
5584         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5585
5586         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5587         LFUN_INSET_APPLY.
5588
5589 2003-03-25  Angus Leeming  <leeming@lyx.org>
5590
5591         * lyxfunc.C (dispatch): changes to the Dialogs interface.
5592
5593 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
5594
5595         * text2.C:
5596         * text3.C: remove useless row->height(0)
5597
5598 2003-03-25  John Levon  <levon@movementarian.org>
5599
5600         * lyxtext.h:
5601         * text2.C:
5602         * text3.C: rename the refreshing stuff to better names
5603
5604 2003-03-24  John Levon  <levon@movementarian.org>
5605
5606         * BufferView_pimpl.h:
5607         * BufferView_pimpl.C: update layout choice on a mouse
5608         press/release
5609
5610 2003-03-23  John Levon  <levon@movementarian.org>
5611
5612         * Makefile.am: fix commandtags.h reference
5613
5614 2003-03-22  John Levon  <levon@movementarian.org>
5615
5616         * BufferView_pimpl.C:
5617         * lyxtext.h:
5618         * rowpainter.C:
5619         * rowpainter.h:
5620         * text.C:
5621         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5622
5623 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
5624
5625         * lyxtext.h:
5626         * text.C: take the rtl methods out of line
5627
5628 2003-03-21 André Pönitz <poenitz@gmx.net>
5629
5630         * metricsinfo.[Ch]: new files containing structures to be passed around
5631         during the two-phase-drawing...
5632
5633 2003-03-21 André Pönitz <poenitz@gmx.net>
5634
5635         * lyxtextclass.C: read 'environment' tag.
5636
5637 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
5638
5639         * text2.C (removeRow): fix bug 964
5640
5641 2003-03-20  John Levon  <levon@movementarian.org>
5642
5643         * rowpainter.C:
5644         * text.C:
5645         * text2.C: paint cleanups. Inset::update() dropped font
5646         parameter
5647
5648 2003-03-19  John Levon  <levon@movementarian.org>
5649
5650         * lyxfunc.C: only fitcursor/markDirty if available()
5651
5652 2003-03-19  John Levon  <levon@movementarian.org>
5653
5654         * commandtags.h: rename to ...
5655
5656         * lfuns.h: ... this, and renumber / cleanup
5657
5658 2003-03-19  John Levon  <levon@movementarian.org>
5659
5660         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5661         fit the cursor after an lfun
5662
5663         * BufferView.h:
5664         * BufferView.C:
5665         * BufferView_pimpl.h:
5666         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5667
5668         * LyXAction.C: layout-character should have ReadOnly
5669
5670         * ParagraphParameters.C:
5671         * buffer.C:
5672         * bufferview_funcs.C:
5673         * lyx_cb.C:
5674         * lyxfind.C:
5675         * lyxtext.h:
5676         * text.C:
5677         * text2.C:
5678         * text3.C:
5679         * undo_funcs.C: changes from above
5680
5681 2003-03-18  John Levon  <levon@movementarian.org>
5682
5683         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5684         remove it from update()
5685
5686         * lyxfunc.C: update layout choice after an lfun
5687
5688         * text3.C: remove extra updateLayoutChoice()s
5689
5690 2003-03-18  John Levon  <levon@movementarian.org>
5691
5692         * text.C: top_y change means full repaint, fix
5693         a drawing bug with cursor movement
5694
5695 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5696
5697         * lyxtext.h:
5698         * text.C:
5699         * text2.C: anchor row on setCursor
5700
5701 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5702
5703         * lyxtext.h: remove almost all mutable keywords
5704         * text.C:
5705         * text2.C:
5706         * text3.C: remove const keywords accordingly
5707
5708 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5709
5710         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5711         anon namespace
5712         (TeXEnvironment): ditto
5713         (TeXOnePar): ditto
5714
5715 2003-03-17  John Levon  <levon@movementarian.org>
5716
5717         * text.C (rowBreakPoint): remove attempt to fix displayed
5718         math insets inside a manual label
5719
5720 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5721
5722         * lyxtext.h: remove BufferView* as first arg from almost all class
5723         functions.
5724         * other files: adjust.
5725
5726 2003-03-17  John Levon  <levon@movementarian.org>
5727
5728         * lyxtext.h:
5729         * undo_funcs.C:
5730         * text2.C: more paint cleanups
5731
5732         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5733
5734         * rowpainter.h:
5735         * rowpainter.C: remove "smart" background painting code
5736
5737 2003-03-16  John Levon  <levon@movementarian.org>
5738
5739         * lyxtext.h:
5740         * text.C:
5741         * text2.C:
5742         * text3.C: add helper functions for setting refresh_row/y
5743
5744 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
5745
5746         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5747         newline inset which *can* get inserted in the pass_thru layouts.
5748         This is primarily for literate documents.
5749
5750 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
5751
5752         * buffer.C: increment LYX_FORMAT to 223
5753
5754 2003-03-14 André Pönitz <poenitz@gmx.net>
5755
5756         * textclass.h: prepare for environment handling, ws changes
5757         * lyxlayout.C: read latexheader and latexfooter tags
5758
5759 2003-03-14  John Levon  <levon@movementarian.org>
5760
5761         * text2.C: rewrite ::status() a bit
5762
5763 2003-03-13  John Levon  <levon@movementarian.org>
5764
5765         * lyxtext.h: add some docs
5766
5767 2003-03-13  John Levon  <levon@movementarian.org>
5768
5769         * lyxtext.h:
5770         * text.C:
5771         * text2.C:
5772         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5773
5774 2003-03-13  John Levon  <levon@movementarian.org>
5775
5776         * text3.C: fix appendix redrawing
5777
5778 2003-03-13  John Levon  <levon@movementarian.org>
5779
5780         * text.C (setHeightOfRow):
5781         * rowpainter.h:
5782         * rowpainter.C: make appendix mark have the text
5783           "Appendix" so the user knows what it is
5784
5785         * LColor.h:
5786         * LColor.C: s/appendixline/appendix/ from above
5787
5788 2003-03-13  John Levon  <levon@movementarian.org>
5789
5790         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5791
5792         * text.C: fix a getChar(pos) bug properly
5793
5794 2003-03-13  Angus Leeming  <leeming@lyx.org>
5795
5796         * commandtags.h:
5797         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5798         Probably only temporary. Let's see how things pan out.
5799
5800         * BufferView.C (unlockInset):
5801         * BufferView_pimpl.C (fitCursor):
5802         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5803
5804         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5805         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5806
5807         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5808         new functions that convert ParagraphParameters to and from a string.
5809
5810         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5811         BufferView::Pimpl's dispatch.
5812         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5813
5814 2003-03-13 André Pönitz <poenitz@gmx.net>
5815
5816         * lyxfunc.C:
5817         * text3.C:
5818         * factory.C: make it aware of InsetEnv
5819
5820 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5821
5822         * text2.C (setCursor): never ask for one past last
5823         (setCursor): add some debugging messages.
5824
5825         * text.C (singleWidth): never ask for one past last
5826         (singleWidth): ditto
5827         (leftMargin): ditto
5828         (rightMargin): ditto
5829         (rowBreakPoint): ditto
5830         (setHeightOfRow): ditto
5831         (prepareToPrint): ditto
5832
5833         * rowpainter.C (paintBackground): never ask for one past last
5834         (paintText): never ask for one past last
5835
5836         * paragraph_pimpl.C (getChar): make the assert stricter, never
5837         allow the one past last pos to be taken
5838
5839         * paragraph.C (getChar): ws changes only
5840
5841         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5842         (numberOfSeparators): ditto
5843         (numberOfHfills): ditto
5844
5845 2003-03-12  John Levon  <levon@movementarian.org>
5846
5847         * author.h:
5848         * author.C:
5849         * bufferparams.h:
5850         * bufferparams.C:
5851         * paragraph_funcs.C: fix per-buffer authorlists
5852
5853 2003-03-12  John Levon  <levon@movementarian.org>
5854
5855         * text.C: fix newline in right address
5856
5857 2003-03-12  Angus Leeming  <leeming@lyx.org>
5858
5859         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5860         duplicate those in LyXFunc::dispatch.
5861
5862         * commandtags.h:
5863         * LyXAction.C:
5864         * ToolbarDefaults.C:
5865         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5866         Add LFUN_FONTFREE_UPDATE.
5867
5868         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5869         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5870
5871         * bufferview_func.[Ch]: several new functions to facilliate
5872         transfer of data to and from the character dialog.
5873
5874 2003-03-12  John Levon  <levon@movementarian.org>
5875
5876         * buffer.C:
5877         * paragraph.h:
5878         * paragraph.C:
5879         * paragraph_funcs.C:
5880         * paragraph_pimpl.C:
5881         * sgml.C:
5882         * tabular.C:
5883         * text.C:
5884         * text3.C: remove META_NEWLINE in favour of an inset
5885
5886         * rowpainter.h:
5887         * rowpainter.C: remove paintNewline (done by inset)
5888
5889 2003-03-12  John Levon  <levon@movementarian.org>
5890
5891         * paragraph_pimpl.C: complain about bad getChar()s
5892         for a while at least
5893
5894 2003-03-12  John Levon  <levon@movementarian.org>
5895
5896         * buffer.h:
5897         * buffer.C: move paragraph read into a separate function,
5898         a little renaming to reflect that.
5899
5900         * bufferparams.h:
5901         * bufferparams.C: remove the author_ids map, not necessary now
5902
5903         * factory.h:
5904         * factory.C: moved Buffer::readInset to here
5905
5906         * paragraph_funcs.h:
5907         * paragraph_funcs.C: readParagraph free function moved from
5908         buffer.C
5909
5910         * tabular.C: name change
5911
5912 2003-03-12  John Levon  <levon@movementarian.org>
5913
5914         * buffer.C:
5915         * ParagraphParameters.C: move par params input to
5916         a read() method
5917
5918         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5919         behave like a normal read from the stream wrt reading
5920         a line vs. a \\token
5921
5922 2003-03-12  John Levon  <levon@movementarian.org>
5923
5924         * paragraph.C:
5925         * ParagraphParameters.h:
5926         * ParagraphParameters.C: move output code to a
5927         ::write() method
5928
5929 2003-03-12  John Levon  <levon@movementarian.org>
5930
5931         * BufferView.C (insertLyXFile):
5932         * buffer.h:
5933         * buffer.C:
5934         * tabular.C: use a parlist iterator for creating the
5935           document.
5936
5937 2003-03-12  John Levon  <levon@movementarian.org>
5938
5939         * buffer.C: make current_change static local not
5940           static file-scope
5941
5942 2003-03-12  John Levon  <levon@movementarian.org>
5943
5944         * buffer.C: fix insertStringAsLines for change tracking
5945
5946 2003-03-12  John Levon  <levon@movementarian.org>
5947
5948         * BufferView.C:
5949         * tabular.C:
5950         * buffer.h:
5951         * buffer.C:
5952         * bufferparams.h:
5953         * bufferparams.C: move author list into params. Rename some
5954           functions. Move the header reading into a separate token
5955           loop. Move the header token reading into BufferParams.
5956
5957 2003-03-12  John Levon  <levon@movementarian.org>
5958
5959         * changes.C: put debug inside lyxerr.debugging() checks
5960
5961 2003-03-11 André Pönitz <poenitz@gmx.net>
5962
5963         * factory.C: make it aware of InsetHFill
5964
5965 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5966
5967         * buffer.C (latexParagraphs): move function from here...
5968         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5969         args.
5970
5971 2003-03-10  Angus Leeming  <leeming@lyx.org>
5972
5973         * LyXAction.C (init): fix bug in poplating array with multiple entries
5974         with the same LFUN (spotted by JMarc).
5975
5976 2003-03-10  John Levon  <levon@movementarian.org>
5977
5978         * text.C:
5979         * text2.C: move getColumnNearX() near its
5980         only call site
5981
5982 2003-03-10  John Levon  <levon@movementarian.org>
5983
5984         * text.C: fix break before a minipage
5985
5986 2003-03-10  John Levon  <levon@movementarian.org>
5987
5988         * text.C: fix the last commit
5989
5990 2003-03-09  John Levon  <levon@movementarian.org>
5991
5992         * lyxtext.h:
5993         * text.C:
5994         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5995         bug 365 (don't break before insets unless needed). Don't
5996         return a value > last under any circumstances.
5997
5998 2003-03-09  Angus Leeming  <leeming@lyx.org>
5999
6000         * BufferView_pimpl.C (trackChanges, dispatch): call
6001         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6002
6003 2003-03-09  Angus Leeming  <leeming@lyx.org>
6004
6005         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6006         than Dialogs::showAboutlyx().
6007
6008 2003-03-09  Angus Leeming  <leeming@lyx.org>
6009
6010         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6011         than Dialogs::showTabularCreate().
6012
6013 2003-03-09  John Levon  <levon@movementarian.org>
6014
6015         * lyxtext.h:
6016         * text.C:
6017         * text2.C: 3rd arg to nextBreakPoint was always the same.
6018           Use references.
6019
6020 2003-03-08  John Levon  <levon@movementarian.org>
6021
6022         * lyxrow.C:
6023         * paragraph.C:
6024         * paragraph.h:
6025         * rowpainter.C:
6026         * text.C:
6027         * text2.C: Remove the "main" bit from the "main body"
6028           notion.
6029
6030 2003-03-08  John Levon  <levon@movementarian.org>
6031
6032         * text.C (leftMargin): The left margin of an empty
6033         manual label paragraph should not include the label width
6034         string length.
6035
6036         * text.C (prepareToPrint): don't attempt to measure hfills
6037         for empty manual label paragraphs - the answer should be 0
6038
6039 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6040
6041         * CutAndPaste.C: remove commented code and reindent.
6042
6043 2003-03-08  John Levon  <levon@movementarian.org>
6044
6045         * lyxfunc.h:
6046         * lyxfunc.C: move reloadBuffer()
6047
6048         * BufferView.h:
6049         * BufferView.C: to here
6050
6051         * lyxvc.C: add comment
6052
6053         * vc-backend.h:
6054         * vc-backend.C: call bv->reload() to avoid
6055           getStatus() check on MENURELOAD
6056
6057 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
6058
6059         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6060         to an old format .dep file.
6061
6062 2003-03-07  Angus Leeming  <leeming@lyx.org>
6063
6064         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6065         when the LFUN_MOUSE_RELEASE should have been handled by
6066         inset->localDispatch.
6067
6068 2003-03-07  Angus Leeming  <leeming@lyx.org>
6069
6070         * BufferView_pimpl.C (dispatch):
6071         * LyXAction.C (init):
6072         * ToolbarDefaults.C (init):
6073         * commandtags.h:
6074         * lyxfunc.C (getStatus):
6075         remove LFUN_INSET_GRAPHICS.
6076
6077         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6078
6079 2003-03-07  Angus Leeming  <leeming@lyx.org>
6080
6081         * commandtags.h:
6082         * LyXAction.C (init):
6083         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6084
6085         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6086
6087         * commandtags.h:
6088         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6089
6090         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6091         localDispatch method LFUN_INSET_DIALOG_UPDATE.
6092
6093 2003-03-07  Angus Leeming  <leeming@lyx.org>
6094
6095         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6096         remove "ert".
6097
6098 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6099
6100         * ParagraphList.C (front): new function
6101         (back): implement
6102
6103 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
6104
6105         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6106         and top_row_offset_. removed var first_y.
6107         * text.C (top_y):
6108         * text2.C (LyXText, removeRow):
6109         * text3.C:
6110         * BufferView_pimpl.C:
6111         use these methods instead of using first_y
6112
6113 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6114
6115         * text2.C (pasteSelection): adjust for checkPastePossible
6116
6117         * CutAndPaste.C: remove Paragraph * buf and replace with
6118         ParagraphList paragraphs.
6119         (DeleteBuffer): delete
6120         (cutSelection): change the tc type to textclass_type
6121         (copySelection): change the tc type to textclass_type
6122         (copySelection): adjust for ParagraphList
6123         (pasteSelection): change the tc type to textclass_type
6124         (pasteSelection): adjust for Paragraphlist
6125         (nrOfParagraphs): simplify for ParagraphList
6126         (checkPastePossible): simplify for ParagraphList
6127         (checkPastePossible): remove unused arg
6128
6129         * ParagraphList.C (insert): handle the case where there are no
6130         paragraphs yet.
6131
6132         * CutAndPaste.h: make CutAndPaste a namespace.
6133
6134         * text3.C (dispatch): adjust
6135
6136         * text.C (breakParagraph): add a ParagraphList as arg
6137
6138         * paragraph_funcs.C (breakParagraph): change to take a
6139         BufferParams and a ParagraphList as args.
6140         (breakParagraphConservative): ditto
6141         (mergeParagraph): ditto
6142         (TeXDeeper): add a ParagraphList arg
6143         (TeXEnvironment): ditto
6144         (TeXOnePar): ditto
6145
6146         * buffer.C (readLyXformat2): adjust
6147         (insertStringAsLines): adjust
6148         (latexParagraphs): adjust
6149
6150         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6151         (cutSelection): adjust
6152         (pasteSelection): adjust
6153
6154         * BufferView_pimpl.C (insertInset): adjust
6155
6156 2003-03-05  Angus Leeming  <leeming@lyx.org>
6157
6158         * commandtags.h:
6159         * LyXAction.C (init):
6160         * BufferView_pimpl.C (dispatch):
6161         * lyxfunc.C (getStatus):
6162         remove LFUN_CHILD_INSERT.
6163
6164         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6165
6166 2003-03-05  Angus Leeming  <leeming@lyx.org>
6167
6168         * commandtags.h:
6169         * LyXAction.C (init):
6170         * src/factory.C (createInset):
6171         * lyxfunc.C (getStatus):
6172         * text3.C (dispatch):
6173         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6174
6175         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6176
6177 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6178
6179         * ParagraphList.C (insert): handle insert right before end()
6180         (erase): fix cases where it can be first or last paragraph.
6181
6182 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6183
6184         * paragraph_funcs.C (TeXEnvironment): remove all usage of
6185         Paragraph::next and Paragraph::previous
6186         (TeXOnePar): ditto
6187
6188         * text.C (breakParagraph): adjust
6189
6190         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6191         BufferParams& as arg.
6192         (breakParagraph): use ParagraphList::insert
6193         (breakParagraphConservative): take a Buffer* instead of a
6194         BufferParams& as arg.
6195         (breakParagraphConservative): use ParagraphList::insert.
6196
6197         * buffer.C (insertStringAsLines): un-const it
6198         (insertStringAsLines): adjust
6199
6200         * ParagraphList.C (insert): new function
6201
6202         * CutAndPaste.C (pasteSelection): adjust
6203
6204         * text.C (backspace): adjust
6205
6206         * tabular.C (SetMultiColumn): adjust
6207
6208         * CutAndPaste.C (cutSelection): adjust
6209         (pasteSelection): adjust
6210
6211         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6212         Buffer const * as arg
6213
6214         * ParagraphList.C (erase): new function
6215         * paragraph_funcs.C (mergeParagraph): use it
6216         (mergeParagraph): make it take a Buffer* instead of a
6217         BufferParams* as arg
6218
6219         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6220         as arg
6221         (breakParagraphConservative): ditto
6222
6223         * paragraph.h: remove the breakParagraph friend
6224
6225         * paragraph.C (eraseIntern): new function
6226         (setChange): new function
6227
6228         * paragraph_funcs.C (mergeParagraph): make it take a
6229         ParagraphList::iterator instead of a Paragraph *, adjust
6230         accordingly.
6231
6232         * paragraph.h: move an #endif so that the change tracking stuff
6233         also works in the NO_NEXT case.
6234
6235 2003-03-04  Angus Leeming  <leeming@lyx.org>
6236
6237         * commandtags.h:
6238         * LyXAction.C: new LFUN_INSET_MODIFY.
6239
6240         * BufferView_pimpl.C (dispatch): if an inset is found to be open
6241         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6242
6243 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6244
6245         * several files: ws changes only
6246
6247         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6248         (TeXEnvironment): ditto
6249         (TeXDeeper): ditto
6250
6251         * buffer.C (makeLaTeXFile): adjust
6252         (latexParagraphs): make it take ParagraphList::iterator as args
6253
6254 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6255
6256         * buffer.C (latexParagraphs): adjust
6257
6258         * paragraph.C (TeXOnePar): move function...
6259         (optArgInset): move function...
6260         (TeXEnvironment): move function...
6261         * paragraph_pimpl.C (TeXDeeper): move function...
6262         * paragraph_funcs.C: ...here
6263
6264         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6265
6266 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6267
6268         * buffer.C (readInset): remove compability code for old Figure and
6269         InsetInfo insets
6270
6271 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6272
6273         * buffer.C: ws changes
6274         (readInset):
6275
6276         * BufferView_pimpl.C: ditto
6277         * author.C: ditto
6278         * buffer.h: ditto
6279         * bufferlist.h: ditto
6280         * changes.h: ditto
6281         * lyxfunc.C: ditto
6282
6283 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
6284
6285         * converter.[Ch]: split into itself +
6286         * graph.[Ch]
6287         * format.[Ch]
6288         * Makefile.am: += graph.[Ch] + format.[Ch]
6289         * MenuBackend.C
6290         * buffer.C
6291         * exporter.C
6292         * importer.C
6293         * lyx_main.C
6294         * lyxfunc.C
6295         * lyxrc.C: added #include "format.h"
6296
6297 2003-02-27  Angus Leeming  <leeming@lyx.org>
6298
6299         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6300           a label.
6301
6302         * factory.C (createInset): add "label" to the factory.
6303
6304         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6305           string and do no more.
6306
6307 2003-02-27  Angus Leeming  <leeming@lyx.org>
6308
6309         * commandtags.h:
6310         * LyXAction.C (init):
6311         * factory.C (createInset):
6312         * BufferView_pimpl.C (dispatch):
6313           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6314
6315         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6316
6317         * lyxfunc.C (dispatch):
6318         * text3.C (dispatch): pass name to params2string.
6319
6320 2003-02-26  Angus Leeming  <leeming@lyx.org>
6321
6322         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6323           blocks together.
6324           Rearrange the ~includes. Strip out the unnecessary ones.
6325
6326         * factory.C (createInset): reformat.
6327           create new insets for the various LFUN_XYZ_APPLY lfuns.
6328
6329 2003-02-26  John Levon  <levon@movementarian.org>
6330
6331         * lyxrow.h:
6332         * lyxrow.C: add isParStart,isParEnd helpers
6333
6334         * paragraph.h: make isInserted/DeletedText take refs
6335
6336         * paragraph_funcs.h:
6337         * paragraph_funcs.C: remove #if 0'd code
6338
6339         * lyxtext.h:
6340         * text3.C:
6341         * text2.C:
6342         * text.C: use lyxrow helpers above.
6343           Move draw and paint routines to RowPainter.
6344           Make several methods use refs not pointers.
6345           Make backgroundColor() const.
6346           Add markChangeInDraw(), isInInset().
6347           Merge changeRegionCase into changeCase.
6348           Make workWidth() shouldn't-happen code into an Assert.
6349
6350         * rowpainter.h:
6351         * rowpainter.C: new class for painting a row.
6352
6353         * vspace.h:
6354         * vspace.C: make inPixels take a ref
6355
6356 2003-02-26  Angus Leeming  <leeming@lyx.org>
6357
6358         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6359         LFUN_REF_APPLY.
6360
6361 2003-02-25  John Levon  <levon@movementarian.org>
6362
6363         * ispell.C: give the forked command a more accurate name
6364
6365 2003-02-22  John Levon  <levon@movementarian.org>
6366
6367         * toc.h:
6368         * toc.C: make TocItem store an id not a Paragraph *
6369           (bug #913)
6370
6371 2003-02-21  Angus Leeming  <leeming@lyx.org>
6372
6373         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6374           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6375           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6376           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6377           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6378           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6379
6380         * BufferView_pimpl.C (dispatch):
6381         * LyXAction.C (init):
6382         * factory.C (createInset):
6383         * lyxfunc.C (getStatus, dispatch):
6384         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6385
6386 2003-02-21  Angus Leeming  <leeming@lyx.org>
6387
6388         * BufferView_pimpl.C (MenuInsertLyXFile):
6389         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6390         * lyxfunc.C (menuNew, open, doImport):
6391           no longer pass a LyXView & to fileDlg.
6392
6393 2003-02-21  Angus Leeming  <leeming@lyx.org>
6394
6395         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6396         * LyXAction.C: change, BIBKEY to BIBITEM.
6397         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6398         Change InsetBibKey to InsetBibitem.
6399         Change BIBKEY_CODE to BIBITEM_CODE.
6400         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6401         * factory.C: replace insetbib.h with insetbibitem.h.
6402         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6403         * paragraph.C: replace insetbib.h with insetbibitem.h.
6404         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6405         Change bibkey() to bibitem().
6406         * text.C: remove insetbib.h.
6407         * text2.C: replace insetbib.h with insetbibitem.h.
6408         change bibkey() to bibitem().
6409         * text3.C: remove insetbib.h.
6410         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6411
6412 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6413
6414         * lyxrc.C (output): enclose user email in quotes (in case there are
6415         several words)
6416
6417 2003-02-18  John Levon  <levon@movementarian.org>
6418
6419         * buffer.h: add std::
6420
6421 2003-02-17  John Levon  <levon@movementarian.org>
6422
6423         * SpellBase.h:
6424         * ispell.h:
6425         * ispell.C:
6426         * pspell.h:
6427         * pspell.C: reworking. Especially in ispell, a large
6428           number of clean ups and bug fixes.
6429
6430         * lyxfunc.C: fix revert to behave sensibly
6431
6432 2003-02-17 André Pönitz <poenitz@gmx.net>
6433
6434         * LyXAction.C:
6435         * commandtags.h: new LFUN_INSERT_BIBKEY
6436
6437         * layout.h:
6438         * lyxlayout.C:
6439         * buffer.C:
6440         * factory.C:
6441         * text.C:
6442         * text2.C:
6443         * text3.C:
6444         * paragraph.[Ch]:
6445         * paragraph_func.C: remove special bibkey handling
6446
6447 2003-02-17  John Levon  <levon@movementarian.org>
6448
6449         * text.C (Delete): fix case where delete at the end of
6450           the very first paragraph would not merge the pars
6451
6452 2003-02-17  John Levon  <levon@movementarian.org>
6453
6454         * lyxrow.C: fix lastPrintablePos()
6455
6456 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6457
6458         * bufferparams.C (writeLaTeX): add a std:here
6459
6460         * buffer.C: and remove a using directive there
6461
6462 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6463
6464         * buffer.C (makeLaTeXFile): move the code that generates the
6465           preamble...
6466
6467         * bufferparams.C (writeLaTeX): ... in this new method
6468
6469         * LaTeXFeatures.C (getEncodingSet): make const
6470           (getLanguages): make const
6471
6472         * MenuBackend.C (binding): returns the binding associated to this
6473           action
6474           (add): sets the status of each item by calling getStatus. Adds
6475           some intelligence.
6476           (read): add support for OptSubMenu
6477           (expand): remove extra separator at the end of expanded menu
6478
6479 2003-02-15  John Levon  <levon@movementarian.org>
6480
6481         * BufferView.C:
6482         * BufferView_pimpl.C:
6483         * bufferlist.h:
6484         * bufferlist.C: remove pointless BufferStorage bloat. Remove
6485           inset code that had no actual effect. Remove unneeded status
6486           code.
6487
6488 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6489
6490         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6491           in preamble
6492
6493 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
6494
6495         * text.C (drawLengthMarker): also draw an arrow marker for
6496           symbolic lengths (medskip...)
6497
6498 2003-02-14  John Levon  <levon@movementarian.org>
6499
6500         * tabular.h:
6501         * tabular.C: better method names
6502
6503 2003-02-14  John Levon  <levon@movementarian.org>
6504
6505         * BufferView_pimpl.C:
6506         * bufferlist.C:
6507         * buffer.C:
6508         * converter.C:
6509         * lyx_cb.C:
6510         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6511           it's a more accurate name. Remove some pointless uses.
6512
6513 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6514
6515         * text2.C (LyXText): change order of initilizers to shut off
6516           warnings
6517
6518 2003-02-14  John Levon  <levon@movementarian.org>
6519
6520         * buffer.C: use ParIterator for getParFromID()
6521
6522         * paragraph.h:
6523         * paragraph.C:
6524         * paragraph_pimpl.h:
6525         * paragraph_pimpl.C: remove unused getParFromID()
6526
6527 2003-02-14  John Levon  <levon@movementarian.org>
6528
6529         * buffer.C: remove some very old #if 0'd parse code
6530
6531 2003-02-13  John Levon  <levon@movementarian.org>
6532
6533         * text.h:
6534         * text.C:
6535         * text2.C: move hfillExpansion(), numberOfSeparators(),
6536           rowLast(), rowLastPrintable(), numberofHfills(),
6537           numberOfLabelHfills() ...
6538
6539         * lyxrow.h:
6540         * lyxrow.C: ... to member functions here.
6541
6542         * paragraph.h:
6543         * paragraph.C:
6544         * lyxtext.h:
6545         * text.C: remove LyXText::beginningOfMainBody(), and call
6546           p->beginningOfMainBody() directly. Move the check for
6547           LABEL_MANUAL into the latter.
6548
6549         * text.h:
6550         * text.C:
6551         * text2.C:
6552         * vspace.C:
6553         * BufferView.h:
6554         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6555
6556         * text.h:
6557         * text.C:
6558         * text2.C:
6559         * text3.C:
6560         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6561           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6562
6563 2003-02-13  John Levon  <levon@movementarian.org>
6564
6565         * CutAndPaste.C: remove debug
6566
6567 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6568
6569         * paragraph.C (asString): remove two unused variables
6570
6571         * lyxtextclass.C (readTitleType):
6572           (Read):
6573           (LyXTextClass): handle new members titletype_ and titlename_
6574
6575         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6576
6577 2003-02-09  John Levon  <levon@movementarian.org>
6578
6579         * buffer.h:
6580         * buffer.C: replace hand-coded list with a map for the dep clean
6581
6582 2003-02-08  John Levon  <levon@movementarian.org>
6583
6584         * LaTeX.C: consolidate code into showRunMessage() helper
6585
6586 2003-02-08  John Levon  <levon@movementarian.org>
6587
6588         * lyxfind.C:
6589         * lyxtext.h:
6590         * text2.C:
6591         * BufferView.C: change setSelectionOverString() to setSelectionRange()
6592           and pass the size in explicitly
6593
6594         * BufferView_pimpl.h:
6595         * BufferView_pimpl.C:
6596         * BufferView.h:
6597         * BufferView.C: add getCurrentChange()
6598
6599         * BufferView_pimpl.h:
6600         * BufferView_pimpl.C: handle change lfuns
6601
6602         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6603           for changes. Mark pasted paragraphs as new.
6604
6605         * support/lyxtime.h:
6606         * support/lyxtime.C:
6607         * DepTable.C: abstract time_t as lyx::time_type
6608
6609         * LColor.h:
6610         * LColor.C: add colours for new text, deleted text, changebars
6611
6612         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6613           package use "usenames" option.
6614
6615         * commandtags.h:
6616         * lyxfunc.C:
6617         * LyXAction.C: add change lfuns
6618
6619         * Makefile.am:
6620         * author.h:
6621         * author.C: author handling
6622
6623         * buffer.h:
6624         * buffer.C: add a per-buffer author list, with first entry as
6625           current author. Handle new .lyx tokens for change tracking. Output
6626           author list to .lyx file. Output dvipost stuff to .tex preamble.
6627           Bump lyx format to 222.
6628
6629         * bufferlist.h:
6630         * bufferlist.C: add setCurrentAuthor() to reset current author details
6631           in all buffers.
6632
6633         * bufferparams.h:
6634         * bufferparams.C: add param for tracking
6635
6636         * bufferview_funcs.C: output change info in minibuffer
6637
6638         * Makefile.am:
6639         * changes.h:
6640         * changes.C: add change-tracking structure
6641
6642         * debug.h:
6643         * debug.C: add CHANGES debug flag
6644
6645         * lyxfind.h:
6646         * lyxfind.C: add code for finding the next change piece
6647
6648         * lyxrc.h:
6649         * lyxrc.C: add user_name and user_email
6650
6651         * lyxrow.h:
6652         * lyxrow.C: add a metric for the top of the text line
6653
6654         * lyxtext.h:
6655         * text.C: implement accept/rejectChange()
6656
6657         * lyxtext.h:
6658         * text.C: paint changebars. Paint new/deleted text in the chosen
6659         colours. Strike through deleted text.
6660
6661         * paragraph.h:
6662         * paragraph.C:
6663         * paragraph_pimpl.h:
6664         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6665           in the current change to the insert functions. Rework erase to
6666           mark text as deleted, adding an eraseIntern() and a range-based
6667           erase(). Implement per-paragraph change lookup and
6668           accept/reject.
6669
6670         * paragraph_funcs.C: Fixup paste for change tracking.
6671
6672         * tabular.C: mark added row/columns as new.
6673
6674         * text.C: fix rowLast() to never return -1. Don't allow
6675           spellchecking of deleted text. Track transpose changes. Don't
6676           allow paragraph break or merge where appropriate.
6677
6678         * text2.C: leave cursor at end of selection after a cut.
6679
6680 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6681
6682         * text.C (getLengthMarkerHeight):
6683         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6684         visible on screen too.
6685
6686 2003-02-07  John Levon  <levon@movementarian.org>
6687
6688         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6689
6690 2003-02-05  Angus Leeming  <leeming@lyx.org>
6691
6692         * lyxserver.C (read_ready): revert my patch of 11 September last year
6693         as it sends PC cpu through the roof. Presumably this means that
6694         the lyxserver will no longer run on an Alpha...
6695
6696 2003-01-30  Angus Leeming  <leeming@lyx.org>
6697
6698         * factory.C (createInset): create an InsetCommandParam of type "index"
6699         and use it to 'do the right thing'.
6700
6701         * text2.C (getStringToIndex): ensure that cursor position is always
6702         reset to the reset_cursor position.
6703
6704 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6705
6706         * lyxfunc.C (getStatus): "buffer-export custom" should never be
6707         disabled.
6708
6709 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
6710
6711         * bufferview.C:
6712         * lyxcb.C:
6713         * lyxfunc.C: Output messages with identical spelling, punctuation,
6714         and spaces
6715
6716 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
6717
6718         * MenuBackend.C (expandFormats): List only viewable export formats
6719         in "View" menu
6720
6721         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6722         message
6723
6724         * lyxfunc.C (getStatus): Make sure that formats other than
6725         "fax" can also be disabled
6726
6727 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6728
6729         * text3.C (dispatch): put the lfuns that insert insets in 3
6730         groups, and call doInsertInset with appropriate arguments.
6731         (doInsertInset): new function, that creates an inset and inserts
6732         it according to some boolean parameters.
6733
6734 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6735
6736         * buffer.C (readFile): remember to pass on 'par' when calling
6737         readFile recursively.
6738
6739 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6740
6741         * MenuBackend.C (expandFormats): add "..." to import formats.
6742
6743 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
6744
6745         * paragraph.C (asString): Remove XForms RTL hacks.
6746
6747 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
6748         * buffer.C: fix typo
6749
6750 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6751
6752         * Makefile.am (LIBS): delete var
6753         (lyx_LDADD): add @LIBS@ here instead.
6754
6755 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
6756
6757         * Clarify the meaning of "wheel mouse jump"
6758
6759 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6760
6761         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6762         tabular in a float
6763
6764 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6765
6766         * importer.C (Loaders): do not preallocate 3 elements in the
6767         vector, since one ends up with 6 elements otherwise
6768
6769 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6770
6771         * DepTable.C (write): write the file name as last element of the
6772         .dep file (because it may contain spaces)
6773         (read): read info in the right order
6774
6775 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6776
6777         * paragraph_pimpl.C (simpleTeXBlanks):
6778         (simpleTeXSpecialChars):
6779         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6780
6781         * tabular.C (latex): add some missing case statements. Reindent.
6782
6783         * MenuBackend.C (expandToc): remove unused variable.
6784
6785 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
6786
6787         * LColor.C:
6788         * LaTeX.C:
6789         * LyXAction.C:
6790         * MenuBackend.C:
6791         * buffer.C:
6792         * exporter.C:
6793         * lyxfunc.C:
6794         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6795         and the like.
6796
6797 2003-01-05  John Levon  <levon@movementarian.org>
6798
6799         * BufferView.h:
6800         * BufferView.C: add getEncoding()
6801
6802         * kbsequence.h:
6803         * kbsequence.C: do not store last keypress
6804
6805         * lyxfunc.h:
6806         * lyxfunc.C: store last keypress here instead. Pass encoding
6807           to getISOEncoded()
6808
6809 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6810
6811         * lyx_main.C (init): remove annoying error message when following
6812         symbolic links (bug #780)
6813
6814 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6815
6816         * text.C (insertChar):
6817         * lyxrc.C (getDescription): remove extra spaces
6818
6819 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6820
6821         * lyxrc.C (getDescription): remove extra spaces
6822
6823 2002-12-20  John Levon  <levon@movementarian.org>
6824
6825         * text3.C: hack fix for page up/down across tall rows
6826
6827 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6828
6829         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6830         not been invoked
6831
6832 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6833
6834         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6835         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6836         thesaurus is not compiled in
6837
6838 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
6839
6840         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6841
6842 2002-12-16  Angus Leeming  <leeming@lyx.org>
6843
6844         * lyxrc.[Ch]:
6845         * lyx_main.C (init): remove override_x_deadkeys stuff.
6846
6847 2002-12-12  John Levon  <levon@movementarian.org>
6848
6849         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6850           insert. Only remove shift modifier under strict
6851           circumstances.
6852
6853 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6854
6855         * MenuBackend.C (expandToc): fix crash.
6856
6857 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6858
6859         * MenuBackend.C (expandToc): gettext on float names.
6860
6861 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6862
6863         * lyxlength.[Ch]: set default unit to UNIT_NONE,
6864         implement bool empty() [bug 490]
6865
6866 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6867
6868         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6869
6870 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6871
6872         * several files: ws changes
6873
6874 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6875
6876         * text2.C (setCounter): clean up a bit, use boost.format.
6877         (updateCounters): initialize par upon declaration.
6878
6879         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6880         if the layout exists. We do not just store the layout any more.
6881         (SwitchLayoutsBetweenClasses): use boost.format
6882
6883 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6884
6885         * converter.C (convert): if from and to files are the same, use a
6886         temporary files as intermediary
6887
6888 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6889
6890         * commandtags.h:
6891         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6892
6893 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6894
6895         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6896
6897 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6898
6899         * tabular.C (asciiPrintCell): use string(size, char) instead of
6900         explicit loop.
6901
6902         * sgml.C (openTag): fix order of arguments to string constructor
6903         (closeTag): ditto
6904
6905         * lyxfunc.C (dispatch): use boost.format
6906
6907         * lots of files: change "c" -> 'c'
6908
6909 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6910
6911         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6912
6913 2002-11-25  Angus Leeming  <leeming@lyx.org>
6914
6915         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6916
6917         * lyx_main.C (init): compile fix.
6918
6919 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6920
6921         * lyx_cb.C (start): boost.formatify
6922         do not include <iostream>
6923
6924         * lengthcommon.C: ws only
6925
6926         * boost-inst.C,BoostFormat.h: add more explict instantations
6927
6928 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6929
6930         * lots of files: handle USE_BOOST_FORMAT
6931
6932 2002-11-21  John Levon  <levon@movementarian.org>
6933
6934         * pspell.C: fix compile
6935
6936 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6937
6938         * lyxfunc.C (dispatch): use boost::format
6939         (open): ditto
6940         (doImport): ditto
6941
6942         * lyxfont.C (stateText): use boost::format
6943
6944         * lyx_main.C (LyX): use boost::format
6945         (init): ditto
6946         (queryUserLyXDir): ditto
6947         (readRcFile): ditto
6948         (parse_dbg): ditto
6949         (typedef boost::function): use the recommened syntax.
6950
6951         * importer.C (Import): use boost::format
6952
6953         * debug.C (showLevel): use boost::format
6954
6955         * converter.C (view): use boost::format
6956         (convert): ditto
6957         (move): ditto
6958         (scanLog): ditto
6959
6960         * bufferview_funcs.C (currentState): use boost::format
6961
6962         * bufferlist.C (emergencyWrite): use boost::format
6963
6964         * buffer.C (readLyXformat2): use boost::format
6965         (parseSingleLyXformat2Token): ditto
6966
6967         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6968
6969         * LaTeX.C (run): use boost::format
6970
6971         * Chktex.C (scanLogFile): use boost::format
6972
6973         * BufferView_pimpl.C (savePosition): use boost::format
6974         (restorePosition): ditto
6975         (MenuInsertLyXFile): ditto
6976
6977         * BoostFormat.h: help file for explicit instation.
6978
6979 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6980
6981         * tabular.C (latex): Support for block alignment in fixed width
6982         columns.
6983
6984 2002-11-17  John Levon  <levon@movementarian.org>
6985
6986         * BufferView_pimpl.C:
6987         * lyx_cb.C:
6988         * lyxfunc.C: split filedialog into open/save
6989
6990 2002-11-08  Juergen Vigna  <jug@sad.it>
6991
6992         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6993         by my last patch (hopefully).
6994
6995 2002-11-08  John Levon  <levon@movementarian.org>
6996
6997         * iterators.h:
6998         * iterators.C:
6999         * buffer.h:
7000         * buffer.C:
7001         * paragraph.h:
7002         * paragraph.C:
7003         * toc.h:
7004         * toc.C: ParConstIterator, and use it (from Lars)
7005
7006 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
7007
7008         * lyxtextclass.[Ch]: revise and add doxygen comments
7009
7010 2002-11-07  John Levon  <levon@movementarian.org>
7011
7012         * text.C: fix progress value for spellchecker
7013
7014         * toc.C: fix navigate menu for insetwrap inside minipage
7015
7016         * paragraph_funcs.C: added FIXME for suspect code
7017
7018 2002-11-07  John Levon  <levon@movementarian.org>
7019
7020         * BufferView_pimpl.C: fix redrawing of insets
7021           on buffer switch
7022
7023 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7024
7025         * text2.C (updateCounters): fix bug 668
7026
7027 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
7028
7029         * text3.C (dispatch): Do not make the buffer dirty when moving the
7030         cursor.
7031
7032 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7033
7034         * vc-backend.C: STRCONV
7035         (scanMaster): ditto
7036
7037         * text2.C (setCounter): STRCONV
7038
7039         * paragraph.C (asString): STRCONV
7040
7041         * lyxlength.C (asString): STRCONV
7042         (asLatexString): ditto
7043
7044         * lyxgluelength.C (asString): STRCONV
7045         (asLatexString): ditto
7046
7047         * lyxfunc.C (dispatch): STRCONV
7048         (open): ditto
7049
7050         * lyxfont.C (stateText): STRCONV
7051
7052         * importer.C (Import): STRCONV
7053
7054         * counters.C (labelItem): STRCONV
7055         (numberLabel): ditto
7056         (numberLabel): remove unused ostringstream o
7057
7058         * chset.C: STRCONV
7059         (loadFile): ditto
7060
7061         * bufferview_funcs.C (currentState): STRCONV
7062
7063         * buffer.C (readFile): STRCONV
7064         (asciiParagraph): ditto
7065         (makeLaTeXFile): ditto
7066
7067         * Spacing.C (writeEnvirBegin): STRCONV
7068
7069         * LaTeXFeatures.C (getLanguages): STRCONV
7070         (getPackages): ditto
7071         (getMacros): ditto
7072         (getBabelOptions): ditto
7073         (getTClassPreamble): ditto
7074         (getLyXSGMLEntities): ditto
7075         (getIncludedFiles): ditto
7076
7077         * LaTeX.C: STRCONV
7078         (run): ditto
7079         (scanAuxFile): ditto
7080         (deplog): ditto
7081
7082         * LString.h: add the STRCONV macros
7083
7084         * BufferView_pimpl.C (savePosition): STRCONV
7085         (restorePosition): ditto
7086         (MenuInsertLyXFile): ditto
7087
7088         * vc-backend.C (scanMaster): change from submatch[...] to
7089         submatch.str(...)
7090
7091         * funcrequest.C: include config.h
7092
7093         * factory.C: include config.h
7094
7095         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7096
7097         * box.C: include config.h
7098
7099         * LaTeX.C (scanAuxFile): change from submatch[...] to
7100         submatch.str(...)
7101         (deplog): ditto
7102
7103 2002-10-25  Angus Leeming  <leeming@lyx.org>
7104
7105         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7106
7107         * ispell.[Ch] (setError): new method.
7108         * ispell.C (c-tor): move out child process into new class LaunchIspell.
7109         Use setError() insetead of goto END.
7110
7111         * lyx_cb.C (AutoSave): move out child process into new class
7112         AutoSaveBuffer.
7113
7114 2002-10-30  John Levon  <levon@movementarian.org>
7115
7116         * text3.C: make start appendix undoable
7117
7118 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
7119
7120         * lyxlength.C (inPixels): Fix returned value.
7121
7122         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7123         environment.
7124
7125 2002-10-24  Angus Leeming  <leeming@lyx.org>
7126
7127         * lyxgluelength.h: no need to forward declare BufferParams
7128         or BufferView, so don't.
7129
7130 2002-10-21  John Levon  <levon@movementarian.org>
7131
7132         * BufferView.C: menuUndo ->undo, redo
7133
7134         * BufferView.h: document, remove dead, make some methods private
7135
7136         * paragraph_funcs.h:
7137         * paragraph_funcs.C:
7138         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7139
7140         * buffer.h:
7141         * buffer.C:
7142         * sgml.h:
7143         * sgml.C: move sgml open/close tag into sgml.C
7144
7145         * bufferview_funcs.h: unused prototype
7146
7147         * lyxfunc.h:
7148         * lyxfunc.C: remove unused
7149
7150         * lyxtext.h:
7151         * text.C: remove unused
7152
7153 2002-10-21  John Levon  <levon@movementarian.org>
7154
7155         * BufferView.h:
7156         * BufferView.C:
7157         * BufferView_pimpl.h:
7158         * BufferView_pimpl.C: fix mouse wheel handling based on
7159           patch from Darren Freeman
7160
7161 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
7162
7163         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7164
7165 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
7166
7167         * lyxlength.C (inPixels): Fix hanfling of negative length.
7168         Fix LyXLength::MU case.
7169
7170 2002-10-16  John Levon  <levon@movementarian.org>
7171
7172         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7173
7174 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7175
7176         * converter.C (view): add support for $$i (file name) and $$p
7177         (file path) for the viewer command. If $$i is not specified, then
7178         it is appended to the command (for compatibility with old syntax)
7179
7180 2002-10-14  Juergen Vigna  <jug@sad.it>
7181
7182         * undo_funcs.C (textHandleUndo): alter the order in which the
7183         new undopar is added to the LyXText, as we have to set first
7184         the right prev/next and then add it as otherwise the rebuild of
7185         LyXText is not correct. Also reset the cursor to the right paragraph,
7186         with this IMO we could remove the hack in "redoParagraphs()".
7187
7188 2002-10-09  Angus Leeming  <leeming@lyx.org>
7189
7190         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7191         to turn off an optimisation if a new inset is to be inserted.
7192
7193 2002-10-11 André Pönitz <poenitz@gmx.net>
7194
7195         * lyxtext.h: make some functions public to allow access
7196         from inset/lyxtext for handling LFUN_PRIOR/NEXT
7197
7198 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7199
7200         * text3.C (dispatch): when changing layout, avoid an infinite loop
7201         [bug #652]
7202
7203 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7204
7205         * lyxrc.C (read): treat a viewer or converter command of "none" as
7206         if it were empty.
7207
7208         * MenuBackend.C (expandFormats): for an update, also allow the
7209         formats that are not viewable
7210
7211         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7212         script if it is newer than the lyxrc.defaults in user directory
7213
7214 2002-10-07 André Pönitz <poenitz@gmx.net>
7215
7216         * text.C: Vitaly Lipatov's small i18n fix
7217
7218 2002-09-25  Angus Leeming  <leeming@lyx.org>
7219
7220         * ispell.h: doxygen fix.
7221
7222 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
7223
7224         * buffer.h (readFile): Add a new argument to the method, to allow
7225         reading of old-format templates.
7226
7227 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
7228
7229         * toc.C (getTocList): Get TOC from InsetWrap.
7230
7231 2002-09-16  John Levon  <levon@movementarian.org>
7232
7233         * lyxfunc.C: check tabular for cut/copy too
7234
7235 2002-09-12  John Levon  <levon@movementarian.org>
7236
7237         * LyXAction.C: tidy
7238
7239         * factory.h:
7240         * factory.C: add header
7241
7242         * paragraph_funcs.h:
7243         * paragraph_funcs.C: cleanup
7244
7245 2002-09-11  John Levon  <levon@movementarian.org>
7246
7247         * PrinterParams.h: odd/even default to true
7248
7249 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
7250
7251         * PrinterParams.h: update printer parameters for new xforms dialog
7252
7253 2002-09-11  Angus Leeming  <leeming@lyx.org>
7254
7255         * lyxserver.C (read_ready): re-write to make it more transparent
7256         and to make it work in coherent fashion under Tru64 Unix.
7257
7258 2002-09-11  André Pönitz <poenitz@gmx.net>
7259
7260         * commandtags.h:
7261         * LyXAction.C:
7262         * text3.C: implement LFUN_WORDSEL
7263
7264 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7265
7266         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7267         make floatlist_ a boost::shared_ptr<FloatList>
7268
7269         * lyxtextclass.C: include FloatList.h
7270         (LyXTextClass): initialize floatlist_
7271         (TextClassTags): add TC_NOFLOAT
7272         (Read): match "nofloat" to TC_NOFLOAT and use it.
7273         (readFloat): modify call to floatlist_
7274         (floats): ditto
7275         (floats): ditto
7276
7277         * FloatList.[Ch] (FloatList): remove commented out float
7278         initialization.
7279         (erase): new function
7280
7281 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7282
7283         * MenuBackend.C (expandToc): fix crash when there is no document
7284         open
7285
7286 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
7287
7288         * many files: Add insetwrap.
7289
7290 2002-09-09  John Levon  <levon@movementarian.org>
7291
7292         * text2.C: remove confusing and awkward depth wraparound
7293
7294 2002-09-09  John Levon  <levon@movementarian.org>
7295
7296         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7297
7298         * buffer.h:
7299         * buffer.C: remove getIncludeonlyList()
7300
7301         * paragraph.C:
7302         * lyxfunc.C: remove headers
7303
7304 2002-09-09  Juergen Vigna  <jug@sad.it>
7305
7306         * text.C (getColumnNearX): fix form Michael this is most
7307         probably a cut&paste bug.
7308
7309 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7310
7311         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7312
7313         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7314         references, ws changes.
7315
7316         * text2.C (init): update counters after init
7317         (insertParagraph): no need to set counter on idividual paragraphs.
7318         (setCounter): access the counters object in the textclass object
7319         on in the buffer object.
7320         (updateCounters): ditto
7321
7322         * lyxtextclass.C: include counters.h, add variable ctrs_ as
7323         shared_ptr<Counters> to avoid loading counters.h in all
7324         compilation units.
7325         (LyXTextClass): initialize ctrs_
7326         (TextClassTags): add TC_COUNTER, and ...
7327         (Read): use it here.
7328         (CounterTags): new tags
7329         (readCounter): new function
7330         (counters): new funtion
7331         (defaultLayoutName): return a const reference
7332
7333         * counters.C (Counters): remove contructor
7334         (newCounter): remove a couple of unneeded statements.
7335         (newCounter): simplify a bit.
7336         (numberLabel): some small formatting changes.
7337
7338         * buffer.[Ch]: remove all traces of counters, move the Counters
7339         object to the LyXTextClass.
7340
7341 2002-09-06  Alain Castera  <castera@in2p3.fr>
7342
7343         * tabular.C: uses \tabularnewline; uses >{...} construct from array
7344         package to set the horizontal alignment on fixed width columns.
7345
7346         * lyx_sty.C:
7347         * lyx_sty.h: added tabularnewline macro def.
7348
7349         * LaTeXFeatures.C: added NeedTabularnewline macro feature
7350
7351 2002-09-06  John Levon  <levon@movementarian.org>
7352
7353         * LyXAction.C: tooltips for sub/superscript
7354
7355         * MenuBackend.C: a bit more verbose
7356
7357         * lyxfunc.C: tiny clean
7358
7359         * undo_funcs.C: document undo_frozen
7360
7361 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7362
7363         * counters.C (Counters): add missing algorithm counter.
7364
7365         * text2.C (setCounter): lookup the counter with layouts latexname
7366         instead of by section number.
7367         (setCounter): use a hackish way to lookup the correct enum
7368         counter.
7369         a float name->type change
7370         reset enum couners with counter name directly instead of depth value.
7371
7372         * counters.C (Counters): remove the push_backs, change to use the
7373         float type not the float name.
7374         (labelItem): remove unused string, float name->type change
7375
7376         * counters.h: don't include vector, loose the enums and sects vectors
7377
7378 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7379
7380         * lyxtextclass.C (TextClassTags): add TC_FLOAT
7381         (Read): add float->TC_FLOAT to textclassTags
7382         (Read): and handle it in the switch
7383         (readFloat): new function
7384
7385         * FloatList.C (FloatList): comment out the hardcoded float
7386         definitions.
7387
7388         * lyxlayout.h: ws change.
7389
7390 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
7391
7392         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7393
7394 2002-09-03  Angus Leeming  <leeming@lyx.org>
7395
7396         * BufferView_pimpl.h: qualified name is not allowed in member
7397         declaration: WorkArea & Pimpl::workarea() const;
7398
7399         * factory.C: added using std::endl directive.
7400
7401         * text3.C: added using std::find and std::vector directives.
7402
7403 2002-08-29  André Pönitz <poenitz@gmx.net>
7404
7405         * lyxtext.h:
7406         * text2.C: remove unused member number_of_rows
7407
7408         * Makefile.am:
7409         * BufferView2.C: remove file, move contents to...
7410         * BufferView.C: ... here
7411
7412         * BufferView_pimpl.C:
7413         * factory.C: move more inset creation to factory
7414
7415         * vspace.C: avoid direct usage of LyXText, ws changes
7416
7417         * BufferView.[Ch]:
7418                 don't provide direct access to WorkArea, use two simple
7419                 acessors haveSelction() and workHeight() instead
7420
7421
7422 2002-08-29  John Levon  <levon@movementarian.org>
7423
7424         * BufferView_pimpl.C (dispatch): do not continue when
7425           no buffer
7426
7427 2002-08-28  André Pönitz <poenitz@gmx.net>
7428
7429         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7430
7431         * BufferView.h:
7432         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7433
7434 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
7435
7436         * buffer.C: increment LYX_FORMAT to 221
7437
7438         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7439         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7440
7441         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7442
7443         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7444
7445 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7446
7447         * factory.C (createInset): use LyXTextClass::floats
7448
7449         * MenuBackend.C (expandFloatListInsert):
7450         (expandFloatInsert):
7451         (expandToc):
7452
7453         * text2.C (setCounter):
7454
7455         * LaTeXFeatures.C (useFloat):
7456         (getFloatDefinitions):
7457
7458         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7459
7460         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7461         floatlist_, with accessor floats().
7462
7463         * FloatList.h: remove global FloatList
7464
7465 2002-08-26  André Pönitz <poenitz@gmx.net>
7466
7467         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7468
7469         * BufferView.h:
7470         * BufferView2.C:
7471         * BufferView_pimpl.C:
7472         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7473
7474 2002-08-25  John Levon  <levon@movementarian.org>
7475
7476         * LyXAction.C: fix margin note description
7477
7478 2002-08-24  John Levon  <levon@movementarian.org>
7479
7480         * buffer.C:
7481         * bufferlist.C:
7482         * bufferview_funcs.C:
7483         * lyxfont.C:
7484         * undo_funcs.C: cleanups
7485
7486         * lyxfunc.C: disable CUT/COPY when no selection
7487
7488 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
7489
7490         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7491         in "enum UNIT"; e.g. PTW for Percent of TextWidth
7492
7493         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7494         Add backward compatibility to "mono", "gray" and "no".
7495
7496 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
7497
7498         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7499         (and file_format >= 200).
7500
7501 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7502
7503         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7504
7505 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7506
7507         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7508
7509 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
7510
7511         * BufferView_pimpl.C:
7512         * LyXAction.C:
7513         * buffer.C:
7514         * commandtags.h:
7515         * lyxfunc.C:
7516         * paragraph.[Ch]:
7517         * text2.C:
7518         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7519         inset and code to make it  work with the paragraph code. The inset
7520         can be anywhere in the paragraph, but will only do the expected
7521         thing in LaTeX if the layout file contains the parameter line
7522                         OptionalArgs    1
7523         (or more generally, a nonzero value) for that layout.
7524
7525 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7526
7527         * paragraph.h: remove the declaration of undefined counters class
7528         function.
7529
7530 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
7531
7532         * text2.C (setCounter):  fixed enumeration mis-count as reported by
7533         Dr. Richard Hawkins.
7534
7535 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7536
7537         * paragraph_funcs.h: remove some unneeded includes
7538
7539         * text.C (backspace): pasteParagraph now in global scipe
7540
7541         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7542         (pasteSelection): ditto
7543
7544         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7545         * paragraph_funcs.C (pasteParagraph): ... here
7546
7547 2002-08-20  André Pönitz <poenitz@gmx.net>
7548
7549         * commandtags.h: new LFUNs for swapping/copying table row/colums
7550
7551         * LyXAction.C:
7552         * lyxfunc.C: support for new lfuns
7553
7554 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7555
7556         * tabular.C:
7557         * buffer.[Ch]: remove NO_COMPABILITY stuff
7558
7559 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
7560
7561         * boost.C (throw_exception): new file, with helper function for
7562         boost compiled without exceptions.
7563
7564         * paragraph.h:
7565         * lyxlength.C:
7566         * buffer.C:
7567         * ParameterStruct.h:
7568         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7569
7570         * bufferlist.C (emergencyWriteAll): use boost bind
7571
7572         * BufferView_pimpl.C (moveCursorUpdate): remove inline
7573
7574         * text.C: include paragraph_funcs.h
7575         (breakParagraph): breakParagraph is now in global scope
7576
7577         * paragraph_funcs.[Ch]: new files
7578
7579         * paragraph.C (breakParagraph,breakParagraphConservative): move to
7580         global scope
7581
7582         * buffer.C: include paragraph_funcs.h
7583         (insertStringAsLines): breakParagraph is now in global scope
7584
7585         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7586         paragraph_funcs.C
7587
7588         * CutAndPaste.C: include paragraph_funcs.h
7589         (cutSelection): breakParagraphConservative is now in global scope
7590         (pasteSelection): ditto
7591
7592         * buffer.h: declare oprator== and operator!= for
7593         Buffer::inset_iterator
7594
7595         * bufferlist.C (emergencyWrite): don't use fmt(...)
7596
7597         * text3.C: add using std::endl
7598
7599         * BufferView.C (moveCursorUpdate): remove default arg
7600
7601 2002-08-20  André Pönitz <poenitz@gmx.net>
7602
7603         * buffer.[Ch]: move inline functions to .C
7604
7605         * BufferView2.C:
7606         * BufferView_pimpl.C:
7607         * text.C:
7608         * buffer.[Ch]: use improved inset_iterator
7609
7610         * buffer.C:
7611         * paragraph.[Ch]: write one paragraph at a time
7612
7613 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
7614
7615         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7616         style if style is not specified.
7617
7618 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7619
7620         * text2.C (setCounter): when searching for right label for a
7621         caption, make sure to recurse to parent insets (so that a caption
7622         in a minipage in a figure float works) (bug #568)
7623
7624 2002-08-20  André Pönitz <poenitz@gmx.net>
7625
7626         * text3.C: new file for LyXText::dispatch() and helpers
7627
7628         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7629
7630         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7631
7632 2002-08-19  André Pönitz <poenitz@gmx.net>
7633
7634         * lyxtext.h:
7635         * text.C: new LyXText::dispatch()
7636
7637         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7638
7639 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
7640
7641         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7642
7643         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7644         Hebrew text.
7645
7646 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7647
7648         * Makefile.am: use $(variables) instead of @substitutions@
7649
7650 2002-08-15  André Pönitz <poenitz@gmx.net>
7651
7652         * lyxfunc.C:
7653         * BufferView_pimpl.C: streamlining mathed <-> outer world
7654         interaction
7655
7656         * commandtags.h:
7657         * LyXAction.C: remove unused LFUN_MATH
7658
7659 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7660
7661         * paragraph.[Ch]: add some NO_NEXT ifdefs.
7662
7663 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7664
7665         * paragraph.C (Paragraph): reformat a bit
7666         (cutIntoMinibuffer): use builtin InsetList function instad of
7667         doing it manually.
7668         (getInset): ditto
7669
7670         * buffer.C: include boost/bind.hpp, add using std::for_each
7671         (writeFileAscii): use ParagraphList iterators
7672         (validate): use for_each for validate traversal of paragraphs
7673         (getBibkeyList): use ParagraphList iterators
7674         (resizeInsets): use for_each to resizeInsetsLyXText for all
7675         paragraphs.
7676         (getParFromID): use ParagraphList iterators
7677
7678         * BufferView2.C (lockInset): use paragraph list and iterators
7679
7680 2002-08-14  John Levon  <levon@movementarian.org>
7681
7682         * lyxserver.C: remove spurious xforms include
7683
7684 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7685
7686         * lyxfunc.C (getStatus): disable math-extern outside of math mode
7687
7688 2002-08-13  André Pönitz <poenitz@gmx.net>
7689
7690         * LyXAction.[Ch]:
7691         * lyxfunc.C: further cleaning
7692
7693 2002-08-13  André Pönitz <poenitz@gmx.net>
7694
7695         * funcrequest.h: new constructor
7696
7697         * funcrequest.C: move stuff here from .h
7698
7699         * Makefile.am:
7700         * BufferView_pimpl.C:
7701         * LyXAction.C:
7702         * toc.C:
7703         * lyxfunc.C: subsequent changes
7704
7705         * lyxfunc.h: new view() member function
7706
7707         * lyxfunc.C: subsequent changes
7708
7709 2002-08-13  Angus Leeming  <leeming@lyx.org>
7710
7711         * BufferView2.C:
7712         * BufferView_pimpl.C:
7713         * buffer.C:
7714         * converter.C:
7715         * importer.C:
7716         * lyxfunc.C:
7717         * lyxvc.C:
7718         * toc.C:
7719         * vc-backend.C:
7720         changes due to the changed LyXView interface that now returns references
7721         to member variables not pointers.
7722
7723 2002-08-13  Angus Leeming  <leeming@lyx.org>
7724
7725         * WordLangTuple (word, lang_code): return references to strings,
7726         not strings.
7727
7728         * BufferView.h:
7729         * SpellBase.h:
7730         * lyxtext.h: forward-declare WordLangTuple.
7731
7732         * BufferView2.C:
7733         * ispell.C:
7734         * pspell.C:
7735         * text.C: #include "WordLangTuple.h".
7736
7737         * lyxtext.h:
7738         * text.C: (selectNextWordToSpellcheck): constify return type.
7739
7740 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
7741
7742         * buffer.C:
7743         * buffer.h:
7744         * lyxtext.h:
7745         * paragraph.C:
7746         * paragraph_pimpl.h:
7747         * text.C:
7748         * text2.C:
7749         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7750         suggested by Angus.
7751         Made updateCounter always count from start of buffer, and removed
7752         second argument (par).
7753         Reverted floats number display to '#'. Perhaps I'll try again when the
7754         code base is sanitized a bit.
7755
7756 2002-08-12  Angus Leeming  <leeming@lyx.org>
7757
7758         * buffer.[Ch] (getLabelList): constify.
7759
7760 2002-08-07  André Pönitz <poenitz@gmx.net>
7761
7762         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7763
7764         * funcrequest.h: extension to keep mouse (x,y) position
7765
7766 2002-08-12  Juergen Vigna  <jug@sad.it>
7767
7768         * BufferView2.C (insertErrors): forbid undo when inserting error
7769         insets.
7770
7771         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7772
7773 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7774
7775         * ParagraphList.[Ch]: new files
7776
7777         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7778
7779         * BufferView2.C (lockInset): ParagraphList changes
7780         * toc.C: ditto
7781         * text2.C: ditto
7782         * bufferlist.C: ditto
7783         * buffer.h: ditto
7784         * buffer.C: ditto
7785
7786 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7787
7788         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7789         unused class variable counter_,
7790
7791         * paragraph.[Ch] (getFirstCounter): delete unused function
7792
7793         * counters.C: include LAssert.h
7794         (reset): add a new function with no arg, change other version to
7795         not have def. arg and to not allow empty arg.
7796
7797         * text2.C (setCounter): remove empty arg from call to Counters::reset
7798
7799 2002-08-11  John Levon  <levon@movementarian.org>
7800
7801         * Makefile.am: add WordLangTuple.h
7802
7803 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7804
7805         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7806         lyxfunc.C lyxlex_pimpl.C: ws changes only.
7807
7808         * insets/insettext.C: InsetList changes
7809
7810         * graphics/GraphicsSupport.C (operator()): InsetList changes
7811
7812         * toc.C (getTocList): InsetList changes
7813
7814         * paragraph_pimpl.[Ch]: InsetList changes
7815
7816         * paragraph.[Ch]: InsetList changes
7817
7818         * buffer.C (inset_iterator): InsetList changes
7819         (setParagraph): ditto
7820         * buffer.h (inset_iterator): ditto
7821         * iterators.C (operator++): ditto
7822         * iterators.h: ditto
7823
7824         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7825
7826         * InsetList.[Ch]: new files, most InsetList handling moved out of
7827         paragraph.C.
7828
7829         * BufferView2.C (removeAutoInsets): InsetList changes
7830         (lockInset): ditto
7831         (ChangeInsets): ditto
7832
7833 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7834
7835         * paragraph_pimpl.h (empty): new function
7836
7837         * paragraph.[Ch] (empty): new function
7838
7839         * other files: use the new Paragraph::empty function
7840
7841 2002-08-09  John Levon  <levon@movementarian.org>
7842
7843         * lyxtext.h: remove unused refresh_height
7844
7845 2002-08-09  John Levon  <levon@movementarian.org>
7846
7847         * Makefile.am:
7848         * sgml.h:
7849         * sgml.C:
7850         * buffer.C:
7851         * paragraph.h:
7852         * paragraph.C: move sgml char escaping out of paragraph
7853
7854         * paragraph.h:
7855         * paragraph.C: remove id setter
7856
7857         * buffer.C:
7858         * paragraph.C:
7859         * paragraph_pimpl.C: remove dead tex_code_break_column
7860
7861         * bufferview_funcs.C: small cleanup
7862
7863         * lyxfunc.C: remove dead proto
7864
7865         * lyxtext.h: make some stuff private. Remove some dead stuff.
7866
7867         * lyxgluelength.C: make as[LyX]String() readable
7868
7869 2002-08-08  John Levon  <levon@movementarian.org>
7870
7871         * LyXAction.h:
7872         * LyXAction.C:
7873         * MenuBackend.C:
7874         * ToolbarDefaults.C:
7875         * lyxfunc.C:
7876         * lyxrc.C:
7877         * toc.C: lyxaction cleanup
7878
7879 2002-08-08  John Levon  <levon@movementarian.org>
7880
7881         * BufferView2.C: small cleanup
7882
7883         * lyxfind.h:
7884         * lyxfind.C: move unnecessary header into the .C
7885
7886 2002-08-08  John Levon  <levon@movementarian.org>
7887
7888         * funcrequest.h: just tedious nonsense
7889
7890         * lyx_main.h:
7891         * lyx_main.C: cleanups
7892
7893         * buffer.C:
7894         * vspace.C: remove dead header lyx_main.h
7895
7896 2002-08-07  Angus Leeming  <leeming@lyx.org>
7897
7898         * Paragraph.[Ch]:
7899         * paragraph_pimpl.h:
7900         Forward declare class Counters in paragraph.h by moving the ctrs member
7901         variable into Paragraph::Pimpl.
7902         (counters): new method, returning a reference to pimpl_->ctrs.
7903
7904         * text2.C: ensuing changes.
7905
7906 2002-08-07  John Levon  <levon@movementarian.org>
7907
7908         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7909
7910         * BufferView_pimpl.C: announce X selection on double/triple
7911           click
7912
7913         * lyx_main.C: use correct bool in batch dispatch
7914
7915         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7916
7917 2002-08-07  André Pönitz <poenitz@gmx.net>
7918
7919         * funcrequest.h: new class to wrap a kb_action and its argument
7920
7921         * BufferView.[Ch]:
7922         * BufferView_pimpl[Ch]:
7923         * LaTeX.C:
7924         * LyXAction.[Ch]:
7925         * lyxfunc.[Ch]:
7926         * lyxrc.C: subsequent changes
7927
7928
7929 2002-08-07  John Levon  <levon@movementarian.org>
7930
7931         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7932           document options change.
7933
7934 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7935
7936         * counters.[Ch]
7937         * text2.C
7938         * paragraph.[Ch]
7939         * makefile.am: move counters functionality over from
7940         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7941
7942 2002-08-06  John Levon  <levon@movementarian.org>
7943
7944         * WordLangTuple.h: new file for word + language code tuple
7945
7946         * SpellBase.h:
7947         * pspell.h:
7948         * pspell.C:
7949         * ispell.h:
7950         * ispell.C:
7951         * lyxtext.h:
7952         * text.C:
7953         * text2.C:
7954         * BufferView.h:
7955         * BufferView2.C: use WordLangTuple
7956
7957         * layout.h:
7958         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7959
7960 2002-08-06  John Levon  <levon@movementarian.org>
7961
7962         * lyx_main.C: fix cmdline batch handling
7963
7964 2002-08-06  André Pönitz <poenitz@gmx.net>
7965
7966         * lyxrc.C: set default for show_banner to true
7967
7968 2002-08-06  John Levon  <levon@movementarian.org>
7969
7970         * pspell.C: fix a crash, and allow new aspell to work
7971
7972 2002-08-06  John Levon  <levon@movementarian.org>
7973
7974         * lyxfunc.C:
7975         * kbmap.C: small cleanup
7976
7977         * vspace.h:
7978         * vspace.C: add const
7979
7980 2002-08-05  John Levon  <levon@movementarian.org>
7981
7982         * LyXAction.C: back to tabular-insert
7983
7984 2002-08-04  John Levon  <levon@movementarian.org>
7985
7986         * BufferView.h:
7987         * BufferView.C: cosmetic change
7988
7989         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7990
7991         * bufferlist.C:
7992         * buffer.h:
7993         * buffer.C:
7994         * lyxcb.h:
7995         * lyxcb.C:
7996         * lyxserver.C:
7997         * lyxvc.C:
7998         * vc-backend.C:
7999         * BufferView2.C: purge all "Lyx" not "LyX" strings
8000
8001         * lyxcursor.h:
8002         * lyxcursor.C: attempt to add some documentation
8003
8004         * lyxfunc.C:
8005         * commandtags.h:
8006         * LyXAction.C:
8007         * ToolbarDefaults.C:
8008         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8009           merge with LFUN_TABULAR_INSERT
8010
8011         * Makefile.am:
8012         * SpellBase.h:
8013         * ispell.h:
8014         * ispell.C:
8015         * pspell.h:
8016         * pspell.C: split up i/pspell implementations into separate
8017           files, many cleanups
8018
8019         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8020
8021         * text2.C: some cleanup
8022
8023         * lyxfunc.C: don't check for isp_command == "none" any more, it
8024           didn't make any sense
8025
8026 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
8027
8028         * counters.[Ch]
8029         * text2.C
8030         * paragraph.[Ch]
8031         * makefile.am: move counters functionality over
8032         from text2.C/paragraph.[Ch] to counters.[Ch], and
8033         make proper C++.
8034 2002-08-02  John Levon  <levon@movementarian.org>
8035
8036         * buffer.C: s/lyxconvert/lyx2lyx/
8037
8038 2002-08-02  Angus Leeming  <leeming@lyx.org>
8039
8040         * lyxlex.C: revert John's change as it breaks reading of the user
8041         preamble.
8042
8043 2002-08-02  Angus Leeming  <leeming@lyx.org>
8044
8045         * importer.C (Import):
8046         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8047         changes due to LyXView::view() now returning a boost::shared_ptr.
8048
8049 2002-08-02  John Levon  <levon@movementarian.org>
8050
8051         * lyxlex.C: small cleanup
8052
8053 2002-08-02  John Levon  <levon@movementarian.org>
8054
8055         * text2.C (status): small cleanup, no logic change
8056
8057 2002-08-01  John Levon  <levon@movementarian.org>
8058
8059         * buffer.h:
8060         * buffer.C (writeFile): don't output alerts, caller
8061           handles this
8062
8063         * bufferlist.C:
8064         * lyx_cb.C: from above
8065
8066         * lyxfunc.C: allow to open non-existent files
8067
8068 2002-07-31  John Levon  <levon@movementarian.org>
8069
8070         * lyxserver.C: don't let incidental errors get
8071           in the way (errno)
8072
8073 2002-07-30  John Levon  <levon@movementarian.org>
8074
8075         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8076
8077 2002-07-30  John Levon  <levon@movementarian.org>
8078
8079         * lyxserver.h:
8080         * lyxserver.C: remove I/O callback too
8081
8082 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8083
8084         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8085         log.
8086
8087 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8088
8089         * many files: strip,frontStrip -> trim,ltrim,rtrim
8090
8091 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8092
8093         * PrinterParams.h: remove extern containsOnly, and include
8094         support/lstrings.h instead.
8095
8096         * LaTeX.C (scanAuxFile): modify because of strip changes
8097         (deplog): ditto
8098         * buffer.C (makeLaTeXFile): ditto
8099         * bufferparams.C (writeFile): ditt
8100         * lyxfont.C (stateText): ditto
8101         * lyxserver.C (read_ready): ditto
8102         * vc-backend.C (scanMaster): ditto
8103
8104         * BufferView_pimpl.h: ws changes
8105
8106         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8107
8108 2002-07-26  André Pönitz <poenitz@gmx.net>
8109
8110         * kb_sequence.C: remove unnedred usings
8111
8112 2002-07-26  Juergen Vigna  <jug@sad.it>
8113
8114         * lyxfind.C (LyXReplace): we have to check better if the returned
8115         text is not of theLockingInset()->getLockingInset().
8116
8117 2002-07-25  Juergen Vigna  <jug@sad.it>
8118
8119         * lyxfind.C (LyXReplace): don't replace if we don't get the
8120         right LyXText.
8121
8122         * undo_funcs.C (createUndo): remove debugging code.
8123
8124 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
8125
8126         * buffer.C (parseSingleLyXformat2Token): Use default placement
8127         when reading old floats.
8128
8129         * FloatList.C (FloatList): Change the default placement of figure
8130         and tables to "tbp".
8131
8132 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
8133
8134         * MenuBackend.C: using std::max
8135
8136 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8137
8138         * MenuBackend.C (expandToc):
8139         (expandToc2): code moved from xforms menu frontend. It is now
8140         generic and TOCs are transparent to menu frontends.
8141
8142 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8143
8144         * toc.C (getTocList): protect against buf=0
8145
8146         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8147         Menu as first parameter. Now, this calls itself recursively to
8148         expand a whole tree (this will be useful for TOC handling)
8149         (expandFloatInsert): remove 'wide' version of floats
8150
8151         * MenuBackend.h (submenuname): returns the name of the submenu.
8152         (submenu): returns the submenu itself, provided it has been
8153         created by MenuBackend::expand
8154
8155 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8156
8157         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8158         insets which have noFontChange == true. (bug #172)
8159
8160 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8161
8162         * BufferView_pimpl.C: add connection objects and use them...
8163         (Pimpl): here.
8164
8165 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8166
8167         * MenuBackend.C (expandLastfiles):
8168         (expandDocuments):
8169         (expandFormats):
8170         (expandFloatListInsert):
8171         (expandFloatInsert):
8172         (expand): split expand in parts
8173
8174 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8175
8176         * lyx_gui.C: use lyx_gui::exit()
8177
8178 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8179
8180         * LyXAction.C: show the failing pseudo action
8181
8182 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
8183
8184         * buffer.C (readFile): Run the lyxconvert script in order to read
8185         old files.
8186
8187 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8188
8189         * LyXAction.C:
8190         * commandtags.h:
8191         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8192
8193 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8194
8195         * LyXAction.C:
8196         * commandtags.h:
8197         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8198
8199 2002-07-22  Herbert Voss  <voss@lyx.org>
8200
8201         * lengthcommon.C:
8202         * lyxlength.[Ch]: add support for the vertical lengths
8203
8204 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
8205
8206         * toc.[Ch]: std:: fixes
8207
8208 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8209
8210         * lyxrc.C: do not include lyx_main.h
8211
8212         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8213         for layouts
8214
8215         * lyxrc.C:
8216         * encoding.C:
8217         * bufferlist.C:
8218         * BufferView2.C: include "lyxlex.h"
8219
8220         * tabular.h:
8221         * bufferparams.h: do not #include "lyxlex.h"
8222
8223         * lyxtextclasslist.C (Add): remove method
8224         (classlist): renamed to classlist_
8225
8226         * paragraph_pimpl.C:
8227         * paragraph.C:
8228         * text2.C:
8229         * CutAndPaste.C:
8230         * bufferview_funcs.C:
8231         * bufferlist.C:
8232         * text.C:
8233         * LaTeXFeatures.C:
8234         * buffer.C:
8235         * toc.C (getTocList): use BufferParams::getLyXTextClass
8236
8237         * toc.C (getTocList): use InsetFloat::addToToc
8238
8239         * toc.[Ch]: new files, containing helper functions to handle table
8240         of contents
8241
8242         * lyxfunc.C (dispatch): no need to remove spaces around command
8243         given as a string
8244         (getStatus): handle LFUN_SEQUENCE by returning the status of the
8245         first command of the sequence; it is not very clever, but I do not
8246         have a better idea, actually
8247
8248         * LyXAction.C (LookupFunc): make sure to remove space at the
8249         beginning and end of the command
8250
8251 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8252
8253         * MenuBackend.C (getMenubar): new method: return the menubar of
8254         this menu set
8255         (read): treat differently reading of menu and menubar (in
8256         particular, the menubar has no name now)
8257         (Menu::menubar): remove
8258
8259         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8260         saving is finished
8261
8262 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8263
8264         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8265         a bibitem inset in a RTL paragraph.
8266
8267 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
8268
8269         * paragraph_pimpl.C: constify
8270
8271         * BufferView_pimpl.C:
8272         * LaTeX.C:
8273         * lyxfunc.C: fix dispatch in a nicer way
8274
8275 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8276
8277         * lyxfunc.C (dispatch):
8278         * BufferView_pimpl.C:
8279         * BufferView_pimpl.h:
8280         * BufferView.C:
8281         * BufferView.h: rename Dispatch() to dispatch()
8282
8283         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8284
8285         * lyxlayout.C (Read): honor DependsOn tag
8286
8287         * lyxlayout.[Ch] (depends_on): new method
8288
8289         * version.C.in: update lyx_docversion
8290
8291         * LaTeXFeatures.C (getMacros): only define \LyX when needed
8292
8293         * paragraph.C (validate): remove from here...
8294         * paragraph_pimpl.C (validate): ... and move here
8295         (isTextAt): make it const
8296
8297         * buffer.C (getLists): ws cleanup
8298
8299 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8300
8301         * language.C (read): Use iso8859-1 encoding in latex_lang
8302         (this prevents LyX from crashing when using iso10646-1 encoding).
8303
8304 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8305
8306         * text2.C (toggleInset): if cursor is inside an inset, close the
8307         inset and leave cursor _after_ it
8308
8309 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8310
8311         * lyxfunc.C: move minibuffer completion handling out of here
8312
8313 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8314
8315         * BufferView_pimpl.C:
8316         * LaTeX.C: fix dispatch calls
8317
8318 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
8319
8320         * text.C (drawChars): Fix Arabic text rendering.
8321
8322 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
8323
8324         * LyXAction.C:
8325         * commandtags.h:
8326         * lyxfunc.C: remove message-push/pop
8327
8328         * lyxserver.C:
8329         * lyxfunc.h:
8330         * lyxfunc.C: rationalise some code by removing verboseDispatch
8331           in favour of a bool argument to dispatch()
8332
8333 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8334
8335         * lyx_main.C (init): make sure to read symlinks as absolute paths
8336
8337 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8338
8339         * lyxfunc.h:
8340         * lyxfunc.C: no need for commandshortcut to be a member
8341
8342 2002-07-15  André Pönitz <poenitz@gmx.net>
8343
8344         * converter.C: add support for $$s (scripts from lib/scripts dir)
8345         * lyx_main.C: white space
8346
8347 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8348
8349         * bufferlist.C:
8350         * lyxrc.h:
8351         * lyxrc.C: remove second exit confirmation
8352
8353 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8354
8355         * BufferView.h:
8356         * BufferView.C:
8357         * BufferView2.C:
8358         * BufferView_pimpl.h:
8359         * BufferView_pimpl.C:
8360         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8361
8362 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8363
8364         * MenuBackend.C (expand): add numeric shortcuts to document menu
8365
8366         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8367
8368 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8369
8370         * lyxfont.C (setLyXFamily):
8371         (setLyXSeries):
8372         (setLyXShape):
8373         (setLyXSize):
8374         (setLyXMisc):
8375         (lyxRead):
8376         * debug.C (value):
8377         * buffer.C (asciiParagraph): use ascii_lowercase
8378
8379 2002-07-15  Mike Fabian  <mfabian@suse.de>
8380
8381         * lyxlex_pimpl.C (search_kw):
8382         * lyxlex.C (getLongString):
8383         * converter.h (operator<):
8384         * converter.C (operator<):
8385         * buffer.C (parseSingleLyXformat2Token):
8386         (asciiParagraph):
8387         * ToolbarDefaults.C (read):
8388         * MenuBackend.C (checkShortcuts):
8389         (read):
8390         * LColor.C (getFromGUIName):
8391         (getFromLyXName): use the compare_ascii_no_case instead of
8392         compare_no_case, because in turkish, 'i' is not the lowercase
8393         version of 'I', and thus turkish locale breaks parsing of tags.
8394
8395 2002-07-16  Angus Leeming  <leeming@lyx.org>
8396
8397         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8398         now takes a Buffer const & argument.
8399
8400 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
8401
8402         * BufferView.C (resize): check there's a buffer to resize
8403
8404 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
8405
8406         * lyxfunc.C: remove dead code
8407
8408         * lyxserver.h:
8409         * lyxserver.C: use lyx_guii::set_read_callback
8410
8411 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
8412
8413         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8414         an inset in a RTL paragraph.
8415
8416 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8417
8418         * lyxfunc.C: repaint after a font size update
8419
8420 2002-07-15  André Pönitz <poenitz@gmx.net>
8421
8422         * lyxlength.C: inBP should be able to return negative values
8423
8424 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8425
8426         * lyxfunc.C: use lyx_gui::update_fonts()
8427
8428 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8429
8430         * lyxfunc.C: use lyx_gui::update_color()
8431
8432 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8433
8434         * bufferlist.C:
8435         * lyxfunc.h:
8436         * lyxfunc.C:
8437         * lyxrc.h:
8438         * lyxrc.C: remove file->new asks for name option, and let
8439           buffer-new take an argument
8440
8441 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8442
8443         * BufferView_pimpl.C: remove unneeded extra repaint()
8444
8445 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
8446
8447         * LyXAction.C: allow command-sequence with NoBuffer
8448
8449         * lyxfunc.C: don't insist on trailing ';' for command-sequence
8450
8451 2002-07-10  Angus Leeming  <leeming@lyx.org>
8452
8453         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8454
8455 2002-07-09  Angus Leeming  <leeming@lyx.org>
8456
8457         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8458
8459 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8460
8461         * lengthcommon.h: whitespace
8462
8463         * lyxfunc.C: update scrollbar after goto paragraph
8464
8465         * lyxtext.h: factor out page break drawing, and fix it so
8466           page break/added space paints as selected nicely
8467
8468 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8469
8470         * BufferView_pimpl.C: add FIXMEs, clean up a little
8471
8472 2002-07-09  André Pönitz <poenitz@gmx.net>
8473
8474         * lyxfont.[Ch]: support for wasy symbols
8475
8476 2002-07-08  André Pönitz <poenitz@gmx.net>
8477
8478         * BufferView_pimpl.C: apply John's patch for #93.
8479
8480 2002-07-05  Angus Leeming  <leeming@lyx.org>
8481
8482         * BufferView_pimpl.C (buffer): generate previews if desired.
8483
8484         * LColor.h: add "preview" to the color enum.
8485
8486         * LColor.C (LColor): add a corresponding entry to the items array.
8487
8488         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8489         with this buffer.
8490
8491 2002-07-05  Angus Leeming  <leeming@lyx.org>
8492
8493         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8494         The body of the code is now in the method that is passed an ostream &
8495         rather than a file name.
8496         Pass an additional only_preamble parameter, useful for the forthcoming
8497         preview stuff.
8498
8499 2002-07-03  André Pönitz <poenitz@gmx.net>
8500
8501         * lyxfunc.C: simplify getStatus() a bit for math stuff
8502
8503 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8504
8505         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8506
8507 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8508
8509         * text.C (changeRegionCase): do not change case of all the
8510         document when region ends at paragraph end (bug #461)
8511
8512 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8513
8514         * paragraph.C (startTeXParParams):
8515         (endTeXParParams): add \protect when necessary
8516
8517 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8518
8519         * BufferView_pimpl.C (workAreaExpose): remove warning
8520
8521 2002-06-27  Angus Leeming  <leeming@lyx.org>
8522
8523         * Makefile.am: add lyxlayout_ptr_fwd.h.
8524
8525 2002-06-26  André Pönitz <poenitz@gmx.net>
8526
8527         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8528
8529 2002-06-25  Angus Leeming  <leeming@lyx.org>
8530
8531         * lyxfunc.C (dispatch): Comment out the call to
8532         grfx::GCache::changeDisplay. The method no longer exists now that the
8533         pixmap generation part of the graphics loader has been moved into
8534         InsetGraphics.
8535
8536 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8537
8538         * text2.C: layout as layout
8539
8540         * text.C: layout as layout
8541
8542         * tabular.C (OldFormatRead): layout as layout
8543
8544         * paragraph_pimpl.C (TeXDeeper): layout as layout
8545         (realizeFont): layout as layout
8546
8547         * paragraph.C (writeFile): layout as layout
8548         (validate): layout as layout
8549         (getFont): layout as layout
8550         (getLabelFont): layout as layout
8551         (getLayoutFont): layout as layout
8552         (breakParagraph): layout as layout
8553         (stripLeadingSpaces): layout as layout
8554         (getEndLabel): layout as layout
8555         (getMaxDepthAfter): layout as layout
8556         (applyLayout): layout as layout
8557         (TeXOnePar): layout as layout
8558         (simpleTeXOnePar): layout as layout
8559         (TeXEnvironment): layout as layout
8560         (layout): layout as layout
8561         (layout): layout as layout
8562
8563         * lyxtextclass.C (compare_name): new functor to work with
8564         shared_ptr, layout as layout
8565         (Read): layout as layout
8566         (hasLayout): layout as layout
8567         (operator): layout as layout
8568         (delete_layout): layout as layout
8569         (defaultLayout): layout as layout
8570
8571         * lyxlayout_ptr_fwd.h: new file
8572
8573         * lyxlayout.C (Read): layout as layout
8574
8575         * lyx_cb.C (MenuInsertLabel): layout as layout
8576
8577         * bufferlist.C (newFile): layout as layout
8578
8579         * buffer.C (readLyXformat2): layout as layout
8580         (parseSingleLyXformat2Token): layout as layout
8581         (insertStringAsLines): layout as layout
8582         (asciiParagraph): layout as layout
8583         (latexParagraphs): layout as layout
8584         (makeLinuxDocFile): layout as layout
8585         (simpleLinuxDocOnePar): layout as layout
8586         (makeDocBookFile): layout as layout
8587         (simpleDocBookOnePar): layout as layout
8588         (getLists): layout as layout
8589
8590         * LaTeXFeatures.C (getTClassPreamble): layout as layout
8591
8592         * CutAndPaste.C (cutSelection): layout as layout
8593         (pasteSelection): layout as layout
8594         (SwitchLayoutsBetweenClasses): layout as layout
8595
8596         * BufferView_pimpl.C (Dispatch): layout as layout
8597         (smartQuote): layout as layout
8598
8599         * BufferView2.C (unlockInset): layout as layout
8600
8601 2002-06-24  André Pönitz <poenitz@gmx.net>
8602
8603         * lyxfunc.C: fix #487
8604
8605 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8606
8607         * lyxrc.h:
8608         * lyxrc.C:
8609         * lyxfunc.C: remove display_shortcuts, show_banner
8610
8611 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8612
8613         * Buffer_pimpl.C: oops, update on resize
8614
8615 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8616
8617         * buffer.C:
8618         * converter.C:
8619         * exporter.C:
8620         * lyxfunc.C:
8621         * BufferView.h:
8622         * BufferView.C: use repaint()
8623
8624         * BufferView_pimpl.h:
8625         * BufferView_pimpl.C: s/updateScreen()/repaint()/
8626           as it's a clearer description. Remove superfluous
8627           redraws.
8628
8629 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8630
8631         * text.C: fix bug 488. Not ideal, but getting
8632           getWord() to work properly for the insets that
8633           matter is more difficult ...
8634
8635 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8636
8637         * BufferView_pimpl.C:
8638         * LyXAction.C:
8639         * commandtags.h:
8640         * lyxfunc.C: remove the six million index lyxfuncs to just
8641           one, and DTRT (bug 458)
8642
8643 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8644
8645         * BufferView.h:
8646         * BufferView.C:
8647         * BufferView_pimpl.h:
8648         * BufferView_pimpl.C: clean up resize() stuff,
8649           and unnecessary updateScreen()s
8650
8651 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8652
8653         * BufferView.h:
8654         * BufferView.C:
8655         * BufferView_pimpl.h:
8656         * BufferView_pimpl.C:
8657         * lyxfind.h:
8658         * lyxfind.C:
8659         * minibuffer.C: remove focus management of workarea,
8660           not needed. Use screen's greyOut()
8661
8662 2002-06-17  Herbert Voss  <voss@lyx.org>
8663
8664         * converter.C: (convert) do not post a message, when converting
8665         fails, let the calling function decide what to do in this case
8666
8667 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
8668
8669         * lyxfunc.C: tidy up a little
8670
8671 2002-06-16    <alstrup@diku.dk>
8672
8673         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8674         Got rid of FORMS_H_LOCATION include. Now we are
8675         GUII.
8676
8677 2002-06-15  LyX Development team  <lyx@rilke>
8678
8679         * buffer.[Ch] (sgmlOpenTag):
8680         (sgmlCloseTag): Added support for avoiding pernicious mixed
8681         content. Return number of lines written.
8682
8683         (makeLinuxDocFile):
8684         (makeDocBookFile): Fixed calls to sgml*Tag.
8685         Simple white space clean.
8686
8687         (simpleDocBookOnePar): Simple white space clean.
8688
8689         * tabular.[Ch] (docBook): Renamed to docbook and got another
8690         argument to related with the pernicious mixed content.
8691
8692         (docbookRow): Fixed calls for docbook inset method.
8693
8694 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
8695
8696         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8697         so it's X11 independent.
8698
8699         * kb*.[Ch]: ditto.
8700
8701         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8702
8703 2002-06-15  Lyx Development team  <lyx@electronia>
8704
8705         * intl.h: Renamed getTrans to getTransManager.
8706
8707 2002-06-14  Angus Leeming  <leeming@lyx.org>
8708
8709         * Makefile.am: nuke forgotten stl_string_fwd.h.
8710
8711 2002-06-12  Angus Leeming  <leeming@lyx.org>
8712
8713         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8714
8715 2002-06-13  Angus Leeming  <leeming@lyx.org>
8716
8717         * LaTeX.C:
8718         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8719
8720 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
8721
8722         * kbmap.C (getiso): add support for cyrillic and greek
8723
8724 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8725
8726         * BufferView.h:
8727         * BufferView.C:
8728         * BufferView_pimpl.h:
8729         * BufferView_pimpl.C: move bogus scrolling logic
8730           to xforms
8731
8732 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8733
8734         * lyxfunc.C:
8735         * BufferView_pimpl.C: view->resize() change
8736
8737 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8738
8739         * BufferView_pimpl.C: topCursorVisible
8740           prototype change
8741
8742 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8743
8744         * Makefile.am:
8745         * lyx_gui.h:
8746         * lyx_gui.C: move to frontends/
8747
8748         * main.C:
8749         * lyx_main.h:
8750         * lyx_main.C: changes from above
8751
8752 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8753
8754         * intl.C:
8755         * intl.h:
8756         * kbmap.C:
8757         * kbsequence.C:
8758         * lyx_cb.C:
8759         * lyx_main.C: minor tidy
8760
8761 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8762
8763         * BufferView_pimpl.h:
8764         * BufferView_pimpl.C:
8765         * BufferView.h:
8766         * BufferView.C: make painter() const,
8767           remove dead code
8768
8769         * BufferView2.C: use screen() accessor
8770
8771         * lyx_main.h:
8772         * lyx_main.C: some minor cleanup
8773
8774 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8775
8776         * BufferView_pimpl.h:
8777         * BufferView_pimpl.C: remove enter/leaveView,
8778           use workHeight()
8779
8780 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8781
8782         * BufferView.h:
8783         * BufferView.C:
8784         * BufferView2.C:
8785         * BufferView_pimpl.h:
8786         * BufferView_pimpl.C: only construct screen once,
8787           rename
8788
8789         * lyxrc.C: remove pointless comment
8790
8791 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8792
8793         * BufferView.h:
8794         * BufferView.C: remove active() and belowMouse()
8795
8796         * BufferView_pimpl.h:
8797         * BufferView_pimpl.C: use workarea() not workarea_,
8798           and make it use a scoped_ptr instead
8799
8800 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8801
8802         * lyx_gui.C: add debug message on BadWindow
8803
8804 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8805
8806         * sp_spell.C: fdopen is not part of the C++ standard.
8807
8808         * paragraph.C (InsetIterator): use >= instead of ==
8809
8810 2002-06-07  Angus Leeming  <leeming@lyx.org>
8811
8812         Fixes needed to compile with Compaq cxx 6.5.
8813         * BufferView_pimpl.C:
8814         * DepTable.C:
8815         * buffer.C:
8816         * converter.C:
8817         * encoding.C:
8818         * lyx_gui.C:
8819         * lyx_main.C:
8820         * lyxtextclasslist.C:
8821         * minibuffer.C:
8822         * sp_spell.C:
8823         * tabular_funcs.C:
8824         * vc-backend.C:
8825         all c-library variables have been moved into namespace std. Wrap
8826         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8827
8828         * lyxlength.C:
8829         * tabular-old.C:
8830         * tabular.C:
8831         Add a using std::abs declaration.
8832
8833         * kbmap.h (modifier_pair):
8834         * paragraph.h (InsetTable, InsetList):
8835         * lyxfont.h (FontBits):
8836         type definition made public.
8837
8838         * bufferlist.C (emergencyWriteAll): the compiler complains that
8839         there is more than one possible lyx::class_fun template to choose from.
8840         I re-named the void specialisation as lyx::void_class_fun.
8841
8842         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8843
8844         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8845         the compiler is is unable to find tostr in write_attribute.
8846
8847 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8848
8849         * buffer.C (sgmlError): hide #warning
8850
8851 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8852
8853         * xtl/*: get rid of xtl, which is not in use anyway
8854
8855         * LyXAction.C (init):
8856         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8857         were unimplemented xtl experimentation
8858
8859 2002-06-04  André Pönitz <poenitz@gmx.net>
8860
8861         * lyxfunc.C: disable array operation on simple formulae
8862
8863 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
8864
8865         * converter.C: constify a bit
8866
8867 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
8868
8869         * lyx_gui.C: check xforms version correctly
8870
8871 2002-04-30  Herbert Voss  <voss@lyx.org>
8872
8873         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8874         "keep" option
8875
8876 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
8877
8878         * lyxvc.C: fix bug 416 (make sure buffer is saved before
8879           attempt to register it with a VCS)
8880
8881 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8882
8883         * lyx_main.C (init): honor variables LYX_DIR_13x and
8884         LYX_USERDIR_13x
8885
8886 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8887
8888         * buffer.h:
8889         * buffer.C:
8890         * lyx_main.C: fix a crash on bad command line,
8891           and give a useful exit status on error
8892
8893         * lyxfunc.C (doImport): allow -i lyx to work
8894
8895 2002-03-30  André Pönitz <poenitz@gmx.net>
8896
8897         * lyxfunc.C: mathed font changes
8898
8899 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8900
8901         * LaTeX.C:
8902         * importer.h:
8903         * importer.C:
8904         * lyx_sty.h:
8905         * lyx_sty.C:
8906         * lyxlex.C:
8907         * lyxrow.h:
8908         * lyxtext.h:
8909         * paragraph.h:
8910         * paragraph.C:
8911         * texrow.h:
8912         * texrow.C:
8913         * text.C:
8914         * trans_mgr.h: srcdocs, and some minor cleanups
8915
8916 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8917
8918         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8919         call getFont all the time)
8920
8921 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8922
8923         * switch from SigC signals to boost::signals
8924
8925 2002-05-29  André Pönitz <poenitz@gmx.net>
8926
8927         * paragraph_pimpl.C (getChar): don't call size() too often...
8928
8929 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8930
8931         * paragraph_pimpl.C (insertChar): do not try to update tables when
8932         appending (pos == size())
8933
8934         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8935         in order to reduce drastically the number of comparisons needed to
8936         parse a large document
8937
8938 2002-05-29  André Pönitz <poenitz@gmx.net>
8939
8940         * text.C:
8941         * text2.C:
8942         * lyxtextclass.C:
8943         * sp_pspell.h:
8944         * textclasslist.[Ch]:
8945         * sp_ispell.h: whitespace change
8946
8947 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8948
8949         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8950         lyxaction directly now.
8951
8952 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8953
8954         * trans.C:
8955         * lyxfont.C:
8956         * lyxvc.C: remove unused headers
8957
8958 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8959
8960         * Makefile.am:
8961         * buffer.h:
8962         * undostack.h:
8963         * undostack.C:
8964         * undo_funcs.h:
8965         * undo_funcs.C: some cleanups. Use shared_ptr
8966           and a template for the undo stacks.
8967
8968 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8969
8970         * BufferView_pimpl.h:
8971         * BufferView_pimpl.C:
8972         * kbmap.h:
8973         * kbmap.C:
8974         * kbsequence.h:
8975         * kbsequence.C:
8976         * lyxfunc.h:
8977         * lyxfunc.C:
8978         * text2.C: use key_state/mouse_state
8979
8980 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8981
8982         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8983         and LSubstring
8984
8985         * chset.C: change include order
8986         (loadFile): use boost regex and get rid of LRegex and LSubstring
8987
8988         * Makefile.am (BOOST_LIBS): new variable
8989         (lyx_LDADD): use it
8990
8991         * LaTeX.C: change include order.
8992         (scanAuxFile): use boost regex and get rid of LRegex and
8993         LSubstring
8994         (deplog): ditto
8995
8996 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8997
8998         * ColorHandler.h:
8999         * ColorHandler.C:
9000         * FontInfo.h:
9001         * FontInfo.C: moved to frontends/xforms/
9002
9003         * FontLoader.h:
9004         * FontLoader.C: moved into frontends for GUIIzation
9005
9006         * Makefile.am:
9007         * lyx_gui.C:
9008         * lyxfont.C:
9009         * lyxfunc.C: changes from above
9010
9011 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9012
9013         * LColor.C: remove spurious X include
9014
9015         * BufferView_pimpl.C:
9016         * Makefile.am:
9017         * font.h:
9018         * font.C:
9019         * text.C:
9020         * text2.C: move font metrics to frontends/
9021
9022 2002-05-24  Juergen Vigna  <jug@sad.it>
9023
9024         * undo_funcs.C (textHandleUndo): fix the cursor selection after
9025         setting the undo_cursor.
9026
9027         * ParagraphParameters.h: include local includes first.
9028
9029 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9030
9031         * BufferView_pimpl.C:
9032         * BufferView_pimpl.h:
9033         * Makefile.am:
9034         * WorkArea.h:
9035         * WorkArea.C:
9036         * screen.C: move WorkArea into frontends/
9037
9038         * lyxscreen.h:
9039         * screen.C:
9040         * text.C:
9041         * BufferView.C:
9042         * BufferView2.C: move LyXScreen into frontends/
9043
9044         * lyxlookup.h:
9045         * lyxlookup.C:
9046         * lyx_gui.C: move lyxlookup into frontends/xforms/
9047
9048 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9049
9050         * BufferView2.C:
9051         * BufferView_pimpl.C:
9052         * FontLoader.C:
9053         * LyXView.h:
9054         * LyXView.C:
9055         * Makefile.am:
9056         * WorkArea.C:
9057         * XFormsView.h:
9058         * XFormsView.C:
9059         * buffer.C:
9060         * bufferlist.C:
9061         * bufferview_funcs.C:
9062         * converter.C:
9063         * importer.C:
9064         * lyx_cb.C:
9065         * lyx_gui.C:
9066         * lyx_main.C:
9067         * lyx_find.C:
9068         * lyxfunc.C:
9069         * lyxvc.C:
9070         * minibuffer.C:
9071         * text.C:
9072         * text2.C:
9073         * trans.C:
9074         * vc-backend.C: move LyX/XFormsView into frontends/
9075
9076 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9077
9078         * Makefile.am:
9079         * PainterBase.C:
9080         * PainterBase.h:
9081         * Painter.C:
9082         * Painter.h:
9083         * WorkArea.C:
9084         * WorkArea.h:
9085         * screen.C:
9086         * tabular.C:
9087         * text.C:
9088         * text2.C: move Painter to frontends/
9089
9090 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9091
9092         * buffer.C: comment out some some code that depend upon lyx_format
9093         < 220
9094
9095         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9096         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9097
9098         * buffer.h (NO_COMPABILITY): turn off compability
9099
9100         * ColorHandler.C: include scoped_array.hpp
9101
9102         * font.C: Use more specific smart_ptr header.
9103         * Painter.C: ditto
9104         * gettext.C: ditto
9105         * ShareContainer.h: ditto
9106         * lyx_main.h: ditto
9107         * kbmap.h: ditto
9108         * FontInfo.h: ditto
9109         * BufferView_pimpl.h: ditto
9110         * ColorHandler.h: ditto
9111
9112         * kbmap.C (defkey): change call to shared_ptr::reset
9113
9114 2002-05-21  Juergen Vigna  <jug@sad.it>
9115
9116         * buffer.C (insertErtContents): fix to insert ert asis if it is
9117         non empty. Skip it completely if it contains only whitespaces.
9118
9119 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
9120
9121         * BufferView_pimpl.C:
9122         * BufferView2.C: clear selection on paste (bug 393)
9123
9124 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9125
9126         * DepTable.C: include ctime
9127
9128 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
9129
9130         * buffer.C (latexParagraphs): Add new argument (moving_arg).
9131
9132 2002-05-14  Juergen Vigna  <jug@sad.it>
9133
9134         * text.C (breakParagraph): fixed function to honor the keepempty
9135         layout in the right maner and also to permit the right breaking
9136         algorithm on empty or non empyt keepempty paragraphs.
9137
9138         * paragraph.C (breakParagraph): we have to check also if the par
9139         is really empty (!size()) for isempty otherwise we do the wrong
9140         paragraph break.
9141
9142 2002-05-10  Juergen Vigna  <jug@sad.it>
9143
9144         * buffer.[Ch] : The following are only changes to the ert
9145         compatibility read reading old LaTeX layout and font stuff and
9146         convert it to ERTInsets.
9147
9148         * buffer.h: added isErtInset().
9149
9150         * buffer.C (struct ErtComp): add a fromlayout bool to check
9151         if we're inside a LaTeX layout.
9152         (isErtInset): new helper function.
9153         (insertErtContents): look for other ert insets before this one
9154         and insert the contents there, so that we don't have subsequent
9155         ERT insets with nothing between them. This way we create only one
9156         inset with multiple paragraphs. Also check if we don't insert only
9157         spaces ' ' as they are ignored anyway afterwards in the .tex file
9158         so if we have only spaces we will ignore this latex part in the
9159         new file.
9160         (parseSingleLyXformat2Token \\layout): better compatibility when
9161         reading layout-latex stuff.
9162         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9163         language tag.
9164         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9165         stuff after reading the inset only get the information back from
9166         the stack.
9167
9168 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
9169
9170         * buffer.C (makeLaTeXFile): Put language options after loading babel.
9171
9172         * LaTeXFeatures.C (getBabelOptions): New method.
9173
9174 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9175
9176         * BufferView_pimpl.C (Dispatch): work around missing argument for
9177         'layout'
9178
9179 2002-05-08  Juergen Vigna  <jug@sad.it>
9180
9181         * text.C (leftMargin): handle paragraph leftindent.
9182
9183         * paragraph.C (writeFile): write the new \\leftindent tag.
9184         (validate): handle leftindent code.
9185         (TeXEnvironment): handle paragraphleftindent code again.
9186
9187         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9188
9189         * buffer.C (parseSingleLyXformat2Token): added compatibility code
9190         for paragrap_extra indent code and new token \\leftindent.
9191         (latexParagraphs): handle the leftindent as environment.
9192
9193         * ParameterStruct.h: added leftindent support.
9194
9195         * ParagraphParameters.C (leftIndent): added support functions for
9196         the paragraph left indent.
9197
9198         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9199         more appropriate.
9200
9201 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
9202
9203         * paragraph.C (isRightToLeftPar): Return false for a paragraph
9204         inside insetERT.
9205
9206         * text.C (computeBidiTables): No bidi in insetERT.
9207
9208         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9209         in RTL documents.
9210
9211 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9212
9213         * version.C.in: pre 5
9214
9215 2002-05-02  José Matos  <jamatos@fep.up.pt>
9216         * buffer.C (makeDocBookFile): white space changes, add newline to
9217         command styles.
9218         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9219
9220         * tabular.C (docBook): fix typo.
9221
9222 2002-05-03  Juergen Vigna  <jug@sad.it>
9223
9224         * screen.C (drawFromTo): recalculate the rowpointer if we had a
9225         change in LyXText as we can not be sure it was not freed.
9226         (drawOneRow): remove unused code.
9227
9228         * text.C (drawInset): redo the calculation of the need_break_row as
9229         it could have a row which was already freed.
9230         (draw): look at the return value of drawInset and return false if
9231         it also returned false.
9232         (paintRowText): look at the return value of draw and return false if
9233         it also returned false.
9234
9235         * lyxtext.h: added bool return type to drawInset() and draw() so that
9236         if we have a change in the row so that the rowbreak has to be redone
9237         we abort drawing as it will be called again.
9238
9239 2002-05-02  Juergen Vigna  <jug@sad.it>
9240
9241         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9242         a change in the maintext also if we're inside an inset.
9243         (Dispatch): set the cursor again after a break line and after the
9244         screen has been updated as it could be we're in a different row.
9245
9246         * text2.C (fixCursorAfterDelete): check to make sure we don't request
9247         to set the cursor behind the pargraph with > size().
9248         (setCursor): check also for the same paragraph when checking where
9249         to put the cursor if we have a NFR inset.
9250
9251         * buffer.C (parseSingleLyXformat2Token): move the compatibility
9252         parts of layout read further up as it still was in the wrong
9253         position.
9254
9255 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9256
9257         * screen.C (drawFromTo): change sine fullRebreak always return
9258         true.
9259
9260         * buffer.C (parseSingleLyXformat2Token): reindent some
9261
9262         * BufferView_pimpl.C (update): change since fullRebreak always
9263         return true.
9264         (Dispatch): git rid of the last hardcoded "Standard"s.
9265
9266 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9267
9268         * text2.[Ch] (fullRebreak): make it return void now that we always
9269         returned true.
9270
9271 2002-04-30  Juergen Vigna  <jug@sad.it>
9272
9273         * buffer.C (parseSingleLyXformat2Token): reset the font before the
9274         ert compatibility check for "latex" layout.
9275
9276 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
9277
9278         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9279         minipages: use col% instead of p%, and also use the current font.
9280         (makeLaTeXFile): Fix use babel condition.
9281         (parseSingleLyXformat2Token): Correct font when reading old floats.
9282
9283 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
9284
9285         * BufferView_pimpl.C (Dispatch): Check that float type exists when
9286         inserting list of floats.
9287
9288 2002-04-25  Herbert Voss  <voss@lyx.org>
9289
9290         * MenuBackend.C (expand): don't add the graphics extensions to the
9291         export menu
9292
9293 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9294
9295         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9296         non-existing layout, do not complain if it was the default layout
9297         of the original class (bug #342)
9298
9299 2002-04-24  Juergen Vigna  <jug@sad.it>
9300
9301         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9302         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9303
9304 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
9305
9306         * buffer.C (getBibkeyList): If using \bibliography, return the
9307         option field with the reference itself. Enables us to provide natbib
9308         support when using \bibliography.
9309
9310 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
9311
9312         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9313
9314         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9315         natbib is provided by the LaTeX class.
9316
9317 2002-04-23  Juergen Vigna  <jug@sad.it>
9318
9319         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9320         Wakeup functions.
9321
9322         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9323
9324 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9325
9326         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9327
9328         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9329         ensuremath around textordmasculine, textordfeminine and
9330         textdegree.
9331
9332 2002-04-19  Juergen Vigna  <jug@sad.it>
9333
9334         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9335         reinitializing the buffer otherwise row-dimensions may be wrong.
9336         (update): reset also the selection cursors if they do exits otherwise
9337         their x/y positions may be wrong.
9338
9339         * text2.C (cursorDown): don't enter the inset if we came from a row
9340         above and are one row over the inset.
9341
9342         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9343         really leaving an inset.
9344
9345 2002-04-18  Juergen Vigna  <jug@sad.it>
9346
9347         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9348         of the selected paragraph does not have the selected layout also if
9349         the last one had!
9350
9351         * text2.C (setLayout): fixed bug which did not change last selected
9352         paragraph.
9353
9354         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9355         changed the read and substituted \\end_float with \\end_inset!
9356
9357         * BufferView_pimpl.C (cursorPrevious):
9358         (cursorNext): fixed to make it work with rows heigher than the work
9359         area without moving the cursor only the draw of the row.
9360         (workAreaMotionNotify): fix jumping over high rows.
9361
9362 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9363
9364         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9365         Ressler.
9366
9367 2002-04-16  Juergen Vigna  <jug@sad.it>
9368
9369         * text2.C (setCursor): set also the irow().
9370         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9371         (cursorUp):
9372         (cursorDown): support for locking an inset if the x_fix value goes
9373         inside it. That way I can transverse insets too with cursor up/down.
9374
9375         * lyxrow.h: added irow helper function same as other (i) functions.
9376
9377         * BufferView_pimpl.C (cursorPrevious):
9378         (cursorNext): fixed for insets!
9379
9380 2002-04-15  Juergen Vigna  <jug@sad.it>
9381
9382         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9383         position otherwise it is wrong in some cases.
9384
9385         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9386         inside the inset before the call.
9387
9388 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
9389
9390         * buffer.[Ch] (getBibkeyList): make it const.
9391
9392 2002-04-12  Juergen Vigna  <jug@sad.it>
9393
9394         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9395
9396         * text2.C (getCursorX): new helper function
9397         (setCursor): compute also ix_
9398         (setCursorFromCoordinates): set also ix.
9399
9400         * lyxcursor.h: added ix_ and helper functions.
9401
9402         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9403
9404         * buffer.C (insertStringAsLines): dont break paragraph if the this
9405         paragraph is inside an inset which does not permit it!
9406
9407         * text.C (breakParagraph): honor keepempty flag and break the paragraph
9408         also with no chars on this paragraph.
9409         (paintRowText): only paint stuff if it's inside the workarea!
9410
9411         * paragraph.C (breakParagraph): honor keepempty flag and break the
9412         paragraph always below not above.
9413
9414         * BufferView2.C (unlockInset): update the paragraph layout on inset
9415         unlock as we changed paragraph in such a case.
9416
9417         * lyxfind.C (LyXFind): clear the former selection if not found!
9418
9419         * text2.C (insertInset): freeze Undo after setUndo so that it is not
9420         again called in insertChar().
9421
9422         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9423         an inset which uses the whole row!
9424         (rightMargin): ditto.
9425         (insertChar): force a rebreak if we inserted an inset!
9426
9427 2002-03-28  Herbert Voss  <voss@lyx.org>
9428
9429         * lyxlength.[Ch]: add inBP() to get the right PS-point
9430         units (BigPoint). With inPixels we have rounding errors
9431
9432 2002-04-11  Juergen Vigna  <jug@sad.it>
9433
9434         * text2.C (setCursorFromCoordinates): set iy to the right value.
9435         (setCursor): add check if row->previous exists!
9436
9437         * buffer.C (parseSingleLyXformat2Token): reset font after read of
9438         an old float_type as this was the case in the old code!
9439
9440         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9441
9442         * BufferView2.C (showLockedInsetCursor): use iy
9443         (fitLockedInsetCursor): ditto
9444
9445         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9446         locked insets as there we have the right value now.
9447
9448         * lyxcursor.C: added iy_ variable and iy functions to set to the
9449         baseline of cursor-y of the locked inset.
9450
9451         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9452         (setCursor): fixed for insets which need a full row.
9453
9454         * text.C (rowLastPrintable): don't ignore the last space when before
9455         an inset which needs a full row.
9456         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9457         as last character of a row when before a inset which needs a full row.
9458
9459 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9460
9461         * version.C.in: update date
9462
9463         * text2.C (fullRebreak): try to always return true and see what
9464         happens...
9465
9466 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9467
9468         * MenuBackend.C (expand): use Floating::listName
9469
9470         * FloatList.C (FloatList): add listName argument to the built-in
9471         floats
9472
9473         * Floating.[Ch]: add listName member, which is the 'List of XXX'
9474         text associated with the float.
9475
9476 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9477
9478         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9479
9480 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9481
9482         * ShareContainer.h: add a couple of missing typenames.
9483
9484 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
9485
9486         * lyxrc.C (getDescription): use _() correctly rather than N_().
9487
9488 2002-03-28  Herbert Voss  <voss@lyx.org>
9489
9490         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9491         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9492
9493 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9494
9495         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9496         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9497
9498 2002-03-29  Juergen Vigna  <jug@sad.it>
9499
9500         * lyxfunc.C (dispatch): add a missing fitCursor call.
9501
9502         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9503         it was scrolled by a cursor move, so return the bool status.
9504
9505         * BufferView.C (fitCursor): return the bool flag also to the outside
9506         world as this is needed.
9507
9508         * screen.C (toggleToggle): don't subtract the offset if it's positive.
9509
9510         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9511         call the edit() as it is not needed (and wrong) IMO.
9512         (workAreaButtonPress): set the screen_first variable before evt.
9513         unlock the inset as this may change screen_first and then we have
9514         a wrong y position for the click!
9515
9516 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9517
9518         * MenuBackend.C (expand): another translation that I missed
9519
9520 2002-03-28  Juergen Vigna  <jug@sad.it>
9521
9522         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9523
9524         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9525
9526 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9527
9528         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9529
9530         * MenuBackend.C (expand): fix export/view/update when there is no
9531         document open.
9532
9533 2002-03-27  Herbert Voss  <voss@lyx.org>
9534
9535         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9536         and text%
9537
9538 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9539
9540         * bufferview_funcs.C (currentState): only show paragraph number
9541         for is DEVEL_VERSION is set.
9542
9543         * lyxfunc.C (dispatch): put warning in INFO channel
9544
9545         * MenuBackend.C (expand): translate the name of floats
9546
9547         * FloatList.C (FloatList): mark the float names for translation
9548
9549         * converter.C (convert): use LibScriptSearch
9550
9551 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9552
9553         * MenuBackend.C (defaults): fix default menu (we might as well get
9554         rid of it...)
9555
9556 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9557
9558         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9559         directory.
9560
9561 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9562
9563         * lyxvc.C: reorder includes.
9564
9565 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
9566
9567         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9568           properly
9569
9570 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
9571
9572         * CutAndPaste.C: change layouts earlier on paste
9573           to avoid crashing when calling getFont()
9574
9575 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
9576
9577         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9578         irritating #error.
9579
9580 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9581
9582         * WorkArea.C: remove 'Pending' debug message.
9583
9584         * most files: ws cleanup
9585
9586         * buffer.[Ch]: ws changes
9587
9588         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9589
9590 2002-03-21  Juergen Vigna  <jug@sad.it>
9591
9592         * tabular.C (SetMultiColumn): collapse also the contents of the
9593         cells and set the last border right. Added a Buffer const * param.
9594
9595 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9596
9597         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9598         linking or not.
9599
9600 2002-03-19  Juergen Vigna  <jug@sad.it>
9601
9602         * text2.C (clearSelection): reset also xsel_cache.
9603
9604         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9605         where it needs to be called (John tells us to do so too :)
9606         (selectionLost): reset sel_cache.
9607
9608         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9609
9610 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9611
9612         * text2.C (setCursorIntern): put debuging code in INSETS channel
9613
9614 2002-03-19  André Pönitz <poenitz@gmx.net>
9615
9616         * lyxfunc.C: tiny whitespace change
9617
9618 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9619
9620         * ToolbarDefaults.C (init):
9621         * LyXAction.C (init):
9622         * commandtags.h:
9623         * BufferView_pimpl.C (Dispatch):
9624         * lyxfunc.C (dispatch): remove LFUN_DEPTH
9625
9626 2002-03-19  Allan Rae  <rae@lyx.org>
9627
9628         * exporter.C (Export): removeAutoInsets before doing anything else.
9629         While I've just introduced a dependency on BufferView this really is
9630         the best place to clean the buffer otherwise you need to cleanup in
9631         a dozen places before calling export or cleanup in a dozen functions
9632         that export calls.
9633
9634         * converter.C (runLaTeX):
9635         (scanLog): Better handling of removeAutoInsets and screen updates.
9636
9637         * lyxfunc.C (dispatch): small whitespace changes
9638
9639 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9640
9641         * WorkArea.C (C_WorkAreaEvent): return a value.
9642         (event_cb): return 1 if we handled the event, 0 otherwise.
9643
9644         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9645
9646 2002-03-18  Juergen Vigna  <jug@sad.it>
9647
9648         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9649         (GetAdditionalWidth): ditto.
9650         (RightLine): ditto.
9651         (LeftLine): ditto.
9652
9653         * BufferView2.C (copy): use getLyXText() so that we do it inside an
9654         inset if we're there actually (probably not used right now but this
9655         is the direction to go for unifying code).
9656         (paste): disable code to clear the selection.
9657
9658         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9659         inside an InsetText and move the check further up as it is in the
9660         wrong place.
9661
9662         * text2.C (pasteSelection): set a selection over the pasted text.
9663
9664 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
9665
9666         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9667         and libgraphics to build on Cygwin.
9668
9669 2002-03-15  Juergen Vigna  <jug@sad.it>
9670
9671         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9672         inserting an Inset into the paragraph. I know this is not the best
9673         fix but we already use current_view in CutAndPaste so we will remove
9674         all of it's using at the same time.
9675
9676         * buffer.C (sgmlError): deactivated function till it is rewritten in
9677         the right mode, now it can create problems.
9678
9679         * paragraph.C (isLineSeparator): check if getInset returns != 0,
9680         before accessing it.
9681
9682 2002-03-14  Juergen Vigna  <jug@sad.it>
9683
9684         * undo_funcs.C (textHandleUndo): do the right thing when updating
9685         the inset after the undo/redo.
9686
9687         * text2.C (setCursor): just some testcode for #44 not ready yet.
9688
9689         * undo_funcs.C (textHandleUndo): set the next() and previous()
9690         pointers of the paragraph to 0 before deleting otherwise we have
9691         problems with the Paragraph::[destructor].
9692
9693         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9694         on a paragraph insertion.
9695
9696 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9697
9698         * buffer.C (asciiParagraph): use += operator for char append to
9699         string.
9700
9701         * paragraph.C (getFontSettings): compare >= not just >
9702         (highestFontInRange): ditto
9703         (setFont): ditto
9704
9705 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9706
9707         * paragraph.C: change several algorithm to be more appripriate for
9708         the problem domain. This is lookip in FontList and in the InsetList.
9709
9710 2002-03-13  André Pönitz <poenitz@gmx.net>
9711
9712         * commandtags.h:
9713         * LyXAction.C: remove unused LFUN_MATH_MACROARG
9714
9715 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
9716
9717         * commandtags.h:
9718         * LyXAction.C:
9719         * lyxfunc.C:
9720         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9721
9722 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9723
9724         * Painter.C (display): anon helper function, adjust code for this
9725         change.
9726         (pixmap): remove function.
9727
9728         * Painter.h: remove private display variable.
9729
9730         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9731
9732 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
9733
9734         * WorkArea.[Ch]: remove figinset_canvas cruft.
9735
9736 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9737
9738         * lyxtextclass.C (operator): add one item cache optimization.
9739
9740         * bufferlist.h: doxy changes
9741
9742         * bufferlist.C: ws changes
9743
9744         * DepTable.[Ch] (ext_exist): place const in the right spot.
9745
9746         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9747         call resizeInsets.
9748         (workAreaExpose): call resizeInsets when the with BufferView changes.
9749         (Dispatch): adjust for protectedBlank removal
9750         (specialChar): call updateInset if the insert went ok.
9751
9752         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9753         specialChar instead.
9754
9755         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9756
9757         * BufferView.h: doxy change
9758
9759         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9760
9761         * lyxtextclass.C (operator[]): remove non-const version
9762         (defaultLayout): remove non-const version
9763
9764 2002-03-12  Juergen Vigna  <jug@sad.it>
9765
9766         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9767         did resize the LyXText too.
9768
9769         * buffer.C (readLyXformat2): set layout information on newly allocated
9770         paragraphs.
9771
9772         * tabular.C (OldFormatRead): set layout information on the paragraph.
9773
9774 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9775
9776         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9777
9778 2002-03-11  Juergen Vigna  <jug@sad.it>
9779
9780         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9781         plainly wrong.
9782         (resizeCurrentBuffer): force also the insets to resize themselfes.
9783         (moveCursorUpdate): fixed up for InsetText.
9784
9785 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
9786
9787         * commandtags.h:
9788         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9789         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9790         value of Dialogs::tooltipsEnabled().
9791         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9792
9793 2002-03-08  Juergen Vigna  <jug@sad.it>
9794
9795         * BufferView_pimpl.C (updateInset): update inset inside inset also
9796         if it isn't inside theLockingInset().
9797
9798 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9799
9800         * buffer.C (asciiParagraph): redo some of the word and line length
9801         handling.
9802         (getLists): look for Caption instead of caption.
9803
9804 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9805
9806         * buffer.C (Buffer): initialize niceFile to true
9807         (makeLaTeXFile):
9808         (makeLinuxDocFile):
9809         (makeDocBookFile): make sure niceFile is true on exit
9810
9811 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9812
9813         * buffer.C (makeLaTeXFile): escape ~ in \input@path
9814
9815 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
9816
9817         * LyXSendto.C: remove.
9818         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9819         * lyx_gui.C: remove now-redundant comment.
9820         * ColorHandler.h: remove forward declaration of class WorkArea.
9821         * lyxfunc.C: remove #include "WorkArea.h".
9822
9823 2002-03-07  Juergen Vigna  <jug@sad.it>
9824
9825         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9826         got moved away with the DEPM and also set the inset_owner always
9827         right which before could have been omitted.
9828
9829 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9830
9831         * buffer.C (parseSingleLyXformat2Token): use default layout is the
9832         wanted layout is not found.
9833
9834 2002-03-07  Juergen Vigna  <jug@sad.it>
9835
9836         * CutAndPaste.C (cutSelection): another layout settings forgotten.
9837
9838 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9839
9840         * paragraph.C (breakParagraph): use default layout not layout of
9841         prev paragraph.
9842         (Paragraph): clear ParagraphParameters.
9843
9844 2002-03-06  Juergen Vigna  <jug@sad.it>
9845
9846         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9847         otherwise it would not be a valid lenght. Fixed a special case in
9848         the minipage compatibility read where we end the document with a
9849         minipage.
9850
9851         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9852         was set as it could be 0 for InsetTexts first entry.
9853
9854 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9855
9856         * paragraph.C (writeFile): if layout is empty write out
9857         defaultLayoutName().
9858
9859         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9860         file without named layout we set layout to defaultLayoutName().
9861
9862 2002-03-06  Juergen Vigna  <jug@sad.it>
9863
9864         * CutAndPaste.C (copySelection): set layout for new paragraph.
9865
9866         * text.C (prepareToPrint): leave ERT inset left aligned
9867         (leftMargin): don't indent paragraphs inside ERT insets
9868
9869 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9870
9871         * paragraph.C (breakParagraph): dont call clear do the work manually
9872
9873         * paragraph.[Ch] (clear): remove function
9874
9875 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9876
9877         * paragraph.C (Paragraph): dont call clear, the work has already
9878         been done.
9879
9880         * lyxtextclass.C (operator): assert if n is empty
9881
9882         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9883         work manually instead.
9884
9885 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9886
9887         * BufferView_pimpl.C: protect selectionLost against text == 0
9888
9889 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9890
9891         * text.C (breakParagraph): fix a setting layout to '0' problem.
9892
9893 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9894
9895         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9896         final location of file, for the included files, and graphics.
9897
9898 2002-03-05  Juergen Vigna  <jug@sad.it>
9899
9900         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9901
9902 2002-03-04  Juergen Vigna  <jug@sad.it>
9903
9904         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9905
9906         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9907         last column of multicolumn cells.
9908         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9909
9910 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9911
9912         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9913         file if it doesn't go to a temporary file.
9914
9915         * buffer.C (sgmlOpenTag):
9916         (sgmlCloseTag):  remove extra newline insertion.
9917
9918 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9919
9920         * text.C (getRowNearY): comment out debug msg
9921
9922 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9923
9924         * text2.C: first -> first_y
9925
9926         * text.C (getRowNearY): add some attemts at a possible
9927         optimization, not working.
9928
9929         * tabular.[Ch]: add BufferParams to several function so that newly
9930         created paragraph can be initialized to he default layotu for the
9931         buffers textclass.
9932
9933         * tabular-old.C (ReadOld): add buf->params to call of Init
9934
9935         * screen.C: rename text->first to text->first_y
9936
9937         * paragraph.C (breakParagraph): always set layout in the broken
9938         paragraph
9939
9940         * lyxtextclass.C (Read): remove lowercase
9941         (hasLayout): ditto
9942         (operator): ditto
9943         (delete_layout): ditto
9944
9945         * lyxtext.h: rename first -> first_y
9946
9947         * lyxlayout.C (Read): remove lowercase
9948         (name): ditto
9949         (setName): ditto
9950         (obsoleted_by): ditto
9951
9952         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9953
9954         * buffer.C (insertErtContents): add params are to InsetERT
9955         (parseSingleLyXformat2Token): add code to check if a paragraphs
9956         layout really exist.
9957         (parseSingleLyXformat2Token): add params to several inset
9958         constructors
9959         (asciiParagraph): remove lowercase, do the layout comparisons with
9960         no_case
9961
9962         * BufferView_pimpl.C (cursorNext): first -> first_y
9963         (resizeCurrentBuffer): first -> first_y
9964         (updateScrollbar): first -> first_y
9965         (scrollCB): first -> first_y
9966         (workAreaMotionNotify): first -> first_y
9967         (workAreaButtonPress): first -> first_y
9968         (checkInsetHit): first -> first_y
9969         (cursorPrevious): first -> first_y
9970         (cursorNext): first -> first_y
9971         (Dispatch): add buffer_->params to severl inset contructors
9972
9973 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9974
9975         * lyxlayout.C (Read): remove some debug info that I forgot.
9976
9977         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9978         clean up the code slightly.
9979         (makeLinuxDocFile): ditto
9980         (makeDocBookFile): ditto
9981
9982         * text2.C: layout as string
9983
9984         * text.C: layout as string
9985
9986         * paragraph_pimpl.C: layout as string
9987
9988         * paragraph.[Ch]: layout as string
9989
9990         * lyxtextclasslist.[Ch]: layout as string
9991
9992         * lyxtextclass.[Ch]: layout as string
9993
9994         * lyxtext.h: layout as string
9995
9996         * lyxlayout.[Ch]: layout as string
9997
9998         * lyx_cb.C: layout as string
9999
10000         * bufferview_funcs.C: layout as string
10001
10002         * bufferparams.C: layout as string
10003
10004         * buffer.C: layout as string
10005
10006         * LyXView.[Ch]: layout as string
10007
10008         * LaTeXFeatures.[Ch]: layout as string
10009
10010         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10011
10012         * BufferView_pimpl.C: change current_layout to string, remove
10013         lyx::layout_type.
10014         (Dispatch):
10015         (smartQuote):
10016         (insertInset):
10017         (workAreaButtonRelease): layout as string
10018
10019         * BufferView2.C (unlockInset): adjust
10020
10021         * vspace.C (asLatexCommand): use an explict temp variable.
10022
10023 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10024
10025         * Makefile.am: use FRONTEND_*
10026
10027 2002-03-01  Juergen Vigna  <jug@sad.it>
10028
10029         * tabular.C (SetWidthOfMulticolCell): changed to something better
10030         I hope but still work in progress.
10031         (recalculateMulticolumnsOfColumn): renamed function from
10032         recalculateMulticolCells as it is more appropriate now.
10033         (SetWidthOfCell): calculate multicols better.
10034
10035 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10036
10037         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10038
10039         * lyxfunc.C (processKeySym): print sequence also if it is
10040         `deleted' (complete)
10041
10042         * kbsequence.C (print): print sequence even if it is deleted
10043         (complete would be a better word, actually).
10044
10045         * lyxfunc.C (dispatch): print complete options after a prefix key
10046
10047         * vspace.C (asLatexCommand): rewrite in a slightly different form.
10048
10049 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
10050
10051         * text2.C (setCharFont): eliminate setCharFont code duplication.
10052
10053 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10054
10055         * BufferView_pimpl.C (Dispatch): remove bogus handling of
10056         LFUN_TABULAR_FEATURE (bug #177)
10057
10058 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
10059
10060         * Makefile.am: remove figure.h
10061
10062 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
10063
10064         * Bufferview_pimpl.C:
10065         * CutAndPasteC:
10066         * LaTeX.C:
10067         * LyXSendto.C:
10068         * buffer.C:
10069         * bufferlist.C:
10070         * converter.C:
10071         * language.C:
10072         * lyxfunc.C:
10073         * lyxvc.C:
10074         * paragraph.C:
10075         * text.C:
10076         * text2.C: remove #include "lyx_gui_misc.h".
10077
10078         * LaTeX.C: added #include <cstdio>
10079
10080 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10081
10082         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10083         that the paragraph following this one can have.
10084
10085         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10086
10087         * vspace.C (asLatexCommand): fix bogus gcc warning
10088
10089         * Makefile.am (lyx_SOURCES): remove vms_defines.h
10090
10091 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
10092
10093         * text2.C (setLayout): get rid of redundant code
10094
10095 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
10096
10097         * text2.C (incDepth): make sure depth cannot be increased beyond
10098         reasonable values.
10099
10100 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
10101
10102         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10103         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10104
10105         * PainterBase.h (image):
10106         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10107         a LyXImage const *.
10108
10109 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10110
10111         * BufferView.C:
10112         * BufferView.h:
10113         * BufferView_pimpl.C:
10114         * BufferView_pimpl.h:
10115         * LaTeXFeatures.C:
10116         * LyXAction.C:
10117         * LyXView.C:
10118         * Makefile.am:
10119         * UpdateList.h:
10120         * UpdateList.C:
10121         * buffer.C:
10122         * figure.h:
10123         * figureForm.C:
10124         * figureForm.h:
10125         * figure_form.C:
10126         * figure_form.h:
10127         * lyx_cb.C:
10128         * lyx_gui.C:
10129         * lyx_gui_misc.C:
10130         * lyxfunc.C:
10131         * sp_base.h:
10132         * sp_ispell.h:
10133         * sp_pspell.h:
10134         * sp_spell.C: remove fig inset, and the crap house of
10135           cards that follows it
10136
10137 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10138
10139         * Makefile.am:
10140         * lyxserver.C:
10141         * os2_defines.h:
10142         * os2_errortable.h:
10143         * nt_defines.h: move .h into support/
10144
10145         * vms_defines.h: remove
10146
10147         * WorkArea.C: add space in debug output
10148
10149         * text2.C:
10150         * paragraph.C:
10151         * buffer.C: add WITH_WARNINGS
10152
10153         * vc-backend.h:
10154         * vc-backend.C:
10155         * bufferlist.C: s/retrive/retrieve/, add docs
10156
10157         * vspace.h:
10158         * vspace.C:
10159         * kbmap.h:
10160         * lyxlength.h:
10161         * lyxgluelength.h:
10162         * length_common.h:
10163         * chset.h:
10164         * chset.C: add docs
10165
10166         * lyxgui.C: add ID to X error handler
10167
10168         * lyxtestclass.c: fix typo
10169
10170 2002-02-26  Juergen Vigna  <jug@sad.it>
10171
10172         * tabular_funcs.C (write_attribute): changed so that some default
10173         attributes are not written at all.
10174         (getTokenValue): set default values before trying to read the
10175         value so we have the return value always set as default if we don't
10176         find the token we search for.
10177
10178         * tabular.C (Write): write bools as bools not as strings!
10179
10180 2002-02-22  Juergen Vigna  <jug@sad.it>
10181
10182         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10183         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10184
10185         * text.C (leftMargin): don't add an indent for paragraphs inside
10186         tabular cells (fix #208).
10187
10188 2002-02-21  José Matos  <jamatos@fep.up.pt>
10189
10190         * tabular.C (docBook): fixed support for long tables.
10191
10192 2002-02-20  Juergen Vigna  <jug@sad.it>
10193
10194         * text2.C (getFont): get the drawing font of the Inset if this
10195         paragraph is inside an inset (only important for InsetERT for now).
10196
10197         * buffer.C (insertErtContents): use new lanugage params in ERT
10198         constructor.
10199
10200         * CutAndPaste.C: commenting out seemingly uneeded code.
10201
10202 2002-02-19  Allan Rae  <rae@lyx.org>
10203
10204         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10205         Iterators might be simple to use but they also get invalidated.
10206         (removeAutoInsets): renamed saved cursor tracking variables and added
10207         some comments to clarify what everything does.
10208
10209 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
10210
10211         * Chktex.C:
10212         * LaTeX.C:
10213         * LyXSendto.C:
10214         * converter.C:
10215         * lyx_cb.C:
10216         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10217         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10218
10219         * lyxfunc.C:
10220         * vc-backend.h: remove #include "support/syscall.h"
10221
10222         * LaTeX.C:
10223         * LyXSendto.C:
10224         * converter.C: rearrange #includes in Lars' approved fashion.
10225
10226         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10227         forward declare class Timeout in the header file.
10228
10229         * XFormsView.C: changes due to the above.
10230
10231         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10232         similar to LyXView.
10233
10234         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10235         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10236
10237 2002-02-18  José Matos  <jamatos@fep.up.pt>
10238
10239         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10240         insets contents.
10241
10242 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
10243
10244         * a lot of small ws changes
10245         * add a lot of using std::XXX
10246         * use std construcs some places where approp.
10247         * use some exisint stuff from lyxfunctional where approp.
10248         * Make file changes to use partial linking (lets test this now...)
10249
10250 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10251
10252         * Chktex.C:
10253         * buffer.C:
10254         remove #include "support/syscontr.h" as it's redundant. Always has been.
10255
10256         * Chktex.C:
10257         * LaTeX.C:
10258         * LyXSendto.C:
10259         * converter.C:
10260         * lyx_cb.C:
10261         * vc-backend.C:
10262         change Systemcalls::System to Systemcalls::Wait and
10263         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10264         No change of functionality, just reflects the stripped down Systemcalls
10265         class.
10266
10267 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10268
10269         * debug.[Ch]: add a GRAPHICS type to the enum.
10270
10271 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10272
10273         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10274
10275         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10276         there is an inset.
10277
10278 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10279
10280         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10281         match the changes below.
10282
10283         * text2.C (toggleInset): if there is not editable inset at cursor
10284         position, try to see if cursor is _inside_ a collapsable inset
10285         and close it.
10286
10287 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10288
10289         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10290         document menu has a nice checkbox
10291
10292 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10293
10294         * lyxlength.C (asLatexString): change PW to output as percent of
10295         \textwidth.
10296
10297         * lengthcommon.C: change '%' to 't%'
10298
10299         * lyxfunc.C (dispatch): a few comments from Martin
10300
10301 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
10302
10303         * WorkArea.h:
10304         * WorkArea.C:
10305         * BufferView_pimpl.h:
10306         * BufferView_pimpl.C: clear our selection when X tells us we've lost
10307           the X selection.
10308
10309 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10310
10311         * vspace.C (inPixels): fix compiler warning
10312
10313 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10314
10315         * lyxfunc.C (getStatus): fix status message for disabled commands.
10316
10317 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
10318
10319         * BufferView_pimpl.C: fix crash on close buffer
10320         during selection (#227)
10321
10322 2002-01-27  Herbert Voss  <voss@lyx.org>
10323
10324         * buffer.C: link old Figure to new graphic inset
10325
10326 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
10327
10328         * FontLoader.C (getFontinfo): Change the latex font names in order
10329         to match the names of type1inst.
10330
10331 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10332
10333         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10334
10335         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10336         (extchanged): ditto
10337         (ext_exist): ditto
10338         (remove_files_with_extension): ditto
10339         (remove_file): ditto
10340         (write): ditto
10341
10342         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10343         document is smaller than the work area height. Do not initialize
10344         static variables to 0.
10345
10346 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10347
10348         * lyx_gui.C (init): give the toolbar tooltips a normal font.
10349
10350         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10351         LFUN_LAYOUT_PARAGRAPHS.
10352
10353         * tabular.C (GetCellFromInset): new method. Finds an inset in a
10354         tabular. It is possible to provide a possible cell, which will
10355         typically be the actcell from the corresponding insettabular
10356
10357         * lyxfunc.C (getStatus): small cleanup; disable
10358         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10359         true
10360
10361 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10362
10363         * tabular.C (Validate): remove broken optimization (fixes bug #201)
10364
10365         * paragraph.C (startTeXParParams):
10366         (endTeXParParams): new methods. The LaTeX code to
10367         start/end paragraph formatting
10368         (simpleTeXOnePar): call startTeXParParams also when paragraph is
10369         empty (fixes bug #200)
10370
10371         * vspace.C (inPixels): adapt to the change below
10372         (inPixels): [later] more cleanups (remove unused variables)
10373
10374         * lyxlength.C (inPixels): change to use a width and a height as
10375         parameter.
10376
10377 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10378
10379         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10380         Replaced with \paperwidth
10381
10382         * DepTable.C (insert): add std:: qualifier
10383
10384 2002-01-18  Allan Rae  <rae@lyx.org>
10385
10386         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
10387         updated also?
10388
10389         * text.C (drawInset): Turned out I didn't know enough about how
10390         rebreaking worked.  This fixes most of the redraw problems.  I see
10391         an occasional cursor trail when a line is broken now and the cursor
10392         placement can seem out by a few pixels also after a rebreak.
10393
10394 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10395
10396         * buffer.C (parseSingleLyXformat2Token): update because minipage
10397         width is now a LyXLength
10398
10399         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10400
10401         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10402         math insets
10403
10404 2002-01-17  Juergen Vigna  <jug@sad.it>
10405
10406         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10407
10408         * BufferView2.C (lockInset): call edit() so that theLockingInset()
10409         is set correctly and the inset is updated correctly.
10410
10411 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10412
10413         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10414         the beginning of the loop.
10415
10416 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
10417
10418         * lyxrc.C: improve help for use_scalable_fonts
10419
10420 2002-01-17  Allan Rae  <rae@lyx.org>
10421
10422         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10423
10424 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10425
10426         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10427         make sure to set their inset_owner to the right value (bug #171)
10428
10429 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
10430
10431         * DepTable.h
10432         * DepTable.C: Implement mtime checking to reduce time spent doing
10433         CRCs.
10434
10435 2002-01-16  Juergen Vigna  <jug@sad.it>
10436
10437         * tabular.C (GetAdditionalHeight): one of error fixed.
10438
10439         * lyxrc.C (output): small fix in writing use_pspell.
10440
10441 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
10442
10443         * sp_base.h: #include LString.h
10444
10445 2002-01-16  Allan Rae  <rae@lyx.org>
10446
10447         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
10448         Can someone check this please?
10449
10450         * text.C (drawInset): It was possible that p.row would be removed by
10451         breakAgainOneRow upsetting a few other settings.  There may be another
10452         small tweak possible by setting need_break_row = 0 when p.row has been
10453         removed but I don't know enough about the logic here.
10454
10455 2002-01-15  Allan Rae  <rae@lyx.org>
10456
10457         * text.C (insertChar): removed conditional truism.
10458
10459         * BufferView2.C (removeAutoInsets): More tweaks.
10460         cur_par_prev could be a stray pointer.  Check for trailing empty line
10461         in case last line was cur_par and only had an error inset on it.
10462
10463 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10464
10465         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10466         absolute
10467
10468         * vc-backend.C (most methods):
10469         * exporter.C (Export):
10470         * converter.C (convert):
10471         (runLaTeX):
10472         * LyXSendto.C (SendtoApplyCB):
10473         * lyxfunc.C (dispatch):
10474         (menuNew):
10475         (open):
10476         (doImport):
10477         * lyx_cb.C (AutoSave):
10478         (InsertAsciiFile):
10479         * BufferView_pimpl.C (MenuInsertLyXFile):
10480         * buffer.C (runChktex): use Buffer::filePath().
10481
10482         * buffer.h: rename filename to filename_; rename filepath to
10483         filepath_ and make it private
10484         (filePath): new method
10485
10486         * buffer.C (writeFile): use fileName()
10487         (getLatexName):
10488
10489         * lyx_main.C (init): fix starting  of LyX when the binary is a
10490         link from so,ewhere else.
10491
10492         * minibuffer.C: include <cctype> for isprint
10493
10494 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10495
10496         * buffer.C (parseSingleLyXformat2Token): changes associated with the
10497         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10498         name clash with InsetCollapsable's width function.
10499
10500 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10501
10502         * lastfiles.C: include <iterator>
10503
10504 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10505
10506         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10507         std::count.
10508
10509         * buffer.C (makeLaTeXFile): ditto.
10510         Also make loop operation more transparent.
10511
10512 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10513
10514         * ToolbarDefaults.C: remove trailing comma closing namespace.
10515
10516         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10517
10518         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10519         as in WorkArea.
10520
10521         * trans.C (Load): comment out unused variable, allowed.
10522
10523 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10524
10525         * minibuffer.[Ch] (append_char): new method to recieve input from the
10526         drop-down completion browser. If a key was pressed, then recieve this
10527         char and append it to the existing string.
10528         (peek_event): modify the positioning data passed to the completion
10529         browser so that it can be placed above the minibuffer rather than below.
10530 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10531
10532         * LyXAction.C (init): alloe error-next for readonly documents.
10533
10534         * BufferView2.C (ChangeRefsIfUnique): use standard version of
10535         count.
10536
10537 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10538
10539         * bufferlist.C (readFile): create the buffer _after_ checking that
10540         the file exists.
10541
10542         * lyxfunc.C (verboseDispatch): fix handling of arguments
10543
10544         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10545
10546         * lyxrc.C: use string::erase() instead of initializing to "".
10547
10548
10549 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10550
10551         * BufferView_pimpl.h:
10552         * BufferView_pimpl.C:
10553         * WorkArea.h:
10554         * WorkArea.C:
10555         * text2.C: tell X when we have made a selection for copying
10556
10557 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10558
10559         * BufferView_pimpl.C (MenuInsertLyXFile):
10560         * lyxfunc.C (menuNew):
10561         (open):
10562         (doImport): add shortcuts to directory buttons
10563
10564         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10565         open a float)
10566
10567         * lyxfunc.C (setStatusMessage):
10568         (getStatusMessage): new methods
10569         (getStatus):use setStatusMessage instead of setErrorMessage
10570         (dispatch): when function is disabled, set error message here
10571         [instead of in getStatus previously]
10572
10573         * BufferView_pimpl.C (workAreaButtonRelease): update
10574         toolbar/menubar here too.
10575
10576 2002-01-13  Allan Rae  <rae@lyx.org>
10577
10578         * BufferView2.C (removeAutoInsets): finished off earlier fix.
10579         Now seems indestructible.  Remaining task is to audit all other
10580         code affected by deleteEmptyParagraphMechanism.  One small quirk
10581         left is that an empty document with an error in the preamble can
10582         be made to report an error but no error box appears.  I don't know
10583         where it goes.
10584         (removeAutoInsets): Improved comments.
10585
10586 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
10587
10588         * Thesaurus.h:
10589         * Thesaurus.C: update for Aiksaurus 0.14
10590
10591 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10592
10593         * text2.C (firstParagraph): removed member function, all uses
10594         replaces with ownerParagraph
10595         (redoParagraphs): here
10596         (updateInset): here
10597         (toggleAppendix): here
10598         * BufferView2.C (insertErrors): here
10599         (setCursorFromRow): here
10600
10601 2002-01-13  Allan Rae  <rae@lyx.org>
10602
10603         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10604         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10605         There is still a way to segfault this although you may have to do this
10606         multiple times: Have an InsetERT with an unknown command in it.
10607         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10608         <down-arrow>, <Enter> again, View->DVI, BANG!
10609
10610         * text2.C (setCursor):
10611         (deleteEmptyParagraphMechanism):
10612         * lyxtext.h (setCursor):
10613         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10614         Making use of the return value may help fix other bugs.
10615
10616 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10617
10618         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10619
10620         * LyXView.C (updateMenubar): call MenuBar::update here
10621         (updateToolbar): but not here
10622         (showState): do not update toolbar/menubar
10623
10624         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10625         should need to care about that.
10626
10627         * lyxfunc.C (verboseDispatch): simplify a bit
10628         (getStatus): have a version which takes a pseudoaction, and
10629         another which requires a (kb_action,string).
10630
10631         * LyXAction.C (retrieveActionArg): make it work also when action
10632         is not a pseudo-action.
10633         (getActionName): simplify a bit
10634         (helpText):
10635
10636 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10637
10638         * lyxfunc.C (verboseDispatch): new families of methods with
10639         several ways to specify a command and a bool to indicate whether
10640         the command name and shortcut should be displayed in minibuffer
10641         (eventually, we could extend that to a finer bitmask like
10642         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10643         (dispatch): the pristine dispatch command which just, well,
10644         dispatchs! Note it still sets its result to minibuffer; I'm not
10645         sure we want that.
10646
10647         * lyxfunc.h: remove setHintMessage
10648
10649         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10650
10651 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10652
10653         * BufferView_pimpl.C (specialChar): delete new inset if we have
10654         not been able to insert it.
10655
10656         * kbmap.C: revert to using int instead of kb_action, since all we
10657         are dealing with is pseudo-actions.
10658
10659         * LyXAction.C (searchActionArg): change to return int instead of
10660         kb_action, since the result is a pseudoaction.
10661
10662 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
10663
10664         * buffer.C (insertErtContents): Fix (partially) the font bug.
10665
10666 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10667
10668         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10669         as the other one is broken on my machine!
10670
10671 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
10672
10673         * commandtags.h:
10674         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10675
10676 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
10677
10678         * lyxrc.[Ch]: change names and descriptions of popup font variables to
10679         reflect their actual use. Provide compatibility code for older lyxrc
10680         files.
10681
10682         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10683         FL_NORMAL_STYLE.
10684         change names of popup font variables in line with the changes to lyxrc.C
10685
10686 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10687
10688         * buffer.C (asciiParagraph): avoid outputing a word twice after
10689         an inset.
10690
10691         * lyxrc.C (getDescription): document that document_path and
10692         template_path can be empty.
10693
10694 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10695
10696         * LaTeXFeatures.C (getMacros):
10697         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10698
10699         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10700
10701         * LaTeXFeatures.C (useFloat): require "float" here instead of in
10702         getPackages.
10703         (getPackages): rename feature "floats" to "float". Use an array to
10704         iterate over 'simple' features (i.e. just a \usepackage). Add
10705         handling of "amsmath" (renamed from "amsstyle").
10706
10707 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
10708
10709         * LaTeXFeatures.C (require): Prevent duplicate entries in the
10710         features list.
10711
10712 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
10713
10714         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10715         FuncStaus::FuncStatus & FuncStaus::some_method().
10716
10717 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
10718
10719         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10720         of the func_satus stuff. Edited and massaged in various ways by
10721         JMarc.
10722
10723         * lyxfunc.C (getStatus): use FuncStatus
10724
10725 2002-01-08  Juergen Vigna  <jug@sad.it>
10726
10727         * text.C (nextBreakPoint): use function Inset::isChar().
10728
10729         * paragraph.C (TeXOnePar): use function
10730         Inset::forceDefaultParagraphs.
10731
10732         * buffer.C (latexParagraphs): use function
10733         Inset::forceDefaultParagraphs.
10734
10735 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10736
10737         * lyx_gui.C (init): set the style of the menu popups to
10738         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10739
10740 2002-01-07  Juergen Vigna  <jug@sad.it>
10741
10742         * text.C (setHeightOfRow): small fix
10743         (prepareToPrint): don't look at alignment if we don't have the place
10744         for doing it.
10745
10746 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10747
10748         * box.C: New file. Move the Box methods and functions out of box.h,
10749         following Lars' suggestion.
10750
10751 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10752
10753         * box.h: #include "support/LOstream.h", needed for inlined function.
10754
10755         * lyxtextclass.C:
10756         * lyxtextclasslist.C: added some using std declarations.
10757
10758 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
10759
10760         * box.h: make signed dimensions to allow insets wider than
10761           the screen (bug #162)
10762
10763         * BufferView_pimpl.C: add some insetHit debug
10764
10765 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
10766
10767         * vc-backend.C: add FIXME
10768
10769 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10770
10771         * lyxfunc.C (getStatus): enable code for showing math font status
10772         in toolbar/menu.
10773
10774 2002-01-07  Juergen Vigna  <jug@sad.it>
10775
10776         * text.C (nextBreakPoint): removed debug output not needed anymore.
10777
10778 2002-01-06  Juergen Vigna  <jug@sad.it>
10779
10780         * text.C (nextBreakPoint): fixed up this function we had this bug
10781         since ever but now hopefully we break row better.
10782         (insertChar): we have to check if an inset is the next char as it
10783         could now happen that a large inset is causing a break.
10784
10785 2002-01-05  Juergen Vigna  <jug@sad.it>
10786
10787         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10788         if it doesn't like to be drawed.
10789
10790 2002-01-04  Juergen Vigna  <jug@sad.it>
10791
10792         * BufferView2.C (lockInset): forgot to set a cursor.
10793
10794         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10795
10796 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
10797
10798         * FormMathsPanel.C:
10799         * FormMathsPanel.h
10800         * MathsSymbols.C:
10801         * form_maths_panel.C:
10802         * form_maths_panel.h:
10803         * form_maths_panel.fd: implemented sub- and super- buttons in math
10804         panel.
10805
10806         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10807         (or ^ space) to be used as in TeX (req'd by André).
10808
10809         * lyxfunc.C: Allow ^ and _ again to be used both as
10810         super/subscript (mathed) and as themselves (in text).
10811
10812 2002-01-03  Allan Rae  <rae@lyx.org>
10813
10814         * LyXView.C (updateWindowTitle): Setup a short icon title of either
10815         "LyX" or the filename of the current buffer if it has one.  This is a
10816         modified form of John Levon's patch.
10817
10818         * XFormsView.C (setWindowTitle): also set icon title.
10819
10820         * LyXView.h (setWindowTitle): signature changed.
10821         * XFormsView.h (setWindowTitle): ditto.
10822
10823 2002-01-02  Juergen Vigna  <jug@sad.it>
10824
10825         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10826
10827 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10828
10829         * screen.C (topCursorVisible): introduce a temp var for
10830         text->cursor.row(), handle the case where this row is null. (kindo
10831         hachish)
10832
10833         * text2.C (setCursor): add a couple of asserts.
10834
10835         * paragraph.h (inset_iterator): add -> operator
10836
10837         * paragraph.[Ch] (autoDeleteInsets): remove member function
10838
10839         * BufferView2.C (removeAutoInsets): rewrite to handle the old
10840         cursor pos correctly and handle inset deletion by itself.
10841         (insertErrors): move iterator declaration out of for expression
10842
10843         * lyxtextclass.C: add <algorithm>
10844
10845         * Makefile.am: added the new files to sources, removed layout.C
10846
10847         * layout.C: removed file
10848
10849         * layout.h: remove LYX_DUMMY_LAYOUT
10850
10851         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10852         layout.
10853
10854         * lyxlayout.[Ch]:
10855         * lyxtextclass.[Ch]:
10856         * lyxtextclasslist.[Ch]: new files
10857
10858         * include order changes to a lot of files, also changes because of
10859         the six new files.
10860
10861 2001-12-27  Juergen Vigna  <jug@sad.it>
10862
10863         * buffer.C (asciiParagraph): more fixes.
10864
10865         * tabular.C (ascii): make ascii export support export of only the
10866         data separated by a column-delimiter.
10867         (ascii): better support for ascii export.
10868
10869         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10870
10871 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10872
10873         * tabular_funcs.C: use a "using std::getline" instead of the
10874         previous fix from Angus (necessary for cxx + lyxstring)
10875
10876 2001-12-24  Juergen Vigna  <jug@sad.it>
10877
10878         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10879
10880         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10881         problems. First check a minipage also if we have some ert-contents
10882         (not only on par->size(), second set the right depth of the paragraph
10883         on the relink to the root-paragraph-list!
10884
10885         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10886         which then did not anymore update the main paragraphs on undo/redo!
10887
10888 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10889
10890         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10891         code. Support all font-changing funcs (even those which are not in
10892         menu currently). Support for reporting font settings in
10893         mathed (disabled until Andre provides a function on mathed's side).
10894
10895         * func_status.h (toggle): small helper function to set toggle
10896         state on a flag.
10897
10898 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10899
10900         * tabular_funcs.C: getline -> std::getline
10901
10902 2001-12-21  Juergen Vigna  <jug@sad.it>
10903
10904         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10905         accessed and could be 0 (I couldn't generate this but it seems
10906         Michael could!).
10907
10908 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10909
10910         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10911         * tabular_funcs.h: here and include iosfwd
10912
10913 2001-12-20  Juergen Vigna  <jug@sad.it>
10914
10915         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10916         inside inset but undo_par was.
10917
10918 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10919
10920         * Thesaurus.C: always include <config.h> in sources.
10921
10922         * Painter.h:
10923         * lyxlookup.h:
10924         * box.h: do not include <config.h> in header files
10925
10926         * text.C (paintLastRow): remove unused variable
10927
10928         * text.C (transformChar):
10929         (insertChar):
10930         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10931
10932         * Painter.C (text):
10933         * font.C (width): rewrite to use uppercase() instead of
10934         islower/toupper.
10935
10936         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10937
10938 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10939
10940         * lyxfind.C: clean up of find failure position change
10941
10942 2001-12-20  Juergen Vigna  <jug@sad.it>
10943
10944         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10945
10946         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10947         (TeXRow): added to LaTeX a single tabular row.
10948         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10949         (Latex): simplified and finally good LT-h/f support.
10950         (various_functions): just small adaptions for LT-h/f support.
10951
10952         * tabular_funcs.[hC]: added and moved here all not classfunctions
10953         of LyXTabular.
10954
10955 2001-12-19  Juergen Vigna  <jug@sad.it>
10956
10957         * tabular.[Ch]: better support for longtabular options (not finished
10958         yet!)
10959
10960 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10961
10962         * text.C (paintLastRow): use the label font instead of the font of
10963         the last character to compute the size of *_BOX. This makes more
10964         sense and avoids a crash with empty paragraphs.
10965         Use Painter::rectangle to draw EMPTY_BOX.
10966
10967 2001-12-19  Juergen Vigna  <jug@sad.it>
10968
10969         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10970         the paragraphs if the replaced paragraph is not the first one!
10971         Tried to delete not used paragraphs but does not work yet so for
10972         now it's inside #ifdef's and by default off!
10973
10974 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10975
10976         * MenuBackend.C: include "lyx_main.h" instead of declaring
10977         lastfiles (actually was declared as LastFiles* instead of a
10978         scoped_ptr).
10979
10980 2001-12-17  Juergen Vigna  <jug@sad.it>
10981
10982         * tabular.C (AppendColumn): applied John's fix
10983
10984 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10985
10986         * BufferView.h:
10987         * BufferView.C:
10988         * BufferView_pimpl.h:
10989         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10990
10991         * Makefile.am:
10992         * box.h: new start of class for above
10993
10994         * lyxfunc.C: ignore space-only minibuffer dispatches.
10995           Show the command name when it doesn't exist
10996
10997         * minibuffer.C: don't add empty lines to the history
10998
10999         * minibuffer.C: add a space on dropdown completion
11000
11001 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
11002
11003         * text.C: fix line above/below drawing in insets
11004
11005 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11006
11007         * lyxlength.C (LyXLength): Initialize private variables.
11008
11009 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
11010
11011         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11012         when inserting error insets.
11013
11014 2001-12-13  Juergen Vigna  <jug@sad.it>
11015
11016         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11017         actually sometimes the before-paragraph.
11018         (setUndo): don't clear the redostack if we're not actually undoing!
11019
11020 2001-12-06  Juergen Vigna  <jug@sad.it>
11021
11022         * undo_funcs.C (textHandleUndo): well after John's hint I got here
11023         and fixed redoing of main paragraph, so we can use it now ;)
11024
11025         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11026
11027 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11028
11029         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11030         Juergen's request
11031
11032 2001-12-13  André Pönitz <poenitz@gmx.net>
11033
11034         * undostack.[Ch]:
11035         * undo_func.C: minor cleanup
11036
11037 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11038
11039         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11040         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11041         font in urw-fonts package which is marked as -urw-fontspecific and
11042         does not work (incidentally, changing the encoding in the
11043         fonts.dir of this package to -adobe-fontspecific fixes the
11044         problem).
11045
11046         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11047         is a crash when undoing first paragraph (Juergen, please take a
11048         look). THis does not mean the undo fix is wrong, just that it
11049         uncovers problems.
11050
11051         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11052         the (Paragraph*) version when needed instead of duplicating the
11053         code.
11054
11055         * text.C (workWidth): use Inset::parOwner to find out where the
11056         inset has been inserted. This is a huge performance gain for large
11057         documents with lots of insets. If Inset::parOwner is not set, fall
11058         back on the brute force method
11059
11060         * paragraph_pimpl.C (insertInset):
11061         * paragraph.C (Paragraph):
11062         (cutIntoMinibuffer): set parOwner of insets when
11063         inserting/removing them
11064
11065         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11066
11067 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
11068
11069         * commandtags.h:
11070         * LyXAction.C:
11071         * lyx_main.C:
11072         * lyxfunc.C:
11073         * mathed/formulabase.C:
11074         * mathed/math_cursor.[Ch]:
11075         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11076
11077
11078 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11079
11080         * lyxlength.[Ch] (operator!=): new function
11081
11082 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11083
11084         * text.C (workWidth): use Inset::parOwner to find out where the
11085         inset has been inserted. This is a huge performance gain for large
11086         documents with lots of insets. If Inset::parOwner is not set, fall
11087         back on the brute force method
11088
11089         * paragraph_pimpl.C (insertInset):
11090         * paragraph.C (Paragraph):
11091         (cutIntoMinibuffer): set parOwner of insets when
11092         inserting/removing them
11093
11094         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11095
11096 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11097
11098         * tabular-old.C (getTokenValue):
11099         * tabular.C (getTokenValue):
11100         (write_attribute): new versions for LyXLength
11101         (everywhere): adjust the use of widths
11102
11103         * tabular.h: change the type of widths from string to LyXLength
11104
11105 2001-12-11  Ben Stanley <bds02@uow.edu.au>
11106
11107         * paragraph.C: fixed missing line number count when exporting
11108         Environments to LaTeX file
11109
11110         * buffer.C: added informational message for checking line numbers.
11111
11112 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11113
11114         * text2.C (deleteEmptyParagraphMechanism): if there is only one
11115         paragraph, do the 'double space' part, but not the 'empty
11116         paragraph' one.
11117
11118         * text.C (workWidth): small optimization
11119         (getLengthMarkerHeight): use minimal size for negative lengths.
11120
11121 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
11122
11123         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11124
11125         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11126
11127 2001-12-11  André Pönitz <poenitz@gmx.net>
11128
11129         * FontLoader.C:
11130         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11131
11132 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11133
11134         * text2.C: keep selection on a setFont()
11135
11136 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11137
11138         * lyx_cb.C: another bv->text misuse, from insert label
11139
11140 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11141
11142         * kbsequence.h:
11143         * kbsequence.C: re-instate nmodifier mask
11144
11145 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
11146
11147         * lyx_main.h: make lyxGUI private.
11148
11149 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11150
11151         * lyxfind.C: place the cursor correctly on failed search
11152
11153 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11154
11155         * text.C (getLengthMarkerHeight): for small heights, the arrows
11156         are not always on top/bottom of the text
11157         (drawLengthMarker): smaller arrows; take the left margin in
11158         account; draw also vfills.
11159         (paintFirstRow):
11160         (paintLastRow): remove special code for vfill and standard spaces,
11161         since everything is handled in drawLengthMarker now.
11162
11163 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11164
11165         * buffer.C (insertErtContents): try to handle font and language
11166         interaction a bit better.g
11167
11168         * ColorHandler.C (updateColor): change the hash to cover the whole
11169         LColor enum, ws cleanup
11170         (getGCLinepars): ditto
11171         (getGCLinepars): only lookup in the linecache once.
11172
11173 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
11174
11175         * iterators.C (operator++): Make the iterator more robust
11176
11177         * BufferView2.C (removeAutoInsets): Use paragraph iterators
11178         (John's patch)
11179         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11180
11181 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11182
11183         * lyxtext.h:
11184         * text.C: better added space drawing
11185
11186 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11187
11188         * LyXView.C:
11189         * BufferView2.C: fix layout combo update on inset unlock
11190
11191 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11192
11193         * Makefile.am: don't compile unused files
11194
11195 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11196
11197         * lyxfunc.C:
11198         * commandtags.h:
11199         * LyXAction.C: remove old LFUN_LAYOUTNO
11200
11201 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11202
11203         * paragraph_pimpl.h:
11204         * paragraph_pimpl.C: isTextAt() doesn't need font param
11205
11206 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11207
11208         * lyxlex.h:
11209         * lyxlex.C: little cleanup
11210
11211 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11212
11213         * BufferView_pimpl.C: fix insertAscii for insets
11214
11215 2001-12-05  Juergen Vigna  <jug@sad.it>
11216
11217         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11218         set the right font on the "multi" paragraph paste!
11219
11220 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11221
11222         * trans_decl.h:
11223         * trans_mgr.[Ch]:
11224         * trans.[Ch]:
11225         * lyxgluelength.C:
11226         * lyxlength.C: remove out-commented code.
11227
11228         * BufferView_pimpl:
11229         * CutAndPaste.C:
11230         * DepTable.C:
11231         * buffer.C:
11232         * chset.C:
11233         * lastfiles.C:
11234         * lyxlex.C:
11235         * lyxlex_pimpl.C:
11236         * lyxserver.C:
11237         * screen.C:
11238         * tabular-old.C:
11239         * tabular.C:
11240         * text.C:
11241         * trans_mgr.C:
11242         * vc-backend.C: change "while(" to "while ("
11243
11244         * lyxlength.[Ch]: add zero function to check if length is zero or
11245         not
11246         * lyxgluelength.C: use it
11247
11248 2001-12-05  Allan Rae  <rae@lyx.org>
11249
11250         * lyxlength.C: Attempted a fix for the abs(int) header selection.
11251         Works for 2.95.3, from what I understand of Garst's reports this should
11252         work for other g++ versions.  We're screwed if the abs(int) definition
11253         changed between bugfix releases of gcc.
11254
11255 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11256
11257         * text.C: fix chapter label offset !
11258
11259 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11260
11261         * lyxtext.h:
11262         * text.C: fix hfill at end of line, clean up
11263
11264 2001-12-04  Juergen Vigna  <jug@sad.it>
11265
11266         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11267         that we force an update of the inset and it's owners if neccessary.
11268
11269 2001-12-03  Juergen Vigna  <jug@sad.it>
11270
11271         * text.C (rowLast): simplified code
11272
11273 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11274
11275         * lyxfunc.C: fix show options on timeout
11276
11277 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11278
11279         * screen.C (topCursorVisible): scroll half a page when the cursor
11280         reached top of bottom of screen
11281
11282 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
11283
11284         * minibuffer.C: deactivate on loss of focus
11285
11286 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11287
11288         * vspace.[Ch] (operator!=): add operator.
11289
11290 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
11291
11292         * BufferView_pimpl.C: refuse to open an inset when
11293         there's a selection.
11294
11295 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
11296
11297         * BufferView_pimpl.C: allow to click on RHS of full row insets
11298
11299 2001-11-30  Juergen Vigna  <jug@sad.it>
11300
11301         * tabular.C (LyXTabular): add a same_id to set the same id's in the
11302         insets for undo reasons.
11303
11304 2001-11-28  André Pönitz <poenitz@gmx.net>
11305
11306         * vspace.[Ch]: cosmetical changes
11307
11308 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11309
11310         * LyXAction.h:
11311         * LyXAction.C:
11312         * lyxfunc.h:
11313         * lyxfunc.C:
11314         * kbmap.h:
11315         * kbmap.C:
11316         * lyxrc.C:
11317         * kbsequence.h:
11318         * kbsequence.C: part re-write of old kb code
11319
11320         * Painter.C:
11321         * WorkArea.C: remove Lgb_bug_find_hack
11322
11323 2001-11-30  José Matos <jamatos@fep.up.pt>
11324
11325         * buffer.C (makeDocBookFile): add a comment to point a hack.
11326         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11327         Fixed a double write of labels.
11328
11329 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11330
11331         * LaTeX.C:
11332         * LaTeX.h Fixed bug in LaTeX class where it would not
11333         re-run latex if no depfiles were changed, but the .dvi was removed.
11334
11335 2001-11-28  André Pönitz <poenitz@gmx.net>
11336
11337         * all the files from the change on 2001/11/26:
11338         use lyx::layout_type instead of LyXTextClass::size_type
11339         use lyx::textclass_type instead of LyXTextClassList::size_type
11340
11341 2001-11-29  Juergen Vigna  <jug@sad.it>
11342
11343         * text.C: added support for paragraph::isFreeSpacing()
11344
11345         * buffer.C: same as above
11346
11347         * paragraph.h: inserted isFreeSpacing() function to enable
11348         FreeSpacing inside InsetERT.
11349
11350         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11351         of the paragraph's in the cut/copy buffer to 0!
11352
11353         * text2.C (removeRow): remove the assert as it can!
11354
11355         * lyxtext.h: added helper function firstRow returning firstrow and
11356         made firstrow private again.
11357
11358         * BufferView2.C (lockInset): don't relock if we're already locked!
11359
11360         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11361         the only paragraph.
11362         (removeRow): added Assert::(firstrow)
11363
11364         * debug.C: forgot to add INSETTEXT here.
11365
11366 2001-11-28  Juergen Vigna  <jug@sad.it>
11367
11368         * sp_spell.C (initialize): changed error text to more general
11369         spellchecker command use (not only ispell!)
11370
11371         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11372
11373         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11374
11375 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11376
11377         * vspace.C: initialise lyxgluelength on failure
11378
11379 2001-11-28  Allan Rae  <rae@lyx.org>
11380
11381         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11382         declaration & definition that looks like a function declaration.
11383
11384 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11385
11386         * BufferView2.C (copy):
11387         (copyEnvironment): do not clear the selection when doing a copy.
11388
11389         * text.C (paintFirstRow): compilation fix
11390
11391 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
11392
11393         * tabular.C (Latex): correct line count when writing latex.
11394
11395 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
11396
11397         * paragraph_pimpl.h:
11398         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11399           bug a bit
11400
11401 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11402
11403         * text.C:
11404         * LColor.h:
11405         * LColor.C: change vfillline->added_space
11406
11407         * text.C: add markers and text for added space
11408
11409         * vspace.C: fix comment
11410
11411 2001-11-28  André Pönitz <poenitz@gmx.net>
11412
11413         * paragraph.C: whitespace changes
11414         * all the other files from the change on 2001/11/26:
11415         change *::pos_type into lyx::pos_type
11416
11417 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
11418
11419         * buffer.C (parseSingleLyXformat2Token): Set the language to the
11420         language of the document when inserting error insets.
11421
11422 2001-11-26  André Pönitz <poenitz@gmx.net>
11423
11424         * BufferView_pimpl.[Ch]:
11425         *       CutAndPaste.C:
11426         * buffer.[Ch]:
11427         * lyxcursor.[Ch]:
11428         * lyxfind.C:
11429         * lyxfunc.C:
11430         * lyxrow.[Ch]:
11431         * paragraph.[Ch]:
11432         * paragraph_pimpl.[Ch]:
11433         * sp_spell.C:
11434         * text.C:
11435         * text2.C: reduce header dependencies, introduce type for positions
11436
11437 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11438
11439         * <various>: change to use Alert.h
11440
11441 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
11442
11443         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11444         when encountering an unknown token.
11445         (readLyXformat2): Show an error message if there were unknown tokens.
11446
11447 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
11448
11449         * BufferView2.C:
11450         * BufferView_pimpl.C:
11451         * buffer.C:
11452         * paragraph.h:
11453         * text.C:
11454         * text2.C: use par->isInset()
11455
11456 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11457
11458         * paragraph_pimpl.h:
11459         * paragraph_pimpl.C: cleanup
11460
11461 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11462
11463         * text2.C (removeRow):
11464         * text.C (setHeightOfRow): remove useless (and costly) call to
11465         getRow.
11466
11467 2001-11-20  Allan Rae  <rae@lyx.org>
11468
11469         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11470         Now need Inset*::checkInsertChar() to return true for appropriate
11471         cases so that the characters in the minibuffer will actually be
11472         inserted.
11473
11474 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11475
11476         * text.C: change the order of the includes.
11477         (workWidth): initialize it at once.
11478         (workWidth): make maxw unsigned
11479         (setHeightOfRow): remove unused variable (inset)
11480         (selectSelectedWord): remove unused variable (inset)
11481         (paintRowText): fix drawing of hfill characters, and clean up a bit.
11482
11483 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11484
11485         * lyxserver.C (emergencyCleanup): do not try to close pipes if
11486         server is not running.
11487         (openConnection):
11488         (closeConnection): add debug info when server is disabled.
11489
11490         * ColorHandler.C (getGCForeground): send debug message to GUI
11491         channel.
11492
11493         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11494
11495         * kbmap.C (bind): modify because return conventions of
11496         kb_sequence::parse have changed.
11497
11498         * kbsequence.C (parse): only ignore spaces and not any stupid
11499         control character. This avoids tests like s[i] <= ' ', which are
11500         guaranteed to fail with 8bit characters and signed chars.
11501         Change return code to string::npos when there have been no error
11502         (0 was a bad idea when error is at first character)
11503
11504 2001-11-14  José Matos  <jamatos@fep.up.pt>
11505
11506         * buffer.h:
11507         * buffer.C (simpleDocBookOnePar): removed unused argument.
11508
11509 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11510
11511         * text.C (selectNextWordToSpellcheck): do not test explicitely for
11512         insets which are part of a word. Paragraph::isLetter takes care of
11513         that now. Use Paragraph::isInset to identify insets.
11514         (selectSelectedWord): do not test for hyphenation break.
11515
11516         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11517         that protected spaces are considered as spaces.
11518
11519         * paragraph.C (isLetter): cleanup the code for ispell extras; use
11520         Inset::isLetter.
11521
11522 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
11523
11524         * lyxserver.h:
11525         * lyxserver.C: fix it. and small cleanup.
11526
11527 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11528
11529         * BufferView_pimpl.C: use inline helpers
11530
11531         * LaTeXFeatures.h:
11532         * LaTeXFeatures.C: fix typos
11533
11534         * Spacing.h:
11535         * Spacing.C: move spacing_string into class
11536
11537         * ToolbarDefaults.C: move stuff into namespace anon
11538
11539         * layout.h: update enum
11540
11541         * lyxfunc.C: use better debug
11542
11543         * minibuffer.h: fix typo
11544
11545         * debug.h:
11546         * debug.C:
11547         * WorkArea.C: add and use Debug::WORKAREA
11548
11549         * lyxtext.h:
11550         * text.C:
11551         * text2.C: code re-organisation, inline helpers
11552
11553 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
11554
11555         * Layout.C: replaced a few cases of std::vector.size() == 0 with
11556         std::vector.empty().
11557
11558 2001-11-09  Allan Rae  <rae@lyx.org>
11559
11560         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11561         '\n's after tables.  Tabular and ERT inset work now makes this no
11562         longer necessary.
11563
11564 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11565
11566         * minibuffer.h:
11567         * minibuffer.C: fix crash, improve drop-down completion
11568
11569 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
11570
11571         * lyxserver.h:
11572         * lyxserver.C: invalidate fd's when doing endPipe()
11573
11574 2001-11-08  José Matos  <jamatos@fep.up.pt>
11575
11576         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11577         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11578
11579         * paragraph.h:
11580         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11581
11582 2001-11-07  José Matos  <jamatos@fep.up.pt>
11583
11584         * buffer.h:
11585         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11586         const qualifier.
11587
11588         * buffer.C (sgmlOpenTag):
11589         * buffer.C (sgmlCloseTag): removed debug info.
11590
11591         * buffer.h (sgmlOpenTag):
11592         * buffer.h (sgmlCloseTag): made public.
11593
11594 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11595
11596         * buffer.C (saveParamsAsDefaults):
11597         * lyx_cb.C (MenuLayoutSave): remove
11598
11599         * LyXAction.C (init):
11600         * commandtags.h:
11601         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11602
11603 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11604
11605         * buffer.C (setPaperStuff): removed from here...
11606
11607         * bufferparams.C (setPaperStuff): ... and moved there.
11608
11609 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
11610
11611         * minibuffer.h:
11612         * minibuffer.C:
11613         * XFormsView.C: add support for drop-down completion
11614
11615 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
11616
11617         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11618         commands.
11619
11620 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11621
11622         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11623         disabled.
11624
11625 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
11626
11627         * lyx_main.C: change ref to known bugs
11628
11629 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
11630
11631         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11632         to work around older babel problems.
11633
11634 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11635
11636         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11637
11638 2001-10-24  Juergen Vigna  <jug@sad.it>
11639
11640         * tabular-old.C (ReadOld): below variable changes reflected.
11641
11642         * tabular.[Ch]: added ltType struct for longtable header/footer
11643         defines and changed all instances where they are used. Added
11644         future support for double top/bottom rows.
11645
11646 2001-10-24  José Matos  <jamatos@fep.up.pt>
11647
11648         * buffer.h (docbookHandleCaption):
11649         * buffer.C (docbookHandleCaption): removed unused function.
11650         (makeDocBookFile): moved docbook supported version to v4.1.
11651
11652 2001-10-24  José Matos  <jamatos@fep.up.pt>
11653
11654         * tabular.h:
11655         * tabular.C (docbookRow): new function to export docbook code of a row.
11656         (DocBook): now honors the longtable flags.
11657
11658 2001-10-23  José Matos  <jamatos@fep.up.pt>
11659
11660         * LaTeXFeatures.h:
11661         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11662         of the lyx defined sgml entities used in a docbook/linuxdoc document.
11663
11664         * buffer.C (makeLinuxDocFile):
11665         (makeDocBookFile): reworked the preamble, more clean, and with
11666         support for lyx defined entities. Changed the document declaration
11667         to be more XML friendly.
11668
11669         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11670         if we need to output XML that should be done with a filter.
11671
11672 2001-10-22  Juergen Vigna  <jug@sad.it>
11673
11674         * sp_pspell.h (class PSpell): add alive function needed in the
11675         controller to see if the spellchecker could be started.
11676
11677 2001-10-22  Juergen Vigna  <jug@sad.it>
11678
11679         * buffer.C (insertStringAsLines): modify the font for inserting
11680         chars in certain conditions by calling checkInsertChar(font).
11681
11682 2001-10-19  Juergen Vigna  <jug@sad.it>
11683
11684         * text.C (workWidth): use getRow instead of wrong algorithm.
11685         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11686
11687 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
11688
11689         * lyxserver.h:
11690         * lyxserver.C:
11691         * lyx_main.h:
11692         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11693
11694 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11695
11696         * text.C (workWidth): do not search for the exact row when
11697         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11698         optimization for big documents.
11699
11700 2001-10-18  Juergen Vigna  <jug@sad.it>
11701
11702         * text.C (workWidth): new function with added Inset * parameter.
11703
11704 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11705
11706         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11707
11708         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11709         change return type of getColumnNearX.
11710
11711
11712         * text.C (changeRegionCase): use uppercase/lowercase instead of
11713         toupper/tolower.
11714         (leftMargin):
11715         (rightMargin): simplify code by factoring out the uses of
11716         textclasslist.
11717         (labelFill):
11718         (numberOfHfills):
11719         (setHeightOfRow):
11720         (appendParagraph): use Paragraph::size_type
11721
11722 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11723
11724         * vspace.C (asLatexString): add a missing break
11725
11726 2001-10-15  Herbert Voss  <voss@perce.de>
11727
11728         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11729
11730 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11731
11732         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11733         is not available.
11734
11735 2001-10-10  André Pönitz <poenitz@gmx.net>
11736
11737         * lyxfunc.C: removed greek_kb_flag.
11738
11739 2001-10-10  Herbert Voss  <voss@perce.de>
11740
11741         * lyx_main.C: delete global string help_lyxdir.
11742
11743 2001-10-09  Herbert Voss  <voss@perce.de>
11744
11745         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11746
11747         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11748
11749         * lyx_main.C: added global string help_lyxdir.
11750
11751         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11752
11753 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11754
11755         * lyxrc.C (set_font_norm_type): support iso8859-4
11756
11757 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
11758
11759         * LaTeX.C (deplog): add another regex for MikTeX
11760
11761 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11762
11763         * lyxrc.C (set_font_norm_type): support iso8859-3
11764
11765 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11766
11767         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11768
11769         * LaTeXFeatures.C: remove special case of french and index
11770
11771         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11772         before \begin{document}). This solves several incompatibilities.
11773
11774 2001-10-03  Garst Reese  <reese@isn.net>
11775
11776         * lyx_cb.C: change CheckTex error msg.
11777
11778 2001-10-03  José Matos  <jamatos@fep.up.pt>
11779
11780         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11781
11782 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11783
11784         * .cvsignore: update
11785
11786         * lyx_main.C (commandLineVersionInfo): use new style version info.
11787
11788         * buffer.C (writeFile):
11789         (makeLaTeXFile):
11790         (makeLinuxDocFile):
11791         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11792
11793         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11794
11795         * version.h: update to use stuff in version.C
11796
11797         * version.C.in: new file. Contains version information determined
11798         at compile time. This is a merging of version.h and
11799         version_info.h.in.
11800
11801 2001-10-03  Juergen Vigna  <jug@sad.it>
11802
11803         * BufferView_pimpl.C (update): don't change "dirty" status in
11804         updateInset call.
11805
11806 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
11807
11808         * WorkArea.C (c-tor): re-position version string slightly.
11809
11810 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
11811
11812         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11813         revert to previous code.
11814
11815         WorkArea.[Ch]: (show, destroySplash): methods removed.
11816
11817         WorkArea.C: rework code so that it's an amalgam of the codes before and
11818         after the splash screen was moved to WorkArea.
11819
11820 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11821
11822         * lyxrc.C (read):
11823         * vspace.C (inPixels):
11824         (lyx_advance):
11825         * kbmap.C (bind):
11826         * buffer.C (insertStringAsLines):
11827         (asciiParagraph): fix types to be large enough
11828
11829         * lyxlex_pimpl.h: change member status from short to int
11830
11831         * layout.h: fix type of endlabeltype
11832
11833         * kbmap.C (bind):
11834         * kbsequence.C (parse): change return type to string::size_type
11835
11836         * LaTeX.C (updateBibtexDependencies): comment out unneeded
11837         variable
11838
11839         * Bullet.C (bulletSize):
11840         (bulletEntry): do not use short ints as parameters
11841
11842         * BufferView2.C (insertLyXFile): change a char to an int.
11843
11844         * WorkArea.C (WorkArea): remove unneeded floats in computation
11845
11846 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11847
11848         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11849
11850         * paragraph.C (asString): Do not ignore newline/hfill chars when
11851         copying to the clipboard.
11852
11853 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
11854
11855         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11856         after a multi-line inset.
11857
11858 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
11859
11860         * paragraph.C (validate): Set NeedLyXFootnoteCode
11861
11862 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11863
11864         * lyxfont.C (LyXSizeNames): changed increase-error to increase
11865         and decrease-error to decrease.
11866
11867 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11868
11869         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11870         it more readable (should be equivalent)
11871
11872 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11873
11874         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11875
11876 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11877
11878         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11879         of a cursor (row, etc.) after a character has been deleted
11880         (deleteEmptyParagraphMechanism): call the method above on _all_
11881         cursors held by the LyXText when a double space has been
11882         detected/deleted.
11883
11884 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11885
11886         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11887         pixmap.
11888         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11889
11890         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11891         background. Use greyOut() and the new show() methods to toggle between
11892         the foreground and background. Add code to remove the splash after
11893         its initial showing.
11894
11895         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11896         (create_forms): no longer call Dialogs::showSplash.
11897
11898 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11899
11900         * .cvsignore: add version_info.h
11901
11902 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11903
11904         * version_info.h.in: new file
11905
11906         * Makefile.am: add version_info.h.in
11907
11908         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11909         version_info.h instead of VERSION_INFO
11910
11911 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11912
11913         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11914         The ERT inset now returns string().
11915
11916 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11917
11918         * lyxtext.h, text.C (selectNextWord): renamed as
11919         selectNextWordToSpellcheck.
11920
11921         * text.C (selectNextWordToSpellcheck): Modified to not select
11922         words inside an ERT inset.
11923
11924 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11925
11926         * lyx_cb.C (MenuLayoutSave): change a bit the question
11927
11928         * sp_base.h: include <sys/types.h>
11929
11930 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11931
11932         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11933
11934 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11935
11936         * several files: fix typos in user-visible strings
11937
11938 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11939
11940         * text2.C (pasteSelection): do not set the selection, since it
11941         will be cleared later. Actually, the intent was to fix the way the
11942         selection was set, but I figured rmoving the code was just as good.
11943
11944 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11945
11946         * FontLoader.C (available): Check if font is available without
11947         loading the font.
11948
11949 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11950
11951         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11952
11953 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11954
11955         * lyxrc.[Ch]: added display_graphics variable and associated code.
11956
11957 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11958
11959         * bufferparams.C (hasClassDefaults): new method. Returns true if
11960         the buffer parameters correspond to known class defaults
11961
11962 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11963
11964         * XFormsView.C (show): set minimum size to the main window.
11965
11966 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11967
11968         * text2.C (copySelection):
11969         (cutSelection):
11970         * lyxfind.C (LyXReplace):
11971         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11972         LyXText::selectionAsString.
11973
11974         * paragraph.C (asString): add "label" argument to the second form
11975
11976         * text2.C (selectionAsString): add "label" argument and pass it to
11977         Paragraph::asString.
11978
11979 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11980
11981         * lyx_main.C (commandLineHelp): remove version information
11982
11983 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11984
11985         * lyx_main.C: add -version commandline option
11986
11987 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11988
11989         * paragraph.h: make the optional constructor arg required instead.
11990         some modifications to other files because of this.
11991
11992         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11993
11994         * lyxserver.C (C_LyXComm_callback): make it static
11995
11996         * lyx_main.C (error_handler): make it static
11997
11998         * lyx_gui.C (LyX_XErrHandler): make it static
11999
12000         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12001
12002         * WorkArea.C: make the extern "C" methods static.
12003
12004         * Makefile.am (lyx_LDADD): simplify
12005
12006 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12007
12008         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12009         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12010
12011         * LyXAction.C (init):
12012         * lyxfunc.C (dispatch): associated code removal.
12013
12014 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12015
12016         * lyxfont.h (isSymbolFont): shut off warning
12017
12018         * text.C (setHeightOfRow):
12019         (getVisibleRow): fix crash with empty paragraphs which have a
12020         bottom line
12021
12022 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
12023
12024         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12025         code.
12026
12027 2001-09-04  José Matos  <jamatos@fep.up.pt>
12028         * buffer.C
12029         * buffer.h
12030         * tabular.C (docbook): rename docBook method to docbook.
12031
12032 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12033
12034         * Makefile.am: add dependencies to main.o.
12035
12036 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
12037
12038         * FontLoader.C (available): Return false if !lyxrc.use_gui
12039
12040 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
12041
12042         * FontInfo.C (query):
12043         * converter.C (view):
12044         * importer.C (Import):
12045         * exporter.C (Export): Can not -> cannot.
12046
12047 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
12048
12049         * BufferView_pimpl.C: allow to create index inset even if
12050           string is empty
12051
12052 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12053
12054         * buffer.C (getLists): replace boost::tie code with an explicit pair
12055         as boost::tie can break some compilers.
12056
12057         * iterators.h: Added a std:: declaration to the return type of
12058         ParIterator::size.
12059
12060 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
12061
12062         * lyxrc.C: add help for view_dvi_paper_option, default to safe
12063           case.
12064
12065 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
12066
12067         * iterators.[Ch]: New files. Provide paragraph iterators.
12068
12069         * buffer.C (changeLanguage): Use paragraph iterators.
12070         (isMultiLingual): ditto
12071
12072         * BufferView2.C (ChangeInsets): Use paragraph iterators.
12073
12074 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
12075
12076         * FontLoader.C: Support for cmr font.
12077
12078 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
12079
12080         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12081         (available): New method.
12082
12083         * FontInfo.C (getFontname): Use scalable fonts even when
12084         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12085         found.
12086
12087 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12088
12089         * converter.C (Formats::view): reverted! Incorrect fix.
12090
12091 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12092
12093         * converter.C (Formats::view): only output the -paper option
12094         if the dvi viewer is xdvi, thereby fixing bug #233429.
12095
12096 2001-08-23  Herbert Voss  <voss@perce>
12097
12098         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12099
12100 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
12101
12102         * Spacing.h (Spacing): Set space to Default on in the default
12103         constructor.
12104
12105 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12106
12107         * vc-backend.h (RCS::versionString): add RCS to version
12108         (CVS::versionString): add CVS to version
12109
12110         * vc-backend.C (scanMaster): do not add CVS to version.
12111         (scanMaster): do not add RCS to version
12112
12113         * lyxvc.C (versionString): new method
12114
12115         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12116
12117 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12118
12119         * Spacing.C (set): initialize fval
12120
12121 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
12122
12123         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12124         " or \.
12125
12126 2001-08-16  Juergen Vigna  <jug@sad.it>
12127
12128         * lyxfunc.C (dispatch): implemented the new FINISHED states.
12129
12130 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12131
12132         * BufferView_pimpl.C:
12133         * figureForm.C:
12134         * lyxtext.h:
12135         * text2.C: setParagraph takes linespacing now
12136
12137 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
12138
12139         * LyxAction.C: add internal LFUN_CITATION_INSERT
12140
12141         * LyXView.C: actually apply fix
12142
12143         * bufferlist.C: fix open non-existent file
12144
12145         * lyxfind.C: fix indentation
12146
12147         * lyxfunc.C: remove unneeded assert, fix typo
12148
12149 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12150
12151         * MenuBackend.C: use "Floatname List"
12152
12153 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
12154
12155         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12156         when converting LaTeX layout to insetERT.
12157         Generate a non-collapsed float when reading old float
12158
12159 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12160
12161         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12162         ERT insets.
12163
12164 2001-08-13  Juergen Vigna  <jug@sad.it>
12165
12166         * text.C (fill): return 0 instead of 20 as this seems to be the more
12167         correct value.
12168
12169 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12170
12171         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12172         lyxrc.font_norm.
12173
12174 2001-08-13  Juergen Vigna  <jug@sad.it>
12175
12176         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12177         casesensitive off.
12178         (SearchBackward): comment out the unlocking of the inset_owner this
12179         should not be needed!
12180
12181 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
12182
12183         * Many files: Remove inherit_language, and add latex_language
12184
12185         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12186         collapsible insets.
12187
12188 2001-08-10  Juergen Vigna  <jug@sad.it>
12189
12190         * text.C (prepareToPrint): fixed hfill-width in draw!
12191
12192         * BufferView2.C (selectLastWord): save the selection cursor as this
12193         now is cleared in the function LyXText::clearSelection!
12194
12195 2001-08-08  Juergen Vigna  <jug@sad.it>
12196
12197         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12198         BACKSPACE type functions.
12199
12200         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12201         is only cutted from the document but not put in the cut-buffer, where
12202         still the old stuff should be.
12203
12204         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12205
12206         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12207
12208         * tabular.C (SetWidthOfCell): fixed special case where the width
12209         was not updated!
12210         (LeftLine): handle '|' in align_special.
12211         (RightLine): ditto
12212         (LeftAlreadyDrawed): ditto
12213         (SetWidthOfCell): ditto
12214
12215 2001-08-07  Juergen Vigna  <jug@sad.it>
12216
12217         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12218
12219 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12220
12221         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12222         * lyxlex.[hC]: ditto
12223
12224 2001-08-06  Juergen Vigna  <jug@sad.it>
12225
12226         * text.C (getVisibleRow): fix up row clearing a bit.
12227
12228 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12229
12230         * minibuffer.C: make sure the X server sees the changes in the input.
12231
12232 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12233
12234         * paragraph.C (getFont): split into...
12235         (getLabelFont): this
12236         (getLayoutFont): and this
12237         * paragraph_pimpl.C (realizeFont): calling this
12238
12239         * text2.C (getFont): split into...
12240         (getLayoutFont): this
12241         (getLabelFont): and this
12242         (realizeFont): all three calling this
12243
12244         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12245         files where used.
12246
12247 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12248
12249         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12250
12251 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
12252
12253         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12254         layouts from the Quote inset insertion.
12255
12256 2001-08-03  Juergen Vigna  <jug@sad.it>
12257
12258         * BufferView_pimpl.C (update): do the fitCursor only at the end!
12259
12260         * screen.C (drawFromTo): don't call fitcursor here and do the loop
12261         only if status not is already CHANGED_IN_DRAW (second level).
12262
12263         * text.C (draw): don't set the need_break_row when inside an
12264         InsetText LyXText.
12265
12266 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12267
12268         * buffer.C (parseSingleLyXformat2Token): handle more latex
12269         conversion cases.
12270
12271         * bufferview_funcs.[hC]: change function names to
12272         begin with small char, adjust other files.
12273
12274 2001-08-02  André Pönitz <poenitz@gmx.net>
12275
12276         * lyxfunc.C:
12277         BufferView_pimpl.C: remove broken special code for math-greek
12278
12279 2001-08-02  Juergen Vigna  <jug@sad.it>
12280
12281         * BufferView_pimpl.C (update): redone this function so that we
12282         update the text again if there was a CHANGE_IN_DRAW.
12283
12284         * screen.C (cursorToggle): removed LyXText parameter and recoded.
12285         (drawFromTo): added a new internal bool which is used by draw() and
12286         redraw() function.
12287         (general): some cursor drawing problems fixed.
12288
12289 2001-08-01  Juergen Vigna  <jug@sad.it>
12290
12291         * lyxfind.C (LyXFind): fixed
12292         (SearchForward): ditto
12293         (SearchBackward): ditto
12294
12295         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12296         spurius drawing of the cursor in the main area.
12297
12298         * text2.C (status): small fix which could lead to a segfault!
12299         (clearSelection): remove unneeded BufferView param.
12300
12301 2001-08-01  André Pönitz <poenitz@gmx.net>
12302
12303         * lyxfunc.C: small change due to changed mathed interface
12304
12305 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12306
12307         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12308
12309 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
12310
12311         * lyxfunc.c: fail gracefully if file doesn't exist
12312
12313         * LyXSendto.C:
12314         * buffer.C:
12315         * lyxfunc.C:
12316         * BufferView_pimpl.C: IsDirWriteable() proto changed
12317
12318         * LyXView.C: fix updateWindowTitle() to store the last title
12319
12320 2001-07-31  Juergen Vigna  <jug@sad.it>
12321
12322         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12323         the font (wrong since using of Paragraph::highestFontInRange).
12324
12325         * paragraph.C (highestFontInRange): added a default_size parameter.
12326
12327         * text.C (getVisibleRow): minor clear row changes (still not perfect).
12328         (setHeightOfRow): reformat
12329
12330 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12331
12332         * converter.[hC] + affected files: move to (inital-char)lowercase
12333         function names.
12334
12335         * ParagraphParameters.C (ParagraphParameters): remove commented code
12336
12337         * PainterBase.[Ch]: remove commented code
12338
12339         * LaTeXFeatures.h: add "bool floats" for float.sty
12340
12341         * LaTeXFeatures.C (LaTeXFeatures): init floats
12342         (require): handle float
12343         (getPackages): do it with floats
12344
12345 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12346
12347         * BufferView_pimpl.C (Dispatch): improve handling of
12348         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12349
12350         * commandtags.h: #include lyxfont.h here temporarily to avoid
12351         keybinding bug.
12352
12353         * bufferlist.h: include LString.h here.
12354
12355 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12356
12357         * text2.C (getStringToIndex): new method.
12358
12359 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
12360
12361         * *: Reduced header file dependencies all over.
12362
12363 2001-07-30  Baruch Even  <baruch@lyx.org>
12364
12365         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12366
12367 2001-07-29  Baruch Even  <baruch@lyx.org>
12368
12369         * buffer.C (readInset): Changed GRAPHICS to Graphics.
12370
12371 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12372
12373         * ParameterStruct.h (endif): add a default constructor to make
12374         sure that all variables is initialized.
12375
12376         * ParagraphParameters.C (ParagraphParameters): adjust
12377
12378 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12379
12380         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12381         index; also, check that there is something to index, and that it
12382         does not span over several paragraphs.
12383         (doubleClick): use WHOLE_WORD_STRICT for double click.
12384
12385         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12386
12387         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12388         scheme.
12389
12390 2001-07-26  Baruch Even  <baruch@lyx.org>
12391
12392         * buffer.C (readInset): Changed to call up InsetGraphics when reading
12393         an InsetFig figure, backwards compatible reading of old figure code.
12394
12395 2001-07-27  Juergen Vigna  <jug@sad.it>
12396
12397         * text2.C: font.realize function adaption.
12398
12399         * text.C (draw): add a warnings lyxerr text if needed.
12400
12401         * layout.C: font.realize function adaption.
12402
12403         * language.C: add inherit_language and implement it's handlings
12404
12405         * bufferview_funcs.C (StyleReset): remove language parameter from
12406         font creation (should be language_inherit now).
12407
12408         * bufferparams.C (writeFile): handle ignore_language.
12409
12410         * paragraph.C (getFontSettings): the language has to be resolved
12411         otherwise we have problems in LyXFont!
12412
12413         * lyxfont.C (lyxWriteChanges): added document_language parameter
12414         (update): removed unneeded language parameter
12415
12416         * paragraph.C (validate): fixed wrong output of color-package when
12417         using interface colors for certain fonts in certain environments,
12418         which should not seen as that on the final output.
12419
12420 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
12421
12422         * BufferView_pimpl.C:
12423         * Thesaurus.h:
12424         * Thesaurus.C:
12425         * Makefile.am:
12426         * commandtags.h:
12427         * LyXAction.C: add thesaurus support
12428
12429         * lyxfind.h:
12430         * lyxfind.C: add "once" parameter, for thesaurus, to not
12431           move to the next match
12432
12433 2001-07-26  Juergen Vigna  <jug@sad.it>
12434
12435         * lyxfont.C (realize): honor ignore_language too!
12436         (resolved): ditto.
12437
12438         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12439
12440         * text.C (draw): one place more for ignore_language to not draw
12441         itself!
12442
12443 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
12444
12445         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12446
12447 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12448
12449         * buffer.C (parseSingleLyXformat2Token): a more general fix for
12450         the minipage conversion problem.
12451
12452 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12453
12454         * buffer.C (parseSingleLyXformat2Token): check minipage if we
12455         insert an inset.
12456
12457 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12458
12459         * BufferView.h: don't forward declare WorkArea
12460
12461         * BufferView.C: don't include WorkArea.h
12462
12463 2001-07-25  André Pönitz <poenitz@gmx.net>
12464
12465         * commandtags.h:
12466         * LyXAction.C:
12467         * lyxfunc.C:  new LFUN 'math-space'
12468
12469         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12470
12471 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12472
12473         * text2.C (toggleInset): call open/close
12474
12475 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12476
12477         * lyxfunc.C (dispatch): add debug for the disabled case
12478
12479         * font.C (buttonText): make similar to rectText
12480
12481         * buffer.C (readInset): comment out parsing of insetlist and
12482         insttheorem
12483
12484         * PainterBase.C (rectText): small correction
12485
12486         * BufferView_pimpl.C: comment out insettheorem and insetlist
12487         * LyXAction.C: ditto
12488         * commandtags.h: ditto
12489
12490 2001-07-24  Juergen Vigna  <jug@sad.it>
12491
12492         * text.C (draw): honor the ignore_language.
12493
12494         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12495
12496 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12497
12498         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12499         char inset.
12500
12501 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12502
12503         * lyxtext.h: remove unused (and unimplemented) methods
12504
12505 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12506
12507         * text.C (getVisibleRow): honor background color
12508
12509         * PainterBase.h:
12510         * Painter.h: remove default color argument for fillRectangle
12511
12512         * text.C (backgroundColor): new method
12513
12514 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12515
12516         * text.C (getVisibleRow): adjust
12517
12518         * font.[Ch] (rectText): new method, metrics
12519         (buttonText): new method, metrics
12520
12521         * PainterBase.[hC]: make rectText and buttonText always draw and take
12522         fewer paramteres.
12523
12524 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12525
12526         * ToolbarDefaults.C (read):
12527         * MenuBackend.C (read): allow escaping in all strings
12528
12529         * BufferView_pimpl.C (insertAndEditInset): new method.
12530         (Dispatch): use insertAndEditInset whenever appropriate.
12531
12532         * BufferView_pimpl.C (insertNote): removed
12533
12534         * BufferView_pimpl.C (smartQuote): new method, moved from
12535         BufferView; if an insetquote cannot be inserted, insert a '"'
12536         character instead.
12537
12538         * BufferView2.C: remove insertCorrectQuote();
12539
12540         * lyxfunc.C (getStatus): Add support for all remaingin
12541         inset-insert lfuns.
12542
12543         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12544
12545         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12546         command (necessary to pass " as parameter of self-insert.
12547
12548         * text.C (selectWordWhenUnderCursor):
12549         (selectWord): add word_location parameter
12550         (selectWordWhenUnderCursor): same + remove special code for word
12551         boundary.
12552         (selectNextWord): use kind() to guess type of insetspecialchar,
12553         not latex().
12554
12555         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12556         (insertErtContents): create ert insets as collapsed.
12557         (readInset): better compatibility code for Info inset.
12558
12559 2001-07-20  Juergen Vigna  <jug@sad.it>
12560
12561         * lyxfunc.C (dispatch): use always LyXFind now!
12562
12563         * text2.C (init): add a reinit flag so that the LyXText can be
12564         reinited instead of deleted and reallocated (used in InsetText).
12565
12566         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12567
12568         * text.C: ditto
12569
12570         * text2.C: ditto
12571
12572 2001-07-18  Juergen Vigna  <jug@sad.it>
12573
12574         * text.C (selectNextWord): handle insets inside inset by calling
12575         always the bv->text functions so that we can go up the_locking_inset!
12576
12577         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12578         in strange locations when inside an inset!
12579
12580         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12581         handling to include insets.
12582
12583         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12584
12585 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12586
12587         * LyXAction.C (init):
12588         * commandtags.h:
12589         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12590         LIGATURE_BREAK, since the name is so stupid.
12591
12592 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12593
12594         * buffer.C (readInset): enable reading of new InsetNotes as well as old
12595         InsetInfos.
12596
12597         * FontLoader.C: remove FORMS_H_LOCATION cruft.
12598
12599         * sp_form.[Ch]: remove.
12600
12601         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12602
12603         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12604         InsetInfo.
12605
12606         * src/buffer.C (readInset): ditto.
12607
12608 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12609
12610         * BufferView_pimpl.C (specialChar): new method. Obsoletes
12611         menuSeparator(), endOfSentenceDot(), ldots() and
12612         hyphenationPoint(), which are therefore removed.
12613         (Dispatch): handle LFUN_HYPHENATION_BREAK.
12614
12615         * LyXAction.C (init):
12616         * commandtags.h: add LFUN_HYPHENATION_BREAK.
12617
12618         * paragraph.C (getWord): removed.
12619
12620         * BufferView_pimpl.C (Dispatch): use last word or selection for
12621         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12622
12623         * lyx_main.C (queryUserLyXDir): do not ask before creating
12624         user_dir, except if it has been named explicitely.
12625
12626 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12627
12628         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12629         a document of zero size.
12630
12631 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
12632
12633         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12634         approriately in the c-tor and in require().
12635         (getPackages): output the appropriate LaTeX for natbib support.
12636
12637         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12638         variables "use_natbib" and "use_numerical_citations" when reading the
12639         LyX file.
12640         (readInset): read the various natbib cite commands.
12641         (validate): white-space change.
12642
12643         * bufferparams.[Ch]: new variables "bool use_natbib" and
12644         "bool use_numerical_citations".
12645         (writeFile): output them in the LyX file.
12646
12647 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12648
12649         * lyxfunc.C (getStatus): add support for all the inset insertion
12650         commands.
12651
12652         * text2.C (insertInset):
12653         * paragraph.C (insetAllowed):
12654         * BufferView_pimpl.C (insertInset): update to take in account the
12655         renaming of insertInsetAllowed
12656
12657         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12658
12659         * text2.C (getInset): new method. returns inset at cursor position.
12660
12661         * BufferView_pimpl.C (Dispatch): changes because of this.
12662
12663         * LyXAction.C (init): rename open-stuff to inset-toggle.
12664
12665         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12666
12667         * text2.C (toggleInset): renamed from openStuff; use
12668         Inset::open().
12669
12670 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
12671
12672         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12673
12674         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12675
12676 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
12677
12678         * buffer.C (readLyXformat2): Add filename to the error dialog
12679
12680 2001-07-18  Juergen Vigna  <jug@sad.it>
12681
12682         * tabular.C (GetCellNumber): put an assert here instead of the check!
12683
12684 2001-07-17  Juergen Vigna  <jug@sad.it>
12685
12686         * BufferView_pimpl.C (toggleSelection): adapted too.
12687
12688         * text.C (selectNextWord): adapted for use with insets.
12689         (selectSelectedWord): ditto
12690
12691 2001-07-17  Juergen Vigna  <jug@sad.it>
12692
12693         * sp_spell.C (PSpell): fix initialitation order.
12694
12695 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12696
12697         * paragraph.C: spacing
12698
12699 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
12700
12701         * sp_spell.C: repair language selection for pspell
12702
12703 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12704
12705         * lyxfunc.h: change more methods to begin with lower char.
12706
12707 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
12708
12709         * buffer.C (parseSingleLyXformat2Token): Generate error insets
12710         for unknown layouts.
12711
12712 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12713
12714         * buffer.C (readLyXformat2): Generate an error dialog if there are
12715         unknown layouts.
12716
12717 2001-07-16  Juergen Vigna  <jug@sad.it>
12718
12719         * sp_spell.C: always compile ISpell part.
12720
12721         * lyxrc.C: added use_pspell entry and it's handling.
12722
12723 2001-07-13  Juergen Vigna  <jug@sad.it>
12724
12725         * sp_spell.C: removed double includes.
12726
12727 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
12728
12729         Consistent use of Lsstream.h:
12730         * Lsstream.h: added using std::stringstream for consistencies sake.
12731
12732         * buffer.C: removed using std::stringstream
12733
12734         * lyxfont.C (stateText):
12735         * paragraph.C (asString):
12736         * text.C (selectNextWord, selectSelectedWord):
12737         * text2.C (setCounter):
12738         * vspace.C (asString, asLatexString):
12739         std::ostringstream -> ostringstream.
12740
12741 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12742
12743         * LyXAction.C: add LFUN_HELP_ABOUTLYX
12744         * commandtags.h: add LFUN_HELP_ABOUTLYX
12745         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12746
12747 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12748
12749         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12750         cursorToggle()
12751         * lyx_gui_misc.C: remove spellchecker
12752         * lyxfunc.C: showSpellchecker
12753         * sp_base.h: added
12754         * sp_ispell.h: added
12755         * sp_pspell.h: added
12756         * sp_spell.C: added
12757         * sp_form.[Ch]: removed
12758         * spellchecker.[Ch]: removed
12759
12760 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
12761
12762         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12763         is set.
12764         (simpleTeXSpecialChars): Simply print the input character without
12765         any special translation if pass_thru is set.
12766
12767         * layout.h: Added bool pass_thru to layout class for being able to
12768         implement pass through of a paragraph for Literate Programming.
12769
12770         * layout.C: add LT_PASS_THRU to LayoutTags enum.
12771         * layout.C (LyXLayout): set pass_thru to flase in constructor.
12772         * layout.C (Read): add "passthru" to list of layout tags and add
12773         code to set the pass_thru boolean when it is read.
12774
12775 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12776
12777         * trans_decl.h: remove allowed from KmodInfo
12778
12779         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12780         remove allowed code
12781         (Load): adjust
12782
12783         * paragraph_pimpl.C (erase): use boost::prior
12784
12785         * Painter.C (text): use data() instead of c_str() when length is
12786         also provided.
12787         * WorkArea.C (putClipboard): ditto
12788         * font.h (width): ditto
12789
12790         * BufferView2.C: use it-> instead of (*it). for iterators
12791         * texrow.C: ditto
12792         * paragraph_pimpl.C: ditto
12793         * paragraph.C: ditto
12794         * minibuffer.C: ditto
12795         * language.C: ditto
12796         * kbmap.C: ditto
12797         * encoding.C: ditto
12798         * counters.C: ditto
12799         * converter.C: ditto
12800         * chset.C: ditto
12801         * Variables.C: ditto
12802         * TextCache.C: ditto
12803         * MenuBackend.C: ditto
12804         * LyXAction.C: ditto
12805         * LColor.C: ditto
12806         * FloatList.C: ditto
12807         * DepTable.C: ditto
12808         * ColorHandler.C (LyXColorHandler): ditto
12809
12810 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12811
12812         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12813
12814         * text2.C (openStuff): reintroduce this method (which had been
12815         nuked in NEW_INSETS frenzy).
12816
12817         * lyxfunc.C (Dispatch): when an action has not been handled, use
12818         its name in the error message, not its number.
12819
12820         * paragraph.C (inInset): change method name to begin with lowercase.
12821
12822         * undo_funcs.C:
12823         * text2.C: updates because of this.
12824
12825 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12826
12827         * ToolbarDefaults.C (add): add spaces in error message
12828
12829 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12830
12831         * buffer.C (readLyXformat2): initialize the ert comp. variables.
12832         (readLyXformat2): rename return_par to first_par, use lyxlex's
12833         pushToken and remove the manual push handling.
12834         (parseSingleLyXformat2Token): add another ert comp. variable:
12835         in_tabular, rename return_par to first_par. handle newlines better
12836
12837 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12838
12839         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12840
12841 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12842
12843         * text2.C (getParFromID): removed
12844
12845         * buffer.C (getParFromID): new method moved form lyxtext.
12846         * BufferView2.C (insertErrors): adjust
12847         (setCursorFromRow): adjust
12848         * BufferView_pimpl.C (restorePosition): adjust
12849         * lyxfunc.C (Dispatch): adjust
12850         * undo_funcs.C (textUndo): adjust
12851         (textRedo): adjust
12852         (textHandleUndo): adjust
12853         (textHandleUndo): adjust
12854
12855 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12856
12857         * buffer.C: up' the LYX_FORMAT
12858
12859         * lyxfont.h: turn NO_LATEX on as default
12860
12861         * buffer.C (insertErtContents): new methods of tex style compability.
12862         (parseSingleLyXformat2Token): use it several places.
12863         * tabular.C (OldFormatRead): and here
12864
12865 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12866
12867         * text2.C: remove some commented code.
12868         reindent file.
12869
12870         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12871         * trans.C: changes because of the above.
12872
12873 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
12874
12875         * text2.C (setCounter): Fix counters bug with bibliography layout.
12876
12877 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12878
12879         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12880         own member functions
12881         (simpleTeXSpecialChars): ditto
12882
12883 2001-07-06  Juergen Vigna  <jug@sad.it>
12884
12885         * a lot of files: changed the access to LyXText::status and the
12886         call of undo-functions.
12887
12888         * undo.[Ch]: added a inset_id to the undo informations.
12889
12890         * undo_funcs.[Ch]: added and moved here all undo functions.
12891
12892         * lyxtext.h: give the status enum a weight, made status_ a private
12893         variable and made accessor functions for it, removed the whole bunch
12894         of undo-functions as they are now in their own file, make some
12895         functions publically available. Added function ownerParagraph with
12896         int parameter.
12897
12898         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12899         made InInset() a const function, added getParFromID() function.
12900
12901         * buffer.[Ch]: added const version for inset_iterator functions,
12902         added getInsetFromID() function.
12903
12904         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12905         changed undo functions for new version.
12906
12907 2001-07-05  Juergen Vigna  <jug@sad.it>
12908
12909         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12910         unknow mechanism does not call the proper constructor but only this
12911         one also if I request the other!?
12912
12913 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12914
12915         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12916
12917         * text2.C (LyXText): use initialization lists.
12918
12919         * lyxtext.h (Selection): initialize set_ and mark_
12920         (init): remove method
12921
12922 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12923
12924         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12925
12926 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12927
12928         * screen.[Ch]: change method names to begin with lowercase
12929
12930         * BufferView_pimpl.C (updateScrollbar): simplify further and
12931         hopefully make it a bit faster.
12932
12933 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12934
12935         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12936         calling directly xforms functions.
12937
12938         * Painter.C (Painter):
12939         * lyx_cb.C (MenuWrite):
12940         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12941         fl_display.
12942
12943         * lyx_gui.C: remove bogus guiruntime extern declaration.
12944
12945 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12946
12947         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12948         in NEW_INSETS
12949         (redoDrawingOfParagraph): ditto
12950         (redoParagraphs): ditto
12951         (cutSelection): don't create a object for CutAndPaste use the
12952         static method directly
12953         (pasteSelection): ditto
12954
12955         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12956         LyXview (+ rename)
12957
12958 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12959
12960         * modifications to some other files because of this.
12961
12962         * Makefile.am (lyx_SOURCES): add XFormsView
12963
12964         * XFormsView.[Ch]: new files
12965
12966         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12967         the main window. Move the gui dependent stuff to XFormsView
12968
12969 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12970
12971         * tabular.C (GetCellInset): update cur_cell also in the row/col
12972         version of this function.
12973
12974         * lyxfunc.C: no need to include figure_form.h here.
12975
12976         * FontLoader.h:
12977         * lyxfunc.h:
12978         * lyxscreen.h:
12979         * text2.C:
12980         * lyxvc.C: no need to include forms.h here.
12981
12982 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12983
12984         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12985
12986         * lyxfunc.C (Dispatch):
12987         * Spacing.C (set):
12988         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12989         constructor argument.
12990
12991 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12992
12993         * paragraph.C (Paragraph): dont't clear, and just set layout.
12994         (makeSameLayout): use params's copy contructor.
12995
12996         * ParagraphParameters.[Ch] (makeSame): delete method
12997
12998 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12999
13000         * Variables.[Ch]: fix indentation, rename set to isSet
13001
13002 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13003
13004         * lyxfunc.C (Dispatch): fix typo
13005
13006 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13007
13008         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13009         upper_bound.
13010
13011         * bufferlist.C: include assert.h for emergencyWrite().
13012
13013 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13014
13015         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13016           give up at last (bug #425202) !
13017
13018 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
13019
13020         * lyx_gui_misc.C:
13021         * sp_form.h:
13022         * sp_form.C:
13023         * spellchecker.h:
13024         * spellchecker.C: strip spellchecker options and bring up
13025           preferences tab instead
13026
13027 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13028
13029         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13030         the istringstream constructor
13031
13032 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13033
13034         * paragraph.C (getLayout): fix return value
13035
13036         * paragraph.h: do not declare getLayout as inline.
13037
13038         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13039
13040 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13041
13042         * lyxcursor.h (operator<): new func
13043         (operator>): new func
13044         (operator>=): new func
13045         (operator<=): new func
13046
13047         * text.C (changeCase): use selection.start and selection.end
13048         (changeRegionCase): require from to be <= to. Require par to be a
13049         valid paragraph.
13050
13051         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13052
13053 2001-06-27  Juergen Vigna  <jug@sad.it>
13054
13055         * text.C (cursorLeftOneWord): changed to return the cursor and added
13056         overlay with BufferView * parameter which calls this one.
13057         (getWord): added
13058         (selectWord): use new getWord function.
13059         (changeCase): renamed from changeWordCase as and extended to work
13060         also on selections.
13061
13062         * lyxtext.h: added enum word_location
13063
13064         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13065         changeCase as this operates now also on selections.
13066
13067 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
13068
13069         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13070
13071         * many files: send debug output to Debug::INFO instead of
13072         Debug::ANY.
13073
13074         * converter.C (View):
13075         (Convert):
13076         (Move): send debug output to Debug::FILES instead of console.
13077
13078 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
13079
13080         * lyxfunc.C (getStatus): use func_status
13081
13082         * func_status.h: new header, describing the results of
13083         LyXFunc::getStatus;
13084
13085         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13086         LFUN_MATH_HALIGN.
13087
13088 2001-06-25  The LyX Project  <jug@sad.it>
13089
13090         * buffer.C (sgmlOpenTag):
13091         (sgmlCloseTag):
13092         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
13093
13094 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13095
13096         * text2.C: remove some dead code
13097
13098         * tabular.C (GetCellInset): store the last cell checked (gotten)
13099
13100         * tabular.h: add the helper for the speedup
13101
13102         * lyxtext.h: remove some dead code
13103
13104 2001-06-26  The LyX Project  <Asger>
13105
13106         * paragraph.C: Change export to LaTeX of alignment to
13107         \begin{center} and family for better roundtrip work with reLyX.
13108
13109         * Tune the math drawing a bit.
13110
13111 2001-06-25  The LyX Project  <Asger>
13112
13113         * LColor.C (LColor): New color for math background. New color
13114         for buttons.
13115
13116 2001-06-25  The LyX Project  <jug@sad.it>
13117
13118         * lyxfunc.C (MenuNew): remove extra check for .lyx file
13119
13120         * lyxfunc.C (Open):
13121         * bufferlist.C (newFile): do not restrict to files ending with
13122         .lyx
13123
13124         * BufferView_pimpl.C (MenuInsertLyXFile):
13125
13126 2001-06-24  The LyX Project  <jug@sad.it>
13127
13128         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13129         of compare_no_case
13130
13131 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13132
13133         * lyxtext.h: rename most methods to begin with a small char.
13134         Lots of changes because of this.
13135
13136         * paragraph.C (Paragraph): do not call fitToSize
13137         (erase): call Pimpl::erase
13138         (insertChar): call Pimpl::insertChar
13139         (insertInset): call Pipl::insertInset
13140         (breakParagraph): do not call fitToSize
13141         (breakParagraphConservative): do not call fitToSize
13142         (fitToSize): remove method
13143
13144         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13145
13146 2001-06-24  The LyX Project  <Asger>
13147
13148         * Fix Qt compilation^2
13149
13150 2001-06-24  The LyX Project  <jug@sad.it>
13151
13152         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13153         depthHook(getDepth()-1).
13154
13155         * paragraph.h:
13156         * ParagraphParameters.h:
13157         * ParameterStruct.h: change type of depth to unsigned int ==
13158         depth_type. Many adaptations to other files before of that.
13159
13160 2001-06-24  The LyX Project  <Asger>
13161
13162         * Fix Qt compilation.
13163
13164 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13165
13166         * paragraph.h: renamed several methods to begin with small letter.
13167         several changes to many parts of the code because of this.
13168
13169 2001-06-23  The LyX Project  <jug@sad.it>
13170
13171         * text2.C (InsertStringAsLines): renamed from InsertStringA;
13172         rewritten to discard all double spaces when KeepEmpty is off
13173         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13174         to only handle newlines but not fiddle with spaces and friends.
13175
13176         * lyxfunc.C (MenuNew): when doing 'new from template', use
13177         template_path as default directory
13178
13179 2001-06-23  The LyX Project  <Asger>
13180
13181         * Clean-up of header file includes all over
13182         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13183
13184 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13185
13186         * paragraph.h: renamed from lyxparagraph.h
13187
13188 2001-06-23  Asger  <lyx@violet.home.sad.it>
13189
13190         * Buffer.h: Removed Buffer::resize
13191         * BufferList.h: Removed BufferList::resize
13192         * LyXView.h: Added LyXView::resize. This way, we will only reflow
13193         the document lazily when we change the width, or the font settings.
13194
13195 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13196
13197         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13198
13199 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13200
13201         * buffer.h: remove out of date comment
13202
13203 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13204
13205         * lyxscreen.h:
13206         * screen.C: fix "theoretical" GC leak
13207
13208 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13209
13210         * LaTeX.C (scanAuxFile):
13211         (deplog): remove trailing \r when reading stream (useful under
13212         win32)
13213
13214 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
13215
13216         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13217         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13218         and BufferView::theLockingInset(Inset*), so should use them and not
13219         access bv_->text->the_locking_inset directly.
13220
13221         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13222
13223 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13224
13225         * Makefile.am:
13226         * tex-defs.h: remove old unused file
13227
13228 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
13229
13230         * BufferView_pimpl.C: fix typo, remove minibuffer message
13231           when buffer has loaded
13232
13233 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13234
13235         * lyxfunc.C (Dispatch): use stringstream
13236         (MenuNew): use stringstream
13237         (Open): use stringstream
13238
13239         * importer.C (Import): use stringstream
13240
13241         * bufferview_funcs.C (CurrentState): use stringstream
13242
13243         * LaTeX.C (run): use stringstream
13244
13245         * BufferView_pimpl.C (savePosition): use stringstream
13246         (restorePosition): use stringstream
13247         (MenuInsertLyXFile): use stringstream
13248
13249 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
13250
13251         * BufferView.C:
13252         * Bullet.C:
13253         * ColorHandler.C:
13254         * FontInfo.C:
13255         * FontLoader.C:
13256         * LColor.C:
13257         * LaTeXFeatures.C:
13258         * Painter.C:
13259         * gettext.C:
13260         * lyx_gui_misc.C:
13261         * lyxserver.C:
13262         * vspace.C: removed // -*- C++ -*- as first line.
13263
13264         * lyxfind.h:
13265         * version.h: added // -*- C++ -*- as first line.
13266
13267 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13268
13269         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13270
13271         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13272         of string
13273
13274 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13275
13276         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13277         of floats.
13278
13279 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13280
13281         * gettext.C: include LString.h even when --disable-nls is on.
13282
13283 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
13284
13285         * converter.h (Get): changed argument type from int to
13286         FormatList::size_type to avoid unnecessary conversion.
13287
13288         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13289         before using it.
13290
13291 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13292
13293         * gettext.h: include LString.h even when --disable-nls is on.
13294
13295 2001-06-07  Juergen Vigna  <jug@sad.it>
13296
13297         * text.C (BreakAgain): subst spaces with tabs.
13298
13299         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13300         (resizeInsetsLyXText): set force on resizeLyXText.
13301
13302 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13303
13304         * gettext.h (gettext_init):
13305         (locale_init): use a real definition instead of a macro
13306
13307 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13308
13309         * Bufferview_pimpl.C:
13310         * LColor.h:
13311         * LColor.C: further lcolor tidies
13312
13313 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13314
13315         * BufferView_pimpl.C (updateScrollbar): simplify.
13316
13317         * BufferView2.C: don't include insets/insetinfo.h, change
13318         prototype for insertInset and call the Pimpl version. let
13319         updateInset call Pimpl version.
13320
13321         * BufferView.h: move inset_slept to BufferView::Pimpl, move
13322         gotoInset to BufferView::Pimpl
13323
13324 2001-06-01  Juergen Vigna  <jug@sad.it>
13325
13326         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13327         inside a LockingInset (is the update needed at all?).
13328
13329 2001-05-31  Juergen Vigna  <jug@sad.it>
13330
13331         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13332         here not the old one otherwise how should we compare it afterwards
13333         if it's the same!
13334
13335 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13336
13337         * lyxfont.C:
13338         * tabular.C:
13339         * tabular-old.C:
13340         * FontInfo.C: bring C functions into global namespace when
13341         necessary
13342
13343 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13344
13345         * LString.h: make sure config.h has been loaded before LString.h.
13346
13347         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13348         (one for each char read by EatLine!).
13349
13350         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13351         variables.
13352
13353 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13354
13355         * paragraph.C (BreakParagraph): set the inset_owner in the new par
13356         to the same as the par we break from
13357
13358 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13359
13360         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13361
13362         * MenuBackend.C (expand): also create menu entries for wide
13363         versions of the floats.
13364
13365         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13366
13367         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13368
13369         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13370         frontends/Makefile.am
13371
13372         * text2.C: adjust
13373         * text.C: adjust
13374
13375
13376         * tabular.C (getTokenValue): add std::
13377
13378         * tabular-old.C (getTokenValue): add std::
13379         (getTokenValue): ditto
13380         (getTokenValue): ditto
13381
13382         * screen.C (ToggleSelection): adjust
13383
13384         * lyxtext.h: put selection cursors inside a Selection struct.
13385
13386         * lyxfunc.C (moveCursorUpdate): adjust
13387
13388         * lyxfont.C (latexWriteStartChanges): add std::
13389
13390         * lyxfind.C: adjust
13391
13392         * font.h: delete with(char const *, LyXFont const &)
13393
13394         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13395
13396         * FontInfo.C (getFontname): add std::
13397
13398         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13399         (workAreaButtonPress): adjust
13400         (tripleClick): adjust
13401         (update): adjust
13402         (moveCursorUpdate): adjust
13403         (Dispatch): adjust
13404
13405         * BufferView2.C (gotoInset): adjust
13406
13407 2001-05-30  Juergen Vigna  <jug@sad.it>
13408
13409         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13410         to check pspell I add this as default as I now have new pspell
13411         libraries and they seem to use this.
13412
13413 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13414
13415         * text2.C (CutSelection): make the cursor valid before the call to
13416         ClearSelection.
13417
13418 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13419
13420         * kbsequence.C (parse): de-uglify a bit the parsing code, which
13421         relied on 0 terminated strings and other horrors. Bug found due to
13422         the new assert in lyxstring!
13423
13424         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13425         KP_ keys.
13426
13427 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13428
13429         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13430         to latinkeys.bind.
13431
13432         * lyxfunc.C (processKeySym): change method of getting to the
13433         self-insert char.
13434
13435         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13436         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13437         * BufferView_pimpl.[Ch]: here as private methods.
13438
13439 2001-05-28  Juergen Vigna  <jug@sad.it>
13440
13441         * text.C (SetHeightOfRow): added the update() call again as it is
13442         needed to initialize inset dimensions!
13443
13444 2001-05-16  Juergen Vigna  <jug@sad.it>
13445
13446         * text2.C (SetCharFont): Add new function with BufferView * and
13447         bool toggleall parameters for setting insets internal fonts.
13448         (SetFont): Freeze the undo as we may change fonts in Insets and
13449         all this change should be inside only one Undo!
13450
13451         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13452         setting font's in insets as for them we have the SetFont function!
13453
13454 2001-05-15  Juergen Vigna  <jug@sad.it>
13455
13456         * text2.C (ClearSelection): to be sure we REALLY don't have any
13457         selection anymore!
13458
13459         * tabular.C (TeXCellPreamble): fixed the left border problem for
13460         multicolumn cells.
13461
13462 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
13463
13464         * LaTeX.C (deplog): Make sure that the main .tex file is in the
13465         dependancy file
13466
13467 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13468
13469         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13470         LFUN_BREAKPARAGRAPH.
13471
13472         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13473         help test to "internal only", similar for LFUN_INSERT_URL
13474
13475         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13476         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13477         auto_region_delete and deadkeys.
13478
13479 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
13480
13481         * LColor.h:
13482         * LColor.C: remove some dead entries, tidy a little
13483
13484 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13485
13486         * lyxfunc.C (processKeySym): comment the Escape handling, remove
13487         commented code.
13488         (Dispatch): implement LFUN_ESCAPE
13489
13490         * commandtags.h: add LFUN_ESCAPE
13491
13492         * LyXAction.C (init): add entry for LFUN_ESCAPE
13493
13494         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13495         Remove commented code.
13496         (insertNote): moved here
13497         (open_new_inset): moved here
13498
13499         * BufferView[2].[Ch]: move insertNote and open_new_inset to
13500         BufferView_pimpl
13501
13502 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13503
13504         * kbmap.C (findbinding): clean it up and make it work correctly.
13505
13506         * lyx_main.C (init): do not pass argc and argv as parameters
13507
13508 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
13509
13510         * buffer.C: fix path for OS/2 & Win32
13511
13512         * lyx_gui.C:
13513         * lyx_main:
13514         * lyx_main.C: Added os:: class.
13515
13516         * os2_defines.h: update
13517
13518 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13519
13520         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13521         better by trying again with reduced state.
13522
13523 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13524
13525         * lyxrc.C (read): print error about invalid key sequence only when
13526         debugging (because not all latinX keysyms are known to some X
13527         servers)
13528
13529         * kbsequence.C (getiso): add a few std:: qualifiers
13530         (getiso): comment out extra return statement.
13531
13532 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13533
13534         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13535         handling.
13536         (Dispatch): enhance the accent inset a bit. (not perfect)
13537
13538 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13539
13540         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13541
13542 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13543
13544         * bufferlist.C (emergencyWrite): fix assert() call
13545
13546 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
13547
13548         * text.C (InsertChar): Added trivial patch to only send the "you
13549         can not do multiple spaces this way" message once during a
13550         session.
13551
13552 2001-05-08  Baruch Even  <baruch@lyx.org>
13553
13554         * Makefile.am: Changed order of libraries to get LyX to link properly
13555         with the gnome frontend.
13556
13557 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13558
13559         * LaTeXFeatures.h: add a std:: qualifier
13560
13561 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13562
13563         * paragraph.C (String): use stringstream
13564
13565 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13566
13567         * paragraph.C (writeFile): remove footflag arg
13568
13569         * buffer.C (makeLaTeXFile): use stringstream
13570         (latexParagraphs): remove footnot gurba
13571
13572         * LaTeXFeatures.C (getPackages): use stringstream
13573         (getMacros): likewise
13574         (getTClassPreamble): likewise
13575         (getFloatDefinitions): new method
13576
13577         * paragraph.C (writeFile): reindent
13578         (Erase): reindent
13579
13580         * WorkArea.h: revert the xpos + etc changes.
13581
13582         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13583
13584         * lyxparagraph.[Ch]: add copy constructor, remove Clone
13585
13586         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13587         (pasteSelection): likewise
13588         * text2.C (CreateUndo): likewise
13589
13590 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13591
13592         * minibuffer.C (peek_event): temporarily reduce the functionality
13593         of the minibuffer (to allow args on lfuns)
13594
13595         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13596         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13597
13598         * buffer.C (readInset): add compability reading of old float
13599         lists, add reading of new style float list.
13600         (readInset): avoid reevaluation of inscmd.getCmdName()
13601         (getLists): reindent
13602
13603         * MenuBackend.C (MenuItem): implement parsing of
13604         md_floatlistinsert and md_floatinsert.
13605         (expand::LastFiles): move initalizaton of iterators out of loop,
13606         avoid reevaluation.
13607         (expand::Documents): introduce typdedef vector<string> Strings,
13608         and use it.
13609         (expand::ExportFormats): introduce typedef vector<Format const *>
13610         Formats, and use it.
13611         (expand): implement FloatListInsert and FloatInsert.
13612
13613         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13614         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13615         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13616
13617         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13618         handling.
13619         (Dispatch::LFUN_FLOAT_LIST): implement
13620
13621 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13622
13623         * LaTeX.C (run): Fix problem with --export code.
13624
13625 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13626
13627         * BufferView.[Ch] (workarea): removed.
13628         (getClipboard) new method; wrapper for workarea()->getClipboard()
13629
13630         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13631         bug.
13632
13633         * WorkArea.h (width, height, xpos, ypos): These methods all
13634         returned the dimensions of the work_area sub-area of WorkArea,
13635         resulting in a position error if the WorkArea were resized. Now
13636         return the dimensions of the entire WorkArea.
13637
13638         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13639
13640 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13641
13642         * LaTeX.C (deplog): correct the syntax of regex reg1
13643
13644 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13645
13646         * undo.C: remove !NEW_INSETS cruft
13647
13648 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13649
13650         * text2.C: remove !NEW_INSETS cruft
13651
13652         * text.C: remove !NEW_INSETS cruft
13653
13654         * tabular.C: remove !NEW_INSETS cruft
13655
13656         * spellchecker.C: remove !NEW_INSETS cruft
13657
13658         * lyxtext.h: remove !NEW_INSETS cruft
13659
13660         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13661
13662         * lyxfunc.C: remove !NEW_INSETS cruft
13663
13664         * lyxfind.C: remove !NEW_INSETS cruft
13665
13666         * lyx_cb.C: remove !NEW_INSETS cruft
13667
13668         * figureForm.C: remove  !NEW_INSETS cruft
13669
13670         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13671
13672         * buffer.[Ch]: remove !NEW_INSETS cruft
13673
13674         * ToolbarDefaults.C: remove !NEW_INSETS cruft
13675
13676         * CutAndPaste.C: remove !NEW_INSETS cruft
13677
13678         * BufferView_pimpl.C: remove !NEW_INSETS cruft
13679
13680         * BufferView2.C: remove !NEW_INSETS cruft
13681
13682         * BufferView.h: remove !NEW_INSETS cruft
13683
13684 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13685
13686         * Lsstream.h: include LString.h before the sstream headers to
13687         fix problem with gcc 2.95.3 and lyxstring
13688
13689 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13690
13691         * lyx_main.C: add using directives when needed for C functions
13692         declared in std:: namespace.
13693
13694 2001-04-27  Juergen Vigna  <jug@sad.it>
13695
13696         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13697         (SetHeightOfRow): comment out the update call should not be needed!
13698
13699 2001-04-13  Juergen Vigna  <jug@sad.it>
13700
13701         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13702         (LyXTabular): tried to minimize operator= operations (and realized
13703         hopfully Lars wish).
13704
13705 2001-04-27  Juergen Vigna  <jug@sad.it>
13706
13707         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13708
13709 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13710
13711         * lyxfunc.C (Dispatch): hack to make listof algorithm work
13712
13713         * buffer.C (readInset): hack to make listof algorithm work
13714
13715         * BufferView_pimpl.C: hack to make listof algorithm work
13716
13717 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13718
13719         * LyXAction.C: removed all !NEW_INSETS cruft
13720         (init): moved lfun_item in method
13721
13722         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13723
13724 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13725
13726         * BufferView2.C (theLockingInset): white space.
13727
13728 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13729
13730         * minibuffer.C: include <iostream>
13731
13732         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13733
13734         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13735
13736         * commandtags.h: add LFUN_TRANSPOSE_CHARS
13737
13738         * text.[Ch] (TransposeChars): new method
13739
13740 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13741
13742         * call message directly through LyXView instead of through LyXFunc
13743         * BufferView2.C: adjust
13744         * BufferView_pimpl.C: adjust
13745         * FontLoader.C: adjust
13746         * buffer.C: adjust
13747         * bufferview_funcs.C: adjust
13748         * converter.C: adjust
13749         * figureForm.C: adjust
13750         * importer.C: adjust
13751         * lyx_cb.C: adjust
13752         * lyx_gui_misc.C: adjust
13753         * lyxfunc.C: adjust
13754         * lyxvc.C: adjust
13755         * text2.C: adjust
13756         + more files in subdirs
13757
13758         * lyxparagraph.h (size): move up int file
13759         (GetLayout): ditto
13760
13761         * adjust all uses of Assert to lyx::Assert.
13762
13763         * BufferView2.C (ChangeCitationsIfUnique): adjust for
13764         lyxfunctional in namespace lyx
13765         * layout.C (hasLayout): ditto
13766         (GetLayout): ditto
13767         (GetLayout): ditto
13768         (delete_layout): ditto
13769         (NumberOfClass): ditto
13770         * converter.C (GetFormat): ditto
13771         (GetNumber): ditto
13772         (Add): ditto
13773         (Delete): ditto
13774         (SetViewer): ditto
13775         * bufferlist.C (getFileNames): ditto
13776         (emergencyWriteAll): ditto
13777         (exists): ditto
13778         (getBuffer): ditto
13779         * MenuBackend.C (hasSubmenu): ditto
13780         (hasMenu): ditto
13781         (getMenu): ditto
13782         * BufferView_pimpl.C (getInsetByCode): ditto
13783
13784 2001-04-18  Juergen Vigna  <jug@sad.it>
13785
13786         * vspace.C (asLatexString): fixed the 100% problem.
13787
13788 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13789
13790         * lyxfunc.C (Dispatch):
13791         * minibuffer.C:
13792         * minibuffer.h: add a few std:: qualifiers
13793
13794 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13795
13796         * minibuffer.[Ch]: reimplement so that commands is initiated and
13797         run from lyxfunc, simplified som handling, and made the completion
13798         and history code for complete. wip.
13799
13800         * lyxfunc.C (processKeySym): call message
13801         (miniDispatch): new temporary method
13802         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13803         (LFUN_MESSAGE): implement
13804         (LFUN_MESSAGE_PUSH): implement
13805         (LFUN_MESSAGE_POP): implement
13806         (initMiniBuffer): the initial/defualt minibuffer message.
13807
13808         * lyxfont.[Ch]: inline some more getters
13809
13810         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13811
13812         * lyx_gui_misc.[Ch] (WriteStatus): remove method
13813
13814         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13815         (AutoSave): use LFUN_MESSAGE
13816         (Reconfigure): ditto
13817
13818         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13819
13820         * figureForm.C: use LFUN_MESSAGE
13821
13822         * converter.C (runLaTeX): use LFUN_MESSAGE
13823
13824         * bufferview_funcs.C: use LFUN_MESSAGE
13825         (Melt): ditto
13826         (changeDepth): ditto
13827
13828         * bufferparams.h: use boost::
13829
13830         * bufferlist.h: inherit privately from noncopyable
13831
13832         * bufferlist.C (loadLyXFile): remove some commented code.
13833
13834         * buffer.C (runChktex): use LFUN_MESSAGE
13835
13836         * ShareContainer.h: inherit privately from noncopyable
13837
13838         * ParagraphParameters.[hC] (depth): inline it.
13839
13840         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13841         methods.
13842         (message): new method
13843         (messagePush): ditto
13844         (messagePop): ditto
13845         (show): init minibuffer
13846         (showState): direct call
13847
13848         * LaTeX.[Ch]: inherit privately from noncopyable
13849         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13850         instead of WriteStatus.
13851
13852         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13853
13854         * BufferView_pimpl.C (buffer): don't init minibuffer
13855         (workAreaButtonPress): use LFUN_MESSAGE
13856         (workAreaButtonRelease): ditto
13857         (savePosition): ditto
13858         (restorePosition): ditto
13859         (MenuInsertLyXFile): ditto
13860         (workAreaExpose): don't init minibuffer
13861         (update): remove commented code, simplify
13862
13863         * BufferView2.C (openStuff): use LFUN_MESSAGE
13864         (toggleFloat): ditto
13865         (menuUndo): ditto
13866         (menuRedo): ditto
13867         (copyEnvironment): ditto
13868         (pasteEnvironment): ditto
13869         (copy): ditto
13870         (cut): ditto
13871         (paste): ditto
13872         (gotoInset): ditto
13873         (updateInset): remove some commented code
13874
13875         * lastfiles.h: inherit privately from noncopyable
13876         * layout.h: ditto
13877         * lyx_gui.h: ditto
13878         * lyx_main.h: ditto
13879         * lyxlex.h: ditto
13880         * lyxlex_pimpl.h: ditto
13881
13882         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13883         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13884         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13885
13886         * LyXAction.h: inherit privately from noncopyable, add methods
13887         func_begin, func_end, returning iterators to the func map.
13888
13889         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13890         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13891         (func_begin): new method
13892         (func_end): new method
13893
13894         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13895         and not)
13896         (copySelection): ditto
13897         (pasteSelection): ditto
13898
13899         * BufferView.C: whitespace change
13900         * BufferView.h: inherit privately from noncopyable
13901
13902 2001-04-16  Allan Rae  <rae@lyx.org>
13903
13904         * tabular-old.C (l_getline):
13905         * spellchecker.C (sc_check_word):
13906         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13907         an unrecognised preprocessor directive.  So ensure they're wrapped.
13908
13909 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13910
13911         * src/exporter.C (Export): Give an error message when path to file
13912         contains spaces.
13913
13914 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13915
13916         * LaTeX.C (deplog): Always check that foundfile exists.
13917
13918 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13919
13920         * lyx_main.h:
13921         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13922
13923 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13924
13925         * tabular.[Ch] (getLabelList): implement new method
13926
13927         * minibuffer.h: comment ouf setTiimer
13928
13929         * minibuffer.C (ExecutingCB): constify res
13930         (peek_event): constify s
13931         (Set): constify ntext
13932         (Init): constify nicename
13933
13934         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13935
13936         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13937         (savePosition): use two params to Minibuffer::Set
13938         (restorePosition): ditto
13939
13940 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13941
13942         * lyx_main.C: include language.h
13943
13944         * Makefile.am (lyx_main.o): add language.h
13945
13946 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13947
13948         * exporter.C:
13949         * paragraph.C:
13950         * screen.C:
13951         * tabular.C:
13952         * CutAndPaste.C: include gettext.h
13953
13954         * lyxfont.h: remove old hack with ON and OFF.
13955
13956         * lyxparagraph.h:
13957         * lyxfont.h: do not include language.h...
13958
13959         * BufferView2.C:
13960         * LaTeXFeatures.C:
13961         * Painter.C:
13962         * bufferview_funcs.C:
13963         * font.C:
13964         * lyxfont.C:
13965         * text.C:
13966         * text2.C:
13967         * trans_mgr.C:
13968         * paragraph.C: ... but do it here instead
13969
13970 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13971
13972         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13973
13974         * tabular.C: small reformat
13975
13976         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13977         NEW_INSETS version
13978         (GetChar): ditto
13979         (BreakParagraph): ditto
13980         (SetOnlyLayout): ditto
13981         (SetLayout): ditto
13982
13983         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13984         with one arg less.
13985
13986         * lastfiles.C: removed most using decl, add std:: where needed
13987
13988         * buffer.C: ws changes
13989
13990         * MenuBackend.C (class compare_format): put into anon namespace
13991         (expand): constify label, names, action, action2
13992         (expand):
13993
13994         * text.C (SingleWidth): constify font
13995         (IsBoundary): constify rtl2
13996         (GetVisibleRow): constify ww
13997
13998         * LaTeX.C (deplog): constify logfile
13999
14000         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14001         start_x, end_x
14002         (workAreaExpose): constify widthChange, heightChange
14003
14004         * lyxrow.C (par): moved
14005         (height): moved
14006         (next): moved
14007         * lyxrow.h: as inlines here
14008
14009         * lyxfont.h (shape): moved from lyxfont.C
14010         (emph): moved from lyxfont.C
14011
14012         * lyxfont.C (LyXFont): use initialization list for all
14013         constructors
14014         (shape): move to lyxfont.h as inline
14015         (emph): move to lyxfont.h as inline
14016
14017
14018 2001-04-04  Juergen Vigna  <jug@sad.it>
14019
14020         * vspace.C: had to include stdio.h for use of sscanf
14021
14022 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
14023
14024         * BufferView.h:
14025         * BufferView_pimpl.h: remove xforms cruft. Both classes are
14026         independent of xforms.
14027
14028 2001-04-02  Juergen Vigna  <jug@sad.it>
14029
14030         * spellchecker.C: fixed namespace placing!
14031
14032 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
14033
14034         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14035         the LyXParagraph * is 0.
14036
14037 2001-03-29  Juergen Vigna  <jug@sad.it>
14038
14039         * vspace.C: added support for %, c%, p%, l%.
14040         (stringFromUnit): added helper function.
14041         (asLatexString): changed to give right results for the %-values.
14042
14043         * buffer.C: convert the widthp in a width%.
14044
14045 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
14046
14047         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14048         figureForm.[Ch].
14049
14050         * figureForm.[Ch]: stripped the FD_from_figure manipulation
14051         code out of lux_cb.[Ch], ready for its (imminent?) removal.
14052
14053         * lyx_cb.[Ch]: see above.
14054
14055         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14056         form1.[Ch].
14057
14058         * form1.[Ch]:
14059         * lyx.[Ch]: replaced by figure_form.[Ch].
14060
14061         * lyx_gui.C:
14062         * lyx_gui_misc.C:
14063         * lyxfunc.C: changed headers associated with above changes.
14064
14065 2001-03-27  Juergen Vigna  <jug@sad.it>
14066
14067         * BufferView_pimpl.C: set the temporary cursor right!
14068
14069 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
14070
14071         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14072
14073 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
14074
14075         * LString.h: removed "using std::getline"!
14076
14077         * BufferView_pimpl.C (Dispatch): changes due to changes in
14078         InsetInclude::Params.
14079
14080         * buffer.C (tag_name): removed redundant break statements as they were
14081         producing lots of warnings with my compiler.
14082
14083 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14084
14085         * LString.h: add "using std::getline" when using the real <string>.
14086
14087 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
14088
14089         * buffer.C: removed bitset usage.
14090         PAR_TAG moved to an anonymous name space.
14091         (tag_name): new funtion, also in the anonymous namespace.
14092         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14093         (makeDocBookFile): clean code. Completed transition from string arrays
14094         to string vectors.
14095         (SimpleDocBookOnePar): code clean.
14096
14097 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14098
14099         * tabular.C: add some comments.
14100
14101 2001-03-22  Juergen Vigna  <jug@sad.it>
14102
14103         * buffer.C (parseSingleLyXformat2Token): redone the minipage
14104         compatibility read a bit and fixed bug with minipage in different
14105         depth.
14106
14107 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
14108
14109         * buffer.C (pop_tag): removed.
14110         (push_tag): removed.
14111         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14112         array replaced with vector. Added support for CDATA sections.
14113         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14114         at any nest level.
14115         (makeDocBookFile): XML conformant declaration of CDATA section,
14116         fixed bug related to <emphasis> in the first paragraph char.
14117         (sgmlOpenTag): exclude empty tags.
14118         (sgmlCloseTag): ditto.
14119
14120         * buffer.h (pop_tag): removed.
14121         (push_tag): removed.
14122
14123 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
14124
14125         * language.h (Languages): added size_type and size().
14126
14127 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14128
14129         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14130         response on compability reading of minipages. One probliem is that
14131         the old usage of minipages was «flertydig»
14132
14133         * several files here and in subdirs: don't use static at file
14134         scope use anon namespaces instead.
14135
14136 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
14137
14138         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14139         LaTeX output. This is necessary for Literate document
14140         processing.
14141
14142 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14143
14144         * buffer.C: insert hfill when needed.
14145
14146         * tabular.C (l_getline): use string::erase, small whitespace change.
14147
14148         * BufferView_pimpl.C: try the anon namespace.
14149         * WorkArea.C: ditto
14150
14151 2001-03-16  Juergen Vigna  <jug@sad.it>
14152
14153         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14154         otherwise it won't open options-dialogs.
14155
14156         * buffer.C: honor pextraWidth(p) on converting minipages.
14157
14158         * tabular.C (l_getline): changed the functions to strip trailing \r.
14159
14160 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
14161
14162         * BufferView_pimpl.C:
14163         * minibuffer..C: added "using SigC::slot" declaration.
14164
14165 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14166
14167         * lyxlex_pimpl.h: noncopyable is in namespace boost.
14168
14169         * text2.C: ditto
14170
14171         * text.C: ditto
14172
14173         * paragraph.C: ditto
14174
14175         * lyxtext.h: NO_PEXTRA
14176
14177         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14178
14179         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14180         * ParameterStruct.h: ditto
14181         * ParagraphParameters.h: ditto
14182         * lyxparagraph.h: ditto
14183
14184 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14185
14186         * buffer.C: add compability for minipage alignment.
14187         (latexParagraphs): remove unwanted pextra check.
14188
14189         * several files: remove CXX_WORKING_NAMESPACES
14190
14191         * buffer.C (pop_tag): tie is in namespace boost
14192
14193         * BufferView.h: noncopyable is in namespace boost
14194         * lyxlex.h: ditto
14195         * lyx_main.h: ditto
14196         * lyx_gui.h: ditto
14197         * layout.h: ditto
14198         * lastfiles.h: ditto
14199         * bufferlist.h: ditto
14200         * ShareContainer.h: ditto
14201         * LyXView.h: ditto
14202         * LyXAction.h: ditto
14203         * LaTeX.h: ditto
14204
14205 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14206
14207         * Merging changes from BRANCH_MVC back into HEAD.
14208
14209         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14210
14211 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
14212
14213         * BufferView_pimpl.C: change from intl.C
14214
14215         * combox.h:
14216         * combox.C:
14217         * Makefile.am: move combox.*
14218
14219         * form1.h:
14220         * form1.C:
14221         * lyx_gui.C:
14222         * intl.h:
14223         * intl.C: remove dialog (covered by prefs)
14224
14225 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14226
14227         * lyxfunc.C (Dispatch): removed redundant break statement.
14228
14229 2001-03-14  Juergen Vigna  <jug@sad.it>
14230
14231         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14232
14233 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14234
14235         * buffer.C: add hack to fix compability reading of minipages.
14236
14237 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
14238
14239         * buffer.C (getLists): Cleanup.
14240
14241 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14242
14243         * lyxfont.C (update): don't honor toggleall on font size.
14244
14245 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
14246
14247         * bmtable.c:
14248         * bmtable.h:
14249         * Makefile.am: moved to frontends/xforms/
14250
14251         * lyx_gui_misc.C:
14252         * lyxfunc.C:
14253         * BufferView_pimpl.C: changes for moved mathpanel
14254
14255 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14256
14257         * gettext.h: fix gettext_init() in --disable-nls
14258
14259 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14260
14261         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14262
14263 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
14264
14265         * lyx.C:
14266         * lyx.h: strip external form
14267
14268 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14269
14270         * BufferView_pimpl.C: add comment, destroySplash()
14271
14272 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14273
14274         * BufferView_pimpl.C:
14275         * LyXAction.C:
14276         * buffer.C:
14277         * commandtags.h:
14278         * lyxfunc.C: use re-worked insetinclude
14279
14280 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14281
14282         * buffer.C: add using std::stringstream.
14283
14284         * lyx_cb.C: readd using std::ios.
14285
14286         * buffer.C: add using std::map.
14287
14288         * BufferView_pimpl.C: add using std::vector.
14289
14290         * ShareContainer.h: add std:: to swap.
14291
14292         * buffer.h: add some typedefs
14293         * buffer.C (getLists): use them
14294         (getLists): renamed from getTocList.
14295         add a counter for the different float types and use it in the
14296         generated string.
14297         (getLists): use the same counter for the NEW_INSETS and the "non"
14298         NEW_INSETS
14299
14300         * lyx_cb.h: remove unused items, includes, using etc.
14301
14302         * ShareContainer.h: remove some commented code, add more comments
14303         and "documentation".
14304
14305 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14306
14307         * buffer.C (getTocList): make the list also when NEW_INSETS is
14308         defined.
14309
14310         * buffer.h: remove TocType
14311
14312         * buffer.C (getTocList): change to return a map<string,
14313         vector<TocItem> >, implement for dynamic number of list.
14314
14315         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14316         * text2.C (PasteSelection): adjust
14317         * CutAndPaste.C (pasteSelection): adjust
14318
14319         * FloatList.C (FloatList): update from the new_insets branch.
14320         * Floating.[Ch]: ditto
14321         * LaTeXFeatures.C: ditto
14322         * buffer.C: ditto
14323         * lyxlex_pimpl.C: ditto
14324
14325         * paragraph.C (Last): remove when NEW_INSETS is defined.
14326
14327         * other file: changes because of the above.
14328
14329 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14330
14331         * lyxparagraph.h: rename next to next_, previous to previous_,
14332         make them private for NEW_INSETS. Rename Next() to next(),
14333         Previous() to previous().
14334
14335         * other files: changes because of the above.
14336
14337 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
14338
14339         * BufferView.h:
14340         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14341         problem.
14342
14343 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14344
14345         * main.C (main): pass lyx_localedir to gettext_init().
14346
14347         * gettext.h: remove locale_init and gettext_init macros
14348
14349         * gettext.C (locale_init): new function
14350         (gettext_init): new function
14351
14352         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14353         setlocale().
14354
14355 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
14356
14357         * Moved credits to frontends:
14358         * credits.[Ch]: removed
14359         * credits_form.[Ch]: removed
14360         * lyx_gui_misc.C: remove credits stuff
14361         * Makefile.am:
14362
14363 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14364
14365         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14366
14367         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14368         unneeded destructor.
14369
14370         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14371         a standalone pointer again.
14372
14373         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14374
14375 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
14376
14377         * Makefile.am:
14378         * filedlg.h:
14379         * filedlg.C:
14380         * LyXAction.C:
14381         * ToolbarDefaults.C:
14382         * bufferlist.C:
14383         * commandtags.h:
14384         * form1.C:
14385         * form1.h:
14386         * lyx_cb.C:
14387         * lyx_cb.h:
14388         * lyxfunc.h:
14389         * lyxfunc.C:
14390         * BufferView_pimpl.C: use new file dialog in GUII
14391
14392         * lyx_cb.h:
14393         * lyx_cb.C: remove LayoutsCB to Toolbar
14394
14395 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14396
14397         * ShareContainer.h (get): add std:: qualifier
14398
14399 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14400
14401         * ShareContainer.h: define a proper ShareContainer::value_type
14402         type (and use typename to please compaq cxx)
14403
14404 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14405
14406         * lyxparagraph.h: move serveral local vars to
14407         ParameterStruct/ParagraphParameters., use ShareContainer in
14408         FontTable., make vars in FontTable private and add getter and
14409         setter.
14410
14411         * paragraph.C: changes because of the above.
14412
14413         * lyxfont.h: remove copy constructor and copy assignment. (the
14414         default ones is ok), move number inside FontBits. move inlines to
14415         lyxfont.C
14416
14417         * lyxfont.C: add number to initializaton of statics, move several
14418         inlines here. constify several local vars. some whitespace
14419         cleanup. Dont hide outerscope variables.
14420
14421         * Spacing.h: add two new constructors to match the set methods.
14422
14423         * ShareContainer.h: new file, will perhaps be moved to support
14424
14425         * ParameterStruct.h: new file
14426
14427         * ParagraphParameters.h: new file
14428
14429         * ParagraphParameters.C: new file
14430
14431         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14432         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14433
14434         * BufferView_pimpl.C: ParagraphParameter changes.
14435         * buffer.C: Likewise.
14436         * bufferview_funcs.C: Likewise.
14437         * text.C: Likewise.
14438         * text2.C: Likewise.
14439
14440 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14441
14442         * lyxfind.C (LyXReplace): do not redefine default argument in
14443         implementation.
14444         (IsStringInText): ditto
14445         (SearchForward): ditto
14446         (SearchBackward): ditto
14447
14448 2001-03-06  Juergen Vigna  <jug@sad.it>
14449
14450         * lyxfind.C (IsStringInText): put parentes around expressions.
14451
14452 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
14453
14454         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14455
14456 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
14457
14458         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14459
14460         * stl_string_fwd.h: add comment
14461
14462         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14463
14464         * tabular.h:
14465         * tabular.C: remove unused DocBook methods
14466
14467         * intl.C:
14468         * language.C:
14469         * paragraph.C:
14470         * buffer.C:
14471         killed DO_USE_DEFAULT_LANGUAGE
14472
14473 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14474
14475         * lyx_gui.C: do not include language.h.
14476
14477         * bufferview_funcs.C (ToggleAndShow): do not provide optional
14478         arguments in function implementation.
14479
14480 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14481
14482         * BufferView_pimpl.C: add <ctime>
14483
14484 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14485
14486         * BufferView_pimpl.C: add using std::find_if
14487
14488 2001-02-27  José Matos  <jamatos@fep.up.pt>
14489
14490         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14491         by OnlyPath.
14492
14493 2001-02-11  José Matos  <jamatos@fep.up.pt>
14494
14495         * buffer.C (makeDocBookFile): command styles now have a parameter as
14496         "title" by default.
14497
14498 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
14499
14500         * layout_forms.[Ch]: removed
14501         * lyx_cb.[Ch]: out character
14502         * lyx_gui.C: out character
14503         * lyx_gui_misc.C: out character
14504         * bufferview_funcs.C: : out character,
14505         added toggleall as parameter in ToggleAndShow
14506
14507 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
14508
14509         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14510
14511         * text2.C (SetCurrentFont): Disable number property at boundary.
14512
14513 2001-02-26  Juergen Vigna  <jug@sad.it>
14514
14515         * lyxfunc.C (getStatus): added a string argument override function so
14516         that this is correctly called from LyXFunc::Dispatch if it contains a
14517         do_not_use_argument which is used!
14518         (Dispatch): added check for "custom" export and call appropriate func.
14519
14520 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
14521
14522         * lyxrc.C: Add language_command_local, language_use_babel and
14523         language_global_options.
14524
14525         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14526
14527         * buffer.C (makeLaTeXFile): Use language_use_babel and
14528         language_global_options.
14529
14530 2001-02-23  Juergen Vigna  <jug@sad.it>
14531
14532         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14533         which works with LyXText and putted it inside BufferView. Here now we
14534         only call for that part the BufferView::Dispatch() function.
14535
14536         * BufferView.C (Dispatch): added.
14537
14538         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14539         functions which needs to use a LyXText over from LyXFunc.
14540         (MenuInsertLyXFile): added
14541         (getInsetByCode): added
14542         (moveCursorUpdate): added
14543         (static TEXT): added
14544
14545 2001-02-22  Juergen Vigna  <jug@sad.it>
14546
14547         * BufferView_pimpl.C (update): call a status update to see if LyXText
14548         needs it.
14549
14550 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14551
14552         * vc-backend.C (revert): implement for CVS
14553         (getLog): implement for CVS
14554
14555 2001-02-20  Juergen Vigna  <jug@sad.it>
14556
14557         * text2.C (ClearSelection): added BufferView param for inset_owner call
14558
14559         * lyxfunc.C (TEXT): added this function and use it instead of
14560         directly owner->view()-text of getLyXText().
14561
14562 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
14563
14564         * src/layout_forms.C: out preamble
14565         * src/layout_forms.h: out preamble
14566         * src/lyx_cb.C: out preamble
14567         * src/lyx_cb.h: out preamble
14568         * src/lyx_gui.C: out preamble
14569         * src/lyx_gui_misc.C: out preamble
14570         * src/lyxfunc.C: connect with guii preamble
14571
14572 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
14573
14574         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14575
14576 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
14577
14578         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14579         whether to run bibtex.
14580
14581 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
14582
14583         * Makefile.am (lyx_SOURCES): Remove BackStack.h
14584
14585 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14586
14587         * Makefile.am (lyx_SOURCES): removed bibforms.h
14588
14589         * vspace.h: doxygen
14590
14591         * text.C (GetVisibleRow): make several local vars const
14592
14593         * tabular.C: small cleanup.
14594
14595         * lyxserver.C (callback): use compare instead of strncmp
14596
14597         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14598         inlines to after class or to paragraph.C
14599
14600         * lyxfont.h: remove friend operator!=
14601
14602         * converter.h: move friend bool operator< to non friend and after
14603         class def.
14604
14605         * combox.h: small cleanup
14606
14607         * buffer.h: doxygen, remove unused constructor, move inclas inlies
14608         to inlines after class def.
14609
14610         * buffer.C (pop_tag): use string operations instead of strcmp
14611
14612         * bmtable.c: doxygen, small cleanup
14613
14614         * LaTeX.h: remove friend operator==
14615
14616 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
14617
14618         * screen.C:
14619         * lyxrc.[Ch]:
14620         * lyxfunc.C:
14621         * lyxfont.[Ch]:
14622         * lyx_cb.C:
14623         * intl.[Ch]:
14624         * commandtags.h:
14625         * buffer.C:
14626         * WorkArea.[Ch]:
14627         * LyXAction.C:
14628         * BufferView_pimpl.C:
14629         * BufferView.[Ch]: remove cruft
14630
14631 2001-02-14  Juergen Vigna  <jug@sad.it>
14632
14633         * lyxfunc.C: removed #if 0 unused code
14634
14635         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14636
14637         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14638
14639         * text2.C (SetSelection): added a BufferView * parameter
14640
14641 2001-02-13  Juergen Vigna  <jug@sad.it>
14642
14643         * lyxfunc.C (Dispatch): fixed protected blank problem.
14644         * BufferView2.C (protectedBlank): added LyxText * parameter.
14645
14646         * tabular.C (AppendRow): forgot to set row_info of newly added row.
14647         (AppendColumn): same as above for column_info.
14648
14649         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14650         (moveCursorUpdate): use a LyXText param for support of InsetText.
14651
14652         * BufferView_pimpl.C (doubleClick): added support for InsetText.
14653         (tripleClick): ditto
14654
14655         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14656
14657         * BufferView_pimpl.C (update): added LyXText param to honor insets.
14658
14659         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14660
14661         * text2.C (SetSelection): set correct update status if inset_owner
14662         (ToggleFree): ditto
14663
14664 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
14665
14666         * tabular.C: remove some commented code.
14667
14668 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
14669
14670         * BufferView_pimpl.C: call hideSplash()
14671
14672         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14673
14674         * include_form.h:
14675         * bibforms.h: remove
14676
14677         * lyxfunc.C:
14678         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14679           add LFUN_CHILD_CREATE
14680
14681         * counters.h: fix tiny typo
14682
14683         * lyx_cb.C:
14684         * lyx.h:
14685         * lyx_gui.C:
14686         * lyx.C: move splash to frontends/xforms/
14687
14688         * lyx_gui_misc.C: move Include and Bibform to frontends
14689
14690         * lyxvc.h: clarify comment
14691
14692         * vspace.C: tiny housekeeping
14693
14694 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
14695
14696         * text.C (PrepareToPrint): RTL Fix.
14697
14698         * paragraph.C (GetUChar): New method.
14699         (String):  Use GetUChar.
14700
14701         * buffer.C (asciiParagraph): Use GetUChar.
14702
14703 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
14704
14705         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14706
14707 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
14708
14709         * buffer.h:
14710         * buffer.C: rename to getLogName(), handle
14711           build log / latex log nicely
14712
14713 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14714
14715         * MenuBackend.C:
14716         * MenuBackend.h: remove support for reference menuitem type.
14717
14718 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
14719
14720         * BufferView_pimpl.C: housekeeping
14721         * BufferView_pimpl.h:
14722         * LyXView.h:
14723         * Makefile.am:
14724         * Timeout.C:
14725         * Timeout.h:
14726         * minibuffer.h: move Timeout GUI-I
14727
14728 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
14729
14730         * lyxrc.C (read): Update converters data-structures.
14731
14732 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
14733
14734         * LaTeX.h (operator!=): add operator != for Aux_Info
14735
14736 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
14737
14738         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14739
14740         * LaTeXLog.C: deleted, useful code moved to Buffer
14741
14742         * buffer.h:
14743         * buffer.C: new function getLatexLogName()
14744
14745         * lyx_gui_misc.C:
14746         * lyx_gui.C:
14747         * lyxvc.C:
14748         * lyxvc.h:
14749         * lyxfunc.C: use frontends for LaTeX and VC logs
14750
14751 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14752
14753         * LaTeX.h: yet another std:: that Allan forgot.
14754
14755         * Variables.C (set): renamed from isset(), because this clashes
14756         with some HP-UX macros (grr).
14757
14758 2001-02-06  Allan Rae  <rae@lyx.org>
14759
14760         * LaTeX.h: Another bug fix.  Missing std:: this time.
14761
14762 2001-02-04  Allan Rae  <rae@lyx.org>
14763
14764         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14765         floats problem. I've left it commented out because it's not quite
14766         correct.  It should also test that the current object is a table or
14767         figure inset.  But I haven't gotten around to figuring out how to do
14768         that.  I *think* it'll be something like: "table" == inset.type()
14769
14770         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14771         bool.
14772
14773 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
14774
14775         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14776         all the citation/databases/styles in the auxilary file.
14777         (run): Rerun latex if there was a babel language error.
14778
14779 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
14780
14781         * text.C (Backspace): Preserve the font when changing newline char
14782         with a space.
14783         (BreakParagraph): If the cursor is before a space, delete the space.
14784
14785         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14786
14787 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
14788
14789         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14790         new argument (code).
14791         (ChangeCitationsIfUnique): New method.
14792
14793         * paragraph.C (GetPositionOfInset): Handle bibkey.
14794
14795 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14796
14797         * BufferView_pimpl.h: change type of Position::par_pos to
14798         LyXParagraph::size_type.
14799
14800 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
14801
14802         * BufferView_pimpl.C (savePosition, restorePosition): Write
14803         messages to minibuffer.
14804
14805 2001-01-28  José Matos  <jamatos@fep.up.pt>
14806
14807         * buffer.C (makeDocBookFile): adds support for document language.
14808         A silly restriction on the name of LatexCommand types where removed.
14809         Added support for CDATA sections, allows to chars unescaped, used
14810         among others in code, to avoid escape < and >.
14811
14812 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14813
14814         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14815         saved positions instrad of a stack. Furthermore, a position is
14816         stored using paragraph id/paragraph position.
14817
14818         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14819         Remove LFUN_REF_BACK.
14820
14821 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14822
14823         * converter.C (dvipdfm_options): New method.
14824
14825 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14826
14827         * vspace.C (isValidLength): Fix for empty input string.
14828
14829 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14830
14831         * LyXAction.C (init): change description of LFUN_FIGURE to
14832         "Insert Graphics"
14833
14834 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14835
14836         * LaTeX.C: add using directive
14837
14838 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14839
14840         * MenuBackend.C (expand): Fix the sorting of the formats.
14841
14842 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14843
14844         * lyx_main.C: tiny error message fix
14845
14846 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14847
14848         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14849         calling fl_initialize(). This fixes the problem with ',' as
14850         decimal separator in text files.
14851
14852 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14853
14854         * trans.C (process): Fix the keymap bug.
14855
14856 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
14857
14858         * LaTeX.C (scanAuxFiles): New method. Provides support for
14859         multiple bibliographies (when using the bibtopic/bibunits pacakges).
14860         (scanLogFile) Scan for "run BibTeX" messages.
14861
14862         * buffer.C (makeLaTeXFile): Do not load the ae package when using
14863         OT1 font encoding. Also, load the aecompl package if the ae
14864         package is loaded.
14865
14866         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14867
14868 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14869
14870         * texrow.C (increasePos): turn two error messages into debug
14871         messages.
14872
14873 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
14874
14875         * LaTeX.C (scanAux): Handle the \@input macro.
14876         (runBibTeX): Use scanAux().
14877
14878         * language.C (latex_options_): New field.
14879
14880         * LaTeXFeatures.C (getMacros): Add language macros.
14881
14882         * buffer.C (makeLaTeXFile): Small fix.
14883
14884 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14885
14886         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14887
14888         * text2.C: add a using directive.
14889
14890 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14891
14892         * BufferView2.C:
14893         * lyx_gui_misc.h:
14894         * lyxfr1.C:
14895         * lyxfunc.C: kill LyXBell.
14896
14897 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14898
14899         * text.C (IsBoundary): Remove the error message
14900
14901         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14902
14903         * lyxrc.C (setDefaults): Correct initialization value for
14904         font_norm_type.
14905
14906 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14907
14908         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14909         gotoError().
14910
14911         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14912         and GotoNextNote().
14913
14914         * src/LyXAction.C: Added reference-next.
14915
14916         * text.C (InsertChar): Use contains instead of strchr.
14917
14918         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14919
14920 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14921
14922         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14923         alignment commands (when needed).
14924
14925         * text.C (InsertChar): Add ':' to number separator chars.