]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
8bfee175879facf5f79e81dd60d1aad8dfdbb481
[lyx.git] / src / ChangeLog
1 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2
3         * lyxrc.C (setDefaults, getDescription, output, read): 
4         * lyxrc.h: remove ps_command
5
6 2004-03-22  Angus Leeming  <leeming@lyx.org>
7
8         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
9         Ensure that error_handler is processed once only and that all data
10         is saved before attempting to output any warning messages.
11
12         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
13
14 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
15
16         * tabular.C (TeXRow): crash fix (from Kayvan and André)
17
18 2004-03-19  André Pönitz  <poenitz@gmx.net>
19
20         * cursor.[Ch] (reset): take main text inset as argument
21
22         * BufferView: adjust
23         * BufferView_pimpl.C: adjust
24
25         * paragraph.[Ch]: fix completely broken operator=()
26
27 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
28
29         * LColor.C (getFromLyXName): make sure that the color name is used
30         as lowercase.
31
32 2004-03-17  Angus Leeming  <leeming@lyx.org>
33
34         * lfuns.h:
35         * LyXAction.C (init): remove LFUN_FORKS_KILL.
36
37         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
38         dialog and to kill a forked process.
39
40 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
41
42         * text2.C (setCursorFromCoordinates): fix font problem
43
44 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
45
46         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
47         bogus "rebuild cursor" code
48
49 2004-03-11  André Pönitz  <poenitz@gmx.net>
50
51         * buffer.[Ch]: use InsetText instead of LyXText as container for
52         the main lyx text.
53
54         * dociterator.[Ch]: drop the BufferView * member which is not needed
55         anymore after the change to buffer.C
56
57         * paragraph_funcs.C:
58         * text.C:
59         * text2.C:
60         * BufferView.[Ch]:
61         * BufferView_pimpl.[Ch]:
62         * cursor.[Ch]:
63         * cursor_slice.[Ch]: adjust
64
65         * text3.C: fix bug in mathDispatch
66
67 2004-03-08  André Pönitz  <poenitz@gmx.net>
68
69         * undo.[Ch]: use 'StableDocumentIterator' as base for
70         the Undo struct.
71
72 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
73
74         * LaTeXFeatures.C:
75         * bufferparams.[Ch]: add jurabib support and param.
76
77         * LaTeX.C: add FIXME/comment.
78
79 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
80
81         * buffer.C: increment file format to 230.
82
83 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
84
85         * cursor.C (dispatch): avoid infinite loops
86
87 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
88
89         * rowpainter.C (paintSelection): fix x coordinates
90
91 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
92
93         * text.C (rowBreakPoint): fix breaking before displayed insets
94
95 2004-03-01  André Pönitz  <poenitz@gmx.net>
96
97         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
98
99         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
100
101         * Makefile.am:
102         * BufferView.C:
103         * BufferView_pimpl.C:
104         * buffer.C:
105         * lyxfind.C:
106         * lyxfunc.C:
107         * text.C:
108         * text2.C:
109         * text3.C: adjust
110
111 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
112
113         * lyxtext.h:
114         * text.C:
115         * text2.C:
116         * rowpainter.C:
117         * BufferView_pimpl.C: rename textwidth -> maxwidth,
118         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
119
120 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
121
122         * Bidi.[Ch] (computeTables): const correctness
123         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
124         fill_hfill, fill_label_hfill and x from Row
125         * lyxtext.h: prepareToPrint returns a RowMetrics
126         * rowPainter.C: adjust
127         * text.C (prepareToPrint): use width, not textWidth. adjust
128         (redoParagraphInternal, cursorX): adjust
129         * text2.C (getColumnNearX): adjust
130         (init): put a default value to the top LyXText::width
131
132 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
133
134         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
135
136 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
137
138         * lyxtext.h: add FontIterator class
139
140         * text.C (FontIterator, operator*, operator->, operator++): add
141         (rowBreakPoint, setRowWidth): adjust (fixing a
142         rebreaking bug)
143
144 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
145
146         * BufferView_pimpl.C (workAreaDispatch): allow also
147         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
148
149 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
150
151         * text.C (rowBreakPoint): fix a bug showing with very large insets
152
153 2004-02-25  André Pönitz  <poenitz@gmx.net>
154
155         * text3.C:
156         * cursor.[Ch]: move some mathed specific code to mathed
157
158 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
159
160         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
161         use_tempdir in preferences
162         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
163         tempfile creation
164         * lyx_main.C: ensure that tempdir is valid
165         * lyxlex.h: correct typo
166         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
167         * paragraph.[Ch] (isMultiLingual): make const
168         * cursor.[Ch] (openable): make const
169
170 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
171
172         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
173
174 2004-02-20  André Pönitz  <poenitz@gmx.net>
175
176         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
177
178         * cursor.[Ch]: prepare for localized getStatus()
179
180         * lyxtext.h:
181         * tabular.C:
182         * text.C:
183         * text2.C:
184         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
185
186 2004-02-20  André Pönitz  <poenitz@gmx.net>
187
188         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
189
190 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
191
192         * text2.C (setCursorFromCoordinates): switch to absolute coords
193         (cursorUp): adjust
194         (cursorDown): adjust
195         * text3.C (dispatch): adjust
196
197 2004-02-16  André Pönitz  <poenitz@gmx.net>
198
199         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
200           insets/ChangeLog)
201
202         * cursor_slice.[Ch]: remove unneeded acessor function
203
204         * lyxtext.h: rename rtl() to isRTL()
205
206         * rowpainter.C:
207         * tabular.C:
208         * text.C:
209         * text2.C:
210         * text3.C: adjust
211
212 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
213
214         * rowpainter.C (paintSelection): coord fix
215
216 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
217
218         * Spacing.C: compile fix
219
220 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
221
222         * cursor.C (dispatch): restore current_ before returning
223
224 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
225
226         * text2.C (cursorUp, cursorDown): fix coords
227         (moveUp): fix crash
228
229 2004-02-12  André Pönitz  <poenitz@gmx.net>
230
231         * lyxtext.h:
232         * text.C:
233         * text2.C:
234         * text3.C: add LCursor & parameter to most cursor movement functions
235           remove usage of LyXText::cursorRow() and cursorPar()
236
237         * cursor.[Ch]: add textRow() needed members
238
239         * BufferView.C:
240         * BufferView_pimpl.C:
241         * paragraph.[Ch]:
242         * BufferView.C:
243         * BufferView_pimpl.C: adjust
244
245 2004-02-11  André Pönitz  <poenitz@gmx.net>
246
247         * lyxfunc.C:
248         * BufferView.[Ch]:
249         * BufferView_pimpl.C: shift undo/redo handling
250
251         * cursor.[Ch]: fix mathed crash
252
253         * lyxfind.C:
254         * lyxtext.h: move selectionAsText to LCursor
255
256         * output_latex.C:
257         * paragraph.C:
258         * text.C:
259         * text2.C:
260         * text3.C: adjust
261
262         * rowpainter.C: fix excessive drawing
263
264 2004-02-06  André Pönitz  <poenitz@gmx.net>
265
266         * BufferView.[Ch]:
267         * BufferView_pimpl.[Ch]:
268         * text3.C: move some text specific LFUN handling
269
270 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
271
272         * text3.C (checkInsetHit): adjust coords
273         * text2.C (getColumnNearX): adjust coords
274         (edit): adjust coords
275         * text.C (getRowNearY): add two asserts
276
277 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
278
279         * converter.C:
280         * format.C: add using std::distance to compile on gcc 2.95/stlport
281
282 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
283
284         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
285
286 2004-02-04  André Pönitz  <poenitz@gmx.net>
287
288         * BufferView.[Ch] (insertInset):
289         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
290
291         * text2.C:
292         * text3.C: adjust
293
294 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
295
296         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
297         on the default clause of the switch
298         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
299         wasn't catched by LCursor::dispatch
300
301 2004-02-03  André Pönitz  <poenitz@gmx.net>
302
303         * BufferView.C:
304         * cursor.[Ch]: some additional asserts
305
306         * undo.[Ch]: remove LyXText dependency in interface
307
308         * lyxfunc.C: adjust
309
310         * lyxtext.h (firstPar, lastPar): remove dead functions
311
312         * text.C:
313         * text2.C:
314         * text3.C:
315         * paragraph.[Ch]: adjust
316
317 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
318
319         * lyxfind.C (find): fix argument order in call to ::find
320
321 2004-02-02  André Pönitz  <poenitz@gmx.net>
322
323         * cursor.[Ch]: remove direct access to anchor
324
325         * text.C: remove findText() hack
326
327 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
328
329         * iterators.[Ch] (lockPath): remove in favour of...
330         * BufferView.[Ch] (setCursor): this addition
331         * BufferView.C (putSelectionAt): adjust
332         * undo.C (performUndoOrRedo): adjust
333         * lyxfunc.C (dispatch): adjust
334
335 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
336
337         * iterators.C (lockPath): add a missing slice
338         * undo.C (performUndoOrRedo): remove redundant positioning code
339
340 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
341
342         * vc-backend.C (scanMaster): ";" -> ';'
343
344 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
345
346         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
347         std::binary_function
348
349         * lyxtextclass.C (compare_name): rename to...
350         (LayoutNamesEqual): ...this
351
352         * lyxlex_pimpl.C (compare_tags): inherit from
353         std::binary_function, put back into anon namespace
354
355         * lyxfind.C (MatchString): inherig from std::binary_function
356         (findChange): use empty() istead of !size()
357
358         * format.C (FormatNamesEqual): new functor
359         (getFormat): use it
360         (getNumber): use it
361         (add): use it
362         (erase): use it
363         (setViewer): use it
364
365         * converter.C (compare_Converter): rename to...
366         (ConverterEqual): ...this, and fixup a bit.
367         (getConverter): use it, and make function const
368         (getNumber): use it, and make function const
369         (add): use it
370         (erase): use it:
371
372         * bufferlist.C: add using boost::bind
373
374         * MenuBackend.C (MenuNamesEqual): new functor
375         (hasMenu): use it, and make function const
376         (hasSubmenu): use nested bind to get rid of compare_memfun.
377
378 2004-01-30  André Pönitz  <poenitz@gmx.net>
379
380         * BufferView_pimpl.C:
381         * cursor.C:
382         * cursor.h:
383         * cursor_slice.[Ch]:
384         * lyxfunc.C:
385         * lyxtext.h:
386         * paragraph_funcs.C:
387         * paragraph_funcs.h:
388         * rowpainter.C:
389         * text.C:
390         * text2.C:
391         * text3.C: move some of the edit(x,y) handling to the insets
392         some coordinate changes.
393
394 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
395
396         * text.C: add using statements for std::advance and std::distance
397
398         * paragraph.C: add using statement for std::distance
399
400         * lyxfind.C: add using statement for std::advance
401
402         * cursor.C (region): remove std:: from swap
403         (openable): use nucleus in stead of operator->
404
405         * BufferView.C: add using statements for std::distance and std::swap
406
407 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
408
409         * iterators.C: Remove the pimple, move the needed structures to
410         the header file. Create accessor for the positions stack.
411         (asPosIterator): remove function
412
413         * PosIterator.C (PosIterator): move constructors to top of file
414         (PosIterator): reimplement the constructor taking a ParIterator in
415         terms of setFrom.
416         (setFrom): new function
417         (operator!=): inline it
418
419 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
420
421         * lyxfind.C (replaceAll): use std::advance
422
423         * iterators.h: inherit from std::iterator.
424
425         * PosIterator.C (advance, distance): remove
426         * PosIterator.h: interit from std::iterator.
427
428 2004-01-26  André Pönitz  <poenitz@gmx.net>
429
430         * BufferView.[Ch]:
431         * BufferView_pimpl.[Ch]:
432         * InsetList.[Ch]:
433         * PosIterator.[Ch]:
434         * buffer.h:
435         * bufferview_funcs.C:
436         * cursor.[Ch]:
437         * cursor_slice.h:
438         * factory.[Ch]:
439         * iterators.[Ch]:
440         * lyxfind.C:
441         * lyxfunc.C:
442         * lyxtext.h:
443         * output_docbook.C:
444         * output_latex.C:
445         * output_linuxdoc.C:
446         * output_plaintext.C:
447         * paragraph.[Ch]:
448         * paragraph_funcs.[Ch]:
449         * paragraph_pimpl.[Ch]:
450         * rowpainter.C:
451         * tabular.C:
452         * tabular.h:
453         * text.C:
454         * text2.C:
455         * text3.C: more IU:  dumps most of the rest of the mathcursor
456     implementation into cursor.[Ch]; "globalize" a bit of it.
457
458 2004-01-25  Angus Leeming  <leeming@lyx.org>
459
460         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
461
462 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
463
464         * LaTeXFeatures.h: add nice_ and nice() const
465         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
466
467 2004-01-20  André Pönitz  <poenitz@gmx.net>
468
469         * BufferView.[Ch]:
470         * BufferView_pimpl.C:
471         * PosIterator.C:
472         * bufferview_funcs.C:
473         * cursor.[Ch]:
474         * cursor_slice.[Ch]:
475         * factory.C:
476         * iterators.C:
477         * lyx_cb.C:
478         * lyxfind.C:
479         * lyxfunc.C:
480         * lyxtext.h:
481         * rowpainter.C:
482         * text.C:
483         * text2.C:
484         * text3.C:
485         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
486           LCursor and mathcursor parts to LCursor and InsetBase.
487
488 2004-01-15  André Pönitz  <poenitz@gmx.net>
489
490         * cursor_slice.[Ch]: add a few covienience functions
491
492         * funcrequest.[Ch]: remove BufferView * member
493
494         * BufferView_pimpl.C:
495         * cursor.C:
496         * factory.[Ch]:
497         * lyxfind.[Ch]:
498         * lyxfunc.C:
499         * lyxtext.h:
500         * text3.C:
501         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
502
503 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
504
505         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
506         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
507
508 2004-01-13  André Pönitz  <poenitz@gmx.net>
509
510         * textcursor.[Ch]:
511         * lyxtext.h: hide cursor and selection anchor behind accessor function
512
513         * BufferView.C:
514         * BufferView_pimpl.[Ch]:
515         * PosIterator.C:
516         * bufferview_funcs.C:
517         * cursor.h:
518         * lyxfind.C:
519         * lyxfunc.C:
520         * text.C:
521         * text2.C:
522         * text3.C:
523         * undo.C: adjust
524
525         * cursor.h:
526         * cursor_slice.[Ch]: some integer type changes for inset unification
527
528         * lyxcursor.[hC]: remove, it's CursorSlice now.
529
530         * Makefile.am:
531         * BufferView_pimpl.[Ch]:
532         * bufferview_funcs.C:
533         * cursor_slice.C:
534         * lyxtext.h:
535         * text.C:
536         * text2.C:
537         * text3.C:
538         * textcursor.[Ch]: adjust
539
540 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
541
542         * text2.C (undoSpan): add and use
543         * text.C (breakParagraph): use undoSpan (fix bug 578)
544         * lyxtext.h: adjust
545
546 2004-01-08  Angus Leeming  <leeming@lyx.org>
547
548         * BufferView_pimpl.C (MenuInsertLyXFile):
549         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
550         * lyxfunc.C (menuNew, open, doImport):
551         FileFilterList change to the FileDialog open and save functions.
552
553 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
554
555         * ShareContainer.h: make isEqual and isUnique adaptable
556
557         * CutAndPaste.C: make resetOwnerAndChanges adaptable
558
559 2004-01-07  Angus Leeming  <leeming@lyx.org>
560
561         * LyXAction.C:
562         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
563
564         * BufferView_pimpl.C (dispatch): act on these LFUNs.
565
566         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
567         functions replacing find, replace and replaceAll.
568
569         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
570         LFUN_WORDFIND(FORWARD|BACKWARD).
571
572 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
573
574         * text.C (breakParagraph): remove an outdated #warning
575
576 2004-01-07  André Pönitz  <poenitz@gmx.net>
577
578         * lyxfind.C: somewhat clearer logic
579
580         * text.C: prevent crash in cursorX on unitialized row cache
581
582 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
583
584         * lyxcursor.[Ch] (operator>): add
585         * textcursor.C (selStart, selEnd): use std::min and std::max
586
587 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
588
589         * Chktex.C: include boost/format.hpp
590
591 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
592
593         * InsetList.C: replace functor MathcIt with adaptable functor
594         InsetTablePosLess
595         (insetIterator): modify accordingly
596
597         * BranchList.h: move the BranchNamesEqual functor here from...
598         * BranchList.C: ... to here
599
600         * BranchList.C: new BranchListEqual fuctor, use it. Remove
601         SameName and match.
602         (add): replace a finding loop with std::find_if.
603
604 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
605
606         * output_docbook.C: moving LatexParam functionality into
607         .layout files
608
609 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
610
611         * buffer.C: increment format to 229.
612
613 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
614
615         * LaTeXFeatures.C:
616         * lyx_sty.[Ch]: remove minipageindent_def
617
618         * LyXAction.C:
619         * factory.C:
620         * lfuns.h:
621         * lyxfunc.C:
622         * text3.C: remove LFUN_INSET_MINIPAGE
623
624 2003-12-28  Angus Leeming  <leeming@lyx.org>
625
626         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
627
628 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
629
630         * text2.C (setParagraph): fix off-by-one crash
631
632 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
633
634         * output_docbook.C: header stuff for AGU
635
636 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
637
638         * text2.C (redoCursor): remove
639         * text.C:
640         * text3.C:
641         * BufferView_pimpl.C: remove calls to redoCursor and
642         setCursor(cursor.par(), cursor.pos()) all around
643
644 2003-12-15  Angus Leeming  <leeming@lyx.org>
645
646         * buffer.C: up the format to 228.
647
648 2003-12-15  André Pönitz  <poenitz@gmx.net>
649
650         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
651         slices
652
653         * Makefile.am:
654
655         * BufferView_pimpl.C:
656         * cursor.[Ch]:
657         * lyxcursor.[Ch]:
658         * rowpainter.[Ch]:
659         * lyxtext.h:
660         * text.C:
661         * text2.C:
662         * text3.C: adjust
663
664 2003-12-15  Angus Leeming  <leeming@lyx.org>
665
666         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
667         than getFromGUIName to manipulate the color.
668
669 2003-12-14  Angus Leeming  <leeming@lyx.org>
670
671         * BranchList.[Ch]: minimize the API.
672         (Branch::getBranch, getColor): now return a 'const &'.
673         (Branch::setSelected) now returns a bool set to true if the
674         selection status changes.
675         (BranchList::clear, size, getColor, setColor, setSelected,
676         allBranches, allSelected, separator): removed.
677         (BranchList::find): new functions, returning the Branch with
678         the given name.
679         (BranchList::add, remove): return a bool indicating that
680         the operation was successful.
681
682         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
683         new InsetBranch::isBranchSlected member function.
684
685         * LColor.[Ch]: mimimize the API.
686         (fill): renamed as addColor and made private.
687         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
688         versions of these functions taking a string arg have been removed.
689
690         * bufferparams.C (readToken):
691         * lyxfunc.C (dispatch):
692         * lyxrc.C (read): changes due to the altered BranchList and
693         LColor APIs.
694
695         * factory.C (createInset, readInset): changes due to altered
696         InsetBranch c-tor.
697
698 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
699
700         * factory.C:
701         * lyxfunc.C: remove insetminipage. "minipage-insert"
702         now produces a frameless minipage box inset.
703
704 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
705
706         * textcursor.[Ch] (selStart,selEnd): add new methods
707         remove selection::start, end, use LyXCursor::operator<
708         * lyxcursor.[Ch] (operator<): add
709         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
710         * BufferView.[Ch] (unsetXSel): add
711         * text2.C (clearSelection): use unsetXSel,adjust
712         * text.C: adjust
713         * text3.C: adjust
714         * rowpainter.C: adjust
715         * bufferview_funcs.C (put_selection_at): adjust
716
717 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
718
719         * BufferView_pimpl.C: small coord. correction
720
721 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
722
723         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
724         dragging over the splash screen.
725
726 2003-12-11  Angus Leeming  <leeming@lyx.org>
727
728         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
729         as it is now handled in LyXText::dispatch.
730
731         * text3.C (doInsertInset): remove a level of nesting.
732
733 2003-12-11  Angus Leeming  <leeming@lyx.org>
734
735         * factory.C (createInset): changes due to the changed interface to
736         InsetCommandMailer::string2params.
737
738 2003-12-10  Angus Leeming  <leeming@lyx.org>
739
740         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
741         'dialog-show-new-inset <inset name>'
742
743 2003-12-10  Angus Leeming  <leeming@lyx.org>
744
745         * buffer.C: up the format to 227.
746
747         * factory.C: the box inset is now identified simply by 'Box'.
748
749 2003-12-10  Angus Leeming  <leeming@lyx.org>
750
751         * buffer.C: up the format to 226.
752
753         * factory.C: the note inset is now identified simply by 'Note'.
754
755 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
756
757         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
758         when a pit is enough. Standarize a couple of loops.
759
760 2003-12-05  Angus Leeming  <leeming@lyx.org>
761
762         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
763         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
764         data to the re-worked "log" dialog.
765
766 2003-12-03  André Pönitz  <poenitz@gmx.net>
767
768         * PosIterator.C:
769         * iterators.C:
770         * lyxtext.h:
771         * output_latex.C:
772         * paragraph_funcs.C:
773         * text.C:
774         * text2.C: use Inset::getText instead of Inset::getParagraph
775
776 2003-12-03  André Pönitz  <poenitz@gmx.net>
777
778         * buffer.[Ch]:
779         * lyxtext.h:
780         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
781         InsetText::read() as LyXText::read()
782
783 2003-12-02  Angus Leeming  <leeming@lyx.org>
784
785         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
786         type. Add a comment in the implementation that the function uses
787         the stream's bad() function rather than fail() as the std::streams
788         would do.
789
790 2003-12-02  André Pönitz  <poenitz@gmx.net>
791
792         * lyxlex.[Ch]: make interface more similar to std::stream
793
794         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
795
796 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
797
798         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
799
800 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
801
802         * vspace.[Ch]: remove VSpace::NONE
803
804 2003-12-01  André Pönitz  <poenitz@gmx.net>
805
806         * buffer.[Ch]:
807         * lyxtext.h: move ParagraphList member to LyXText
808         rename LyXText::ownerParagraphs to LyXText::paragraph
809
810         * CutAndPaste.C:
811         * bufferview_funcs.C:
812         * iterators.[Ch]:
813         * lyx_cb.C:
814         * paragraph.C:
815         * rowpainter.C:
816         * tabular.C:
817         * text.C:
818         * text2.C:
819         * text3.C: adjust
820
821         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
822
823         * undo.C: fix cursor positioning
824
825 2003-12-01  John Levon  <levon@movementarian.org>
826
827         * BufferView_pimpl.C: fix a crash on exit with
828         a buffer open
829
830 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
831
832         * BranchList.C: fix setSelected() method.
833
834 2003-11-28  André Pönitz  <poenitz@gmx.net>
835
836         * ParagraphParameters.[Ch]:
837         * ParameterStruct.h: remove space above/below from Paragraph to
838          InsetVSpace
839
840         * BufferView_pimpl.C:
841         * factory.C:
842         * lyxfunc.C:
843         * lyxtext.h:
844         * output_latex.C:
845         * paragraph.C:
846         * paragraph_funcs.C:
847         * rowpainter.[Ch]:
848         * text.C:
849         * text2.C:
850         * text3.C: adjust
851
852 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
853
854         * factory.C: Syntax change for CharStyles
855
856 2003-11-28  André Pönitz  <poenitz@gmx.net>
857
858         * BufferView.[Ch]:
859         * BufferView.[Ch]:
860         * buffer.[Ch]:
861         * buffer.[Ch]: move LyXText member
862
863 2003-11-28  André Pönitz  <poenitz@gmx.net>
864
865         * BufferView.[Ch]: make LyXText * text a private member
866
867         * BufferView_pimpl.C:
868         * cursor.C:
869         * iterators.C:
870         * lyx_cb.C:
871         * lyxfind.C:
872         * lyxtext.h:
873         * rowpainter.[Ch]:
874         * text.C:
875         * text2.C:
876         * undo.C: adjust
877
878         * output_plaintext.C: cleanup
879
880 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
881
882         * buffer.C:
883         * lyxtextclass.[Ch]: parametrize SGML document header
884
885 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
886
887         * converter.[Ch]:
888         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
889         getFlavor().
890
891 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
892
893         * text2.C (setFont): rework using PosIterator (no more recursive)
894         (setCharFont): no more needed
895         (setLayout): no more selection cursors fiddling (done by redoCursor)
896         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
897         destroy remaining ones)
898
899 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
900
901         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
902         * lyxtext.h: ditto
903         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
904         selection cursors
905         * lyxfunc.C: adjust
906         * text3.C: adjust + re-allow multi par depth changes
907         * textcursor.C: simplify a bit
908
909 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
910
911         * src/buffer.C:
912         * src/lyxlayout.C:
913         * src/lyxlayout.h:
914         * src/lyxtext.h:
915         * src/output_docbook.C:
916         * src/output_latex.C:
917         * src/paragraph.C:
918         * src/paragraph.h:
919         * src/sgml.C:
920         * src/sgml.h:
921         * src/text2.C: Introducing a number of tags parametrizing various
922         XML formats that we may want to support
923
924 2003-11-25  André Pönitz  <poenitz@gmx.net>
925
926         * InsetList.[Ch] (begein, end): inline as suggested by profiler
927
928         * lyxtext.h (leftMargin/rightMargin): simplify interface
929
930         * rowpainter.C:
931         * text.C:
932         * text2.C:
933         * text3.C: adjust
934
935 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
936
937         * lyxfunc.C (dispatch): propogate the bibtex databases from the
938         master file to any child files. Fixes bug 546.
939
940 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
941
942         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
943
944 2003-11-24  André Pönitz  <poenitz@gmx.net>
945
946         * rowpainter.C: simplification
947
948         * text2.C (updateCounters): remove call to redoParagraph on
949         changed labels as this is far too expensive.
950
951 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
952
953         * converter.C (convert): fix a crash: this function gets
954         called with buffer == 0 from importer code.
955
956 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
957
958         * text3.C (cursorPrevious): make sure that we do not compare
959         iterators form different containers.
960         (cursorNext): ditto
961
962         * rowpainter.C (paintSelection): make sure that we do not compare
963         iterators from different containers.
964
965         * text3.C (dispatch): [PRIOR] make sure that we do not compare
966         iterators from different ParagraphList containers.
967         [NEXT] ditto
968
969         * text2.C (LyXText): change order of initialization slightly
970         (operator=): new function. copy all variables except cache_par_
971         (moveUp): make sure that we do not compare iterators from
972         different ParagraphList constainers.
973         (moveDown): ditto
974
975         * text.C (firstPar): new function
976         (lastPar): new function
977         (endPar): new function
978
979         * lyxtext.h: move things around and group public functions, public
980         variables, private functions, private variables
981
982 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
983
984         * factory.C: change call to InsetERT constructor to avoid
985         additional invocation of method status
986         * text2.C (toggleInset): remove redundant update() call
987         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
988         instead of a Bufferview pointer
989
990 2003-11-21  André Pönitz  <poenitz@gmx.net>
991
992         * rowpainter.C: simplification
993
994 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
995
996         * text3.C (dispatch): make possible to extend a word/row selection
997         with the mouse
998
999 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1000
1001         * lyxtext.h: x0_,y0_ -> xo_,yo_
1002         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1003         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1004         * rowpainter.C (paintRows): paint full paragraphs
1005
1006 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1007
1008         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1009         screen coordinates)
1010
1011 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1012
1013         * lyxtext.h: add x0_, y0_
1014         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1015         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1016
1017 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
1018
1019         * text2.C (setCursorIntern): move the x_target update here *
1020         * text3.C: change some bv() to true/false in calls to
1021         cursorUp/Down/Right/Left
1022         * cursor.C: use helper function.
1023
1024 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1025
1026         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1027         * paragraph_funcs.[Ch]: correct comment
1028         * rowpainter.C: do not paint selections away from bv->cursor()
1029         Fix a long standing selection painting bug.
1030         * text3.C: generalize mouse-selection code to LyXTexts other that
1031         top one
1032         * textcursor.C: do not use y coords if we can use par offsets
1033
1034 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1035
1036         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1037         cursor position after e.g. inset insert)
1038
1039 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
1040
1041         * lyxfind.C (replace): adjust to locking removal + some
1042         code simplification
1043
1044 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
1045
1046         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1047         of the path
1048
1049 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
1050
1051         * lyxlayout.[Ch]:
1052         * output_docbook.C: XML sanitation: new layout
1053         parameters InnerTag and CommandDepth
1054
1055 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
1056
1057         * BufferView_pimpl.C:
1058         * factory.C:
1059         * text3.C: Fix the insertion and modification of button-style
1060         insets
1061
1062 2003-11-13  André Pönitz  <poenitz@gmx.net>
1063
1064         * InsetList.[Ch]: remove deleteLyXText
1065
1066         * paragraph.[Ch]: cache beginOfBody position
1067
1068         * Bidi.C:
1069         * text.C:
1070         * text2.C:
1071         * text3.C: remove superfluous update() calls
1072
1073         * vspace.C: cleanup
1074
1075 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
1076
1077         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1078         * BufferView.C (fitLockedInsetCursor): remove
1079         * cursor.[Ch] (getDim): add
1080         * text.C (getRowNearY): add faster version
1081         * text3.C: remove some update calls
1082
1083 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
1084
1085         * LaTeXFeatures.C:
1086         * LyXAction.C:
1087         * MenuBackend.C:
1088         * MenuBackend.h:
1089         * dispatchresult.h:
1090         * factory.C:
1091         * lfuns.h:
1092         * lyxfunc.C:
1093         * lyxtextclass.C:
1094         * lyxtextclass.h:
1095         * text3.C: The Character Style /XML short element patch.
1096
1097 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
1098
1099         * text3.C:
1100         * factory.C: Small step to solving 'unable to insert some insets'
1101         problem
1102
1103 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1104
1105         * cursor.[Ch] (updatePos): new function for updating the y
1106         position of the tip inset
1107         * bufferview_funcs.C (put_selection_at):
1108         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1109
1110 2003-11-11  André Pönitz  <poenitz@gmx.net>
1111
1112         * text.C: remove big comment on invalid Paragraph pointers as it is
1113         not valid anymore
1114
1115 2003-11-11  André Pönitz  <poenitz@gmx.net>
1116
1117         * text_funcs.[Ch]: merge with ...
1118
1119         * text.C: ... this
1120
1121         * lyxtext.h:
1122         * text2.C:
1123         * text3.C: adjust
1124
1125         * Makefile.am: remove text_funcs.[Ch]
1126
1127 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
1128
1129         * cursor.C (getPos): return absolute cached y coord
1130
1131         * BufferView_pimpl.C (fitCursor): new simplistic code
1132         (workAreaDispatch): add a fitCursor call
1133
1134 2003-11-10  André Pönitz  <poenitz@gmx.net>
1135
1136         * BufferView.[Ch]:
1137         * BufferView_pimpl.[Ch]: merge update() and updateInset()
1138
1139 2003-11-10  André Pönitz  <poenitz@gmx.net>
1140
1141         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1142         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1143         indicate that the cursor needs to leave an inset
1144
1145         * lyxtext.h: remove inset locking
1146
1147         * cursor.[Ch]: re-implement functionality provided by inset locking
1148
1149         * BufferView.[Ch]:
1150         * BufferView_pimpl.[Ch]:
1151         * LyXAction.C:
1152         * bufferview_funcs.[Ch]:
1153         * factory.C:
1154         * funcrequest.[Ch]:
1155         * iterators.C:
1156         * lyx_cb.C:
1157         * lyxfind.C:
1158         * lyxfunc.C:
1159         * text.C:
1160         * text2.C:
1161         * text3.C:
1162         * undo.C: adjust
1163
1164 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
1165
1166         * PosIterator.[Ch]: replace the stack with a vector, add inset
1167         accesor
1168         * iterators.[C]: adjust
1169
1170 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1171
1172         * lyxfind.C (replaceAll): mark the buffer dirty if something was
1173         replaced
1174         * paragraph_funcs.C (readParToken): put the correct id in the
1175         error item, not the id of the top paragraph
1176
1177 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1178
1179         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1180         * bufferview_funcs.C (put_selection_at): use the above
1181
1182 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1183
1184         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1185
1186 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1187
1188         * output_linuxdoc.h:
1189         * output_plaintext.h:
1190         * output.h:
1191         * output_docbook.h: add #include statements
1192
1193 2003-11-05  José Matos  <jamatos@lyx.org>
1194
1195         * output_docbook.[Ch]:
1196         * output_latex.[Ch]:
1197         * output_linuxdoc.[Ch]:
1198         * output_plaintext.[Ch]: New files for output formats.
1199         * output.[Ch]: New file for helper functions.
1200
1201         * buffer.[Ch]:
1202         * paragraph_funcs.[Ch]: output functions moved to new files.
1203
1204         * outputparams.h: rename of latexrunparams.h
1205
1206         * LaTeX.[Ch]:
1207         * buffer.[Ch]:
1208         * bufferlist.[Ch]:
1209         * converter.[Ch]:
1210         * exporter.C:
1211         * paragraph.[Ch]:
1212         * paragraph_funcs.[Ch]:
1213         * paragraph_pimpl.[Ch]:
1214         * tabular.[Ch]: rename ascii to plaintext
1215         and LatexRunParams to OutputParams.
1216
1217 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1218
1219         * iterators.[Ch] (text): require bv argument
1220         * undo.C (recordUndo):
1221         * lyxfunc.C (dispatch):
1222         * bufferview_funcs.C (put_selection_at): adjust
1223
1224 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
1225
1226         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1227
1228 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1229
1230         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1231         nestings
1232
1233 2003-11-04  André Pönitz  <poenitz@gmx.net>
1234
1235         * cursor.[Ch]: restructure
1236
1237         * BufferView.[Ch]:
1238         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1239
1240         * iterators.[Ch] (asCursor): remove
1241
1242         * lfuns.h: remove LFUN_INSET_EDIT
1243
1244         * lyxfunc.C:
1245         * tabular.C:
1246         * text.C:
1247         * text2.C:
1248         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1249
1250 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1251
1252         * lyxfind.[Ch]: complete overhaul
1253         * BufferView_pimpl.C:
1254         * lyxfunc.C: adjust
1255         * paragraph.[Ch] (insert): add
1256
1257 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1258
1259         * BufferView.[Ch]:
1260         * lyxtext.h:
1261         * text.C: remove dead spellcheck code
1262
1263 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1264
1265         * dispatchresult.h: add a val setter
1266
1267         * cursor.C (dispatch): use a tempvar for data_[i]
1268
1269 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1270
1271         * PosIterator.[Ch]: compile fix
1272
1273 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1274
1275         * text.C (cursorPar): deactivate the cursor cache
1276
1277 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1278
1279         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1280
1281 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1282
1283         * text3.C (dispatch): adjust for new DisptchResult semantics.
1284
1285         * lyxfunc.C (dispatch): handle update when return from
1286         Cursor::dispatch, adjust for new DispatchResult semantics.
1287
1288         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1289         DispatchResult(true) mean to not update. Add class functions for
1290         setting dispatched and update, as well as reading.
1291
1292         * cursor.C (dispatch): don't handle update here
1293
1294 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1295
1296         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1297         * trans_mgr.C: adjust
1298
1299         * paragraph_funcs.C (readParToken): exception safety
1300
1301         * lyxvc.h: store the vcs pointer in a scoped_ptr
1302         * lyxvc.C: adjust
1303
1304         * lyxsocket.C (serverCallback): exception safety
1305
1306         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1307
1308         * ispell.C (clone): make it return a auto_ptr
1309
1310         * factory.C (createInset): exception safety
1311         (readInset): exception safety
1312
1313         * bufferlist.C (newBuffer): exception safety
1314
1315         * Thesaurus.C (Thesaurus): use initialization for aik_
1316
1317         * MenuBackend.C (expandToc): exception safety.
1318
1319 2003-11-03  André Pönitz  <poenitz@gmx.net>
1320
1321         * buffer.C:
1322         * buffer.h:
1323         * bufferview_funcs.C: remove getInsetFromId()
1324
1325         * lyxcursor.[Ch]:
1326         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1327
1328         * lyxfunc.C:
1329         * text2.C:
1330         * text3.C: adjust
1331
1332 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1333
1334         * PosIterator.C (distance, advance): new
1335         * bufferview_funcs.[Ch] (put_selection_at): new
1336         * iterators.[Ch] (lockPath): new
1337
1338 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
1339
1340         * iterators.[Ch] (asPosIterator): added
1341         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1342         * PosIterator.[Ch]: added
1343
1344 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1345
1346         * text3.C:
1347         * lyxfunc.C:
1348         * cursor.C (dispatch):
1349         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1350
1351         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1352         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1353         contructor, add a class function dispatched. Remove operator>=
1354
1355 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1356
1357         * debug.C: only use the default constructor for debugstream
1358         (lyxerr) here.
1359
1360         * main.C (main): include debug.h and setup the lyxerr streambuf
1361         here.
1362
1363 2003-10-31  José Matos  <jamatos@lyx.org>
1364
1365         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1366
1367         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1368         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1369         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1370         * paragraph_pimpl.C (simpleTeXSpecialC):
1371         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1372         add LatexRunParams argument.
1373
1374         * exporter.C (Export): change call accordingly.
1375
1376         * latexrunparams.h: add new member to take care of the other backends.
1377 2003-10-30  José Matos  <jamatos@lyx.org>
1378
1379         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1380         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1381         factorise code for paragraph output.
1382         * buffer.[Ch]:
1383         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1384         move functions.
1385
1386 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1387
1388         * text3.C (dispatch):
1389         * lyxfunc.C (dispatch):
1390         * cursor.C (dispatch):
1391         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1392
1393         * dispatchresult.h: make the dispatch_result_t ctor explicit
1394
1395 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
1396
1397         * sgml.[Ch]:
1398         * buffer.C: small refactoring of docbook stuff
1399
1400 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1401
1402         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1403         meaning.
1404
1405 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1406
1407         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1408         operator dispatch_result_t, and operators for == != and >=
1409
1410         * cursor.C (dispatch): adjust for operator dispatch_result_t
1411         removal. comment out call to update
1412
1413         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1414
1415 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1416
1417         * text3.C:
1418         * text2.C:
1419         * text.C:
1420         * lyxtext.h:
1421         * lyxfunc.C:
1422         * cursor.C:
1423         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1424         (dispatch):
1425
1426         * dispatchresult.h: new file, DispatchResult broken out of
1427         insets/insetbase.h
1428
1429         * Makefile.am (lyx_SOURCES): add dispatchresult.h
1430
1431 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1432
1433         * text.C (rowBreakPoint): put a hack inside #if 0
1434
1435 2003-10-28  André Pönitz  <poenitz@gmx.net>
1436
1437         * lyxtext.h:
1438         * metricsinfo.C:
1439         * paragraph_funcs.C:
1440         * rowpainter.C:
1441         * text.C:
1442         * text2.C: general cleanup (lots of small stuff)
1443
1444 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1445
1446         * text2.C (cursorEnd): simple fix to the "end key goes to one
1447         before the end on last row" bug
1448
1449 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1450
1451         * text.C (backspace): fix the "zombie characters"
1452
1453 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1454
1455         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1456
1457 2003-10-27  André Pönitz  <poenitz@gmx.net>
1458
1459         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1460
1461         * factory.C: handle new InsetPagebreak, InsetLine
1462
1463         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1464         and move handling into new InsetPagebreak, InsetLine
1465
1466         * BufferView_pimpl.C:
1467         * LyXAction.C:
1468         * ParagraphParameters.C:
1469         * ParameterStruct.h:
1470         * lyxfunc.C:
1471         * lyxtext.h:
1472         * paragraph.C:
1473         * paragraph.h:
1474         * paragraph_funcs.C:
1475         * paragraph_pimpl.C:
1476         * rowpainter.C:
1477         * text.C:
1478         * text2.C:
1479         * text3.C: adjust
1480
1481 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1482
1483         * text.C:
1484         * lyxrow_funcs.[Ch]:
1485         * Bidi.C:
1486         * paragraph.C:
1487         * lyxtext.h:
1488         * rowpainter.C:
1489         * text2.C:
1490         * text3.C: remove lastPos uses in favour of Row::endpos
1491
1492 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1493
1494         * undo.C (performUndoOrRedo): fix two crashes by setting a
1495         cursor by hand and reordering some calls. Use bv->lockInset instead
1496         of inset->edit because the latter loses cursor information
1497
1498 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
1499
1500         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1501         by Martin
1502         (rowBreakPoint): fix width. change point to point + 1.
1503         Add a missing check.
1504
1505 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
1506
1507         * MenuBackend.C:
1508         * lyxfunc.C: fix (at least partly) the problems
1509         with the Nav menu and headers inside branch insets
1510         reported by Kayvan
1511
1512 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
1513
1514         * paragraph.C (getChar): add strong asserts
1515
1516         * lyxrow_funcs.C (lastPos): remove hideous hack
1517
1518         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1519         (fill): adjust to that (avoid an infinite loop)
1520
1521 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1522
1523         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1524
1525 2003-10-23  André Pönitz  <poenitz@gmx.net>
1526
1527         * RowList_fwd.h: change list<> to vector<> to gain speed
1528         after suggestion from Alfredo
1529
1530 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1531
1532         * lyxtext.h: move the bidi stuff from here...
1533         * text.C: and here
1534         * text2.C: and here
1535         * Bidi.[Ch]: ... to here
1536
1537 2003-10-23  André Pönitz  <poenitz@gmx.net>
1538
1539         * lyxtext.h:
1540         * text.C (isLastRow, isFirstRow): new functions
1541
1542         * paragraph.h: new width cache member
1543
1544         * rowpainter.C: replace RowList::iterator with Row & where possible
1545
1546         * lyxfunc.C: replace several view()->text with a single call
1547
1548         * toc.C: fix 'unused' warning
1549
1550 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1551
1552         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1553         when woring with stream::pos_type
1554         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1555
1556 2003-10-22  André Pönitz  <poenitz@gmx.net>
1557
1558         * lyxtext.h:
1559         * text.C: use Row & instead of RowList::iterator
1560
1561         * lyxrow.h: rename end() to endpos()
1562
1563         * rowpainter.C:
1564         * text.C:
1565         * text2.C: adjust
1566
1567 2003-10-22  Angus Leeming  <leeming@lyx.org>
1568
1569         * buffer.[Ch] (fully_loaded): new member function, returning true
1570         only when the file has been loaded fully.
1571         Used to prevent the premature generation of previews and by the
1572         citation inset to prevent computation of the natbib-style label.
1573
1574         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1575         templates are all set up.
1576
1577         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1578
1579 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
1580
1581         * text.C: fixed an "oops" in the "is a bit silly"
1582         bug fix
1583
1584 2003-10-21  André Pönitz  <poenitz@gmx.net>
1585
1586         * FuncStatus.[Ch]: small stuff, whitespace
1587
1588         * lyxfont.[Ch]: operator<<() for debug reasons
1589
1590         * lyxfunc.C:
1591         * lyxrow_funcs.C:
1592         * lyxtext.h: whitespace, spelling
1593
1594         * paragraph.C: naming of variables
1595
1596         * text.C:
1597         * text2.C: small stuff
1598
1599
1600 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
1601
1602         * text.C: (1) finish off the inset display() work;
1603         (2) fix the "is a bit silly" bug (accessing char
1604         past end of par).
1605
1606 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
1607
1608         * text.C: re-introduce display() for insets, fixing the
1609         various bugs (stretch of line above, math inset
1610         positioning, ...)
1611
1612 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1613
1614         * text.C (rightMargin): remove spurious semicolon
1615
1616         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1617         1415)
1618
1619 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
1620
1621         * text3.C: fix one crash due to wrong cursor def
1622
1623 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1624
1625         * vc-backend.C (scanMaster): make the regex static
1626
1627         * LaTeX.C (scanAuxFile): make the regexs static
1628
1629         * text3.C (doInsertInset, dispatch, dispatch):
1630         * text2.C (cursorUp, cursorDown):
1631         * text.C (selectNextWordToSpellcheck):
1632         * BufferView_pimpl.C (dispatch):
1633         * lyxfunc.C (dispatch):  localDispatch -> dispatch
1634
1635 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1636
1637         * lyxsocket.C: include <cerrno>
1638
1639 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1640
1641         * lyxfunc.C (dispatch): remove textcache stuff
1642
1643         * bufferlist.C (release): remove textcache stuff
1644         (closeAll): ditto
1645
1646         * TextCache.C: delete file
1647         * TextCache.h: delete file
1648
1649         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1650
1651         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1652         delete of the bv_->text.
1653         (resizeCurrentBuffer): remove texcache stuff
1654         (workAreaResize): ditto
1655
1656 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1657
1658         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1659         action.
1660
1661 2003-10-16  André Pönitz  <poenitz@gmx.net>
1662
1663         * lyxrow.[Ch]:
1664         * paragraph.h:
1665         * rowpainter.C:
1666         * text.C:
1667         * text2.C:
1668         * text3.C: speed up by storing y positions per paragraph plus per-row
1669         offset instead of having a 'full' y position in the row.
1670
1671 2003-10-15  André Pönitz  <poenitz@gmx.net>
1672
1673         * iterators.[Ch]:
1674         * iterators.[Ch]:
1675         * undo.[Ch]: make undo aware of inner insets
1676
1677 2003-10-14  Angus Leeming  <leeming@lyx.org>
1678
1679         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1680         static member functions LyX::ref() and LyX::cref.
1681         (lastfiles): new accessor functions for the new lastfiles_ member var.
1682         (addLyXView, views_): add a new LyXView to the list of views_.
1683         (updateInset): loop over all LyXViews to call their own updateInset
1684         member function, returning a pointer to the Buffer owning the inset.
1685
1686         * BufferView_pimpl.C (loadLyXFile):
1687         * MenuBackend.C (expandLastfiles):
1688         * bufferlist.C (MenuWrite, QuitLyX):
1689         lastfiles is no longer a global variable.
1690         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1691
1692         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1693         static function. Access through LyX::cref().emergencyCleanup().
1694
1695 2003-10-14  André Pönitz  <poenitz@gmx.net>
1696
1697         * iterators.[Ch]: new direct access to innermost LyXText and Inset
1698
1699         * undo.[Ch]: restoring part of 'undo in insets'
1700
1701         * Makefile.am:
1702         * undo_funcs.[Ch]: merge with undo.[Ch]
1703
1704         * tabular.C: small cleansing stuff
1705
1706 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
1707
1708         * paragraph_funcs.C (readParToken): report unknown insets as error
1709         boxes. Use the outer paragraph as location (also for unknown
1710         tokens).
1711
1712         * factory.C (readInset): do not abort on reading an unknown inset.
1713         Eat it and return 0.
1714
1715 2003-10-13  Angus Leeming  <leeming@lyx.org>
1716
1717         * lyx_main.C (LyX): remove call to setDisplayTranslator().
1718
1719         * lyxrc.C: displayTranslator is now a function,
1720         declared in GraphicsTypes.h.
1721
1722 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1723
1724         * format.C: new placeholder $$a to pass the socket address.
1725
1726         * bufferlist.[Ch]: new function getBufferFromTmp.
1727
1728         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1729           files in the temporary dir.
1730
1731 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1732
1733         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1734
1735         * Makefile.am: add lyxsocket.[Ch].
1736
1737         * lyx_main.C (error_handler): handle SIGPIPE.
1738
1739 2003-10-13  André Pönitz  <poenitz@gmx.net>
1740
1741         * BufferView_pimpl.C:
1742         * lyxtext.h:
1743         * text.C:
1744         * text2.C:
1745         * text3.C:
1746         * undo_funcs.[Ch]: use paroffset_type instead of
1747           ParagraphList::iterators to prevent multiple conversion
1748           (and get a more robust interface)
1749
1750 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1751
1752         * lyxfunc.C (dispatch): RESULT -> dispatch_result
1753         * lyxtext.h: ditto
1754         * text3.C (dispatch): ditto
1755
1756 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1757
1758         * LaTeX.C (handleFoundFile): move the static to smaller scope,
1759         move the onlyfile, use onlyfile instead of foundfile in a couple
1760         of places.
1761
1762         * DepTable.C (update): flush the error stream a bit more
1763
1764 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1765
1766         * lyxserver.C (callback): adjust
1767
1768         * lyxfunc.C (getStatus): add a missing brace in commented code
1769         (ensureBufferClean): reindent
1770         (dispatch): delete version taking a string
1771
1772 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1773
1774         * LaTeX.C (deplog): move found file handlig from here...
1775         (handleFoundFile): .. to new function here.
1776         (deplog): make sure to discover several files mentioned on the
1777         same log line.
1778
1779 2003-10-10  André Pönitz  <poenitz@gmx.net>
1780
1781         * lyxfunc.C:
1782         * lyxtext.h:
1783         * tabular.C:
1784         * text.C:
1785         * text2.C:
1786         * text3.C: fix some of the tabular crashes
1787
1788 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1789
1790         * MenuBackend.C (binding): put debug message into Debug::KBMAP
1791
1792         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1793
1794 2003-10-09  André Pönitz  <poenitz@gmx.net>
1795
1796         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1797
1798         * BufferView.C:
1799         * BufferView_pimpl.C:
1800         * bufferview_funcs.C:
1801         * lyx_cb.C:
1802         * lyxcursor.C:
1803         * lyxfind.C:
1804         * lyxfunc.C:
1805         * lyxtext.h:
1806         * text.C:
1807         * text2.C:
1808         * text3.C:
1809         * text_funcs.[Ch]:
1810         * textcursor.[Ch]:
1811         * undo_funcs.C: adjust
1812
1813 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1814
1815         * text2.C (incrementItemDepth): new function, use a backtracking
1816         algorithm to discover the correct item depth.
1817         (resetEnumCounterIfNeeded): new function, use a backtracking
1818         algorithm to discover if counter reset is needed.
1819         (setCounter): use them. Simplify a bit. Add different labels for
1820         different item depths for itemize.
1821
1822         * paragraph.C (Paragraph): remove initialization of enumdepth
1823         (operator=): ditto
1824
1825         * paragraph.h: get rid of enumdepth, and use itemdepth both for
1826         enumerate and itemize. Change the type of itemdepth to signed char.
1827
1828 2003-10-08  André Pönitz  <poenitz@gmx.net>
1829
1830         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1831           thing assignable.
1832         * text.C:
1833         * text2.C: adjust
1834
1835         * tabular.[Ch]: fix crash after 'row-insert'
1836
1837 2003-10-08  Angus Leeming  <leeming@lyx.org>
1838
1839         Fix doxygen warnings.
1840
1841         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1842         Remove CutAndPaste:: prefix from header file declaration.
1843
1844         * LColor.h (fill): remove LColor:: prefix from declaration.
1845
1846         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1847         use lyx::depth_type rather than Paragraph::depth_type so that
1848         header file and .C file match.
1849
1850         * converter.h (intToFormat): remove Converters:: prefix from declaration.
1851
1852         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1853         * aspell.C: \file aspell_local.C -> \file aspell.C
1854         * gettext.C: \file gettext.C -> \file src/gettext.C
1855         * gettext.h: \file gettext.h -> \file src/gettext.h
1856         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1857         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1858         * text.C: \file text.C -> \file src/text.C
1859
1860         * toc.C: move comment so that doxygen is not confused.
1861
1862 2003-10-07  Angus Leeming  <leeming@lyx.org>
1863
1864         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1865
1866 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1867
1868         * aspell.C:
1869         * aspell_local.h: add forgotten std::string's.
1870
1871 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1872
1873         * LaTeXFeatures.C:
1874         * LyXAction.C:
1875         * factory.C:
1876         * lfuns.h:
1877         * lyxfunc.C:
1878         * text3.C: The Box patch. Fancybox support, minipage, parbox
1879
1880 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1881
1882         * CutAndPaste.h:
1883         * DepTable.h:
1884         * FloatList.h:
1885         * LaTeXFeatures.h:
1886         * ParagraphParameters.h:
1887         * TextCache.h:
1888         * Thesaurus.h:
1889         * bufferlist.h:
1890         * exporter.h:
1891         * importer.h:
1892         * lastfiles.h:
1893         * lyxfind.h:
1894         * lyxfont.h:
1895         * lyxlex.h:
1896         * lyxtextclasslist.h:
1897         * messages.h:
1898         * paragraph.h:
1899         * paragraph_pimpl.C:
1900         * textcursor.h: add <string> and other small fixes to make Lars'
1901         std::string patch compile with STLport.
1902
1903 2003-10-06  Angus Leeming  <leeming@lyx.org>
1904
1905         * LColor.h: Add missing #include <string>.
1906
1907 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1908
1909         * All most all file in all subdirs: Make <string> be the prefered
1910         way of getting to std::string, add using declarations.
1911
1912 2003-10-06  André Pönitz  <poenitz@gmx.net>
1913
1914         * metricsinfo.C: initialize LyXFont before changing attribute.
1915         (fixes the 'math in \emph is upright' bug)
1916
1917 2003-10-06  André Pönitz  <poenitz@gmx.net>
1918
1919         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1920
1921 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1922
1923         * graph.C:
1924         * paragraph_pimpl.C: Small fixes to build using STLport
1925
1926 2003-10-02  André Pönitz  <poenitz@gmx.net>
1927
1928         * lyxfunc.C:
1929         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1930
1931 2003-10-01  André Pönitz  <poenitz@gmx.net>
1932
1933         * factory.C: assert early
1934
1935 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1936
1937         * lyx_main.C: remove the global debug object
1938
1939         * debug.h: adjust for new debugstream
1940
1941         * debug.C: adjust for new debugstream and keep the global debug
1942         object here.
1943
1944 2003-09-22  Angus Leeming  <leeming@lyx.org>
1945
1946         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1947         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1948         an incomplete class LyXFont.
1949
1950 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1951
1952         * factory.C: bug fix in branches
1953
1954 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1955
1956         * lyxfunc.C (processKeySym): adjust
1957         (dispatch): adjust
1958         (dispatch): change arg name from ev to func, adjust
1959         (sendDispatchMessage): ditto
1960
1961         * lyx_main.C (defaultKeyBindings): adjust keybindings
1962         (deadKeyBindings): ditto
1963
1964         * kbsequence.C (addkey): return a FuncRequest
1965
1966         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1967
1968         * kbmap.C (bind): take a FuncRequest as arg, adjust
1969         (read): adjust
1970         (lookup): adjust
1971         (defkey): change to take a FuncRequest as arg, adjust
1972         (findbinding): take a FuncRequest as arg, adjust.
1973
1974         * funcrequest.h (operator=): added
1975
1976         * funcrequest.C (FuncRequest): default kb_action changed from
1977         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1978
1979         * buffer.C (dispatch): simplify
1980         (dispatch): adjust to take a FuncRequest as arg, adjust
1981
1982         * boost.C (assertion_failed): change assertion message slightly
1983
1984         * ToolbarBackend.C (read): simplify
1985
1986         * MenuBackend.C (binding): adjust call to findbinding, add a
1987         message if no binding is found.
1988         (read): simplify
1989         (expandToc): correct by adding a empty FuncRequest
1990
1991         * LyXAction.C: include <boost/assert.hpp>
1992         (isPseudoAction): delete function
1993         (LookupFunc): change name to...
1994         (lookupFunc): this. change return type to FuncRequest.
1995         (getActionName): take kb_action as arg, simplify
1996         (funcHasFlag): add an assert, simplify.
1997
1998 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1999
2000         * toc.C (action): return a FuncRequest, simplify
2001
2002         * lyxfunc.C (processKeySym): adjust
2003         (getStatus): delete version that takes an int.
2004         (getStatus): adjust
2005         (dispatch): delete version that takes action as int
2006         (dispatch): adjust
2007         (sendDispatchMessage): simplify and adjust
2008
2009         * funcrequest.C (getArg): take unsigned int as arg
2010
2011         * ToolbarBackend.C (read): adjust
2012         (add): delete version that takes func as a string.
2013         (getIton): take a FuncRequest as arg
2014
2015         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2016         action.
2017
2018         * MenuBackend.C (MenuItem): add a new construct that only takes a
2019         Kind, simplify the constructor use for submenus.
2020         (add): adjust
2021         (expandLastfiles): adjust
2022         (expandDocuments): adjust
2023         (expandFormats): adjust
2024         (expandFloatListInsert): adjust
2025         (expandFloatInsert): adjust
2026         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2027
2028         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2029         Remove class variables lyx_pseudo_map and lyx_arg_map
2030
2031         * LyXAction.C (searchActionArg): delete function
2032         (getPseudoAction): delete function
2033         (retrieveActionArg): delete function
2034         (LookupFunc): make it return kb_action, simplify.
2035         (getActionName): simplify
2036
2037         * factory.C (createInset): fix new bug
2038
2039 2003-09-19  Angus Leeming  <leeming@lyx.org>
2040
2041         * CutAndPaste.C (pasteSelection): remove fudge used to set the
2042         masterFilename_ parameter in the include inset.
2043
2044         * factory.C (createInset): changes due to the changes to InsetInclude.
2045
2046 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2047
2048         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2049
2050 2003-09-18  Angus Leeming  <leeming@lyx.org>
2051
2052         * buffer.C:
2053         * BufferView.C: pass the buffer when calling Inset::getLabelList,
2054         Inset::fillWithBibKeys.
2055         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2056
2057 2003-09-18  Angus Leeming  <leeming@lyx.org>
2058
2059         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2060         variables.
2061         (ctor): pass and store a 'Buffer const &'
2062         (buffer): new member function.
2063
2064         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2065         '*this' to the LaTeXFeatures ctor.
2066
2067 2003-09-18  Angus Leeming  <leeming@lyx.org>
2068
2069         * LColor.h:
2070         * lyxfont.C:
2071         * lyxfont.h:
2072         * lyxtext.h:
2073         * text.C: rename EnumLColor as LColor_color.
2074
2075 2003-09-18  Angus Leeming  <leeming@lyx.org>
2076
2077         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2078         remove #include "insets/insetbase.h" from cursor.h.
2079
2080 2003-09-18  Angus Leeming  <leeming@lyx.org>
2081
2082         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2083         InsetOld_code to remove #include "inset.h".
2084
2085         * iterators.C: add #include "insets/inset.h"
2086
2087 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
2088
2089         * BufferView.C: remove more locking stuff that apparently doesn't
2090         do anything sensible.
2091
2092 2003-09-16  André Pönitz  <poenitz@gmx.net>
2093
2094         * paragraph.[Ch]:
2095         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2096           performance boost.
2097
2098 2003-09-16  Angus Leeming  <leeming@lyx.org>
2099
2100         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2101
2102         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2103         arg/return type.
2104
2105         * paragraph.h: remove #include "lyxfont.h". Forward declare
2106         LyXFont_size.
2107
2108 2003-09-16  Angus Leeming  <leeming@lyx.org>
2109
2110         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2111         of support/textutils.h.
2112         (isWord): move the contents of support/textutils.h's IsWordChar here.
2113
2114         * buffer.C:
2115         * lyxfind.C:
2116         * rowpainter.C:
2117         * text.C:
2118         * text2.C: add #include "paragraph.h".
2119
2120         * rowpainter.C:
2121         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2122
2123 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2124
2125         * main.C:
2126         * lyx_main.C:
2127         * lyx_cb.C:
2128         * buffer.C:
2129         * LaTeX.C: use namespace alias for lyx::support::os
2130
2131 2003-09-16  Angus Leeming  <leeming@lyx.org>
2132
2133         * bufferparams.C:
2134         * bufferview_funcs.C:
2135         * factory.C:
2136         * lyxfunc.C:
2137         * paragraph_pimpl.C:
2138         * rowpainter.C:
2139         * text.C: add #include "LColor.h".
2140
2141 2003-09-16  Angus Leeming  <leeming@lyx.org>
2142
2143         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2144         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2145         return LyXFont &.
2146         Store the FontBits::color variable as an int rather than as an
2147         LColor::colorso that we can move LColor.h out of the lyxfont.h header
2148         file.
2149
2150         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2151         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2152         string calls together.
2153
2154         * lyxrc.C: add #include "LColor.h".
2155
2156 2003-09-15  Angus Leeming  <leeming@lyx.org>
2157
2158         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2159         a cow_ptr.
2160
2161 2003-09-15  Angus Leeming  <leeming@lyx.org>
2162
2163         * LColor.h: add an EnumLColor wrapper for LColor::color.
2164
2165         * lyxfont.[Ch] (color, setColor, realColor):
2166         * lyxtext.h, text.C (backgroundColor):
2167         pass EnumLColor args to/from the functions, rather than LColor::color
2168         ones.
2169
2170         * lyxfont.h:
2171         * lyxtext.h: forward declare EnumLColor.
2172
2173         * lyx_main.C: add #include "LColor.h".
2174
2175 2003-09-15  Angus Leeming  <leeming@lyx.org>
2176
2177         * .cvsignore: add lyx-gtk.
2178
2179 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2180
2181         * Chktex.C
2182         * LaTeX.C
2183         * LaTeXFeatures.C
2184         * ParagraphParameters.C
2185         * Spacing.C
2186         * buffer.C
2187         * bufferparams.C
2188         * bufferview_funcs.C
2189         * chset.C
2190         * counters.C
2191         * funcrequest.C
2192         * lyxfont.C
2193         * lyxgluelength.C
2194         * lyxlength.C
2195         * paragraph.C
2196         * paragraph_funcs.C
2197         * text3.C
2198         * vc-backend.C: remove usage of STRCONV
2199
2200 2003-09-15  Angus Leeming  <leeming@lyx.org>
2201
2202         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2203         explicitly define the color passed to the painter.
2204
2205 2003-09-15  Angus Leeming  <leeming@lyx.org>
2206
2207         * bufferparams.C (BufferParams): reorder member initializers to avoid
2208         compiler warning.
2209
2210 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
2211
2212         * CutAndPaste.C (pasteSelection): remove an outdated #warning
2213         * text.C (updateRowPositions): remove an unusual nop
2214
2215 2003-09-12  André Pönitz  <poenitz@gmx.net>
2216
2217         * BufferView_pimpl.C:
2218         * Bullet.C:
2219         * layout.h:
2220         * lyxfunc.C:
2221         * lyxlayout.[Ch]:
2222         * lyxtextclass.C:
2223         * rowpainter.C:
2224         * text.C:
2225         * text2.C:
2226         * Counters.[Ch]: finish the 'automatic counters' job
2227
2228 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2229
2230         * aspell.C: include <boost/assert.cpp> (compile fix)
2231
2232 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
2233
2234         * boost.C (assertion_failed): use lyx::support::abort instead of
2235         assert.
2236
2237 2003-09-10  Angus Leeming  <leeming@lyx.org>
2238
2239         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2240         with their _fwd progeny.
2241
2242 2003-09-09  Angus Leeming  <leeming@lyx.org>
2243
2244         134 files throughtout the source tree: replace 'using namespace abc;'
2245         directives with the appropriate 'using abc::xyz;' declarations.
2246
2247 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2248
2249         * boost.C (emergencyCleanup): moved here from LAssert.c
2250         (assertion_failed): new function, called by BOOST_ASSERT
2251
2252         * several files: change Assert to BOOST_ASSERT
2253
2254 2003-09-09  Angus Leeming  <leeming@lyx.org>
2255
2256         * buffer.[Ch]: Add an Impl class and move Buffer's member
2257         variables into it. As a result move several header files out of
2258         buffer.h.
2259
2260         Add header files to lots of .C files all over the tree as a result.
2261
2262 2003-09-09  Angus Leeming  <leeming@lyx.org>
2263
2264         * buffer.[Ch]: make Buffer's member variables private. Add
2265         accessor functions.
2266
2267         Lots of changes all over the tree as a result.
2268
2269 2003-09-08  Angus Leeming  <leeming@lyx.org>
2270
2271         * graph.C: #include <config.h>.
2272
2273 2003-09-08  Angus Leeming  <leeming@lyx.org>
2274
2275         * BranchList.C:
2276         * BufferView.C:
2277         * BufferView_pimpl.C:
2278         * CutAndPaste.C:
2279         * DepTable.C:
2280         * LaTeX.C:
2281         * LaTeXFeatures.C:
2282         * LyXAction.C:
2283         * MenuBackend.C:
2284         * TextCache.C:
2285         * aspell.C:
2286         * buffer.C:
2287         * bufferlist.C:
2288         * changes.C:
2289         * chset.C:
2290         * converter.C:
2291         * counters.C:
2292         * debug.C:
2293         * graph.C:
2294         * ispell.C:
2295         * lyx_cb.C:
2296         * lyxfind.C:
2297         * lyxfunc.C:
2298         * lyxlex_pimpl.C:
2299         * lyxrc.C:
2300         * lyxrow.C:
2301         * paragraph.C:
2302         * rowpainter.C:
2303         * texrow.C:
2304         * text.C:
2305         * text2.C:
2306         * toc.C: remove redundant using directives.
2307
2308 2003-09-07  Angus Leeming  <leeming@lyx.org>
2309
2310         * LaTeXFeatures.h: remove #include "support/types.h".
2311         * ToolbarBackend.h: remove #include <algorithm>.
2312         * changes.h: remove #include <ctime>.
2313         * debug.h: remove #include <iosfwd>.
2314         * graph.h: remove #include "support/std_string.h".
2315         * lyx_main.h: remove #include <csignal>.
2316         * lyxlex_pimpl.h: remove #include <fstream>.
2317         * sgml.h: remove #include <algorithm>, <utility>.
2318         * toc.h: remove #include "support/std_ostream.h".
2319         Add #include <iosfwd>.
2320
2321 2003-09-07  Angus Leeming  <leeming@lyx.org>
2322
2323         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2324
2325         * converter.h: forward declare LatexRunParams.
2326         * encoding.h: remove #include "lyxrc.h".
2327         * lyxtext.h: remove #include "LColor.h".
2328         * lyxtextclass.h: remove #include "support/types.h".
2329         * trans.h: remove #include "tex-accent.h".
2330         * trans_mgr.h: remove #include "tex-accent.h".
2331         * insets/inset.h: remove #include "support/types.h", <vector>.
2332         * insets/insetcollapsable.h: remove #include "LColor.h".
2333         * insets/insetinclude.h: remove #include "dimension.h".
2334         * insets/insetlatexaccent.h: remove #include "dimension.h".
2335         * insets/insetoptarg.h:: remove #include "insettext.h".
2336         * insets/insettext.h: remove #include "dimension.h",
2337         <boost/shared_ptr.hpp>
2338
2339         * insets/renderers.h: add #include "dimension.h".
2340         * insets/updatableinset.h: add #include "support/types.h".
2341
2342         * many .C files: Associated changes.
2343
2344 2003-09-06  Angus Leeming  <leeming@lyx.org>
2345
2346         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2347         one, inside testInvariant.
2348
2349         * PrinterParams.C: new file.
2350         * PrinterParams.[Ch]: move the function bodies out of line.
2351
2352 2003-09-06  Angus Leeming  <leeming@lyx.org>
2353
2354         * ParagraphParameters.h: forward declare ParameterStruct rather than
2355         including its header file.
2356         (depth): moved out-of-line.
2357
2358 2003-09-06  Angus Leeming  <leeming@lyx.org>
2359
2360         * BufferView_pimpl.h:
2361         * kbmap.h:
2362         * kbsequence.h:
2363         * lyxfunc.h: forward declare LyXKeySym rather than
2364         #include "frontends/LyXKeySym.h".
2365
2366         * BufferView_pimpl.C:
2367         * kbmap.C:
2368         * kbsequence.C:
2369         * lyxfunc.C: associated changes.
2370
2371 2003-09-06  Angus Leeming  <leeming@lyx.org>
2372
2373         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2374         As a result, can remove the #include "insets/inset.h" from BufferView.h
2375
2376 2003-09-06  Angus Leeming  <leeming@lyx.org>
2377
2378         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2379         As a result, can remove the #include "insets/inset.h" from BufferView.h
2380
2381 2003-09-06  Angus Leeming  <leeming@lyx.org>
2382
2383         * buffer_funcs.C:
2384         * buffer.h:
2385         * bufferlist.C:
2386         * BufferView.C:
2387         * bufferview_funcs.C:
2388         * BufferView_pimpl.C:
2389         * CutAndPaste.C:
2390         * lyx_cb.C:
2391         * lyxfunc.C:
2392         * paragraph.h:
2393         * ParagraphParameters.C:
2394         * tabular.C:
2395         * text3.C:
2396         * toc.C:
2397         * undo_funcs.C:
2398         * frontends/controllers/ControlDocument.C:
2399         * insets/insetcaption.C: rearrange the #includes into some sort of
2400         coherent order.
2401
2402         * buffer.h: remove #includes ErrorList.h, undo.h
2403
2404 2003-09-06  Angus Leeming  <leeming@lyx.org>
2405
2406         * support/types.h: add a 'depth_type' typedef, used to store the
2407         nesting depth of a paragraph.
2408
2409         * paragraph.h:
2410         * ParameterStruct.h: use this lyx::depth_type typedef rather than
2411         defining explicitly.
2412
2413         * buffer.h:
2414         * paragraph_funcs.h:
2415         * ParagraphParameters.h:
2416         * sgml.h: use lyx::depth_type rather than Paragraph or
2417         ParameterStruct's depth_type.
2418
2419         * buffer.h
2420         * paragraph_funcs.h: no need to #include paragraph.h anymore.
2421
2422         * BufferView.C:
2423         * BufferView_pimpl.C:
2424         * CutAndPaste.C:
2425         * ParagraphParameters.C:
2426         * buffer_funcs.C:
2427         * bufferlist.C:
2428         * bufferview_funcs.C:
2429         * lyx_cb.C:
2430         * lyxfunc.C:
2431         * tabular.C:
2432         * text3.C:
2433         * toc.C:
2434         * undo_funcs.C:
2435         * frontends/LyXView.C:
2436         * frontends/controllers/ControlDocument.C:
2437         * frontends/controllers/ControlErrorList.C:
2438         * insets/insetbibitem.C:
2439         * insets/insetbranch.C:
2440         * insets/insetcaption.C:
2441         * insets/insetcollapsable.C:
2442         * insets/insetenv.C:
2443         * insets/insetert.C:
2444         * insets/insetfloat.C:
2445         * insets/insetfoot.C:
2446         * insets/insetfootlike.C:
2447         * insets/insetnewline.C:
2448         * insets/insetquotes.C:
2449         * insets/insettabular.C:
2450         * insets/insettext.C:
2451         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2452
2453         * frontends/controllers/ControlChanges.C: #include "changes.h".
2454
2455 2003-09-06  Angus Leeming  <leeming@lyx.org>
2456
2457         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2458         than #including paragraph.h.
2459
2460         * ParagraphList.h:
2461         * RowList.h: deleted. Superfluous.
2462
2463         * CutAndPaste.h:
2464         * iterators.h:
2465         * lyxcursor.h:
2466         * lyxtext.h:
2467         * text_funcs.h:
2468         * undo.h:
2469         * undo_funcs.h:
2470         * insets/inset.h:
2471         * insets/insettext.h: use ParagraphList_fwd.h rather than
2472         ParagraphList.h.
2473
2474         * paragraph.h: don't forward declare ParagraphList.
2475
2476         * buffer.h:
2477         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2478         rather than ParagraphList.h. paragraph.h is still needed for the
2479         Paragraph::depth_type parameters.
2480
2481         * textcursor.h: enable it to compile stand-alone in light of the
2482         above changes.
2483
2484         * bufferview_funcs.C:
2485         * iterators.C:
2486         * lyxfunc.C:
2487         * lyxrow_funcs.C:
2488         * paragraph.C:
2489         * rowpainter.C:
2490         * text.C:
2491         * text2.C:
2492         * text3.C:
2493         * text_funcs.C:
2494         * textcursor.C:
2495         * undo.C:
2496         * frontends/controllers/ControlParagraph.C:
2497         * frontends/controllers/ControlTabular.C:
2498         * insets/insetmarginal.C:
2499         * insets/insetminipage.C:
2500         * insets/insetnote.C:
2501         * insets/insetoptarg.C: add header files needed to compile again.
2502
2503 2003-09-06  Angus Leeming  <leeming@lyx.org>
2504
2505         * RowList_fwd.h: new file, forward-declaring Row rather than
2506         #including lyxrow.h.
2507
2508         * lyxrow_funcs.h:
2509         * lyxtext.h:
2510         * paragraph.h:
2511         * insets/insettext.h: use it instead of RowList.h
2512
2513         * bufferview_funcs.C:
2514         * lyxfunc.C:
2515         * lyxrow_funcs.C:
2516         * paragraph.C:
2517         * rowpainter.C:
2518         * text.C:
2519         * text2.C:
2520         * text3.C: #include "RowList.h".
2521
2522 2003-09-05  Angus Leeming  <leeming@lyx.org>
2523
2524         * factory.C (createInset):
2525         * vspace.C (c-tor): replace sscanf call with an istringstream.
2526         * ispell.C: re-add missing HP/UX headers.
2527         * lyxserver.C: re-add missing  os2 headers.
2528
2529 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
2530
2531         * BranchList.C:
2532         * graph.C:
2533         * ispell.C:
2534         * lastfiles.C:
2535         * lyx_cb.C:
2536         * lyxserver.C:
2537         * texrow.C:
2538         * text3.C: re-add missing system headers, needed for 2.95.2.
2539
2540 2003-09-05  Angus Leeming  <leeming@lyx.org>
2541
2542         Changes most place everywhere due to the removal of using directives
2543         from support/std_sstream.h.
2544
2545 2003-09-05  Angus Leeming  <leeming@lyx.org>
2546
2547         Replace LString.h with support/std_string.h,
2548         Lsstream.h with support/std_sstream.h,
2549         support/LIstream.h with support/std_istream.h,
2550         support/LOstream.h with support/std_ostream.h.
2551
2552         Changes resulting throughout the tree.
2553
2554 2003-09-05  Angus Leeming  <leeming@lyx.org>
2555
2556         * sgml.h: ensure that the header file can be compiled stand-alone.
2557         * *.C: strip out redundant #includes. (320 in total.)
2558
2559 2003-09-04  Angus Leeming  <leeming@lyx.org>
2560
2561         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2562         here (from getPackages).
2563
2564         * debug.[Ch]: add a new EXTERNAL tag.
2565
2566 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2567
2568         * text2.C (cursorEnd): simplify
2569         (setCursor): adjust
2570         (getColumnNearX): adjust
2571
2572         * text.C (computeBidiTables): adjust
2573         (fill): adjust
2574
2575         * rowpainter.C (paintChars): adjust
2576         (paintSelection): adjust
2577         (paintChangeBar): adjust
2578         (paintText): adjust
2579
2580         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2581         lastPos instead.
2582         (numberOfSeparators): adjust
2583
2584 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2585
2586         * LyXAction.C:
2587         * box.[Ch]:
2588         * lfuns.h:
2589         * lyxfunc.C:
2590         * text3.C: Restricts the mouse click functionality
2591         of insets like bibtex, include, toc and floatlist to the visible
2592         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2593         up the dialogs. Cursor has to be in front of the inset (i.e.
2594         start of row) for this to function.
2595
2596 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2597
2598         * bufferview_funcs.C (currentState): output row information
2599
2600 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2601
2602         * bufferview_funcs.C (currentState): output paragraph position
2603
2604 2003-09-04  Angus Leeming  <leeming@lyx.org>
2605
2606         * FloatList.h: move out #include "Floating.h".
2607         * LaTeX.h: move out #include "DepTable.h".
2608         * LyXAction.h: move out #include "funcrequest.h".
2609         * buffer.h: move out #include "author.h", "iterators.h".
2610         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2611         * lyx_main.h: move out #include "errorlist.h".
2612         * lyxfunc.h: move out #include "FuncStatus.h".
2613         * lyxtext: move out #include "lyxcursor.h".
2614         * paragraph_pimpl.h: move out #include "counters.h".
2615
2616 2003-09-03  Angus Leeming  <leeming@lyx.org>
2617
2618         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2619         preamble_snippets list, enabling us to add snippets to the preamble
2620         only if the snippet was not there already.
2621
2622 2003-09-04  Angus Leeming  <leeming@lyx.org>
2623
2624         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2625
2626 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2627
2628         * lyxfunc.C (dispatch): if fitCursor did something be sure to
2629         update
2630
2631 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2632
2633         * BranchList.C: point fix, earlier forgotten
2634
2635 2003-09-02  Angus Leeming  <leeming@lyx.org>
2636
2637         * box.C (contains): renamed from 'contained' after a fantastic
2638         amount of hot air.
2639
2640 2003-09-02  John Levon  <levon@movementarian.org>
2641
2642         * BufferView.C:
2643         * lyxcursor.h:
2644         * lyxcursor.C:
2645         * lyxfunc.C:
2646         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2647
2648 2003-09-02  John Levon  <levon@movementarian.org>
2649
2650         * text2.C: simplification of cursorEnd(), including partial
2651         fix for bug 1376
2652
2653 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2654
2655         * buffer.C (readFile): add a space
2656
2657 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
2658
2659         * BufferView_pimpl.C (update): remove bogus fitCursor() call
2660
2661 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2662
2663         * buffer.C (readFile): new function, take a filename and a
2664         ParagraphList::iterator
2665         (readFile): adjust
2666         (readFile): adjust, make it private. don't use setStream, make
2667         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2668         always contain the filename.
2669
2670         * BufferView.C (insertLyXFile): simplify and make it work for
2671         gzipped files.
2672
2673 2003-08-30  John Levon  <levon@movementarian.org>
2674
2675         * Makefile.am: fix dist (from Kayvan)
2676
2677 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2678
2679         * most files: change to use const Buffer refs
2680
2681 2003-08-27  André Pönitz  <poenitz@gmx.net>
2682
2683         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2684         on top of ownerPar().
2685
2686 2003-08-27  John Levon  <levon@movementarian.org>
2687
2688         * funcrequest.C: properly initialise POD members
2689
2690 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2691
2692         * lyxtext.h (top_y): move top_y from here
2693         * text.C:
2694         * text2.C:
2695         * text3.C:
2696         * BufferView.[Ch]:
2697         * BufferView_pimpl.[Ch]: to here
2698         * frontends/screen.C:
2699         * insets/insettabular.C:
2700         * insets/insettext.C: adjust
2701         * rowpainter.[Ch] (paintRows): remove LyXText & argument
2702
2703 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2704
2705         * BufferView.[Ch]:
2706         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2707
2708 2003-08-26  André Pönitz  <poenitz@gmx.net>
2709
2710         * paragraph_func.[Ch] (outerPar): new function
2711
2712         * paragraph.C:
2713         * paragraph_funcs.C:
2714         * paragraph_funcs.h:
2715         * paragraph_pimpl.C:
2716         * text2.C: remove Inset::par_owner
2717
2718 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
2719
2720         * lyxrow_funcs.C:
2721         * lyxtext.h:
2722         * text.C:
2723         * text2.C: eliminates the needFullRow/display() stuff
2724         altogether, putting the logic in metrics/draw in the insets.
2725
2726 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
2727
2728         * text2.C (redoParagraphInternal, redoParagraphs):
2729         * text.C (redoParagraph): add a call to updateRowPositions at the
2730         end of each 'metrics-like' call. Remove all others.
2731         (getRow): remove the 'y-computing' version.
2732         (getRowNearY): do not compute nor return the real y. Solve the
2733         'y < 0' problem and simplify.
2734
2735 2003-08-22  Angus Leeming  <leeming@lyx.org>
2736
2737         * *.[Ch]: clean-up of licence and author blurbs.
2738         Also move config.h out of a few .h files and into a few .C files.
2739
2740 2003-08-22  André Pönitz  <poenitz@gmx.net>
2741
2742         * lyxrow.[Ch]: add x_ and *fill_ members
2743
2744         * lyxtext.h:
2745         * text.C:
2746         * rowpainter.C:
2747         * text2.C: adjust/remove prepareToPrint() calls
2748
2749 2003-08-22  André Pönitz  <poenitz@gmx.net>
2750
2751         * lyxrow.[Ch]: add  end_ member
2752
2753         * lyxrow_funcs.C: use LyXRow::end_
2754
2755         * lyxtext.h (singleWidth): add LyXFont parameter
2756
2757         * rowpainter.C:
2758         * text2.C: adjust LyXText::singleWidth() calls
2759
2760         * text.C (redoParagraph): simplify row breaking logic
2761
2762
2763 2003-08-19  André Pönitz  <poenitz@gmx.net>
2764
2765         * funcrequest.C: initialize button_ member
2766
2767         * text3.C:
2768         * rowpainter.[Ch]: interface consolidation
2769
2770 2003-08-18  André Pönitz  <poenitz@gmx.net>
2771
2772         * BufferView.C:
2773         * BufferView_pimpl.C:
2774         * lyxfind.C:
2775         * paragraph_funcs.C:
2776         * rowpainter.C:
2777         * text3.C: remove LyXScreen::draw() and fitCursor calls
2778
2779         * BranchList.h: remove spurious semicolons
2780
2781         * MenuBackend.C: fix branchlist related crash
2782
2783 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
2784
2785         * BranchList.[Ch]:
2786         * InsetList.[Ch]:
2787         * LColor.[Ch]:
2788         * LyXAction.C:
2789         * Makefile.am:
2790         * MenuBackend.[Ch]:
2791         * bufferparams.[Ch]:
2792         * factory.C:
2793         * lfuns.h:
2794         * lyxfunc.C:
2795         * text3.C: implements the 'branch inset'
2796         idea. This allows the output of various versions of a document
2797         from a single source version, selectively outputing or suppressing
2798         output of parts of the text.
2799         This implementation contains a 'branch list editor' in a separate
2800         tab of the document settings dialog. Branches are user definable
2801         and have a "display colour" to distinguish them on-screen.
2802
2803         ColorHandler was somewhat cleaned up.
2804         (1) make possible a dynamically growing LColor list by allowing
2805         the graphic context cache to grow along (vector);
2806         (2) eliminate an IMHO unnecessary step in colour allocation.
2807
2808 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
2809
2810         * BufferView_pimpl.C: compile fix
2811
2812 2003-08-15  André Pönitz  <poenitz@gmx.net>
2813
2814         * rowpainter.C: remove extra metrics calls
2815
2816         * lyxtext.h: merge the two constructors into a single one,
2817           pass reference to owner's par list
2818
2819         * BufferView_pimpl.C:
2820         * text.C:
2821         * text2.C: adjust
2822
2823 2003-08-15  André Pönitz  <poenitz@gmx.net>
2824
2825         * lyxrow_funcs.[Ch]:
2826         * lyxtext.h:
2827         * paragraph.h:
2828         * paragraph_funcs.C:
2829         * rowpainter.C:
2830         * text.C:
2831         * text2.C:
2832         * text3.C:
2833         * text_funcs.C: split LyXText::rowlist_ into individual
2834         Paragraph::rows_ chunks
2835
2836         * BufferView.[Ch]:
2837         * BufferView_pimpl.[Ch]:
2838         * lyxfind.C:
2839         * lyxtext.h:
2840         * text3.C: remove toggleSelection()
2841
2842 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
2843
2844         * bufferlist.C: beautify two alerts (shorter text of buttons)
2845         * buffer.C: Remove redundant ' ' from message
2846         * tabular.h:
2847         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2848         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2849         rename VALIGN_CENTER to VALIGN_MIDDLE
2850
2851 2003-08-11  André Pönitz  <poenitz@gmx.net>
2852
2853         * lyxtext.h (getPar):
2854         * text.C: new function
2855
2856 2003-08-11  André Pönitz  <poenitz@gmx.net>
2857
2858         * Makefile.am:
2859         * tracer.[Ch]: remove unneeded files
2860
2861         * InsetList.[Ch]: remove resizeInsetsLyXText()
2862
2863         * lyxtext.h:
2864         * text.C:
2865         * text2.C:
2866         * text3.C: merge insertParagraphs() and appendParagraph()
2867         remove breakAgain(), update()
2868
2869         * BufferView_pimpl.[Ch]:
2870         * bufferview_funcs.[Ch]:
2871         * lyxfunc.C:
2872         * paragraph.[Ch]:
2873         * rowpainter.C:
2874         * tabular.C: adjust after text & InsetList changes.
2875
2876 2003-08-08  André Pönitz  <poenitz@gmx.net>
2877
2878         * text.C (insertChar, backspace): replace rowlist fiddling
2879         with rebreak of full par
2880
2881         * lyxtext.h:
2882         * text.C (breakAgainOneRow, redoHeightOfParagraph,
2883         checkParagraph, updateInset): removed
2884
2885 2003-08-07  André Pönitz  <poenitz@gmx.net>
2886
2887         * paragraph.C:
2888         * text3.C: merge some LFUN handlers, remove dead code
2889
2890 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2891
2892         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2893
2894 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
2895
2896         * text2.C (DEPM): fix part of bug 1255 and 1256
2897
2898 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2899
2900         * BufferView_pimpl.C (workAreaDispatch): change to use
2901         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2902         that are no mouse related.
2903
2904 2003-08-05  André Pönitz  <poenitz@gmx.net>
2905
2906         * BufferView.[Ch]:
2907         * BufferView_pimpl.[Ch]:
2908         * bufferview_funcs.C:
2909         * text2.C:
2910         * text3.C: rip out "deep update"
2911
2912         * textcursor.[Ch] (last_sel_cursor): remove unused member
2913
2914 2003-08-04  André Pönitz  <poenitz@gmx.net>
2915
2916         * BufferView.[Ch]:
2917         * BufferView_pimpl.[Ch]:
2918         * ParagraphParameters.C:
2919         * bufferview_funcs.C:
2920         * lyx_cb.C:
2921         * lyxfind.C:
2922         * lyxfunc.C:
2923         * text.C:
2924         * text2.C:
2925         * text3.C: replace "complicated" BufferView::update(...) calls with
2926         simpler ones.
2927
2928         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2929
2930 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2931
2932         * Makefile.am (lyx_SOURCES): add paper.h
2933
2934 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2935
2936         * Makefile.am: move things around so that both lyx-qt and
2937         lyx-xforms can be built (according to --with-frontend). Then lyx
2938         is a symbolic link to lyx-[firstfrontend]
2939
2940 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2941
2942         * Always use std::endl with lyxerr
2943
2944 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2945
2946         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2947
2948 2003-08-01  André Pönitz  <poenitz@gmx.net>
2949
2950         * BufferView.[Ch]:
2951         * BufferView_pimpl.[Ch]:
2952         * lyxfunc.C:
2953         * text3.C: merge BufferView::repaint() and BufferView::update()
2954
2955 2003-08-01  José Matos  <jamatos@lyx.org>
2956
2957         * buffer.[Ch]: file_format is no longer a buffer data element.
2958
2959 2003-08-01  André Pönitz  <poenitz@gmx.net>
2960
2961         * BufferView.C:
2962         * lyxtext.h:
2963         * text.C:
2964         * text2.C: make redoParagraph more independent of current cursor
2965
2966         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2967         * text.C:
2968         * text2.C: remove unneeded members
2969
2970 2003-07-30  André Pönitz  <poenitz@gmx.net>
2971
2972         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2973
2974         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2975           create a single function...
2976
2977         * paragraph_funcs.C (moveItem): ... here.
2978
2979         * text.C:
2980           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2981
2982 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2983
2984         * LColor.[Ch]: Add comment and greyedout logical colors.
2985
2986 2003-07-30  André Pönitz  <poenitz@gmx.net>
2987
2988         * tabular.C: don't use Assert too heavily. This crashes where it
2989           shouldn't
2990
2991 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2992
2993         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2994         is disabled (bug 1232)
2995
2996 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2997
2998         * factory.C: limited 'arg' scope
2999
3000 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3001
3002         * factory.C: fixed Note submenu issues
3003
3004 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3005
3006         * factory.C: submenu for Note/Comment/Greyedout
3007
3008 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
3009
3010         * lyx_main.C (LyX):
3011         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3012
3013 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
3014
3015         * LaTeXFeatures.C:
3016         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3017         greyedout. Patch provided by Jürgen Spitzmüller.
3018
3019 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3020
3021         * kbmap.C (read): fix error message when reading bind files
3022
3023 2003-07-29  Angus Leeming  <leeming@lyx.org>
3024
3025         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3026         certainly does not do what it purports to do. I am doing it, and
3027         us, a favour by killing it.
3028
3029 2003-07-28  José Matos  <jamatos@lyx.org>
3030
3031         * buffer.C (readBody, do_writeFile):
3032         * paragraph.C(readParagraph): \end_document replaces \the_end.
3033
3034 2003-07-29  André Pönitz  <poenitz@gmx.net>
3035
3036         * BufferView.[Ch]:
3037         * BufferView_pimpl.[Ch]:
3038         * lyxfunc.C:
3039         * text2.C:
3040         * text3.C:
3041         * textcursor.[Ch]: remove toggleToggle & Co
3042
3043 2003-07-28  José Matos  <jamatos@fep.up.pt>
3044
3045         * buffer.C (readParagraph):
3046         * params_func (readParToken, readParagraph):
3047         * paragraph.C (write): \layout -> \begin_layout.
3048
3049 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3050
3051         * lyxlex_pimpl.C (setFile): clean up slightly.
3052
3053         * bufferparams.h: add compressed var
3054
3055         * buffer_funcs.C (readFile): adjust for LyXLex change
3056         (newFile): ditto + simplify
3057
3058         * buffer.C (writeFile): handle writing of compressed files
3059
3060         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3061         Check if the file is compressed and set a bufferparm if so.
3062
3063         * Makefile.am (lyx_LDADD): remove explicit -lz
3064
3065 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3066
3067         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3068         makeDocBookFile): put the real LyX version in the first line of
3069         the file
3070
3071         * version.h:
3072         * version.C.in: remove lyx_docversion
3073
3074         * tabular.C (write_attribute): add a template-based version to
3075         write enums properly
3076
3077 2003-07-28  André Pönitz  <poenitz@gmx.net>
3078
3079         * lyxtext.h:
3080         * text.C:
3081         * text2.C:
3082         * text3.C: use doubles again for x-coordinates. They are needed.
3083
3084 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3085
3086         * messages.C (getLocaleDir): use lyx_localedir()
3087
3088         * lyxlex_pimpl.C (setFile): compress stuff
3089
3090         * buffer.C (writeFile): add some compression stuff
3091         (do_writeFile): new func, dont call expliti close... will this
3092         breake anything?
3093
3094         * Makefile.am (lyx_LDADD): add -lz
3095
3096 2003-07-28  José Matos  <jamatos@fep.up.pt>
3097
3098         * buffer.C: increment file format.
3099         * paragraph_funcs (readParagraph, readParToken):
3100         * paragraph.C (readParagraph): add \end_layout.
3101
3102 2003-07-27  Angus Leeming  <leeming@lyx.org>
3103
3104         * Makefile.am: remove special casing for configure-time setting of
3105         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3106
3107         * lyx_main.C (init): remove all Jean-Marc's magic setting of
3108         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3109
3110 2003-07-26  André Pönitz  <poenitz@gmx.net>
3111
3112         * paragraph_func.[Ch]:
3113         * paragraph.C (realizeFont): inline it whereever it is used
3114
3115         * rowpainter.C:
3116         * text.C:
3117         * text2.C:
3118         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3119
3120
3121 2003-07-26  André Pönitz  <poenitz@gmx.net>
3122
3123         *       lyxtext.h:
3124         * text.C:
3125         * text2.C: get rid of LyXText::need_break_row
3126
3127 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3128
3129         * toc.[Ch]: put namespace toc inside namespace lyx
3130
3131         * MenuBackend.C (expandToc2): adjust for lyx::toc
3132         (expandToc): ditto
3133
3134         * lyxfunc.C (dispatch): adjust for lyx::find
3135
3136         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3137         lyx::find instead. Reorganize a bit.
3138         (LyXReplace): rename to replace
3139         (LyXFind): rename to find
3140
3141         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3142         (dispatch): ditto
3143
3144 2003-07-26  André Pönitz  <poenitz@gmx.net>
3145
3146         * text.C (setHeightOfRow): restrict scope of temporary variable
3147
3148         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
3149           code (never has been used?)
3150
3151 2003-07-27  Asger Alstrup  <alstrup@local>
3152
3153         * text.C (fill): Optimise algorithm to exploit that we can reuse
3154         the LyXFont for many characters.
3155         (setHeightOfRow): Same thing.
3156         (rowBreakPoint): Same thing.
3157
3158 2003-07-26  Asger Alstrup  <alstrup@local>
3159
3160         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3161
3162         * text.C (singleWidth): Spurious font copying in hot-spot
3163         singleWidth avoided. Reorder tests for arabic for efficiency.
3164
3165         * text.C (fill): handle empty paragraphs better.
3166
3167 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3168
3169         * ispell.C:
3170         * encoding.h: add includes
3171
3172         * lyxrc.C: remove reading of bind files
3173
3174         * lyx_main.C (init): setup bindings and menus only if we have a
3175         gui.
3176
3177         * kbmap.C (read): new method. Do the actual reading of bind
3178         files.
3179
3180         * converter.C (dvipdfm_options):
3181         * bufferparams.C:
3182         * lyxrc.C (read):
3183         (output): adapt PAPER_* enums.
3184
3185         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3186
3187         * bufferparams.h: remove paper-related enums from there
3188
3189         * paper.h: New file. A trivial header file to hold paper-related
3190         enums. It should later expand to contain many paper-related
3191         horrors access.
3192
3193         * lyxrc.C: declare extern displayTranslator
3194
3195 2003-07-27  José Matos  <jamatos@fep.up.pt>
3196
3197         * tabular.[Ch] (linuxdoc): add support for tables and figures
3198         (linuxdoc).
3199
3200 2003-07-27  José Matos  <jamatos@fep.up.pt>
3201
3202         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3203         consistency in both functions.
3204         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3205
3206 2003-07-26  Asger Alstrup  <alstrup@local>
3207
3208         * rowpainter.C (paintRows): Change algorithm to work directly on
3209         the insets rather than asking every character in the document
3210         whether its an inset.
3211
3212 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
3213
3214         * buffer.C (openFileWrite): factorize some code
3215
3216 2003-07-26  Angus Leeming  <leeming@lyx.org>
3217
3218         * lyx_cb.C:
3219         * lyx_main.[Ch]: replace occurances of system_tempdir with
3220         os::getTmpDir().
3221
3222 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3223
3224         * rename Inset to InsetOld
3225
3226 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
3227
3228         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3229         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3230         which I think is a bit clearer. EDIT is gone, since it was
3231         premature optimisation, and broken for mathed anyway.
3232         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3233         with cursor positioning in insets as well (math insets still do not
3234         work, but that's a different story anyway.) It mysteriously
3235         crashes sometimes with undo in the first paragraph, but I'm fairly
3236         confident that this is a compiler bug.
3237
3238 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3239
3240         * paragraph.C (Paragraph): adjust for new clone return type
3241         (operator==): ditto
3242         (copyIntoMinibuffer): ditto
3243
3244 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
3245
3246         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3247         by not having a special case, and always doing a full rebreak of
3248         the document after undo.
3249
3250 2003-07-23  Angus Leeming  <leeming@lyx.org>
3251
3252         * factory.C (createInset): InsetExternal::setParams now takes a
3253         Buffer const * arg.
3254
3255 2003-07-23  Angus Leeming  <leeming@lyx.org>
3256
3257         * factory.C (createInset): changed interface to the external and
3258         graphics mailers' string2params functions.
3259
3260 2003-07-23  Angus Leeming  <leeming@lyx.org>
3261
3262         * factory.C (createInset): pass a
3263         Buffer const * parameter to InsetExternalMailer's string2params.
3264
3265 2003-07-22  John Levon  <levon@movementarian.org>
3266
3267         * Thesaurus.h: include the right aiksaurus header
3268
3269 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3270
3271         * MenuBackend.C (expand): check menu shortcuts unconditionally
3272
3273 2003-07-21  Angus Leeming  <leeming@lyx.org>
3274
3275         * factory.C (createInset): pass a
3276         buffer_path parameter to InsetGraphicsMailer's string2params.
3277
3278 2003-07-21  Angus Leeming  <leeming@lyx.org>
3279
3280         * BufferView_pimpl.C (buffer):
3281         * buffer.C (d-tor):
3282         * lyx_main.C (LyX):
3283         * lyxfunc.C (dispatch):
3284         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3285         rather than the grfx shortcut.
3286
3287 2003-07-21  André Pönitz  <poenitz@gmx.net>
3288
3289         * rowpainter.C: remove unused variables
3290
3291         * tabular_funcs.C:
3292         * tabular_funcs.h: move to tabular.C
3293         * Makefile.am: adjust
3294
3295         * tabular.[Ch]: basic optical cleaning
3296
3297         * author.h: pass references, not values
3298
3299 2003-07-18  André Pönitz  <poenitz@gmx.net>
3300
3301         * lyxtext.h:
3302         * metricsinfo.C:
3303         * metricsinfo.h:
3304         * rowpainter.C:
3305         * text.C:
3306         * text2.C:
3307         * text3.C: two-phase drawing for InsetText and InsetTabular
3308         some float -> int changes.
3309
3310 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3311
3312         * lyx_main.C: fix the fix
3313
3314 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3315
3316         * lyx_main.C: fix a crash in batch mode if no files specified
3317         * converter.C: ws
3318
3319 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
3320
3321         * format.[Ch] (papersize): moved to BufferParams
3322         * converter.[Ch] (dvips_options): moved to BufferParams
3323         (dvipdfm_options): moved to anon namespace
3324         * bufferparams.[Ch]: added above functions.
3325
3326 2003-07-17  André Pönitz  <poenitz@gmx.net>
3327
3328         * lyxtext.h:
3329         * rowpainter.C:
3330         * text2.C: don't call inset->update() anymore
3331
3332         * metricsinfo.[Ch]: add convenience constructor
3333
3334 2003-07-16  André Pönitz  <poenitz@gmx.net>
3335
3336         * lyxcursor.[Ch]:
3337         * lyxfunc.[Ch]:
3338         * text.C:
3339         * text2.C: replace the LyXCursor::irow_ member with
3340          on-demand computation of the value
3341
3342 2003-07-16  John Levon  <levon@movementarian.org>
3343
3344         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3345
3346 2003-07-15  André Pönitz  <poenitz@gmx.net>
3347
3348         * text.C:
3349         * text2.C: remove no more needed refresh_row
3350
3351 2003-07-15  André Pönitz  <poenitz@gmx.net>
3352
3353         * lyxtext.h:
3354         * rowpainter.C:
3355         * text2.C:
3356         * text3.C: refresh_status tristate -> need_update bool
3357
3358 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
3359
3360         * lyxtext.h (init): remove reinit argument (act as if always true)
3361         * text2.C: adjust to that
3362
3363 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3364
3365         * bufferview_funcs.[Ch]: introduce function replaceSelection()
3366         * text3.C: use it to delete selections in some cases
3367         (bugs 441, 673, 702, 954).
3368
3369 2003-07-14  André Pönitz  <poenitz@gmx.net>
3370
3371         * rowpainter.[Ch]: reduce interface
3372
3373 2003-07-14  André Pönitz  <poenitz@gmx.net>
3374
3375         * BufferView_pimpl.C:
3376         * text2.C: adjust after removing unused BufferView * argument
3377
3378 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
3379
3380         * text2.C (init): fix a crash fired on resize
3381
3382 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
3383
3384         * buffer.[Ch]: added new closing signal
3385         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3386         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3387         BufferView::Pimpl via the closing the signal
3388
3389 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
3390
3391         * buffer.[Ch]: take out all bv-related from buffer
3392         * BufferView.C:
3393         * BufferView_pimpl.[Ch]: connect to new signals
3394         * CutAndPaste.C: removed useless asserts
3395         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3396         * lyxvc.[Ch]:
3397         * vc-backend.[Ch]:
3398         * lyxfunc.C: moved view-related funciontality from vc here
3399         * paragraph.C: removed outdated comments
3400         * text.C: ws
3401
3402 2003-07-10  André Pönitz  <poenitz@gmx.net>
3403
3404         * BufferView_pimpl.C:
3405         * tabular.h:
3406         * tabular_funcs.C:
3407         * text.C:
3408         * text2.C: remove InsetText::InnerCache, clean up consequences
3409
3410 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
3411
3412         * ispell.C: fix two typos in error messages
3413
3414 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
3415
3416         * Extend Note inset to other forms of annotation like Comment
3417         and Greyedout. Right button click gives dialog.
3418
3419         Files modified or added (+):
3420
3421         * insetnote.[Ch]
3422         * FormNote.[Ch]      +
3423         * ControlNote.[Ch]   +
3424         * form_note.fd       +
3425         * Makefile.am in frontends/xforms, frontends/xforms/forms,
3426         frontends/controllers
3427         * xforms/Dialogs.C
3428         * factory.C
3429
3430 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3431
3432         * aspell.C: add missing namespace lyx::support
3433
3434 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
3435
3436         * BufferView.[Ch] (newFile): Add
3437         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3438         * LaTeX.[Ch] (message): added this signal and use it
3439         * buffer.[Ch] (busy, message): added these signals and use them
3440         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3441         * converter.C:
3442         * exporter.C:
3443         * format.C:
3444         * importer.C: use buffer signals instead of direct bv calling
3445         * lyx_cb.[Ch] (ShowMessage): removed
3446         * lyx_main.C:
3447         * lyxfunc.C:
3448         * paragraph_funcs.C:
3449         * text2.C: use buffer signals
3450
3451 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3452
3453         * introduce namespace lyx::graphics
3454
3455 2003-07-02  André Pönitz  <poenitz@gmx.net>
3456
3457         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3458
3459 2003-07-01  André Pönitz  <poenitz@gmx.net>
3460
3461         * text.C:
3462         * text2.C:
3463         * text3.C:
3464         * text_funcs.[Ch]:
3465         * textcursor.h:
3466         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3467           text*.C to text_func.C
3468
3469 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3470
3471         * introduce namespace lyx::support
3472
3473 2003-06-30  André Pönitz  <poenitz@gmx.net>
3474
3475         * Chktex.C:
3476         * funcrequest.C:
3477         * lyxtext.h:
3478         * text.C: re-enable --with-included-string
3479
3480 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3481
3482         * textcursor.C: add <config.h>
3483
3484         * text.C (getWord): remove const from word_location arg
3485
3486         * lyxvc.C (getLogFile): fix const type order
3487
3488         * lyxtext.h: remove const from word_location arg, add arg name
3489
3490         * lyxlayout.h: currect type on labeltype.
3491
3492         * importer.C: correct \file
3493
3494         * converter.C (intToFormat): use std:: on ret val, ws changes
3495
3496         * bufferlist.h: correct \file
3497
3498         * buffer.C (makeLinuxDocFile): fix const type order
3499         (makeDocBookFile): ditto
3500         (fillWithBibKeys): use std:: on stdlib args.
3501
3502         * CutAndPaste.C: fix authors.
3503         (availableSelections): use std:: on return vector
3504
3505 2003-06-27  André Pönitz  <poenitz@gmx.net>
3506
3507         * BufferView_pimpl.C:
3508         * bufferview_funcs.C:
3509         * lyxcursor.C:
3510         * lyxcursor.h:
3511         * lyxfunc.C:
3512         * lyxtext.h:
3513         * rowpainter.C:
3514         * text.C:
3515         * text2.C:
3516         * text3.C: remove LyXCursor::row_ member
3517
3518         * lyxtext.h:
3519         * text.C: rename fullRebreak() to partialRebreak() and implement
3520           a fullRebreak() that really bereks fully
3521
3522         * textcursor.h: new struct for cursor-related data
3523
3524 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
3525
3526         * lyx_main.C (LyX): get full path of document loaded on the
3527         command line
3528
3529 2003-06-26  André Pönitz  <poenitz@gmx.net>
3530
3531         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3532           remove unused/broken operator>,<,>=.
3533
3534         *       text.C: remove only use of broken operator<= in an Assert().
3535
3536 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3537
3538         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3539         moved errorlist_.clear to showErrorList
3540
3541 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3542
3543         * converter.C (scanLog, runLaTeX):
3544         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3545         move the bv->showErrorList call to the callers
3546         * lyxfunc.C: i.e. here...
3547         * text2.C: and here
3548         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3549         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3550         namespace, the second to...
3551         * buffer_funcs (BufferFormat, parseErrors): added
3552         * errorlist.C (ErrorList(TeXErrors const &)): removed
3553
3554 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3555
3556         * ToolbarBackend.C (getIcon): complain when icon cannot be found
3557
3558 2003-06-24  "Garst R. Reese" <reese@isn.net>
3559
3560         * debug.C: fix typo
3561
3562 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3563
3564         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3565
3566         * version.C.in: change docversion to 1.4
3567
3568 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
3569
3570         * buffer.C: fix a bug just introduced
3571
3572 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
3573
3574         * buffer.[Ch]: added the parseError signal and use it, removed
3575         sgmlError
3576         * BufferView.[Ch] (addError): moved to ...
3577         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3578         to the Buffer::parseError signal to catch (guess what) parse errors
3579         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3580
3581 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
3582
3583         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3584         ability to create a buffer and to return an existing one from
3585         the list. Moved these functions to...
3586         * buffer_funcs.[Ch]: added
3587         * BufferView.[Ch] (loadLyXFile): added
3588         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3589         job removed from bufferlist::loadLyXFile.
3590         * buffer.C (setReadOnly): make it work without view
3591         (i.e added an if (users))
3592
3593 2003-06-19  Angus Leeming  <leeming@lyx.org>
3594
3595         * lfuns.h:
3596         * LyXAction.C (init):
3597         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3598         with LFUN_DIALOG_SHOW <name> <data>.
3599
3600 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3601
3602         * CutAndPaste.C (availableSelections): small compilation fix for
3603         ancient (gcc 2.9x) compilers
3604
3605 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3606
3607         * text3.C (cursorNext): add tmp var
3608
3609         * text2.C (updateCounters): for function calling out of for clause
3610         (replaceSelectionWithString): ditto
3611         (insertStringAsParagraphs): ditto
3612         (getColumnNearX): add tmp var
3613         (setCursorFromCoordinates): add tmp var
3614         (cursorDownParagraph): add tmp var
3615         (deleteEmptyParagraphMechanism): add tmp var
3616
3617         * text.C (insertChar): add tmp var
3618
3619         * rowpainter.C (paintDepthBar): add tmp var
3620
3621         * CutAndPaste.C (availableSelections): potentially check all
3622         paragraphs in a cut to fill the shown strings.
3623
3624 2003-06-18  André Pönitz  <poenitz@gmx.net>
3625
3626         * kbmap.[Ch]: use vector<> instead of list<>
3627
3628 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
3629
3630         * text3.C (dispatch): handle arg to LFUN_PASTE, call
3631         pasteSelection with index
3632
3633         * text2.C (pasteSelection): modify, call pasteSelection with index
3634
3635         * paragraph.C (asString): reimplement version with no interval to
3636         call the one with interval.
3637
3638         * lyxtext.h: add index arg to pasteSelection
3639
3640         * MenuBackend.C (MenuItem): handle PasteRecent
3641         (Menu::read::Menutags): add md_pasterecent
3642         (read): handle it
3643         (expandPasteRecent): new function
3644         (expand): use it
3645
3646         * MenuBackend.h: add PasteRecent to MenuItem::Kind
3647
3648         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3649         the limited stack
3650         (availableSelections): new function
3651
3652 2003-06-17  Angus Leeming  <leeming@lyx.org>
3653
3654         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3655
3656 2003-06-17  Angus Leeming  <leeming@lyx.org>
3657
3658         * lfuns.h:
3659         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3660
3661         * lyxfunc.C (dispatch): invoke it.
3662
3663 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3664
3665         * iterators.C (operator++, ParPosition): reintroduce some
3666         const_cast for the benefit of older compilers.
3667
3668 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3669
3670         * text3.C (dispatch): do not modify clipboard when doing
3671         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3672         LFUN_DELETE_SKIP on a selection selection
3673
3674 2003-06-16  André Pönitz  <poenitz@gmx.net>
3675
3676         * BufferView.C:
3677         * buffer.C:
3678         * buffer.h:
3679         * paragraph.C:
3680         * tabular.[Ch]: IU of clone() and getLabelList();
3681
3682 2003-06-13  André Pönitz  <poenitz@gmx.net>
3683
3684         * tabular.h: compactification
3685
3686 2003-06-12  André Pönitz  <poenitz@gmx.net>
3687
3688         * tabular.C:
3689         * tabular.h:
3690         * tabular_funcs.h: some renaming plus whitespace
3691
3692 2003-06-12  André Pönitz  <poenitz@gmx.net>
3693
3694         * BufferView.C:
3695         * BufferView_pimpl.C:
3696         * CutAndPaste.C:
3697         * buffer.C:
3698         * iterators.[Ch]:
3699         * lyxfunc.C:
3700         * text.C:
3701         * toc.C: Return a Paragraph & for ParIterator::operator*()
3702
3703 2003-06-11  John Levon  <levon@movementarian.org>
3704
3705         * lyx_main.C:
3706         * ToolbarBackend.h:
3707         * ToolbarBackend.C: add "Toolbars" section and
3708         put the flags there
3709
3710 2003-06-10  Angus Leeming  <leeming@lyx.org>
3711
3712         * lfuns.h:
3713         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3714
3715         * lyxfunc.C (dispatch): invoke it.
3716
3717 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3718
3719         * main.C: protect <ios> with HAVE_IOS
3720         (main): protect sync_with_stdio with HAVE_IOS
3721
3722 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
3723
3724         * text2.C (cutSelection): adjust
3725         (pasteSelection): adjust
3726
3727         * messages.C: handle get of empty string
3728
3729         * main.C (main): use sync_with_stdio(false)
3730
3731         * lyxfunc.C (dispatch): adjust
3732
3733         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3734         (WriteAs): remove unneeded BufferView arg.
3735
3736         * bufferparams.h: use correct types on papersize, papersize2 and
3737         paperpackage.
3738
3739         * bufferparams.C (readToken): adjust for type
3740         (writeLaTeX): add missing cases to switch.
3741
3742         * bufferlist.C (quitWriteBuffer): adjust
3743         (close): adjust
3744
3745         * buffer.C (asciiParagraph): remove some commented code.
3746
3747         * CutAndPaste.C: remove current_view extern variable.
3748         (cutSelection): add BufferParams arg.
3749         (eraseSelection): add BufferParams arg.
3750         (pasteSelection): add Buffer const & arg
3751
3752 2003-06-07  John Levon  <levon@movementarian.org>
3753
3754         * buffer.C:
3755         * paragraph_funcs.C:
3756         * paragraph_pimpl.C:
3757         * text.C:
3758         * text2.C:
3759         * paragraph.h:
3760         * paragraph.C: allow InsetERT to freely space lines,
3761         and some consolidation of code
3762
3763 2003-06-06  José Matos  <jamatos@fep.up.pt>
3764
3765         * buffer.C (makeDocBookFile): fix bug #821
3766
3767 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
3768
3769         * BufferView_pimpl.C (dispatch): use Dialogs::visible
3770
3771 2003-06-04  Angus Leeming  <leeming@lyx.org>
3772
3773         * buffer.C: bump format to 224.
3774
3775 2003-06-05  André Pönitz  <poenitz@gmx.net>
3776
3777         * text2.C (redoParagraphs): remove two const_cast<>
3778
3779 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3780
3781         * ParagraphList.h: remove last remnants of NO_STD_LIST
3782
3783 2003-06-03  Angus Leeming  <leeming@lyx.org>
3784
3785         * factory.C (createInset): small change to the way InsetExternal's params
3786         are set.
3787
3788 2003-06-04  André Pönitz  <poenitz@gmx.net>
3789
3790         * buffer.h: use Undo directly instead of shared_ptr<Undo>
3791
3792         * paragraph_pimpl.h:
3793         * paragraph.[Ch]: some Inset -> UpdatableInset changes
3794
3795         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3796
3797         * undo_funcs.C: make some simple cases of undo work again
3798
3799 2003-06-03  John Levon  <levon@movementarian.org>
3800
3801         * ispell.C: HPUX doesn't have sys/select.h
3802         (from Albert Chin)
3803
3804 2003-06-03  John Levon  <levon@movementarian.org>
3805
3806         * CutAndPaste.C: update tabular and include inset
3807         buffer references
3808
3809         * buffer.h:
3810         * paragraph.h:
3811         * paragraph.C: remove owningBuffer(), don't pass Buffer
3812         to clone()
3813
3814         * factory.C: insetGraphicsParams changed
3815
3816 2003-06-02  John Levon  <levon@movementarian.org>
3817
3818         * LyXAction.C:
3819         * factory.C:
3820         * lfuns.h:
3821         * lyxfunc.C:
3822         * text3.C: remove insetparent
3823
3824 2003-06-02  John Levon  <levon@movementarian.org>
3825
3826         * buffer.h:
3827         * buffer.C: fix inset_iterator.end(), move out of line
3828         (bug 1149)
3829
3830 2003-06-01  John Levon  <levon@movementarian.org>
3831
3832         * text3.C: use a proper cut/paste when doing inset
3833         insert (from Jürgen Spitzmüller)
3834
3835 2003-06-01  John Levon  <levon@movementarian.org>
3836
3837         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3838
3839 2003-05-30  André Pönitz  <poenitz@gmx.net>
3840
3841         * rowpainter.C: unify second drawing phase
3842
3843 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3844
3845         * trans_mgr.C: remove one case of current_view
3846
3847         * text2.C (cursorBottom): delete NO_STD_LIST stuff
3848
3849         * paragraph_funcs.h: remove paragraph.h include
3850
3851         * paragraph.h: delete NO_STD_LIST stuff
3852
3853         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3854
3855         * buffer.h: remove paragraph.h include
3856
3857         * ParagraphList.C: delete file
3858
3859         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3860
3861         * toc.C (getTocList): adjust
3862
3863         * paragraph_pimpl.C (validate): adjust
3864
3865         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3866
3867         * paragraph.C (Paragraph): adjust
3868         (getPositionOfInset): use const_iterator, adjust
3869         (bibitem): use const_iterator, adjust
3870         (setInsetOwner): adjust
3871
3872         * iterators.C (operator++): adjust
3873
3874         * InsetList.[Ch]: Replace selfmade iterator with standard
3875         vector::iterator also introduce const_iterator. Remove getPos,
3876         getInset and setInset from InsetTable. Adjust accordingly.
3877
3878         * BufferView.C (lockInset): adjust
3879         (ChangeInsets): adjust
3880
3881         * tabular.[Ch]: delete commented same_id functions
3882
3883 2003-05-28  John Levon  <levon@movementarian.org>
3884
3885         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3886
3887 2003-05-28  André Pönitz  <poenitz@gmx.net>
3888
3889         * metricsinfo.[Ch]: remove 'fullredraw' member
3890
3891 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3892
3893         * lyxtextclass.C (operator): remove caching.
3894
3895 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3896
3897         * text3.C: adjust
3898
3899         * text2.C (cursorBottom): adjust
3900         (setCounter): use ParagraphList::find, adjust
3901
3902         * text.C (workWidth): use ParagraphList::find, adjust
3903
3904         * lyxcursor.C (LyXCursor): adjust
3905
3906         * buffer.C (inset_iterator): adjust
3907
3908         * ParagraphList.h: make iterator(value_type) private, make
3909         ParagraphList a friend of iterator.
3910
3911         * ParagraphList.C (find): new function
3912
3913         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3914
3915 2003-05-27  André Pönitz  <poenitz@gmx.net>
3916
3917         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3918
3919 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3920
3921         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3922
3923 2003-05-26  John Levon  <levon@movementarian.org>
3924
3925         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3926
3927 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3928
3929         * remove same_id from function signatures, adjust.
3930
3931 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3932
3933         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3934
3935         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3936
3937         * paragraph.C (Paragraph): get rid of same_ids parameter
3938
3939         * ParagraphList.C (insert): adjust
3940         (push_back): adjust
3941
3942 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3943
3944         * paragraph_funcs.C (breakParagraph): adjust
3945         (breakParagraphConservative): adjust
3946
3947         * buffer.C (readParagraph): adjust
3948
3949         * ParagraphList.C (insert): take a reference instead of a pointer
3950         (insert): adjust
3951
3952         * paragraph.[Ch] (id): new function
3953
3954         * bufferlist.C (newFile): adjust
3955
3956         * ParagraphList.C (ParagraphList): adjust
3957         (assign): adjust
3958         (push_back): take a reference instead of a pointer.
3959
3960         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3961
3962         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3963         instead.
3964
3965         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3966         set else use old code.
3967
3968         * ParagraphList.C: remove all NO_NEXT code and only compile this
3969         code of NO_STD_LIST is set.
3970
3971 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3972
3973         * BufferView_pimpl.C:
3974         * TextCache.C:
3975         * TextCache.h:
3976         * bufferlist.C:
3977         * errorlist.h:
3978         * format.C:
3979         * format.h:
3980         * graph.C:
3981         * lyxfunc.C:
3982         * lyxrc.C:
3983         * graphics/GraphicsConverter.C:
3984         * graphics/PreviewLoader.C: header adjustment
3985
3986 2003-05-23  Angus Leeming  <leeming@lyx.org>
3987
3988         * LaTeXFeatures.[Ch] (useBabel): new method.
3989         * bufferparams.C (writeLaTeX): use it.
3990
3991 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3992
3993         * ParagraphList.h (set): remove unused function.
3994
3995 2003-05-23  André Pönitz  <poenitz@gmx.net>
3996
3997         * BufferView.C:
3998         * BufferView_pimpl.C:
3999         * buffer.C:
4000         * buffer.h:
4001         * lyxfunc.C:
4002         * undo_funcs.C: setUndo reworked
4003
4004         * iterators.[Ch]: add access to topmost ParagraphList
4005
4006         * lyxtext.[Ch] (workWidth): add a const
4007
4008 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4009
4010         * texrow.[Ch] (increasePos): remove function
4011         * exporter.C (export): removed unused var and outdated comment
4012
4013 2003-05-23  Angus Leeming  <leeming@lyx.org>
4014
4015         * latexrunparams.h: rename fragile as moving_arg.
4016         * paragraph.C (simpleTeXOnePar): ditto.
4017         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4018
4019 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4020
4021         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4022         (createUndo): ditto
4023         (textUndoOrRedo): comment out a currently unused var.
4024
4025         * paragraph.h (NO_NEXT): enable NO_NEXT
4026
4027         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4028
4029         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4030
4031         * exporter.C (Export): adjust for removeAutoInsets removal.
4032
4033         * buffer.C (runChktex): adjust for removeAutoInsets removal.
4034
4035         * LyXAction.C (init): remove LFUN_REMOVEERRORS
4036
4037         * BufferView.[Ch] (removeAutoInsets): delete function
4038
4039 2003-05-22  Angus Leeming  <leeming@lyx.org>
4040
4041         * latexrunparams.h: add a free_spacing variable.
4042
4043         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4044         to pass moving_arg, as the data is stored in runparams.fragile.
4045
4046         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4047         to Inset::latexOptional or to simpleTeXOnePar.
4048
4049         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4050         free_spacing arg to Inset::latexOptional.
4051
4052         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4053         free_spacing arg.
4054
4055 2003-05-22  Angus Leeming  <leeming@lyx.org>
4056
4057         * latexrunparams.h: add fragile and use_babel variables.
4058
4059         * bufferparams.[Ch] (writeLaTeX): return use_babel.
4060         * buffer.C (makeLaTeXFile): store this returned value in
4061         runparams.use_babel, thus passing it to the inset::latex methods.
4062
4063         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4064         simpleTeXSpecialChars as it is now stored in runparams.fragile.
4065
4066         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4067         longer has a fragile arg, as it is stored in runparams.fragile.
4068
4069         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4070         moving_arg parameter as the data is stored in runparams.fragile.
4071
4072         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4073         a fragile parameter as the data is stored in runparams.fragile.
4074
4075 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4076
4077         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4078
4079 2003-05-22  Angus Leeming  <leeming@lyx.org>
4080
4081         * latexrunparams.h: add a 'bool nice' which defaults to false.
4082
4083         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4084         now encapsulated within runparams.
4085
4086         * bufferlist.C (updateIncludedTeXfiles):
4087         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4088
4089 2003-05-22  Angus Leeming  <leeming@lyx.org>
4090
4091         * latexrunparams.h: new file containing struct LatexRunParams.
4092         * Makefile.am: add new file.
4093
4094         * LaTeX.[Ch] (c-tor, run):
4095         * buffer.[Ch] (makeLaTeXFile):
4096         * bufferlist.[Ch] (updateIncludedTeXfiles):
4097         * converter.C (convert, scanLog):
4098         * converter.[Ch] (runLaTeX):
4099         * exporter.C (Export):
4100         * paragraph.[Ch] (simpleTeXOnePar):
4101         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4102         * paragraph_funcs.[Ch] (latexParagraphs):
4103         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4104         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4105         pass around a LatexRunParams parameter.
4106
4107 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4108
4109         * paragraph.[Ch]: remove unused constructor
4110
4111         * ParagraphList.C (erase): new function, taking two iterators
4112
4113 2003-05-22  André Pönitz  <poenitz@gmx.net>
4114
4115         * undo_funcs.C: remove duplicated code
4116
4117         * iterator.[Ch]: operator=
4118
4119 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4120
4121         * tabular.C (SetMultiColumn): ws changes
4122
4123         * rowpainter.C (paintFirst): get rid of a ->previous
4124
4125         * lyx_cb.C (getPossibleLabel): parlist simplification
4126
4127         * BufferView.C (ChangeInsets): simplify slightly.
4128
4129 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4130
4131         * LyXAction.C: new lfun space-insert, kill protected-space-insert
4132         * lfuns.h: new LFUN_SPACE
4133         * lyxfunc.C: protected space has a new lfun
4134         * paragraph_funcs.C: read new space insets
4135         * text3.C:
4136         * factory.C: handle new space insets
4137
4138 2003-05-22  André Pönitz  <poenitz@gmx.net>
4139
4140         * BufferView.C:
4141         * BufferView_pimpl.C:
4142         * buffer.[Ch]:
4143         * lyxfunc.C:
4144         * undo_funcs.C: return a ParIterator from getParFromID.
4145
4146         * iterators.[Ch]: add two const's
4147
4148 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4149
4150         * toc.C (getTocList): adjust
4151
4152         * iterators.[Ch]: rework for parlist
4153
4154         * buffer.C (par_iterator_begin): adjust
4155         (par_iterator_end): adjust
4156
4157         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4158
4159         * BufferView.C (removeAutoInsets): adjust
4160         (ChangeInsets): adjust
4161
4162 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
4163
4164         * text.C (top_y): fix bug 1110
4165
4166 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
4167
4168         * errorlist.[Ch]: added
4169         * buffer.C:
4170         * BufferView.[Ch]:
4171         * BufferView_pimpl.C:
4172         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4173         instead
4174
4175 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4176
4177         * Makefile.am: ensure that lyx is relinked upon changes to the
4178         various "convenience" libs.
4179
4180 2003-05-20  Angus Leeming  <leeming@lyx.org>
4181
4182         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4183         files are compiled in alphabetical order again.
4184
4185         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4186
4187 2003-05-19  Angus Leeming  <leeming@lyx.org>
4188
4189         * gettext.[Ch]: remove "char const * _(char const *)".
4190
4191 2003-05-19  André Pönitz  <poenitz@gmx.net>
4192
4193         * dimension.[Ch]: promote from mathed/dimension.[Ch]
4194
4195         * Makefile.am:
4196         * BufferView.C:
4197         * DepTable.h:
4198         * LaTeXFeatures.C:
4199         * buffer.C:
4200         * lyxfont.C:
4201         * lyxlex.h:
4202         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4203
4204 2003-05-19  André Pönitz  <poenitz@gmx.net>
4205
4206         * buffer.C:
4207         * lyxlayout.[Ch]:
4208         * lyxtextclass.[Ch]:
4209         * paragraph.C:
4210         * paragraph_funcs.[Ch]:
4211         * text2.C:
4212         * text3.C: more insetenv work
4213
4214 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
4215
4216         * ParagraphParameters.C (params2string): small bug fixed
4217
4218 2003-05-16  André Pönitz  <poenitz@gmx.net>
4219
4220         * debug.C:
4221         * bufferview_funcs.C: patch from Kornel Benko to prevent
4222           crash when _(...) is called twice in a statement
4223
4224 2003-05-16  André Pönitz  <poenitz@gmx.net>
4225
4226         * BufferView.C:
4227         * lyxfunc.C:
4228         * text.C:
4229         * text2.C:
4230         * text3.C:
4231         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4232
4233 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
4234
4235         * lyx_main.C (init): remove spurious static_cast
4236
4237 2003-05-14  André Pönitz  <poenitz@gmx.net>
4238
4239         * BufferView.C: fix format string
4240
4241 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
4242
4243         * BufferView.[Ch] (insertErrors): removed
4244         * BufferView.[Ch] (showErrorList): added
4245         * buffer.C (runChkTeX):
4246         * converter.C (scanLog): call showErrorList instead of inserterrors
4247
4248 2003-05-13  André Pönitz  <poenitz@gmx.net>
4249
4250         * BufferView_pimpl.C:
4251         * buffer.C:
4252         * bufferview_func.C:
4253         * MenuBackend.C:
4254         * lyxfunc.C:
4255         * lyxrc.C:
4256         * tex-accent.C:
4257         * text3.C:
4258         * toc.C:
4259         * tabular_funcs.h: tostr() from its own header
4260
4261         * ParagraphParameters.C:
4262         * ToolbarBackend.C:
4263         * bufferparams.C:
4264         * format.C:
4265         * lyxlex_pimpl.C:
4266         * text3.C: STRCONV()
4267
4268 2003-05-12  André Pönitz  <poenitz@gmx.net>
4269
4270         * BufferView.C:
4271         * BufferView_pimpl.C:
4272         * CutAndPaste.C:
4273         * LaTeX.C:
4274         * LaTeXFeatures.C:
4275         * ParagraphParameters.C:
4276         * buffer.C:
4277         * bufferlist.C:
4278         * bufferparams.C:
4279         * bufferview_funcs.C:
4280         * converter.C:
4281         * counters.C:
4282         * debug.C:
4283         * exporter.C:
4284         * format.C:
4285         * importer.C:
4286         * lyx_cb.C:
4287         * lyx_main.C:
4288         * lyxfont.C:
4289         * lyxfunc.C:
4290         * lyxvc.C:
4291         * paragraph.C:
4292         * paragraph_funcs.C:
4293         * tabular.C:
4294         * tabular_funcs.C:
4295         * text2.C:
4296         * text3.C:  boost::format -> bformat  all over the place
4297
4298
4299 2003-05-09  André Pönitz  <poenitz@gmx.net>
4300
4301         * LColor.[Ch]: Pimpl the #include <map> away
4302
4303 2003-05-09  John Levon  <levon@movementarian.org>
4304
4305         * bufferlist.C: never remove emergency saves
4306
4307 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4308
4309         * Makefile.am: better lib building
4310
4311 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4312
4313         * texrow.[Ch]: remove dependency on Paragraph and just store a id
4314         instead.
4315         * paragraph_pimpl.C (simpleTeXBlanks): adjust
4316         (simpleTeXSpecialChars): adjust
4317         (simpleTeXSpecialChars): adjust
4318         * paragraph.C (simpleTeXOnePar): adjust
4319         * buffer.C (makeLaTeXFile): adjust
4320
4321         * Makefile.am (BOOST_LIBS): allow boost as system lib.
4322
4323         * text2.C (changeDepth): parlist cleanup
4324         (getColumnNearX): ditto
4325
4326         * rowpainter.C (getLabelFont): parlist cleanup
4327
4328         * bufferlist.C (newFile): parlist cleanup
4329
4330         * CutAndPaste.C (eraseSelection): parlist cleanup
4331
4332         * BufferView_pimpl.C (trackChanges): parlist cleanup
4333         (dispatch): ditto
4334
4335         * BufferView.C (lockInset): parlist cleanup.
4336         (ChangeInsets): ditto
4337
4338 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4339
4340         * CutAndPaste.h: Update file header.
4341
4342         * CutAndPaste.C: Update file header.
4343         Store the parts cut out of the Document in a limited_stack.
4344         (copySelection): adjust
4345         (pasteSelection): new function, takes the index in the limited stack.
4346         (nrOfParagraphs): adjust
4347         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4348         simplify error inset insertion.
4349         (checkPastePossible): adjust
4350
4351 2003-05-06  John Levon  <levon@movementarian.org>
4352
4353         * text2.C: don't cast wrap inset to float
4354
4355 2003-05-05  André Pönitz  <poenitz@gmx.net>
4356
4357         * iterator.C:
4358         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4359
4360         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4361           few naked Paragraph *.
4362
4363 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
4364
4365         * bufferparams.C: Output warning if a document with missing
4366         TeX document class is loaded
4367         * exporter.C: Disable TeX exports if the document class is missing
4368         * lyxtextclass.C:
4369         * lyxtextclass.h:
4370         * lyxtextclasslist.C: Handle new textclass.lst format; new method
4371         isTeXClassAvailable()
4372
4373 2003-05-03  John Levon  <levon@movementarian.org>
4374
4375         * BufferView.h:
4376         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4377         explicit cursor show/hide
4378
4379         * BufferView_pimpl.h:
4380         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4381         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4382
4383         * lyxfunc.C: hide cursor before dispatching.
4384
4385         * lyx_cb.C:
4386         * lyxfind.C:
4387         * text.C:
4388         * text3.C: remove explicit cursor hides
4389
4390 2003-05-02  André Pönitz  <poenitz@gmx.net>
4391
4392         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4393
4394         * undo_funcs.C:
4395         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4396           linked lists
4397
4398         * text2.C: tiny whitespace
4399
4400 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4401
4402         * undo_funcs.C: almost only ws changes.
4403
4404         * ParagraphList.C (splice): just return if pl is empty.
4405
4406 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4407
4408         * ParagraphList.C (splice): new function.
4409
4410         * CutAndPaste.C (pasteSelection): use it
4411
4412 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4413
4414         * CutAndPaste.C (pasteSelection): remove the last next and
4415         previous from this file.
4416
4417 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4418
4419         * CutAndPaste.C (pasteSelection): more clean up, user proper
4420         ParagraphList functions for pasteing.
4421
4422         * ParagraphList.C (insert): new function, three arg insert
4423
4424 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4425
4426         * ParagraphList.C (insert): new function, three arg insert
4427
4428         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4429         not on paragraphs.
4430
4431 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4432
4433         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4434
4435 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4436
4437         * CutAndPaste.C (pasteSelection): remove some unneeded code.
4438
4439 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4440
4441         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4442         (copySelection): clean up a bit.
4443         (pasteSelection): use make_pair
4444
4445         * ParagraphList.C (ParagraphList): implement copy constructor
4446         (operator=): implement, base on copy constructor.
4447         (assign): new func
4448
4449         * paragraph.C (erase): return a bool
4450
4451         * paragraph_pimpl.C (erasePos): remove function, move contents...
4452         (erase): ... here. Return a bool.
4453         (erase): call erase instead of erasePos.
4454
4455 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
4456
4457         * ParagraphList.h: define PitPosPair
4458         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4459         ParagraphList, fix a bug on pasting multiple pars
4460         * text2.C: change interface to C&P
4461
4462 2003-04-30  André Pönitz  <poenitz@gmx.net>
4463
4464         * undo_func.C: revert part of yesterday's patch 2
4465
4466 2003-04-30  John Levon  <levon@movementarian.org>
4467
4468         * LColor.C: s/tabular/table/
4469
4470 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4471
4472         * text3.C (dispatch): do not convert iterator -> pointer
4473         * undo_funcs.C (setCursorParUndo): ditto
4474         * text_funcs.C (transposeChars): ditto
4475
4476         * text2.C (setLayout): ws changes only
4477
4478         * text.C (breakParagraph): do not convert iterator -> pointer
4479         (insertChar): ditto
4480         (acceptChange): ditto
4481         (rejectChange): ditto
4482         (changeCase): ditto
4483         (Delete): ditto
4484         (backspace): ditto
4485
4486         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4487         pointer
4488
4489 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4490
4491         * text3.C (gotoInset): YABG (yet another bad getChar)
4492
4493 2003-04-29  André Pönitz  <poenitz@gmx.net>
4494
4495         * paragraph.h: make operator= private unimplemented as long as
4496           it is unusable
4497
4498         * ParagraphList.C: whitespace
4499
4500         * paragraph.[Ch]:
4501         * paragraph_pimpl.[Ch]:
4502         * paragraph_funcs.C:
4503         * CutAndPaste.C:
4504         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
4505
4506         * text2.C:
4507           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4508
4509 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4510
4511         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4512         * paragraph.[Ch] (erase):
4513         * paragraph_pimpl.[Ch] (erase): change return type and value
4514         * text2.C (cutSelection): some rework
4515
4516 2003-04-28  John Levon  <levon@movementarian.org>
4517
4518         * bufferlist.C: changes for unsaved changes dialog
4519
4520 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4521
4522         * bufferlist.C (newFile): set language (messages_) for new
4523         documents also.
4524
4525         * buffer.C (readFile): ws changes only.
4526
4527 2003-04-28  André Pönitz  <poenitz@gmx.net>
4528
4529         * undo_funcs.C:
4530         * lyxfunc.C:
4531         * buffer.[Ch]:
4532         * BufferView_pimpl.C:
4533         * BufferView.C: getParFromID related ParagraphList::iterator changes
4534
4535 2003-04-28  André Pönitz  <poenitz@gmx.net>
4536
4537         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4538           Changes
4539
4540 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4541
4542         * messages.C: remove one more localedir class variable.
4543
4544 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4545
4546         * messages.C (getLocaleDir): singleton generation function
4547         (Pimpl): use it.
4548         (Messages): add a default constructor.
4549
4550         * main.C (main): do not setup localedir here, do not call
4551         gettext_init.
4552
4553         * gettext.C (_): use it.
4554         (gettext_init): delete funciton
4555
4556 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4557
4558         * gettext.C (getLyXMessages): new singleton generating function.
4559
4560         * buffer.C (updateDocLang): adjust
4561
4562         * Makefile.am (messages.o): add target
4563         (main.o): remove target
4564
4565 2003-04-27  John Levon  <levon@movementarian.org>
4566
4567         * bufferlist.C:
4568         * lyx_cb.C:
4569         * lyxfunc.C:
4570         * lyxvc.C: specify cancel button in Alert::prompt
4571
4572 2003-04-26  John Levon  <levon@movementarian.org>
4573
4574         * text3.C:
4575         * lyxfunc.C:
4576         * lfuns.h:
4577         * LyXAction.C: add LFUN_INSET_SETTINGS
4578
4579         * lyxfunc.C: don't enable tabular-feature when there's
4580         just any locking inset
4581
4582 2003-04-26  John Levon  <levon@movementarian.org>
4583
4584         * bufferlist.C: re-add Cancel to buffer close question
4585
4586         * lyxfunc.C: fix import UI a bit
4587
4588 2003-04-25  John Levon  <levon@movementarian.org>
4589
4590         * gettext.C: remove the broken asserts for now
4591
4592 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4593
4594         * messages.C: make case where setlocale cannot comply work better.
4595
4596         * buffer.C (updateDocLang): new function
4597         (changeLanguage): use it
4598         (readFile): use it
4599
4600         * text2.C (setCounter): use B_ a bit.
4601
4602         * lyxlayout.C (Read): be sure to trim the label strings.
4603
4604         * messages.C (Messages): fix typo in comment
4605
4606         * buffer.C (readFile): set message_ after file is loaded.
4607         (makeDocBookFile): remove double return
4608         (changeLanguage): reset message_ upon language change.
4609         (B_): new func, use this to get translated buffer strings.
4610
4611         * main.C: add myself and Jean Marc as authors.
4612
4613 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4614
4615         * messages.[hC]: pimplify Messages, and three different pimpls to be
4616         used in different circumstances.
4617
4618         * gettext.[Ch]: change for use with new message code.
4619
4620 2003-04-24 André Pönitz <poenitz@gmx.net>
4621
4622         * factory.C: support for eqref
4623
4624 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4625
4626         * messages.[Ch]: add missing char
4627
4628         * Makefile.am (lyx_SOURCES): add messages.[Ch]
4629
4630         * messages.[Ch]: New files
4631
4632 2003-04-18  John Levon  <levon@movementarian.org>
4633
4634         * BufferView.h:
4635         * BufferView.C:
4636         * BufferView_pimpl.C:
4637         * lfuns.h:
4638         * LyXAction.C:
4639         * lyxtext.h:
4640         * text2.C: remove layout-copy/paste (bug 778)
4641
4642 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4643
4644         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4645
4646 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4647
4648         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4649         if they succeed. Act accordingly.
4650
4651 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4652
4653         * text2.C (setCharFont): adjust
4654         (setCounter): adjust
4655         (insertStringAsLines): adjust
4656
4657         * text.C (leftMargin): adjust
4658         (setHeightOfRow): adjust
4659
4660         * rowpainter.C (paintFirst): adjust
4661         (paintLast): adjust
4662
4663         * paragraph_funcs.C (depthHook): ParagraphList::iterators
4664         (outerHook): ditto
4665         (isFirstInSequence): ditto
4666         (getEndLabel): ditto
4667         (outerFont): adjust
4668
4669         * paragraph.C (getParLanguage): comment out some hard stuff.
4670
4671         * buffer.C (insertStringAsLines): take a ParagraphList as arg
4672         (sgmlError): ditto
4673         (simpleDocBookOnePar): ditto
4674         (makeDocBookFile): use ParagraphList::iterator
4675
4676         * CutAndPaste.C (pasteSelection): adjust
4677
4678 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4679
4680         * text2.C (getFont): adjust
4681         (getLayoutFont): adjust
4682         (getLabelFont): adjust
4683
4684         * paragraph_funcs.C (TeXOnePar): adjust
4685
4686         * buffer.C (simpleLinuxDocOnePar): adjust
4687         (simpleDocBookOnePar): adjust
4688
4689         * CutAndPaste.C (pasteSelection): adjust
4690
4691         * BufferView.C (getEncoding): adjust
4692
4693         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4694
4695 2003-04-16  John Levon  <levon@movementarian.org>
4696
4697         * lyxfind.C: use parlist stuff for search/changes
4698
4699 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4700
4701         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4702
4703         * text2.C (deleteEmptyParagraphMechanism): adjust
4704
4705         * text2.[Ch] (ownerParagraph): delete func (both of them
4706
4707 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4708
4709         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4710
4711 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4712
4713         * ParagraphList.C: prepare for NO_NEXT
4714
4715 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4716
4717         * text2.C (getFont): adjust
4718         (getLayoutFont): adjust
4719         (getLabelFont): adjust
4720
4721         * paragraph.C (getFont): adjust
4722         (getLabelFont): adjust
4723         (getLayoutFont): adjust
4724
4725         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4726
4727 2003-04-15  John Levon  <levon@movementarian.org>
4728
4729         From Angus Leeming
4730
4731         * lyx_main.C: handle Include in .ui files
4732
4733 2003-04-15  John Levon  <levon@movementarian.org>
4734
4735         * MenuBackend.C: make the doc files length shorter
4736
4737         * ToolbarBackend.h:
4738         * ToolbarBackend.C: handle toolbar placement flags,
4739         Minibuffer
4740
4741 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4742
4743         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4744         adjust
4745
4746         * paragraph_funcs.C (TeXOnePar): adjust
4747
4748         * paragraph.C (getLabelFont): add outerfont arg, adjust
4749         (getLayoutFont): ditto
4750         (simpleTeXOnePar): adjust
4751
4752         * paragraph_pimpl.C (realizeFont): delete func
4753
4754 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
4755
4756         * text2.C (beforeFullRowInset): added a bad getchar check, removed
4757         row argument, constify cur argument.
4758
4759 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4760
4761         * text2.C (getFont): adjust
4762         (getLayoutFont): adjust
4763         (getLabelFont): adjust
4764
4765         * paragraph_funcs.C (TeXOnePar): adjust
4766         (outerFont): new func...
4767         (realizeFont): ...moved out from here, changed this to facilitate
4768         transition
4769
4770         * paragraph.C (getFont): take outerfont as arg, adjust
4771         (simpleTeXOnePar): add outerfont arg, adjust
4772
4773         * buffer.C (simpleLinuxDocOnePar): adjust
4774         (simpleDocBookOnePar): adjust
4775
4776         * CutAndPaste.C (pasteSelection): adjust
4777
4778         * BufferView.C (getEncoding): adjust
4779
4780 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4781
4782         * text2.C (setCharFont): adjust
4783         (setCounter): adjust
4784
4785         * text.C (leftMargin): adjust
4786         (setHeightOfRow): adjust
4787
4788         * rowpainter.C (paintFirst): adjust
4789         (paintLast): adjust
4790
4791         * paragraph_pimpl.C (realizeFont): adjust
4792
4793         * paragraph.C (isFirstInSequence): move from here...
4794         * paragraph_funcs.C (isFirstInSequence): ...to here
4795
4796         * paragraph.C (outerHook): move from here...
4797         * paragraph_funcs.C (outerHook): ...to here
4798
4799         * paragraph.C (depthHook): move from here...
4800         * paragraph_funcs.C (depthHook): ...to here
4801
4802         * paragraph.C (getEndLabel): move from here...
4803         * paragraph_funcs.C (getEndLabel): ...to here
4804
4805         * text2.C (realizeFont): move from here...
4806         * paragraph_funcs.C (realizeFont): ...to here
4807
4808 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4809
4810         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4811
4812 2003-04-14  Angus Leeming  <leeming@lyx.org>
4813
4814         * LColor.[Ch]: scrap LColor mathcursor.
4815
4816 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4817
4818         * lyxlex.[Ch] (text): delete function
4819         * trans.C (Load): adjust
4820         * paragraph_funcs.C (readParToken): adjust
4821
4822 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4823
4824         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4825         vector<char> instead of a char[].
4826
4827         * lyxlex_pimpl.C (getString): adjust
4828         (next): adjust
4829         (lex): use getString
4830         (eatLine): adjust
4831         (nextToken): adjust
4832
4833         * lyxlex.C (text): use pimpl_->getString()
4834         (getBool): ditto
4835         (findToken): ditto
4836
4837 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4838
4839         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4840         (makeFontEntriesLayoutSpecific): temp var for par.size()
4841         (setLayout): temp var for ownerParagraphs().end()
4842         (fullRebreak): temp var for rows().end()
4843         (selectionAsString): temp var for boost::next(startpit), realize
4844         that the while really is a regular for loop.
4845         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4846         setCursor in one place.
4847         (setParagraph): temp vr for ownerParagraphs().end()
4848         (updateCounters): make the while loop a for loop
4849         (cutSelection): temp var for ownerParagraphs().end()
4850         (updateInset): make the do {} while() a regular for loop
4851         (getCursorX): use temp vars
4852         (setCurrentFont): use temp vars
4853         (getColumnNearX): use temp vars
4854
4855 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4856
4857         * text.C (transformChar): use temp var for getChar
4858         (computeBidiTables): use temp var for row->par()
4859         (fill): move temp vars for row->par() and pit->layout() earlier in
4860         the function.
4861         (labelFill): use temp var for row->par()
4862         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4863         asc and desc, realize that pit never changes and that firstpit is
4864         just a duplicate and not needed. Exchange rit->par() with pit in a
4865         lot of places.
4866         (breakAgain): use a temp var for boost::next(rit)
4867         (breakAgainOneRow): ditto
4868         (breakParagraph): use a temp var for rows().begin()
4869         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4870         (cursorRightOneWord): use temp var for cursor.par() and
4871         cursor.pos(), remove usage of tmpcursor.
4872         (cursorLeftOneWord): use temp var for cursor.par() and
4873         cursor.pos() only set cur at end of function.
4874
4875 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4876
4877         * text.C, text2.C: exchange all usage of Paragraph::next with
4878         boost::next(ParagraphList::iterator)
4879
4880         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4881
4882         * text2.C (cursorTop): simplify implementation
4883         (cursorBottom): ditto
4884         (setParagraph): use ParagraphList::iterator
4885         (setCurrentFont): adjust
4886         (getColumnNearX): adjust
4887         (cursorRight): adjust
4888         (cursorLeft): remove usage of Paragraph::previous
4889         (cursorUpParagraph): ditto
4890         (deleteEmptyParagraphMechanism): slight cleanup
4891
4892         * text.C (isBoundary): take a Paragraph const & instead of a
4893         pointer as arg.
4894         (addressBreakPoint): ditto
4895         (leftMargin): remove usage of Paragraph::previous.
4896         (setHeightOfRow): ditto
4897         (cursorLeftOneWord): ditto
4898         (selectNextWordToSpellcheck): ditto
4899         (Delete): ditto
4900         (backspace): ditto
4901         (breakParagraph): remove one usage of Paragraph::next
4902         (redoParagraph): ditto
4903         (acceptChange): ditto
4904         (insertChar): adjust
4905         (rowBreakPoint): adjust
4906
4907         * bufferview_funcs.C (toggleAndShow): adjust
4908
4909 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4910
4911         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4912         methods to access it.
4913         * lyxtext.h:
4914         * text.C: Added updateRowPositions to compute all row positions.
4915         Make top_y and getRowNearY() to use the cached y position
4916
4917 2003-04-11  John Levon  <levon@movementarian.org>
4918
4919         * text.C (rowBreakPoint): reintroduce the labelEnd
4920         checks, code copied from the row fill stuff. Deep voodoo.
4921
4922         * text.C (fill): add a comment and debugging for the
4923         next poor soul.
4924
4925 2003-04-11  John Levon  <levon@movementarian.org>
4926
4927         * text.C: make sure fullrow insets get wrapped to the next line,
4928         even when they're in a manual label
4929
4930 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4931
4932         * text2.C (insertParagraph): make it take ParagraphList::iterator
4933         as arg.
4934         (setLayout): make it return ParagraphList::iterator
4935         (redoParagraphs): ditto
4936         (setCounter): ditto
4937         (checkParagraph): ditto
4938
4939         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4940
4941         * text2.C: adjust several funcs.
4942         (realizeFont): take a ParagraphList::iterator as arg.
4943         (getLayoutFont): ditto
4944         (getLabelFont): ditto
4945         (setCharFont): ditto
4946
4947         * text.C: adjust several funcs.
4948
4949 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4950
4951         * text.C (selectNextWordToSpellcheck): don't accidentally
4952         skip insets
4953
4954 2003-04-10  John Levon  <levon@movementarian.org>
4955
4956         * ToolbarBackend.C (getIcon): special handling for
4957         LFUN_MATH_DELIM
4958
4959 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4960
4961         * text2.C (cursorRight): a getChar assert fixed
4962
4963 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4964
4965         * text2.C (getFont): change to take a ParagraphList::iterator
4966         instead of Paragraph*
4967         Adjust several functions.
4968
4969         * text.C (transformChar): change to take a ParagraphList::iterator
4970         instead of Paragraph*
4971         (singleWidth): ditto
4972         Adjust several functions.
4973
4974         * rowpainter.C: adjust several functions
4975         * rowpainter.h:store a ParagraphList::iterator and not a
4976         Paragraph&.
4977
4978
4979 2003-04-09  John Levon  <levon@movementarian.org>
4980
4981         * lyxfunc.C:
4982         * lfuns.h:
4983         * LyXAction.h:
4984         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4985         and the "help" bits as well
4986
4987 2003-04-09  John Levon  <levon@movementarian.org>
4988
4989         * ToolbarBackend.h:
4990         * ToolbarBackend.C: allow multiple toolbars
4991
4992 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4993
4994         * undo_funcs.C (setCursorParUndo): adjust
4995
4996         * text_funcs.C (transposeChars): adjust
4997
4998         * text3.C (gotoNextInset): adjust
4999         (dispatch): adjust
5000
5001         * text2.C (setLayout): adjust
5002         (changeDepth): adjust
5003         (setFont): adjust
5004         (redoParagraphs): adjust
5005         (selectionAsString): adjust
5006         (setParagraph): adjust
5007         (insertInset): adjust
5008         (cutSelection): adjust
5009         (copySelection): adjust
5010         (pasteSelection): adjust
5011         (insertStringAsLines): adjust
5012         (updateInset): adjust
5013         (setCursor): change to take a ParagraphList::iterator parameter
5014         (setCursorIntern): change to take a ParagraphList::iterator parameter
5015         (setCurrentFont): adjust
5016         (cursorLeft): adjust
5017         (cursorRight): adjust
5018         (deleteEmptyParagraphMechanism): adjust
5019
5020         * text.C (breakParagraph): adjust
5021         (insertChar): adjust
5022         (acceptChange): adjust
5023         (rejectChange): adjust
5024         (selectNextWordToSpellcheck): adjust
5025         (changeCase): adjust
5026         (Delete): adjust
5027         (backspace): adjust
5028
5029         * lyxfind.C (SearchForward): adjust
5030         (SearchBackward): adjust
5031         (nextChange): adjust
5032
5033         * lyxcursor.C (par): adjust
5034
5035         * lyxcursor.h: store a ParagraphList::iterator instead of a
5036         Paragraph*
5037
5038         * lyx_cb.C (getPossibleLabel): adjust
5039
5040         * bufferview_funcs.C (toggleAndShow): adjust
5041
5042         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5043         (dispatch): adjust
5044
5045         * BufferView.C (removeAutoInsets): adjust
5046         (lockedInsetStoreUndo): adjust
5047
5048 2003-04-09  John Levon  <levon@movementarian.org>
5049
5050         * ToolbarBackend.C: try icon without argument
5051         if with argument fails
5052
5053 2003-04-08  John Levon  <levon@movementarian.org>
5054
5055         * ToolbarBackend.h:
5056         * ToolbarBackend.C: add getIcon(), handle tooltip,
5057         and change from "Icon" to "Item".
5058
5059 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5060
5061         * BufferView.C (lockInset): another bad getchar crunched
5062
5063 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5064
5065         * text2.C (changeDepth): do not setUndo on test_only (make undo work
5066         again)
5067
5068 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
5069
5070         * lyxfind.C (searchForward, searchBackwards): bug 782
5071
5072 2003-04-07  John Levon  <levon@movementarian.org>
5073
5074         * paragraph.C: remove dead comment
5075
5076         * text.C: remove troublesome depth-fiddling code
5077         in leftMargin() and rightMargin() (bug 1017)
5078
5079         * text.C: fix breaking of rows in nested lists
5080         (bug 1004)
5081
5082         * text2.C (updateCounters): fix up depth values
5083         (bug 1013)
5084
5085 2003-04-07  John Levon  <levon@movementarian.org>
5086
5087         * BufferView_pimpl.C: clear message when doc finishes resizing,
5088         and after a mouse event
5089
5090         * lyxfunc.C: clear message after exiting inset
5091
5092 2003-04-07  John Levon  <levon@movementarian.org>
5093
5094         * bufferview_funcs.C: show math status not outside
5095         status in the statusbar
5096
5097 2003-04-07  John Levon  <levon@movementarian.org>
5098
5099         * lyxfunc.C: note status changed after a depth change
5100
5101 2003-04-04  Angus Leeming  <leeming@lyx.org>
5102
5103         * LaTeX.h: move AuxInfo operator==, != out of line.
5104         Remove LaTeX virtual destructor; nothing derives from it.
5105         Move operator()() out of public area and rename it startscript().
5106         Change protected for private.
5107
5108 2003-04-04  Angus Leeming  <leeming@lyx.org>
5109
5110         * lyxfunc.C:
5111         * text2.C: remove unneeded #includes.
5112
5113 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5114
5115         * text2.C (dEPM): fix the heigth of the next row
5116
5117 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5118
5119         * text.C: squashed an invalid getChar requester + some ws changes
5120
5121 2003-04-03  John Levon  <levon@movementarian.org>
5122
5123         * bufferview_funcs.h:
5124         * bufferview_funcs.C:
5125         * lyxfunc.C:
5126         * lyxtext.h:
5127         * text2.C: make getStatus work for the env depth lfuns
5128
5129 2003-04-03  John Levon  <levon@movementarian.org>
5130
5131         * bufferview_funcs.h:
5132         * bufferview_funcs.C:
5133         * lyxfunc.C:
5134         * lyxtext.h:
5135         * text2.C: parlistize decDepth(), by merging it with incDepth()
5136
5137 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5138
5139         * lyxrow.h: store a ParagraphList::iterator instead of a
5140         Paragraph* and adjust other class functions to suit.
5141
5142         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5143         above.
5144
5145 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5146
5147         * text2.C (setCursor): do not anchor to cursor row for the time being
5148
5149 2003-04-02  John Levon  <levon@movementarian.org>
5150
5151         * LyXAction.C:
5152         * lfuns.h:
5153         * lyx_main.C:
5154         * lyxtext.h:
5155         * text.C:
5156         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5157
5158 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5159
5160         * paragraph.h: make ParagraphList and ParagraphList::iterator
5161         friends of Paragraph.
5162
5163         * buffer.C (makeLinuxDocFile): move towards ParagraphList
5164
5165         * ParagraphList.C: Use the private next_ and previous_ from
5166         Paragraph.
5167
5168 2003-04-01  John Levon  <levon@movementarian.org>
5169
5170         * ToolbarBackend.h:
5171         * ToolbarBackend.C:
5172         * Makefile.am: rename, remove defaults gunk
5173
5174         * MenuBackend.h:
5175         * MenuBackend.C: remove defaults gunk
5176
5177         * Languages.h:
5178         * Languages.C: remove defaults gunk
5179
5180         * lyx_main.h:
5181         * lyx_main.C: error out if files couldn't be found.
5182
5183 2003-04-02  John Levon  <levon@movementarian.org>
5184
5185         * text2.C: make incDepth() use parlist
5186
5187 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5188
5189         * undo_funcs.C (firstUndoParagraph): adjust
5190
5191         * text3.C (gotoInset): adjust
5192         (dispatch): adjust, and rewrite loop.
5193
5194         * text2.C (init): adjust, and rewrite loop.
5195         (redoParagraphs): adjust
5196         (updateInset): adjust, and rewrite loop.
5197         (deleteEmptyParagraphMechanism): adjust
5198
5199         * tabular.C (LyXTabular): adjust
5200         (SetMultiColumn): adjust
5201         (TeXRow): adjust
5202
5203         * lyxtext.[Ch] (ownerParagraph): delete function
5204         (ownerParagraphs): new function returns a ParagraphList.
5205
5206         * BufferView.C (removeAutoInsets): adjust
5207         (insertErrors): adjust
5208         (setCursorFromRow): adjust
5209
5210 2003-04-01  Angus Leeming  <leeming@lyx.org>
5211
5212         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5213         in the frontends.
5214
5215 2003-04-02  John Levon  <levon@movementarian.org>
5216
5217         * lyxtext.h:
5218         * text.C:
5219         * Makefile.am:
5220         * text_funcs.h:
5221         * text_funcs.C: make transposeChars a free function
5222
5223         * lyxrow_funcs.C: remove wrong comment
5224
5225 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5226
5227         * lyxtext.h: adjust
5228         * rowpainter.C: adjust
5229         * text.C: adjust
5230         * text2.C: adjust
5231         * text3.C: adjust
5232
5233         * lyxrow_funcs. [Ch]: new files
5234
5235         * lyxrow.[Ch]: remove next and previous pointers
5236         (next,previous): remove accessor functions
5237         (isParEnd): move to lyxrow_funcs
5238         (lastPos): move to lyxrow_funcs
5239         (nextRowIsAllInset): move to lyxrow_funcs
5240         (lastPrintablePos): move to lyxrow_funcs
5241         (numberOfSeparators): move to lyxrow_funcs
5242         (numberOfHfills): move to lyxrow_funcs
5243         (numberOfLabelHfills): move to lyxrow_funcs
5244         (hfillExpansion): move to lyxrow_funcs
5245
5246         * lyxfunc.C: adjust
5247
5248         * bufferview_funcs.C (toggleAndShow): adjust
5249
5250         * RowList.h: Remove class RowList from file leave just a
5251         std::list<Row>.
5252
5253         * RowList.C: delete file
5254
5255         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5256         and lyxrow_funcs.h
5257
5258 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5259
5260         * text3.C (cursorPrevious): adjust
5261         (cursorNext): adjust
5262         (dispatch): adjust
5263
5264         * text2.C (redoHeightOfParagraph): adjust
5265         (redoDrawingOfParagraph): adjust
5266         (setCursor): adjust
5267
5268         * text.C (breakParagraph): adjust
5269         (insertChar): adjust
5270         (backspace): adjust
5271
5272         * rowpainter.C (RowPainter): adjust
5273         (leftMargin): simplify and adjust
5274         (most rowpainter functions): adjust.
5275
5276         * rowpainter.h: store the row as RowList::iterator not as Row*
5277
5278         * lyxcursor.C (row): taka RowList::iterator as arg
5279         (irow): ditto
5280
5281         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5282         of Row*.
5283
5284 2003-04-01  Angus Leeming  <leeming@lyx.org>
5285
5286         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5287         stuff like bool Bool.
5288
5289 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5290
5291         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5292         rewrite a loop
5293
5294 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5295
5296         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5297         RowList::iterator.
5298
5299         * lyxtext.h (rows): drop one version and leve a const variant that
5300         returns a RowList::iterator.
5301
5302 2003-03-31  Angus Leeming  <leeming@lyx.org>
5303
5304         * text.C (fill): ensure that the signature is the same as that in the
5305         header file.
5306
5307 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
5308
5309         * text2.C (redoParagraphs): adjust
5310         (updateCounters): adjust
5311         (checkParagraph): adjust
5312         (getColumnNearX): adjust and reformat a bit.
5313
5314         * text.C (top_y): adjust
5315         (workWidth): adjust
5316         (leftMargin): adjust
5317         (prepareToPrint): adjust
5318         (getRow): adjust
5319         (getRowNearY): adjust
5320
5321         * lyxtext.h: make rowlist_ mutable.
5322
5323         * RowList.h: add const_iterator
5324         * RowList.C: adjust for RowList::const_iterator.
5325
5326         * text2.C (getCursorX): make it take a RowList::iterator as arg,
5327         adjust.
5328
5329 2003-03-31  John Levon  <levon@movementarian.org>
5330
5331         * lyxrc.h:
5332         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5333
5334         * lyx_main.C: set default fonts from using lyx_gui funcs
5335
5336         * exporter.C: pdf_mode moved from lyxrc
5337
5338         * lyx_cb.C:
5339         * lyxfunc.C: changes from above
5340
5341 2003-03-31  John Levon  <levon@movementarian.org>
5342
5343         * lyx_main.C: fix to the last fix
5344
5345 2003-03-31  John Levon  <levon@movementarian.org>
5346
5347         * bufferlist.C: "Load original" -> "Load Original"
5348
5349         * converter.C:
5350         * exporter.C:
5351         * importer.C:
5352         * lyx_main.C:
5353         * format.C: more Alert cleanups
5354
5355 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5356
5357         * text2.C (removeParagraph): make it take a RowList::iterator as
5358         arg, adjust.
5359         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5360         (postRowPaint): make it take a RowList::iterator as arg, adjust.
5361
5362         * text.C (anchor_row): make it take a RowList::iterator as arg,
5363         adjust.
5364         (computeBidiTables): make it take a const reference to Row instead
5365         of Row pointer, adjust.
5366         (leftMargin): make it take a RowList::iterator as arg, adjust.
5367         (rowBreakPoint): adjust
5368         (breakAgainOneRow): make it take a RowList::iterator as arg,
5369         adjust.
5370         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5371
5372         * bufferview_funcs.C (toggleAndShow): adjust
5373
5374 2003-03-30  John Levon  <levon@movementarian.org>
5375
5376         * Makefile.am:
5377         * BoostFormat.h:
5378         * boost-inst.C: moved to support
5379
5380         * several files: changes as a result
5381
5382 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5383
5384         * text2.C (LyXText): adjust.
5385         (init): adjust
5386         (removeRow): make it take a RowList::iterator as arg, adjust.
5387         (fullRebreak): adjust
5388         (deleteEmptyParagraphMechanism): adjust
5389         (clearPaint): adjust
5390         (postPaint): adjust
5391
5392         * text.C (top_y): adjust
5393         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5394         (breakAgain): make it take a RowList::iterator as arg, adjust.
5395         (breakParagraph): adjust
5396         (insertChar): adjust
5397         (backspace): adjust
5398
5399         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5400         need_break_row, and refresh_row.
5401
5402         * text3.C (dispatch): adjust
5403
5404         * text2.C (checkParagraph): adjust
5405         (setCursor): adjust
5406         (setCursorFromCoordinates): adjust
5407
5408         * text.C (top_y): adjust
5409         (workWidth): adjust
5410         (getRow): make it return a RowList::iterator, adjust
5411         (getRowNearY): make it return a RowList::iterator, adjust
5412
5413         * text2.C (init): adjust
5414         (insertRow): remove function
5415         (insertParagraph): adjust
5416         (redoParagraphs): adjust
5417         (fullRebreak): adjust
5418         (updateCounters): adjust
5419
5420         * text.C (top_y): rewrite to use RowList iterators.
5421         (top_y): adjust
5422         (setHeightOfRow): rewrite to sue RowList iterators.
5423         (appendParagraph): adjust
5424         (breakAgain): adjust
5425         (breakAgainOneRow): adjust
5426         (breakParagraph): adjust
5427         (getRow): adjust
5428         (getRowNearY): adjust, and remove commented code.
5429
5430         * lyxtext.h (firstRow): delete function
5431         (lastRow): delete function
5432         (rows): new function (const and non-const versions.)
5433         (insertRow): delete function
5434
5435         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5436
5437 2003-03-29  John Levon  <levon@movementarian.org>
5438
5439         * BufferView_pimpl.C: always update scrollbar top
5440         because pasting text when we're anchored could mean we
5441         miss an update altogether
5442
5443 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5444
5445         * text2.C (init): use rowlist_.end() and not 0.
5446         (insertRow): change to take a RowList::iterator as arg, adjust
5447         for this.
5448         (insertParagraph): change to take a RowList::iterator as arg,
5449         adjust for this.
5450         (redoParagraphs): remove some debug msgs.
5451
5452         * text.C (appendParagraph): change to take a RowList::iterator
5453         arg, adjust for this.
5454         (breakAgain): add an assert
5455         (breakAgainOneRow): ditto
5456
5457 2003-03-29  John Levon  <levon@movementarian.org>
5458
5459         * text2.C: do not clear selection after inc/decDepth
5460         (bug 550)
5461
5462 2003-03-29  John Levon  <levon@movementarian.org>
5463
5464         * BufferView.C:
5465         * buffer.C: fix broken strerrors according to Lars
5466
5467 2003-03-29  John Levon  <levon@movementarian.org>
5468
5469         * converters.C: more Alert cleanups
5470
5471 2003-03-29  John Levon  <levon@movementarian.org>
5472
5473         * bufferview_funcs.C: remove pointless Alert
5474
5475         * buffer.C: fix confusing error message when
5476         a template is chmoded 000
5477
5478 2003-03-29  John Levon  <levon@movementarian.org>
5479
5480         * BufferView.C:
5481         * BufferView.h:
5482         * BufferView_pimpl.C: Alert fixes
5483
5484         * Makefile.am:
5485         * tabular.C:
5486         * tabular-old.C: remove unused table compat reading
5487
5488 2003-03-29  John Levon  <levon@movementarian.org>
5489
5490         * BufferView.C:
5491         * buffer.C:
5492         * lyx_cb.h:
5493         * lyx_cb.C: more Alert cleanups
5494
5495         * lyxfunc.C: don't allow chktex if not latex document
5496
5497 2003-03-29  John Levon  <levon@movementarian.org>
5498
5499         * lyx_cb.C:
5500         * BufferView.C:
5501         * buffer.C: warnings pushed down from support/,
5502         kill err_alert
5503
5504 2003-03-29  John Levon  <levon@movementarian.org>
5505
5506         * lyxfunc.C: safety check for C-r (revert)
5507
5508 2003-03-29  John Levon  <levon@movementarian.org>
5509
5510         * bufferlist.h:
5511         * bufferlist.C: several UI fixes using Alert::prompt.
5512         Fix the pointless looping quit code. Fix stupid revert
5513         behaviour (bug 938)
5514
5515         * lyxvc.h:
5516         * lyxvc.C:
5517         * lyx_cb.C: use Alert::prompt
5518
5519         * lyx_main.C: remove a silly question
5520
5521         * lyxfunc.C: remove a couple of silly questions,
5522         use Alert::prompt
5523
5524 2003-03-28  John Levon  <levon@movementarian.org>
5525
5526         * text2.C: fix bug 974 (End on empty par)
5527
5528 2003-03-28  John Levon  <levon@movementarian.org>
5529
5530         * BufferView_pimpl.C:
5531         * LyXAction.C:
5532         * lfuns.h: remove do-nothing math greek lfuns
5533
5534 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5535
5536         * lyxgluelength.h (isValidGlueLength): add default arg on
5537         parameter 2. Remove default arg from friend in class.
5538
5539         * lyxlength.h (isValidLength): add default arg on parameter 2.
5540         Remove default arg from friend in class.
5541
5542         * text2.C (LyXText): adjust, initialize refresh_row.
5543         (init): adjust
5544         (removeRow): adjust
5545         (insertRow): adjust
5546         (insertParagraph): adjst
5547         (redoParagraphs): adjust
5548         (fullRebreak): adjust
5549         (updateCounters): adjust
5550         (deleteEmptyParagraphMechanism): first attempt at fixing a
5551         crashing bug.
5552
5553         * text.C (top_y): adjust
5554         (setHeightOfRow): adjust
5555         (getRow): adjust
5556         (getRowNearY): adjust
5557
5558         * lyxtext.h: include RowList.h
5559         (~LyXText): not needed anymore, deleted.
5560         (firstRow): modify for RowList
5561         (lastRow): new function
5562         Delete firstrow and lastrow class variables, add a Rowlist
5563         rowlist_ class variable.
5564
5565         * lyxrow.C (lastPos): use empty() and not !size() to check if a
5566         paragraph is empty.
5567
5568         * RowList.C (insert): fix case where it == begin().
5569
5570 2003-03-26  Angus Leeming  <leeming@lyx.org>
5571
5572         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5573         the thesaurus dialog.
5574
5575 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5576
5577         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5578
5579         * RowList.[Ch]: new files
5580
5581         * ParagraphList.C (erase): handle the case where it == begin
5582         correctly.
5583
5584 2003-03-25  John Levon  <levon@movementarian.org>
5585
5586         * Makefile.am:
5587         * aspell_local.h:
5588         * aspell.C: add new aspell support
5589
5590         * lyxrc.h:
5591         * lyxrc.C: Make use_pspell be use_spell_lib. Always
5592         have it accessible.
5593
5594 2003-03-25  Angus Leeming  <leeming@lyx.org>
5595
5596         * lfuns.h:
5597         * LyXAction.C (init): new LFUN_INSET_INSERT.
5598
5599         * BufferView_pimpl.C (dispatch): split out part of the
5600         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5601
5602         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5603         LFUN_INSET_APPLY.
5604
5605 2003-03-25  Angus Leeming  <leeming@lyx.org>
5606
5607         * lyxfunc.C (dispatch): changes to the Dialogs interface.
5608
5609 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
5610
5611         * text2.C:
5612         * text3.C: remove useless row->height(0)
5613
5614 2003-03-25  John Levon  <levon@movementarian.org>
5615
5616         * lyxtext.h:
5617         * text2.C:
5618         * text3.C: rename the refreshing stuff to better names
5619
5620 2003-03-24  John Levon  <levon@movementarian.org>
5621
5622         * BufferView_pimpl.h:
5623         * BufferView_pimpl.C: update layout choice on a mouse
5624         press/release
5625
5626 2003-03-23  John Levon  <levon@movementarian.org>
5627
5628         * Makefile.am: fix commandtags.h reference
5629
5630 2003-03-22  John Levon  <levon@movementarian.org>
5631
5632         * BufferView_pimpl.C:
5633         * lyxtext.h:
5634         * rowpainter.C:
5635         * rowpainter.h:
5636         * text.C:
5637         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5638
5639 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
5640
5641         * lyxtext.h:
5642         * text.C: take the rtl methods out of line
5643
5644 2003-03-21 André Pönitz <poenitz@gmx.net>
5645
5646         * metricsinfo.[Ch]: new files containing structures to be passed around
5647         during the two-phase-drawing...
5648
5649 2003-03-21 André Pönitz <poenitz@gmx.net>
5650
5651         * lyxtextclass.C: read 'environment' tag.
5652
5653 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
5654
5655         * text2.C (removeRow): fix bug 964
5656
5657 2003-03-20  John Levon  <levon@movementarian.org>
5658
5659         * rowpainter.C:
5660         * text.C:
5661         * text2.C: paint cleanups. Inset::update() dropped font
5662         parameter
5663
5664 2003-03-19  John Levon  <levon@movementarian.org>
5665
5666         * lyxfunc.C: only fitcursor/markDirty if available()
5667
5668 2003-03-19  John Levon  <levon@movementarian.org>
5669
5670         * commandtags.h: rename to ...
5671
5672         * lfuns.h: ... this, and renumber / cleanup
5673
5674 2003-03-19  John Levon  <levon@movementarian.org>
5675
5676         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5677         fit the cursor after an lfun
5678
5679         * BufferView.h:
5680         * BufferView.C:
5681         * BufferView_pimpl.h:
5682         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5683
5684         * LyXAction.C: layout-character should have ReadOnly
5685
5686         * ParagraphParameters.C:
5687         * buffer.C:
5688         * bufferview_funcs.C:
5689         * lyx_cb.C:
5690         * lyxfind.C:
5691         * lyxtext.h:
5692         * text.C:
5693         * text2.C:
5694         * text3.C:
5695         * undo_funcs.C: changes from above
5696
5697 2003-03-18  John Levon  <levon@movementarian.org>
5698
5699         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5700         remove it from update()
5701
5702         * lyxfunc.C: update layout choice after an lfun
5703
5704         * text3.C: remove extra updateLayoutChoice()s
5705
5706 2003-03-18  John Levon  <levon@movementarian.org>
5707
5708         * text.C: top_y change means full repaint, fix
5709         a drawing bug with cursor movement
5710
5711 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5712
5713         * lyxtext.h:
5714         * text.C:
5715         * text2.C: anchor row on setCursor
5716
5717 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5718
5719         * lyxtext.h: remove almost all mutable keywords
5720         * text.C:
5721         * text2.C:
5722         * text3.C: remove const keywords accordingly
5723
5724 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5725
5726         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5727         anon namespace
5728         (TeXEnvironment): ditto
5729         (TeXOnePar): ditto
5730
5731 2003-03-17  John Levon  <levon@movementarian.org>
5732
5733         * text.C (rowBreakPoint): remove attempt to fix displayed
5734         math insets inside a manual label
5735
5736 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5737
5738         * lyxtext.h: remove BufferView* as first arg from almost all class
5739         functions.
5740         * other files: adjust.
5741
5742 2003-03-17  John Levon  <levon@movementarian.org>
5743
5744         * lyxtext.h:
5745         * undo_funcs.C:
5746         * text2.C: more paint cleanups
5747
5748         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5749
5750         * rowpainter.h:
5751         * rowpainter.C: remove "smart" background painting code
5752
5753 2003-03-16  John Levon  <levon@movementarian.org>
5754
5755         * lyxtext.h:
5756         * text.C:
5757         * text2.C:
5758         * text3.C: add helper functions for setting refresh_row/y
5759
5760 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
5761
5762         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5763         newline inset which *can* get inserted in the pass_thru layouts.
5764         This is primarily for literate documents.
5765
5766 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
5767
5768         * buffer.C: increment LYX_FORMAT to 223
5769
5770 2003-03-14 André Pönitz <poenitz@gmx.net>
5771
5772         * textclass.h: prepare for environment handling, ws changes
5773         * lyxlayout.C: read latexheader and latexfooter tags
5774
5775 2003-03-14  John Levon  <levon@movementarian.org>
5776
5777         * text2.C: rewrite ::status() a bit
5778
5779 2003-03-13  John Levon  <levon@movementarian.org>
5780
5781         * lyxtext.h: add some docs
5782
5783 2003-03-13  John Levon  <levon@movementarian.org>
5784
5785         * lyxtext.h:
5786         * text.C:
5787         * text2.C:
5788         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5789
5790 2003-03-13  John Levon  <levon@movementarian.org>
5791
5792         * text3.C: fix appendix redrawing
5793
5794 2003-03-13  John Levon  <levon@movementarian.org>
5795
5796         * text.C (setHeightOfRow):
5797         * rowpainter.h:
5798         * rowpainter.C: make appendix mark have the text
5799           "Appendix" so the user knows what it is
5800
5801         * LColor.h:
5802         * LColor.C: s/appendixline/appendix/ from above
5803
5804 2003-03-13  John Levon  <levon@movementarian.org>
5805
5806         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5807
5808         * text.C: fix a getChar(pos) bug properly
5809
5810 2003-03-13  Angus Leeming  <leeming@lyx.org>
5811
5812         * commandtags.h:
5813         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5814         Probably only temporary. Let's see how things pan out.
5815
5816         * BufferView.C (unlockInset):
5817         * BufferView_pimpl.C (fitCursor):
5818         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5819
5820         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5821         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5822
5823         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5824         new functions that convert ParagraphParameters to and from a string.
5825
5826         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5827         BufferView::Pimpl's dispatch.
5828         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5829
5830 2003-03-13 André Pönitz <poenitz@gmx.net>
5831
5832         * lyxfunc.C:
5833         * text3.C:
5834         * factory.C: make it aware of InsetEnv
5835
5836 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5837
5838         * text2.C (setCursor): never ask for one past last
5839         (setCursor): add some debugging messages.
5840
5841         * text.C (singleWidth): never ask for one past last
5842         (singleWidth): ditto
5843         (leftMargin): ditto
5844         (rightMargin): ditto
5845         (rowBreakPoint): ditto
5846         (setHeightOfRow): ditto
5847         (prepareToPrint): ditto
5848
5849         * rowpainter.C (paintBackground): never ask for one past last
5850         (paintText): never ask for one past last
5851
5852         * paragraph_pimpl.C (getChar): make the assert stricter, never
5853         allow the one past last pos to be taken
5854
5855         * paragraph.C (getChar): ws changes only
5856
5857         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5858         (numberOfSeparators): ditto
5859         (numberOfHfills): ditto
5860
5861 2003-03-12  John Levon  <levon@movementarian.org>
5862
5863         * author.h:
5864         * author.C:
5865         * bufferparams.h:
5866         * bufferparams.C:
5867         * paragraph_funcs.C: fix per-buffer authorlists
5868
5869 2003-03-12  John Levon  <levon@movementarian.org>
5870
5871         * text.C: fix newline in right address
5872
5873 2003-03-12  Angus Leeming  <leeming@lyx.org>
5874
5875         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5876         duplicate those in LyXFunc::dispatch.
5877
5878         * commandtags.h:
5879         * LyXAction.C:
5880         * ToolbarDefaults.C:
5881         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5882         Add LFUN_FONTFREE_UPDATE.
5883
5884         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5885         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5886
5887         * bufferview_func.[Ch]: several new functions to facilliate
5888         transfer of data to and from the character dialog.
5889
5890 2003-03-12  John Levon  <levon@movementarian.org>
5891
5892         * buffer.C:
5893         * paragraph.h:
5894         * paragraph.C:
5895         * paragraph_funcs.C:
5896         * paragraph_pimpl.C:
5897         * sgml.C:
5898         * tabular.C:
5899         * text.C:
5900         * text3.C: remove META_NEWLINE in favour of an inset
5901
5902         * rowpainter.h:
5903         * rowpainter.C: remove paintNewline (done by inset)
5904
5905 2003-03-12  John Levon  <levon@movementarian.org>
5906
5907         * paragraph_pimpl.C: complain about bad getChar()s
5908         for a while at least
5909
5910 2003-03-12  John Levon  <levon@movementarian.org>
5911
5912         * buffer.h:
5913         * buffer.C: move paragraph read into a separate function,
5914         a little renaming to reflect that.
5915
5916         * bufferparams.h:
5917         * bufferparams.C: remove the author_ids map, not necessary now
5918
5919         * factory.h:
5920         * factory.C: moved Buffer::readInset to here
5921
5922         * paragraph_funcs.h:
5923         * paragraph_funcs.C: readParagraph free function moved from
5924         buffer.C
5925
5926         * tabular.C: name change
5927
5928 2003-03-12  John Levon  <levon@movementarian.org>
5929
5930         * buffer.C:
5931         * ParagraphParameters.C: move par params input to
5932         a read() method
5933
5934         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5935         behave like a normal read from the stream wrt reading
5936         a line vs. a \\token
5937
5938 2003-03-12  John Levon  <levon@movementarian.org>
5939
5940         * paragraph.C:
5941         * ParagraphParameters.h:
5942         * ParagraphParameters.C: move output code to a
5943         ::write() method
5944
5945 2003-03-12  John Levon  <levon@movementarian.org>
5946
5947         * BufferView.C (insertLyXFile):
5948         * buffer.h:
5949         * buffer.C:
5950         * tabular.C: use a parlist iterator for creating the
5951           document.
5952
5953 2003-03-12  John Levon  <levon@movementarian.org>
5954
5955         * buffer.C: make current_change static local not
5956           static file-scope
5957
5958 2003-03-12  John Levon  <levon@movementarian.org>
5959
5960         * buffer.C: fix insertStringAsLines for change tracking
5961
5962 2003-03-12  John Levon  <levon@movementarian.org>
5963
5964         * BufferView.C:
5965         * tabular.C:
5966         * buffer.h:
5967         * buffer.C:
5968         * bufferparams.h:
5969         * bufferparams.C: move author list into params. Rename some
5970           functions. Move the header reading into a separate token
5971           loop. Move the header token reading into BufferParams.
5972
5973 2003-03-12  John Levon  <levon@movementarian.org>
5974
5975         * changes.C: put debug inside lyxerr.debugging() checks
5976
5977 2003-03-11 André Pönitz <poenitz@gmx.net>
5978
5979         * factory.C: make it aware of InsetHFill
5980
5981 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5982
5983         * buffer.C (latexParagraphs): move function from here...
5984         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5985         args.
5986
5987 2003-03-10  Angus Leeming  <leeming@lyx.org>
5988
5989         * LyXAction.C (init): fix bug in poplating array with multiple entries
5990         with the same LFUN (spotted by JMarc).
5991
5992 2003-03-10  John Levon  <levon@movementarian.org>
5993
5994         * text.C:
5995         * text2.C: move getColumnNearX() near its
5996         only call site
5997
5998 2003-03-10  John Levon  <levon@movementarian.org>
5999
6000         * text.C: fix break before a minipage
6001
6002 2003-03-10  John Levon  <levon@movementarian.org>
6003
6004         * text.C: fix the last commit
6005
6006 2003-03-09  John Levon  <levon@movementarian.org>
6007
6008         * lyxtext.h:
6009         * text.C:
6010         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6011         bug 365 (don't break before insets unless needed). Don't
6012         return a value > last under any circumstances.
6013
6014 2003-03-09  Angus Leeming  <leeming@lyx.org>
6015
6016         * BufferView_pimpl.C (trackChanges, dispatch): call
6017         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6018
6019 2003-03-09  Angus Leeming  <leeming@lyx.org>
6020
6021         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6022         than Dialogs::showAboutlyx().
6023
6024 2003-03-09  Angus Leeming  <leeming@lyx.org>
6025
6026         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6027         than Dialogs::showTabularCreate().
6028
6029 2003-03-09  John Levon  <levon@movementarian.org>
6030
6031         * lyxtext.h:
6032         * text.C:
6033         * text2.C: 3rd arg to nextBreakPoint was always the same.
6034           Use references.
6035
6036 2003-03-08  John Levon  <levon@movementarian.org>
6037
6038         * lyxrow.C:
6039         * paragraph.C:
6040         * paragraph.h:
6041         * rowpainter.C:
6042         * text.C:
6043         * text2.C: Remove the "main" bit from the "main body"
6044           notion.
6045
6046 2003-03-08  John Levon  <levon@movementarian.org>
6047
6048         * text.C (leftMargin): The left margin of an empty
6049         manual label paragraph should not include the label width
6050         string length.
6051
6052         * text.C (prepareToPrint): don't attempt to measure hfills
6053         for empty manual label paragraphs - the answer should be 0
6054
6055 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6056
6057         * CutAndPaste.C: remove commented code and reindent.
6058
6059 2003-03-08  John Levon  <levon@movementarian.org>
6060
6061         * lyxfunc.h:
6062         * lyxfunc.C: move reloadBuffer()
6063
6064         * BufferView.h:
6065         * BufferView.C: to here
6066
6067         * lyxvc.C: add comment
6068
6069         * vc-backend.h:
6070         * vc-backend.C: call bv->reload() to avoid
6071           getStatus() check on MENURELOAD
6072
6073 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
6074
6075         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6076         to an old format .dep file.
6077
6078 2003-03-07  Angus Leeming  <leeming@lyx.org>
6079
6080         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6081         when the LFUN_MOUSE_RELEASE should have been handled by
6082         inset->localDispatch.
6083
6084 2003-03-07  Angus Leeming  <leeming@lyx.org>
6085
6086         * BufferView_pimpl.C (dispatch):
6087         * LyXAction.C (init):
6088         * ToolbarDefaults.C (init):
6089         * commandtags.h:
6090         * lyxfunc.C (getStatus):
6091         remove LFUN_INSET_GRAPHICS.
6092
6093         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6094
6095 2003-03-07  Angus Leeming  <leeming@lyx.org>
6096
6097         * commandtags.h:
6098         * LyXAction.C (init):
6099         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6100
6101         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6102
6103         * commandtags.h:
6104         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6105
6106         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6107         localDispatch method LFUN_INSET_DIALOG_UPDATE.
6108
6109 2003-03-07  Angus Leeming  <leeming@lyx.org>
6110
6111         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6112         remove "ert".
6113
6114 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6115
6116         * ParagraphList.C (front): new function
6117         (back): implement
6118
6119 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
6120
6121         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6122         and top_row_offset_. removed var first_y.
6123         * text.C (top_y):
6124         * text2.C (LyXText, removeRow):
6125         * text3.C:
6126         * BufferView_pimpl.C:
6127         use these methods instead of using first_y
6128
6129 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6130
6131         * text2.C (pasteSelection): adjust for checkPastePossible
6132
6133         * CutAndPaste.C: remove Paragraph * buf and replace with
6134         ParagraphList paragraphs.
6135         (DeleteBuffer): delete
6136         (cutSelection): change the tc type to textclass_type
6137         (copySelection): change the tc type to textclass_type
6138         (copySelection): adjust for ParagraphList
6139         (pasteSelection): change the tc type to textclass_type
6140         (pasteSelection): adjust for Paragraphlist
6141         (nrOfParagraphs): simplify for ParagraphList
6142         (checkPastePossible): simplify for ParagraphList
6143         (checkPastePossible): remove unused arg
6144
6145         * ParagraphList.C (insert): handle the case where there are no
6146         paragraphs yet.
6147
6148         * CutAndPaste.h: make CutAndPaste a namespace.
6149
6150         * text3.C (dispatch): adjust
6151
6152         * text.C (breakParagraph): add a ParagraphList as arg
6153
6154         * paragraph_funcs.C (breakParagraph): change to take a
6155         BufferParams and a ParagraphList as args.
6156         (breakParagraphConservative): ditto
6157         (mergeParagraph): ditto
6158         (TeXDeeper): add a ParagraphList arg
6159         (TeXEnvironment): ditto
6160         (TeXOnePar): ditto
6161
6162         * buffer.C (readLyXformat2): adjust
6163         (insertStringAsLines): adjust
6164         (latexParagraphs): adjust
6165
6166         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6167         (cutSelection): adjust
6168         (pasteSelection): adjust
6169
6170         * BufferView_pimpl.C (insertInset): adjust
6171
6172 2003-03-05  Angus Leeming  <leeming@lyx.org>
6173
6174         * commandtags.h:
6175         * LyXAction.C (init):
6176         * BufferView_pimpl.C (dispatch):
6177         * lyxfunc.C (getStatus):
6178         remove LFUN_CHILD_INSERT.
6179
6180         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6181
6182 2003-03-05  Angus Leeming  <leeming@lyx.org>
6183
6184         * commandtags.h:
6185         * LyXAction.C (init):
6186         * src/factory.C (createInset):
6187         * lyxfunc.C (getStatus):
6188         * text3.C (dispatch):
6189         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6190
6191         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6192
6193 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6194
6195         * ParagraphList.C (insert): handle insert right before end()
6196         (erase): fix cases where it can be first or last paragraph.
6197
6198 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6199
6200         * paragraph_funcs.C (TeXEnvironment): remove all usage of
6201         Paragraph::next and Paragraph::previous
6202         (TeXOnePar): ditto
6203
6204         * text.C (breakParagraph): adjust
6205
6206         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6207         BufferParams& as arg.
6208         (breakParagraph): use ParagraphList::insert
6209         (breakParagraphConservative): take a Buffer* instead of a
6210         BufferParams& as arg.
6211         (breakParagraphConservative): use ParagraphList::insert.
6212
6213         * buffer.C (insertStringAsLines): un-const it
6214         (insertStringAsLines): adjust
6215
6216         * ParagraphList.C (insert): new function
6217
6218         * CutAndPaste.C (pasteSelection): adjust
6219
6220         * text.C (backspace): adjust
6221
6222         * tabular.C (SetMultiColumn): adjust
6223
6224         * CutAndPaste.C (cutSelection): adjust
6225         (pasteSelection): adjust
6226
6227         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6228         Buffer const * as arg
6229
6230         * ParagraphList.C (erase): new function
6231         * paragraph_funcs.C (mergeParagraph): use it
6232         (mergeParagraph): make it take a Buffer* instead of a
6233         BufferParams* as arg
6234
6235         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6236         as arg
6237         (breakParagraphConservative): ditto
6238
6239         * paragraph.h: remove the breakParagraph friend
6240
6241         * paragraph.C (eraseIntern): new function
6242         (setChange): new function
6243
6244         * paragraph_funcs.C (mergeParagraph): make it take a
6245         ParagraphList::iterator instead of a Paragraph *, adjust
6246         accordingly.
6247
6248         * paragraph.h: move an #endif so that the change tracking stuff
6249         also works in the NO_NEXT case.
6250
6251 2003-03-04  Angus Leeming  <leeming@lyx.org>
6252
6253         * commandtags.h:
6254         * LyXAction.C: new LFUN_INSET_MODIFY.
6255
6256         * BufferView_pimpl.C (dispatch): if an inset is found to be open
6257         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6258
6259 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6260
6261         * several files: ws changes only
6262
6263         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6264         (TeXEnvironment): ditto
6265         (TeXDeeper): ditto
6266
6267         * buffer.C (makeLaTeXFile): adjust
6268         (latexParagraphs): make it take ParagraphList::iterator as args
6269
6270 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6271
6272         * buffer.C (latexParagraphs): adjust
6273
6274         * paragraph.C (TeXOnePar): move function...
6275         (optArgInset): move function...
6276         (TeXEnvironment): move function...
6277         * paragraph_pimpl.C (TeXDeeper): move function...
6278         * paragraph_funcs.C: ...here
6279
6280         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6281
6282 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6283
6284         * buffer.C (readInset): remove compability code for old Figure and
6285         InsetInfo insets
6286
6287 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6288
6289         * buffer.C: ws changes
6290         (readInset):
6291
6292         * BufferView_pimpl.C: ditto
6293         * author.C: ditto
6294         * buffer.h: ditto
6295         * bufferlist.h: ditto
6296         * changes.h: ditto
6297         * lyxfunc.C: ditto
6298
6299 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
6300
6301         * converter.[Ch]: split into itself +
6302         * graph.[Ch]
6303         * format.[Ch]
6304         * Makefile.am: += graph.[Ch] + format.[Ch]
6305         * MenuBackend.C
6306         * buffer.C
6307         * exporter.C
6308         * importer.C
6309         * lyx_main.C
6310         * lyxfunc.C
6311         * lyxrc.C: added #include "format.h"
6312
6313 2003-02-27  Angus Leeming  <leeming@lyx.org>
6314
6315         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6316           a label.
6317
6318         * factory.C (createInset): add "label" to the factory.
6319
6320         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6321           string and do no more.
6322
6323 2003-02-27  Angus Leeming  <leeming@lyx.org>
6324
6325         * commandtags.h:
6326         * LyXAction.C (init):
6327         * factory.C (createInset):
6328         * BufferView_pimpl.C (dispatch):
6329           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6330
6331         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6332
6333         * lyxfunc.C (dispatch):
6334         * text3.C (dispatch): pass name to params2string.
6335
6336 2003-02-26  Angus Leeming  <leeming@lyx.org>
6337
6338         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6339           blocks together.
6340           Rearrange the ~includes. Strip out the unnecessary ones.
6341
6342         * factory.C (createInset): reformat.
6343           create new insets for the various LFUN_XYZ_APPLY lfuns.
6344
6345 2003-02-26  John Levon  <levon@movementarian.org>
6346
6347         * lyxrow.h:
6348         * lyxrow.C: add isParStart,isParEnd helpers
6349
6350         * paragraph.h: make isInserted/DeletedText take refs
6351
6352         * paragraph_funcs.h:
6353         * paragraph_funcs.C: remove #if 0'd code
6354
6355         * lyxtext.h:
6356         * text3.C:
6357         * text2.C:
6358         * text.C: use lyxrow helpers above.
6359           Move draw and paint routines to RowPainter.
6360           Make several methods use refs not pointers.
6361           Make backgroundColor() const.
6362           Add markChangeInDraw(), isInInset().
6363           Merge changeRegionCase into changeCase.
6364           Make workWidth() shouldn't-happen code into an Assert.
6365
6366         * rowpainter.h:
6367         * rowpainter.C: new class for painting a row.
6368
6369         * vspace.h:
6370         * vspace.C: make inPixels take a ref
6371
6372 2003-02-26  Angus Leeming  <leeming@lyx.org>
6373
6374         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6375         LFUN_REF_APPLY.
6376
6377 2003-02-25  John Levon  <levon@movementarian.org>
6378
6379         * ispell.C: give the forked command a more accurate name
6380
6381 2003-02-22  John Levon  <levon@movementarian.org>
6382
6383         * toc.h:
6384         * toc.C: make TocItem store an id not a Paragraph *
6385           (bug #913)
6386
6387 2003-02-21  Angus Leeming  <leeming@lyx.org>
6388
6389         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6390           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6391           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6392           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6393           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6394           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6395
6396         * BufferView_pimpl.C (dispatch):
6397         * LyXAction.C (init):
6398         * factory.C (createInset):
6399         * lyxfunc.C (getStatus, dispatch):
6400         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6401
6402 2003-02-21  Angus Leeming  <leeming@lyx.org>
6403
6404         * BufferView_pimpl.C (MenuInsertLyXFile):
6405         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6406         * lyxfunc.C (menuNew, open, doImport):
6407           no longer pass a LyXView & to fileDlg.
6408
6409 2003-02-21  Angus Leeming  <leeming@lyx.org>
6410
6411         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6412         * LyXAction.C: change, BIBKEY to BIBITEM.
6413         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6414         Change InsetBibKey to InsetBibitem.
6415         Change BIBKEY_CODE to BIBITEM_CODE.
6416         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6417         * factory.C: replace insetbib.h with insetbibitem.h.
6418         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6419         * paragraph.C: replace insetbib.h with insetbibitem.h.
6420         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6421         Change bibkey() to bibitem().
6422         * text.C: remove insetbib.h.
6423         * text2.C: replace insetbib.h with insetbibitem.h.
6424         change bibkey() to bibitem().
6425         * text3.C: remove insetbib.h.
6426         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6427
6428 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6429
6430         * lyxrc.C (output): enclose user email in quotes (in case there are
6431         several words)
6432
6433 2003-02-18  John Levon  <levon@movementarian.org>
6434
6435         * buffer.h: add std::
6436
6437 2003-02-17  John Levon  <levon@movementarian.org>
6438
6439         * SpellBase.h:
6440         * ispell.h:
6441         * ispell.C:
6442         * pspell.h:
6443         * pspell.C: reworking. Especially in ispell, a large
6444           number of clean ups and bug fixes.
6445
6446         * lyxfunc.C: fix revert to behave sensibly
6447
6448 2003-02-17 André Pönitz <poenitz@gmx.net>
6449
6450         * LyXAction.C:
6451         * commandtags.h: new LFUN_INSERT_BIBKEY
6452
6453         * layout.h:
6454         * lyxlayout.C:
6455         * buffer.C:
6456         * factory.C:
6457         * text.C:
6458         * text2.C:
6459         * text3.C:
6460         * paragraph.[Ch]:
6461         * paragraph_func.C: remove special bibkey handling
6462
6463 2003-02-17  John Levon  <levon@movementarian.org>
6464
6465         * text.C (Delete): fix case where delete at the end of
6466           the very first paragraph would not merge the pars
6467
6468 2003-02-17  John Levon  <levon@movementarian.org>
6469
6470         * lyxrow.C: fix lastPrintablePos()
6471
6472 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6473
6474         * bufferparams.C (writeLaTeX): add a std:here
6475
6476         * buffer.C: and remove a using directive there
6477
6478 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6479
6480         * buffer.C (makeLaTeXFile): move the code that generates the
6481           preamble...
6482
6483         * bufferparams.C (writeLaTeX): ... in this new method
6484
6485         * LaTeXFeatures.C (getEncodingSet): make const
6486           (getLanguages): make const
6487
6488         * MenuBackend.C (binding): returns the binding associated to this
6489           action
6490           (add): sets the status of each item by calling getStatus. Adds
6491           some intelligence.
6492           (read): add support for OptSubMenu
6493           (expand): remove extra separator at the end of expanded menu
6494
6495 2003-02-15  John Levon  <levon@movementarian.org>
6496
6497         * BufferView.C:
6498         * BufferView_pimpl.C:
6499         * bufferlist.h:
6500         * bufferlist.C: remove pointless BufferStorage bloat. Remove
6501           inset code that had no actual effect. Remove unneeded status
6502           code.
6503
6504 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6505
6506         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6507           in preamble
6508
6509 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
6510
6511         * text.C (drawLengthMarker): also draw an arrow marker for
6512           symbolic lengths (medskip...)
6513
6514 2003-02-14  John Levon  <levon@movementarian.org>
6515
6516         * tabular.h:
6517         * tabular.C: better method names
6518
6519 2003-02-14  John Levon  <levon@movementarian.org>
6520
6521         * BufferView_pimpl.C:
6522         * bufferlist.C:
6523         * buffer.C:
6524         * converter.C:
6525         * lyx_cb.C:
6526         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6527           it's a more accurate name. Remove some pointless uses.
6528
6529 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6530
6531         * text2.C (LyXText): change order of initilizers to shut off
6532           warnings
6533
6534 2003-02-14  John Levon  <levon@movementarian.org>
6535
6536         * buffer.C: use ParIterator for getParFromID()
6537
6538         * paragraph.h:
6539         * paragraph.C:
6540         * paragraph_pimpl.h:
6541         * paragraph_pimpl.C: remove unused getParFromID()
6542
6543 2003-02-14  John Levon  <levon@movementarian.org>
6544
6545         * buffer.C: remove some very old #if 0'd parse code
6546
6547 2003-02-13  John Levon  <levon@movementarian.org>
6548
6549         * text.h:
6550         * text.C:
6551         * text2.C: move hfillExpansion(), numberOfSeparators(),
6552           rowLast(), rowLastPrintable(), numberofHfills(),
6553           numberOfLabelHfills() ...
6554
6555         * lyxrow.h:
6556         * lyxrow.C: ... to member functions here.
6557
6558         * paragraph.h:
6559         * paragraph.C:
6560         * lyxtext.h:
6561         * text.C: remove LyXText::beginningOfMainBody(), and call
6562           p->beginningOfMainBody() directly. Move the check for
6563           LABEL_MANUAL into the latter.
6564
6565         * text.h:
6566         * text.C:
6567         * text2.C:
6568         * vspace.C:
6569         * BufferView.h:
6570         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6571
6572         * text.h:
6573         * text.C:
6574         * text2.C:
6575         * text3.C:
6576         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6577           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6578
6579 2003-02-13  John Levon  <levon@movementarian.org>
6580
6581         * CutAndPaste.C: remove debug
6582
6583 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6584
6585         * paragraph.C (asString): remove two unused variables
6586
6587         * lyxtextclass.C (readTitleType):
6588           (Read):
6589           (LyXTextClass): handle new members titletype_ and titlename_
6590
6591         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6592
6593 2003-02-09  John Levon  <levon@movementarian.org>
6594
6595         * buffer.h:
6596         * buffer.C: replace hand-coded list with a map for the dep clean
6597
6598 2003-02-08  John Levon  <levon@movementarian.org>
6599
6600         * LaTeX.C: consolidate code into showRunMessage() helper
6601
6602 2003-02-08  John Levon  <levon@movementarian.org>
6603
6604         * lyxfind.C:
6605         * lyxtext.h:
6606         * text2.C:
6607         * BufferView.C: change setSelectionOverString() to setSelectionRange()
6608           and pass the size in explicitly
6609
6610         * BufferView_pimpl.h:
6611         * BufferView_pimpl.C:
6612         * BufferView.h:
6613         * BufferView.C: add getCurrentChange()
6614
6615         * BufferView_pimpl.h:
6616         * BufferView_pimpl.C: handle change lfuns
6617
6618         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6619           for changes. Mark pasted paragraphs as new.
6620
6621         * support/lyxtime.h:
6622         * support/lyxtime.C:
6623         * DepTable.C: abstract time_t as lyx::time_type
6624
6625         * LColor.h:
6626         * LColor.C: add colours for new text, deleted text, changebars
6627
6628         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6629           package use "usenames" option.
6630
6631         * commandtags.h:
6632         * lyxfunc.C:
6633         * LyXAction.C: add change lfuns
6634
6635         * Makefile.am:
6636         * author.h:
6637         * author.C: author handling
6638
6639         * buffer.h:
6640         * buffer.C: add a per-buffer author list, with first entry as
6641           current author. Handle new .lyx tokens for change tracking. Output
6642           author list to .lyx file. Output dvipost stuff to .tex preamble.
6643           Bump lyx format to 222.
6644
6645         * bufferlist.h:
6646         * bufferlist.C: add setCurrentAuthor() to reset current author details
6647           in all buffers.
6648
6649         * bufferparams.h:
6650         * bufferparams.C: add param for tracking
6651
6652         * bufferview_funcs.C: output change info in minibuffer
6653
6654         * Makefile.am:
6655         * changes.h:
6656         * changes.C: add change-tracking structure
6657
6658         * debug.h:
6659         * debug.C: add CHANGES debug flag
6660
6661         * lyxfind.h:
6662         * lyxfind.C: add code for finding the next change piece
6663
6664         * lyxrc.h:
6665         * lyxrc.C: add user_name and user_email
6666
6667         * lyxrow.h:
6668         * lyxrow.C: add a metric for the top of the text line
6669
6670         * lyxtext.h:
6671         * text.C: implement accept/rejectChange()
6672
6673         * lyxtext.h:
6674         * text.C: paint changebars. Paint new/deleted text in the chosen
6675         colours. Strike through deleted text.
6676
6677         * paragraph.h:
6678         * paragraph.C:
6679         * paragraph_pimpl.h:
6680         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6681           in the current change to the insert functions. Rework erase to
6682           mark text as deleted, adding an eraseIntern() and a range-based
6683           erase(). Implement per-paragraph change lookup and
6684           accept/reject.
6685
6686         * paragraph_funcs.C: Fixup paste for change tracking.
6687
6688         * tabular.C: mark added row/columns as new.
6689
6690         * text.C: fix rowLast() to never return -1. Don't allow
6691           spellchecking of deleted text. Track transpose changes. Don't
6692           allow paragraph break or merge where appropriate.
6693
6694         * text2.C: leave cursor at end of selection after a cut.
6695
6696 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6697
6698         * text.C (getLengthMarkerHeight):
6699         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6700         visible on screen too.
6701
6702 2003-02-07  John Levon  <levon@movementarian.org>
6703
6704         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6705
6706 2003-02-05  Angus Leeming  <leeming@lyx.org>
6707
6708         * lyxserver.C (read_ready): revert my patch of 11 September last year
6709         as it sends PC cpu through the roof. Presumably this means that
6710         the lyxserver will no longer run on an Alpha...
6711
6712 2003-01-30  Angus Leeming  <leeming@lyx.org>
6713
6714         * factory.C (createInset): create an InsetCommandParam of type "index"
6715         and use it to 'do the right thing'.
6716
6717         * text2.C (getStringToIndex): ensure that cursor position is always
6718         reset to the reset_cursor position.
6719
6720 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6721
6722         * lyxfunc.C (getStatus): "buffer-export custom" should never be
6723         disabled.
6724
6725 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
6726
6727         * bufferview.C:
6728         * lyxcb.C:
6729         * lyxfunc.C: Output messages with identical spelling, punctuation,
6730         and spaces
6731
6732 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
6733
6734         * MenuBackend.C (expandFormats): List only viewable export formats
6735         in "View" menu
6736
6737         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6738         message
6739
6740         * lyxfunc.C (getStatus): Make sure that formats other than
6741         "fax" can also be disabled
6742
6743 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6744
6745         * text3.C (dispatch): put the lfuns that insert insets in 3
6746         groups, and call doInsertInset with appropriate arguments.
6747         (doInsertInset): new function, that creates an inset and inserts
6748         it according to some boolean parameters.
6749
6750 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6751
6752         * buffer.C (readFile): remember to pass on 'par' when calling
6753         readFile recursively.
6754
6755 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6756
6757         * MenuBackend.C (expandFormats): add "..." to import formats.
6758
6759 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
6760
6761         * paragraph.C (asString): Remove XForms RTL hacks.
6762
6763 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
6764         * buffer.C: fix typo
6765
6766 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6767
6768         * Makefile.am (LIBS): delete var
6769         (lyx_LDADD): add @LIBS@ here instead.
6770
6771 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
6772
6773         * Clarify the meaning of "wheel mouse jump"
6774
6775 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6776
6777         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6778         tabular in a float
6779
6780 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6781
6782         * importer.C (Loaders): do not preallocate 3 elements in the
6783         vector, since one ends up with 6 elements otherwise
6784
6785 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6786
6787         * DepTable.C (write): write the file name as last element of the
6788         .dep file (because it may contain spaces)
6789         (read): read info in the right order
6790
6791 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6792
6793         * paragraph_pimpl.C (simpleTeXBlanks):
6794         (simpleTeXSpecialChars):
6795         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6796
6797         * tabular.C (latex): add some missing case statements. Reindent.
6798
6799         * MenuBackend.C (expandToc): remove unused variable.
6800
6801 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
6802
6803         * LColor.C:
6804         * LaTeX.C:
6805         * LyXAction.C:
6806         * MenuBackend.C:
6807         * buffer.C:
6808         * exporter.C:
6809         * lyxfunc.C:
6810         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6811         and the like.
6812
6813 2003-01-05  John Levon  <levon@movementarian.org>
6814
6815         * BufferView.h:
6816         * BufferView.C: add getEncoding()
6817
6818         * kbsequence.h:
6819         * kbsequence.C: do not store last keypress
6820
6821         * lyxfunc.h:
6822         * lyxfunc.C: store last keypress here instead. Pass encoding
6823           to getISOEncoded()
6824
6825 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6826
6827         * lyx_main.C (init): remove annoying error message when following
6828         symbolic links (bug #780)
6829
6830 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6831
6832         * text.C (insertChar):
6833         * lyxrc.C (getDescription): remove extra spaces
6834
6835 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6836
6837         * lyxrc.C (getDescription): remove extra spaces
6838
6839 2002-12-20  John Levon  <levon@movementarian.org>
6840
6841         * text3.C: hack fix for page up/down across tall rows
6842
6843 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6844
6845         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6846         not been invoked
6847
6848 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6849
6850         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6851         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6852         thesaurus is not compiled in
6853
6854 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
6855
6856         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6857
6858 2002-12-16  Angus Leeming  <leeming@lyx.org>
6859
6860         * lyxrc.[Ch]:
6861         * lyx_main.C (init): remove override_x_deadkeys stuff.
6862
6863 2002-12-12  John Levon  <levon@movementarian.org>
6864
6865         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6866           insert. Only remove shift modifier under strict
6867           circumstances.
6868
6869 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6870
6871         * MenuBackend.C (expandToc): fix crash.
6872
6873 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6874
6875         * MenuBackend.C (expandToc): gettext on float names.
6876
6877 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6878
6879         * lyxlength.[Ch]: set default unit to UNIT_NONE,
6880         implement bool empty() [bug 490]
6881
6882 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6883
6884         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6885
6886 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6887
6888         * several files: ws changes
6889
6890 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6891
6892         * text2.C (setCounter): clean up a bit, use boost.format.
6893         (updateCounters): initialize par upon declaration.
6894
6895         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6896         if the layout exists. We do not just store the layout any more.
6897         (SwitchLayoutsBetweenClasses): use boost.format
6898
6899 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6900
6901         * converter.C (convert): if from and to files are the same, use a
6902         temporary files as intermediary
6903
6904 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6905
6906         * commandtags.h:
6907         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6908
6909 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6910
6911         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6912
6913 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6914
6915         * tabular.C (asciiPrintCell): use string(size, char) instead of
6916         explicit loop.
6917
6918         * sgml.C (openTag): fix order of arguments to string constructor
6919         (closeTag): ditto
6920
6921         * lyxfunc.C (dispatch): use boost.format
6922
6923         * lots of files: change "c" -> 'c'
6924
6925 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6926
6927         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6928
6929 2002-11-25  Angus Leeming  <leeming@lyx.org>
6930
6931         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6932
6933         * lyx_main.C (init): compile fix.
6934
6935 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6936
6937         * lyx_cb.C (start): boost.formatify
6938         do not include <iostream>
6939
6940         * lengthcommon.C: ws only
6941
6942         * boost-inst.C,BoostFormat.h: add more explict instantations
6943
6944 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6945
6946         * lots of files: handle USE_BOOST_FORMAT
6947
6948 2002-11-21  John Levon  <levon@movementarian.org>
6949
6950         * pspell.C: fix compile
6951
6952 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6953
6954         * lyxfunc.C (dispatch): use boost::format
6955         (open): ditto
6956         (doImport): ditto
6957
6958         * lyxfont.C (stateText): use boost::format
6959
6960         * lyx_main.C (LyX): use boost::format
6961         (init): ditto
6962         (queryUserLyXDir): ditto
6963         (readRcFile): ditto
6964         (parse_dbg): ditto
6965         (typedef boost::function): use the recommened syntax.
6966
6967         * importer.C (Import): use boost::format
6968
6969         * debug.C (showLevel): use boost::format
6970
6971         * converter.C (view): use boost::format
6972         (convert): ditto
6973         (move): ditto
6974         (scanLog): ditto
6975
6976         * bufferview_funcs.C (currentState): use boost::format
6977
6978         * bufferlist.C (emergencyWrite): use boost::format
6979
6980         * buffer.C (readLyXformat2): use boost::format
6981         (parseSingleLyXformat2Token): ditto
6982
6983         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6984
6985         * LaTeX.C (run): use boost::format
6986
6987         * Chktex.C (scanLogFile): use boost::format
6988
6989         * BufferView_pimpl.C (savePosition): use boost::format
6990         (restorePosition): ditto
6991         (MenuInsertLyXFile): ditto
6992
6993         * BoostFormat.h: help file for explicit instation.
6994
6995 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6996
6997         * tabular.C (latex): Support for block alignment in fixed width
6998         columns.
6999
7000 2002-11-17  John Levon  <levon@movementarian.org>
7001
7002         * BufferView_pimpl.C:
7003         * lyx_cb.C:
7004         * lyxfunc.C: split filedialog into open/save
7005
7006 2002-11-08  Juergen Vigna  <jug@sad.it>
7007
7008         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7009         by my last patch (hopefully).
7010
7011 2002-11-08  John Levon  <levon@movementarian.org>
7012
7013         * iterators.h:
7014         * iterators.C:
7015         * buffer.h:
7016         * buffer.C:
7017         * paragraph.h:
7018         * paragraph.C:
7019         * toc.h:
7020         * toc.C: ParConstIterator, and use it (from Lars)
7021
7022 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
7023
7024         * lyxtextclass.[Ch]: revise and add doxygen comments
7025
7026 2002-11-07  John Levon  <levon@movementarian.org>
7027
7028         * text.C: fix progress value for spellchecker
7029
7030         * toc.C: fix navigate menu for insetwrap inside minipage
7031
7032         * paragraph_funcs.C: added FIXME for suspect code
7033
7034 2002-11-07  John Levon  <levon@movementarian.org>
7035
7036         * BufferView_pimpl.C: fix redrawing of insets
7037           on buffer switch
7038
7039 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7040
7041         * text2.C (updateCounters): fix bug 668
7042
7043 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
7044
7045         * text3.C (dispatch): Do not make the buffer dirty when moving the
7046         cursor.
7047
7048 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7049
7050         * vc-backend.C: STRCONV
7051         (scanMaster): ditto
7052
7053         * text2.C (setCounter): STRCONV
7054
7055         * paragraph.C (asString): STRCONV
7056
7057         * lyxlength.C (asString): STRCONV
7058         (asLatexString): ditto
7059
7060         * lyxgluelength.C (asString): STRCONV
7061         (asLatexString): ditto
7062
7063         * lyxfunc.C (dispatch): STRCONV
7064         (open): ditto
7065
7066         * lyxfont.C (stateText): STRCONV
7067
7068         * importer.C (Import): STRCONV
7069
7070         * counters.C (labelItem): STRCONV
7071         (numberLabel): ditto
7072         (numberLabel): remove unused ostringstream o
7073
7074         * chset.C: STRCONV
7075         (loadFile): ditto
7076
7077         * bufferview_funcs.C (currentState): STRCONV
7078
7079         * buffer.C (readFile): STRCONV
7080         (asciiParagraph): ditto
7081         (makeLaTeXFile): ditto
7082
7083         * Spacing.C (writeEnvirBegin): STRCONV
7084
7085         * LaTeXFeatures.C (getLanguages): STRCONV
7086         (getPackages): ditto
7087         (getMacros): ditto
7088         (getBabelOptions): ditto
7089         (getTClassPreamble): ditto
7090         (getLyXSGMLEntities): ditto
7091         (getIncludedFiles): ditto
7092
7093         * LaTeX.C: STRCONV
7094         (run): ditto
7095         (scanAuxFile): ditto
7096         (deplog): ditto
7097
7098         * LString.h: add the STRCONV macros
7099
7100         * BufferView_pimpl.C (savePosition): STRCONV
7101         (restorePosition): ditto
7102         (MenuInsertLyXFile): ditto
7103
7104         * vc-backend.C (scanMaster): change from submatch[...] to
7105         submatch.str(...)
7106
7107         * funcrequest.C: include config.h
7108
7109         * factory.C: include config.h
7110
7111         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7112
7113         * box.C: include config.h
7114
7115         * LaTeX.C (scanAuxFile): change from submatch[...] to
7116         submatch.str(...)
7117         (deplog): ditto
7118
7119 2002-10-25  Angus Leeming  <leeming@lyx.org>
7120
7121         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7122
7123         * ispell.[Ch] (setError): new method.
7124         * ispell.C (c-tor): move out child process into new class LaunchIspell.
7125         Use setError() insetead of goto END.
7126
7127         * lyx_cb.C (AutoSave): move out child process into new class
7128         AutoSaveBuffer.
7129
7130 2002-10-30  John Levon  <levon@movementarian.org>
7131
7132         * text3.C: make start appendix undoable
7133
7134 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
7135
7136         * lyxlength.C (inPixels): Fix returned value.
7137
7138         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7139         environment.
7140
7141 2002-10-24  Angus Leeming  <leeming@lyx.org>
7142
7143         * lyxgluelength.h: no need to forward declare BufferParams
7144         or BufferView, so don't.
7145
7146 2002-10-21  John Levon  <levon@movementarian.org>
7147
7148         * BufferView.C: menuUndo ->undo, redo
7149
7150         * BufferView.h: document, remove dead, make some methods private
7151
7152         * paragraph_funcs.h:
7153         * paragraph_funcs.C:
7154         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7155
7156         * buffer.h:
7157         * buffer.C:
7158         * sgml.h:
7159         * sgml.C: move sgml open/close tag into sgml.C
7160
7161         * bufferview_funcs.h: unused prototype
7162
7163         * lyxfunc.h:
7164         * lyxfunc.C: remove unused
7165
7166         * lyxtext.h:
7167         * text.C: remove unused
7168
7169 2002-10-21  John Levon  <levon@movementarian.org>
7170
7171         * BufferView.h:
7172         * BufferView.C:
7173         * BufferView_pimpl.h:
7174         * BufferView_pimpl.C: fix mouse wheel handling based on
7175           patch from Darren Freeman
7176
7177 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
7178
7179         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7180
7181 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
7182
7183         * lyxlength.C (inPixels): Fix hanfling of negative length.
7184         Fix LyXLength::MU case.
7185
7186 2002-10-16  John Levon  <levon@movementarian.org>
7187
7188         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7189
7190 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7191
7192         * converter.C (view): add support for $$i (file name) and $$p
7193         (file path) for the viewer command. If $$i is not specified, then
7194         it is appended to the command (for compatibility with old syntax)
7195
7196 2002-10-14  Juergen Vigna  <jug@sad.it>
7197
7198         * undo_funcs.C (textHandleUndo): alter the order in which the
7199         new undopar is added to the LyXText, as we have to set first
7200         the right prev/next and then add it as otherwise the rebuild of
7201         LyXText is not correct. Also reset the cursor to the right paragraph,
7202         with this IMO we could remove the hack in "redoParagraphs()".
7203
7204 2002-10-09  Angus Leeming  <leeming@lyx.org>
7205
7206         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7207         to turn off an optimisation if a new inset is to be inserted.
7208
7209 2002-10-11 André Pönitz <poenitz@gmx.net>
7210
7211         * lyxtext.h: make some functions public to allow access
7212         from inset/lyxtext for handling LFUN_PRIOR/NEXT
7213
7214 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7215
7216         * text3.C (dispatch): when changing layout, avoid an infinite loop
7217         [bug #652]
7218
7219 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7220
7221         * lyxrc.C (read): treat a viewer or converter command of "none" as
7222         if it were empty.
7223
7224         * MenuBackend.C (expandFormats): for an update, also allow the
7225         formats that are not viewable
7226
7227         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7228         script if it is newer than the lyxrc.defaults in user directory
7229
7230 2002-10-07 André Pönitz <poenitz@gmx.net>
7231
7232         * text.C: Vitaly Lipatov's small i18n fix
7233
7234 2002-09-25  Angus Leeming  <leeming@lyx.org>
7235
7236         * ispell.h: doxygen fix.
7237
7238 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
7239
7240         * buffer.h (readFile): Add a new argument to the method, to allow
7241         reading of old-format templates.
7242
7243 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
7244
7245         * toc.C (getTocList): Get TOC from InsetWrap.
7246
7247 2002-09-16  John Levon  <levon@movementarian.org>
7248
7249         * lyxfunc.C: check tabular for cut/copy too
7250
7251 2002-09-12  John Levon  <levon@movementarian.org>
7252
7253         * LyXAction.C: tidy
7254
7255         * factory.h:
7256         * factory.C: add header
7257
7258         * paragraph_funcs.h:
7259         * paragraph_funcs.C: cleanup
7260
7261 2002-09-11  John Levon  <levon@movementarian.org>
7262
7263         * PrinterParams.h: odd/even default to true
7264
7265 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
7266
7267         * PrinterParams.h: update printer parameters for new xforms dialog
7268
7269 2002-09-11  Angus Leeming  <leeming@lyx.org>
7270
7271         * lyxserver.C (read_ready): re-write to make it more transparent
7272         and to make it work in coherent fashion under Tru64 Unix.
7273
7274 2002-09-11  André Pönitz <poenitz@gmx.net>
7275
7276         * commandtags.h:
7277         * LyXAction.C:
7278         * text3.C: implement LFUN_WORDSEL
7279
7280 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7281
7282         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7283         make floatlist_ a boost::shared_ptr<FloatList>
7284
7285         * lyxtextclass.C: include FloatList.h
7286         (LyXTextClass): initialize floatlist_
7287         (TextClassTags): add TC_NOFLOAT
7288         (Read): match "nofloat" to TC_NOFLOAT and use it.
7289         (readFloat): modify call to floatlist_
7290         (floats): ditto
7291         (floats): ditto
7292
7293         * FloatList.[Ch] (FloatList): remove commented out float
7294         initialization.
7295         (erase): new function
7296
7297 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7298
7299         * MenuBackend.C (expandToc): fix crash when there is no document
7300         open
7301
7302 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
7303
7304         * many files: Add insetwrap.
7305
7306 2002-09-09  John Levon  <levon@movementarian.org>
7307
7308         * text2.C: remove confusing and awkward depth wraparound
7309
7310 2002-09-09  John Levon  <levon@movementarian.org>
7311
7312         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7313
7314         * buffer.h:
7315         * buffer.C: remove getIncludeonlyList()
7316
7317         * paragraph.C:
7318         * lyxfunc.C: remove headers
7319
7320 2002-09-09  Juergen Vigna  <jug@sad.it>
7321
7322         * text.C (getColumnNearX): fix form Michael this is most
7323         probably a cut&paste bug.
7324
7325 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7326
7327         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7328
7329         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7330         references, ws changes.
7331
7332         * text2.C (init): update counters after init
7333         (insertParagraph): no need to set counter on idividual paragraphs.
7334         (setCounter): access the counters object in the textclass object
7335         on in the buffer object.
7336         (updateCounters): ditto
7337
7338         * lyxtextclass.C: include counters.h, add variable ctrs_ as
7339         shared_ptr<Counters> to avoid loading counters.h in all
7340         compilation units.
7341         (LyXTextClass): initialize ctrs_
7342         (TextClassTags): add TC_COUNTER, and ...
7343         (Read): use it here.
7344         (CounterTags): new tags
7345         (readCounter): new function
7346         (counters): new funtion
7347         (defaultLayoutName): return a const reference
7348
7349         * counters.C (Counters): remove contructor
7350         (newCounter): remove a couple of unneeded statements.
7351         (newCounter): simplify a bit.
7352         (numberLabel): some small formatting changes.
7353
7354         * buffer.[Ch]: remove all traces of counters, move the Counters
7355         object to the LyXTextClass.
7356
7357 2002-09-06  Alain Castera  <castera@in2p3.fr>
7358
7359         * tabular.C: uses \tabularnewline; uses >{...} construct from array
7360         package to set the horizontal alignment on fixed width columns.
7361
7362         * lyx_sty.C:
7363         * lyx_sty.h: added tabularnewline macro def.
7364
7365         * LaTeXFeatures.C: added NeedTabularnewline macro feature
7366
7367 2002-09-06  John Levon  <levon@movementarian.org>
7368
7369         * LyXAction.C: tooltips for sub/superscript
7370
7371         * MenuBackend.C: a bit more verbose
7372
7373         * lyxfunc.C: tiny clean
7374
7375         * undo_funcs.C: document undo_frozen
7376
7377 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7378
7379         * counters.C (Counters): add missing algorithm counter.
7380
7381         * text2.C (setCounter): lookup the counter with layouts latexname
7382         instead of by section number.
7383         (setCounter): use a hackish way to lookup the correct enum
7384         counter.
7385         a float name->type change
7386         reset enum couners with counter name directly instead of depth value.
7387
7388         * counters.C (Counters): remove the push_backs, change to use the
7389         float type not the float name.
7390         (labelItem): remove unused string, float name->type change
7391
7392         * counters.h: don't include vector, loose the enums and sects vectors
7393
7394 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7395
7396         * lyxtextclass.C (TextClassTags): add TC_FLOAT
7397         (Read): add float->TC_FLOAT to textclassTags
7398         (Read): and handle it in the switch
7399         (readFloat): new function
7400
7401         * FloatList.C (FloatList): comment out the hardcoded float
7402         definitions.
7403
7404         * lyxlayout.h: ws change.
7405
7406 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
7407
7408         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7409
7410 2002-09-03  Angus Leeming  <leeming@lyx.org>
7411
7412         * BufferView_pimpl.h: qualified name is not allowed in member
7413         declaration: WorkArea & Pimpl::workarea() const;
7414
7415         * factory.C: added using std::endl directive.
7416
7417         * text3.C: added using std::find and std::vector directives.
7418
7419 2002-08-29  André Pönitz <poenitz@gmx.net>
7420
7421         * lyxtext.h:
7422         * text2.C: remove unused member number_of_rows
7423
7424         * Makefile.am:
7425         * BufferView2.C: remove file, move contents to...
7426         * BufferView.C: ... here
7427
7428         * BufferView_pimpl.C:
7429         * factory.C: move more inset creation to factory
7430
7431         * vspace.C: avoid direct usage of LyXText, ws changes
7432
7433         * BufferView.[Ch]:
7434                 don't provide direct access to WorkArea, use two simple
7435                 acessors haveSelction() and workHeight() instead
7436
7437
7438 2002-08-29  John Levon  <levon@movementarian.org>
7439
7440         * BufferView_pimpl.C (dispatch): do not continue when
7441           no buffer
7442
7443 2002-08-28  André Pönitz <poenitz@gmx.net>
7444
7445         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7446
7447         * BufferView.h:
7448         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7449
7450 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
7451
7452         * buffer.C: increment LYX_FORMAT to 221
7453
7454         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7455         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7456
7457         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7458
7459         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7460
7461 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7462
7463         * factory.C (createInset): use LyXTextClass::floats
7464
7465         * MenuBackend.C (expandFloatListInsert):
7466         (expandFloatInsert):
7467         (expandToc):
7468
7469         * text2.C (setCounter):
7470
7471         * LaTeXFeatures.C (useFloat):
7472         (getFloatDefinitions):
7473
7474         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7475
7476         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7477         floatlist_, with accessor floats().
7478
7479         * FloatList.h: remove global FloatList
7480
7481 2002-08-26  André Pönitz <poenitz@gmx.net>
7482
7483         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7484
7485         * BufferView.h:
7486         * BufferView2.C:
7487         * BufferView_pimpl.C:
7488         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7489
7490 2002-08-25  John Levon  <levon@movementarian.org>
7491
7492         * LyXAction.C: fix margin note description
7493
7494 2002-08-24  John Levon  <levon@movementarian.org>
7495
7496         * buffer.C:
7497         * bufferlist.C:
7498         * bufferview_funcs.C:
7499         * lyxfont.C:
7500         * undo_funcs.C: cleanups
7501
7502         * lyxfunc.C: disable CUT/COPY when no selection
7503
7504 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
7505
7506         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7507         in "enum UNIT"; e.g. PTW for Percent of TextWidth
7508
7509         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7510         Add backward compatibility to "mono", "gray" and "no".
7511
7512 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
7513
7514         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7515         (and file_format >= 200).
7516
7517 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7518
7519         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7520
7521 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7522
7523         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7524
7525 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
7526
7527         * BufferView_pimpl.C:
7528         * LyXAction.C:
7529         * buffer.C:
7530         * commandtags.h:
7531         * lyxfunc.C:
7532         * paragraph.[Ch]:
7533         * text2.C:
7534         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7535         inset and code to make it  work with the paragraph code. The inset
7536         can be anywhere in the paragraph, but will only do the expected
7537         thing in LaTeX if the layout file contains the parameter line
7538                         OptionalArgs    1
7539         (or more generally, a nonzero value) for that layout.
7540
7541 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7542
7543         * paragraph.h: remove the declaration of undefined counters class
7544         function.
7545
7546 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
7547
7548         * text2.C (setCounter):  fixed enumeration mis-count as reported by
7549         Dr. Richard Hawkins.
7550
7551 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7552
7553         * paragraph_funcs.h: remove some unneeded includes
7554
7555         * text.C (backspace): pasteParagraph now in global scipe
7556
7557         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7558         (pasteSelection): ditto
7559
7560         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7561         * paragraph_funcs.C (pasteParagraph): ... here
7562
7563 2002-08-20  André Pönitz <poenitz@gmx.net>
7564
7565         * commandtags.h: new LFUNs for swapping/copying table row/colums
7566
7567         * LyXAction.C:
7568         * lyxfunc.C: support for new lfuns
7569
7570 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7571
7572         * tabular.C:
7573         * buffer.[Ch]: remove NO_COMPABILITY stuff
7574
7575 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
7576
7577         * boost.C (throw_exception): new file, with helper function for
7578         boost compiled without exceptions.
7579
7580         * paragraph.h:
7581         * lyxlength.C:
7582         * buffer.C:
7583         * ParameterStruct.h:
7584         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7585
7586         * bufferlist.C (emergencyWriteAll): use boost bind
7587
7588         * BufferView_pimpl.C (moveCursorUpdate): remove inline
7589
7590         * text.C: include paragraph_funcs.h
7591         (breakParagraph): breakParagraph is now in global scope
7592
7593         * paragraph_funcs.[Ch]: new files
7594
7595         * paragraph.C (breakParagraph,breakParagraphConservative): move to
7596         global scope
7597
7598         * buffer.C: include paragraph_funcs.h
7599         (insertStringAsLines): breakParagraph is now in global scope
7600
7601         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7602         paragraph_funcs.C
7603
7604         * CutAndPaste.C: include paragraph_funcs.h
7605         (cutSelection): breakParagraphConservative is now in global scope
7606         (pasteSelection): ditto
7607
7608         * buffer.h: declare oprator== and operator!= for
7609         Buffer::inset_iterator
7610
7611         * bufferlist.C (emergencyWrite): don't use fmt(...)
7612
7613         * text3.C: add using std::endl
7614
7615         * BufferView.C (moveCursorUpdate): remove default arg
7616
7617 2002-08-20  André Pönitz <poenitz@gmx.net>
7618
7619         * buffer.[Ch]: move inline functions to .C
7620
7621         * BufferView2.C:
7622         * BufferView_pimpl.C:
7623         * text.C:
7624         * buffer.[Ch]: use improved inset_iterator
7625
7626         * buffer.C:
7627         * paragraph.[Ch]: write one paragraph at a time
7628
7629 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
7630
7631         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7632         style if style is not specified.
7633
7634 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7635
7636         * text2.C (setCounter): when searching for right label for a
7637         caption, make sure to recurse to parent insets (so that a caption
7638         in a minipage in a figure float works) (bug #568)
7639
7640 2002-08-20  André Pönitz <poenitz@gmx.net>
7641
7642         * text3.C: new file for LyXText::dispatch() and helpers
7643
7644         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7645
7646         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7647
7648 2002-08-19  André Pönitz <poenitz@gmx.net>
7649
7650         * lyxtext.h:
7651         * text.C: new LyXText::dispatch()
7652
7653         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7654
7655 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
7656
7657         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7658
7659         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7660         Hebrew text.
7661
7662 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7663
7664         * Makefile.am: use $(variables) instead of @substitutions@
7665
7666 2002-08-15  André Pönitz <poenitz@gmx.net>
7667
7668         * lyxfunc.C:
7669         * BufferView_pimpl.C: streamlining mathed <-> outer world
7670         interaction
7671
7672         * commandtags.h:
7673         * LyXAction.C: remove unused LFUN_MATH
7674
7675 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7676
7677         * paragraph.[Ch]: add some NO_NEXT ifdefs.
7678
7679 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7680
7681         * paragraph.C (Paragraph): reformat a bit
7682         (cutIntoMinibuffer): use builtin InsetList function instad of
7683         doing it manually.
7684         (getInset): ditto
7685
7686         * buffer.C: include boost/bind.hpp, add using std::for_each
7687         (writeFileAscii): use ParagraphList iterators
7688         (validate): use for_each for validate traversal of paragraphs
7689         (getBibkeyList): use ParagraphList iterators
7690         (resizeInsets): use for_each to resizeInsetsLyXText for all
7691         paragraphs.
7692         (getParFromID): use ParagraphList iterators
7693
7694         * BufferView2.C (lockInset): use paragraph list and iterators
7695
7696 2002-08-14  John Levon  <levon@movementarian.org>
7697
7698         * lyxserver.C: remove spurious xforms include
7699
7700 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7701
7702         * lyxfunc.C (getStatus): disable math-extern outside of math mode
7703
7704 2002-08-13  André Pönitz <poenitz@gmx.net>
7705
7706         * LyXAction.[Ch]:
7707         * lyxfunc.C: further cleaning
7708
7709 2002-08-13  André Pönitz <poenitz@gmx.net>
7710
7711         * funcrequest.h: new constructor
7712
7713         * funcrequest.C: move stuff here from .h
7714
7715         * Makefile.am:
7716         * BufferView_pimpl.C:
7717         * LyXAction.C:
7718         * toc.C:
7719         * lyxfunc.C: subsequent changes
7720
7721         * lyxfunc.h: new view() member function
7722
7723         * lyxfunc.C: subsequent changes
7724
7725 2002-08-13  Angus Leeming  <leeming@lyx.org>
7726
7727         * BufferView2.C:
7728         * BufferView_pimpl.C:
7729         * buffer.C:
7730         * converter.C:
7731         * importer.C:
7732         * lyxfunc.C:
7733         * lyxvc.C:
7734         * toc.C:
7735         * vc-backend.C:
7736         changes due to the changed LyXView interface that now returns references
7737         to member variables not pointers.
7738
7739 2002-08-13  Angus Leeming  <leeming@lyx.org>
7740
7741         * WordLangTuple (word, lang_code): return references to strings,
7742         not strings.
7743
7744         * BufferView.h:
7745         * SpellBase.h:
7746         * lyxtext.h: forward-declare WordLangTuple.
7747
7748         * BufferView2.C:
7749         * ispell.C:
7750         * pspell.C:
7751         * text.C: #include "WordLangTuple.h".
7752
7753         * lyxtext.h:
7754         * text.C: (selectNextWordToSpellcheck): constify return type.
7755
7756 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
7757
7758         * buffer.C:
7759         * buffer.h:
7760         * lyxtext.h:
7761         * paragraph.C:
7762         * paragraph_pimpl.h:
7763         * text.C:
7764         * text2.C:
7765         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7766         suggested by Angus.
7767         Made updateCounter always count from start of buffer, and removed
7768         second argument (par).
7769         Reverted floats number display to '#'. Perhaps I'll try again when the
7770         code base is sanitized a bit.
7771
7772 2002-08-12  Angus Leeming  <leeming@lyx.org>
7773
7774         * buffer.[Ch] (getLabelList): constify.
7775
7776 2002-08-07  André Pönitz <poenitz@gmx.net>
7777
7778         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7779
7780         * funcrequest.h: extension to keep mouse (x,y) position
7781
7782 2002-08-12  Juergen Vigna  <jug@sad.it>
7783
7784         * BufferView2.C (insertErrors): forbid undo when inserting error
7785         insets.
7786
7787         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7788
7789 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7790
7791         * ParagraphList.[Ch]: new files
7792
7793         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7794
7795         * BufferView2.C (lockInset): ParagraphList changes
7796         * toc.C: ditto
7797         * text2.C: ditto
7798         * bufferlist.C: ditto
7799         * buffer.h: ditto
7800         * buffer.C: ditto
7801
7802 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7803
7804         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7805         unused class variable counter_,
7806
7807         * paragraph.[Ch] (getFirstCounter): delete unused function
7808
7809         * counters.C: include LAssert.h
7810         (reset): add a new function with no arg, change other version to
7811         not have def. arg and to not allow empty arg.
7812
7813         * text2.C (setCounter): remove empty arg from call to Counters::reset
7814
7815 2002-08-11  John Levon  <levon@movementarian.org>
7816
7817         * Makefile.am: add WordLangTuple.h
7818
7819 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7820
7821         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7822         lyxfunc.C lyxlex_pimpl.C: ws changes only.
7823
7824         * insets/insettext.C: InsetList changes
7825
7826         * graphics/GraphicsSupport.C (operator()): InsetList changes
7827
7828         * toc.C (getTocList): InsetList changes
7829
7830         * paragraph_pimpl.[Ch]: InsetList changes
7831
7832         * paragraph.[Ch]: InsetList changes
7833
7834         * buffer.C (inset_iterator): InsetList changes
7835         (setParagraph): ditto
7836         * buffer.h (inset_iterator): ditto
7837         * iterators.C (operator++): ditto
7838         * iterators.h: ditto
7839
7840         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7841
7842         * InsetList.[Ch]: new files, most InsetList handling moved out of
7843         paragraph.C.
7844
7845         * BufferView2.C (removeAutoInsets): InsetList changes
7846         (lockInset): ditto
7847         (ChangeInsets): ditto
7848
7849 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7850
7851         * paragraph_pimpl.h (empty): new function
7852
7853         * paragraph.[Ch] (empty): new function
7854
7855         * other files: use the new Paragraph::empty function
7856
7857 2002-08-09  John Levon  <levon@movementarian.org>
7858
7859         * lyxtext.h: remove unused refresh_height
7860
7861 2002-08-09  John Levon  <levon@movementarian.org>
7862
7863         * Makefile.am:
7864         * sgml.h:
7865         * sgml.C:
7866         * buffer.C:
7867         * paragraph.h:
7868         * paragraph.C: move sgml char escaping out of paragraph
7869
7870         * paragraph.h:
7871         * paragraph.C: remove id setter
7872
7873         * buffer.C:
7874         * paragraph.C:
7875         * paragraph_pimpl.C: remove dead tex_code_break_column
7876
7877         * bufferview_funcs.C: small cleanup
7878
7879         * lyxfunc.C: remove dead proto
7880
7881         * lyxtext.h: make some stuff private. Remove some dead stuff.
7882
7883         * lyxgluelength.C: make as[LyX]String() readable
7884
7885 2002-08-08  John Levon  <levon@movementarian.org>
7886
7887         * LyXAction.h:
7888         * LyXAction.C:
7889         * MenuBackend.C:
7890         * ToolbarDefaults.C:
7891         * lyxfunc.C:
7892         * lyxrc.C:
7893         * toc.C: lyxaction cleanup
7894
7895 2002-08-08  John Levon  <levon@movementarian.org>
7896
7897         * BufferView2.C: small cleanup
7898
7899         * lyxfind.h:
7900         * lyxfind.C: move unnecessary header into the .C
7901
7902 2002-08-08  John Levon  <levon@movementarian.org>
7903
7904         * funcrequest.h: just tedious nonsense
7905
7906         * lyx_main.h:
7907         * lyx_main.C: cleanups
7908
7909         * buffer.C:
7910         * vspace.C: remove dead header lyx_main.h
7911
7912 2002-08-07  Angus Leeming  <leeming@lyx.org>
7913
7914         * Paragraph.[Ch]:
7915         * paragraph_pimpl.h:
7916         Forward declare class Counters in paragraph.h by moving the ctrs member
7917         variable into Paragraph::Pimpl.
7918         (counters): new method, returning a reference to pimpl_->ctrs.
7919
7920         * text2.C: ensuing changes.
7921
7922 2002-08-07  John Levon  <levon@movementarian.org>
7923
7924         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7925
7926         * BufferView_pimpl.C: announce X selection on double/triple
7927           click
7928
7929         * lyx_main.C: use correct bool in batch dispatch
7930
7931         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7932
7933 2002-08-07  André Pönitz <poenitz@gmx.net>
7934
7935         * funcrequest.h: new class to wrap a kb_action and its argument
7936
7937         * BufferView.[Ch]:
7938         * BufferView_pimpl[Ch]:
7939         * LaTeX.C:
7940         * LyXAction.[Ch]:
7941         * lyxfunc.[Ch]:
7942         * lyxrc.C: subsequent changes
7943
7944
7945 2002-08-07  John Levon  <levon@movementarian.org>
7946
7947         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7948           document options change.
7949
7950 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7951
7952         * counters.[Ch]
7953         * text2.C
7954         * paragraph.[Ch]
7955         * makefile.am: move counters functionality over from
7956         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7957
7958 2002-08-06  John Levon  <levon@movementarian.org>
7959
7960         * WordLangTuple.h: new file for word + language code tuple
7961
7962         * SpellBase.h:
7963         * pspell.h:
7964         * pspell.C:
7965         * ispell.h:
7966         * ispell.C:
7967         * lyxtext.h:
7968         * text.C:
7969         * text2.C:
7970         * BufferView.h:
7971         * BufferView2.C: use WordLangTuple
7972
7973         * layout.h:
7974         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7975
7976 2002-08-06  John Levon  <levon@movementarian.org>
7977
7978         * lyx_main.C: fix cmdline batch handling
7979
7980 2002-08-06  André Pönitz <poenitz@gmx.net>
7981
7982         * lyxrc.C: set default for show_banner to true
7983
7984 2002-08-06  John Levon  <levon@movementarian.org>
7985
7986         * pspell.C: fix a crash, and allow new aspell to work
7987
7988 2002-08-06  John Levon  <levon@movementarian.org>
7989
7990         * lyxfunc.C:
7991         * kbmap.C: small cleanup
7992
7993         * vspace.h:
7994         * vspace.C: add const
7995
7996 2002-08-05  John Levon  <levon@movementarian.org>
7997
7998         * LyXAction.C: back to tabular-insert
7999
8000 2002-08-04  John Levon  <levon@movementarian.org>
8001
8002         * BufferView.h:
8003         * BufferView.C: cosmetic change
8004
8005         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8006
8007         * bufferlist.C:
8008         * buffer.h:
8009         * buffer.C:
8010         * lyxcb.h:
8011         * lyxcb.C:
8012         * lyxserver.C:
8013         * lyxvc.C:
8014         * vc-backend.C:
8015         * BufferView2.C: purge all "Lyx" not "LyX" strings
8016
8017         * lyxcursor.h:
8018         * lyxcursor.C: attempt to add some documentation
8019
8020         * lyxfunc.C:
8021         * commandtags.h:
8022         * LyXAction.C:
8023         * ToolbarDefaults.C:
8024         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8025           merge with LFUN_TABULAR_INSERT
8026
8027         * Makefile.am:
8028         * SpellBase.h:
8029         * ispell.h:
8030         * ispell.C:
8031         * pspell.h:
8032         * pspell.C: split up i/pspell implementations into separate
8033           files, many cleanups
8034
8035         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8036
8037         * text2.C: some cleanup
8038
8039         * lyxfunc.C: don't check for isp_command == "none" any more, it
8040           didn't make any sense
8041
8042 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
8043
8044         * counters.[Ch]
8045         * text2.C
8046         * paragraph.[Ch]
8047         * makefile.am: move counters functionality over
8048         from text2.C/paragraph.[Ch] to counters.[Ch], and
8049         make proper C++.
8050 2002-08-02  John Levon  <levon@movementarian.org>
8051
8052         * buffer.C: s/lyxconvert/lyx2lyx/
8053
8054 2002-08-02  Angus Leeming  <leeming@lyx.org>
8055
8056         * lyxlex.C: revert John's change as it breaks reading of the user
8057         preamble.
8058
8059 2002-08-02  Angus Leeming  <leeming@lyx.org>
8060
8061         * importer.C (Import):
8062         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8063         changes due to LyXView::view() now returning a boost::shared_ptr.
8064
8065 2002-08-02  John Levon  <levon@movementarian.org>
8066
8067         * lyxlex.C: small cleanup
8068
8069 2002-08-02  John Levon  <levon@movementarian.org>
8070
8071         * text2.C (status): small cleanup, no logic change
8072
8073 2002-08-01  John Levon  <levon@movementarian.org>
8074
8075         * buffer.h:
8076         * buffer.C (writeFile): don't output alerts, caller
8077           handles this
8078
8079         * bufferlist.C:
8080         * lyx_cb.C: from above
8081
8082         * lyxfunc.C: allow to open non-existent files
8083
8084 2002-07-31  John Levon  <levon@movementarian.org>
8085
8086         * lyxserver.C: don't let incidental errors get
8087           in the way (errno)
8088
8089 2002-07-30  John Levon  <levon@movementarian.org>
8090
8091         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8092
8093 2002-07-30  John Levon  <levon@movementarian.org>
8094
8095         * lyxserver.h:
8096         * lyxserver.C: remove I/O callback too
8097
8098 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8099
8100         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8101         log.
8102
8103 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8104
8105         * many files: strip,frontStrip -> trim,ltrim,rtrim
8106
8107 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8108
8109         * PrinterParams.h: remove extern containsOnly, and include
8110         support/lstrings.h instead.
8111
8112         * LaTeX.C (scanAuxFile): modify because of strip changes
8113         (deplog): ditto
8114         * buffer.C (makeLaTeXFile): ditto
8115         * bufferparams.C (writeFile): ditt
8116         * lyxfont.C (stateText): ditto
8117         * lyxserver.C (read_ready): ditto
8118         * vc-backend.C (scanMaster): ditto
8119
8120         * BufferView_pimpl.h: ws changes
8121
8122         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8123
8124 2002-07-26  André Pönitz <poenitz@gmx.net>
8125
8126         * kb_sequence.C: remove unnedred usings
8127
8128 2002-07-26  Juergen Vigna  <jug@sad.it>
8129
8130         * lyxfind.C (LyXReplace): we have to check better if the returned
8131         text is not of theLockingInset()->getLockingInset().
8132
8133 2002-07-25  Juergen Vigna  <jug@sad.it>
8134
8135         * lyxfind.C (LyXReplace): don't replace if we don't get the
8136         right LyXText.
8137
8138         * undo_funcs.C (createUndo): remove debugging code.
8139
8140 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
8141
8142         * buffer.C (parseSingleLyXformat2Token): Use default placement
8143         when reading old floats.
8144
8145         * FloatList.C (FloatList): Change the default placement of figure
8146         and tables to "tbp".
8147
8148 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
8149
8150         * MenuBackend.C: using std::max
8151
8152 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8153
8154         * MenuBackend.C (expandToc):
8155         (expandToc2): code moved from xforms menu frontend. It is now
8156         generic and TOCs are transparent to menu frontends.
8157
8158 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8159
8160         * toc.C (getTocList): protect against buf=0
8161
8162         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8163         Menu as first parameter. Now, this calls itself recursively to
8164         expand a whole tree (this will be useful for TOC handling)
8165         (expandFloatInsert): remove 'wide' version of floats
8166
8167         * MenuBackend.h (submenuname): returns the name of the submenu.
8168         (submenu): returns the submenu itself, provided it has been
8169         created by MenuBackend::expand
8170
8171 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8172
8173         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8174         insets which have noFontChange == true. (bug #172)
8175
8176 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8177
8178         * BufferView_pimpl.C: add connection objects and use them...
8179         (Pimpl): here.
8180
8181 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8182
8183         * MenuBackend.C (expandLastfiles):
8184         (expandDocuments):
8185         (expandFormats):
8186         (expandFloatListInsert):
8187         (expandFloatInsert):
8188         (expand): split expand in parts
8189
8190 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8191
8192         * lyx_gui.C: use lyx_gui::exit()
8193
8194 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8195
8196         * LyXAction.C: show the failing pseudo action
8197
8198 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
8199
8200         * buffer.C (readFile): Run the lyxconvert script in order to read
8201         old files.
8202
8203 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8204
8205         * LyXAction.C:
8206         * commandtags.h:
8207         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8208
8209 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8210
8211         * LyXAction.C:
8212         * commandtags.h:
8213         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8214
8215 2002-07-22  Herbert Voss  <voss@lyx.org>
8216
8217         * lengthcommon.C:
8218         * lyxlength.[Ch]: add support for the vertical lengths
8219
8220 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
8221
8222         * toc.[Ch]: std:: fixes
8223
8224 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8225
8226         * lyxrc.C: do not include lyx_main.h
8227
8228         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8229         for layouts
8230
8231         * lyxrc.C:
8232         * encoding.C:
8233         * bufferlist.C:
8234         * BufferView2.C: include "lyxlex.h"
8235
8236         * tabular.h:
8237         * bufferparams.h: do not #include "lyxlex.h"
8238
8239         * lyxtextclasslist.C (Add): remove method
8240         (classlist): renamed to classlist_
8241
8242         * paragraph_pimpl.C:
8243         * paragraph.C:
8244         * text2.C:
8245         * CutAndPaste.C:
8246         * bufferview_funcs.C:
8247         * bufferlist.C:
8248         * text.C:
8249         * LaTeXFeatures.C:
8250         * buffer.C:
8251         * toc.C (getTocList): use BufferParams::getLyXTextClass
8252
8253         * toc.C (getTocList): use InsetFloat::addToToc
8254
8255         * toc.[Ch]: new files, containing helper functions to handle table
8256         of contents
8257
8258         * lyxfunc.C (dispatch): no need to remove spaces around command
8259         given as a string
8260         (getStatus): handle LFUN_SEQUENCE by returning the status of the
8261         first command of the sequence; it is not very clever, but I do not
8262         have a better idea, actually
8263
8264         * LyXAction.C (LookupFunc): make sure to remove space at the
8265         beginning and end of the command
8266
8267 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8268
8269         * MenuBackend.C (getMenubar): new method: return the menubar of
8270         this menu set
8271         (read): treat differently reading of menu and menubar (in
8272         particular, the menubar has no name now)
8273         (Menu::menubar): remove
8274
8275         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8276         saving is finished
8277
8278 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8279
8280         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8281         a bibitem inset in a RTL paragraph.
8282
8283 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
8284
8285         * paragraph_pimpl.C: constify
8286
8287         * BufferView_pimpl.C:
8288         * LaTeX.C:
8289         * lyxfunc.C: fix dispatch in a nicer way
8290
8291 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8292
8293         * lyxfunc.C (dispatch):
8294         * BufferView_pimpl.C:
8295         * BufferView_pimpl.h:
8296         * BufferView.C:
8297         * BufferView.h: rename Dispatch() to dispatch()
8298
8299         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8300
8301         * lyxlayout.C (Read): honor DependsOn tag
8302
8303         * lyxlayout.[Ch] (depends_on): new method
8304
8305         * version.C.in: update lyx_docversion
8306
8307         * LaTeXFeatures.C (getMacros): only define \LyX when needed
8308
8309         * paragraph.C (validate): remove from here...
8310         * paragraph_pimpl.C (validate): ... and move here
8311         (isTextAt): make it const
8312
8313         * buffer.C (getLists): ws cleanup
8314
8315 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8316
8317         * language.C (read): Use iso8859-1 encoding in latex_lang
8318         (this prevents LyX from crashing when using iso10646-1 encoding).
8319
8320 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8321
8322         * text2.C (toggleInset): if cursor is inside an inset, close the
8323         inset and leave cursor _after_ it
8324
8325 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8326
8327         * lyxfunc.C: move minibuffer completion handling out of here
8328
8329 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8330
8331         * BufferView_pimpl.C:
8332         * LaTeX.C: fix dispatch calls
8333
8334 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
8335
8336         * text.C (drawChars): Fix Arabic text rendering.
8337
8338 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
8339
8340         * LyXAction.C:
8341         * commandtags.h:
8342         * lyxfunc.C: remove message-push/pop
8343
8344         * lyxserver.C:
8345         * lyxfunc.h:
8346         * lyxfunc.C: rationalise some code by removing verboseDispatch
8347           in favour of a bool argument to dispatch()
8348
8349 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8350
8351         * lyx_main.C (init): make sure to read symlinks as absolute paths
8352
8353 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8354
8355         * lyxfunc.h:
8356         * lyxfunc.C: no need for commandshortcut to be a member
8357
8358 2002-07-15  André Pönitz <poenitz@gmx.net>
8359
8360         * converter.C: add support for $$s (scripts from lib/scripts dir)
8361         * lyx_main.C: white space
8362
8363 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8364
8365         * bufferlist.C:
8366         * lyxrc.h:
8367         * lyxrc.C: remove second exit confirmation
8368
8369 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8370
8371         * BufferView.h:
8372         * BufferView.C:
8373         * BufferView2.C:
8374         * BufferView_pimpl.h:
8375         * BufferView_pimpl.C:
8376         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8377
8378 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8379
8380         * MenuBackend.C (expand): add numeric shortcuts to document menu
8381
8382         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8383
8384 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8385
8386         * lyxfont.C (setLyXFamily):
8387         (setLyXSeries):
8388         (setLyXShape):
8389         (setLyXSize):
8390         (setLyXMisc):
8391         (lyxRead):
8392         * debug.C (value):
8393         * buffer.C (asciiParagraph): use ascii_lowercase
8394
8395 2002-07-15  Mike Fabian  <mfabian@suse.de>
8396
8397         * lyxlex_pimpl.C (search_kw):
8398         * lyxlex.C (getLongString):
8399         * converter.h (operator<):
8400         * converter.C (operator<):
8401         * buffer.C (parseSingleLyXformat2Token):
8402         (asciiParagraph):
8403         * ToolbarDefaults.C (read):
8404         * MenuBackend.C (checkShortcuts):
8405         (read):
8406         * LColor.C (getFromGUIName):
8407         (getFromLyXName): use the compare_ascii_no_case instead of
8408         compare_no_case, because in turkish, 'i' is not the lowercase
8409         version of 'I', and thus turkish locale breaks parsing of tags.
8410
8411 2002-07-16  Angus Leeming  <leeming@lyx.org>
8412
8413         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8414         now takes a Buffer const & argument.
8415
8416 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
8417
8418         * BufferView.C (resize): check there's a buffer to resize
8419
8420 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
8421
8422         * lyxfunc.C: remove dead code
8423
8424         * lyxserver.h:
8425         * lyxserver.C: use lyx_guii::set_read_callback
8426
8427 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
8428
8429         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8430         an inset in a RTL paragraph.
8431
8432 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8433
8434         * lyxfunc.C: repaint after a font size update
8435
8436 2002-07-15  André Pönitz <poenitz@gmx.net>
8437
8438         * lyxlength.C: inBP should be able to return negative values
8439
8440 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8441
8442         * lyxfunc.C: use lyx_gui::update_fonts()
8443
8444 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8445
8446         * lyxfunc.C: use lyx_gui::update_color()
8447
8448 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8449
8450         * bufferlist.C:
8451         * lyxfunc.h:
8452         * lyxfunc.C:
8453         * lyxrc.h:
8454         * lyxrc.C: remove file->new asks for name option, and let
8455           buffer-new take an argument
8456
8457 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8458
8459         * BufferView_pimpl.C: remove unneeded extra repaint()
8460
8461 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
8462
8463         * LyXAction.C: allow command-sequence with NoBuffer
8464
8465         * lyxfunc.C: don't insist on trailing ';' for command-sequence
8466
8467 2002-07-10  Angus Leeming  <leeming@lyx.org>
8468
8469         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8470
8471 2002-07-09  Angus Leeming  <leeming@lyx.org>
8472
8473         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8474
8475 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8476
8477         * lengthcommon.h: whitespace
8478
8479         * lyxfunc.C: update scrollbar after goto paragraph
8480
8481         * lyxtext.h: factor out page break drawing, and fix it so
8482           page break/added space paints as selected nicely
8483
8484 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8485
8486         * BufferView_pimpl.C: add FIXMEs, clean up a little
8487
8488 2002-07-09  André Pönitz <poenitz@gmx.net>
8489
8490         * lyxfont.[Ch]: support for wasy symbols
8491
8492 2002-07-08  André Pönitz <poenitz@gmx.net>
8493
8494         * BufferView_pimpl.C: apply John's patch for #93.
8495
8496 2002-07-05  Angus Leeming  <leeming@lyx.org>
8497
8498         * BufferView_pimpl.C (buffer): generate previews if desired.
8499
8500         * LColor.h: add "preview" to the color enum.
8501
8502         * LColor.C (LColor): add a corresponding entry to the items array.
8503
8504         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8505         with this buffer.
8506
8507 2002-07-05  Angus Leeming  <leeming@lyx.org>
8508
8509         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8510         The body of the code is now in the method that is passed an ostream &
8511         rather than a file name.
8512         Pass an additional only_preamble parameter, useful for the forthcoming
8513         preview stuff.
8514
8515 2002-07-03  André Pönitz <poenitz@gmx.net>
8516
8517         * lyxfunc.C: simplify getStatus() a bit for math stuff
8518
8519 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8520
8521         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8522
8523 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8524
8525         * text.C (changeRegionCase): do not change case of all the
8526         document when region ends at paragraph end (bug #461)
8527
8528 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8529
8530         * paragraph.C (startTeXParParams):
8531         (endTeXParParams): add \protect when necessary
8532
8533 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8534
8535         * BufferView_pimpl.C (workAreaExpose): remove warning
8536
8537 2002-06-27  Angus Leeming  <leeming@lyx.org>
8538
8539         * Makefile.am: add lyxlayout_ptr_fwd.h.
8540
8541 2002-06-26  André Pönitz <poenitz@gmx.net>
8542
8543         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8544
8545 2002-06-25  Angus Leeming  <leeming@lyx.org>
8546
8547         * lyxfunc.C (dispatch): Comment out the call to
8548         grfx::GCache::changeDisplay. The method no longer exists now that the
8549         pixmap generation part of the graphics loader has been moved into
8550         InsetGraphics.
8551
8552 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8553
8554         * text2.C: layout as layout
8555
8556         * text.C: layout as layout
8557
8558         * tabular.C (OldFormatRead): layout as layout
8559
8560         * paragraph_pimpl.C (TeXDeeper): layout as layout
8561         (realizeFont): layout as layout
8562
8563         * paragraph.C (writeFile): layout as layout
8564         (validate): layout as layout
8565         (getFont): layout as layout
8566         (getLabelFont): layout as layout
8567         (getLayoutFont): layout as layout
8568         (breakParagraph): layout as layout
8569         (stripLeadingSpaces): layout as layout
8570         (getEndLabel): layout as layout
8571         (getMaxDepthAfter): layout as layout
8572         (applyLayout): layout as layout
8573         (TeXOnePar): layout as layout
8574         (simpleTeXOnePar): layout as layout
8575         (TeXEnvironment): layout as layout
8576         (layout): layout as layout
8577         (layout): layout as layout
8578
8579         * lyxtextclass.C (compare_name): new functor to work with
8580         shared_ptr, layout as layout
8581         (Read): layout as layout
8582         (hasLayout): layout as layout
8583         (operator): layout as layout
8584         (delete_layout): layout as layout
8585         (defaultLayout): layout as layout
8586
8587         * lyxlayout_ptr_fwd.h: new file
8588
8589         * lyxlayout.C (Read): layout as layout
8590
8591         * lyx_cb.C (MenuInsertLabel): layout as layout
8592
8593         * bufferlist.C (newFile): layout as layout
8594
8595         * buffer.C (readLyXformat2): layout as layout
8596         (parseSingleLyXformat2Token): layout as layout
8597         (insertStringAsLines): layout as layout
8598         (asciiParagraph): layout as layout
8599         (latexParagraphs): layout as layout
8600         (makeLinuxDocFile): layout as layout
8601         (simpleLinuxDocOnePar): layout as layout
8602         (makeDocBookFile): layout as layout
8603         (simpleDocBookOnePar): layout as layout
8604         (getLists): layout as layout
8605
8606         * LaTeXFeatures.C (getTClassPreamble): layout as layout
8607
8608         * CutAndPaste.C (cutSelection): layout as layout
8609         (pasteSelection): layout as layout
8610         (SwitchLayoutsBetweenClasses): layout as layout
8611
8612         * BufferView_pimpl.C (Dispatch): layout as layout
8613         (smartQuote): layout as layout
8614
8615         * BufferView2.C (unlockInset): layout as layout
8616
8617 2002-06-24  André Pönitz <poenitz@gmx.net>
8618
8619         * lyxfunc.C: fix #487
8620
8621 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8622
8623         * lyxrc.h:
8624         * lyxrc.C:
8625         * lyxfunc.C: remove display_shortcuts, show_banner
8626
8627 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8628
8629         * Buffer_pimpl.C: oops, update on resize
8630
8631 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8632
8633         * buffer.C:
8634         * converter.C:
8635         * exporter.C:
8636         * lyxfunc.C:
8637         * BufferView.h:
8638         * BufferView.C: use repaint()
8639
8640         * BufferView_pimpl.h:
8641         * BufferView_pimpl.C: s/updateScreen()/repaint()/
8642           as it's a clearer description. Remove superfluous
8643           redraws.
8644
8645 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8646
8647         * text.C: fix bug 488. Not ideal, but getting
8648           getWord() to work properly for the insets that
8649           matter is more difficult ...
8650
8651 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8652
8653         * BufferView_pimpl.C:
8654         * LyXAction.C:
8655         * commandtags.h:
8656         * lyxfunc.C: remove the six million index lyxfuncs to just
8657           one, and DTRT (bug 458)
8658
8659 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8660
8661         * BufferView.h:
8662         * BufferView.C:
8663         * BufferView_pimpl.h:
8664         * BufferView_pimpl.C: clean up resize() stuff,
8665           and unnecessary updateScreen()s
8666
8667 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8668
8669         * BufferView.h:
8670         * BufferView.C:
8671         * BufferView_pimpl.h:
8672         * BufferView_pimpl.C:
8673         * lyxfind.h:
8674         * lyxfind.C:
8675         * minibuffer.C: remove focus management of workarea,
8676           not needed. Use screen's greyOut()
8677
8678 2002-06-17  Herbert Voss  <voss@lyx.org>
8679
8680         * converter.C: (convert) do not post a message, when converting
8681         fails, let the calling function decide what to do in this case
8682
8683 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
8684
8685         * lyxfunc.C: tidy up a little
8686
8687 2002-06-16    <alstrup@diku.dk>
8688
8689         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8690         Got rid of FORMS_H_LOCATION include. Now we are
8691         GUII.
8692
8693 2002-06-15  LyX Development team  <lyx@rilke>
8694
8695         * buffer.[Ch] (sgmlOpenTag):
8696         (sgmlCloseTag): Added support for avoiding pernicious mixed
8697         content. Return number of lines written.
8698
8699         (makeLinuxDocFile):
8700         (makeDocBookFile): Fixed calls to sgml*Tag.
8701         Simple white space clean.
8702
8703         (simpleDocBookOnePar): Simple white space clean.
8704
8705         * tabular.[Ch] (docBook): Renamed to docbook and got another
8706         argument to related with the pernicious mixed content.
8707
8708         (docbookRow): Fixed calls for docbook inset method.
8709
8710 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
8711
8712         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8713         so it's X11 independent.
8714
8715         * kb*.[Ch]: ditto.
8716
8717         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8718
8719 2002-06-15  Lyx Development team  <lyx@electronia>
8720
8721         * intl.h: Renamed getTrans to getTransManager.
8722
8723 2002-06-14  Angus Leeming  <leeming@lyx.org>
8724
8725         * Makefile.am: nuke forgotten stl_string_fwd.h.
8726
8727 2002-06-12  Angus Leeming  <leeming@lyx.org>
8728
8729         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8730
8731 2002-06-13  Angus Leeming  <leeming@lyx.org>
8732
8733         * LaTeX.C:
8734         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8735
8736 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
8737
8738         * kbmap.C (getiso): add support for cyrillic and greek
8739
8740 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8741
8742         * BufferView.h:
8743         * BufferView.C:
8744         * BufferView_pimpl.h:
8745         * BufferView_pimpl.C: move bogus scrolling logic
8746           to xforms
8747
8748 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8749
8750         * lyxfunc.C:
8751         * BufferView_pimpl.C: view->resize() change
8752
8753 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8754
8755         * BufferView_pimpl.C: topCursorVisible
8756           prototype change
8757
8758 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8759
8760         * Makefile.am:
8761         * lyx_gui.h:
8762         * lyx_gui.C: move to frontends/
8763
8764         * main.C:
8765         * lyx_main.h:
8766         * lyx_main.C: changes from above
8767
8768 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8769
8770         * intl.C:
8771         * intl.h:
8772         * kbmap.C:
8773         * kbsequence.C:
8774         * lyx_cb.C:
8775         * lyx_main.C: minor tidy
8776
8777 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8778
8779         * BufferView_pimpl.h:
8780         * BufferView_pimpl.C:
8781         * BufferView.h:
8782         * BufferView.C: make painter() const,
8783           remove dead code
8784
8785         * BufferView2.C: use screen() accessor
8786
8787         * lyx_main.h:
8788         * lyx_main.C: some minor cleanup
8789
8790 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8791
8792         * BufferView_pimpl.h:
8793         * BufferView_pimpl.C: remove enter/leaveView,
8794           use workHeight()
8795
8796 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8797
8798         * BufferView.h:
8799         * BufferView.C:
8800         * BufferView2.C:
8801         * BufferView_pimpl.h:
8802         * BufferView_pimpl.C: only construct screen once,
8803           rename
8804
8805         * lyxrc.C: remove pointless comment
8806
8807 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8808
8809         * BufferView.h:
8810         * BufferView.C: remove active() and belowMouse()
8811
8812         * BufferView_pimpl.h:
8813         * BufferView_pimpl.C: use workarea() not workarea_,
8814           and make it use a scoped_ptr instead
8815
8816 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8817
8818         * lyx_gui.C: add debug message on BadWindow
8819
8820 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8821
8822         * sp_spell.C: fdopen is not part of the C++ standard.
8823
8824         * paragraph.C (InsetIterator): use >= instead of ==
8825
8826 2002-06-07  Angus Leeming  <leeming@lyx.org>
8827
8828         Fixes needed to compile with Compaq cxx 6.5.
8829         * BufferView_pimpl.C:
8830         * DepTable.C:
8831         * buffer.C:
8832         * converter.C:
8833         * encoding.C:
8834         * lyx_gui.C:
8835         * lyx_main.C:
8836         * lyxtextclasslist.C:
8837         * minibuffer.C:
8838         * sp_spell.C:
8839         * tabular_funcs.C:
8840         * vc-backend.C:
8841         all c-library variables have been moved into namespace std. Wrap
8842         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8843
8844         * lyxlength.C:
8845         * tabular-old.C:
8846         * tabular.C:
8847         Add a using std::abs declaration.
8848
8849         * kbmap.h (modifier_pair):
8850         * paragraph.h (InsetTable, InsetList):
8851         * lyxfont.h (FontBits):
8852         type definition made public.
8853
8854         * bufferlist.C (emergencyWriteAll): the compiler complains that
8855         there is more than one possible lyx::class_fun template to choose from.
8856         I re-named the void specialisation as lyx::void_class_fun.
8857
8858         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8859
8860         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8861         the compiler is is unable to find tostr in write_attribute.
8862
8863 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8864
8865         * buffer.C (sgmlError): hide #warning
8866
8867 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8868
8869         * xtl/*: get rid of xtl, which is not in use anyway
8870
8871         * LyXAction.C (init):
8872         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8873         were unimplemented xtl experimentation
8874
8875 2002-06-04  André Pönitz <poenitz@gmx.net>
8876
8877         * lyxfunc.C: disable array operation on simple formulae
8878
8879 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
8880
8881         * converter.C: constify a bit
8882
8883 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
8884
8885         * lyx_gui.C: check xforms version correctly
8886
8887 2002-04-30  Herbert Voss  <voss@lyx.org>
8888
8889         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8890         "keep" option
8891
8892 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
8893
8894         * lyxvc.C: fix bug 416 (make sure buffer is saved before
8895           attempt to register it with a VCS)
8896
8897 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8898
8899         * lyx_main.C (init): honor variables LYX_DIR_13x and
8900         LYX_USERDIR_13x
8901
8902 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8903
8904         * buffer.h:
8905         * buffer.C:
8906         * lyx_main.C: fix a crash on bad command line,
8907           and give a useful exit status on error
8908
8909         * lyxfunc.C (doImport): allow -i lyx to work
8910
8911 2002-03-30  André Pönitz <poenitz@gmx.net>
8912
8913         * lyxfunc.C: mathed font changes
8914
8915 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8916
8917         * LaTeX.C:
8918         * importer.h:
8919         * importer.C:
8920         * lyx_sty.h:
8921         * lyx_sty.C:
8922         * lyxlex.C:
8923         * lyxrow.h:
8924         * lyxtext.h:
8925         * paragraph.h:
8926         * paragraph.C:
8927         * texrow.h:
8928         * texrow.C:
8929         * text.C:
8930         * trans_mgr.h: srcdocs, and some minor cleanups
8931
8932 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8933
8934         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8935         call getFont all the time)
8936
8937 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8938
8939         * switch from SigC signals to boost::signals
8940
8941 2002-05-29  André Pönitz <poenitz@gmx.net>
8942
8943         * paragraph_pimpl.C (getChar): don't call size() too often...
8944
8945 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8946
8947         * paragraph_pimpl.C (insertChar): do not try to update tables when
8948         appending (pos == size())
8949
8950         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8951         in order to reduce drastically the number of comparisons needed to
8952         parse a large document
8953
8954 2002-05-29  André Pönitz <poenitz@gmx.net>
8955
8956         * text.C:
8957         * text2.C:
8958         * lyxtextclass.C:
8959         * sp_pspell.h:
8960         * textclasslist.[Ch]:
8961         * sp_ispell.h: whitespace change
8962
8963 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8964
8965         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8966         lyxaction directly now.
8967
8968 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8969
8970         * trans.C:
8971         * lyxfont.C:
8972         * lyxvc.C: remove unused headers
8973
8974 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8975
8976         * Makefile.am:
8977         * buffer.h:
8978         * undostack.h:
8979         * undostack.C:
8980         * undo_funcs.h:
8981         * undo_funcs.C: some cleanups. Use shared_ptr
8982           and a template for the undo stacks.
8983
8984 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8985
8986         * BufferView_pimpl.h:
8987         * BufferView_pimpl.C:
8988         * kbmap.h:
8989         * kbmap.C:
8990         * kbsequence.h:
8991         * kbsequence.C:
8992         * lyxfunc.h:
8993         * lyxfunc.C:
8994         * text2.C: use key_state/mouse_state
8995
8996 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8997
8998         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8999         and LSubstring
9000
9001         * chset.C: change include order
9002         (loadFile): use boost regex and get rid of LRegex and LSubstring
9003
9004         * Makefile.am (BOOST_LIBS): new variable
9005         (lyx_LDADD): use it
9006
9007         * LaTeX.C: change include order.
9008         (scanAuxFile): use boost regex and get rid of LRegex and
9009         LSubstring
9010         (deplog): ditto
9011
9012 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9013
9014         * ColorHandler.h:
9015         * ColorHandler.C:
9016         * FontInfo.h:
9017         * FontInfo.C: moved to frontends/xforms/
9018
9019         * FontLoader.h:
9020         * FontLoader.C: moved into frontends for GUIIzation
9021
9022         * Makefile.am:
9023         * lyx_gui.C:
9024         * lyxfont.C:
9025         * lyxfunc.C: changes from above
9026
9027 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9028
9029         * LColor.C: remove spurious X include
9030
9031         * BufferView_pimpl.C:
9032         * Makefile.am:
9033         * font.h:
9034         * font.C:
9035         * text.C:
9036         * text2.C: move font metrics to frontends/
9037
9038 2002-05-24  Juergen Vigna  <jug@sad.it>
9039
9040         * undo_funcs.C (textHandleUndo): fix the cursor selection after
9041         setting the undo_cursor.
9042
9043         * ParagraphParameters.h: include local includes first.
9044
9045 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9046
9047         * BufferView_pimpl.C:
9048         * BufferView_pimpl.h:
9049         * Makefile.am:
9050         * WorkArea.h:
9051         * WorkArea.C:
9052         * screen.C: move WorkArea into frontends/
9053
9054         * lyxscreen.h:
9055         * screen.C:
9056         * text.C:
9057         * BufferView.C:
9058         * BufferView2.C: move LyXScreen into frontends/
9059
9060         * lyxlookup.h:
9061         * lyxlookup.C:
9062         * lyx_gui.C: move lyxlookup into frontends/xforms/
9063
9064 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9065
9066         * BufferView2.C:
9067         * BufferView_pimpl.C:
9068         * FontLoader.C:
9069         * LyXView.h:
9070         * LyXView.C:
9071         * Makefile.am:
9072         * WorkArea.C:
9073         * XFormsView.h:
9074         * XFormsView.C:
9075         * buffer.C:
9076         * bufferlist.C:
9077         * bufferview_funcs.C:
9078         * converter.C:
9079         * importer.C:
9080         * lyx_cb.C:
9081         * lyx_gui.C:
9082         * lyx_main.C:
9083         * lyx_find.C:
9084         * lyxfunc.C:
9085         * lyxvc.C:
9086         * minibuffer.C:
9087         * text.C:
9088         * text2.C:
9089         * trans.C:
9090         * vc-backend.C: move LyX/XFormsView into frontends/
9091
9092 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9093
9094         * Makefile.am:
9095         * PainterBase.C:
9096         * PainterBase.h:
9097         * Painter.C:
9098         * Painter.h:
9099         * WorkArea.C:
9100         * WorkArea.h:
9101         * screen.C:
9102         * tabular.C:
9103         * text.C:
9104         * text2.C: move Painter to frontends/
9105
9106 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9107
9108         * buffer.C: comment out some some code that depend upon lyx_format
9109         < 220
9110
9111         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9112         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9113
9114         * buffer.h (NO_COMPABILITY): turn off compability
9115
9116         * ColorHandler.C: include scoped_array.hpp
9117
9118         * font.C: Use more specific smart_ptr header.
9119         * Painter.C: ditto
9120         * gettext.C: ditto
9121         * ShareContainer.h: ditto
9122         * lyx_main.h: ditto
9123         * kbmap.h: ditto
9124         * FontInfo.h: ditto
9125         * BufferView_pimpl.h: ditto
9126         * ColorHandler.h: ditto
9127
9128         * kbmap.C (defkey): change call to shared_ptr::reset
9129
9130 2002-05-21  Juergen Vigna  <jug@sad.it>
9131
9132         * buffer.C (insertErtContents): fix to insert ert asis if it is
9133         non empty. Skip it completely if it contains only whitespaces.
9134
9135 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
9136
9137         * BufferView_pimpl.C:
9138         * BufferView2.C: clear selection on paste (bug 393)
9139
9140 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9141
9142         * DepTable.C: include ctime
9143
9144 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
9145
9146         * buffer.C (latexParagraphs): Add new argument (moving_arg).
9147
9148 2002-05-14  Juergen Vigna  <jug@sad.it>
9149
9150         * text.C (breakParagraph): fixed function to honor the keepempty
9151         layout in the right maner and also to permit the right breaking
9152         algorithm on empty or non empyt keepempty paragraphs.
9153
9154         * paragraph.C (breakParagraph): we have to check also if the par
9155         is really empty (!size()) for isempty otherwise we do the wrong
9156         paragraph break.
9157
9158 2002-05-10  Juergen Vigna  <jug@sad.it>
9159
9160         * buffer.[Ch] : The following are only changes to the ert
9161         compatibility read reading old LaTeX layout and font stuff and
9162         convert it to ERTInsets.
9163
9164         * buffer.h: added isErtInset().
9165
9166         * buffer.C (struct ErtComp): add a fromlayout bool to check
9167         if we're inside a LaTeX layout.
9168         (isErtInset): new helper function.
9169         (insertErtContents): look for other ert insets before this one
9170         and insert the contents there, so that we don't have subsequent
9171         ERT insets with nothing between them. This way we create only one
9172         inset with multiple paragraphs. Also check if we don't insert only
9173         spaces ' ' as they are ignored anyway afterwards in the .tex file
9174         so if we have only spaces we will ignore this latex part in the
9175         new file.
9176         (parseSingleLyXformat2Token \\layout): better compatibility when
9177         reading layout-latex stuff.
9178         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9179         language tag.
9180         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9181         stuff after reading the inset only get the information back from
9182         the stack.
9183
9184 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
9185
9186         * buffer.C (makeLaTeXFile): Put language options after loading babel.
9187
9188         * LaTeXFeatures.C (getBabelOptions): New method.
9189
9190 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9191
9192         * BufferView_pimpl.C (Dispatch): work around missing argument for
9193         'layout'
9194
9195 2002-05-08  Juergen Vigna  <jug@sad.it>
9196
9197         * text.C (leftMargin): handle paragraph leftindent.
9198
9199         * paragraph.C (writeFile): write the new \\leftindent tag.
9200         (validate): handle leftindent code.
9201         (TeXEnvironment): handle paragraphleftindent code again.
9202
9203         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9204
9205         * buffer.C (parseSingleLyXformat2Token): added compatibility code
9206         for paragrap_extra indent code and new token \\leftindent.
9207         (latexParagraphs): handle the leftindent as environment.
9208
9209         * ParameterStruct.h: added leftindent support.
9210
9211         * ParagraphParameters.C (leftIndent): added support functions for
9212         the paragraph left indent.
9213
9214         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9215         more appropriate.
9216
9217 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
9218
9219         * paragraph.C (isRightToLeftPar): Return false for a paragraph
9220         inside insetERT.
9221
9222         * text.C (computeBidiTables): No bidi in insetERT.
9223
9224         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9225         in RTL documents.
9226
9227 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9228
9229         * version.C.in: pre 5
9230
9231 2002-05-02  José Matos  <jamatos@fep.up.pt>
9232         * buffer.C (makeDocBookFile): white space changes, add newline to
9233         command styles.
9234         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9235
9236         * tabular.C (docBook): fix typo.
9237
9238 2002-05-03  Juergen Vigna  <jug@sad.it>
9239
9240         * screen.C (drawFromTo): recalculate the rowpointer if we had a
9241         change in LyXText as we can not be sure it was not freed.
9242         (drawOneRow): remove unused code.
9243
9244         * text.C (drawInset): redo the calculation of the need_break_row as
9245         it could have a row which was already freed.
9246         (draw): look at the return value of drawInset and return false if
9247         it also returned false.
9248         (paintRowText): look at the return value of draw and return false if
9249         it also returned false.
9250
9251         * lyxtext.h: added bool return type to drawInset() and draw() so that
9252         if we have a change in the row so that the rowbreak has to be redone
9253         we abort drawing as it will be called again.
9254
9255 2002-05-02  Juergen Vigna  <jug@sad.it>
9256
9257         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9258         a change in the maintext also if we're inside an inset.
9259         (Dispatch): set the cursor again after a break line and after the
9260         screen has been updated as it could be we're in a different row.
9261
9262         * text2.C (fixCursorAfterDelete): check to make sure we don't request
9263         to set the cursor behind the pargraph with > size().
9264         (setCursor): check also for the same paragraph when checking where
9265         to put the cursor if we have a NFR inset.
9266
9267         * buffer.C (parseSingleLyXformat2Token): move the compatibility
9268         parts of layout read further up as it still was in the wrong
9269         position.
9270
9271 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9272
9273         * screen.C (drawFromTo): change sine fullRebreak always return
9274         true.
9275
9276         * buffer.C (parseSingleLyXformat2Token): reindent some
9277
9278         * BufferView_pimpl.C (update): change since fullRebreak always
9279         return true.
9280         (Dispatch): git rid of the last hardcoded "Standard"s.
9281
9282 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9283
9284         * text2.[Ch] (fullRebreak): make it return void now that we always
9285         returned true.
9286
9287 2002-04-30  Juergen Vigna  <jug@sad.it>
9288
9289         * buffer.C (parseSingleLyXformat2Token): reset the font before the
9290         ert compatibility check for "latex" layout.
9291
9292 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
9293
9294         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9295         minipages: use col% instead of p%, and also use the current font.
9296         (makeLaTeXFile): Fix use babel condition.
9297         (parseSingleLyXformat2Token): Correct font when reading old floats.
9298
9299 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
9300
9301         * BufferView_pimpl.C (Dispatch): Check that float type exists when
9302         inserting list of floats.
9303
9304 2002-04-25  Herbert Voss  <voss@lyx.org>
9305
9306         * MenuBackend.C (expand): don't add the graphics extensions to the
9307         export menu
9308
9309 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9310
9311         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9312         non-existing layout, do not complain if it was the default layout
9313         of the original class (bug #342)
9314
9315 2002-04-24  Juergen Vigna  <jug@sad.it>
9316
9317         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9318         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9319
9320 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
9321
9322         * buffer.C (getBibkeyList): If using \bibliography, return the
9323         option field with the reference itself. Enables us to provide natbib
9324         support when using \bibliography.
9325
9326 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
9327
9328         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9329
9330         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9331         natbib is provided by the LaTeX class.
9332
9333 2002-04-23  Juergen Vigna  <jug@sad.it>
9334
9335         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9336         Wakeup functions.
9337
9338         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9339
9340 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9341
9342         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9343
9344         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9345         ensuremath around textordmasculine, textordfeminine and
9346         textdegree.
9347
9348 2002-04-19  Juergen Vigna  <jug@sad.it>
9349
9350         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9351         reinitializing the buffer otherwise row-dimensions may be wrong.
9352         (update): reset also the selection cursors if they do exits otherwise
9353         their x/y positions may be wrong.
9354
9355         * text2.C (cursorDown): don't enter the inset if we came from a row
9356         above and are one row over the inset.
9357
9358         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9359         really leaving an inset.
9360
9361 2002-04-18  Juergen Vigna  <jug@sad.it>
9362
9363         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9364         of the selected paragraph does not have the selected layout also if
9365         the last one had!
9366
9367         * text2.C (setLayout): fixed bug which did not change last selected
9368         paragraph.
9369
9370         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9371         changed the read and substituted \\end_float with \\end_inset!
9372
9373         * BufferView_pimpl.C (cursorPrevious):
9374         (cursorNext): fixed to make it work with rows heigher than the work
9375         area without moving the cursor only the draw of the row.
9376         (workAreaMotionNotify): fix jumping over high rows.
9377
9378 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9379
9380         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9381         Ressler.
9382
9383 2002-04-16  Juergen Vigna  <jug@sad.it>
9384
9385         * text2.C (setCursor): set also the irow().
9386         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9387         (cursorUp):
9388         (cursorDown): support for locking an inset if the x_fix value goes
9389         inside it. That way I can transverse insets too with cursor up/down.
9390
9391         * lyxrow.h: added irow helper function same as other (i) functions.
9392
9393         * BufferView_pimpl.C (cursorPrevious):
9394         (cursorNext): fixed for insets!
9395
9396 2002-04-15  Juergen Vigna  <jug@sad.it>
9397
9398         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9399         position otherwise it is wrong in some cases.
9400
9401         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9402         inside the inset before the call.
9403
9404 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
9405
9406         * buffer.[Ch] (getBibkeyList): make it const.
9407
9408 2002-04-12  Juergen Vigna  <jug@sad.it>
9409
9410         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9411
9412         * text2.C (getCursorX): new helper function
9413         (setCursor): compute also ix_
9414         (setCursorFromCoordinates): set also ix.
9415
9416         * lyxcursor.h: added ix_ and helper functions.
9417
9418         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9419
9420         * buffer.C (insertStringAsLines): dont break paragraph if the this
9421         paragraph is inside an inset which does not permit it!
9422
9423         * text.C (breakParagraph): honor keepempty flag and break the paragraph
9424         also with no chars on this paragraph.
9425         (paintRowText): only paint stuff if it's inside the workarea!
9426
9427         * paragraph.C (breakParagraph): honor keepempty flag and break the
9428         paragraph always below not above.
9429
9430         * BufferView2.C (unlockInset): update the paragraph layout on inset
9431         unlock as we changed paragraph in such a case.
9432
9433         * lyxfind.C (LyXFind): clear the former selection if not found!
9434
9435         * text2.C (insertInset): freeze Undo after setUndo so that it is not
9436         again called in insertChar().
9437
9438         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9439         an inset which uses the whole row!
9440         (rightMargin): ditto.
9441         (insertChar): force a rebreak if we inserted an inset!
9442
9443 2002-03-28  Herbert Voss  <voss@lyx.org>
9444
9445         * lyxlength.[Ch]: add inBP() to get the right PS-point
9446         units (BigPoint). With inPixels we have rounding errors
9447
9448 2002-04-11  Juergen Vigna  <jug@sad.it>
9449
9450         * text2.C (setCursorFromCoordinates): set iy to the right value.
9451         (setCursor): add check if row->previous exists!
9452
9453         * buffer.C (parseSingleLyXformat2Token): reset font after read of
9454         an old float_type as this was the case in the old code!
9455
9456         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9457
9458         * BufferView2.C (showLockedInsetCursor): use iy
9459         (fitLockedInsetCursor): ditto
9460
9461         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9462         locked insets as there we have the right value now.
9463
9464         * lyxcursor.C: added iy_ variable and iy functions to set to the
9465         baseline of cursor-y of the locked inset.
9466
9467         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9468         (setCursor): fixed for insets which need a full row.
9469
9470         * text.C (rowLastPrintable): don't ignore the last space when before
9471         an inset which needs a full row.
9472         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9473         as last character of a row when before a inset which needs a full row.
9474
9475 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9476
9477         * version.C.in: update date
9478
9479         * text2.C (fullRebreak): try to always return true and see what
9480         happens...
9481
9482 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9483
9484         * MenuBackend.C (expand): use Floating::listName
9485
9486         * FloatList.C (FloatList): add listName argument to the built-in
9487         floats
9488
9489         * Floating.[Ch]: add listName member, which is the 'List of XXX'
9490         text associated with the float.
9491
9492 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9493
9494         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9495
9496 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9497
9498         * ShareContainer.h: add a couple of missing typenames.
9499
9500 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
9501
9502         * lyxrc.C (getDescription): use _() correctly rather than N_().
9503
9504 2002-03-28  Herbert Voss  <voss@lyx.org>
9505
9506         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9507         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9508
9509 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9510
9511         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9512         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9513
9514 2002-03-29  Juergen Vigna  <jug@sad.it>
9515
9516         * lyxfunc.C (dispatch): add a missing fitCursor call.
9517
9518         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9519         it was scrolled by a cursor move, so return the bool status.
9520
9521         * BufferView.C (fitCursor): return the bool flag also to the outside
9522         world as this is needed.
9523
9524         * screen.C (toggleToggle): don't subtract the offset if it's positive.
9525
9526         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9527         call the edit() as it is not needed (and wrong) IMO.
9528         (workAreaButtonPress): set the screen_first variable before evt.
9529         unlock the inset as this may change screen_first and then we have
9530         a wrong y position for the click!
9531
9532 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9533
9534         * MenuBackend.C (expand): another translation that I missed
9535
9536 2002-03-28  Juergen Vigna  <jug@sad.it>
9537
9538         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9539
9540         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9541
9542 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9543
9544         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9545
9546         * MenuBackend.C (expand): fix export/view/update when there is no
9547         document open.
9548
9549 2002-03-27  Herbert Voss  <voss@lyx.org>
9550
9551         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9552         and text%
9553
9554 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9555
9556         * bufferview_funcs.C (currentState): only show paragraph number
9557         for is DEVEL_VERSION is set.
9558
9559         * lyxfunc.C (dispatch): put warning in INFO channel
9560
9561         * MenuBackend.C (expand): translate the name of floats
9562
9563         * FloatList.C (FloatList): mark the float names for translation
9564
9565         * converter.C (convert): use LibScriptSearch
9566
9567 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9568
9569         * MenuBackend.C (defaults): fix default menu (we might as well get
9570         rid of it...)
9571
9572 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9573
9574         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9575         directory.
9576
9577 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9578
9579         * lyxvc.C: reorder includes.
9580
9581 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
9582
9583         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9584           properly
9585
9586 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
9587
9588         * CutAndPaste.C: change layouts earlier on paste
9589           to avoid crashing when calling getFont()
9590
9591 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
9592
9593         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9594         irritating #error.
9595
9596 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9597
9598         * WorkArea.C: remove 'Pending' debug message.
9599
9600         * most files: ws cleanup
9601
9602         * buffer.[Ch]: ws changes
9603
9604         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9605
9606 2002-03-21  Juergen Vigna  <jug@sad.it>
9607
9608         * tabular.C (SetMultiColumn): collapse also the contents of the
9609         cells and set the last border right. Added a Buffer const * param.
9610
9611 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9612
9613         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9614         linking or not.
9615
9616 2002-03-19  Juergen Vigna  <jug@sad.it>
9617
9618         * text2.C (clearSelection): reset also xsel_cache.
9619
9620         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9621         where it needs to be called (John tells us to do so too :)
9622         (selectionLost): reset sel_cache.
9623
9624         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9625
9626 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9627
9628         * text2.C (setCursorIntern): put debuging code in INSETS channel
9629
9630 2002-03-19  André Pönitz <poenitz@gmx.net>
9631
9632         * lyxfunc.C: tiny whitespace change
9633
9634 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9635
9636         * ToolbarDefaults.C (init):
9637         * LyXAction.C (init):
9638         * commandtags.h:
9639         * BufferView_pimpl.C (Dispatch):
9640         * lyxfunc.C (dispatch): remove LFUN_DEPTH
9641
9642 2002-03-19  Allan Rae  <rae@lyx.org>
9643
9644         * exporter.C (Export): removeAutoInsets before doing anything else.
9645         While I've just introduced a dependency on BufferView this really is
9646         the best place to clean the buffer otherwise you need to cleanup in
9647         a dozen places before calling export or cleanup in a dozen functions
9648         that export calls.
9649
9650         * converter.C (runLaTeX):
9651         (scanLog): Better handling of removeAutoInsets and screen updates.
9652
9653         * lyxfunc.C (dispatch): small whitespace changes
9654
9655 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9656
9657         * WorkArea.C (C_WorkAreaEvent): return a value.
9658         (event_cb): return 1 if we handled the event, 0 otherwise.
9659
9660         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9661
9662 2002-03-18  Juergen Vigna  <jug@sad.it>
9663
9664         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9665         (GetAdditionalWidth): ditto.
9666         (RightLine): ditto.
9667         (LeftLine): ditto.
9668
9669         * BufferView2.C (copy): use getLyXText() so that we do it inside an
9670         inset if we're there actually (probably not used right now but this
9671         is the direction to go for unifying code).
9672         (paste): disable code to clear the selection.
9673
9674         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9675         inside an InsetText and move the check further up as it is in the
9676         wrong place.
9677
9678         * text2.C (pasteSelection): set a selection over the pasted text.
9679
9680 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
9681
9682         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9683         and libgraphics to build on Cygwin.
9684
9685 2002-03-15  Juergen Vigna  <jug@sad.it>
9686
9687         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9688         inserting an Inset into the paragraph. I know this is not the best
9689         fix but we already use current_view in CutAndPaste so we will remove
9690         all of it's using at the same time.
9691
9692         * buffer.C (sgmlError): deactivated function till it is rewritten in
9693         the right mode, now it can create problems.
9694
9695         * paragraph.C (isLineSeparator): check if getInset returns != 0,
9696         before accessing it.
9697
9698 2002-03-14  Juergen Vigna  <jug@sad.it>
9699
9700         * undo_funcs.C (textHandleUndo): do the right thing when updating
9701         the inset after the undo/redo.
9702
9703         * text2.C (setCursor): just some testcode for #44 not ready yet.
9704
9705         * undo_funcs.C (textHandleUndo): set the next() and previous()
9706         pointers of the paragraph to 0 before deleting otherwise we have
9707         problems with the Paragraph::[destructor].
9708
9709         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9710         on a paragraph insertion.
9711
9712 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9713
9714         * buffer.C (asciiParagraph): use += operator for char append to
9715         string.
9716
9717         * paragraph.C (getFontSettings): compare >= not just >
9718         (highestFontInRange): ditto
9719         (setFont): ditto
9720
9721 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9722
9723         * paragraph.C: change several algorithm to be more appripriate for
9724         the problem domain. This is lookip in FontList and in the InsetList.
9725
9726 2002-03-13  André Pönitz <poenitz@gmx.net>
9727
9728         * commandtags.h:
9729         * LyXAction.C: remove unused LFUN_MATH_MACROARG
9730
9731 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
9732
9733         * commandtags.h:
9734         * LyXAction.C:
9735         * lyxfunc.C:
9736         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9737
9738 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9739
9740         * Painter.C (display): anon helper function, adjust code for this
9741         change.
9742         (pixmap): remove function.
9743
9744         * Painter.h: remove private display variable.
9745
9746         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9747
9748 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
9749
9750         * WorkArea.[Ch]: remove figinset_canvas cruft.
9751
9752 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9753
9754         * lyxtextclass.C (operator): add one item cache optimization.
9755
9756         * bufferlist.h: doxy changes
9757
9758         * bufferlist.C: ws changes
9759
9760         * DepTable.[Ch] (ext_exist): place const in the right spot.
9761
9762         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9763         call resizeInsets.
9764         (workAreaExpose): call resizeInsets when the with BufferView changes.
9765         (Dispatch): adjust for protectedBlank removal
9766         (specialChar): call updateInset if the insert went ok.
9767
9768         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9769         specialChar instead.
9770
9771         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9772
9773         * BufferView.h: doxy change
9774
9775         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9776
9777         * lyxtextclass.C (operator[]): remove non-const version
9778         (defaultLayout): remove non-const version
9779
9780 2002-03-12  Juergen Vigna  <jug@sad.it>
9781
9782         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9783         did resize the LyXText too.
9784
9785         * buffer.C (readLyXformat2): set layout information on newly allocated
9786         paragraphs.
9787
9788         * tabular.C (OldFormatRead): set layout information on the paragraph.
9789
9790 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9791
9792         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9793
9794 2002-03-11  Juergen Vigna  <jug@sad.it>
9795
9796         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9797         plainly wrong.
9798         (resizeCurrentBuffer): force also the insets to resize themselfes.
9799         (moveCursorUpdate): fixed up for InsetText.
9800
9801 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
9802
9803         * commandtags.h:
9804         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9805         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9806         value of Dialogs::tooltipsEnabled().
9807         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9808
9809 2002-03-08  Juergen Vigna  <jug@sad.it>
9810
9811         * BufferView_pimpl.C (updateInset): update inset inside inset also
9812         if it isn't inside theLockingInset().
9813
9814 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9815
9816         * buffer.C (asciiParagraph): redo some of the word and line length
9817         handling.
9818         (getLists): look for Caption instead of caption.
9819
9820 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9821
9822         * buffer.C (Buffer): initialize niceFile to true
9823         (makeLaTeXFile):
9824         (makeLinuxDocFile):
9825         (makeDocBookFile): make sure niceFile is true on exit
9826
9827 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9828
9829         * buffer.C (makeLaTeXFile): escape ~ in \input@path
9830
9831 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
9832
9833         * LyXSendto.C: remove.
9834         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9835         * lyx_gui.C: remove now-redundant comment.
9836         * ColorHandler.h: remove forward declaration of class WorkArea.
9837         * lyxfunc.C: remove #include "WorkArea.h".
9838
9839 2002-03-07  Juergen Vigna  <jug@sad.it>
9840
9841         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9842         got moved away with the DEPM and also set the inset_owner always
9843         right which before could have been omitted.
9844
9845 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9846
9847         * buffer.C (parseSingleLyXformat2Token): use default layout is the
9848         wanted layout is not found.
9849
9850 2002-03-07  Juergen Vigna  <jug@sad.it>
9851
9852         * CutAndPaste.C (cutSelection): another layout settings forgotten.
9853
9854 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9855
9856         * paragraph.C (breakParagraph): use default layout not layout of
9857         prev paragraph.
9858         (Paragraph): clear ParagraphParameters.
9859
9860 2002-03-06  Juergen Vigna  <jug@sad.it>
9861
9862         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9863         otherwise it would not be a valid lenght. Fixed a special case in
9864         the minipage compatibility read where we end the document with a
9865         minipage.
9866
9867         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9868         was set as it could be 0 for InsetTexts first entry.
9869
9870 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9871
9872         * paragraph.C (writeFile): if layout is empty write out
9873         defaultLayoutName().
9874
9875         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9876         file without named layout we set layout to defaultLayoutName().
9877
9878 2002-03-06  Juergen Vigna  <jug@sad.it>
9879
9880         * CutAndPaste.C (copySelection): set layout for new paragraph.
9881
9882         * text.C (prepareToPrint): leave ERT inset left aligned
9883         (leftMargin): don't indent paragraphs inside ERT insets
9884
9885 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9886
9887         * paragraph.C (breakParagraph): dont call clear do the work manually
9888
9889         * paragraph.[Ch] (clear): remove function
9890
9891 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9892
9893         * paragraph.C (Paragraph): dont call clear, the work has already
9894         been done.
9895
9896         * lyxtextclass.C (operator): assert if n is empty
9897
9898         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9899         work manually instead.
9900
9901 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9902
9903         * BufferView_pimpl.C: protect selectionLost against text == 0
9904
9905 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9906
9907         * text.C (breakParagraph): fix a setting layout to '0' problem.
9908
9909 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9910
9911         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9912         final location of file, for the included files, and graphics.
9913
9914 2002-03-05  Juergen Vigna  <jug@sad.it>
9915
9916         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9917
9918 2002-03-04  Juergen Vigna  <jug@sad.it>
9919
9920         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9921
9922         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9923         last column of multicolumn cells.
9924         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9925
9926 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9927
9928         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9929         file if it doesn't go to a temporary file.
9930
9931         * buffer.C (sgmlOpenTag):
9932         (sgmlCloseTag):  remove extra newline insertion.
9933
9934 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9935
9936         * text.C (getRowNearY): comment out debug msg
9937
9938 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9939
9940         * text2.C: first -> first_y
9941
9942         * text.C (getRowNearY): add some attemts at a possible
9943         optimization, not working.
9944
9945         * tabular.[Ch]: add BufferParams to several function so that newly
9946         created paragraph can be initialized to he default layotu for the
9947         buffers textclass.
9948
9949         * tabular-old.C (ReadOld): add buf->params to call of Init
9950
9951         * screen.C: rename text->first to text->first_y
9952
9953         * paragraph.C (breakParagraph): always set layout in the broken
9954         paragraph
9955
9956         * lyxtextclass.C (Read): remove lowercase
9957         (hasLayout): ditto
9958         (operator): ditto
9959         (delete_layout): ditto
9960
9961         * lyxtext.h: rename first -> first_y
9962
9963         * lyxlayout.C (Read): remove lowercase
9964         (name): ditto
9965         (setName): ditto
9966         (obsoleted_by): ditto
9967
9968         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9969
9970         * buffer.C (insertErtContents): add params are to InsetERT
9971         (parseSingleLyXformat2Token): add code to check if a paragraphs
9972         layout really exist.
9973         (parseSingleLyXformat2Token): add params to several inset
9974         constructors
9975         (asciiParagraph): remove lowercase, do the layout comparisons with
9976         no_case
9977
9978         * BufferView_pimpl.C (cursorNext): first -> first_y
9979         (resizeCurrentBuffer): first -> first_y
9980         (updateScrollbar): first -> first_y
9981         (scrollCB): first -> first_y
9982         (workAreaMotionNotify): first -> first_y
9983         (workAreaButtonPress): first -> first_y
9984         (checkInsetHit): first -> first_y
9985         (cursorPrevious): first -> first_y
9986         (cursorNext): first -> first_y
9987         (Dispatch): add buffer_->params to severl inset contructors
9988
9989 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9990
9991         * lyxlayout.C (Read): remove some debug info that I forgot.
9992
9993         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9994         clean up the code slightly.
9995         (makeLinuxDocFile): ditto
9996         (makeDocBookFile): ditto
9997
9998         * text2.C: layout as string
9999
10000         * text.C: layout as string
10001
10002         * paragraph_pimpl.C: layout as string
10003
10004         * paragraph.[Ch]: layout as string
10005
10006         * lyxtextclasslist.[Ch]: layout as string
10007
10008         * lyxtextclass.[Ch]: layout as string
10009
10010         * lyxtext.h: layout as string
10011
10012         * lyxlayout.[Ch]: layout as string
10013
10014         * lyx_cb.C: layout as string
10015
10016         * bufferview_funcs.C: layout as string
10017
10018         * bufferparams.C: layout as string
10019
10020         * buffer.C: layout as string
10021
10022         * LyXView.[Ch]: layout as string
10023
10024         * LaTeXFeatures.[Ch]: layout as string
10025
10026         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10027
10028         * BufferView_pimpl.C: change current_layout to string, remove
10029         lyx::layout_type.
10030         (Dispatch):
10031         (smartQuote):
10032         (insertInset):
10033         (workAreaButtonRelease): layout as string
10034
10035         * BufferView2.C (unlockInset): adjust
10036
10037         * vspace.C (asLatexCommand): use an explict temp variable.
10038
10039 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10040
10041         * Makefile.am: use FRONTEND_*
10042
10043 2002-03-01  Juergen Vigna  <jug@sad.it>
10044
10045         * tabular.C (SetWidthOfMulticolCell): changed to something better
10046         I hope but still work in progress.
10047         (recalculateMulticolumnsOfColumn): renamed function from
10048         recalculateMulticolCells as it is more appropriate now.
10049         (SetWidthOfCell): calculate multicols better.
10050
10051 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10052
10053         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10054
10055         * lyxfunc.C (processKeySym): print sequence also if it is
10056         `deleted' (complete)
10057
10058         * kbsequence.C (print): print sequence even if it is deleted
10059         (complete would be a better word, actually).
10060
10061         * lyxfunc.C (dispatch): print complete options after a prefix key
10062
10063         * vspace.C (asLatexCommand): rewrite in a slightly different form.
10064
10065 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
10066
10067         * text2.C (setCharFont): eliminate setCharFont code duplication.
10068
10069 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10070
10071         * BufferView_pimpl.C (Dispatch): remove bogus handling of
10072         LFUN_TABULAR_FEATURE (bug #177)
10073
10074 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
10075
10076         * Makefile.am: remove figure.h
10077
10078 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
10079
10080         * Bufferview_pimpl.C:
10081         * CutAndPasteC:
10082         * LaTeX.C:
10083         * LyXSendto.C:
10084         * buffer.C:
10085         * bufferlist.C:
10086         * converter.C:
10087         * language.C:
10088         * lyxfunc.C:
10089         * lyxvc.C:
10090         * paragraph.C:
10091         * text.C:
10092         * text2.C: remove #include "lyx_gui_misc.h".
10093
10094         * LaTeX.C: added #include <cstdio>
10095
10096 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10097
10098         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10099         that the paragraph following this one can have.
10100
10101         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10102
10103         * vspace.C (asLatexCommand): fix bogus gcc warning
10104
10105         * Makefile.am (lyx_SOURCES): remove vms_defines.h
10106
10107 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
10108
10109         * text2.C (setLayout): get rid of redundant code
10110
10111 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
10112
10113         * text2.C (incDepth): make sure depth cannot be increased beyond
10114         reasonable values.
10115
10116 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
10117
10118         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10119         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10120
10121         * PainterBase.h (image):
10122         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10123         a LyXImage const *.
10124
10125 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10126
10127         * BufferView.C:
10128         * BufferView.h:
10129         * BufferView_pimpl.C:
10130         * BufferView_pimpl.h:
10131         * LaTeXFeatures.C:
10132         * LyXAction.C:
10133         * LyXView.C:
10134         * Makefile.am:
10135         * UpdateList.h:
10136         * UpdateList.C:
10137         * buffer.C:
10138         * figure.h:
10139         * figureForm.C:
10140         * figureForm.h:
10141         * figure_form.C:
10142         * figure_form.h:
10143         * lyx_cb.C:
10144         * lyx_gui.C:
10145         * lyx_gui_misc.C:
10146         * lyxfunc.C:
10147         * sp_base.h:
10148         * sp_ispell.h:
10149         * sp_pspell.h:
10150         * sp_spell.C: remove fig inset, and the crap house of
10151           cards that follows it
10152
10153 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10154
10155         * Makefile.am:
10156         * lyxserver.C:
10157         * os2_defines.h:
10158         * os2_errortable.h:
10159         * nt_defines.h: move .h into support/
10160
10161         * vms_defines.h: remove
10162
10163         * WorkArea.C: add space in debug output
10164
10165         * text2.C:
10166         * paragraph.C:
10167         * buffer.C: add WITH_WARNINGS
10168
10169         * vc-backend.h:
10170         * vc-backend.C:
10171         * bufferlist.C: s/retrive/retrieve/, add docs
10172
10173         * vspace.h:
10174         * vspace.C:
10175         * kbmap.h:
10176         * lyxlength.h:
10177         * lyxgluelength.h:
10178         * length_common.h:
10179         * chset.h:
10180         * chset.C: add docs
10181
10182         * lyxgui.C: add ID to X error handler
10183
10184         * lyxtestclass.c: fix typo
10185
10186 2002-02-26  Juergen Vigna  <jug@sad.it>
10187
10188         * tabular_funcs.C (write_attribute): changed so that some default
10189         attributes are not written at all.
10190         (getTokenValue): set default values before trying to read the
10191         value so we have the return value always set as default if we don't
10192         find the token we search for.
10193
10194         * tabular.C (Write): write bools as bools not as strings!
10195
10196 2002-02-22  Juergen Vigna  <jug@sad.it>
10197
10198         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10199         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10200
10201         * text.C (leftMargin): don't add an indent for paragraphs inside
10202         tabular cells (fix #208).
10203
10204 2002-02-21  José Matos  <jamatos@fep.up.pt>
10205
10206         * tabular.C (docBook): fixed support for long tables.
10207
10208 2002-02-20  Juergen Vigna  <jug@sad.it>
10209
10210         * text2.C (getFont): get the drawing font of the Inset if this
10211         paragraph is inside an inset (only important for InsetERT for now).
10212
10213         * buffer.C (insertErtContents): use new lanugage params in ERT
10214         constructor.
10215
10216         * CutAndPaste.C: commenting out seemingly uneeded code.
10217
10218 2002-02-19  Allan Rae  <rae@lyx.org>
10219
10220         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10221         Iterators might be simple to use but they also get invalidated.
10222         (removeAutoInsets): renamed saved cursor tracking variables and added
10223         some comments to clarify what everything does.
10224
10225 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
10226
10227         * Chktex.C:
10228         * LaTeX.C:
10229         * LyXSendto.C:
10230         * converter.C:
10231         * lyx_cb.C:
10232         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10233         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10234
10235         * lyxfunc.C:
10236         * vc-backend.h: remove #include "support/syscall.h"
10237
10238         * LaTeX.C:
10239         * LyXSendto.C:
10240         * converter.C: rearrange #includes in Lars' approved fashion.
10241
10242         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10243         forward declare class Timeout in the header file.
10244
10245         * XFormsView.C: changes due to the above.
10246
10247         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10248         similar to LyXView.
10249
10250         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10251         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10252
10253 2002-02-18  José Matos  <jamatos@fep.up.pt>
10254
10255         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10256         insets contents.
10257
10258 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
10259
10260         * a lot of small ws changes
10261         * add a lot of using std::XXX
10262         * use std construcs some places where approp.
10263         * use some exisint stuff from lyxfunctional where approp.
10264         * Make file changes to use partial linking (lets test this now...)
10265
10266 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10267
10268         * Chktex.C:
10269         * buffer.C:
10270         remove #include "support/syscontr.h" as it's redundant. Always has been.
10271
10272         * Chktex.C:
10273         * LaTeX.C:
10274         * LyXSendto.C:
10275         * converter.C:
10276         * lyx_cb.C:
10277         * vc-backend.C:
10278         change Systemcalls::System to Systemcalls::Wait and
10279         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10280         No change of functionality, just reflects the stripped down Systemcalls
10281         class.
10282
10283 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10284
10285         * debug.[Ch]: add a GRAPHICS type to the enum.
10286
10287 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10288
10289         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10290
10291         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10292         there is an inset.
10293
10294 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10295
10296         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10297         match the changes below.
10298
10299         * text2.C (toggleInset): if there is not editable inset at cursor
10300         position, try to see if cursor is _inside_ a collapsable inset
10301         and close it.
10302
10303 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10304
10305         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10306         document menu has a nice checkbox
10307
10308 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10309
10310         * lyxlength.C (asLatexString): change PW to output as percent of
10311         \textwidth.
10312
10313         * lengthcommon.C: change '%' to 't%'
10314
10315         * lyxfunc.C (dispatch): a few comments from Martin
10316
10317 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
10318
10319         * WorkArea.h:
10320         * WorkArea.C:
10321         * BufferView_pimpl.h:
10322         * BufferView_pimpl.C: clear our selection when X tells us we've lost
10323           the X selection.
10324
10325 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10326
10327         * vspace.C (inPixels): fix compiler warning
10328
10329 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10330
10331         * lyxfunc.C (getStatus): fix status message for disabled commands.
10332
10333 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
10334
10335         * BufferView_pimpl.C: fix crash on close buffer
10336         during selection (#227)
10337
10338 2002-01-27  Herbert Voss  <voss@lyx.org>
10339
10340         * buffer.C: link old Figure to new graphic inset
10341
10342 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
10343
10344         * FontLoader.C (getFontinfo): Change the latex font names in order
10345         to match the names of type1inst.
10346
10347 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10348
10349         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10350
10351         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10352         (extchanged): ditto
10353         (ext_exist): ditto
10354         (remove_files_with_extension): ditto
10355         (remove_file): ditto
10356         (write): ditto
10357
10358         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10359         document is smaller than the work area height. Do not initialize
10360         static variables to 0.
10361
10362 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10363
10364         * lyx_gui.C (init): give the toolbar tooltips a normal font.
10365
10366         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10367         LFUN_LAYOUT_PARAGRAPHS.
10368
10369         * tabular.C (GetCellFromInset): new method. Finds an inset in a
10370         tabular. It is possible to provide a possible cell, which will
10371         typically be the actcell from the corresponding insettabular
10372
10373         * lyxfunc.C (getStatus): small cleanup; disable
10374         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10375         true
10376
10377 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10378
10379         * tabular.C (Validate): remove broken optimization (fixes bug #201)
10380
10381         * paragraph.C (startTeXParParams):
10382         (endTeXParParams): new methods. The LaTeX code to
10383         start/end paragraph formatting
10384         (simpleTeXOnePar): call startTeXParParams also when paragraph is
10385         empty (fixes bug #200)
10386
10387         * vspace.C (inPixels): adapt to the change below
10388         (inPixels): [later] more cleanups (remove unused variables)
10389
10390         * lyxlength.C (inPixels): change to use a width and a height as
10391         parameter.
10392
10393 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10394
10395         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10396         Replaced with \paperwidth
10397
10398         * DepTable.C (insert): add std:: qualifier
10399
10400 2002-01-18  Allan Rae  <rae@lyx.org>
10401
10402         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
10403         updated also?
10404
10405         * text.C (drawInset): Turned out I didn't know enough about how
10406         rebreaking worked.  This fixes most of the redraw problems.  I see
10407         an occasional cursor trail when a line is broken now and the cursor
10408         placement can seem out by a few pixels also after a rebreak.
10409
10410 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10411
10412         * buffer.C (parseSingleLyXformat2Token): update because minipage
10413         width is now a LyXLength
10414
10415         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10416
10417         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10418         math insets
10419
10420 2002-01-17  Juergen Vigna  <jug@sad.it>
10421
10422         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10423
10424         * BufferView2.C (lockInset): call edit() so that theLockingInset()
10425         is set correctly and the inset is updated correctly.
10426
10427 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10428
10429         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10430         the beginning of the loop.
10431
10432 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
10433
10434         * lyxrc.C: improve help for use_scalable_fonts
10435
10436 2002-01-17  Allan Rae  <rae@lyx.org>
10437
10438         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10439
10440 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10441
10442         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10443         make sure to set their inset_owner to the right value (bug #171)
10444
10445 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
10446
10447         * DepTable.h
10448         * DepTable.C: Implement mtime checking to reduce time spent doing
10449         CRCs.
10450
10451 2002-01-16  Juergen Vigna  <jug@sad.it>
10452
10453         * tabular.C (GetAdditionalHeight): one of error fixed.
10454
10455         * lyxrc.C (output): small fix in writing use_pspell.
10456
10457 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
10458
10459         * sp_base.h: #include LString.h
10460
10461 2002-01-16  Allan Rae  <rae@lyx.org>
10462
10463         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
10464         Can someone check this please?
10465
10466         * text.C (drawInset): It was possible that p.row would be removed by
10467         breakAgainOneRow upsetting a few other settings.  There may be another
10468         small tweak possible by setting need_break_row = 0 when p.row has been
10469         removed but I don't know enough about the logic here.
10470
10471 2002-01-15  Allan Rae  <rae@lyx.org>
10472
10473         * text.C (insertChar): removed conditional truism.
10474
10475         * BufferView2.C (removeAutoInsets): More tweaks.
10476         cur_par_prev could be a stray pointer.  Check for trailing empty line
10477         in case last line was cur_par and only had an error inset on it.
10478
10479 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10480
10481         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10482         absolute
10483
10484         * vc-backend.C (most methods):
10485         * exporter.C (Export):
10486         * converter.C (convert):
10487         (runLaTeX):
10488         * LyXSendto.C (SendtoApplyCB):
10489         * lyxfunc.C (dispatch):
10490         (menuNew):
10491         (open):
10492         (doImport):
10493         * lyx_cb.C (AutoSave):
10494         (InsertAsciiFile):
10495         * BufferView_pimpl.C (MenuInsertLyXFile):
10496         * buffer.C (runChktex): use Buffer::filePath().
10497
10498         * buffer.h: rename filename to filename_; rename filepath to
10499         filepath_ and make it private
10500         (filePath): new method
10501
10502         * buffer.C (writeFile): use fileName()
10503         (getLatexName):
10504
10505         * lyx_main.C (init): fix starting  of LyX when the binary is a
10506         link from so,ewhere else.
10507
10508         * minibuffer.C: include <cctype> for isprint
10509
10510 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10511
10512         * buffer.C (parseSingleLyXformat2Token): changes associated with the
10513         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10514         name clash with InsetCollapsable's width function.
10515
10516 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10517
10518         * lastfiles.C: include <iterator>
10519
10520 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10521
10522         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10523         std::count.
10524
10525         * buffer.C (makeLaTeXFile): ditto.
10526         Also make loop operation more transparent.
10527
10528 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10529
10530         * ToolbarDefaults.C: remove trailing comma closing namespace.
10531
10532         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10533
10534         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10535         as in WorkArea.
10536
10537         * trans.C (Load): comment out unused variable, allowed.
10538
10539 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10540
10541         * minibuffer.[Ch] (append_char): new method to recieve input from the
10542         drop-down completion browser. If a key was pressed, then recieve this
10543         char and append it to the existing string.
10544         (peek_event): modify the positioning data passed to the completion
10545         browser so that it can be placed above the minibuffer rather than below.
10546 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10547
10548         * LyXAction.C (init): alloe error-next for readonly documents.
10549
10550         * BufferView2.C (ChangeRefsIfUnique): use standard version of
10551         count.
10552
10553 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10554
10555         * bufferlist.C (readFile): create the buffer _after_ checking that
10556         the file exists.
10557
10558         * lyxfunc.C (verboseDispatch): fix handling of arguments
10559
10560         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10561
10562         * lyxrc.C: use string::erase() instead of initializing to "".
10563
10564
10565 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10566
10567         * BufferView_pimpl.h:
10568         * BufferView_pimpl.C:
10569         * WorkArea.h:
10570         * WorkArea.C:
10571         * text2.C: tell X when we have made a selection for copying
10572
10573 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10574
10575         * BufferView_pimpl.C (MenuInsertLyXFile):
10576         * lyxfunc.C (menuNew):
10577         (open):
10578         (doImport): add shortcuts to directory buttons
10579
10580         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10581         open a float)
10582
10583         * lyxfunc.C (setStatusMessage):
10584         (getStatusMessage): new methods
10585         (getStatus):use setStatusMessage instead of setErrorMessage
10586         (dispatch): when function is disabled, set error message here
10587         [instead of in getStatus previously]
10588
10589         * BufferView_pimpl.C (workAreaButtonRelease): update
10590         toolbar/menubar here too.
10591
10592 2002-01-13  Allan Rae  <rae@lyx.org>
10593
10594         * BufferView2.C (removeAutoInsets): finished off earlier fix.
10595         Now seems indestructible.  Remaining task is to audit all other
10596         code affected by deleteEmptyParagraphMechanism.  One small quirk
10597         left is that an empty document with an error in the preamble can
10598         be made to report an error but no error box appears.  I don't know
10599         where it goes.
10600         (removeAutoInsets): Improved comments.
10601
10602 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
10603
10604         * Thesaurus.h:
10605         * Thesaurus.C: update for Aiksaurus 0.14
10606
10607 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10608
10609         * text2.C (firstParagraph): removed member function, all uses
10610         replaces with ownerParagraph
10611         (redoParagraphs): here
10612         (updateInset): here
10613         (toggleAppendix): here
10614         * BufferView2.C (insertErrors): here
10615         (setCursorFromRow): here
10616
10617 2002-01-13  Allan Rae  <rae@lyx.org>
10618
10619         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10620         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10621         There is still a way to segfault this although you may have to do this
10622         multiple times: Have an InsetERT with an unknown command in it.
10623         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10624         <down-arrow>, <Enter> again, View->DVI, BANG!
10625
10626         * text2.C (setCursor):
10627         (deleteEmptyParagraphMechanism):
10628         * lyxtext.h (setCursor):
10629         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10630         Making use of the return value may help fix other bugs.
10631
10632 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10633
10634         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10635
10636         * LyXView.C (updateMenubar): call MenuBar::update here
10637         (updateToolbar): but not here
10638         (showState): do not update toolbar/menubar
10639
10640         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10641         should need to care about that.
10642
10643         * lyxfunc.C (verboseDispatch): simplify a bit
10644         (getStatus): have a version which takes a pseudoaction, and
10645         another which requires a (kb_action,string).
10646
10647         * LyXAction.C (retrieveActionArg): make it work also when action
10648         is not a pseudo-action.
10649         (getActionName): simplify a bit
10650         (helpText):
10651
10652 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10653
10654         * lyxfunc.C (verboseDispatch): new families of methods with
10655         several ways to specify a command and a bool to indicate whether
10656         the command name and shortcut should be displayed in minibuffer
10657         (eventually, we could extend that to a finer bitmask like
10658         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10659         (dispatch): the pristine dispatch command which just, well,
10660         dispatchs! Note it still sets its result to minibuffer; I'm not
10661         sure we want that.
10662
10663         * lyxfunc.h: remove setHintMessage
10664
10665         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10666
10667 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10668
10669         * BufferView_pimpl.C (specialChar): delete new inset if we have
10670         not been able to insert it.
10671
10672         * kbmap.C: revert to using int instead of kb_action, since all we
10673         are dealing with is pseudo-actions.
10674
10675         * LyXAction.C (searchActionArg): change to return int instead of
10676         kb_action, since the result is a pseudoaction.
10677
10678 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
10679
10680         * buffer.C (insertErtContents): Fix (partially) the font bug.
10681
10682 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10683
10684         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10685         as the other one is broken on my machine!
10686
10687 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
10688
10689         * commandtags.h:
10690         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10691
10692 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
10693
10694         * lyxrc.[Ch]: change names and descriptions of popup font variables to
10695         reflect their actual use. Provide compatibility code for older lyxrc
10696         files.
10697
10698         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10699         FL_NORMAL_STYLE.
10700         change names of popup font variables in line with the changes to lyxrc.C
10701
10702 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10703
10704         * buffer.C (asciiParagraph): avoid outputing a word twice after
10705         an inset.
10706
10707         * lyxrc.C (getDescription): document that document_path and
10708         template_path can be empty.
10709
10710 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10711
10712         * LaTeXFeatures.C (getMacros):
10713         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10714
10715         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10716
10717         * LaTeXFeatures.C (useFloat): require "float" here instead of in
10718         getPackages.
10719         (getPackages): rename feature "floats" to "float". Use an array to
10720         iterate over 'simple' features (i.e. just a \usepackage). Add
10721         handling of "amsmath" (renamed from "amsstyle").
10722
10723 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
10724
10725         * LaTeXFeatures.C (require): Prevent duplicate entries in the
10726         features list.
10727
10728 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
10729
10730         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10731         FuncStaus::FuncStatus & FuncStaus::some_method().
10732
10733 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
10734
10735         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10736         of the func_satus stuff. Edited and massaged in various ways by
10737         JMarc.
10738
10739         * lyxfunc.C (getStatus): use FuncStatus
10740
10741 2002-01-08  Juergen Vigna  <jug@sad.it>
10742
10743         * text.C (nextBreakPoint): use function Inset::isChar().
10744
10745         * paragraph.C (TeXOnePar): use function
10746         Inset::forceDefaultParagraphs.
10747
10748         * buffer.C (latexParagraphs): use function
10749         Inset::forceDefaultParagraphs.
10750
10751 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10752
10753         * lyx_gui.C (init): set the style of the menu popups to
10754         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10755
10756 2002-01-07  Juergen Vigna  <jug@sad.it>
10757
10758         * text.C (setHeightOfRow): small fix
10759         (prepareToPrint): don't look at alignment if we don't have the place
10760         for doing it.
10761
10762 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10763
10764         * box.C: New file. Move the Box methods and functions out of box.h,
10765         following Lars' suggestion.
10766
10767 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10768
10769         * box.h: #include "support/LOstream.h", needed for inlined function.
10770
10771         * lyxtextclass.C:
10772         * lyxtextclasslist.C: added some using std declarations.
10773
10774 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
10775
10776         * box.h: make signed dimensions to allow insets wider than
10777           the screen (bug #162)
10778
10779         * BufferView_pimpl.C: add some insetHit debug
10780
10781 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
10782
10783         * vc-backend.C: add FIXME
10784
10785 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10786
10787         * lyxfunc.C (getStatus): enable code for showing math font status
10788         in toolbar/menu.
10789
10790 2002-01-07  Juergen Vigna  <jug@sad.it>
10791
10792         * text.C (nextBreakPoint): removed debug output not needed anymore.
10793
10794 2002-01-06  Juergen Vigna  <jug@sad.it>
10795
10796         * text.C (nextBreakPoint): fixed up this function we had this bug
10797         since ever but now hopefully we break row better.
10798         (insertChar): we have to check if an inset is the next char as it
10799         could now happen that a large inset is causing a break.
10800
10801 2002-01-05  Juergen Vigna  <jug@sad.it>
10802
10803         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10804         if it doesn't like to be drawed.
10805
10806 2002-01-04  Juergen Vigna  <jug@sad.it>
10807
10808         * BufferView2.C (lockInset): forgot to set a cursor.
10809
10810         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10811
10812 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
10813
10814         * FormMathsPanel.C:
10815         * FormMathsPanel.h
10816         * MathsSymbols.C:
10817         * form_maths_panel.C:
10818         * form_maths_panel.h:
10819         * form_maths_panel.fd: implemented sub- and super- buttons in math
10820         panel.
10821
10822         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10823         (or ^ space) to be used as in TeX (req'd by André).
10824
10825         * lyxfunc.C: Allow ^ and _ again to be used both as
10826         super/subscript (mathed) and as themselves (in text).
10827
10828 2002-01-03  Allan Rae  <rae@lyx.org>
10829
10830         * LyXView.C (updateWindowTitle): Setup a short icon title of either
10831         "LyX" or the filename of the current buffer if it has one.  This is a
10832         modified form of John Levon's patch.
10833
10834         * XFormsView.C (setWindowTitle): also set icon title.
10835
10836         * LyXView.h (setWindowTitle): signature changed.
10837         * XFormsView.h (setWindowTitle): ditto.
10838
10839 2002-01-02  Juergen Vigna  <jug@sad.it>
10840
10841         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10842
10843 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10844
10845         * screen.C (topCursorVisible): introduce a temp var for
10846         text->cursor.row(), handle the case where this row is null. (kindo
10847         hachish)
10848
10849         * text2.C (setCursor): add a couple of asserts.
10850
10851         * paragraph.h (inset_iterator): add -> operator
10852
10853         * paragraph.[Ch] (autoDeleteInsets): remove member function
10854
10855         * BufferView2.C (removeAutoInsets): rewrite to handle the old
10856         cursor pos correctly and handle inset deletion by itself.
10857         (insertErrors): move iterator declaration out of for expression
10858
10859         * lyxtextclass.C: add <algorithm>
10860
10861         * Makefile.am: added the new files to sources, removed layout.C
10862
10863         * layout.C: removed file
10864
10865         * layout.h: remove LYX_DUMMY_LAYOUT
10866
10867         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10868         layout.
10869
10870         * lyxlayout.[Ch]:
10871         * lyxtextclass.[Ch]:
10872         * lyxtextclasslist.[Ch]: new files
10873
10874         * include order changes to a lot of files, also changes because of
10875         the six new files.
10876
10877 2001-12-27  Juergen Vigna  <jug@sad.it>
10878
10879         * buffer.C (asciiParagraph): more fixes.
10880
10881         * tabular.C (ascii): make ascii export support export of only the
10882         data separated by a column-delimiter.
10883         (ascii): better support for ascii export.
10884
10885         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10886
10887 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10888
10889         * tabular_funcs.C: use a "using std::getline" instead of the
10890         previous fix from Angus (necessary for cxx + lyxstring)
10891
10892 2001-12-24  Juergen Vigna  <jug@sad.it>
10893
10894         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10895
10896         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10897         problems. First check a minipage also if we have some ert-contents
10898         (not only on par->size(), second set the right depth of the paragraph
10899         on the relink to the root-paragraph-list!
10900
10901         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10902         which then did not anymore update the main paragraphs on undo/redo!
10903
10904 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10905
10906         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10907         code. Support all font-changing funcs (even those which are not in
10908         menu currently). Support for reporting font settings in
10909         mathed (disabled until Andre provides a function on mathed's side).
10910
10911         * func_status.h (toggle): small helper function to set toggle
10912         state on a flag.
10913
10914 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10915
10916         * tabular_funcs.C: getline -> std::getline
10917
10918 2001-12-21  Juergen Vigna  <jug@sad.it>
10919
10920         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10921         accessed and could be 0 (I couldn't generate this but it seems
10922         Michael could!).
10923
10924 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10925
10926         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10927         * tabular_funcs.h: here and include iosfwd
10928
10929 2001-12-20  Juergen Vigna  <jug@sad.it>
10930
10931         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10932         inside inset but undo_par was.
10933
10934 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10935
10936         * Thesaurus.C: always include <config.h> in sources.
10937
10938         * Painter.h:
10939         * lyxlookup.h:
10940         * box.h: do not include <config.h> in header files
10941
10942         * text.C (paintLastRow): remove unused variable
10943
10944         * text.C (transformChar):
10945         (insertChar):
10946         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10947
10948         * Painter.C (text):
10949         * font.C (width): rewrite to use uppercase() instead of
10950         islower/toupper.
10951
10952         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10953
10954 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10955
10956         * lyxfind.C: clean up of find failure position change
10957
10958 2001-12-20  Juergen Vigna  <jug@sad.it>
10959
10960         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10961
10962         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10963         (TeXRow): added to LaTeX a single tabular row.
10964         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10965         (Latex): simplified and finally good LT-h/f support.
10966         (various_functions): just small adaptions for LT-h/f support.
10967
10968         * tabular_funcs.[hC]: added and moved here all not classfunctions
10969         of LyXTabular.
10970
10971 2001-12-19  Juergen Vigna  <jug@sad.it>
10972
10973         * tabular.[Ch]: better support for longtabular options (not finished
10974         yet!)
10975
10976 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10977
10978         * text.C (paintLastRow): use the label font instead of the font of
10979         the last character to compute the size of *_BOX. This makes more
10980         sense and avoids a crash with empty paragraphs.
10981         Use Painter::rectangle to draw EMPTY_BOX.
10982
10983 2001-12-19  Juergen Vigna  <jug@sad.it>
10984
10985         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10986         the paragraphs if the replaced paragraph is not the first one!
10987         Tried to delete not used paragraphs but does not work yet so for
10988         now it's inside #ifdef's and by default off!
10989
10990 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10991
10992         * MenuBackend.C: include "lyx_main.h" instead of declaring
10993         lastfiles (actually was declared as LastFiles* instead of a
10994         scoped_ptr).
10995
10996 2001-12-17  Juergen Vigna  <jug@sad.it>
10997
10998         * tabular.C (AppendColumn): applied John's fix
10999
11000 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
11001
11002         * BufferView.h:
11003         * BufferView.C:
11004         * BufferView_pimpl.h:
11005         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11006
11007         * Makefile.am:
11008         * box.h: new start of class for above
11009
11010         * lyxfunc.C: ignore space-only minibuffer dispatches.
11011           Show the command name when it doesn't exist
11012
11013         * minibuffer.C: don't add empty lines to the history
11014
11015         * minibuffer.C: add a space on dropdown completion
11016
11017 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
11018
11019         * text.C: fix line above/below drawing in insets
11020
11021 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11022
11023         * lyxlength.C (LyXLength): Initialize private variables.
11024
11025 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
11026
11027         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11028         when inserting error insets.
11029
11030 2001-12-13  Juergen Vigna  <jug@sad.it>
11031
11032         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11033         actually sometimes the before-paragraph.
11034         (setUndo): don't clear the redostack if we're not actually undoing!
11035
11036 2001-12-06  Juergen Vigna  <jug@sad.it>
11037
11038         * undo_funcs.C (textHandleUndo): well after John's hint I got here
11039         and fixed redoing of main paragraph, so we can use it now ;)
11040
11041         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11042
11043 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11044
11045         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11046         Juergen's request
11047
11048 2001-12-13  André Pönitz <poenitz@gmx.net>
11049
11050         * undostack.[Ch]:
11051         * undo_func.C: minor cleanup
11052
11053 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11054
11055         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11056         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11057         font in urw-fonts package which is marked as -urw-fontspecific and
11058         does not work (incidentally, changing the encoding in the
11059         fonts.dir of this package to -adobe-fontspecific fixes the
11060         problem).
11061
11062         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11063         is a crash when undoing first paragraph (Juergen, please take a
11064         look). THis does not mean the undo fix is wrong, just that it
11065         uncovers problems.
11066
11067         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11068         the (Paragraph*) version when needed instead of duplicating the
11069         code.
11070
11071         * text.C (workWidth): use Inset::parOwner to find out where the
11072         inset has been inserted. This is a huge performance gain for large
11073         documents with lots of insets. If Inset::parOwner is not set, fall
11074         back on the brute force method
11075
11076         * paragraph_pimpl.C (insertInset):
11077         * paragraph.C (Paragraph):
11078         (cutIntoMinibuffer): set parOwner of insets when
11079         inserting/removing them
11080
11081         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11082
11083 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
11084
11085         * commandtags.h:
11086         * LyXAction.C:
11087         * lyx_main.C:
11088         * lyxfunc.C:
11089         * mathed/formulabase.C:
11090         * mathed/math_cursor.[Ch]:
11091         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11092
11093
11094 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11095
11096         * lyxlength.[Ch] (operator!=): new function
11097
11098 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11099
11100         * text.C (workWidth): use Inset::parOwner to find out where the
11101         inset has been inserted. This is a huge performance gain for large
11102         documents with lots of insets. If Inset::parOwner is not set, fall
11103         back on the brute force method
11104
11105         * paragraph_pimpl.C (insertInset):
11106         * paragraph.C (Paragraph):
11107         (cutIntoMinibuffer): set parOwner of insets when
11108         inserting/removing them
11109
11110         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11111
11112 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11113
11114         * tabular-old.C (getTokenValue):
11115         * tabular.C (getTokenValue):
11116         (write_attribute): new versions for LyXLength
11117         (everywhere): adjust the use of widths
11118
11119         * tabular.h: change the type of widths from string to LyXLength
11120
11121 2001-12-11  Ben Stanley <bds02@uow.edu.au>
11122
11123         * paragraph.C: fixed missing line number count when exporting
11124         Environments to LaTeX file
11125
11126         * buffer.C: added informational message for checking line numbers.
11127
11128 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11129
11130         * text2.C (deleteEmptyParagraphMechanism): if there is only one
11131         paragraph, do the 'double space' part, but not the 'empty
11132         paragraph' one.
11133
11134         * text.C (workWidth): small optimization
11135         (getLengthMarkerHeight): use minimal size for negative lengths.
11136
11137 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
11138
11139         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11140
11141         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11142
11143 2001-12-11  André Pönitz <poenitz@gmx.net>
11144
11145         * FontLoader.C:
11146         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11147
11148 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11149
11150         * text2.C: keep selection on a setFont()
11151
11152 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11153
11154         * lyx_cb.C: another bv->text misuse, from insert label
11155
11156 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11157
11158         * kbsequence.h:
11159         * kbsequence.C: re-instate nmodifier mask
11160
11161 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
11162
11163         * lyx_main.h: make lyxGUI private.
11164
11165 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11166
11167         * lyxfind.C: place the cursor correctly on failed search
11168
11169 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11170
11171         * text.C (getLengthMarkerHeight): for small heights, the arrows
11172         are not always on top/bottom of the text
11173         (drawLengthMarker): smaller arrows; take the left margin in
11174         account; draw also vfills.
11175         (paintFirstRow):
11176         (paintLastRow): remove special code for vfill and standard spaces,
11177         since everything is handled in drawLengthMarker now.
11178
11179 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11180
11181         * buffer.C (insertErtContents): try to handle font and language
11182         interaction a bit better.g
11183
11184         * ColorHandler.C (updateColor): change the hash to cover the whole
11185         LColor enum, ws cleanup
11186         (getGCLinepars): ditto
11187         (getGCLinepars): only lookup in the linecache once.
11188
11189 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
11190
11191         * iterators.C (operator++): Make the iterator more robust
11192
11193         * BufferView2.C (removeAutoInsets): Use paragraph iterators
11194         (John's patch)
11195         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11196
11197 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11198
11199         * lyxtext.h:
11200         * text.C: better added space drawing
11201
11202 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11203
11204         * LyXView.C:
11205         * BufferView2.C: fix layout combo update on inset unlock
11206
11207 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11208
11209         * Makefile.am: don't compile unused files
11210
11211 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11212
11213         * lyxfunc.C:
11214         * commandtags.h:
11215         * LyXAction.C: remove old LFUN_LAYOUTNO
11216
11217 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11218
11219         * paragraph_pimpl.h:
11220         * paragraph_pimpl.C: isTextAt() doesn't need font param
11221
11222 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11223
11224         * lyxlex.h:
11225         * lyxlex.C: little cleanup
11226
11227 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11228
11229         * BufferView_pimpl.C: fix insertAscii for insets
11230
11231 2001-12-05  Juergen Vigna  <jug@sad.it>
11232
11233         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11234         set the right font on the "multi" paragraph paste!
11235
11236 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11237
11238         * trans_decl.h:
11239         * trans_mgr.[Ch]:
11240         * trans.[Ch]:
11241         * lyxgluelength.C:
11242         * lyxlength.C: remove out-commented code.
11243
11244         * BufferView_pimpl:
11245         * CutAndPaste.C:
11246         * DepTable.C:
11247         * buffer.C:
11248         * chset.C:
11249         * lastfiles.C:
11250         * lyxlex.C:
11251         * lyxlex_pimpl.C:
11252         * lyxserver.C:
11253         * screen.C:
11254         * tabular-old.C:
11255         * tabular.C:
11256         * text.C:
11257         * trans_mgr.C:
11258         * vc-backend.C: change "while(" to "while ("
11259
11260         * lyxlength.[Ch]: add zero function to check if length is zero or
11261         not
11262         * lyxgluelength.C: use it
11263
11264 2001-12-05  Allan Rae  <rae@lyx.org>
11265
11266         * lyxlength.C: Attempted a fix for the abs(int) header selection.
11267         Works for 2.95.3, from what I understand of Garst's reports this should
11268         work for other g++ versions.  We're screwed if the abs(int) definition
11269         changed between bugfix releases of gcc.
11270
11271 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11272
11273         * text.C: fix chapter label offset !
11274
11275 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11276
11277         * lyxtext.h:
11278         * text.C: fix hfill at end of line, clean up
11279
11280 2001-12-04  Juergen Vigna  <jug@sad.it>
11281
11282         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11283         that we force an update of the inset and it's owners if neccessary.
11284
11285 2001-12-03  Juergen Vigna  <jug@sad.it>
11286
11287         * text.C (rowLast): simplified code
11288
11289 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11290
11291         * lyxfunc.C: fix show options on timeout
11292
11293 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11294
11295         * screen.C (topCursorVisible): scroll half a page when the cursor
11296         reached top of bottom of screen
11297
11298 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
11299
11300         * minibuffer.C: deactivate on loss of focus
11301
11302 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11303
11304         * vspace.[Ch] (operator!=): add operator.
11305
11306 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
11307
11308         * BufferView_pimpl.C: refuse to open an inset when
11309         there's a selection.
11310
11311 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
11312
11313         * BufferView_pimpl.C: allow to click on RHS of full row insets
11314
11315 2001-11-30  Juergen Vigna  <jug@sad.it>
11316
11317         * tabular.C (LyXTabular): add a same_id to set the same id's in the
11318         insets for undo reasons.
11319
11320 2001-11-28  André Pönitz <poenitz@gmx.net>
11321
11322         * vspace.[Ch]: cosmetical changes
11323
11324 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11325
11326         * LyXAction.h:
11327         * LyXAction.C:
11328         * lyxfunc.h:
11329         * lyxfunc.C:
11330         * kbmap.h:
11331         * kbmap.C:
11332         * lyxrc.C:
11333         * kbsequence.h:
11334         * kbsequence.C: part re-write of old kb code
11335
11336         * Painter.C:
11337         * WorkArea.C: remove Lgb_bug_find_hack
11338
11339 2001-11-30  José Matos <jamatos@fep.up.pt>
11340
11341         * buffer.C (makeDocBookFile): add a comment to point a hack.
11342         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11343         Fixed a double write of labels.
11344
11345 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11346
11347         * LaTeX.C:
11348         * LaTeX.h Fixed bug in LaTeX class where it would not
11349         re-run latex if no depfiles were changed, but the .dvi was removed.
11350
11351 2001-11-28  André Pönitz <poenitz@gmx.net>
11352
11353         * all the files from the change on 2001/11/26:
11354         use lyx::layout_type instead of LyXTextClass::size_type
11355         use lyx::textclass_type instead of LyXTextClassList::size_type
11356
11357 2001-11-29  Juergen Vigna  <jug@sad.it>
11358
11359         * text.C: added support for paragraph::isFreeSpacing()
11360
11361         * buffer.C: same as above
11362
11363         * paragraph.h: inserted isFreeSpacing() function to enable
11364         FreeSpacing inside InsetERT.
11365
11366         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11367         of the paragraph's in the cut/copy buffer to 0!
11368
11369         * text2.C (removeRow): remove the assert as it can!
11370
11371         * lyxtext.h: added helper function firstRow returning firstrow and
11372         made firstrow private again.
11373
11374         * BufferView2.C (lockInset): don't relock if we're already locked!
11375
11376         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11377         the only paragraph.
11378         (removeRow): added Assert::(firstrow)
11379
11380         * debug.C: forgot to add INSETTEXT here.
11381
11382 2001-11-28  Juergen Vigna  <jug@sad.it>
11383
11384         * sp_spell.C (initialize): changed error text to more general
11385         spellchecker command use (not only ispell!)
11386
11387         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11388
11389         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11390
11391 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11392
11393         * vspace.C: initialise lyxgluelength on failure
11394
11395 2001-11-28  Allan Rae  <rae@lyx.org>
11396
11397         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11398         declaration & definition that looks like a function declaration.
11399
11400 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11401
11402         * BufferView2.C (copy):
11403         (copyEnvironment): do not clear the selection when doing a copy.
11404
11405         * text.C (paintFirstRow): compilation fix
11406
11407 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
11408
11409         * tabular.C (Latex): correct line count when writing latex.
11410
11411 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
11412
11413         * paragraph_pimpl.h:
11414         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11415           bug a bit
11416
11417 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11418
11419         * text.C:
11420         * LColor.h:
11421         * LColor.C: change vfillline->added_space
11422
11423         * text.C: add markers and text for added space
11424
11425         * vspace.C: fix comment
11426
11427 2001-11-28  André Pönitz <poenitz@gmx.net>
11428
11429         * paragraph.C: whitespace changes
11430         * all the other files from the change on 2001/11/26:
11431         change *::pos_type into lyx::pos_type
11432
11433 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
11434
11435         * buffer.C (parseSingleLyXformat2Token): Set the language to the
11436         language of the document when inserting error insets.
11437
11438 2001-11-26  André Pönitz <poenitz@gmx.net>
11439
11440         * BufferView_pimpl.[Ch]:
11441         *       CutAndPaste.C:
11442         * buffer.[Ch]:
11443         * lyxcursor.[Ch]:
11444         * lyxfind.C:
11445         * lyxfunc.C:
11446         * lyxrow.[Ch]:
11447         * paragraph.[Ch]:
11448         * paragraph_pimpl.[Ch]:
11449         * sp_spell.C:
11450         * text.C:
11451         * text2.C: reduce header dependencies, introduce type for positions
11452
11453 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11454
11455         * <various>: change to use Alert.h
11456
11457 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
11458
11459         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11460         when encountering an unknown token.
11461         (readLyXformat2): Show an error message if there were unknown tokens.
11462
11463 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
11464
11465         * BufferView2.C:
11466         * BufferView_pimpl.C:
11467         * buffer.C:
11468         * paragraph.h:
11469         * text.C:
11470         * text2.C: use par->isInset()
11471
11472 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11473
11474         * paragraph_pimpl.h:
11475         * paragraph_pimpl.C: cleanup
11476
11477 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11478
11479         * text2.C (removeRow):
11480         * text.C (setHeightOfRow): remove useless (and costly) call to
11481         getRow.
11482
11483 2001-11-20  Allan Rae  <rae@lyx.org>
11484
11485         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11486         Now need Inset*::checkInsertChar() to return true for appropriate
11487         cases so that the characters in the minibuffer will actually be
11488         inserted.
11489
11490 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11491
11492         * text.C: change the order of the includes.
11493         (workWidth): initialize it at once.
11494         (workWidth): make maxw unsigned
11495         (setHeightOfRow): remove unused variable (inset)
11496         (selectSelectedWord): remove unused variable (inset)
11497         (paintRowText): fix drawing of hfill characters, and clean up a bit.
11498
11499 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11500
11501         * lyxserver.C (emergencyCleanup): do not try to close pipes if
11502         server is not running.
11503         (openConnection):
11504         (closeConnection): add debug info when server is disabled.
11505
11506         * ColorHandler.C (getGCForeground): send debug message to GUI
11507         channel.
11508
11509         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11510
11511         * kbmap.C (bind): modify because return conventions of
11512         kb_sequence::parse have changed.
11513
11514         * kbsequence.C (parse): only ignore spaces and not any stupid
11515         control character. This avoids tests like s[i] <= ' ', which are
11516         guaranteed to fail with 8bit characters and signed chars.
11517         Change return code to string::npos when there have been no error
11518         (0 was a bad idea when error is at first character)
11519
11520 2001-11-14  José Matos  <jamatos@fep.up.pt>
11521
11522         * buffer.h:
11523         * buffer.C (simpleDocBookOnePar): removed unused argument.
11524
11525 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11526
11527         * text.C (selectNextWordToSpellcheck): do not test explicitely for
11528         insets which are part of a word. Paragraph::isLetter takes care of
11529         that now. Use Paragraph::isInset to identify insets.
11530         (selectSelectedWord): do not test for hyphenation break.
11531
11532         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11533         that protected spaces are considered as spaces.
11534
11535         * paragraph.C (isLetter): cleanup the code for ispell extras; use
11536         Inset::isLetter.
11537
11538 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
11539
11540         * lyxserver.h:
11541         * lyxserver.C: fix it. and small cleanup.
11542
11543 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11544
11545         * BufferView_pimpl.C: use inline helpers
11546
11547         * LaTeXFeatures.h:
11548         * LaTeXFeatures.C: fix typos
11549
11550         * Spacing.h:
11551         * Spacing.C: move spacing_string into class
11552
11553         * ToolbarDefaults.C: move stuff into namespace anon
11554
11555         * layout.h: update enum
11556
11557         * lyxfunc.C: use better debug
11558
11559         * minibuffer.h: fix typo
11560
11561         * debug.h:
11562         * debug.C:
11563         * WorkArea.C: add and use Debug::WORKAREA
11564
11565         * lyxtext.h:
11566         * text.C:
11567         * text2.C: code re-organisation, inline helpers
11568
11569 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
11570
11571         * Layout.C: replaced a few cases of std::vector.size() == 0 with
11572         std::vector.empty().
11573
11574 2001-11-09  Allan Rae  <rae@lyx.org>
11575
11576         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11577         '\n's after tables.  Tabular and ERT inset work now makes this no
11578         longer necessary.
11579
11580 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11581
11582         * minibuffer.h:
11583         * minibuffer.C: fix crash, improve drop-down completion
11584
11585 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
11586
11587         * lyxserver.h:
11588         * lyxserver.C: invalidate fd's when doing endPipe()
11589
11590 2001-11-08  José Matos  <jamatos@fep.up.pt>
11591
11592         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11593         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11594
11595         * paragraph.h:
11596         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11597
11598 2001-11-07  José Matos  <jamatos@fep.up.pt>
11599
11600         * buffer.h:
11601         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11602         const qualifier.
11603
11604         * buffer.C (sgmlOpenTag):
11605         * buffer.C (sgmlCloseTag): removed debug info.
11606
11607         * buffer.h (sgmlOpenTag):
11608         * buffer.h (sgmlCloseTag): made public.
11609
11610 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11611
11612         * buffer.C (saveParamsAsDefaults):
11613         * lyx_cb.C (MenuLayoutSave): remove
11614
11615         * LyXAction.C (init):
11616         * commandtags.h:
11617         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11618
11619 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11620
11621         * buffer.C (setPaperStuff): removed from here...
11622
11623         * bufferparams.C (setPaperStuff): ... and moved there.
11624
11625 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
11626
11627         * minibuffer.h:
11628         * minibuffer.C:
11629         * XFormsView.C: add support for drop-down completion
11630
11631 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
11632
11633         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11634         commands.
11635
11636 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11637
11638         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11639         disabled.
11640
11641 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
11642
11643         * lyx_main.C: change ref to known bugs
11644
11645 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
11646
11647         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11648         to work around older babel problems.
11649
11650 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11651
11652         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11653
11654 2001-10-24  Juergen Vigna  <jug@sad.it>
11655
11656         * tabular-old.C (ReadOld): below variable changes reflected.
11657
11658         * tabular.[Ch]: added ltType struct for longtable header/footer
11659         defines and changed all instances where they are used. Added
11660         future support for double top/bottom rows.
11661
11662 2001-10-24  José Matos  <jamatos@fep.up.pt>
11663
11664         * buffer.h (docbookHandleCaption):
11665         * buffer.C (docbookHandleCaption): removed unused function.
11666         (makeDocBookFile): moved docbook supported version to v4.1.
11667
11668 2001-10-24  José Matos  <jamatos@fep.up.pt>
11669
11670         * tabular.h:
11671         * tabular.C (docbookRow): new function to export docbook code of a row.
11672         (DocBook): now honors the longtable flags.
11673
11674 2001-10-23  José Matos  <jamatos@fep.up.pt>
11675
11676         * LaTeXFeatures.h:
11677         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11678         of the lyx defined sgml entities used in a docbook/linuxdoc document.
11679
11680         * buffer.C (makeLinuxDocFile):
11681         (makeDocBookFile): reworked the preamble, more clean, and with
11682         support for lyx defined entities. Changed the document declaration
11683         to be more XML friendly.
11684
11685         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11686         if we need to output XML that should be done with a filter.
11687
11688 2001-10-22  Juergen Vigna  <jug@sad.it>
11689
11690         * sp_pspell.h (class PSpell): add alive function needed in the
11691         controller to see if the spellchecker could be started.
11692
11693 2001-10-22  Juergen Vigna  <jug@sad.it>
11694
11695         * buffer.C (insertStringAsLines): modify the font for inserting
11696         chars in certain conditions by calling checkInsertChar(font).
11697
11698 2001-10-19  Juergen Vigna  <jug@sad.it>
11699
11700         * text.C (workWidth): use getRow instead of wrong algorithm.
11701         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11702
11703 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
11704
11705         * lyxserver.h:
11706         * lyxserver.C:
11707         * lyx_main.h:
11708         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11709
11710 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11711
11712         * text.C (workWidth): do not search for the exact row when
11713         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11714         optimization for big documents.
11715
11716 2001-10-18  Juergen Vigna  <jug@sad.it>
11717
11718         * text.C (workWidth): new function with added Inset * parameter.
11719
11720 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11721
11722         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11723
11724         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11725         change return type of getColumnNearX.
11726
11727
11728         * text.C (changeRegionCase): use uppercase/lowercase instead of
11729         toupper/tolower.
11730         (leftMargin):
11731         (rightMargin): simplify code by factoring out the uses of
11732         textclasslist.
11733         (labelFill):
11734         (numberOfHfills):
11735         (setHeightOfRow):
11736         (appendParagraph): use Paragraph::size_type
11737
11738 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11739
11740         * vspace.C (asLatexString): add a missing break
11741
11742 2001-10-15  Herbert Voss  <voss@perce.de>
11743
11744         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11745
11746 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11747
11748         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11749         is not available.
11750
11751 2001-10-10  André Pönitz <poenitz@gmx.net>
11752
11753         * lyxfunc.C: removed greek_kb_flag.
11754
11755 2001-10-10  Herbert Voss  <voss@perce.de>
11756
11757         * lyx_main.C: delete global string help_lyxdir.
11758
11759 2001-10-09  Herbert Voss  <voss@perce.de>
11760
11761         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11762
11763         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11764
11765         * lyx_main.C: added global string help_lyxdir.
11766
11767         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11768
11769 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11770
11771         * lyxrc.C (set_font_norm_type): support iso8859-4
11772
11773 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
11774
11775         * LaTeX.C (deplog): add another regex for MikTeX
11776
11777 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11778
11779         * lyxrc.C (set_font_norm_type): support iso8859-3
11780
11781 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11782
11783         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11784
11785         * LaTeXFeatures.C: remove special case of french and index
11786
11787         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11788         before \begin{document}). This solves several incompatibilities.
11789
11790 2001-10-03  Garst Reese  <reese@isn.net>
11791
11792         * lyx_cb.C: change CheckTex error msg.
11793
11794 2001-10-03  José Matos  <jamatos@fep.up.pt>
11795
11796         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11797
11798 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11799
11800         * .cvsignore: update
11801
11802         * lyx_main.C (commandLineVersionInfo): use new style version info.
11803
11804         * buffer.C (writeFile):
11805         (makeLaTeXFile):
11806         (makeLinuxDocFile):
11807         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11808
11809         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11810
11811         * version.h: update to use stuff in version.C
11812
11813         * version.C.in: new file. Contains version information determined
11814         at compile time. This is a merging of version.h and
11815         version_info.h.in.
11816
11817 2001-10-03  Juergen Vigna  <jug@sad.it>
11818
11819         * BufferView_pimpl.C (update): don't change "dirty" status in
11820         updateInset call.
11821
11822 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
11823
11824         * WorkArea.C (c-tor): re-position version string slightly.
11825
11826 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
11827
11828         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11829         revert to previous code.
11830
11831         WorkArea.[Ch]: (show, destroySplash): methods removed.
11832
11833         WorkArea.C: rework code so that it's an amalgam of the codes before and
11834         after the splash screen was moved to WorkArea.
11835
11836 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11837
11838         * lyxrc.C (read):
11839         * vspace.C (inPixels):
11840         (lyx_advance):
11841         * kbmap.C (bind):
11842         * buffer.C (insertStringAsLines):
11843         (asciiParagraph): fix types to be large enough
11844
11845         * lyxlex_pimpl.h: change member status from short to int
11846
11847         * layout.h: fix type of endlabeltype
11848
11849         * kbmap.C (bind):
11850         * kbsequence.C (parse): change return type to string::size_type
11851
11852         * LaTeX.C (updateBibtexDependencies): comment out unneeded
11853         variable
11854
11855         * Bullet.C (bulletSize):
11856         (bulletEntry): do not use short ints as parameters
11857
11858         * BufferView2.C (insertLyXFile): change a char to an int.
11859
11860         * WorkArea.C (WorkArea): remove unneeded floats in computation
11861
11862 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11863
11864         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11865
11866         * paragraph.C (asString): Do not ignore newline/hfill chars when
11867         copying to the clipboard.
11868
11869 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
11870
11871         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11872         after a multi-line inset.
11873
11874 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
11875
11876         * paragraph.C (validate): Set NeedLyXFootnoteCode
11877
11878 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11879
11880         * lyxfont.C (LyXSizeNames): changed increase-error to increase
11881         and decrease-error to decrease.
11882
11883 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11884
11885         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11886         it more readable (should be equivalent)
11887
11888 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11889
11890         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11891
11892 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11893
11894         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11895         of a cursor (row, etc.) after a character has been deleted
11896         (deleteEmptyParagraphMechanism): call the method above on _all_
11897         cursors held by the LyXText when a double space has been
11898         detected/deleted.
11899
11900 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11901
11902         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11903         pixmap.
11904         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11905
11906         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11907         background. Use greyOut() and the new show() methods to toggle between
11908         the foreground and background. Add code to remove the splash after
11909         its initial showing.
11910
11911         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11912         (create_forms): no longer call Dialogs::showSplash.
11913
11914 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11915
11916         * .cvsignore: add version_info.h
11917
11918 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11919
11920         * version_info.h.in: new file
11921
11922         * Makefile.am: add version_info.h.in
11923
11924         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11925         version_info.h instead of VERSION_INFO
11926
11927 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11928
11929         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11930         The ERT inset now returns string().
11931
11932 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11933
11934         * lyxtext.h, text.C (selectNextWord): renamed as
11935         selectNextWordToSpellcheck.
11936
11937         * text.C (selectNextWordToSpellcheck): Modified to not select
11938         words inside an ERT inset.
11939
11940 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11941
11942         * lyx_cb.C (MenuLayoutSave): change a bit the question
11943
11944         * sp_base.h: include <sys/types.h>
11945
11946 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11947
11948         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11949
11950 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11951
11952         * several files: fix typos in user-visible strings
11953
11954 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11955
11956         * text2.C (pasteSelection): do not set the selection, since it
11957         will be cleared later. Actually, the intent was to fix the way the
11958         selection was set, but I figured rmoving the code was just as good.
11959
11960 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11961
11962         * FontLoader.C (available): Check if font is available without
11963         loading the font.
11964
11965 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11966
11967         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11968
11969 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11970
11971         * lyxrc.[Ch]: added display_graphics variable and associated code.
11972
11973 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11974
11975         * bufferparams.C (hasClassDefaults): new method. Returns true if
11976         the buffer parameters correspond to known class defaults
11977
11978 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11979
11980         * XFormsView.C (show): set minimum size to the main window.
11981
11982 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11983
11984         * text2.C (copySelection):
11985         (cutSelection):
11986         * lyxfind.C (LyXReplace):
11987         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11988         LyXText::selectionAsString.
11989
11990         * paragraph.C (asString): add "label" argument to the second form
11991
11992         * text2.C (selectionAsString): add "label" argument and pass it to
11993         Paragraph::asString.
11994
11995 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11996
11997         * lyx_main.C (commandLineHelp): remove version information
11998
11999 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
12000
12001         * lyx_main.C: add -version commandline option
12002
12003 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12004
12005         * paragraph.h: make the optional constructor arg required instead.
12006         some modifications to other files because of this.
12007
12008         * minibuffer.C (C_MiniBuffer_peek_event): make it static
12009
12010         * lyxserver.C (C_LyXComm_callback): make it static
12011
12012         * lyx_main.C (error_handler): make it static
12013
12014         * lyx_gui.C (LyX_XErrHandler): make it static
12015
12016         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12017
12018         * WorkArea.C: make the extern "C" methods static.
12019
12020         * Makefile.am (lyx_LDADD): simplify
12021
12022 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12023
12024         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12025         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12026
12027         * LyXAction.C (init):
12028         * lyxfunc.C (dispatch): associated code removal.
12029
12030 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12031
12032         * lyxfont.h (isSymbolFont): shut off warning
12033
12034         * text.C (setHeightOfRow):
12035         (getVisibleRow): fix crash with empty paragraphs which have a
12036         bottom line
12037
12038 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
12039
12040         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12041         code.
12042
12043 2001-09-04  José Matos  <jamatos@fep.up.pt>
12044         * buffer.C
12045         * buffer.h
12046         * tabular.C (docbook): rename docBook method to docbook.
12047
12048 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12049
12050         * Makefile.am: add dependencies to main.o.
12051
12052 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
12053
12054         * FontLoader.C (available): Return false if !lyxrc.use_gui
12055
12056 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
12057
12058         * FontInfo.C (query):
12059         * converter.C (view):
12060         * importer.C (Import):
12061         * exporter.C (Export): Can not -> cannot.
12062
12063 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
12064
12065         * BufferView_pimpl.C: allow to create index inset even if
12066           string is empty
12067
12068 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12069
12070         * buffer.C (getLists): replace boost::tie code with an explicit pair
12071         as boost::tie can break some compilers.
12072
12073         * iterators.h: Added a std:: declaration to the return type of
12074         ParIterator::size.
12075
12076 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
12077
12078         * lyxrc.C: add help for view_dvi_paper_option, default to safe
12079           case.
12080
12081 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
12082
12083         * iterators.[Ch]: New files. Provide paragraph iterators.
12084
12085         * buffer.C (changeLanguage): Use paragraph iterators.
12086         (isMultiLingual): ditto
12087
12088         * BufferView2.C (ChangeInsets): Use paragraph iterators.
12089
12090 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
12091
12092         * FontLoader.C: Support for cmr font.
12093
12094 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
12095
12096         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12097         (available): New method.
12098
12099         * FontInfo.C (getFontname): Use scalable fonts even when
12100         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12101         found.
12102
12103 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12104
12105         * converter.C (Formats::view): reverted! Incorrect fix.
12106
12107 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12108
12109         * converter.C (Formats::view): only output the -paper option
12110         if the dvi viewer is xdvi, thereby fixing bug #233429.
12111
12112 2001-08-23  Herbert Voss  <voss@perce>
12113
12114         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12115
12116 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
12117
12118         * Spacing.h (Spacing): Set space to Default on in the default
12119         constructor.
12120
12121 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12122
12123         * vc-backend.h (RCS::versionString): add RCS to version
12124         (CVS::versionString): add CVS to version
12125
12126         * vc-backend.C (scanMaster): do not add CVS to version.
12127         (scanMaster): do not add RCS to version
12128
12129         * lyxvc.C (versionString): new method
12130
12131         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12132
12133 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12134
12135         * Spacing.C (set): initialize fval
12136
12137 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
12138
12139         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12140         " or \.
12141
12142 2001-08-16  Juergen Vigna  <jug@sad.it>
12143
12144         * lyxfunc.C (dispatch): implemented the new FINISHED states.
12145
12146 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12147
12148         * BufferView_pimpl.C:
12149         * figureForm.C:
12150         * lyxtext.h:
12151         * text2.C: setParagraph takes linespacing now
12152
12153 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
12154
12155         * LyxAction.C: add internal LFUN_CITATION_INSERT
12156
12157         * LyXView.C: actually apply fix
12158
12159         * bufferlist.C: fix open non-existent file
12160
12161         * lyxfind.C: fix indentation
12162
12163         * lyxfunc.C: remove unneeded assert, fix typo
12164
12165 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12166
12167         * MenuBackend.C: use "Floatname List"
12168
12169 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
12170
12171         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12172         when converting LaTeX layout to insetERT.
12173         Generate a non-collapsed float when reading old float
12174
12175 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12176
12177         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12178         ERT insets.
12179
12180 2001-08-13  Juergen Vigna  <jug@sad.it>
12181
12182         * text.C (fill): return 0 instead of 20 as this seems to be the more
12183         correct value.
12184
12185 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12186
12187         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12188         lyxrc.font_norm.
12189
12190 2001-08-13  Juergen Vigna  <jug@sad.it>
12191
12192         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12193         casesensitive off.
12194         (SearchBackward): comment out the unlocking of the inset_owner this
12195         should not be needed!
12196
12197 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
12198
12199         * Many files: Remove inherit_language, and add latex_language
12200
12201         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12202         collapsible insets.
12203
12204 2001-08-10  Juergen Vigna  <jug@sad.it>
12205
12206         * text.C (prepareToPrint): fixed hfill-width in draw!
12207
12208         * BufferView2.C (selectLastWord): save the selection cursor as this
12209         now is cleared in the function LyXText::clearSelection!
12210
12211 2001-08-08  Juergen Vigna  <jug@sad.it>
12212
12213         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12214         BACKSPACE type functions.
12215
12216         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12217         is only cutted from the document but not put in the cut-buffer, where
12218         still the old stuff should be.
12219
12220         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12221
12222         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12223
12224         * tabular.C (SetWidthOfCell): fixed special case where the width
12225         was not updated!
12226         (LeftLine): handle '|' in align_special.
12227         (RightLine): ditto
12228         (LeftAlreadyDrawed): ditto
12229         (SetWidthOfCell): ditto
12230
12231 2001-08-07  Juergen Vigna  <jug@sad.it>
12232
12233         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12234
12235 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12236
12237         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12238         * lyxlex.[hC]: ditto
12239
12240 2001-08-06  Juergen Vigna  <jug@sad.it>
12241
12242         * text.C (getVisibleRow): fix up row clearing a bit.
12243
12244 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12245
12246         * minibuffer.C: make sure the X server sees the changes in the input.
12247
12248 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12249
12250         * paragraph.C (getFont): split into...
12251         (getLabelFont): this
12252         (getLayoutFont): and this
12253         * paragraph_pimpl.C (realizeFont): calling this
12254
12255         * text2.C (getFont): split into...
12256         (getLayoutFont): this
12257         (getLabelFont): and this
12258         (realizeFont): all three calling this
12259
12260         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12261         files where used.
12262
12263 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12264
12265         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12266
12267 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
12268
12269         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12270         layouts from the Quote inset insertion.
12271
12272 2001-08-03  Juergen Vigna  <jug@sad.it>
12273
12274         * BufferView_pimpl.C (update): do the fitCursor only at the end!
12275
12276         * screen.C (drawFromTo): don't call fitcursor here and do the loop
12277         only if status not is already CHANGED_IN_DRAW (second level).
12278
12279         * text.C (draw): don't set the need_break_row when inside an
12280         InsetText LyXText.
12281
12282 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12283
12284         * buffer.C (parseSingleLyXformat2Token): handle more latex
12285         conversion cases.
12286
12287         * bufferview_funcs.[hC]: change function names to
12288         begin with small char, adjust other files.
12289
12290 2001-08-02  André Pönitz <poenitz@gmx.net>
12291
12292         * lyxfunc.C:
12293         BufferView_pimpl.C: remove broken special code for math-greek
12294
12295 2001-08-02  Juergen Vigna  <jug@sad.it>
12296
12297         * BufferView_pimpl.C (update): redone this function so that we
12298         update the text again if there was a CHANGE_IN_DRAW.
12299
12300         * screen.C (cursorToggle): removed LyXText parameter and recoded.
12301         (drawFromTo): added a new internal bool which is used by draw() and
12302         redraw() function.
12303         (general): some cursor drawing problems fixed.
12304
12305 2001-08-01  Juergen Vigna  <jug@sad.it>
12306
12307         * lyxfind.C (LyXFind): fixed
12308         (SearchForward): ditto
12309         (SearchBackward): ditto
12310
12311         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12312         spurius drawing of the cursor in the main area.
12313
12314         * text2.C (status): small fix which could lead to a segfault!
12315         (clearSelection): remove unneeded BufferView param.
12316
12317 2001-08-01  André Pönitz <poenitz@gmx.net>
12318
12319         * lyxfunc.C: small change due to changed mathed interface
12320
12321 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12322
12323         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12324
12325 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
12326
12327         * lyxfunc.c: fail gracefully if file doesn't exist
12328
12329         * LyXSendto.C:
12330         * buffer.C:
12331         * lyxfunc.C:
12332         * BufferView_pimpl.C: IsDirWriteable() proto changed
12333
12334         * LyXView.C: fix updateWindowTitle() to store the last title
12335
12336 2001-07-31  Juergen Vigna  <jug@sad.it>
12337
12338         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12339         the font (wrong since using of Paragraph::highestFontInRange).
12340
12341         * paragraph.C (highestFontInRange): added a default_size parameter.
12342
12343         * text.C (getVisibleRow): minor clear row changes (still not perfect).
12344         (setHeightOfRow): reformat
12345
12346 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12347
12348         * converter.[hC] + affected files: move to (inital-char)lowercase
12349         function names.
12350
12351         * ParagraphParameters.C (ParagraphParameters): remove commented code
12352
12353         * PainterBase.[Ch]: remove commented code
12354
12355         * LaTeXFeatures.h: add "bool floats" for float.sty
12356
12357         * LaTeXFeatures.C (LaTeXFeatures): init floats
12358         (require): handle float
12359         (getPackages): do it with floats
12360
12361 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12362
12363         * BufferView_pimpl.C (Dispatch): improve handling of
12364         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12365
12366         * commandtags.h: #include lyxfont.h here temporarily to avoid
12367         keybinding bug.
12368
12369         * bufferlist.h: include LString.h here.
12370
12371 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12372
12373         * text2.C (getStringToIndex): new method.
12374
12375 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
12376
12377         * *: Reduced header file dependencies all over.
12378
12379 2001-07-30  Baruch Even  <baruch@lyx.org>
12380
12381         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12382
12383 2001-07-29  Baruch Even  <baruch@lyx.org>
12384
12385         * buffer.C (readInset): Changed GRAPHICS to Graphics.
12386
12387 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12388
12389         * ParameterStruct.h (endif): add a default constructor to make
12390         sure that all variables is initialized.
12391
12392         * ParagraphParameters.C (ParagraphParameters): adjust
12393
12394 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12395
12396         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12397         index; also, check that there is something to index, and that it
12398         does not span over several paragraphs.
12399         (doubleClick): use WHOLE_WORD_STRICT for double click.
12400
12401         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12402
12403         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12404         scheme.
12405
12406 2001-07-26  Baruch Even  <baruch@lyx.org>
12407
12408         * buffer.C (readInset): Changed to call up InsetGraphics when reading
12409         an InsetFig figure, backwards compatible reading of old figure code.
12410
12411 2001-07-27  Juergen Vigna  <jug@sad.it>
12412
12413         * text2.C: font.realize function adaption.
12414
12415         * text.C (draw): add a warnings lyxerr text if needed.
12416
12417         * layout.C: font.realize function adaption.
12418
12419         * language.C: add inherit_language and implement it's handlings
12420
12421         * bufferview_funcs.C (StyleReset): remove language parameter from
12422         font creation (should be language_inherit now).
12423
12424         * bufferparams.C (writeFile): handle ignore_language.
12425
12426         * paragraph.C (getFontSettings): the language has to be resolved
12427         otherwise we have problems in LyXFont!
12428
12429         * lyxfont.C (lyxWriteChanges): added document_language parameter
12430         (update): removed unneeded language parameter
12431
12432         * paragraph.C (validate): fixed wrong output of color-package when
12433         using interface colors for certain fonts in certain environments,
12434         which should not seen as that on the final output.
12435
12436 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
12437
12438         * BufferView_pimpl.C:
12439         * Thesaurus.h:
12440         * Thesaurus.C:
12441         * Makefile.am:
12442         * commandtags.h:
12443         * LyXAction.C: add thesaurus support
12444
12445         * lyxfind.h:
12446         * lyxfind.C: add "once" parameter, for thesaurus, to not
12447           move to the next match
12448
12449 2001-07-26  Juergen Vigna  <jug@sad.it>
12450
12451         * lyxfont.C (realize): honor ignore_language too!
12452         (resolved): ditto.
12453
12454         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12455
12456         * text.C (draw): one place more for ignore_language to not draw
12457         itself!
12458
12459 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
12460
12461         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12462
12463 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12464
12465         * buffer.C (parseSingleLyXformat2Token): a more general fix for
12466         the minipage conversion problem.
12467
12468 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12469
12470         * buffer.C (parseSingleLyXformat2Token): check minipage if we
12471         insert an inset.
12472
12473 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12474
12475         * BufferView.h: don't forward declare WorkArea
12476
12477         * BufferView.C: don't include WorkArea.h
12478
12479 2001-07-25  André Pönitz <poenitz@gmx.net>
12480
12481         * commandtags.h:
12482         * LyXAction.C:
12483         * lyxfunc.C:  new LFUN 'math-space'
12484
12485         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12486
12487 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12488
12489         * text2.C (toggleInset): call open/close
12490
12491 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12492
12493         * lyxfunc.C (dispatch): add debug for the disabled case
12494
12495         * font.C (buttonText): make similar to rectText
12496
12497         * buffer.C (readInset): comment out parsing of insetlist and
12498         insttheorem
12499
12500         * PainterBase.C (rectText): small correction
12501
12502         * BufferView_pimpl.C: comment out insettheorem and insetlist
12503         * LyXAction.C: ditto
12504         * commandtags.h: ditto
12505
12506 2001-07-24  Juergen Vigna  <jug@sad.it>
12507
12508         * text.C (draw): honor the ignore_language.
12509
12510         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12511
12512 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12513
12514         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12515         char inset.
12516
12517 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12518
12519         * lyxtext.h: remove unused (and unimplemented) methods
12520
12521 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12522
12523         * text.C (getVisibleRow): honor background color
12524
12525         * PainterBase.h:
12526         * Painter.h: remove default color argument for fillRectangle
12527
12528         * text.C (backgroundColor): new method
12529
12530 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12531
12532         * text.C (getVisibleRow): adjust
12533
12534         * font.[Ch] (rectText): new method, metrics
12535         (buttonText): new method, metrics
12536
12537         * PainterBase.[hC]: make rectText and buttonText always draw and take
12538         fewer paramteres.
12539
12540 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12541
12542         * ToolbarDefaults.C (read):
12543         * MenuBackend.C (read): allow escaping in all strings
12544
12545         * BufferView_pimpl.C (insertAndEditInset): new method.
12546         (Dispatch): use insertAndEditInset whenever appropriate.
12547
12548         * BufferView_pimpl.C (insertNote): removed
12549
12550         * BufferView_pimpl.C (smartQuote): new method, moved from
12551         BufferView; if an insetquote cannot be inserted, insert a '"'
12552         character instead.
12553
12554         * BufferView2.C: remove insertCorrectQuote();
12555
12556         * lyxfunc.C (getStatus): Add support for all remaingin
12557         inset-insert lfuns.
12558
12559         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12560
12561         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12562         command (necessary to pass " as parameter of self-insert.
12563
12564         * text.C (selectWordWhenUnderCursor):
12565         (selectWord): add word_location parameter
12566         (selectWordWhenUnderCursor): same + remove special code for word
12567         boundary.
12568         (selectNextWord): use kind() to guess type of insetspecialchar,
12569         not latex().
12570
12571         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12572         (insertErtContents): create ert insets as collapsed.
12573         (readInset): better compatibility code for Info inset.
12574
12575 2001-07-20  Juergen Vigna  <jug@sad.it>
12576
12577         * lyxfunc.C (dispatch): use always LyXFind now!
12578
12579         * text2.C (init): add a reinit flag so that the LyXText can be
12580         reinited instead of deleted and reallocated (used in InsetText).
12581
12582         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12583
12584         * text.C: ditto
12585
12586         * text2.C: ditto
12587
12588 2001-07-18  Juergen Vigna  <jug@sad.it>
12589
12590         * text.C (selectNextWord): handle insets inside inset by calling
12591         always the bv->text functions so that we can go up the_locking_inset!
12592
12593         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12594         in strange locations when inside an inset!
12595
12596         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12597         handling to include insets.
12598
12599         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12600
12601 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12602
12603         * LyXAction.C (init):
12604         * commandtags.h:
12605         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12606         LIGATURE_BREAK, since the name is so stupid.
12607
12608 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12609
12610         * buffer.C (readInset): enable reading of new InsetNotes as well as old
12611         InsetInfos.
12612
12613         * FontLoader.C: remove FORMS_H_LOCATION cruft.
12614
12615         * sp_form.[Ch]: remove.
12616
12617         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12618
12619         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12620         InsetInfo.
12621
12622         * src/buffer.C (readInset): ditto.
12623
12624 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12625
12626         * BufferView_pimpl.C (specialChar): new method. Obsoletes
12627         menuSeparator(), endOfSentenceDot(), ldots() and
12628         hyphenationPoint(), which are therefore removed.
12629         (Dispatch): handle LFUN_HYPHENATION_BREAK.
12630
12631         * LyXAction.C (init):
12632         * commandtags.h: add LFUN_HYPHENATION_BREAK.
12633
12634         * paragraph.C (getWord): removed.
12635
12636         * BufferView_pimpl.C (Dispatch): use last word or selection for
12637         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12638
12639         * lyx_main.C (queryUserLyXDir): do not ask before creating
12640         user_dir, except if it has been named explicitely.
12641
12642 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12643
12644         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12645         a document of zero size.
12646
12647 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
12648
12649         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12650         approriately in the c-tor and in require().
12651         (getPackages): output the appropriate LaTeX for natbib support.
12652
12653         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12654         variables "use_natbib" and "use_numerical_citations" when reading the
12655         LyX file.
12656         (readInset): read the various natbib cite commands.
12657         (validate): white-space change.
12658
12659         * bufferparams.[Ch]: new variables "bool use_natbib" and
12660         "bool use_numerical_citations".
12661         (writeFile): output them in the LyX file.
12662
12663 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12664
12665         * lyxfunc.C (getStatus): add support for all the inset insertion
12666         commands.
12667
12668         * text2.C (insertInset):
12669         * paragraph.C (insetAllowed):
12670         * BufferView_pimpl.C (insertInset): update to take in account the
12671         renaming of insertInsetAllowed
12672
12673         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12674
12675         * text2.C (getInset): new method. returns inset at cursor position.
12676
12677         * BufferView_pimpl.C (Dispatch): changes because of this.
12678
12679         * LyXAction.C (init): rename open-stuff to inset-toggle.
12680
12681         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12682
12683         * text2.C (toggleInset): renamed from openStuff; use
12684         Inset::open().
12685
12686 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
12687
12688         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12689
12690         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12691
12692 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
12693
12694         * buffer.C (readLyXformat2): Add filename to the error dialog
12695
12696 2001-07-18  Juergen Vigna  <jug@sad.it>
12697
12698         * tabular.C (GetCellNumber): put an assert here instead of the check!
12699
12700 2001-07-17  Juergen Vigna  <jug@sad.it>
12701
12702         * BufferView_pimpl.C (toggleSelection): adapted too.
12703
12704         * text.C (selectNextWord): adapted for use with insets.
12705         (selectSelectedWord): ditto
12706
12707 2001-07-17  Juergen Vigna  <jug@sad.it>
12708
12709         * sp_spell.C (PSpell): fix initialitation order.
12710
12711 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12712
12713         * paragraph.C: spacing
12714
12715 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
12716
12717         * sp_spell.C: repair language selection for pspell
12718
12719 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12720
12721         * lyxfunc.h: change more methods to begin with lower char.
12722
12723 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
12724
12725         * buffer.C (parseSingleLyXformat2Token): Generate error insets
12726         for unknown layouts.
12727
12728 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12729
12730         * buffer.C (readLyXformat2): Generate an error dialog if there are
12731         unknown layouts.
12732
12733 2001-07-16  Juergen Vigna  <jug@sad.it>
12734
12735         * sp_spell.C: always compile ISpell part.
12736
12737         * lyxrc.C: added use_pspell entry and it's handling.
12738
12739 2001-07-13  Juergen Vigna  <jug@sad.it>
12740
12741         * sp_spell.C: removed double includes.
12742
12743 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
12744
12745         Consistent use of Lsstream.h:
12746         * Lsstream.h: added using std::stringstream for consistencies sake.
12747
12748         * buffer.C: removed using std::stringstream
12749
12750         * lyxfont.C (stateText):
12751         * paragraph.C (asString):
12752         * text.C (selectNextWord, selectSelectedWord):
12753         * text2.C (setCounter):
12754         * vspace.C (asString, asLatexString):
12755         std::ostringstream -> ostringstream.
12756
12757 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12758
12759         * LyXAction.C: add LFUN_HELP_ABOUTLYX
12760         * commandtags.h: add LFUN_HELP_ABOUTLYX
12761         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12762
12763 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12764
12765         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12766         cursorToggle()
12767         * lyx_gui_misc.C: remove spellchecker
12768         * lyxfunc.C: showSpellchecker
12769         * sp_base.h: added
12770         * sp_ispell.h: added
12771         * sp_pspell.h: added
12772         * sp_spell.C: added
12773         * sp_form.[Ch]: removed
12774         * spellchecker.[Ch]: removed
12775
12776 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
12777
12778         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12779         is set.
12780         (simpleTeXSpecialChars): Simply print the input character without
12781         any special translation if pass_thru is set.
12782
12783         * layout.h: Added bool pass_thru to layout class for being able to
12784         implement pass through of a paragraph for Literate Programming.
12785
12786         * layout.C: add LT_PASS_THRU to LayoutTags enum.
12787         * layout.C (LyXLayout): set pass_thru to flase in constructor.
12788         * layout.C (Read): add "passthru" to list of layout tags and add
12789         code to set the pass_thru boolean when it is read.
12790
12791 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12792
12793         * trans_decl.h: remove allowed from KmodInfo
12794
12795         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12796         remove allowed code
12797         (Load): adjust
12798
12799         * paragraph_pimpl.C (erase): use boost::prior
12800
12801         * Painter.C (text): use data() instead of c_str() when length is
12802         also provided.
12803         * WorkArea.C (putClipboard): ditto
12804         * font.h (width): ditto
12805
12806         * BufferView2.C: use it-> instead of (*it). for iterators
12807         * texrow.C: ditto
12808         * paragraph_pimpl.C: ditto
12809         * paragraph.C: ditto
12810         * minibuffer.C: ditto
12811         * language.C: ditto
12812         * kbmap.C: ditto
12813         * encoding.C: ditto
12814         * counters.C: ditto
12815         * converter.C: ditto
12816         * chset.C: ditto
12817         * Variables.C: ditto
12818         * TextCache.C: ditto
12819         * MenuBackend.C: ditto
12820         * LyXAction.C: ditto
12821         * LColor.C: ditto
12822         * FloatList.C: ditto
12823         * DepTable.C: ditto
12824         * ColorHandler.C (LyXColorHandler): ditto
12825
12826 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12827
12828         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12829
12830         * text2.C (openStuff): reintroduce this method (which had been
12831         nuked in NEW_INSETS frenzy).
12832
12833         * lyxfunc.C (Dispatch): when an action has not been handled, use
12834         its name in the error message, not its number.
12835
12836         * paragraph.C (inInset): change method name to begin with lowercase.
12837
12838         * undo_funcs.C:
12839         * text2.C: updates because of this.
12840
12841 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12842
12843         * ToolbarDefaults.C (add): add spaces in error message
12844
12845 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12846
12847         * buffer.C (readLyXformat2): initialize the ert comp. variables.
12848         (readLyXformat2): rename return_par to first_par, use lyxlex's
12849         pushToken and remove the manual push handling.
12850         (parseSingleLyXformat2Token): add another ert comp. variable:
12851         in_tabular, rename return_par to first_par. handle newlines better
12852
12853 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12854
12855         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12856
12857 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12858
12859         * text2.C (getParFromID): removed
12860
12861         * buffer.C (getParFromID): new method moved form lyxtext.
12862         * BufferView2.C (insertErrors): adjust
12863         (setCursorFromRow): adjust
12864         * BufferView_pimpl.C (restorePosition): adjust
12865         * lyxfunc.C (Dispatch): adjust
12866         * undo_funcs.C (textUndo): adjust
12867         (textRedo): adjust
12868         (textHandleUndo): adjust
12869         (textHandleUndo): adjust
12870
12871 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12872
12873         * buffer.C: up' the LYX_FORMAT
12874
12875         * lyxfont.h: turn NO_LATEX on as default
12876
12877         * buffer.C (insertErtContents): new methods of tex style compability.
12878         (parseSingleLyXformat2Token): use it several places.
12879         * tabular.C (OldFormatRead): and here
12880
12881 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12882
12883         * text2.C: remove some commented code.
12884         reindent file.
12885
12886         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12887         * trans.C: changes because of the above.
12888
12889 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
12890
12891         * text2.C (setCounter): Fix counters bug with bibliography layout.
12892
12893 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12894
12895         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12896         own member functions
12897         (simpleTeXSpecialChars): ditto
12898
12899 2001-07-06  Juergen Vigna  <jug@sad.it>
12900
12901         * a lot of files: changed the access to LyXText::status and the
12902         call of undo-functions.
12903
12904         * undo.[Ch]: added a inset_id to the undo informations.
12905
12906         * undo_funcs.[Ch]: added and moved here all undo functions.
12907
12908         * lyxtext.h: give the status enum a weight, made status_ a private
12909         variable and made accessor functions for it, removed the whole bunch
12910         of undo-functions as they are now in their own file, make some
12911         functions publically available. Added function ownerParagraph with
12912         int parameter.
12913
12914         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12915         made InInset() a const function, added getParFromID() function.
12916
12917         * buffer.[Ch]: added const version for inset_iterator functions,
12918         added getInsetFromID() function.
12919
12920         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12921         changed undo functions for new version.
12922
12923 2001-07-05  Juergen Vigna  <jug@sad.it>
12924
12925         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12926         unknow mechanism does not call the proper constructor but only this
12927         one also if I request the other!?
12928
12929 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12930
12931         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12932
12933         * text2.C (LyXText): use initialization lists.
12934
12935         * lyxtext.h (Selection): initialize set_ and mark_
12936         (init): remove method
12937
12938 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12939
12940         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12941
12942 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12943
12944         * screen.[Ch]: change method names to begin with lowercase
12945
12946         * BufferView_pimpl.C (updateScrollbar): simplify further and
12947         hopefully make it a bit faster.
12948
12949 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12950
12951         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12952         calling directly xforms functions.
12953
12954         * Painter.C (Painter):
12955         * lyx_cb.C (MenuWrite):
12956         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12957         fl_display.
12958
12959         * lyx_gui.C: remove bogus guiruntime extern declaration.
12960
12961 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12962
12963         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12964         in NEW_INSETS
12965         (redoDrawingOfParagraph): ditto
12966         (redoParagraphs): ditto
12967         (cutSelection): don't create a object for CutAndPaste use the
12968         static method directly
12969         (pasteSelection): ditto
12970
12971         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12972         LyXview (+ rename)
12973
12974 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12975
12976         * modifications to some other files because of this.
12977
12978         * Makefile.am (lyx_SOURCES): add XFormsView
12979
12980         * XFormsView.[Ch]: new files
12981
12982         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12983         the main window. Move the gui dependent stuff to XFormsView
12984
12985 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12986
12987         * tabular.C (GetCellInset): update cur_cell also in the row/col
12988         version of this function.
12989
12990         * lyxfunc.C: no need to include figure_form.h here.
12991
12992         * FontLoader.h:
12993         * lyxfunc.h:
12994         * lyxscreen.h:
12995         * text2.C:
12996         * lyxvc.C: no need to include forms.h here.
12997
12998 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12999
13000         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13001
13002         * lyxfunc.C (Dispatch):
13003         * Spacing.C (set):
13004         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13005         constructor argument.
13006
13007 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13008
13009         * paragraph.C (Paragraph): dont't clear, and just set layout.
13010         (makeSameLayout): use params's copy contructor.
13011
13012         * ParagraphParameters.[Ch] (makeSame): delete method
13013
13014 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
13015
13016         * Variables.[Ch]: fix indentation, rename set to isSet
13017
13018 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13019
13020         * lyxfunc.C (Dispatch): fix typo
13021
13022 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13023
13024         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13025         upper_bound.
13026
13027         * bufferlist.C: include assert.h for emergencyWrite().
13028
13029 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13030
13031         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13032           give up at last (bug #425202) !
13033
13034 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
13035
13036         * lyx_gui_misc.C:
13037         * sp_form.h:
13038         * sp_form.C:
13039         * spellchecker.h:
13040         * spellchecker.C: strip spellchecker options and bring up
13041           preferences tab instead
13042
13043 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13044
13045         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13046         the istringstream constructor
13047
13048 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13049
13050         * paragraph.C (getLayout): fix return value
13051
13052         * paragraph.h: do not declare getLayout as inline.
13053
13054         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13055
13056 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13057
13058         * lyxcursor.h (operator<): new func
13059         (operator>): new func
13060         (operator>=): new func
13061         (operator<=): new func
13062
13063         * text.C (changeCase): use selection.start and selection.end
13064         (changeRegionCase): require from to be <= to. Require par to be a
13065         valid paragraph.
13066
13067         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13068
13069 2001-06-27  Juergen Vigna  <jug@sad.it>
13070
13071         * text.C (cursorLeftOneWord): changed to return the cursor and added
13072         overlay with BufferView * parameter which calls this one.
13073         (getWord): added
13074         (selectWord): use new getWord function.
13075         (changeCase): renamed from changeWordCase as and extended to work
13076         also on selections.
13077
13078         * lyxtext.h: added enum word_location
13079
13080         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13081         changeCase as this operates now also on selections.
13082
13083 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
13084
13085         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13086
13087         * many files: send debug output to Debug::INFO instead of
13088         Debug::ANY.
13089
13090         * converter.C (View):
13091         (Convert):
13092         (Move): send debug output to Debug::FILES instead of console.
13093
13094 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
13095
13096         * lyxfunc.C (getStatus): use func_status
13097
13098         * func_status.h: new header, describing the results of
13099         LyXFunc::getStatus;
13100
13101         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13102         LFUN_MATH_HALIGN.
13103
13104 2001-06-25  The LyX Project  <jug@sad.it>
13105
13106         * buffer.C (sgmlOpenTag):
13107         (sgmlCloseTag):
13108         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
13109
13110 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13111
13112         * text2.C: remove some dead code
13113
13114         * tabular.C (GetCellInset): store the last cell checked (gotten)
13115
13116         * tabular.h: add the helper for the speedup
13117
13118         * lyxtext.h: remove some dead code
13119
13120 2001-06-26  The LyX Project  <Asger>
13121
13122         * paragraph.C: Change export to LaTeX of alignment to
13123         \begin{center} and family for better roundtrip work with reLyX.
13124
13125         * Tune the math drawing a bit.
13126
13127 2001-06-25  The LyX Project  <Asger>
13128
13129         * LColor.C (LColor): New color for math background. New color
13130         for buttons.
13131
13132 2001-06-25  The LyX Project  <jug@sad.it>
13133
13134         * lyxfunc.C (MenuNew): remove extra check for .lyx file
13135
13136         * lyxfunc.C (Open):
13137         * bufferlist.C (newFile): do not restrict to files ending with
13138         .lyx
13139
13140         * BufferView_pimpl.C (MenuInsertLyXFile):
13141
13142 2001-06-24  The LyX Project  <jug@sad.it>
13143
13144         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13145         of compare_no_case
13146
13147 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13148
13149         * lyxtext.h: rename most methods to begin with a small char.
13150         Lots of changes because of this.
13151
13152         * paragraph.C (Paragraph): do not call fitToSize
13153         (erase): call Pimpl::erase
13154         (insertChar): call Pimpl::insertChar
13155         (insertInset): call Pipl::insertInset
13156         (breakParagraph): do not call fitToSize
13157         (breakParagraphConservative): do not call fitToSize
13158         (fitToSize): remove method
13159
13160         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13161
13162 2001-06-24  The LyX Project  <Asger>
13163
13164         * Fix Qt compilation^2
13165
13166 2001-06-24  The LyX Project  <jug@sad.it>
13167
13168         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13169         depthHook(getDepth()-1).
13170
13171         * paragraph.h:
13172         * ParagraphParameters.h:
13173         * ParameterStruct.h: change type of depth to unsigned int ==
13174         depth_type. Many adaptations to other files before of that.
13175
13176 2001-06-24  The LyX Project  <Asger>
13177
13178         * Fix Qt compilation.
13179
13180 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13181
13182         * paragraph.h: renamed several methods to begin with small letter.
13183         several changes to many parts of the code because of this.
13184
13185 2001-06-23  The LyX Project  <jug@sad.it>
13186
13187         * text2.C (InsertStringAsLines): renamed from InsertStringA;
13188         rewritten to discard all double spaces when KeepEmpty is off
13189         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13190         to only handle newlines but not fiddle with spaces and friends.
13191
13192         * lyxfunc.C (MenuNew): when doing 'new from template', use
13193         template_path as default directory
13194
13195 2001-06-23  The LyX Project  <Asger>
13196
13197         * Clean-up of header file includes all over
13198         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13199
13200 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13201
13202         * paragraph.h: renamed from lyxparagraph.h
13203
13204 2001-06-23  Asger  <lyx@violet.home.sad.it>
13205
13206         * Buffer.h: Removed Buffer::resize
13207         * BufferList.h: Removed BufferList::resize
13208         * LyXView.h: Added LyXView::resize. This way, we will only reflow
13209         the document lazily when we change the width, or the font settings.
13210
13211 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13212
13213         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13214
13215 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13216
13217         * buffer.h: remove out of date comment
13218
13219 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13220
13221         * lyxscreen.h:
13222         * screen.C: fix "theoretical" GC leak
13223
13224 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13225
13226         * LaTeX.C (scanAuxFile):
13227         (deplog): remove trailing \r when reading stream (useful under
13228         win32)
13229
13230 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
13231
13232         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13233         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13234         and BufferView::theLockingInset(Inset*), so should use them and not
13235         access bv_->text->the_locking_inset directly.
13236
13237         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13238
13239 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13240
13241         * Makefile.am:
13242         * tex-defs.h: remove old unused file
13243
13244 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
13245
13246         * BufferView_pimpl.C: fix typo, remove minibuffer message
13247           when buffer has loaded
13248
13249 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13250
13251         * lyxfunc.C (Dispatch): use stringstream
13252         (MenuNew): use stringstream
13253         (Open): use stringstream
13254
13255         * importer.C (Import): use stringstream
13256
13257         * bufferview_funcs.C (CurrentState): use stringstream
13258
13259         * LaTeX.C (run): use stringstream
13260
13261         * BufferView_pimpl.C (savePosition): use stringstream
13262         (restorePosition): use stringstream
13263         (MenuInsertLyXFile): use stringstream
13264
13265 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
13266
13267         * BufferView.C:
13268         * Bullet.C:
13269         * ColorHandler.C:
13270         * FontInfo.C:
13271         * FontLoader.C:
13272         * LColor.C:
13273         * LaTeXFeatures.C:
13274         * Painter.C:
13275         * gettext.C:
13276         * lyx_gui_misc.C:
13277         * lyxserver.C:
13278         * vspace.C: removed // -*- C++ -*- as first line.
13279
13280         * lyxfind.h:
13281         * version.h: added // -*- C++ -*- as first line.
13282
13283 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13284
13285         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13286
13287         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13288         of string
13289
13290 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13291
13292         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13293         of floats.
13294
13295 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13296
13297         * gettext.C: include LString.h even when --disable-nls is on.
13298
13299 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
13300
13301         * converter.h (Get): changed argument type from int to
13302         FormatList::size_type to avoid unnecessary conversion.
13303
13304         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13305         before using it.
13306
13307 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13308
13309         * gettext.h: include LString.h even when --disable-nls is on.
13310
13311 2001-06-07  Juergen Vigna  <jug@sad.it>
13312
13313         * text.C (BreakAgain): subst spaces with tabs.
13314
13315         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13316         (resizeInsetsLyXText): set force on resizeLyXText.
13317
13318 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13319
13320         * gettext.h (gettext_init):
13321         (locale_init): use a real definition instead of a macro
13322
13323 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13324
13325         * Bufferview_pimpl.C:
13326         * LColor.h:
13327         * LColor.C: further lcolor tidies
13328
13329 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13330
13331         * BufferView_pimpl.C (updateScrollbar): simplify.
13332
13333         * BufferView2.C: don't include insets/insetinfo.h, change
13334         prototype for insertInset and call the Pimpl version. let
13335         updateInset call Pimpl version.
13336
13337         * BufferView.h: move inset_slept to BufferView::Pimpl, move
13338         gotoInset to BufferView::Pimpl
13339
13340 2001-06-01  Juergen Vigna  <jug@sad.it>
13341
13342         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13343         inside a LockingInset (is the update needed at all?).
13344
13345 2001-05-31  Juergen Vigna  <jug@sad.it>
13346
13347         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13348         here not the old one otherwise how should we compare it afterwards
13349         if it's the same!
13350
13351 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13352
13353         * lyxfont.C:
13354         * tabular.C:
13355         * tabular-old.C:
13356         * FontInfo.C: bring C functions into global namespace when
13357         necessary
13358
13359 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13360
13361         * LString.h: make sure config.h has been loaded before LString.h.
13362
13363         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13364         (one for each char read by EatLine!).
13365
13366         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13367         variables.
13368
13369 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13370
13371         * paragraph.C (BreakParagraph): set the inset_owner in the new par
13372         to the same as the par we break from
13373
13374 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13375
13376         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13377
13378         * MenuBackend.C (expand): also create menu entries for wide
13379         versions of the floats.
13380
13381         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13382
13383         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13384
13385         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13386         frontends/Makefile.am
13387
13388         * text2.C: adjust
13389         * text.C: adjust
13390
13391
13392         * tabular.C (getTokenValue): add std::
13393
13394         * tabular-old.C (getTokenValue): add std::
13395         (getTokenValue): ditto
13396         (getTokenValue): ditto
13397
13398         * screen.C (ToggleSelection): adjust
13399
13400         * lyxtext.h: put selection cursors inside a Selection struct.
13401
13402         * lyxfunc.C (moveCursorUpdate): adjust
13403
13404         * lyxfont.C (latexWriteStartChanges): add std::
13405
13406         * lyxfind.C: adjust
13407
13408         * font.h: delete with(char const *, LyXFont const &)
13409
13410         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13411
13412         * FontInfo.C (getFontname): add std::
13413
13414         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13415         (workAreaButtonPress): adjust
13416         (tripleClick): adjust
13417         (update): adjust
13418         (moveCursorUpdate): adjust
13419         (Dispatch): adjust
13420
13421         * BufferView2.C (gotoInset): adjust
13422
13423 2001-05-30  Juergen Vigna  <jug@sad.it>
13424
13425         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13426         to check pspell I add this as default as I now have new pspell
13427         libraries and they seem to use this.
13428
13429 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13430
13431         * text2.C (CutSelection): make the cursor valid before the call to
13432         ClearSelection.
13433
13434 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13435
13436         * kbsequence.C (parse): de-uglify a bit the parsing code, which
13437         relied on 0 terminated strings and other horrors. Bug found due to
13438         the new assert in lyxstring!
13439
13440         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13441         KP_ keys.
13442
13443 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13444
13445         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13446         to latinkeys.bind.
13447
13448         * lyxfunc.C (processKeySym): change method of getting to the
13449         self-insert char.
13450
13451         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13452         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13453         * BufferView_pimpl.[Ch]: here as private methods.
13454
13455 2001-05-28  Juergen Vigna  <jug@sad.it>
13456
13457         * text.C (SetHeightOfRow): added the update() call again as it is
13458         needed to initialize inset dimensions!
13459
13460 2001-05-16  Juergen Vigna  <jug@sad.it>
13461
13462         * text2.C (SetCharFont): Add new function with BufferView * and
13463         bool toggleall parameters for setting insets internal fonts.
13464         (SetFont): Freeze the undo as we may change fonts in Insets and
13465         all this change should be inside only one Undo!
13466
13467         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13468         setting font's in insets as for them we have the SetFont function!
13469
13470 2001-05-15  Juergen Vigna  <jug@sad.it>
13471
13472         * text2.C (ClearSelection): to be sure we REALLY don't have any
13473         selection anymore!
13474
13475         * tabular.C (TeXCellPreamble): fixed the left border problem for
13476         multicolumn cells.
13477
13478 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
13479
13480         * LaTeX.C (deplog): Make sure that the main .tex file is in the
13481         dependancy file
13482
13483 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13484
13485         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13486         LFUN_BREAKPARAGRAPH.
13487
13488         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13489         help test to "internal only", similar for LFUN_INSERT_URL
13490
13491         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13492         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13493         auto_region_delete and deadkeys.
13494
13495 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
13496
13497         * LColor.h:
13498         * LColor.C: remove some dead entries, tidy a little
13499
13500 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13501
13502         * lyxfunc.C (processKeySym): comment the Escape handling, remove
13503         commented code.
13504         (Dispatch): implement LFUN_ESCAPE
13505
13506         * commandtags.h: add LFUN_ESCAPE
13507
13508         * LyXAction.C (init): add entry for LFUN_ESCAPE
13509
13510         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13511         Remove commented code.
13512         (insertNote): moved here
13513         (open_new_inset): moved here
13514
13515         * BufferView[2].[Ch]: move insertNote and open_new_inset to
13516         BufferView_pimpl
13517
13518 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13519
13520         * kbmap.C (findbinding): clean it up and make it work correctly.
13521
13522         * lyx_main.C (init): do not pass argc and argv as parameters
13523
13524 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
13525
13526         * buffer.C: fix path for OS/2 & Win32
13527
13528         * lyx_gui.C:
13529         * lyx_main:
13530         * lyx_main.C: Added os:: class.
13531
13532         * os2_defines.h: update
13533
13534 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13535
13536         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13537         better by trying again with reduced state.
13538
13539 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13540
13541         * lyxrc.C (read): print error about invalid key sequence only when
13542         debugging (because not all latinX keysyms are known to some X
13543         servers)
13544
13545         * kbsequence.C (getiso): add a few std:: qualifiers
13546         (getiso): comment out extra return statement.
13547
13548 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13549
13550         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13551         handling.
13552         (Dispatch): enhance the accent inset a bit. (not perfect)
13553
13554 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13555
13556         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13557
13558 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13559
13560         * bufferlist.C (emergencyWrite): fix assert() call
13561
13562 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
13563
13564         * text.C (InsertChar): Added trivial patch to only send the "you
13565         can not do multiple spaces this way" message once during a
13566         session.
13567
13568 2001-05-08  Baruch Even  <baruch@lyx.org>
13569
13570         * Makefile.am: Changed order of libraries to get LyX to link properly
13571         with the gnome frontend.
13572
13573 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13574
13575         * LaTeXFeatures.h: add a std:: qualifier
13576
13577 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13578
13579         * paragraph.C (String): use stringstream
13580
13581 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13582
13583         * paragraph.C (writeFile): remove footflag arg
13584
13585         * buffer.C (makeLaTeXFile): use stringstream
13586         (latexParagraphs): remove footnot gurba
13587
13588         * LaTeXFeatures.C (getPackages): use stringstream
13589         (getMacros): likewise
13590         (getTClassPreamble): likewise
13591         (getFloatDefinitions): new method
13592
13593         * paragraph.C (writeFile): reindent
13594         (Erase): reindent
13595
13596         * WorkArea.h: revert the xpos + etc changes.
13597
13598         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13599
13600         * lyxparagraph.[Ch]: add copy constructor, remove Clone
13601
13602         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13603         (pasteSelection): likewise
13604         * text2.C (CreateUndo): likewise
13605
13606 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13607
13608         * minibuffer.C (peek_event): temporarily reduce the functionality
13609         of the minibuffer (to allow args on lfuns)
13610
13611         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13612         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13613
13614         * buffer.C (readInset): add compability reading of old float
13615         lists, add reading of new style float list.
13616         (readInset): avoid reevaluation of inscmd.getCmdName()
13617         (getLists): reindent
13618
13619         * MenuBackend.C (MenuItem): implement parsing of
13620         md_floatlistinsert and md_floatinsert.
13621         (expand::LastFiles): move initalizaton of iterators out of loop,
13622         avoid reevaluation.
13623         (expand::Documents): introduce typdedef vector<string> Strings,
13624         and use it.
13625         (expand::ExportFormats): introduce typedef vector<Format const *>
13626         Formats, and use it.
13627         (expand): implement FloatListInsert and FloatInsert.
13628
13629         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13630         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13631         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13632
13633         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13634         handling.
13635         (Dispatch::LFUN_FLOAT_LIST): implement
13636
13637 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13638
13639         * LaTeX.C (run): Fix problem with --export code.
13640
13641 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13642
13643         * BufferView.[Ch] (workarea): removed.
13644         (getClipboard) new method; wrapper for workarea()->getClipboard()
13645
13646         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13647         bug.
13648
13649         * WorkArea.h (width, height, xpos, ypos): These methods all
13650         returned the dimensions of the work_area sub-area of WorkArea,
13651         resulting in a position error if the WorkArea were resized. Now
13652         return the dimensions of the entire WorkArea.
13653
13654         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13655
13656 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13657
13658         * LaTeX.C (deplog): correct the syntax of regex reg1
13659
13660 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13661
13662         * undo.C: remove !NEW_INSETS cruft
13663
13664 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13665
13666         * text2.C: remove !NEW_INSETS cruft
13667
13668         * text.C: remove !NEW_INSETS cruft
13669
13670         * tabular.C: remove !NEW_INSETS cruft
13671
13672         * spellchecker.C: remove !NEW_INSETS cruft
13673
13674         * lyxtext.h: remove !NEW_INSETS cruft
13675
13676         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13677
13678         * lyxfunc.C: remove !NEW_INSETS cruft
13679
13680         * lyxfind.C: remove !NEW_INSETS cruft
13681
13682         * lyx_cb.C: remove !NEW_INSETS cruft
13683
13684         * figureForm.C: remove  !NEW_INSETS cruft
13685
13686         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13687
13688         * buffer.[Ch]: remove !NEW_INSETS cruft
13689
13690         * ToolbarDefaults.C: remove !NEW_INSETS cruft
13691
13692         * CutAndPaste.C: remove !NEW_INSETS cruft
13693
13694         * BufferView_pimpl.C: remove !NEW_INSETS cruft
13695
13696         * BufferView2.C: remove !NEW_INSETS cruft
13697
13698         * BufferView.h: remove !NEW_INSETS cruft
13699
13700 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13701
13702         * Lsstream.h: include LString.h before the sstream headers to
13703         fix problem with gcc 2.95.3 and lyxstring
13704
13705 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13706
13707         * lyx_main.C: add using directives when needed for C functions
13708         declared in std:: namespace.
13709
13710 2001-04-27  Juergen Vigna  <jug@sad.it>
13711
13712         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13713         (SetHeightOfRow): comment out the update call should not be needed!
13714
13715 2001-04-13  Juergen Vigna  <jug@sad.it>
13716
13717         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13718         (LyXTabular): tried to minimize operator= operations (and realized
13719         hopfully Lars wish).
13720
13721 2001-04-27  Juergen Vigna  <jug@sad.it>
13722
13723         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13724
13725 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13726
13727         * lyxfunc.C (Dispatch): hack to make listof algorithm work
13728
13729         * buffer.C (readInset): hack to make listof algorithm work
13730
13731         * BufferView_pimpl.C: hack to make listof algorithm work
13732
13733 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13734
13735         * LyXAction.C: removed all !NEW_INSETS cruft
13736         (init): moved lfun_item in method
13737
13738         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13739
13740 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13741
13742         * BufferView2.C (theLockingInset): white space.
13743
13744 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13745
13746         * minibuffer.C: include <iostream>
13747
13748         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13749
13750         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13751
13752         * commandtags.h: add LFUN_TRANSPOSE_CHARS
13753
13754         * text.[Ch] (TransposeChars): new method
13755
13756 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13757
13758         * call message directly through LyXView instead of through LyXFunc
13759         * BufferView2.C: adjust
13760         * BufferView_pimpl.C: adjust
13761         * FontLoader.C: adjust
13762         * buffer.C: adjust
13763         * bufferview_funcs.C: adjust
13764         * converter.C: adjust
13765         * figureForm.C: adjust
13766         * importer.C: adjust
13767         * lyx_cb.C: adjust
13768         * lyx_gui_misc.C: adjust
13769         * lyxfunc.C: adjust
13770         * lyxvc.C: adjust
13771         * text2.C: adjust
13772         + more files in subdirs
13773
13774         * lyxparagraph.h (size): move up int file
13775         (GetLayout): ditto
13776
13777         * adjust all uses of Assert to lyx::Assert.
13778
13779         * BufferView2.C (ChangeCitationsIfUnique): adjust for
13780         lyxfunctional in namespace lyx
13781         * layout.C (hasLayout): ditto
13782         (GetLayout): ditto
13783         (GetLayout): ditto
13784         (delete_layout): ditto
13785         (NumberOfClass): ditto
13786         * converter.C (GetFormat): ditto
13787         (GetNumber): ditto
13788         (Add): ditto
13789         (Delete): ditto
13790         (SetViewer): ditto
13791         * bufferlist.C (getFileNames): ditto
13792         (emergencyWriteAll): ditto
13793         (exists): ditto
13794         (getBuffer): ditto
13795         * MenuBackend.C (hasSubmenu): ditto
13796         (hasMenu): ditto
13797         (getMenu): ditto
13798         * BufferView_pimpl.C (getInsetByCode): ditto
13799
13800 2001-04-18  Juergen Vigna  <jug@sad.it>
13801
13802         * vspace.C (asLatexString): fixed the 100% problem.
13803
13804 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13805
13806         * lyxfunc.C (Dispatch):
13807         * minibuffer.C:
13808         * minibuffer.h: add a few std:: qualifiers
13809
13810 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13811
13812         * minibuffer.[Ch]: reimplement so that commands is initiated and
13813         run from lyxfunc, simplified som handling, and made the completion
13814         and history code for complete. wip.
13815
13816         * lyxfunc.C (processKeySym): call message
13817         (miniDispatch): new temporary method
13818         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13819         (LFUN_MESSAGE): implement
13820         (LFUN_MESSAGE_PUSH): implement
13821         (LFUN_MESSAGE_POP): implement
13822         (initMiniBuffer): the initial/defualt minibuffer message.
13823
13824         * lyxfont.[Ch]: inline some more getters
13825
13826         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13827
13828         * lyx_gui_misc.[Ch] (WriteStatus): remove method
13829
13830         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13831         (AutoSave): use LFUN_MESSAGE
13832         (Reconfigure): ditto
13833
13834         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13835
13836         * figureForm.C: use LFUN_MESSAGE
13837
13838         * converter.C (runLaTeX): use LFUN_MESSAGE
13839
13840         * bufferview_funcs.C: use LFUN_MESSAGE
13841         (Melt): ditto
13842         (changeDepth): ditto
13843
13844         * bufferparams.h: use boost::
13845
13846         * bufferlist.h: inherit privately from noncopyable
13847
13848         * bufferlist.C (loadLyXFile): remove some commented code.
13849
13850         * buffer.C (runChktex): use LFUN_MESSAGE
13851
13852         * ShareContainer.h: inherit privately from noncopyable
13853
13854         * ParagraphParameters.[hC] (depth): inline it.
13855
13856         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13857         methods.
13858         (message): new method
13859         (messagePush): ditto
13860         (messagePop): ditto
13861         (show): init minibuffer
13862         (showState): direct call
13863
13864         * LaTeX.[Ch]: inherit privately from noncopyable
13865         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13866         instead of WriteStatus.
13867
13868         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13869
13870         * BufferView_pimpl.C (buffer): don't init minibuffer
13871         (workAreaButtonPress): use LFUN_MESSAGE
13872         (workAreaButtonRelease): ditto
13873         (savePosition): ditto
13874         (restorePosition): ditto
13875         (MenuInsertLyXFile): ditto
13876         (workAreaExpose): don't init minibuffer
13877         (update): remove commented code, simplify
13878
13879         * BufferView2.C (openStuff): use LFUN_MESSAGE
13880         (toggleFloat): ditto
13881         (menuUndo): ditto
13882         (menuRedo): ditto
13883         (copyEnvironment): ditto
13884         (pasteEnvironment): ditto
13885         (copy): ditto
13886         (cut): ditto
13887         (paste): ditto
13888         (gotoInset): ditto
13889         (updateInset): remove some commented code
13890
13891         * lastfiles.h: inherit privately from noncopyable
13892         * layout.h: ditto
13893         * lyx_gui.h: ditto
13894         * lyx_main.h: ditto
13895         * lyxlex.h: ditto
13896         * lyxlex_pimpl.h: ditto
13897
13898         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13899         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13900         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13901
13902         * LyXAction.h: inherit privately from noncopyable, add methods
13903         func_begin, func_end, returning iterators to the func map.
13904
13905         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13906         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13907         (func_begin): new method
13908         (func_end): new method
13909
13910         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13911         and not)
13912         (copySelection): ditto
13913         (pasteSelection): ditto
13914
13915         * BufferView.C: whitespace change
13916         * BufferView.h: inherit privately from noncopyable
13917
13918 2001-04-16  Allan Rae  <rae@lyx.org>
13919
13920         * tabular-old.C (l_getline):
13921         * spellchecker.C (sc_check_word):
13922         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13923         an unrecognised preprocessor directive.  So ensure they're wrapped.
13924
13925 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13926
13927         * src/exporter.C (Export): Give an error message when path to file
13928         contains spaces.
13929
13930 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13931
13932         * LaTeX.C (deplog): Always check that foundfile exists.
13933
13934 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13935
13936         * lyx_main.h:
13937         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13938
13939 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13940
13941         * tabular.[Ch] (getLabelList): implement new method
13942
13943         * minibuffer.h: comment ouf setTiimer
13944
13945         * minibuffer.C (ExecutingCB): constify res
13946         (peek_event): constify s
13947         (Set): constify ntext
13948         (Init): constify nicename
13949
13950         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13951
13952         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13953         (savePosition): use two params to Minibuffer::Set
13954         (restorePosition): ditto
13955
13956 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13957
13958         * lyx_main.C: include language.h
13959
13960         * Makefile.am (lyx_main.o): add language.h
13961
13962 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13963
13964         * exporter.C:
13965         * paragraph.C:
13966         * screen.C:
13967         * tabular.C:
13968         * CutAndPaste.C: include gettext.h
13969
13970         * lyxfont.h: remove old hack with ON and OFF.
13971
13972         * lyxparagraph.h:
13973         * lyxfont.h: do not include language.h...
13974
13975         * BufferView2.C:
13976         * LaTeXFeatures.C:
13977         * Painter.C:
13978         * bufferview_funcs.C:
13979         * font.C:
13980         * lyxfont.C:
13981         * text.C:
13982         * text2.C:
13983         * trans_mgr.C:
13984         * paragraph.C: ... but do it here instead
13985
13986 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13987
13988         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13989
13990         * tabular.C: small reformat
13991
13992         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13993         NEW_INSETS version
13994         (GetChar): ditto
13995         (BreakParagraph): ditto
13996         (SetOnlyLayout): ditto
13997         (SetLayout): ditto
13998
13999         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14000         with one arg less.
14001
14002         * lastfiles.C: removed most using decl, add std:: where needed
14003
14004         * buffer.C: ws changes
14005
14006         * MenuBackend.C (class compare_format): put into anon namespace
14007         (expand): constify label, names, action, action2
14008         (expand):
14009
14010         * text.C (SingleWidth): constify font
14011         (IsBoundary): constify rtl2
14012         (GetVisibleRow): constify ww
14013
14014         * LaTeX.C (deplog): constify logfile
14015
14016         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14017         start_x, end_x
14018         (workAreaExpose): constify widthChange, heightChange
14019
14020         * lyxrow.C (par): moved
14021         (height): moved
14022         (next): moved
14023         * lyxrow.h: as inlines here
14024
14025         * lyxfont.h (shape): moved from lyxfont.C
14026         (emph): moved from lyxfont.C
14027
14028         * lyxfont.C (LyXFont): use initialization list for all
14029         constructors
14030         (shape): move to lyxfont.h as inline
14031         (emph): move to lyxfont.h as inline
14032
14033
14034 2001-04-04  Juergen Vigna  <jug@sad.it>
14035
14036         * vspace.C: had to include stdio.h for use of sscanf
14037
14038 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
14039
14040         * BufferView.h:
14041         * BufferView_pimpl.h: remove xforms cruft. Both classes are
14042         independent of xforms.
14043
14044 2001-04-02  Juergen Vigna  <jug@sad.it>
14045
14046         * spellchecker.C: fixed namespace placing!
14047
14048 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
14049
14050         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14051         the LyXParagraph * is 0.
14052
14053 2001-03-29  Juergen Vigna  <jug@sad.it>
14054
14055         * vspace.C: added support for %, c%, p%, l%.
14056         (stringFromUnit): added helper function.
14057         (asLatexString): changed to give right results for the %-values.
14058
14059         * buffer.C: convert the widthp in a width%.
14060
14061 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
14062
14063         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14064         figureForm.[Ch].
14065
14066         * figureForm.[Ch]: stripped the FD_from_figure manipulation
14067         code out of lux_cb.[Ch], ready for its (imminent?) removal.
14068
14069         * lyx_cb.[Ch]: see above.
14070
14071         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14072         form1.[Ch].
14073
14074         * form1.[Ch]:
14075         * lyx.[Ch]: replaced by figure_form.[Ch].
14076
14077         * lyx_gui.C:
14078         * lyx_gui_misc.C:
14079         * lyxfunc.C: changed headers associated with above changes.
14080
14081 2001-03-27  Juergen Vigna  <jug@sad.it>
14082
14083         * BufferView_pimpl.C: set the temporary cursor right!
14084
14085 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
14086
14087         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14088
14089 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
14090
14091         * LString.h: removed "using std::getline"!
14092
14093         * BufferView_pimpl.C (Dispatch): changes due to changes in
14094         InsetInclude::Params.
14095
14096         * buffer.C (tag_name): removed redundant break statements as they were
14097         producing lots of warnings with my compiler.
14098
14099 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14100
14101         * LString.h: add "using std::getline" when using the real <string>.
14102
14103 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
14104
14105         * buffer.C: removed bitset usage.
14106         PAR_TAG moved to an anonymous name space.
14107         (tag_name): new funtion, also in the anonymous namespace.
14108         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14109         (makeDocBookFile): clean code. Completed transition from string arrays
14110         to string vectors.
14111         (SimpleDocBookOnePar): code clean.
14112
14113 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14114
14115         * tabular.C: add some comments.
14116
14117 2001-03-22  Juergen Vigna  <jug@sad.it>
14118
14119         * buffer.C (parseSingleLyXformat2Token): redone the minipage
14120         compatibility read a bit and fixed bug with minipage in different
14121         depth.
14122
14123 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
14124
14125         * buffer.C (pop_tag): removed.
14126         (push_tag): removed.
14127         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14128         array replaced with vector. Added support for CDATA sections.
14129         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14130         at any nest level.
14131         (makeDocBookFile): XML conformant declaration of CDATA section,
14132         fixed bug related to <emphasis> in the first paragraph char.
14133         (sgmlOpenTag): exclude empty tags.
14134         (sgmlCloseTag): ditto.
14135
14136         * buffer.h (pop_tag): removed.
14137         (push_tag): removed.
14138
14139 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
14140
14141         * language.h (Languages): added size_type and size().
14142
14143 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14144
14145         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14146         response on compability reading of minipages. One probliem is that
14147         the old usage of minipages was «flertydig»
14148
14149         * several files here and in subdirs: don't use static at file
14150         scope use anon namespaces instead.
14151
14152 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
14153
14154         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14155         LaTeX output. This is necessary for Literate document
14156         processing.
14157
14158 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14159
14160         * buffer.C: insert hfill when needed.
14161
14162         * tabular.C (l_getline): use string::erase, small whitespace change.
14163
14164         * BufferView_pimpl.C: try the anon namespace.
14165         * WorkArea.C: ditto
14166
14167 2001-03-16  Juergen Vigna  <jug@sad.it>
14168
14169         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14170         otherwise it won't open options-dialogs.
14171
14172         * buffer.C: honor pextraWidth(p) on converting minipages.
14173
14174         * tabular.C (l_getline): changed the functions to strip trailing \r.
14175
14176 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
14177
14178         * BufferView_pimpl.C:
14179         * minibuffer..C: added "using SigC::slot" declaration.
14180
14181 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14182
14183         * lyxlex_pimpl.h: noncopyable is in namespace boost.
14184
14185         * text2.C: ditto
14186
14187         * text.C: ditto
14188
14189         * paragraph.C: ditto
14190
14191         * lyxtext.h: NO_PEXTRA
14192
14193         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14194
14195         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14196         * ParameterStruct.h: ditto
14197         * ParagraphParameters.h: ditto
14198         * lyxparagraph.h: ditto
14199
14200 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14201
14202         * buffer.C: add compability for minipage alignment.
14203         (latexParagraphs): remove unwanted pextra check.
14204
14205         * several files: remove CXX_WORKING_NAMESPACES
14206
14207         * buffer.C (pop_tag): tie is in namespace boost
14208
14209         * BufferView.h: noncopyable is in namespace boost
14210         * lyxlex.h: ditto
14211         * lyx_main.h: ditto
14212         * lyx_gui.h: ditto
14213         * layout.h: ditto
14214         * lastfiles.h: ditto
14215         * bufferlist.h: ditto
14216         * ShareContainer.h: ditto
14217         * LyXView.h: ditto
14218         * LyXAction.h: ditto
14219         * LaTeX.h: ditto
14220
14221 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14222
14223         * Merging changes from BRANCH_MVC back into HEAD.
14224
14225         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14226
14227 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
14228
14229         * BufferView_pimpl.C: change from intl.C
14230
14231         * combox.h:
14232         * combox.C:
14233         * Makefile.am: move combox.*
14234
14235         * form1.h:
14236         * form1.C:
14237         * lyx_gui.C:
14238         * intl.h:
14239         * intl.C: remove dialog (covered by prefs)
14240
14241 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14242
14243         * lyxfunc.C (Dispatch): removed redundant break statement.
14244
14245 2001-03-14  Juergen Vigna  <jug@sad.it>
14246
14247         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14248
14249 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14250
14251         * buffer.C: add hack to fix compability reading of minipages.
14252
14253 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
14254
14255         * buffer.C (getLists): Cleanup.
14256
14257 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14258
14259         * lyxfont.C (update): don't honor toggleall on font size.
14260
14261 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
14262
14263         * bmtable.c:
14264         * bmtable.h:
14265         * Makefile.am: moved to frontends/xforms/
14266
14267         * lyx_gui_misc.C:
14268         * lyxfunc.C:
14269         * BufferView_pimpl.C: changes for moved mathpanel
14270
14271 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14272
14273         * gettext.h: fix gettext_init() in --disable-nls
14274
14275 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14276
14277         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14278
14279 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
14280
14281         * lyx.C:
14282         * lyx.h: strip external form
14283
14284 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14285
14286         * BufferView_pimpl.C: add comment, destroySplash()
14287
14288 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14289
14290         * BufferView_pimpl.C:
14291         * LyXAction.C:
14292         * buffer.C:
14293         * commandtags.h:
14294         * lyxfunc.C: use re-worked insetinclude
14295
14296 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14297
14298         * buffer.C: add using std::stringstream.
14299
14300         * lyx_cb.C: readd using std::ios.
14301
14302         * buffer.C: add using std::map.
14303
14304         * BufferView_pimpl.C: add using std::vector.
14305
14306         * ShareContainer.h: add std:: to swap.
14307
14308         * buffer.h: add some typedefs
14309         * buffer.C (getLists): use them
14310         (getLists): renamed from getTocList.
14311         add a counter for the different float types and use it in the
14312         generated string.
14313         (getLists): use the same counter for the NEW_INSETS and the "non"
14314         NEW_INSETS
14315
14316         * lyx_cb.h: remove unused items, includes, using etc.
14317
14318         * ShareContainer.h: remove some commented code, add more comments
14319         and "documentation".
14320
14321 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14322
14323         * buffer.C (getTocList): make the list also when NEW_INSETS is
14324         defined.
14325
14326         * buffer.h: remove TocType
14327
14328         * buffer.C (getTocList): change to return a map<string,
14329         vector<TocItem> >, implement for dynamic number of list.
14330
14331         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14332         * text2.C (PasteSelection): adjust
14333         * CutAndPaste.C (pasteSelection): adjust
14334
14335         * FloatList.C (FloatList): update from the new_insets branch.
14336         * Floating.[Ch]: ditto
14337         * LaTeXFeatures.C: ditto
14338         * buffer.C: ditto
14339         * lyxlex_pimpl.C: ditto
14340
14341         * paragraph.C (Last): remove when NEW_INSETS is defined.
14342
14343         * other file: changes because of the above.
14344
14345 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14346
14347         * lyxparagraph.h: rename next to next_, previous to previous_,
14348         make them private for NEW_INSETS. Rename Next() to next(),
14349         Previous() to previous().
14350
14351         * other files: changes because of the above.
14352
14353 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
14354
14355         * BufferView.h:
14356         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14357         problem.
14358
14359 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14360
14361         * main.C (main): pass lyx_localedir to gettext_init().
14362
14363         * gettext.h: remove locale_init and gettext_init macros
14364
14365         * gettext.C (locale_init): new function
14366         (gettext_init): new function
14367
14368         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14369         setlocale().
14370
14371 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
14372
14373         * Moved credits to frontends:
14374         * credits.[Ch]: removed
14375         * credits_form.[Ch]: removed
14376         * lyx_gui_misc.C: remove credits stuff
14377         * Makefile.am:
14378
14379 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14380
14381         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14382
14383         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14384         unneeded destructor.
14385
14386         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14387         a standalone pointer again.
14388
14389         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14390
14391 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
14392
14393         * Makefile.am:
14394         * filedlg.h:
14395         * filedlg.C:
14396         * LyXAction.C:
14397         * ToolbarDefaults.C:
14398         * bufferlist.C:
14399         * commandtags.h:
14400         * form1.C:
14401         * form1.h:
14402         * lyx_cb.C:
14403         * lyx_cb.h:
14404         * lyxfunc.h:
14405         * lyxfunc.C:
14406         * BufferView_pimpl.C: use new file dialog in GUII
14407
14408         * lyx_cb.h:
14409         * lyx_cb.C: remove LayoutsCB to Toolbar
14410
14411 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14412
14413         * ShareContainer.h (get): add std:: qualifier
14414
14415 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14416
14417         * ShareContainer.h: define a proper ShareContainer::value_type
14418         type (and use typename to please compaq cxx)
14419
14420 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14421
14422         * lyxparagraph.h: move serveral local vars to
14423         ParameterStruct/ParagraphParameters., use ShareContainer in
14424         FontTable., make vars in FontTable private and add getter and
14425         setter.
14426
14427         * paragraph.C: changes because of the above.
14428
14429         * lyxfont.h: remove copy constructor and copy assignment. (the
14430         default ones is ok), move number inside FontBits. move inlines to
14431         lyxfont.C
14432
14433         * lyxfont.C: add number to initializaton of statics, move several
14434         inlines here. constify several local vars. some whitespace
14435         cleanup. Dont hide outerscope variables.
14436
14437         * Spacing.h: add two new constructors to match the set methods.
14438
14439         * ShareContainer.h: new file, will perhaps be moved to support
14440
14441         * ParameterStruct.h: new file
14442
14443         * ParagraphParameters.h: new file
14444
14445         * ParagraphParameters.C: new file
14446
14447         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14448         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14449
14450         * BufferView_pimpl.C: ParagraphParameter changes.
14451         * buffer.C: Likewise.
14452         * bufferview_funcs.C: Likewise.
14453         * text.C: Likewise.
14454         * text2.C: Likewise.
14455
14456 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14457
14458         * lyxfind.C (LyXReplace): do not redefine default argument in
14459         implementation.
14460         (IsStringInText): ditto
14461         (SearchForward): ditto
14462         (SearchBackward): ditto
14463
14464 2001-03-06  Juergen Vigna  <jug@sad.it>
14465
14466         * lyxfind.C (IsStringInText): put parentes around expressions.
14467
14468 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
14469
14470         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14471
14472 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
14473
14474         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14475
14476         * stl_string_fwd.h: add comment
14477
14478         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14479
14480         * tabular.h:
14481         * tabular.C: remove unused DocBook methods
14482
14483         * intl.C:
14484         * language.C:
14485         * paragraph.C:
14486         * buffer.C:
14487         killed DO_USE_DEFAULT_LANGUAGE
14488
14489 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14490
14491         * lyx_gui.C: do not include language.h.
14492
14493         * bufferview_funcs.C (ToggleAndShow): do not provide optional
14494         arguments in function implementation.
14495
14496 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14497
14498         * BufferView_pimpl.C: add <ctime>
14499
14500 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14501
14502         * BufferView_pimpl.C: add using std::find_if
14503
14504 2001-02-27  José Matos  <jamatos@fep.up.pt>
14505
14506         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14507         by OnlyPath.
14508
14509 2001-02-11  José Matos  <jamatos@fep.up.pt>
14510
14511         * buffer.C (makeDocBookFile): command styles now have a parameter as
14512         "title" by default.
14513
14514 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
14515
14516         * layout_forms.[Ch]: removed
14517         * lyx_cb.[Ch]: out character
14518         * lyx_gui.C: out character
14519         * lyx_gui_misc.C: out character
14520         * bufferview_funcs.C: : out character,
14521         added toggleall as parameter in ToggleAndShow
14522
14523 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
14524
14525         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14526
14527         * text2.C (SetCurrentFont): Disable number property at boundary.
14528
14529 2001-02-26  Juergen Vigna  <jug@sad.it>
14530
14531         * lyxfunc.C (getStatus): added a string argument override function so
14532         that this is correctly called from LyXFunc::Dispatch if it contains a
14533         do_not_use_argument which is used!
14534         (Dispatch): added check for "custom" export and call appropriate func.
14535
14536 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
14537
14538         * lyxrc.C: Add language_command_local, language_use_babel and
14539         language_global_options.
14540
14541         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14542
14543         * buffer.C (makeLaTeXFile): Use language_use_babel and
14544         language_global_options.
14545
14546 2001-02-23  Juergen Vigna  <jug@sad.it>
14547
14548         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14549         which works with LyXText and putted it inside BufferView. Here now we
14550         only call for that part the BufferView::Dispatch() function.
14551
14552         * BufferView.C (Dispatch): added.
14553
14554         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14555         functions which needs to use a LyXText over from LyXFunc.
14556         (MenuInsertLyXFile): added
14557         (getInsetByCode): added
14558         (moveCursorUpdate): added
14559         (static TEXT): added
14560
14561 2001-02-22  Juergen Vigna  <jug@sad.it>
14562
14563         * BufferView_pimpl.C (update): call a status update to see if LyXText
14564         needs it.
14565
14566 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14567
14568         * vc-backend.C (revert): implement for CVS
14569         (getLog): implement for CVS
14570
14571 2001-02-20  Juergen Vigna  <jug@sad.it>
14572
14573         * text2.C (ClearSelection): added BufferView param for inset_owner call
14574
14575         * lyxfunc.C (TEXT): added this function and use it instead of
14576         directly owner->view()-text of getLyXText().
14577
14578 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
14579
14580         * src/layout_forms.C: out preamble
14581         * src/layout_forms.h: out preamble
14582         * src/lyx_cb.C: out preamble
14583         * src/lyx_cb.h: out preamble
14584         * src/lyx_gui.C: out preamble
14585         * src/lyx_gui_misc.C: out preamble
14586         * src/lyxfunc.C: connect with guii preamble
14587
14588 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
14589
14590         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14591
14592 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
14593
14594         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14595         whether to run bibtex.
14596
14597 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
14598
14599         * Makefile.am (lyx_SOURCES): Remove BackStack.h
14600
14601 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14602
14603         * Makefile.am (lyx_SOURCES): removed bibforms.h
14604
14605         * vspace.h: doxygen
14606
14607         * text.C (GetVisibleRow): make several local vars const
14608
14609         * tabular.C: small cleanup.
14610
14611         * lyxserver.C (callback): use compare instead of strncmp
14612
14613         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14614         inlines to after class or to paragraph.C
14615
14616         * lyxfont.h: remove friend operator!=
14617
14618         * converter.h: move friend bool operator< to non friend and after
14619         class def.
14620
14621         * combox.h: small cleanup
14622
14623         * buffer.h: doxygen, remove unused constructor, move inclas inlies
14624         to inlines after class def.
14625
14626         * buffer.C (pop_tag): use string operations instead of strcmp
14627
14628         * bmtable.c: doxygen, small cleanup
14629
14630         * LaTeX.h: remove friend operator==
14631
14632 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
14633
14634         * screen.C:
14635         * lyxrc.[Ch]:
14636         * lyxfunc.C:
14637         * lyxfont.[Ch]:
14638         * lyx_cb.C:
14639         * intl.[Ch]:
14640         * commandtags.h:
14641         * buffer.C:
14642         * WorkArea.[Ch]:
14643         * LyXAction.C:
14644         * BufferView_pimpl.C:
14645         * BufferView.[Ch]: remove cruft
14646
14647 2001-02-14  Juergen Vigna  <jug@sad.it>
14648
14649         * lyxfunc.C: removed #if 0 unused code
14650
14651         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14652
14653         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14654
14655         * text2.C (SetSelection): added a BufferView * parameter
14656
14657 2001-02-13  Juergen Vigna  <jug@sad.it>
14658
14659         * lyxfunc.C (Dispatch): fixed protected blank problem.
14660         * BufferView2.C (protectedBlank): added LyxText * parameter.
14661
14662         * tabular.C (AppendRow): forgot to set row_info of newly added row.
14663         (AppendColumn): same as above for column_info.
14664
14665         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14666         (moveCursorUpdate): use a LyXText param for support of InsetText.
14667
14668         * BufferView_pimpl.C (doubleClick): added support for InsetText.
14669         (tripleClick): ditto
14670
14671         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14672
14673         * BufferView_pimpl.C (update): added LyXText param to honor insets.
14674
14675         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14676
14677         * text2.C (SetSelection): set correct update status if inset_owner
14678         (ToggleFree): ditto
14679
14680 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
14681
14682         * tabular.C: remove some commented code.
14683
14684 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
14685
14686         * BufferView_pimpl.C: call hideSplash()
14687
14688         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14689
14690         * include_form.h:
14691         * bibforms.h: remove
14692
14693         * lyxfunc.C:
14694         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14695           add LFUN_CHILD_CREATE
14696
14697         * counters.h: fix tiny typo
14698
14699         * lyx_cb.C:
14700         * lyx.h:
14701         * lyx_gui.C:
14702         * lyx.C: move splash to frontends/xforms/
14703
14704         * lyx_gui_misc.C: move Include and Bibform to frontends
14705
14706         * lyxvc.h: clarify comment
14707
14708         * vspace.C: tiny housekeeping
14709
14710 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
14711
14712         * text.C (PrepareToPrint): RTL Fix.
14713
14714         * paragraph.C (GetUChar): New method.
14715         (String):  Use GetUChar.
14716
14717         * buffer.C (asciiParagraph): Use GetUChar.
14718
14719 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
14720
14721         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14722
14723 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
14724
14725         * buffer.h:
14726         * buffer.C: rename to getLogName(), handle
14727           build log / latex log nicely
14728
14729 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14730
14731         * MenuBackend.C:
14732         * MenuBackend.h: remove support for reference menuitem type.
14733
14734 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
14735
14736         * BufferView_pimpl.C: housekeeping
14737         * BufferView_pimpl.h:
14738         * LyXView.h:
14739         * Makefile.am:
14740         * Timeout.C:
14741         * Timeout.h:
14742         * minibuffer.h: move Timeout GUI-I
14743
14744 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
14745
14746         * lyxrc.C (read): Update converters data-structures.
14747
14748 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
14749
14750         * LaTeX.h (operator!=): add operator != for Aux_Info
14751
14752 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
14753
14754         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14755
14756         * LaTeXLog.C: deleted, useful code moved to Buffer
14757
14758         * buffer.h:
14759         * buffer.C: new function getLatexLogName()
14760
14761         * lyx_gui_misc.C:
14762         * lyx_gui.C:
14763         * lyxvc.C:
14764         * lyxvc.h:
14765         * lyxfunc.C: use frontends for LaTeX and VC logs
14766
14767 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14768
14769         * LaTeX.h: yet another std:: that Allan forgot.
14770
14771         * Variables.C (set): renamed from isset(), because this clashes
14772         with some HP-UX macros (grr).
14773
14774 2001-02-06  Allan Rae  <rae@lyx.org>
14775
14776         * LaTeX.h: Another bug fix.  Missing std:: this time.
14777
14778 2001-02-04  Allan Rae  <rae@lyx.org>
14779
14780         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14781         floats problem. I've left it commented out because it's not quite
14782         correct.  It should also test that the current object is a table or
14783         figure inset.  But I haven't gotten around to figuring out how to do
14784         that.  I *think* it'll be something like: "table" == inset.type()
14785
14786         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14787         bool.
14788
14789 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
14790
14791         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14792         all the citation/databases/styles in the auxilary file.
14793         (run): Rerun latex if there was a babel language error.
14794
14795 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
14796
14797         * text.C (Backspace): Preserve the font when changing newline char
14798         with a space.
14799         (BreakParagraph): If the cursor is before a space, delete the space.
14800
14801         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14802
14803 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
14804
14805         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14806         new argument (code).
14807         (ChangeCitationsIfUnique): New method.
14808
14809         * paragraph.C (GetPositionOfInset): Handle bibkey.
14810
14811 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14812
14813         * BufferView_pimpl.h: change type of Position::par_pos to
14814         LyXParagraph::size_type.
14815
14816 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
14817
14818         * BufferView_pimpl.C (savePosition, restorePosition): Write
14819         messages to minibuffer.
14820
14821 2001-01-28  José Matos  <jamatos@fep.up.pt>
14822
14823         * buffer.C (makeDocBookFile): adds support for document language.
14824         A silly restriction on the name of LatexCommand types where removed.
14825         Added support for CDATA sections, allows to chars unescaped, used
14826         among others in code, to avoid escape < and >.
14827
14828 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14829
14830         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14831         saved positions instrad of a stack. Furthermore, a position is
14832         stored using paragraph id/paragraph position.
14833
14834         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14835         Remove LFUN_REF_BACK.
14836
14837 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14838
14839         * converter.C (dvipdfm_options): New method.
14840
14841 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14842
14843         * vspace.C (isValidLength): Fix for empty input string.
14844
14845 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14846
14847         * LyXAction.C (init): change description of LFUN_FIGURE to
14848         "Insert Graphics"
14849
14850 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14851
14852         * LaTeX.C: add using directive
14853
14854 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14855
14856         * MenuBackend.C (expand): Fix the sorting of the formats.
14857
14858 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14859
14860         * lyx_main.C: tiny error message fix
14861
14862 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14863
14864         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14865         calling fl_initialize(). This fixes the problem with ',' as
14866         decimal separator in text files.
14867
14868 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14869
14870         * trans.C (process): Fix the keymap bug.
14871
14872 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
14873
14874         * LaTeX.C (scanAuxFiles): New method. Provides support for
14875         multiple bibliographies (when using the bibtopic/bibunits pacakges).
14876         (scanLogFile) Scan for "run BibTeX" messages.
14877
14878         * buffer.C (makeLaTeXFile): Do not load the ae package when using
14879         OT1 font encoding. Also, load the aecompl package if the ae
14880         package is loaded.
14881
14882         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14883
14884 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14885
14886         * texrow.C (increasePos): turn two error messages into debug
14887         messages.
14888
14889 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
14890
14891         * LaTeX.C (scanAux): Handle the \@input macro.
14892         (runBibTeX): Use scanAux().
14893
14894         * language.C (latex_options_): New field.
14895
14896         * LaTeXFeatures.C (getMacros): Add language macros.
14897
14898         * buffer.C (makeLaTeXFile): Small fix.
14899
14900 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14901
14902         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14903
14904         * text2.C: add a using directive.
14905
14906 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14907
14908         * BufferView2.C:
14909         * lyx_gui_misc.h:
14910         * lyxfr1.C:
14911         * lyxfunc.C: kill LyXBell.
14912
14913 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14914
14915         * text.C (IsBoundary): Remove the error message
14916
14917         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14918
14919         * lyxrc.C (setDefaults): Correct initialization value for
14920         font_norm_type.
14921
14922 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14923
14924         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14925         gotoError().
14926
14927         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14928         and GotoNextNote().
14929
14930         * src/LyXAction.C: Added reference-next.
14931
14932         * text.C (InsertChar): Use contains instead of strchr.
14933
14934         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14935
14936 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14937
14938         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14939         alignment commands (when needed).
14940
14941         * text.C (InsertChar): Add ':' to number separator chars.