]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
e04d445dce3debb42e84eb05fb09b0c9d0332180
[lyx.git] / src / ChangeLog
1 2004-03-22  Angus Leeming  <leeming@lyx.org>
2
3         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
4         Ensure that error_handler is processed once only and that all data
5         is saved before attempting to output any warning messages.
6
7         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
8
9 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
10
11         * tabular.C (TeXRow): crash fix (from Kayvan and André)
12
13 2004-03-19  André Pönitz  <poenitz@gmx.net>
14
15         * cursor.[Ch] (reset): take main text inset as argument
16
17         * BufferView: adjust
18         * BufferView_pimpl.C: adjust
19
20         * paragraph.[Ch]: fix completely broken operator=()
21
22 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
23
24         * LColor.C (getFromLyXName): make sure that the color name is used
25         as lowercase.
26
27 2004-03-17  Angus Leeming  <leeming@lyx.org>
28
29         * lfuns.h:
30         * LyXAction.C (init): remove LFUN_FORKS_KILL.
31
32         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
33         dialog and to kill a forked process.
34
35 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
36
37         * text2.C (setCursorFromCoordinates): fix font problem
38
39 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
40
41         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
42         bogus "rebuild cursor" code
43
44 2004-03-11  André Pönitz  <poenitz@gmx.net>
45
46         * buffer.[Ch]: use InsetText instead of LyXText as container for
47         the main lyx text.
48
49         * dociterator.[Ch]: drop the BufferView * member which is not needed
50         anymore after the change to buffer.C
51
52         * paragraph_funcs.C:
53         * text.C:
54         * text2.C:
55         * BufferView.[Ch]:
56         * BufferView_pimpl.[Ch]:
57         * cursor.[Ch]:
58         * cursor_slice.[Ch]: adjust
59
60         * text3.C: fix bug in mathDispatch
61
62 2004-03-08  André Pönitz  <poenitz@gmx.net>
63
64         * undo.[Ch]: use 'StableDocumentIterator' as base for
65         the Undo struct.
66
67 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
68
69         * LaTeXFeatures.C:
70         * bufferparams.[Ch]: add jurabib support and param.
71
72         * LaTeX.C: add FIXME/comment.
73
74 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
75
76         * buffer.C: increment file format to 230.
77
78 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
79
80         * cursor.C (dispatch): avoid infinite loops
81
82 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
83
84         * rowpainter.C (paintSelection): fix x coordinates
85
86 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
87
88         * text.C (rowBreakPoint): fix breaking before displayed insets
89
90 2004-03-01  André Pönitz  <poenitz@gmx.net>
91
92         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
93
94         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
95
96         * Makefile.am:
97         * BufferView.C:
98         * BufferView_pimpl.C:
99         * buffer.C:
100         * lyxfind.C:
101         * lyxfunc.C:
102         * text.C:
103         * text2.C:
104         * text3.C: adjust
105
106 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
107
108         * lyxtext.h:
109         * text.C:
110         * text2.C:
111         * rowpainter.C:
112         * BufferView_pimpl.C: rename textwidth -> maxwidth,
113         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
114
115 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
116
117         * Bidi.[Ch] (computeTables): const correctness
118         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
119         fill_hfill, fill_label_hfill and x from Row
120         * lyxtext.h: prepareToPrint returns a RowMetrics
121         * rowPainter.C: adjust
122         * text.C (prepareToPrint): use width, not textWidth. adjust
123         (redoParagraphInternal, cursorX): adjust
124         * text2.C (getColumnNearX): adjust
125         (init): put a default value to the top LyXText::width
126
127 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
128
129         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
130
131 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
132
133         * lyxtext.h: add FontIterator class
134
135         * text.C (FontIterator, operator*, operator->, operator++): add
136         (rowBreakPoint, setRowWidth): adjust (fixing a
137         rebreaking bug)
138
139 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
140
141         * BufferView_pimpl.C (workAreaDispatch): allow also
142         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
143
144 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
145
146         * text.C (rowBreakPoint): fix a bug showing with very large insets
147
148 2004-02-25  André Pönitz  <poenitz@gmx.net>
149
150         * text3.C:
151         * cursor.[Ch]: move some mathed specific code to mathed
152
153 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
154
155         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
156         use_tempdir in preferences
157         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
158         tempfile creation
159         * lyx_main.C: ensure that tempdir is valid
160         * lyxlex.h: correct typo
161         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
162         * paragraph.[Ch] (isMultiLingual): make const
163         * cursor.[Ch] (openable): make const
164
165 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
166
167         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
168
169 2004-02-20  André Pönitz  <poenitz@gmx.net>
170
171         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
172
173         * cursor.[Ch]: prepare for localized getStatus()
174
175         * lyxtext.h:
176         * tabular.C:
177         * text.C:
178         * text2.C:
179         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
180
181 2004-02-20  André Pönitz  <poenitz@gmx.net>
182
183         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
184
185 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
186
187         * text2.C (setCursorFromCoordinates): switch to absolute coords
188         (cursorUp): adjust
189         (cursorDown): adjust
190         * text3.C (dispatch): adjust
191
192 2004-02-16  André Pönitz  <poenitz@gmx.net>
193
194         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
195           insets/ChangeLog)
196
197         * cursor_slice.[Ch]: remove unneeded acessor function
198
199         * lyxtext.h: rename rtl() to isRTL()
200
201         * rowpainter.C:
202         * tabular.C:
203         * text.C:
204         * text2.C:
205         * text3.C: adjust
206
207 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
208
209         * rowpainter.C (paintSelection): coord fix
210
211 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
212
213         * Spacing.C: compile fix
214
215 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
216
217         * cursor.C (dispatch): restore current_ before returning
218
219 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
220
221         * text2.C (cursorUp, cursorDown): fix coords
222         (moveUp): fix crash
223
224 2004-02-12  André Pönitz  <poenitz@gmx.net>
225
226         * lyxtext.h:
227         * text.C:
228         * text2.C:
229         * text3.C: add LCursor & parameter to most cursor movement functions
230           remove usage of LyXText::cursorRow() and cursorPar()
231
232         * cursor.[Ch]: add textRow() needed members
233
234         * BufferView.C:
235         * BufferView_pimpl.C:
236         * paragraph.[Ch]:
237         * BufferView.C:
238         * BufferView_pimpl.C: adjust
239
240 2004-02-11  André Pönitz  <poenitz@gmx.net>
241
242         * lyxfunc.C:
243         * BufferView.[Ch]:
244         * BufferView_pimpl.C: shift undo/redo handling
245
246         * cursor.[Ch]: fix mathed crash
247
248         * lyxfind.C:
249         * lyxtext.h: move selectionAsText to LCursor
250
251         * output_latex.C:
252         * paragraph.C:
253         * text.C:
254         * text2.C:
255         * text3.C: adjust
256
257         * rowpainter.C: fix excessive drawing
258
259 2004-02-06  André Pönitz  <poenitz@gmx.net>
260
261         * BufferView.[Ch]:
262         * BufferView_pimpl.[Ch]:
263         * text3.C: move some text specific LFUN handling
264
265 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
266
267         * text3.C (checkInsetHit): adjust coords
268         * text2.C (getColumnNearX): adjust coords
269         (edit): adjust coords
270         * text.C (getRowNearY): add two asserts
271
272 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
273
274         * converter.C:
275         * format.C: add using std::distance to compile on gcc 2.95/stlport
276
277 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
278
279         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
280
281 2004-02-04  André Pönitz  <poenitz@gmx.net>
282
283         * BufferView.[Ch] (insertInset):
284         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
285
286         * text2.C:
287         * text3.C: adjust
288
289 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
290
291         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
292         on the default clause of the switch
293         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
294         wasn't catched by LCursor::dispatch
295
296 2004-02-03  André Pönitz  <poenitz@gmx.net>
297
298         * BufferView.C:
299         * cursor.[Ch]: some additional asserts
300
301         * undo.[Ch]: remove LyXText dependency in interface
302
303         * lyxfunc.C: adjust
304
305         * lyxtext.h (firstPar, lastPar): remove dead functions
306
307         * text.C:
308         * text2.C:
309         * text3.C:
310         * paragraph.[Ch]: adjust
311
312 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
313
314         * lyxfind.C (find): fix argument order in call to ::find
315
316 2004-02-02  André Pönitz  <poenitz@gmx.net>
317
318         * cursor.[Ch]: remove direct access to anchor
319
320         * text.C: remove findText() hack
321
322 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
323
324         * iterators.[Ch] (lockPath): remove in favour of...
325         * BufferView.[Ch] (setCursor): this addition
326         * BufferView.C (putSelectionAt): adjust
327         * undo.C (performUndoOrRedo): adjust
328         * lyxfunc.C (dispatch): adjust
329
330 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
331
332         * iterators.C (lockPath): add a missing slice
333         * undo.C (performUndoOrRedo): remove redundant positioning code
334
335 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
336
337         * vc-backend.C (scanMaster): ";" -> ';'
338
339 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
340
341         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
342         std::binary_function
343
344         * lyxtextclass.C (compare_name): rename to...
345         (LayoutNamesEqual): ...this
346
347         * lyxlex_pimpl.C (compare_tags): inherit from
348         std::binary_function, put back into anon namespace
349
350         * lyxfind.C (MatchString): inherig from std::binary_function
351         (findChange): use empty() istead of !size()
352
353         * format.C (FormatNamesEqual): new functor
354         (getFormat): use it
355         (getNumber): use it
356         (add): use it
357         (erase): use it
358         (setViewer): use it
359
360         * converter.C (compare_Converter): rename to...
361         (ConverterEqual): ...this, and fixup a bit.
362         (getConverter): use it, and make function const
363         (getNumber): use it, and make function const
364         (add): use it
365         (erase): use it:
366
367         * bufferlist.C: add using boost::bind
368
369         * MenuBackend.C (MenuNamesEqual): new functor
370         (hasMenu): use it, and make function const
371         (hasSubmenu): use nested bind to get rid of compare_memfun.
372
373 2004-01-30  André Pönitz  <poenitz@gmx.net>
374
375         * BufferView_pimpl.C:
376         * cursor.C:
377         * cursor.h:
378         * cursor_slice.[Ch]:
379         * lyxfunc.C:
380         * lyxtext.h:
381         * paragraph_funcs.C:
382         * paragraph_funcs.h:
383         * rowpainter.C:
384         * text.C:
385         * text2.C:
386         * text3.C: move some of the edit(x,y) handling to the insets
387         some coordinate changes.
388
389 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
390
391         * text.C: add using statements for std::advance and std::distance
392
393         * paragraph.C: add using statement for std::distance
394
395         * lyxfind.C: add using statement for std::advance
396
397         * cursor.C (region): remove std:: from swap
398         (openable): use nucleus in stead of operator->
399
400         * BufferView.C: add using statements for std::distance and std::swap
401
402 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
403
404         * iterators.C: Remove the pimple, move the needed structures to
405         the header file. Create accessor for the positions stack.
406         (asPosIterator): remove function
407
408         * PosIterator.C (PosIterator): move constructors to top of file
409         (PosIterator): reimplement the constructor taking a ParIterator in
410         terms of setFrom.
411         (setFrom): new function
412         (operator!=): inline it
413
414 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
415
416         * lyxfind.C (replaceAll): use std::advance
417
418         * iterators.h: inherit from std::iterator.
419
420         * PosIterator.C (advance, distance): remove
421         * PosIterator.h: interit from std::iterator.
422
423 2004-01-26  André Pönitz  <poenitz@gmx.net>
424
425         * BufferView.[Ch]:
426         * BufferView_pimpl.[Ch]:
427         * InsetList.[Ch]:
428         * PosIterator.[Ch]:
429         * buffer.h:
430         * bufferview_funcs.C:
431         * cursor.[Ch]:
432         * cursor_slice.h:
433         * factory.[Ch]:
434         * iterators.[Ch]:
435         * lyxfind.C:
436         * lyxfunc.C:
437         * lyxtext.h:
438         * output_docbook.C:
439         * output_latex.C:
440         * output_linuxdoc.C:
441         * output_plaintext.C:
442         * paragraph.[Ch]:
443         * paragraph_funcs.[Ch]:
444         * paragraph_pimpl.[Ch]:
445         * rowpainter.C:
446         * tabular.C:
447         * tabular.h:
448         * text.C:
449         * text2.C:
450         * text3.C: more IU:  dumps most of the rest of the mathcursor
451     implementation into cursor.[Ch]; "globalize" a bit of it.
452
453 2004-01-25  Angus Leeming  <leeming@lyx.org>
454
455         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
456
457 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
458
459         * LaTeXFeatures.h: add nice_ and nice() const
460         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
461
462 2004-01-20  André Pönitz  <poenitz@gmx.net>
463
464         * BufferView.[Ch]:
465         * BufferView_pimpl.C:
466         * PosIterator.C:
467         * bufferview_funcs.C:
468         * cursor.[Ch]:
469         * cursor_slice.[Ch]:
470         * factory.C:
471         * iterators.C:
472         * lyx_cb.C:
473         * lyxfind.C:
474         * lyxfunc.C:
475         * lyxtext.h:
476         * rowpainter.C:
477         * text.C:
478         * text2.C:
479         * text3.C:
480         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
481           LCursor and mathcursor parts to LCursor and InsetBase.
482
483 2004-01-15  André Pönitz  <poenitz@gmx.net>
484
485         * cursor_slice.[Ch]: add a few covienience functions
486
487         * funcrequest.[Ch]: remove BufferView * member
488
489         * BufferView_pimpl.C:
490         * cursor.C:
491         * factory.[Ch]:
492         * lyxfind.[Ch]:
493         * lyxfunc.C:
494         * lyxtext.h:
495         * text3.C:
496         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
497
498 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
499
500         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
501         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
502
503 2004-01-13  André Pönitz  <poenitz@gmx.net>
504
505         * textcursor.[Ch]:
506         * lyxtext.h: hide cursor and selection anchor behind accessor function
507
508         * BufferView.C:
509         * BufferView_pimpl.[Ch]:
510         * PosIterator.C:
511         * bufferview_funcs.C:
512         * cursor.h:
513         * lyxfind.C:
514         * lyxfunc.C:
515         * text.C:
516         * text2.C:
517         * text3.C:
518         * undo.C: adjust
519
520         * cursor.h:
521         * cursor_slice.[Ch]: some integer type changes for inset unification
522
523         * lyxcursor.[hC]: remove, it's CursorSlice now.
524
525         * Makefile.am:
526         * BufferView_pimpl.[Ch]:
527         * bufferview_funcs.C:
528         * cursor_slice.C:
529         * lyxtext.h:
530         * text.C:
531         * text2.C:
532         * text3.C:
533         * textcursor.[Ch]: adjust
534
535 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
536
537         * text2.C (undoSpan): add and use
538         * text.C (breakParagraph): use undoSpan (fix bug 578)
539         * lyxtext.h: adjust
540
541 2004-01-08  Angus Leeming  <leeming@lyx.org>
542
543         * BufferView_pimpl.C (MenuInsertLyXFile):
544         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
545         * lyxfunc.C (menuNew, open, doImport):
546         FileFilterList change to the FileDialog open and save functions.
547
548 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
549
550         * ShareContainer.h: make isEqual and isUnique adaptable
551
552         * CutAndPaste.C: make resetOwnerAndChanges adaptable
553
554 2004-01-07  Angus Leeming  <leeming@lyx.org>
555
556         * LyXAction.C:
557         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
558
559         * BufferView_pimpl.C (dispatch): act on these LFUNs.
560
561         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
562         functions replacing find, replace and replaceAll.
563
564         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
565         LFUN_WORDFIND(FORWARD|BACKWARD).
566
567 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
568
569         * text.C (breakParagraph): remove an outdated #warning
570
571 2004-01-07  André Pönitz  <poenitz@gmx.net>
572
573         * lyxfind.C: somewhat clearer logic
574
575         * text.C: prevent crash in cursorX on unitialized row cache
576
577 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
578
579         * lyxcursor.[Ch] (operator>): add
580         * textcursor.C (selStart, selEnd): use std::min and std::max
581
582 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
583
584         * Chktex.C: include boost/format.hpp
585
586 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
587
588         * InsetList.C: replace functor MathcIt with adaptable functor
589         InsetTablePosLess
590         (insetIterator): modify accordingly
591
592         * BranchList.h: move the BranchNamesEqual functor here from...
593         * BranchList.C: ... to here
594
595         * BranchList.C: new BranchListEqual fuctor, use it. Remove
596         SameName and match.
597         (add): replace a finding loop with std::find_if.
598
599 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
600
601         * output_docbook.C: moving LatexParam functionality into
602         .layout files
603
604 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
605
606         * buffer.C: increment format to 229.
607
608 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
609
610         * LaTeXFeatures.C:
611         * lyx_sty.[Ch]: remove minipageindent_def
612
613         * LyXAction.C:
614         * factory.C:
615         * lfuns.h:
616         * lyxfunc.C:
617         * text3.C: remove LFUN_INSET_MINIPAGE
618
619 2003-12-28  Angus Leeming  <leeming@lyx.org>
620
621         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
622
623 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
624
625         * text2.C (setParagraph): fix off-by-one crash
626
627 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
628
629         * output_docbook.C: header stuff for AGU
630
631 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
632
633         * text2.C (redoCursor): remove
634         * text.C:
635         * text3.C:
636         * BufferView_pimpl.C: remove calls to redoCursor and
637         setCursor(cursor.par(), cursor.pos()) all around
638
639 2003-12-15  Angus Leeming  <leeming@lyx.org>
640
641         * buffer.C: up the format to 228.
642
643 2003-12-15  André Pönitz  <poenitz@gmx.net>
644
645         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
646         slices
647
648         * Makefile.am:
649
650         * BufferView_pimpl.C:
651         * cursor.[Ch]:
652         * lyxcursor.[Ch]:
653         * rowpainter.[Ch]:
654         * lyxtext.h:
655         * text.C:
656         * text2.C:
657         * text3.C: adjust
658
659 2003-12-15  Angus Leeming  <leeming@lyx.org>
660
661         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
662         than getFromGUIName to manipulate the color.
663
664 2003-12-14  Angus Leeming  <leeming@lyx.org>
665
666         * BranchList.[Ch]: minimize the API.
667         (Branch::getBranch, getColor): now return a 'const &'.
668         (Branch::setSelected) now returns a bool set to true if the
669         selection status changes.
670         (BranchList::clear, size, getColor, setColor, setSelected,
671         allBranches, allSelected, separator): removed.
672         (BranchList::find): new functions, returning the Branch with
673         the given name.
674         (BranchList::add, remove): return a bool indicating that
675         the operation was successful.
676
677         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
678         new InsetBranch::isBranchSlected member function.
679
680         * LColor.[Ch]: mimimize the API.
681         (fill): renamed as addColor and made private.
682         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
683         versions of these functions taking a string arg have been removed.
684
685         * bufferparams.C (readToken):
686         * lyxfunc.C (dispatch):
687         * lyxrc.C (read): changes due to the altered BranchList and
688         LColor APIs.
689
690         * factory.C (createInset, readInset): changes due to altered
691         InsetBranch c-tor.
692
693 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
694
695         * factory.C:
696         * lyxfunc.C: remove insetminipage. "minipage-insert"
697         now produces a frameless minipage box inset.
698
699 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
700
701         * textcursor.[Ch] (selStart,selEnd): add new methods
702         remove selection::start, end, use LyXCursor::operator<
703         * lyxcursor.[Ch] (operator<): add
704         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
705         * BufferView.[Ch] (unsetXSel): add
706         * text2.C (clearSelection): use unsetXSel,adjust
707         * text.C: adjust
708         * text3.C: adjust
709         * rowpainter.C: adjust
710         * bufferview_funcs.C (put_selection_at): adjust
711
712 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
713
714         * BufferView_pimpl.C: small coord. correction
715
716 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
717
718         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
719         dragging over the splash screen.
720
721 2003-12-11  Angus Leeming  <leeming@lyx.org>
722
723         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
724         as it is now handled in LyXText::dispatch.
725
726         * text3.C (doInsertInset): remove a level of nesting.
727
728 2003-12-11  Angus Leeming  <leeming@lyx.org>
729
730         * factory.C (createInset): changes due to the changed interface to
731         InsetCommandMailer::string2params.
732
733 2003-12-10  Angus Leeming  <leeming@lyx.org>
734
735         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
736         'dialog-show-new-inset <inset name>'
737
738 2003-12-10  Angus Leeming  <leeming@lyx.org>
739
740         * buffer.C: up the format to 227.
741
742         * factory.C: the box inset is now identified simply by 'Box'.
743
744 2003-12-10  Angus Leeming  <leeming@lyx.org>
745
746         * buffer.C: up the format to 226.
747
748         * factory.C: the note inset is now identified simply by 'Note'.
749
750 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
751
752         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
753         when a pit is enough. Standarize a couple of loops.
754
755 2003-12-05  Angus Leeming  <leeming@lyx.org>
756
757         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
758         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
759         data to the re-worked "log" dialog.
760
761 2003-12-03  André Pönitz  <poenitz@gmx.net>
762
763         * PosIterator.C:
764         * iterators.C:
765         * lyxtext.h:
766         * output_latex.C:
767         * paragraph_funcs.C:
768         * text.C:
769         * text2.C: use Inset::getText instead of Inset::getParagraph
770
771 2003-12-03  André Pönitz  <poenitz@gmx.net>
772
773         * buffer.[Ch]:
774         * lyxtext.h:
775         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
776         InsetText::read() as LyXText::read()
777
778 2003-12-02  Angus Leeming  <leeming@lyx.org>
779
780         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
781         type. Add a comment in the implementation that the function uses
782         the stream's bad() function rather than fail() as the std::streams
783         would do.
784
785 2003-12-02  André Pönitz  <poenitz@gmx.net>
786
787         * lyxlex.[Ch]: make interface more similar to std::stream
788
789         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
790
791 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
792
793         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
794
795 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
796
797         * vspace.[Ch]: remove VSpace::NONE
798
799 2003-12-01  André Pönitz  <poenitz@gmx.net>
800
801         * buffer.[Ch]:
802         * lyxtext.h: move ParagraphList member to LyXText
803         rename LyXText::ownerParagraphs to LyXText::paragraph
804
805         * CutAndPaste.C:
806         * bufferview_funcs.C:
807         * iterators.[Ch]:
808         * lyx_cb.C:
809         * paragraph.C:
810         * rowpainter.C:
811         * tabular.C:
812         * text.C:
813         * text2.C:
814         * text3.C: adjust
815
816         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
817
818         * undo.C: fix cursor positioning
819
820 2003-12-01  John Levon  <levon@movementarian.org>
821
822         * BufferView_pimpl.C: fix a crash on exit with
823         a buffer open
824
825 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
826
827         * BranchList.C: fix setSelected() method.
828
829 2003-11-28  André Pönitz  <poenitz@gmx.net>
830
831         * ParagraphParameters.[Ch]:
832         * ParameterStruct.h: remove space above/below from Paragraph to
833          InsetVSpace
834
835         * BufferView_pimpl.C:
836         * factory.C:
837         * lyxfunc.C:
838         * lyxtext.h:
839         * output_latex.C:
840         * paragraph.C:
841         * paragraph_funcs.C:
842         * rowpainter.[Ch]:
843         * text.C:
844         * text2.C:
845         * text3.C: adjust
846
847 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
848
849         * factory.C: Syntax change for CharStyles
850
851 2003-11-28  André Pönitz  <poenitz@gmx.net>
852
853         * BufferView.[Ch]:
854         * BufferView.[Ch]:
855         * buffer.[Ch]:
856         * buffer.[Ch]: move LyXText member
857
858 2003-11-28  André Pönitz  <poenitz@gmx.net>
859
860         * BufferView.[Ch]: make LyXText * text a private member
861
862         * BufferView_pimpl.C:
863         * cursor.C:
864         * iterators.C:
865         * lyx_cb.C:
866         * lyxfind.C:
867         * lyxtext.h:
868         * rowpainter.[Ch]:
869         * text.C:
870         * text2.C:
871         * undo.C: adjust
872
873         * output_plaintext.C: cleanup
874
875 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
876
877         * buffer.C:
878         * lyxtextclass.[Ch]: parametrize SGML document header
879
880 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
881
882         * converter.[Ch]:
883         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
884         getFlavor().
885
886 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
887
888         * text2.C (setFont): rework using PosIterator (no more recursive)
889         (setCharFont): no more needed
890         (setLayout): no more selection cursors fiddling (done by redoCursor)
891         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
892         destroy remaining ones)
893
894 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
895
896         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
897         * lyxtext.h: ditto
898         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
899         selection cursors
900         * lyxfunc.C: adjust
901         * text3.C: adjust + re-allow multi par depth changes
902         * textcursor.C: simplify a bit
903
904 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
905
906         * src/buffer.C:
907         * src/lyxlayout.C:
908         * src/lyxlayout.h:
909         * src/lyxtext.h:
910         * src/output_docbook.C:
911         * src/output_latex.C:
912         * src/paragraph.C:
913         * src/paragraph.h:
914         * src/sgml.C:
915         * src/sgml.h:
916         * src/text2.C: Introducing a number of tags parametrizing various
917         XML formats that we may want to support
918
919 2003-11-25  André Pönitz  <poenitz@gmx.net>
920
921         * InsetList.[Ch] (begein, end): inline as suggested by profiler
922
923         * lyxtext.h (leftMargin/rightMargin): simplify interface
924
925         * rowpainter.C:
926         * text.C:
927         * text2.C:
928         * text3.C: adjust
929
930 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
931
932         * lyxfunc.C (dispatch): propogate the bibtex databases from the
933         master file to any child files. Fixes bug 546.
934
935 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
936
937         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
938
939 2003-11-24  André Pönitz  <poenitz@gmx.net>
940
941         * rowpainter.C: simplification
942
943         * text2.C (updateCounters): remove call to redoParagraph on
944         changed labels as this is far too expensive.
945
946 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
947
948         * converter.C (convert): fix a crash: this function gets
949         called with buffer == 0 from importer code.
950
951 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
952
953         * text3.C (cursorPrevious): make sure that we do not compare
954         iterators form different containers.
955         (cursorNext): ditto
956
957         * rowpainter.C (paintSelection): make sure that we do not compare
958         iterators from different containers.
959
960         * text3.C (dispatch): [PRIOR] make sure that we do not compare
961         iterators from different ParagraphList containers.
962         [NEXT] ditto
963
964         * text2.C (LyXText): change order of initialization slightly
965         (operator=): new function. copy all variables except cache_par_
966         (moveUp): make sure that we do not compare iterators from
967         different ParagraphList constainers.
968         (moveDown): ditto
969
970         * text.C (firstPar): new function
971         (lastPar): new function
972         (endPar): new function
973
974         * lyxtext.h: move things around and group public functions, public
975         variables, private functions, private variables
976
977 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
978
979         * factory.C: change call to InsetERT constructor to avoid
980         additional invocation of method status
981         * text2.C (toggleInset): remove redundant update() call
982         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
983         instead of a Bufferview pointer
984
985 2003-11-21  André Pönitz  <poenitz@gmx.net>
986
987         * rowpainter.C: simplification
988
989 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
990
991         * text3.C (dispatch): make possible to extend a word/row selection
992         with the mouse
993
994 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
995
996         * lyxtext.h: x0_,y0_ -> xo_,yo_
997         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
998         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
999         * rowpainter.C (paintRows): paint full paragraphs
1000
1001 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1002
1003         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1004         screen coordinates)
1005
1006 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1007
1008         * lyxtext.h: add x0_, y0_
1009         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1010         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1011
1012 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
1013
1014         * text2.C (setCursorIntern): move the x_target update here *
1015         * text3.C: change some bv() to true/false in calls to
1016         cursorUp/Down/Right/Left
1017         * cursor.C: use helper function.
1018
1019 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1020
1021         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1022         * paragraph_funcs.[Ch]: correct comment
1023         * rowpainter.C: do not paint selections away from bv->cursor()
1024         Fix a long standing selection painting bug.
1025         * text3.C: generalize mouse-selection code to LyXTexts other that
1026         top one
1027         * textcursor.C: do not use y coords if we can use par offsets
1028
1029 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1030
1031         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1032         cursor position after e.g. inset insert)
1033
1034 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
1035
1036         * lyxfind.C (replace): adjust to locking removal + some
1037         code simplification
1038
1039 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
1040
1041         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1042         of the path
1043
1044 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
1045
1046         * lyxlayout.[Ch]:
1047         * output_docbook.C: XML sanitation: new layout
1048         parameters InnerTag and CommandDepth
1049
1050 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
1051
1052         * BufferView_pimpl.C:
1053         * factory.C:
1054         * text3.C: Fix the insertion and modification of button-style
1055         insets
1056
1057 2003-11-13  André Pönitz  <poenitz@gmx.net>
1058
1059         * InsetList.[Ch]: remove deleteLyXText
1060
1061         * paragraph.[Ch]: cache beginOfBody position
1062
1063         * Bidi.C:
1064         * text.C:
1065         * text2.C:
1066         * text3.C: remove superfluous update() calls
1067
1068         * vspace.C: cleanup
1069
1070 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
1071
1072         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1073         * BufferView.C (fitLockedInsetCursor): remove
1074         * cursor.[Ch] (getDim): add
1075         * text.C (getRowNearY): add faster version
1076         * text3.C: remove some update calls
1077
1078 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
1079
1080         * LaTeXFeatures.C:
1081         * LyXAction.C:
1082         * MenuBackend.C:
1083         * MenuBackend.h:
1084         * dispatchresult.h:
1085         * factory.C:
1086         * lfuns.h:
1087         * lyxfunc.C:
1088         * lyxtextclass.C:
1089         * lyxtextclass.h:
1090         * text3.C: The Character Style /XML short element patch.
1091
1092 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
1093
1094         * text3.C:
1095         * factory.C: Small step to solving 'unable to insert some insets'
1096         problem
1097
1098 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1099
1100         * cursor.[Ch] (updatePos): new function for updating the y
1101         position of the tip inset
1102         * bufferview_funcs.C (put_selection_at):
1103         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1104
1105 2003-11-11  André Pönitz  <poenitz@gmx.net>
1106
1107         * text.C: remove big comment on invalid Paragraph pointers as it is
1108         not valid anymore
1109
1110 2003-11-11  André Pönitz  <poenitz@gmx.net>
1111
1112         * text_funcs.[Ch]: merge with ...
1113
1114         * text.C: ... this
1115
1116         * lyxtext.h:
1117         * text2.C:
1118         * text3.C: adjust
1119
1120         * Makefile.am: remove text_funcs.[Ch]
1121
1122 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
1123
1124         * cursor.C (getPos): return absolute cached y coord
1125
1126         * BufferView_pimpl.C (fitCursor): new simplistic code
1127         (workAreaDispatch): add a fitCursor call
1128
1129 2003-11-10  André Pönitz  <poenitz@gmx.net>
1130
1131         * BufferView.[Ch]:
1132         * BufferView_pimpl.[Ch]: merge update() and updateInset()
1133
1134 2003-11-10  André Pönitz  <poenitz@gmx.net>
1135
1136         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1137         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1138         indicate that the cursor needs to leave an inset
1139
1140         * lyxtext.h: remove inset locking
1141
1142         * cursor.[Ch]: re-implement functionality provided by inset locking
1143
1144         * BufferView.[Ch]:
1145         * BufferView_pimpl.[Ch]:
1146         * LyXAction.C:
1147         * bufferview_funcs.[Ch]:
1148         * factory.C:
1149         * funcrequest.[Ch]:
1150         * iterators.C:
1151         * lyx_cb.C:
1152         * lyxfind.C:
1153         * lyxfunc.C:
1154         * text.C:
1155         * text2.C:
1156         * text3.C:
1157         * undo.C: adjust
1158
1159 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
1160
1161         * PosIterator.[Ch]: replace the stack with a vector, add inset
1162         accesor
1163         * iterators.[C]: adjust
1164
1165 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1166
1167         * lyxfind.C (replaceAll): mark the buffer dirty if something was
1168         replaced
1169         * paragraph_funcs.C (readParToken): put the correct id in the
1170         error item, not the id of the top paragraph
1171
1172 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1173
1174         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1175         * bufferview_funcs.C (put_selection_at): use the above
1176
1177 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1178
1179         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1180
1181 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1182
1183         * output_linuxdoc.h:
1184         * output_plaintext.h:
1185         * output.h:
1186         * output_docbook.h: add #include statements
1187
1188 2003-11-05  José Matos  <jamatos@lyx.org>
1189
1190         * output_docbook.[Ch]:
1191         * output_latex.[Ch]:
1192         * output_linuxdoc.[Ch]:
1193         * output_plaintext.[Ch]: New files for output formats.
1194         * output.[Ch]: New file for helper functions.
1195
1196         * buffer.[Ch]:
1197         * paragraph_funcs.[Ch]: output functions moved to new files.
1198
1199         * outputparams.h: rename of latexrunparams.h
1200
1201         * LaTeX.[Ch]:
1202         * buffer.[Ch]:
1203         * bufferlist.[Ch]:
1204         * converter.[Ch]:
1205         * exporter.C:
1206         * paragraph.[Ch]:
1207         * paragraph_funcs.[Ch]:
1208         * paragraph_pimpl.[Ch]:
1209         * tabular.[Ch]: rename ascii to plaintext
1210         and LatexRunParams to OutputParams.
1211
1212 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1213
1214         * iterators.[Ch] (text): require bv argument
1215         * undo.C (recordUndo):
1216         * lyxfunc.C (dispatch):
1217         * bufferview_funcs.C (put_selection_at): adjust
1218
1219 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
1220
1221         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1222
1223 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1224
1225         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1226         nestings
1227
1228 2003-11-04  André Pönitz  <poenitz@gmx.net>
1229
1230         * cursor.[Ch]: restructure
1231
1232         * BufferView.[Ch]:
1233         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1234
1235         * iterators.[Ch] (asCursor): remove
1236
1237         * lfuns.h: remove LFUN_INSET_EDIT
1238
1239         * lyxfunc.C:
1240         * tabular.C:
1241         * text.C:
1242         * text2.C:
1243         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1244
1245 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1246
1247         * lyxfind.[Ch]: complete overhaul
1248         * BufferView_pimpl.C:
1249         * lyxfunc.C: adjust
1250         * paragraph.[Ch] (insert): add
1251
1252 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1253
1254         * BufferView.[Ch]:
1255         * lyxtext.h:
1256         * text.C: remove dead spellcheck code
1257
1258 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1259
1260         * dispatchresult.h: add a val setter
1261
1262         * cursor.C (dispatch): use a tempvar for data_[i]
1263
1264 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1265
1266         * PosIterator.[Ch]: compile fix
1267
1268 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1269
1270         * text.C (cursorPar): deactivate the cursor cache
1271
1272 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1273
1274         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1275
1276 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1277
1278         * text3.C (dispatch): adjust for new DisptchResult semantics.
1279
1280         * lyxfunc.C (dispatch): handle update when return from
1281         Cursor::dispatch, adjust for new DispatchResult semantics.
1282
1283         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1284         DispatchResult(true) mean to not update. Add class functions for
1285         setting dispatched and update, as well as reading.
1286
1287         * cursor.C (dispatch): don't handle update here
1288
1289 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1290
1291         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1292         * trans_mgr.C: adjust
1293
1294         * paragraph_funcs.C (readParToken): exception safety
1295
1296         * lyxvc.h: store the vcs pointer in a scoped_ptr
1297         * lyxvc.C: adjust
1298
1299         * lyxsocket.C (serverCallback): exception safety
1300
1301         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1302
1303         * ispell.C (clone): make it return a auto_ptr
1304
1305         * factory.C (createInset): exception safety
1306         (readInset): exception safety
1307
1308         * bufferlist.C (newBuffer): exception safety
1309
1310         * Thesaurus.C (Thesaurus): use initialization for aik_
1311
1312         * MenuBackend.C (expandToc): exception safety.
1313
1314 2003-11-03  André Pönitz  <poenitz@gmx.net>
1315
1316         * buffer.C:
1317         * buffer.h:
1318         * bufferview_funcs.C: remove getInsetFromId()
1319
1320         * lyxcursor.[Ch]:
1321         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1322
1323         * lyxfunc.C:
1324         * text2.C:
1325         * text3.C: adjust
1326
1327 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1328
1329         * PosIterator.C (distance, advance): new
1330         * bufferview_funcs.[Ch] (put_selection_at): new
1331         * iterators.[Ch] (lockPath): new
1332
1333 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
1334
1335         * iterators.[Ch] (asPosIterator): added
1336         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1337         * PosIterator.[Ch]: added
1338
1339 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1340
1341         * text3.C:
1342         * lyxfunc.C:
1343         * cursor.C (dispatch):
1344         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1345
1346         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1347         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1348         contructor, add a class function dispatched. Remove operator>=
1349
1350 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1351
1352         * debug.C: only use the default constructor for debugstream
1353         (lyxerr) here.
1354
1355         * main.C (main): include debug.h and setup the lyxerr streambuf
1356         here.
1357
1358 2003-10-31  José Matos  <jamatos@lyx.org>
1359
1360         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1361
1362         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1363         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1364         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1365         * paragraph_pimpl.C (simpleTeXSpecialC):
1366         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1367         add LatexRunParams argument.
1368
1369         * exporter.C (Export): change call accordingly.
1370
1371         * latexrunparams.h: add new member to take care of the other backends.
1372 2003-10-30  José Matos  <jamatos@lyx.org>
1373
1374         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1375         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1376         factorise code for paragraph output.
1377         * buffer.[Ch]:
1378         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1379         move functions.
1380
1381 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1382
1383         * text3.C (dispatch):
1384         * lyxfunc.C (dispatch):
1385         * cursor.C (dispatch):
1386         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1387
1388         * dispatchresult.h: make the dispatch_result_t ctor explicit
1389
1390 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
1391
1392         * sgml.[Ch]:
1393         * buffer.C: small refactoring of docbook stuff
1394
1395 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1396
1397         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1398         meaning.
1399
1400 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1401
1402         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1403         operator dispatch_result_t, and operators for == != and >=
1404
1405         * cursor.C (dispatch): adjust for operator dispatch_result_t
1406         removal. comment out call to update
1407
1408         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1409
1410 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1411
1412         * text3.C:
1413         * text2.C:
1414         * text.C:
1415         * lyxtext.h:
1416         * lyxfunc.C:
1417         * cursor.C:
1418         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1419         (dispatch):
1420
1421         * dispatchresult.h: new file, DispatchResult broken out of
1422         insets/insetbase.h
1423
1424         * Makefile.am (lyx_SOURCES): add dispatchresult.h
1425
1426 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1427
1428         * text.C (rowBreakPoint): put a hack inside #if 0
1429
1430 2003-10-28  André Pönitz  <poenitz@gmx.net>
1431
1432         * lyxtext.h:
1433         * metricsinfo.C:
1434         * paragraph_funcs.C:
1435         * rowpainter.C:
1436         * text.C:
1437         * text2.C: general cleanup (lots of small stuff)
1438
1439 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1440
1441         * text2.C (cursorEnd): simple fix to the "end key goes to one
1442         before the end on last row" bug
1443
1444 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1445
1446         * text.C (backspace): fix the "zombie characters"
1447
1448 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1449
1450         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1451
1452 2003-10-27  André Pönitz  <poenitz@gmx.net>
1453
1454         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1455
1456         * factory.C: handle new InsetPagebreak, InsetLine
1457
1458         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1459         and move handling into new InsetPagebreak, InsetLine
1460
1461         * BufferView_pimpl.C:
1462         * LyXAction.C:
1463         * ParagraphParameters.C:
1464         * ParameterStruct.h:
1465         * lyxfunc.C:
1466         * lyxtext.h:
1467         * paragraph.C:
1468         * paragraph.h:
1469         * paragraph_funcs.C:
1470         * paragraph_pimpl.C:
1471         * rowpainter.C:
1472         * text.C:
1473         * text2.C:
1474         * text3.C: adjust
1475
1476 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1477
1478         * text.C:
1479         * lyxrow_funcs.[Ch]:
1480         * Bidi.C:
1481         * paragraph.C:
1482         * lyxtext.h:
1483         * rowpainter.C:
1484         * text2.C:
1485         * text3.C: remove lastPos uses in favour of Row::endpos
1486
1487 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1488
1489         * undo.C (performUndoOrRedo): fix two crashes by setting a
1490         cursor by hand and reordering some calls. Use bv->lockInset instead
1491         of inset->edit because the latter loses cursor information
1492
1493 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
1494
1495         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1496         by Martin
1497         (rowBreakPoint): fix width. change point to point + 1.
1498         Add a missing check.
1499
1500 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
1501
1502         * MenuBackend.C:
1503         * lyxfunc.C: fix (at least partly) the problems
1504         with the Nav menu and headers inside branch insets
1505         reported by Kayvan
1506
1507 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
1508
1509         * paragraph.C (getChar): add strong asserts
1510
1511         * lyxrow_funcs.C (lastPos): remove hideous hack
1512
1513         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1514         (fill): adjust to that (avoid an infinite loop)
1515
1516 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1517
1518         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1519
1520 2003-10-23  André Pönitz  <poenitz@gmx.net>
1521
1522         * RowList_fwd.h: change list<> to vector<> to gain speed
1523         after suggestion from Alfredo
1524
1525 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1526
1527         * lyxtext.h: move the bidi stuff from here...
1528         * text.C: and here
1529         * text2.C: and here
1530         * Bidi.[Ch]: ... to here
1531
1532 2003-10-23  André Pönitz  <poenitz@gmx.net>
1533
1534         * lyxtext.h:
1535         * text.C (isLastRow, isFirstRow): new functions
1536
1537         * paragraph.h: new width cache member
1538
1539         * rowpainter.C: replace RowList::iterator with Row & where possible
1540
1541         * lyxfunc.C: replace several view()->text with a single call
1542
1543         * toc.C: fix 'unused' warning
1544
1545 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1546
1547         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1548         when woring with stream::pos_type
1549         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1550
1551 2003-10-22  André Pönitz  <poenitz@gmx.net>
1552
1553         * lyxtext.h:
1554         * text.C: use Row & instead of RowList::iterator
1555
1556         * lyxrow.h: rename end() to endpos()
1557
1558         * rowpainter.C:
1559         * text.C:
1560         * text2.C: adjust
1561
1562 2003-10-22  Angus Leeming  <leeming@lyx.org>
1563
1564         * buffer.[Ch] (fully_loaded): new member function, returning true
1565         only when the file has been loaded fully.
1566         Used to prevent the premature generation of previews and by the
1567         citation inset to prevent computation of the natbib-style label.
1568
1569         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1570         templates are all set up.
1571
1572         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1573
1574 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
1575
1576         * text.C: fixed an "oops" in the "is a bit silly"
1577         bug fix
1578
1579 2003-10-21  André Pönitz  <poenitz@gmx.net>
1580
1581         * FuncStatus.[Ch]: small stuff, whitespace
1582
1583         * lyxfont.[Ch]: operator<<() for debug reasons
1584
1585         * lyxfunc.C:
1586         * lyxrow_funcs.C:
1587         * lyxtext.h: whitespace, spelling
1588
1589         * paragraph.C: naming of variables
1590
1591         * text.C:
1592         * text2.C: small stuff
1593
1594
1595 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
1596
1597         * text.C: (1) finish off the inset display() work;
1598         (2) fix the "is a bit silly" bug (accessing char
1599         past end of par).
1600
1601 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
1602
1603         * text.C: re-introduce display() for insets, fixing the
1604         various bugs (stretch of line above, math inset
1605         positioning, ...)
1606
1607 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1608
1609         * text.C (rightMargin): remove spurious semicolon
1610
1611         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1612         1415)
1613
1614 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
1615
1616         * text3.C: fix one crash due to wrong cursor def
1617
1618 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1619
1620         * vc-backend.C (scanMaster): make the regex static
1621
1622         * LaTeX.C (scanAuxFile): make the regexs static
1623
1624         * text3.C (doInsertInset, dispatch, dispatch):
1625         * text2.C (cursorUp, cursorDown):
1626         * text.C (selectNextWordToSpellcheck):
1627         * BufferView_pimpl.C (dispatch):
1628         * lyxfunc.C (dispatch):  localDispatch -> dispatch
1629
1630 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1631
1632         * lyxsocket.C: include <cerrno>
1633
1634 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1635
1636         * lyxfunc.C (dispatch): remove textcache stuff
1637
1638         * bufferlist.C (release): remove textcache stuff
1639         (closeAll): ditto
1640
1641         * TextCache.C: delete file
1642         * TextCache.h: delete file
1643
1644         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1645
1646         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1647         delete of the bv_->text.
1648         (resizeCurrentBuffer): remove texcache stuff
1649         (workAreaResize): ditto
1650
1651 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1652
1653         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1654         action.
1655
1656 2003-10-16  André Pönitz  <poenitz@gmx.net>
1657
1658         * lyxrow.[Ch]:
1659         * paragraph.h:
1660         * rowpainter.C:
1661         * text.C:
1662         * text2.C:
1663         * text3.C: speed up by storing y positions per paragraph plus per-row
1664         offset instead of having a 'full' y position in the row.
1665
1666 2003-10-15  André Pönitz  <poenitz@gmx.net>
1667
1668         * iterators.[Ch]:
1669         * iterators.[Ch]:
1670         * undo.[Ch]: make undo aware of inner insets
1671
1672 2003-10-14  Angus Leeming  <leeming@lyx.org>
1673
1674         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1675         static member functions LyX::ref() and LyX::cref.
1676         (lastfiles): new accessor functions for the new lastfiles_ member var.
1677         (addLyXView, views_): add a new LyXView to the list of views_.
1678         (updateInset): loop over all LyXViews to call their own updateInset
1679         member function, returning a pointer to the Buffer owning the inset.
1680
1681         * BufferView_pimpl.C (loadLyXFile):
1682         * MenuBackend.C (expandLastfiles):
1683         * bufferlist.C (MenuWrite, QuitLyX):
1684         lastfiles is no longer a global variable.
1685         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1686
1687         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1688         static function. Access through LyX::cref().emergencyCleanup().
1689
1690 2003-10-14  André Pönitz  <poenitz@gmx.net>
1691
1692         * iterators.[Ch]: new direct access to innermost LyXText and Inset
1693
1694         * undo.[Ch]: restoring part of 'undo in insets'
1695
1696         * Makefile.am:
1697         * undo_funcs.[Ch]: merge with undo.[Ch]
1698
1699         * tabular.C: small cleansing stuff
1700
1701 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
1702
1703         * paragraph_funcs.C (readParToken): report unknown insets as error
1704         boxes. Use the outer paragraph as location (also for unknown
1705         tokens).
1706
1707         * factory.C (readInset): do not abort on reading an unknown inset.
1708         Eat it and return 0.
1709
1710 2003-10-13  Angus Leeming  <leeming@lyx.org>
1711
1712         * lyx_main.C (LyX): remove call to setDisplayTranslator().
1713
1714         * lyxrc.C: displayTranslator is now a function,
1715         declared in GraphicsTypes.h.
1716
1717 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1718
1719         * format.C: new placeholder $$a to pass the socket address.
1720
1721         * bufferlist.[Ch]: new function getBufferFromTmp.
1722
1723         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1724           files in the temporary dir.
1725
1726 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1727
1728         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1729
1730         * Makefile.am: add lyxsocket.[Ch].
1731
1732         * lyx_main.C (error_handler): handle SIGPIPE.
1733
1734 2003-10-13  André Pönitz  <poenitz@gmx.net>
1735
1736         * BufferView_pimpl.C:
1737         * lyxtext.h:
1738         * text.C:
1739         * text2.C:
1740         * text3.C:
1741         * undo_funcs.[Ch]: use paroffset_type instead of
1742           ParagraphList::iterators to prevent multiple conversion
1743           (and get a more robust interface)
1744
1745 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1746
1747         * lyxfunc.C (dispatch): RESULT -> dispatch_result
1748         * lyxtext.h: ditto
1749         * text3.C (dispatch): ditto
1750
1751 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1752
1753         * LaTeX.C (handleFoundFile): move the static to smaller scope,
1754         move the onlyfile, use onlyfile instead of foundfile in a couple
1755         of places.
1756
1757         * DepTable.C (update): flush the error stream a bit more
1758
1759 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1760
1761         * lyxserver.C (callback): adjust
1762
1763         * lyxfunc.C (getStatus): add a missing brace in commented code
1764         (ensureBufferClean): reindent
1765         (dispatch): delete version taking a string
1766
1767 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1768
1769         * LaTeX.C (deplog): move found file handlig from here...
1770         (handleFoundFile): .. to new function here.
1771         (deplog): make sure to discover several files mentioned on the
1772         same log line.
1773
1774 2003-10-10  André Pönitz  <poenitz@gmx.net>
1775
1776         * lyxfunc.C:
1777         * lyxtext.h:
1778         * tabular.C:
1779         * text.C:
1780         * text2.C:
1781         * text3.C: fix some of the tabular crashes
1782
1783 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1784
1785         * MenuBackend.C (binding): put debug message into Debug::KBMAP
1786
1787         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1788
1789 2003-10-09  André Pönitz  <poenitz@gmx.net>
1790
1791         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1792
1793         * BufferView.C:
1794         * BufferView_pimpl.C:
1795         * bufferview_funcs.C:
1796         * lyx_cb.C:
1797         * lyxcursor.C:
1798         * lyxfind.C:
1799         * lyxfunc.C:
1800         * lyxtext.h:
1801         * text.C:
1802         * text2.C:
1803         * text3.C:
1804         * text_funcs.[Ch]:
1805         * textcursor.[Ch]:
1806         * undo_funcs.C: adjust
1807
1808 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1809
1810         * text2.C (incrementItemDepth): new function, use a backtracking
1811         algorithm to discover the correct item depth.
1812         (resetEnumCounterIfNeeded): new function, use a backtracking
1813         algorithm to discover if counter reset is needed.
1814         (setCounter): use them. Simplify a bit. Add different labels for
1815         different item depths for itemize.
1816
1817         * paragraph.C (Paragraph): remove initialization of enumdepth
1818         (operator=): ditto
1819
1820         * paragraph.h: get rid of enumdepth, and use itemdepth both for
1821         enumerate and itemize. Change the type of itemdepth to signed char.
1822
1823 2003-10-08  André Pönitz  <poenitz@gmx.net>
1824
1825         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1826           thing assignable.
1827         * text.C:
1828         * text2.C: adjust
1829
1830         * tabular.[Ch]: fix crash after 'row-insert'
1831
1832 2003-10-08  Angus Leeming  <leeming@lyx.org>
1833
1834         Fix doxygen warnings.
1835
1836         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1837         Remove CutAndPaste:: prefix from header file declaration.
1838
1839         * LColor.h (fill): remove LColor:: prefix from declaration.
1840
1841         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1842         use lyx::depth_type rather than Paragraph::depth_type so that
1843         header file and .C file match.
1844
1845         * converter.h (intToFormat): remove Converters:: prefix from declaration.
1846
1847         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1848         * aspell.C: \file aspell_local.C -> \file aspell.C
1849         * gettext.C: \file gettext.C -> \file src/gettext.C
1850         * gettext.h: \file gettext.h -> \file src/gettext.h
1851         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1852         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1853         * text.C: \file text.C -> \file src/text.C
1854
1855         * toc.C: move comment so that doxygen is not confused.
1856
1857 2003-10-07  Angus Leeming  <leeming@lyx.org>
1858
1859         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1860
1861 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1862
1863         * aspell.C:
1864         * aspell_local.h: add forgotten std::string's.
1865
1866 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1867
1868         * LaTeXFeatures.C:
1869         * LyXAction.C:
1870         * factory.C:
1871         * lfuns.h:
1872         * lyxfunc.C:
1873         * text3.C: The Box patch. Fancybox support, minipage, parbox
1874
1875 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1876
1877         * CutAndPaste.h:
1878         * DepTable.h:
1879         * FloatList.h:
1880         * LaTeXFeatures.h:
1881         * ParagraphParameters.h:
1882         * TextCache.h:
1883         * Thesaurus.h:
1884         * bufferlist.h:
1885         * exporter.h:
1886         * importer.h:
1887         * lastfiles.h:
1888         * lyxfind.h:
1889         * lyxfont.h:
1890         * lyxlex.h:
1891         * lyxtextclasslist.h:
1892         * messages.h:
1893         * paragraph.h:
1894         * paragraph_pimpl.C:
1895         * textcursor.h: add <string> and other small fixes to make Lars'
1896         std::string patch compile with STLport.
1897
1898 2003-10-06  Angus Leeming  <leeming@lyx.org>
1899
1900         * LColor.h: Add missing #include <string>.
1901
1902 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1903
1904         * All most all file in all subdirs: Make <string> be the prefered
1905         way of getting to std::string, add using declarations.
1906
1907 2003-10-06  André Pönitz  <poenitz@gmx.net>
1908
1909         * metricsinfo.C: initialize LyXFont before changing attribute.
1910         (fixes the 'math in \emph is upright' bug)
1911
1912 2003-10-06  André Pönitz  <poenitz@gmx.net>
1913
1914         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1915
1916 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1917
1918         * graph.C:
1919         * paragraph_pimpl.C: Small fixes to build using STLport
1920
1921 2003-10-02  André Pönitz  <poenitz@gmx.net>
1922
1923         * lyxfunc.C:
1924         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1925
1926 2003-10-01  André Pönitz  <poenitz@gmx.net>
1927
1928         * factory.C: assert early
1929
1930 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1931
1932         * lyx_main.C: remove the global debug object
1933
1934         * debug.h: adjust for new debugstream
1935
1936         * debug.C: adjust for new debugstream and keep the global debug
1937         object here.
1938
1939 2003-09-22  Angus Leeming  <leeming@lyx.org>
1940
1941         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1942         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1943         an incomplete class LyXFont.
1944
1945 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1946
1947         * factory.C: bug fix in branches
1948
1949 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1950
1951         * lyxfunc.C (processKeySym): adjust
1952         (dispatch): adjust
1953         (dispatch): change arg name from ev to func, adjust
1954         (sendDispatchMessage): ditto
1955
1956         * lyx_main.C (defaultKeyBindings): adjust keybindings
1957         (deadKeyBindings): ditto
1958
1959         * kbsequence.C (addkey): return a FuncRequest
1960
1961         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1962
1963         * kbmap.C (bind): take a FuncRequest as arg, adjust
1964         (read): adjust
1965         (lookup): adjust
1966         (defkey): change to take a FuncRequest as arg, adjust
1967         (findbinding): take a FuncRequest as arg, adjust.
1968
1969         * funcrequest.h (operator=): added
1970
1971         * funcrequest.C (FuncRequest): default kb_action changed from
1972         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1973
1974         * buffer.C (dispatch): simplify
1975         (dispatch): adjust to take a FuncRequest as arg, adjust
1976
1977         * boost.C (assertion_failed): change assertion message slightly
1978
1979         * ToolbarBackend.C (read): simplify
1980
1981         * MenuBackend.C (binding): adjust call to findbinding, add a
1982         message if no binding is found.
1983         (read): simplify
1984         (expandToc): correct by adding a empty FuncRequest
1985
1986         * LyXAction.C: include <boost/assert.hpp>
1987         (isPseudoAction): delete function
1988         (LookupFunc): change name to...
1989         (lookupFunc): this. change return type to FuncRequest.
1990         (getActionName): take kb_action as arg, simplify
1991         (funcHasFlag): add an assert, simplify.
1992
1993 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1994
1995         * toc.C (action): return a FuncRequest, simplify
1996
1997         * lyxfunc.C (processKeySym): adjust
1998         (getStatus): delete version that takes an int.
1999         (getStatus): adjust
2000         (dispatch): delete version that takes action as int
2001         (dispatch): adjust
2002         (sendDispatchMessage): simplify and adjust
2003
2004         * funcrequest.C (getArg): take unsigned int as arg
2005
2006         * ToolbarBackend.C (read): adjust
2007         (add): delete version that takes func as a string.
2008         (getIton): take a FuncRequest as arg
2009
2010         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2011         action.
2012
2013         * MenuBackend.C (MenuItem): add a new construct that only takes a
2014         Kind, simplify the constructor use for submenus.
2015         (add): adjust
2016         (expandLastfiles): adjust
2017         (expandDocuments): adjust
2018         (expandFormats): adjust
2019         (expandFloatListInsert): adjust
2020         (expandFloatInsert): adjust
2021         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2022
2023         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2024         Remove class variables lyx_pseudo_map and lyx_arg_map
2025
2026         * LyXAction.C (searchActionArg): delete function
2027         (getPseudoAction): delete function
2028         (retrieveActionArg): delete function
2029         (LookupFunc): make it return kb_action, simplify.
2030         (getActionName): simplify
2031
2032         * factory.C (createInset): fix new bug
2033
2034 2003-09-19  Angus Leeming  <leeming@lyx.org>
2035
2036         * CutAndPaste.C (pasteSelection): remove fudge used to set the
2037         masterFilename_ parameter in the include inset.
2038
2039         * factory.C (createInset): changes due to the changes to InsetInclude.
2040
2041 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2042
2043         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2044
2045 2003-09-18  Angus Leeming  <leeming@lyx.org>
2046
2047         * buffer.C:
2048         * BufferView.C: pass the buffer when calling Inset::getLabelList,
2049         Inset::fillWithBibKeys.
2050         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2051
2052 2003-09-18  Angus Leeming  <leeming@lyx.org>
2053
2054         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2055         variables.
2056         (ctor): pass and store a 'Buffer const &'
2057         (buffer): new member function.
2058
2059         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2060         '*this' to the LaTeXFeatures ctor.
2061
2062 2003-09-18  Angus Leeming  <leeming@lyx.org>
2063
2064         * LColor.h:
2065         * lyxfont.C:
2066         * lyxfont.h:
2067         * lyxtext.h:
2068         * text.C: rename EnumLColor as LColor_color.
2069
2070 2003-09-18  Angus Leeming  <leeming@lyx.org>
2071
2072         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2073         remove #include "insets/insetbase.h" from cursor.h.
2074
2075 2003-09-18  Angus Leeming  <leeming@lyx.org>
2076
2077         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2078         InsetOld_code to remove #include "inset.h".
2079
2080         * iterators.C: add #include "insets/inset.h"
2081
2082 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
2083
2084         * BufferView.C: remove more locking stuff that apparently doesn't
2085         do anything sensible.
2086
2087 2003-09-16  André Pönitz  <poenitz@gmx.net>
2088
2089         * paragraph.[Ch]:
2090         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2091           performance boost.
2092
2093 2003-09-16  Angus Leeming  <leeming@lyx.org>
2094
2095         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2096
2097         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2098         arg/return type.
2099
2100         * paragraph.h: remove #include "lyxfont.h". Forward declare
2101         LyXFont_size.
2102
2103 2003-09-16  Angus Leeming  <leeming@lyx.org>
2104
2105         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2106         of support/textutils.h.
2107         (isWord): move the contents of support/textutils.h's IsWordChar here.
2108
2109         * buffer.C:
2110         * lyxfind.C:
2111         * rowpainter.C:
2112         * text.C:
2113         * text2.C: add #include "paragraph.h".
2114
2115         * rowpainter.C:
2116         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2117
2118 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2119
2120         * main.C:
2121         * lyx_main.C:
2122         * lyx_cb.C:
2123         * buffer.C:
2124         * LaTeX.C: use namespace alias for lyx::support::os
2125
2126 2003-09-16  Angus Leeming  <leeming@lyx.org>
2127
2128         * bufferparams.C:
2129         * bufferview_funcs.C:
2130         * factory.C:
2131         * lyxfunc.C:
2132         * paragraph_pimpl.C:
2133         * rowpainter.C:
2134         * text.C: add #include "LColor.h".
2135
2136 2003-09-16  Angus Leeming  <leeming@lyx.org>
2137
2138         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2139         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2140         return LyXFont &.
2141         Store the FontBits::color variable as an int rather than as an
2142         LColor::colorso that we can move LColor.h out of the lyxfont.h header
2143         file.
2144
2145         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2146         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2147         string calls together.
2148
2149         * lyxrc.C: add #include "LColor.h".
2150
2151 2003-09-15  Angus Leeming  <leeming@lyx.org>
2152
2153         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2154         a cow_ptr.
2155
2156 2003-09-15  Angus Leeming  <leeming@lyx.org>
2157
2158         * LColor.h: add an EnumLColor wrapper for LColor::color.
2159
2160         * lyxfont.[Ch] (color, setColor, realColor):
2161         * lyxtext.h, text.C (backgroundColor):
2162         pass EnumLColor args to/from the functions, rather than LColor::color
2163         ones.
2164
2165         * lyxfont.h:
2166         * lyxtext.h: forward declare EnumLColor.
2167
2168         * lyx_main.C: add #include "LColor.h".
2169
2170 2003-09-15  Angus Leeming  <leeming@lyx.org>
2171
2172         * .cvsignore: add lyx-gtk.
2173
2174 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2175
2176         * Chktex.C
2177         * LaTeX.C
2178         * LaTeXFeatures.C
2179         * ParagraphParameters.C
2180         * Spacing.C
2181         * buffer.C
2182         * bufferparams.C
2183         * bufferview_funcs.C
2184         * chset.C
2185         * counters.C
2186         * funcrequest.C
2187         * lyxfont.C
2188         * lyxgluelength.C
2189         * lyxlength.C
2190         * paragraph.C
2191         * paragraph_funcs.C
2192         * text3.C
2193         * vc-backend.C: remove usage of STRCONV
2194
2195 2003-09-15  Angus Leeming  <leeming@lyx.org>
2196
2197         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2198         explicitly define the color passed to the painter.
2199
2200 2003-09-15  Angus Leeming  <leeming@lyx.org>
2201
2202         * bufferparams.C (BufferParams): reorder member initializers to avoid
2203         compiler warning.
2204
2205 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
2206
2207         * CutAndPaste.C (pasteSelection): remove an outdated #warning
2208         * text.C (updateRowPositions): remove an unusual nop
2209
2210 2003-09-12  André Pönitz  <poenitz@gmx.net>
2211
2212         * BufferView_pimpl.C:
2213         * Bullet.C:
2214         * layout.h:
2215         * lyxfunc.C:
2216         * lyxlayout.[Ch]:
2217         * lyxtextclass.C:
2218         * rowpainter.C:
2219         * text.C:
2220         * text2.C:
2221         * Counters.[Ch]: finish the 'automatic counters' job
2222
2223 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2224
2225         * aspell.C: include <boost/assert.cpp> (compile fix)
2226
2227 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
2228
2229         * boost.C (assertion_failed): use lyx::support::abort instead of
2230         assert.
2231
2232 2003-09-10  Angus Leeming  <leeming@lyx.org>
2233
2234         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2235         with their _fwd progeny.
2236
2237 2003-09-09  Angus Leeming  <leeming@lyx.org>
2238
2239         134 files throughtout the source tree: replace 'using namespace abc;'
2240         directives with the appropriate 'using abc::xyz;' declarations.
2241
2242 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2243
2244         * boost.C (emergencyCleanup): moved here from LAssert.c
2245         (assertion_failed): new function, called by BOOST_ASSERT
2246
2247         * several files: change Assert to BOOST_ASSERT
2248
2249 2003-09-09  Angus Leeming  <leeming@lyx.org>
2250
2251         * buffer.[Ch]: Add an Impl class and move Buffer's member
2252         variables into it. As a result move several header files out of
2253         buffer.h.
2254
2255         Add header files to lots of .C files all over the tree as a result.
2256
2257 2003-09-09  Angus Leeming  <leeming@lyx.org>
2258
2259         * buffer.[Ch]: make Buffer's member variables private. Add
2260         accessor functions.
2261
2262         Lots of changes all over the tree as a result.
2263
2264 2003-09-08  Angus Leeming  <leeming@lyx.org>
2265
2266         * graph.C: #include <config.h>.
2267
2268 2003-09-08  Angus Leeming  <leeming@lyx.org>
2269
2270         * BranchList.C:
2271         * BufferView.C:
2272         * BufferView_pimpl.C:
2273         * CutAndPaste.C:
2274         * DepTable.C:
2275         * LaTeX.C:
2276         * LaTeXFeatures.C:
2277         * LyXAction.C:
2278         * MenuBackend.C:
2279         * TextCache.C:
2280         * aspell.C:
2281         * buffer.C:
2282         * bufferlist.C:
2283         * changes.C:
2284         * chset.C:
2285         * converter.C:
2286         * counters.C:
2287         * debug.C:
2288         * graph.C:
2289         * ispell.C:
2290         * lyx_cb.C:
2291         * lyxfind.C:
2292         * lyxfunc.C:
2293         * lyxlex_pimpl.C:
2294         * lyxrc.C:
2295         * lyxrow.C:
2296         * paragraph.C:
2297         * rowpainter.C:
2298         * texrow.C:
2299         * text.C:
2300         * text2.C:
2301         * toc.C: remove redundant using directives.
2302
2303 2003-09-07  Angus Leeming  <leeming@lyx.org>
2304
2305         * LaTeXFeatures.h: remove #include "support/types.h".
2306         * ToolbarBackend.h: remove #include <algorithm>.
2307         * changes.h: remove #include <ctime>.
2308         * debug.h: remove #include <iosfwd>.
2309         * graph.h: remove #include "support/std_string.h".
2310         * lyx_main.h: remove #include <csignal>.
2311         * lyxlex_pimpl.h: remove #include <fstream>.
2312         * sgml.h: remove #include <algorithm>, <utility>.
2313         * toc.h: remove #include "support/std_ostream.h".
2314         Add #include <iosfwd>.
2315
2316 2003-09-07  Angus Leeming  <leeming@lyx.org>
2317
2318         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2319
2320         * converter.h: forward declare LatexRunParams.
2321         * encoding.h: remove #include "lyxrc.h".
2322         * lyxtext.h: remove #include "LColor.h".
2323         * lyxtextclass.h: remove #include "support/types.h".
2324         * trans.h: remove #include "tex-accent.h".
2325         * trans_mgr.h: remove #include "tex-accent.h".
2326         * insets/inset.h: remove #include "support/types.h", <vector>.
2327         * insets/insetcollapsable.h: remove #include "LColor.h".
2328         * insets/insetinclude.h: remove #include "dimension.h".
2329         * insets/insetlatexaccent.h: remove #include "dimension.h".
2330         * insets/insetoptarg.h:: remove #include "insettext.h".
2331         * insets/insettext.h: remove #include "dimension.h",
2332         <boost/shared_ptr.hpp>
2333
2334         * insets/renderers.h: add #include "dimension.h".
2335         * insets/updatableinset.h: add #include "support/types.h".
2336
2337         * many .C files: Associated changes.
2338
2339 2003-09-06  Angus Leeming  <leeming@lyx.org>
2340
2341         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2342         one, inside testInvariant.
2343
2344         * PrinterParams.C: new file.
2345         * PrinterParams.[Ch]: move the function bodies out of line.
2346
2347 2003-09-06  Angus Leeming  <leeming@lyx.org>
2348
2349         * ParagraphParameters.h: forward declare ParameterStruct rather than
2350         including its header file.
2351         (depth): moved out-of-line.
2352
2353 2003-09-06  Angus Leeming  <leeming@lyx.org>
2354
2355         * BufferView_pimpl.h:
2356         * kbmap.h:
2357         * kbsequence.h:
2358         * lyxfunc.h: forward declare LyXKeySym rather than
2359         #include "frontends/LyXKeySym.h".
2360
2361         * BufferView_pimpl.C:
2362         * kbmap.C:
2363         * kbsequence.C:
2364         * lyxfunc.C: associated changes.
2365
2366 2003-09-06  Angus Leeming  <leeming@lyx.org>
2367
2368         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2369         As a result, can remove the #include "insets/inset.h" from BufferView.h
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         * buffer_funcs.C:
2379         * buffer.h:
2380         * bufferlist.C:
2381         * BufferView.C:
2382         * bufferview_funcs.C:
2383         * BufferView_pimpl.C:
2384         * CutAndPaste.C:
2385         * lyx_cb.C:
2386         * lyxfunc.C:
2387         * paragraph.h:
2388         * ParagraphParameters.C:
2389         * tabular.C:
2390         * text3.C:
2391         * toc.C:
2392         * undo_funcs.C:
2393         * frontends/controllers/ControlDocument.C:
2394         * insets/insetcaption.C: rearrange the #includes into some sort of
2395         coherent order.
2396
2397         * buffer.h: remove #includes ErrorList.h, undo.h
2398
2399 2003-09-06  Angus Leeming  <leeming@lyx.org>
2400
2401         * support/types.h: add a 'depth_type' typedef, used to store the
2402         nesting depth of a paragraph.
2403
2404         * paragraph.h:
2405         * ParameterStruct.h: use this lyx::depth_type typedef rather than
2406         defining explicitly.
2407
2408         * buffer.h:
2409         * paragraph_funcs.h:
2410         * ParagraphParameters.h:
2411         * sgml.h: use lyx::depth_type rather than Paragraph or
2412         ParameterStruct's depth_type.
2413
2414         * buffer.h
2415         * paragraph_funcs.h: no need to #include paragraph.h anymore.
2416
2417         * BufferView.C:
2418         * BufferView_pimpl.C:
2419         * CutAndPaste.C:
2420         * ParagraphParameters.C:
2421         * buffer_funcs.C:
2422         * bufferlist.C:
2423         * bufferview_funcs.C:
2424         * lyx_cb.C:
2425         * lyxfunc.C:
2426         * tabular.C:
2427         * text3.C:
2428         * toc.C:
2429         * undo_funcs.C:
2430         * frontends/LyXView.C:
2431         * frontends/controllers/ControlDocument.C:
2432         * frontends/controllers/ControlErrorList.C:
2433         * insets/insetbibitem.C:
2434         * insets/insetbranch.C:
2435         * insets/insetcaption.C:
2436         * insets/insetcollapsable.C:
2437         * insets/insetenv.C:
2438         * insets/insetert.C:
2439         * insets/insetfloat.C:
2440         * insets/insetfoot.C:
2441         * insets/insetfootlike.C:
2442         * insets/insetnewline.C:
2443         * insets/insetquotes.C:
2444         * insets/insettabular.C:
2445         * insets/insettext.C:
2446         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2447
2448         * frontends/controllers/ControlChanges.C: #include "changes.h".
2449
2450 2003-09-06  Angus Leeming  <leeming@lyx.org>
2451
2452         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2453         than #including paragraph.h.
2454
2455         * ParagraphList.h:
2456         * RowList.h: deleted. Superfluous.
2457
2458         * CutAndPaste.h:
2459         * iterators.h:
2460         * lyxcursor.h:
2461         * lyxtext.h:
2462         * text_funcs.h:
2463         * undo.h:
2464         * undo_funcs.h:
2465         * insets/inset.h:
2466         * insets/insettext.h: use ParagraphList_fwd.h rather than
2467         ParagraphList.h.
2468
2469         * paragraph.h: don't forward declare ParagraphList.
2470
2471         * buffer.h:
2472         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2473         rather than ParagraphList.h. paragraph.h is still needed for the
2474         Paragraph::depth_type parameters.
2475
2476         * textcursor.h: enable it to compile stand-alone in light of the
2477         above changes.
2478
2479         * bufferview_funcs.C:
2480         * iterators.C:
2481         * lyxfunc.C:
2482         * lyxrow_funcs.C:
2483         * paragraph.C:
2484         * rowpainter.C:
2485         * text.C:
2486         * text2.C:
2487         * text3.C:
2488         * text_funcs.C:
2489         * textcursor.C:
2490         * undo.C:
2491         * frontends/controllers/ControlParagraph.C:
2492         * frontends/controllers/ControlTabular.C:
2493         * insets/insetmarginal.C:
2494         * insets/insetminipage.C:
2495         * insets/insetnote.C:
2496         * insets/insetoptarg.C: add header files needed to compile again.
2497
2498 2003-09-06  Angus Leeming  <leeming@lyx.org>
2499
2500         * RowList_fwd.h: new file, forward-declaring Row rather than
2501         #including lyxrow.h.
2502
2503         * lyxrow_funcs.h:
2504         * lyxtext.h:
2505         * paragraph.h:
2506         * insets/insettext.h: use it instead of RowList.h
2507
2508         * bufferview_funcs.C:
2509         * lyxfunc.C:
2510         * lyxrow_funcs.C:
2511         * paragraph.C:
2512         * rowpainter.C:
2513         * text.C:
2514         * text2.C:
2515         * text3.C: #include "RowList.h".
2516
2517 2003-09-05  Angus Leeming  <leeming@lyx.org>
2518
2519         * factory.C (createInset):
2520         * vspace.C (c-tor): replace sscanf call with an istringstream.
2521         * ispell.C: re-add missing HP/UX headers.
2522         * lyxserver.C: re-add missing  os2 headers.
2523
2524 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
2525
2526         * BranchList.C:
2527         * graph.C:
2528         * ispell.C:
2529         * lastfiles.C:
2530         * lyx_cb.C:
2531         * lyxserver.C:
2532         * texrow.C:
2533         * text3.C: re-add missing system headers, needed for 2.95.2.
2534
2535 2003-09-05  Angus Leeming  <leeming@lyx.org>
2536
2537         Changes most place everywhere due to the removal of using directives
2538         from support/std_sstream.h.
2539
2540 2003-09-05  Angus Leeming  <leeming@lyx.org>
2541
2542         Replace LString.h with support/std_string.h,
2543         Lsstream.h with support/std_sstream.h,
2544         support/LIstream.h with support/std_istream.h,
2545         support/LOstream.h with support/std_ostream.h.
2546
2547         Changes resulting throughout the tree.
2548
2549 2003-09-05  Angus Leeming  <leeming@lyx.org>
2550
2551         * sgml.h: ensure that the header file can be compiled stand-alone.
2552         * *.C: strip out redundant #includes. (320 in total.)
2553
2554 2003-09-04  Angus Leeming  <leeming@lyx.org>
2555
2556         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2557         here (from getPackages).
2558
2559         * debug.[Ch]: add a new EXTERNAL tag.
2560
2561 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2562
2563         * text2.C (cursorEnd): simplify
2564         (setCursor): adjust
2565         (getColumnNearX): adjust
2566
2567         * text.C (computeBidiTables): adjust
2568         (fill): adjust
2569
2570         * rowpainter.C (paintChars): adjust
2571         (paintSelection): adjust
2572         (paintChangeBar): adjust
2573         (paintText): adjust
2574
2575         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2576         lastPos instead.
2577         (numberOfSeparators): adjust
2578
2579 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2580
2581         * LyXAction.C:
2582         * box.[Ch]:
2583         * lfuns.h:
2584         * lyxfunc.C:
2585         * text3.C: Restricts the mouse click functionality
2586         of insets like bibtex, include, toc and floatlist to the visible
2587         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2588         up the dialogs. Cursor has to be in front of the inset (i.e.
2589         start of row) for this to function.
2590
2591 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2592
2593         * bufferview_funcs.C (currentState): output row information
2594
2595 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2596
2597         * bufferview_funcs.C (currentState): output paragraph position
2598
2599 2003-09-04  Angus Leeming  <leeming@lyx.org>
2600
2601         * FloatList.h: move out #include "Floating.h".
2602         * LaTeX.h: move out #include "DepTable.h".
2603         * LyXAction.h: move out #include "funcrequest.h".
2604         * buffer.h: move out #include "author.h", "iterators.h".
2605         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2606         * lyx_main.h: move out #include "errorlist.h".
2607         * lyxfunc.h: move out #include "FuncStatus.h".
2608         * lyxtext: move out #include "lyxcursor.h".
2609         * paragraph_pimpl.h: move out #include "counters.h".
2610
2611 2003-09-03  Angus Leeming  <leeming@lyx.org>
2612
2613         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2614         preamble_snippets list, enabling us to add snippets to the preamble
2615         only if the snippet was not there already.
2616
2617 2003-09-04  Angus Leeming  <leeming@lyx.org>
2618
2619         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2620
2621 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2622
2623         * lyxfunc.C (dispatch): if fitCursor did something be sure to
2624         update
2625
2626 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2627
2628         * BranchList.C: point fix, earlier forgotten
2629
2630 2003-09-02  Angus Leeming  <leeming@lyx.org>
2631
2632         * box.C (contains): renamed from 'contained' after a fantastic
2633         amount of hot air.
2634
2635 2003-09-02  John Levon  <levon@movementarian.org>
2636
2637         * BufferView.C:
2638         * lyxcursor.h:
2639         * lyxcursor.C:
2640         * lyxfunc.C:
2641         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2642
2643 2003-09-02  John Levon  <levon@movementarian.org>
2644
2645         * text2.C: simplification of cursorEnd(), including partial
2646         fix for bug 1376
2647
2648 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2649
2650         * buffer.C (readFile): add a space
2651
2652 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
2653
2654         * BufferView_pimpl.C (update): remove bogus fitCursor() call
2655
2656 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2657
2658         * buffer.C (readFile): new function, take a filename and a
2659         ParagraphList::iterator
2660         (readFile): adjust
2661         (readFile): adjust, make it private. don't use setStream, make
2662         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2663         always contain the filename.
2664
2665         * BufferView.C (insertLyXFile): simplify and make it work for
2666         gzipped files.
2667
2668 2003-08-30  John Levon  <levon@movementarian.org>
2669
2670         * Makefile.am: fix dist (from Kayvan)
2671
2672 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2673
2674         * most files: change to use const Buffer refs
2675
2676 2003-08-27  André Pönitz  <poenitz@gmx.net>
2677
2678         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2679         on top of ownerPar().
2680
2681 2003-08-27  John Levon  <levon@movementarian.org>
2682
2683         * funcrequest.C: properly initialise POD members
2684
2685 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2686
2687         * lyxtext.h (top_y): move top_y from here
2688         * text.C:
2689         * text2.C:
2690         * text3.C:
2691         * BufferView.[Ch]:
2692         * BufferView_pimpl.[Ch]: to here
2693         * frontends/screen.C:
2694         * insets/insettabular.C:
2695         * insets/insettext.C: adjust
2696         * rowpainter.[Ch] (paintRows): remove LyXText & argument
2697
2698 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2699
2700         * BufferView.[Ch]:
2701         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2702
2703 2003-08-26  André Pönitz  <poenitz@gmx.net>
2704
2705         * paragraph_func.[Ch] (outerPar): new function
2706
2707         * paragraph.C:
2708         * paragraph_funcs.C:
2709         * paragraph_funcs.h:
2710         * paragraph_pimpl.C:
2711         * text2.C: remove Inset::par_owner
2712
2713 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
2714
2715         * lyxrow_funcs.C:
2716         * lyxtext.h:
2717         * text.C:
2718         * text2.C: eliminates the needFullRow/display() stuff
2719         altogether, putting the logic in metrics/draw in the insets.
2720
2721 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
2722
2723         * text2.C (redoParagraphInternal, redoParagraphs):
2724         * text.C (redoParagraph): add a call to updateRowPositions at the
2725         end of each 'metrics-like' call. Remove all others.
2726         (getRow): remove the 'y-computing' version.
2727         (getRowNearY): do not compute nor return the real y. Solve the
2728         'y < 0' problem and simplify.
2729
2730 2003-08-22  Angus Leeming  <leeming@lyx.org>
2731
2732         * *.[Ch]: clean-up of licence and author blurbs.
2733         Also move config.h out of a few .h files and into a few .C files.
2734
2735 2003-08-22  André Pönitz  <poenitz@gmx.net>
2736
2737         * lyxrow.[Ch]: add x_ and *fill_ members
2738
2739         * lyxtext.h:
2740         * text.C:
2741         * rowpainter.C:
2742         * text2.C: adjust/remove prepareToPrint() calls
2743
2744 2003-08-22  André Pönitz  <poenitz@gmx.net>
2745
2746         * lyxrow.[Ch]: add  end_ member
2747
2748         * lyxrow_funcs.C: use LyXRow::end_
2749
2750         * lyxtext.h (singleWidth): add LyXFont parameter
2751
2752         * rowpainter.C:
2753         * text2.C: adjust LyXText::singleWidth() calls
2754
2755         * text.C (redoParagraph): simplify row breaking logic
2756
2757
2758 2003-08-19  André Pönitz  <poenitz@gmx.net>
2759
2760         * funcrequest.C: initialize button_ member
2761
2762         * text3.C:
2763         * rowpainter.[Ch]: interface consolidation
2764
2765 2003-08-18  André Pönitz  <poenitz@gmx.net>
2766
2767         * BufferView.C:
2768         * BufferView_pimpl.C:
2769         * lyxfind.C:
2770         * paragraph_funcs.C:
2771         * rowpainter.C:
2772         * text3.C: remove LyXScreen::draw() and fitCursor calls
2773
2774         * BranchList.h: remove spurious semicolons
2775
2776         * MenuBackend.C: fix branchlist related crash
2777
2778 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
2779
2780         * BranchList.[Ch]:
2781         * InsetList.[Ch]:
2782         * LColor.[Ch]:
2783         * LyXAction.C:
2784         * Makefile.am:
2785         * MenuBackend.[Ch]:
2786         * bufferparams.[Ch]:
2787         * factory.C:
2788         * lfuns.h:
2789         * lyxfunc.C:
2790         * text3.C: implements the 'branch inset'
2791         idea. This allows the output of various versions of a document
2792         from a single source version, selectively outputing or suppressing
2793         output of parts of the text.
2794         This implementation contains a 'branch list editor' in a separate
2795         tab of the document settings dialog. Branches are user definable
2796         and have a "display colour" to distinguish them on-screen.
2797
2798         ColorHandler was somewhat cleaned up.
2799         (1) make possible a dynamically growing LColor list by allowing
2800         the graphic context cache to grow along (vector);
2801         (2) eliminate an IMHO unnecessary step in colour allocation.
2802
2803 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
2804
2805         * BufferView_pimpl.C: compile fix
2806
2807 2003-08-15  André Pönitz  <poenitz@gmx.net>
2808
2809         * rowpainter.C: remove extra metrics calls
2810
2811         * lyxtext.h: merge the two constructors into a single one,
2812           pass reference to owner's par list
2813
2814         * BufferView_pimpl.C:
2815         * text.C:
2816         * text2.C: adjust
2817
2818 2003-08-15  André Pönitz  <poenitz@gmx.net>
2819
2820         * lyxrow_funcs.[Ch]:
2821         * lyxtext.h:
2822         * paragraph.h:
2823         * paragraph_funcs.C:
2824         * rowpainter.C:
2825         * text.C:
2826         * text2.C:
2827         * text3.C:
2828         * text_funcs.C: split LyXText::rowlist_ into individual
2829         Paragraph::rows_ chunks
2830
2831         * BufferView.[Ch]:
2832         * BufferView_pimpl.[Ch]:
2833         * lyxfind.C:
2834         * lyxtext.h:
2835         * text3.C: remove toggleSelection()
2836
2837 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
2838
2839         * bufferlist.C: beautify two alerts (shorter text of buttons)
2840         * buffer.C: Remove redundant ' ' from message
2841         * tabular.h:
2842         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2843         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2844         rename VALIGN_CENTER to VALIGN_MIDDLE
2845
2846 2003-08-11  André Pönitz  <poenitz@gmx.net>
2847
2848         * lyxtext.h (getPar):
2849         * text.C: new function
2850
2851 2003-08-11  André Pönitz  <poenitz@gmx.net>
2852
2853         * Makefile.am:
2854         * tracer.[Ch]: remove unneeded files
2855
2856         * InsetList.[Ch]: remove resizeInsetsLyXText()
2857
2858         * lyxtext.h:
2859         * text.C:
2860         * text2.C:
2861         * text3.C: merge insertParagraphs() and appendParagraph()
2862         remove breakAgain(), update()
2863
2864         * BufferView_pimpl.[Ch]:
2865         * bufferview_funcs.[Ch]:
2866         * lyxfunc.C:
2867         * paragraph.[Ch]:
2868         * rowpainter.C:
2869         * tabular.C: adjust after text & InsetList changes.
2870
2871 2003-08-08  André Pönitz  <poenitz@gmx.net>
2872
2873         * text.C (insertChar, backspace): replace rowlist fiddling
2874         with rebreak of full par
2875
2876         * lyxtext.h:
2877         * text.C (breakAgainOneRow, redoHeightOfParagraph,
2878         checkParagraph, updateInset): removed
2879
2880 2003-08-07  André Pönitz  <poenitz@gmx.net>
2881
2882         * paragraph.C:
2883         * text3.C: merge some LFUN handlers, remove dead code
2884
2885 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2886
2887         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2888
2889 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
2890
2891         * text2.C (DEPM): fix part of bug 1255 and 1256
2892
2893 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2894
2895         * BufferView_pimpl.C (workAreaDispatch): change to use
2896         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2897         that are no mouse related.
2898
2899 2003-08-05  André Pönitz  <poenitz@gmx.net>
2900
2901         * BufferView.[Ch]:
2902         * BufferView_pimpl.[Ch]:
2903         * bufferview_funcs.C:
2904         * text2.C:
2905         * text3.C: rip out "deep update"
2906
2907         * textcursor.[Ch] (last_sel_cursor): remove unused member
2908
2909 2003-08-04  André Pönitz  <poenitz@gmx.net>
2910
2911         * BufferView.[Ch]:
2912         * BufferView_pimpl.[Ch]:
2913         * ParagraphParameters.C:
2914         * bufferview_funcs.C:
2915         * lyx_cb.C:
2916         * lyxfind.C:
2917         * lyxfunc.C:
2918         * text.C:
2919         * text2.C:
2920         * text3.C: replace "complicated" BufferView::update(...) calls with
2921         simpler ones.
2922
2923         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2924
2925 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2926
2927         * Makefile.am (lyx_SOURCES): add paper.h
2928
2929 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2930
2931         * Makefile.am: move things around so that both lyx-qt and
2932         lyx-xforms can be built (according to --with-frontend). Then lyx
2933         is a symbolic link to lyx-[firstfrontend]
2934
2935 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2936
2937         * Always use std::endl with lyxerr
2938
2939 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2940
2941         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2942
2943 2003-08-01  André Pönitz  <poenitz@gmx.net>
2944
2945         * BufferView.[Ch]:
2946         * BufferView_pimpl.[Ch]:
2947         * lyxfunc.C:
2948         * text3.C: merge BufferView::repaint() and BufferView::update()
2949
2950 2003-08-01  José Matos  <jamatos@lyx.org>
2951
2952         * buffer.[Ch]: file_format is no longer a buffer data element.
2953
2954 2003-08-01  André Pönitz  <poenitz@gmx.net>
2955
2956         * BufferView.C:
2957         * lyxtext.h:
2958         * text.C:
2959         * text2.C: make redoParagraph more independent of current cursor
2960
2961         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2962         * text.C:
2963         * text2.C: remove unneeded members
2964
2965 2003-07-30  André Pönitz  <poenitz@gmx.net>
2966
2967         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2968
2969         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2970           create a single function...
2971
2972         * paragraph_funcs.C (moveItem): ... here.
2973
2974         * text.C:
2975           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2976
2977 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2978
2979         * LColor.[Ch]: Add comment and greyedout logical colors.
2980
2981 2003-07-30  André Pönitz  <poenitz@gmx.net>
2982
2983         * tabular.C: don't use Assert too heavily. This crashes where it
2984           shouldn't
2985
2986 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2987
2988         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2989         is disabled (bug 1232)
2990
2991 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2992
2993         * factory.C: limited 'arg' scope
2994
2995 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2996
2997         * factory.C: fixed Note submenu issues
2998
2999 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3000
3001         * factory.C: submenu for Note/Comment/Greyedout
3002
3003 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
3004
3005         * lyx_main.C (LyX):
3006         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3007
3008 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
3009
3010         * LaTeXFeatures.C:
3011         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3012         greyedout. Patch provided by Jürgen Spitzmüller.
3013
3014 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3015
3016         * kbmap.C (read): fix error message when reading bind files
3017
3018 2003-07-29  Angus Leeming  <leeming@lyx.org>
3019
3020         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3021         certainly does not do what it purports to do. I am doing it, and
3022         us, a favour by killing it.
3023
3024 2003-07-28  José Matos  <jamatos@lyx.org>
3025
3026         * buffer.C (readBody, do_writeFile):
3027         * paragraph.C(readParagraph): \end_document replaces \the_end.
3028
3029 2003-07-29  André Pönitz  <poenitz@gmx.net>
3030
3031         * BufferView.[Ch]:
3032         * BufferView_pimpl.[Ch]:
3033         * lyxfunc.C:
3034         * text2.C:
3035         * text3.C:
3036         * textcursor.[Ch]: remove toggleToggle & Co
3037
3038 2003-07-28  José Matos  <jamatos@fep.up.pt>
3039
3040         * buffer.C (readParagraph):
3041         * params_func (readParToken, readParagraph):
3042         * paragraph.C (write): \layout -> \begin_layout.
3043
3044 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3045
3046         * lyxlex_pimpl.C (setFile): clean up slightly.
3047
3048         * bufferparams.h: add compressed var
3049
3050         * buffer_funcs.C (readFile): adjust for LyXLex change
3051         (newFile): ditto + simplify
3052
3053         * buffer.C (writeFile): handle writing of compressed files
3054
3055         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3056         Check if the file is compressed and set a bufferparm if so.
3057
3058         * Makefile.am (lyx_LDADD): remove explicit -lz
3059
3060 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3061
3062         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3063         makeDocBookFile): put the real LyX version in the first line of
3064         the file
3065
3066         * version.h:
3067         * version.C.in: remove lyx_docversion
3068
3069         * tabular.C (write_attribute): add a template-based version to
3070         write enums properly
3071
3072 2003-07-28  André Pönitz  <poenitz@gmx.net>
3073
3074         * lyxtext.h:
3075         * text.C:
3076         * text2.C:
3077         * text3.C: use doubles again for x-coordinates. They are needed.
3078
3079 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3080
3081         * messages.C (getLocaleDir): use lyx_localedir()
3082
3083         * lyxlex_pimpl.C (setFile): compress stuff
3084
3085         * buffer.C (writeFile): add some compression stuff
3086         (do_writeFile): new func, dont call expliti close... will this
3087         breake anything?
3088
3089         * Makefile.am (lyx_LDADD): add -lz
3090
3091 2003-07-28  José Matos  <jamatos@fep.up.pt>
3092
3093         * buffer.C: increment file format.
3094         * paragraph_funcs (readParagraph, readParToken):
3095         * paragraph.C (readParagraph): add \end_layout.
3096
3097 2003-07-27  Angus Leeming  <leeming@lyx.org>
3098
3099         * Makefile.am: remove special casing for configure-time setting of
3100         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3101
3102         * lyx_main.C (init): remove all Jean-Marc's magic setting of
3103         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3104
3105 2003-07-26  André Pönitz  <poenitz@gmx.net>
3106
3107         * paragraph_func.[Ch]:
3108         * paragraph.C (realizeFont): inline it whereever it is used
3109
3110         * rowpainter.C:
3111         * text.C:
3112         * text2.C:
3113         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3114
3115
3116 2003-07-26  André Pönitz  <poenitz@gmx.net>
3117
3118         *       lyxtext.h:
3119         * text.C:
3120         * text2.C: get rid of LyXText::need_break_row
3121
3122 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3123
3124         * toc.[Ch]: put namespace toc inside namespace lyx
3125
3126         * MenuBackend.C (expandToc2): adjust for lyx::toc
3127         (expandToc): ditto
3128
3129         * lyxfunc.C (dispatch): adjust for lyx::find
3130
3131         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3132         lyx::find instead. Reorganize a bit.
3133         (LyXReplace): rename to replace
3134         (LyXFind): rename to find
3135
3136         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3137         (dispatch): ditto
3138
3139 2003-07-26  André Pönitz  <poenitz@gmx.net>
3140
3141         * text.C (setHeightOfRow): restrict scope of temporary variable
3142
3143         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
3144           code (never has been used?)
3145
3146 2003-07-27  Asger Alstrup  <alstrup@local>
3147
3148         * text.C (fill): Optimise algorithm to exploit that we can reuse
3149         the LyXFont for many characters.
3150         (setHeightOfRow): Same thing.
3151         (rowBreakPoint): Same thing.
3152
3153 2003-07-26  Asger Alstrup  <alstrup@local>
3154
3155         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3156
3157         * text.C (singleWidth): Spurious font copying in hot-spot
3158         singleWidth avoided. Reorder tests for arabic for efficiency.
3159
3160         * text.C (fill): handle empty paragraphs better.
3161
3162 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3163
3164         * ispell.C:
3165         * encoding.h: add includes
3166
3167         * lyxrc.C: remove reading of bind files
3168
3169         * lyx_main.C (init): setup bindings and menus only if we have a
3170         gui.
3171
3172         * kbmap.C (read): new method. Do the actual reading of bind
3173         files.
3174
3175         * converter.C (dvipdfm_options):
3176         * bufferparams.C:
3177         * lyxrc.C (read):
3178         (output): adapt PAPER_* enums.
3179
3180         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3181
3182         * bufferparams.h: remove paper-related enums from there
3183
3184         * paper.h: New file. A trivial header file to hold paper-related
3185         enums. It should later expand to contain many paper-related
3186         horrors access.
3187
3188         * lyxrc.C: declare extern displayTranslator
3189
3190 2003-07-27  José Matos  <jamatos@fep.up.pt>
3191
3192         * tabular.[Ch] (linuxdoc): add support for tables and figures
3193         (linuxdoc).
3194
3195 2003-07-27  José Matos  <jamatos@fep.up.pt>
3196
3197         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3198         consistency in both functions.
3199         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3200
3201 2003-07-26  Asger Alstrup  <alstrup@local>
3202
3203         * rowpainter.C (paintRows): Change algorithm to work directly on
3204         the insets rather than asking every character in the document
3205         whether its an inset.
3206
3207 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
3208
3209         * buffer.C (openFileWrite): factorize some code
3210
3211 2003-07-26  Angus Leeming  <leeming@lyx.org>
3212
3213         * lyx_cb.C:
3214         * lyx_main.[Ch]: replace occurances of system_tempdir with
3215         os::getTmpDir().
3216
3217 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3218
3219         * rename Inset to InsetOld
3220
3221 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
3222
3223         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3224         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3225         which I think is a bit clearer. EDIT is gone, since it was
3226         premature optimisation, and broken for mathed anyway.
3227         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3228         with cursor positioning in insets as well (math insets still do not
3229         work, but that's a different story anyway.) It mysteriously
3230         crashes sometimes with undo in the first paragraph, but I'm fairly
3231         confident that this is a compiler bug.
3232
3233 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3234
3235         * paragraph.C (Paragraph): adjust for new clone return type
3236         (operator==): ditto
3237         (copyIntoMinibuffer): ditto
3238
3239 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
3240
3241         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3242         by not having a special case, and always doing a full rebreak of
3243         the document after undo.
3244
3245 2003-07-23  Angus Leeming  <leeming@lyx.org>
3246
3247         * factory.C (createInset): InsetExternal::setParams now takes a
3248         Buffer const * arg.
3249
3250 2003-07-23  Angus Leeming  <leeming@lyx.org>
3251
3252         * factory.C (createInset): changed interface to the external and
3253         graphics mailers' string2params functions.
3254
3255 2003-07-23  Angus Leeming  <leeming@lyx.org>
3256
3257         * factory.C (createInset): pass a
3258         Buffer const * parameter to InsetExternalMailer's string2params.
3259
3260 2003-07-22  John Levon  <levon@movementarian.org>
3261
3262         * Thesaurus.h: include the right aiksaurus header
3263
3264 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3265
3266         * MenuBackend.C (expand): check menu shortcuts unconditionally
3267
3268 2003-07-21  Angus Leeming  <leeming@lyx.org>
3269
3270         * factory.C (createInset): pass a
3271         buffer_path parameter to InsetGraphicsMailer's string2params.
3272
3273 2003-07-21  Angus Leeming  <leeming@lyx.org>
3274
3275         * BufferView_pimpl.C (buffer):
3276         * buffer.C (d-tor):
3277         * lyx_main.C (LyX):
3278         * lyxfunc.C (dispatch):
3279         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3280         rather than the grfx shortcut.
3281
3282 2003-07-21  André Pönitz  <poenitz@gmx.net>
3283
3284         * rowpainter.C: remove unused variables
3285
3286         * tabular_funcs.C:
3287         * tabular_funcs.h: move to tabular.C
3288         * Makefile.am: adjust
3289
3290         * tabular.[Ch]: basic optical cleaning
3291
3292         * author.h: pass references, not values
3293
3294 2003-07-18  André Pönitz  <poenitz@gmx.net>
3295
3296         * lyxtext.h:
3297         * metricsinfo.C:
3298         * metricsinfo.h:
3299         * rowpainter.C:
3300         * text.C:
3301         * text2.C:
3302         * text3.C: two-phase drawing for InsetText and InsetTabular
3303         some float -> int changes.
3304
3305 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3306
3307         * lyx_main.C: fix the fix
3308
3309 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3310
3311         * lyx_main.C: fix a crash in batch mode if no files specified
3312         * converter.C: ws
3313
3314 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
3315
3316         * format.[Ch] (papersize): moved to BufferParams
3317         * converter.[Ch] (dvips_options): moved to BufferParams
3318         (dvipdfm_options): moved to anon namespace
3319         * bufferparams.[Ch]: added above functions.
3320
3321 2003-07-17  André Pönitz  <poenitz@gmx.net>
3322
3323         * lyxtext.h:
3324         * rowpainter.C:
3325         * text2.C: don't call inset->update() anymore
3326
3327         * metricsinfo.[Ch]: add convenience constructor
3328
3329 2003-07-16  André Pönitz  <poenitz@gmx.net>
3330
3331         * lyxcursor.[Ch]:
3332         * lyxfunc.[Ch]:
3333         * text.C:
3334         * text2.C: replace the LyXCursor::irow_ member with
3335          on-demand computation of the value
3336
3337 2003-07-16  John Levon  <levon@movementarian.org>
3338
3339         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3340
3341 2003-07-15  André Pönitz  <poenitz@gmx.net>
3342
3343         * text.C:
3344         * text2.C: remove no more needed refresh_row
3345
3346 2003-07-15  André Pönitz  <poenitz@gmx.net>
3347
3348         * lyxtext.h:
3349         * rowpainter.C:
3350         * text2.C:
3351         * text3.C: refresh_status tristate -> need_update bool
3352
3353 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
3354
3355         * lyxtext.h (init): remove reinit argument (act as if always true)
3356         * text2.C: adjust to that
3357
3358 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3359
3360         * bufferview_funcs.[Ch]: introduce function replaceSelection()
3361         * text3.C: use it to delete selections in some cases
3362         (bugs 441, 673, 702, 954).
3363
3364 2003-07-14  André Pönitz  <poenitz@gmx.net>
3365
3366         * rowpainter.[Ch]: reduce interface
3367
3368 2003-07-14  André Pönitz  <poenitz@gmx.net>
3369
3370         * BufferView_pimpl.C:
3371         * text2.C: adjust after removing unused BufferView * argument
3372
3373 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
3374
3375         * text2.C (init): fix a crash fired on resize
3376
3377 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
3378
3379         * buffer.[Ch]: added new closing signal
3380         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3381         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3382         BufferView::Pimpl via the closing the signal
3383
3384 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
3385
3386         * buffer.[Ch]: take out all bv-related from buffer
3387         * BufferView.C:
3388         * BufferView_pimpl.[Ch]: connect to new signals
3389         * CutAndPaste.C: removed useless asserts
3390         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3391         * lyxvc.[Ch]:
3392         * vc-backend.[Ch]:
3393         * lyxfunc.C: moved view-related funciontality from vc here
3394         * paragraph.C: removed outdated comments
3395         * text.C: ws
3396
3397 2003-07-10  André Pönitz  <poenitz@gmx.net>
3398
3399         * BufferView_pimpl.C:
3400         * tabular.h:
3401         * tabular_funcs.C:
3402         * text.C:
3403         * text2.C: remove InsetText::InnerCache, clean up consequences
3404
3405 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
3406
3407         * ispell.C: fix two typos in error messages
3408
3409 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
3410
3411         * Extend Note inset to other forms of annotation like Comment
3412         and Greyedout. Right button click gives dialog.
3413
3414         Files modified or added (+):
3415
3416         * insetnote.[Ch]
3417         * FormNote.[Ch]      +
3418         * ControlNote.[Ch]   +
3419         * form_note.fd       +
3420         * Makefile.am in frontends/xforms, frontends/xforms/forms,
3421         frontends/controllers
3422         * xforms/Dialogs.C
3423         * factory.C
3424
3425 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3426
3427         * aspell.C: add missing namespace lyx::support
3428
3429 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
3430
3431         * BufferView.[Ch] (newFile): Add
3432         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3433         * LaTeX.[Ch] (message): added this signal and use it
3434         * buffer.[Ch] (busy, message): added these signals and use them
3435         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3436         * converter.C:
3437         * exporter.C:
3438         * format.C:
3439         * importer.C: use buffer signals instead of direct bv calling
3440         * lyx_cb.[Ch] (ShowMessage): removed
3441         * lyx_main.C:
3442         * lyxfunc.C:
3443         * paragraph_funcs.C:
3444         * text2.C: use buffer signals
3445
3446 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3447
3448         * introduce namespace lyx::graphics
3449
3450 2003-07-02  André Pönitz  <poenitz@gmx.net>
3451
3452         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3453
3454 2003-07-01  André Pönitz  <poenitz@gmx.net>
3455
3456         * text.C:
3457         * text2.C:
3458         * text3.C:
3459         * text_funcs.[Ch]:
3460         * textcursor.h:
3461         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3462           text*.C to text_func.C
3463
3464 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3465
3466         * introduce namespace lyx::support
3467
3468 2003-06-30  André Pönitz  <poenitz@gmx.net>
3469
3470         * Chktex.C:
3471         * funcrequest.C:
3472         * lyxtext.h:
3473         * text.C: re-enable --with-included-string
3474
3475 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3476
3477         * textcursor.C: add <config.h>
3478
3479         * text.C (getWord): remove const from word_location arg
3480
3481         * lyxvc.C (getLogFile): fix const type order
3482
3483         * lyxtext.h: remove const from word_location arg, add arg name
3484
3485         * lyxlayout.h: currect type on labeltype.
3486
3487         * importer.C: correct \file
3488
3489         * converter.C (intToFormat): use std:: on ret val, ws changes
3490
3491         * bufferlist.h: correct \file
3492
3493         * buffer.C (makeLinuxDocFile): fix const type order
3494         (makeDocBookFile): ditto
3495         (fillWithBibKeys): use std:: on stdlib args.
3496
3497         * CutAndPaste.C: fix authors.
3498         (availableSelections): use std:: on return vector
3499
3500 2003-06-27  André Pönitz  <poenitz@gmx.net>
3501
3502         * BufferView_pimpl.C:
3503         * bufferview_funcs.C:
3504         * lyxcursor.C:
3505         * lyxcursor.h:
3506         * lyxfunc.C:
3507         * lyxtext.h:
3508         * rowpainter.C:
3509         * text.C:
3510         * text2.C:
3511         * text3.C: remove LyXCursor::row_ member
3512
3513         * lyxtext.h:
3514         * text.C: rename fullRebreak() to partialRebreak() and implement
3515           a fullRebreak() that really bereks fully
3516
3517         * textcursor.h: new struct for cursor-related data
3518
3519 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
3520
3521         * lyx_main.C (LyX): get full path of document loaded on the
3522         command line
3523
3524 2003-06-26  André Pönitz  <poenitz@gmx.net>
3525
3526         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3527           remove unused/broken operator>,<,>=.
3528
3529         *       text.C: remove only use of broken operator<= in an Assert().
3530
3531 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3532
3533         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3534         moved errorlist_.clear to showErrorList
3535
3536 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3537
3538         * converter.C (scanLog, runLaTeX):
3539         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3540         move the bv->showErrorList call to the callers
3541         * lyxfunc.C: i.e. here...
3542         * text2.C: and here
3543         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3544         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3545         namespace, the second to...
3546         * buffer_funcs (BufferFormat, parseErrors): added
3547         * errorlist.C (ErrorList(TeXErrors const &)): removed
3548
3549 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3550
3551         * ToolbarBackend.C (getIcon): complain when icon cannot be found
3552
3553 2003-06-24  "Garst R. Reese" <reese@isn.net>
3554
3555         * debug.C: fix typo
3556
3557 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3558
3559         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3560
3561         * version.C.in: change docversion to 1.4
3562
3563 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
3564
3565         * buffer.C: fix a bug just introduced
3566
3567 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
3568
3569         * buffer.[Ch]: added the parseError signal and use it, removed
3570         sgmlError
3571         * BufferView.[Ch] (addError): moved to ...
3572         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3573         to the Buffer::parseError signal to catch (guess what) parse errors
3574         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3575
3576 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
3577
3578         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3579         ability to create a buffer and to return an existing one from
3580         the list. Moved these functions to...
3581         * buffer_funcs.[Ch]: added
3582         * BufferView.[Ch] (loadLyXFile): added
3583         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3584         job removed from bufferlist::loadLyXFile.
3585         * buffer.C (setReadOnly): make it work without view
3586         (i.e added an if (users))
3587
3588 2003-06-19  Angus Leeming  <leeming@lyx.org>
3589
3590         * lfuns.h:
3591         * LyXAction.C (init):
3592         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3593         with LFUN_DIALOG_SHOW <name> <data>.
3594
3595 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3596
3597         * CutAndPaste.C (availableSelections): small compilation fix for
3598         ancient (gcc 2.9x) compilers
3599
3600 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3601
3602         * text3.C (cursorNext): add tmp var
3603
3604         * text2.C (updateCounters): for function calling out of for clause
3605         (replaceSelectionWithString): ditto
3606         (insertStringAsParagraphs): ditto
3607         (getColumnNearX): add tmp var
3608         (setCursorFromCoordinates): add tmp var
3609         (cursorDownParagraph): add tmp var
3610         (deleteEmptyParagraphMechanism): add tmp var
3611
3612         * text.C (insertChar): add tmp var
3613
3614         * rowpainter.C (paintDepthBar): add tmp var
3615
3616         * CutAndPaste.C (availableSelections): potentially check all
3617         paragraphs in a cut to fill the shown strings.
3618
3619 2003-06-18  André Pönitz  <poenitz@gmx.net>
3620
3621         * kbmap.[Ch]: use vector<> instead of list<>
3622
3623 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
3624
3625         * text3.C (dispatch): handle arg to LFUN_PASTE, call
3626         pasteSelection with index
3627
3628         * text2.C (pasteSelection): modify, call pasteSelection with index
3629
3630         * paragraph.C (asString): reimplement version with no interval to
3631         call the one with interval.
3632
3633         * lyxtext.h: add index arg to pasteSelection
3634
3635         * MenuBackend.C (MenuItem): handle PasteRecent
3636         (Menu::read::Menutags): add md_pasterecent
3637         (read): handle it
3638         (expandPasteRecent): new function
3639         (expand): use it
3640
3641         * MenuBackend.h: add PasteRecent to MenuItem::Kind
3642
3643         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3644         the limited stack
3645         (availableSelections): new function
3646
3647 2003-06-17  Angus Leeming  <leeming@lyx.org>
3648
3649         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3650
3651 2003-06-17  Angus Leeming  <leeming@lyx.org>
3652
3653         * lfuns.h:
3654         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3655
3656         * lyxfunc.C (dispatch): invoke it.
3657
3658 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3659
3660         * iterators.C (operator++, ParPosition): reintroduce some
3661         const_cast for the benefit of older compilers.
3662
3663 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3664
3665         * text3.C (dispatch): do not modify clipboard when doing
3666         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3667         LFUN_DELETE_SKIP on a selection selection
3668
3669 2003-06-16  André Pönitz  <poenitz@gmx.net>
3670
3671         * BufferView.C:
3672         * buffer.C:
3673         * buffer.h:
3674         * paragraph.C:
3675         * tabular.[Ch]: IU of clone() and getLabelList();
3676
3677 2003-06-13  André Pönitz  <poenitz@gmx.net>
3678
3679         * tabular.h: compactification
3680
3681 2003-06-12  André Pönitz  <poenitz@gmx.net>
3682
3683         * tabular.C:
3684         * tabular.h:
3685         * tabular_funcs.h: some renaming plus whitespace
3686
3687 2003-06-12  André Pönitz  <poenitz@gmx.net>
3688
3689         * BufferView.C:
3690         * BufferView_pimpl.C:
3691         * CutAndPaste.C:
3692         * buffer.C:
3693         * iterators.[Ch]:
3694         * lyxfunc.C:
3695         * text.C:
3696         * toc.C: Return a Paragraph & for ParIterator::operator*()
3697
3698 2003-06-11  John Levon  <levon@movementarian.org>
3699
3700         * lyx_main.C:
3701         * ToolbarBackend.h:
3702         * ToolbarBackend.C: add "Toolbars" section and
3703         put the flags there
3704
3705 2003-06-10  Angus Leeming  <leeming@lyx.org>
3706
3707         * lfuns.h:
3708         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3709
3710         * lyxfunc.C (dispatch): invoke it.
3711
3712 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3713
3714         * main.C: protect <ios> with HAVE_IOS
3715         (main): protect sync_with_stdio with HAVE_IOS
3716
3717 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
3718
3719         * text2.C (cutSelection): adjust
3720         (pasteSelection): adjust
3721
3722         * messages.C: handle get of empty string
3723
3724         * main.C (main): use sync_with_stdio(false)
3725
3726         * lyxfunc.C (dispatch): adjust
3727
3728         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3729         (WriteAs): remove unneeded BufferView arg.
3730
3731         * bufferparams.h: use correct types on papersize, papersize2 and
3732         paperpackage.
3733
3734         * bufferparams.C (readToken): adjust for type
3735         (writeLaTeX): add missing cases to switch.
3736
3737         * bufferlist.C (quitWriteBuffer): adjust
3738         (close): adjust
3739
3740         * buffer.C (asciiParagraph): remove some commented code.
3741
3742         * CutAndPaste.C: remove current_view extern variable.
3743         (cutSelection): add BufferParams arg.
3744         (eraseSelection): add BufferParams arg.
3745         (pasteSelection): add Buffer const & arg
3746
3747 2003-06-07  John Levon  <levon@movementarian.org>
3748
3749         * buffer.C:
3750         * paragraph_funcs.C:
3751         * paragraph_pimpl.C:
3752         * text.C:
3753         * text2.C:
3754         * paragraph.h:
3755         * paragraph.C: allow InsetERT to freely space lines,
3756         and some consolidation of code
3757
3758 2003-06-06  José Matos  <jamatos@fep.up.pt>
3759
3760         * buffer.C (makeDocBookFile): fix bug #821
3761
3762 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
3763
3764         * BufferView_pimpl.C (dispatch): use Dialogs::visible
3765
3766 2003-06-04  Angus Leeming  <leeming@lyx.org>
3767
3768         * buffer.C: bump format to 224.
3769
3770 2003-06-05  André Pönitz  <poenitz@gmx.net>
3771
3772         * text2.C (redoParagraphs): remove two const_cast<>
3773
3774 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3775
3776         * ParagraphList.h: remove last remnants of NO_STD_LIST
3777
3778 2003-06-03  Angus Leeming  <leeming@lyx.org>
3779
3780         * factory.C (createInset): small change to the way InsetExternal's params
3781         are set.
3782
3783 2003-06-04  André Pönitz  <poenitz@gmx.net>
3784
3785         * buffer.h: use Undo directly instead of shared_ptr<Undo>
3786
3787         * paragraph_pimpl.h:
3788         * paragraph.[Ch]: some Inset -> UpdatableInset changes
3789
3790         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3791
3792         * undo_funcs.C: make some simple cases of undo work again
3793
3794 2003-06-03  John Levon  <levon@movementarian.org>
3795
3796         * ispell.C: HPUX doesn't have sys/select.h
3797         (from Albert Chin)
3798
3799 2003-06-03  John Levon  <levon@movementarian.org>
3800
3801         * CutAndPaste.C: update tabular and include inset
3802         buffer references
3803
3804         * buffer.h:
3805         * paragraph.h:
3806         * paragraph.C: remove owningBuffer(), don't pass Buffer
3807         to clone()
3808
3809         * factory.C: insetGraphicsParams changed
3810
3811 2003-06-02  John Levon  <levon@movementarian.org>
3812
3813         * LyXAction.C:
3814         * factory.C:
3815         * lfuns.h:
3816         * lyxfunc.C:
3817         * text3.C: remove insetparent
3818
3819 2003-06-02  John Levon  <levon@movementarian.org>
3820
3821         * buffer.h:
3822         * buffer.C: fix inset_iterator.end(), move out of line
3823         (bug 1149)
3824
3825 2003-06-01  John Levon  <levon@movementarian.org>
3826
3827         * text3.C: use a proper cut/paste when doing inset
3828         insert (from Jürgen Spitzmüller)
3829
3830 2003-06-01  John Levon  <levon@movementarian.org>
3831
3832         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3833
3834 2003-05-30  André Pönitz  <poenitz@gmx.net>
3835
3836         * rowpainter.C: unify second drawing phase
3837
3838 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3839
3840         * trans_mgr.C: remove one case of current_view
3841
3842         * text2.C (cursorBottom): delete NO_STD_LIST stuff
3843
3844         * paragraph_funcs.h: remove paragraph.h include
3845
3846         * paragraph.h: delete NO_STD_LIST stuff
3847
3848         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3849
3850         * buffer.h: remove paragraph.h include
3851
3852         * ParagraphList.C: delete file
3853
3854         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3855
3856         * toc.C (getTocList): adjust
3857
3858         * paragraph_pimpl.C (validate): adjust
3859
3860         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3861
3862         * paragraph.C (Paragraph): adjust
3863         (getPositionOfInset): use const_iterator, adjust
3864         (bibitem): use const_iterator, adjust
3865         (setInsetOwner): adjust
3866
3867         * iterators.C (operator++): adjust
3868
3869         * InsetList.[Ch]: Replace selfmade iterator with standard
3870         vector::iterator also introduce const_iterator. Remove getPos,
3871         getInset and setInset from InsetTable. Adjust accordingly.
3872
3873         * BufferView.C (lockInset): adjust
3874         (ChangeInsets): adjust
3875
3876         * tabular.[Ch]: delete commented same_id functions
3877
3878 2003-05-28  John Levon  <levon@movementarian.org>
3879
3880         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3881
3882 2003-05-28  André Pönitz  <poenitz@gmx.net>
3883
3884         * metricsinfo.[Ch]: remove 'fullredraw' member
3885
3886 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3887
3888         * lyxtextclass.C (operator): remove caching.
3889
3890 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3891
3892         * text3.C: adjust
3893
3894         * text2.C (cursorBottom): adjust
3895         (setCounter): use ParagraphList::find, adjust
3896
3897         * text.C (workWidth): use ParagraphList::find, adjust
3898
3899         * lyxcursor.C (LyXCursor): adjust
3900
3901         * buffer.C (inset_iterator): adjust
3902
3903         * ParagraphList.h: make iterator(value_type) private, make
3904         ParagraphList a friend of iterator.
3905
3906         * ParagraphList.C (find): new function
3907
3908         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3909
3910 2003-05-27  André Pönitz  <poenitz@gmx.net>
3911
3912         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3913
3914 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3915
3916         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3917
3918 2003-05-26  John Levon  <levon@movementarian.org>
3919
3920         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3921
3922 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3923
3924         * remove same_id from function signatures, adjust.
3925
3926 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3927
3928         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3929
3930         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3931
3932         * paragraph.C (Paragraph): get rid of same_ids parameter
3933
3934         * ParagraphList.C (insert): adjust
3935         (push_back): adjust
3936
3937 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3938
3939         * paragraph_funcs.C (breakParagraph): adjust
3940         (breakParagraphConservative): adjust
3941
3942         * buffer.C (readParagraph): adjust
3943
3944         * ParagraphList.C (insert): take a reference instead of a pointer
3945         (insert): adjust
3946
3947         * paragraph.[Ch] (id): new function
3948
3949         * bufferlist.C (newFile): adjust
3950
3951         * ParagraphList.C (ParagraphList): adjust
3952         (assign): adjust
3953         (push_back): take a reference instead of a pointer.
3954
3955         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3956
3957         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3958         instead.
3959
3960         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3961         set else use old code.
3962
3963         * ParagraphList.C: remove all NO_NEXT code and only compile this
3964         code of NO_STD_LIST is set.
3965
3966 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3967
3968         * BufferView_pimpl.C:
3969         * TextCache.C:
3970         * TextCache.h:
3971         * bufferlist.C:
3972         * errorlist.h:
3973         * format.C:
3974         * format.h:
3975         * graph.C:
3976         * lyxfunc.C:
3977         * lyxrc.C:
3978         * graphics/GraphicsConverter.C:
3979         * graphics/PreviewLoader.C: header adjustment
3980
3981 2003-05-23  Angus Leeming  <leeming@lyx.org>
3982
3983         * LaTeXFeatures.[Ch] (useBabel): new method.
3984         * bufferparams.C (writeLaTeX): use it.
3985
3986 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3987
3988         * ParagraphList.h (set): remove unused function.
3989
3990 2003-05-23  André Pönitz  <poenitz@gmx.net>
3991
3992         * BufferView.C:
3993         * BufferView_pimpl.C:
3994         * buffer.C:
3995         * buffer.h:
3996         * lyxfunc.C:
3997         * undo_funcs.C: setUndo reworked
3998
3999         * iterators.[Ch]: add access to topmost ParagraphList
4000
4001         * lyxtext.[Ch] (workWidth): add a const
4002
4003 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4004
4005         * texrow.[Ch] (increasePos): remove function
4006         * exporter.C (export): removed unused var and outdated comment
4007
4008 2003-05-23  Angus Leeming  <leeming@lyx.org>
4009
4010         * latexrunparams.h: rename fragile as moving_arg.
4011         * paragraph.C (simpleTeXOnePar): ditto.
4012         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4013
4014 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4015
4016         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4017         (createUndo): ditto
4018         (textUndoOrRedo): comment out a currently unused var.
4019
4020         * paragraph.h (NO_NEXT): enable NO_NEXT
4021
4022         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4023
4024         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4025
4026         * exporter.C (Export): adjust for removeAutoInsets removal.
4027
4028         * buffer.C (runChktex): adjust for removeAutoInsets removal.
4029
4030         * LyXAction.C (init): remove LFUN_REMOVEERRORS
4031
4032         * BufferView.[Ch] (removeAutoInsets): delete function
4033
4034 2003-05-22  Angus Leeming  <leeming@lyx.org>
4035
4036         * latexrunparams.h: add a free_spacing variable.
4037
4038         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4039         to pass moving_arg, as the data is stored in runparams.fragile.
4040
4041         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4042         to Inset::latexOptional or to simpleTeXOnePar.
4043
4044         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4045         free_spacing arg to Inset::latexOptional.
4046
4047         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4048         free_spacing arg.
4049
4050 2003-05-22  Angus Leeming  <leeming@lyx.org>
4051
4052         * latexrunparams.h: add fragile and use_babel variables.
4053
4054         * bufferparams.[Ch] (writeLaTeX): return use_babel.
4055         * buffer.C (makeLaTeXFile): store this returned value in
4056         runparams.use_babel, thus passing it to the inset::latex methods.
4057
4058         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4059         simpleTeXSpecialChars as it is now stored in runparams.fragile.
4060
4061         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4062         longer has a fragile arg, as it is stored in runparams.fragile.
4063
4064         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4065         moving_arg parameter as the data is stored in runparams.fragile.
4066
4067         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4068         a fragile parameter as the data is stored in runparams.fragile.
4069
4070 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4071
4072         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4073
4074 2003-05-22  Angus Leeming  <leeming@lyx.org>
4075
4076         * latexrunparams.h: add a 'bool nice' which defaults to false.
4077
4078         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4079         now encapsulated within runparams.
4080
4081         * bufferlist.C (updateIncludedTeXfiles):
4082         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4083
4084 2003-05-22  Angus Leeming  <leeming@lyx.org>
4085
4086         * latexrunparams.h: new file containing struct LatexRunParams.
4087         * Makefile.am: add new file.
4088
4089         * LaTeX.[Ch] (c-tor, run):
4090         * buffer.[Ch] (makeLaTeXFile):
4091         * bufferlist.[Ch] (updateIncludedTeXfiles):
4092         * converter.C (convert, scanLog):
4093         * converter.[Ch] (runLaTeX):
4094         * exporter.C (Export):
4095         * paragraph.[Ch] (simpleTeXOnePar):
4096         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4097         * paragraph_funcs.[Ch] (latexParagraphs):
4098         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4099         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4100         pass around a LatexRunParams parameter.
4101
4102 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4103
4104         * paragraph.[Ch]: remove unused constructor
4105
4106         * ParagraphList.C (erase): new function, taking two iterators
4107
4108 2003-05-22  André Pönitz  <poenitz@gmx.net>
4109
4110         * undo_funcs.C: remove duplicated code
4111
4112         * iterator.[Ch]: operator=
4113
4114 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4115
4116         * tabular.C (SetMultiColumn): ws changes
4117
4118         * rowpainter.C (paintFirst): get rid of a ->previous
4119
4120         * lyx_cb.C (getPossibleLabel): parlist simplification
4121
4122         * BufferView.C (ChangeInsets): simplify slightly.
4123
4124 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4125
4126         * LyXAction.C: new lfun space-insert, kill protected-space-insert
4127         * lfuns.h: new LFUN_SPACE
4128         * lyxfunc.C: protected space has a new lfun
4129         * paragraph_funcs.C: read new space insets
4130         * text3.C:
4131         * factory.C: handle new space insets
4132
4133 2003-05-22  André Pönitz  <poenitz@gmx.net>
4134
4135         * BufferView.C:
4136         * BufferView_pimpl.C:
4137         * buffer.[Ch]:
4138         * lyxfunc.C:
4139         * undo_funcs.C: return a ParIterator from getParFromID.
4140
4141         * iterators.[Ch]: add two const's
4142
4143 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4144
4145         * toc.C (getTocList): adjust
4146
4147         * iterators.[Ch]: rework for parlist
4148
4149         * buffer.C (par_iterator_begin): adjust
4150         (par_iterator_end): adjust
4151
4152         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4153
4154         * BufferView.C (removeAutoInsets): adjust
4155         (ChangeInsets): adjust
4156
4157 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
4158
4159         * text.C (top_y): fix bug 1110
4160
4161 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
4162
4163         * errorlist.[Ch]: added
4164         * buffer.C:
4165         * BufferView.[Ch]:
4166         * BufferView_pimpl.C:
4167         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4168         instead
4169
4170 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4171
4172         * Makefile.am: ensure that lyx is relinked upon changes to the
4173         various "convenience" libs.
4174
4175 2003-05-20  Angus Leeming  <leeming@lyx.org>
4176
4177         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4178         files are compiled in alphabetical order again.
4179
4180         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4181
4182 2003-05-19  Angus Leeming  <leeming@lyx.org>
4183
4184         * gettext.[Ch]: remove "char const * _(char const *)".
4185
4186 2003-05-19  André Pönitz  <poenitz@gmx.net>
4187
4188         * dimension.[Ch]: promote from mathed/dimension.[Ch]
4189
4190         * Makefile.am:
4191         * BufferView.C:
4192         * DepTable.h:
4193         * LaTeXFeatures.C:
4194         * buffer.C:
4195         * lyxfont.C:
4196         * lyxlex.h:
4197         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4198
4199 2003-05-19  André Pönitz  <poenitz@gmx.net>
4200
4201         * buffer.C:
4202         * lyxlayout.[Ch]:
4203         * lyxtextclass.[Ch]:
4204         * paragraph.C:
4205         * paragraph_funcs.[Ch]:
4206         * text2.C:
4207         * text3.C: more insetenv work
4208
4209 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
4210
4211         * ParagraphParameters.C (params2string): small bug fixed
4212
4213 2003-05-16  André Pönitz  <poenitz@gmx.net>
4214
4215         * debug.C:
4216         * bufferview_funcs.C: patch from Kornel Benko to prevent
4217           crash when _(...) is called twice in a statement
4218
4219 2003-05-16  André Pönitz  <poenitz@gmx.net>
4220
4221         * BufferView.C:
4222         * lyxfunc.C:
4223         * text.C:
4224         * text2.C:
4225         * text3.C:
4226         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4227
4228 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
4229
4230         * lyx_main.C (init): remove spurious static_cast
4231
4232 2003-05-14  André Pönitz  <poenitz@gmx.net>
4233
4234         * BufferView.C: fix format string
4235
4236 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
4237
4238         * BufferView.[Ch] (insertErrors): removed
4239         * BufferView.[Ch] (showErrorList): added
4240         * buffer.C (runChkTeX):
4241         * converter.C (scanLog): call showErrorList instead of inserterrors
4242
4243 2003-05-13  André Pönitz  <poenitz@gmx.net>
4244
4245         * BufferView_pimpl.C:
4246         * buffer.C:
4247         * bufferview_func.C:
4248         * MenuBackend.C:
4249         * lyxfunc.C:
4250         * lyxrc.C:
4251         * tex-accent.C:
4252         * text3.C:
4253         * toc.C:
4254         * tabular_funcs.h: tostr() from its own header
4255
4256         * ParagraphParameters.C:
4257         * ToolbarBackend.C:
4258         * bufferparams.C:
4259         * format.C:
4260         * lyxlex_pimpl.C:
4261         * text3.C: STRCONV()
4262
4263 2003-05-12  André Pönitz  <poenitz@gmx.net>
4264
4265         * BufferView.C:
4266         * BufferView_pimpl.C:
4267         * CutAndPaste.C:
4268         * LaTeX.C:
4269         * LaTeXFeatures.C:
4270         * ParagraphParameters.C:
4271         * buffer.C:
4272         * bufferlist.C:
4273         * bufferparams.C:
4274         * bufferview_funcs.C:
4275         * converter.C:
4276         * counters.C:
4277         * debug.C:
4278         * exporter.C:
4279         * format.C:
4280         * importer.C:
4281         * lyx_cb.C:
4282         * lyx_main.C:
4283         * lyxfont.C:
4284         * lyxfunc.C:
4285         * lyxvc.C:
4286         * paragraph.C:
4287         * paragraph_funcs.C:
4288         * tabular.C:
4289         * tabular_funcs.C:
4290         * text2.C:
4291         * text3.C:  boost::format -> bformat  all over the place
4292
4293
4294 2003-05-09  André Pönitz  <poenitz@gmx.net>
4295
4296         * LColor.[Ch]: Pimpl the #include <map> away
4297
4298 2003-05-09  John Levon  <levon@movementarian.org>
4299
4300         * bufferlist.C: never remove emergency saves
4301
4302 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4303
4304         * Makefile.am: better lib building
4305
4306 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4307
4308         * texrow.[Ch]: remove dependency on Paragraph and just store a id
4309         instead.
4310         * paragraph_pimpl.C (simpleTeXBlanks): adjust
4311         (simpleTeXSpecialChars): adjust
4312         (simpleTeXSpecialChars): adjust
4313         * paragraph.C (simpleTeXOnePar): adjust
4314         * buffer.C (makeLaTeXFile): adjust
4315
4316         * Makefile.am (BOOST_LIBS): allow boost as system lib.
4317
4318         * text2.C (changeDepth): parlist cleanup
4319         (getColumnNearX): ditto
4320
4321         * rowpainter.C (getLabelFont): parlist cleanup
4322
4323         * bufferlist.C (newFile): parlist cleanup
4324
4325         * CutAndPaste.C (eraseSelection): parlist cleanup
4326
4327         * BufferView_pimpl.C (trackChanges): parlist cleanup
4328         (dispatch): ditto
4329
4330         * BufferView.C (lockInset): parlist cleanup.
4331         (ChangeInsets): ditto
4332
4333 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4334
4335         * CutAndPaste.h: Update file header.
4336
4337         * CutAndPaste.C: Update file header.
4338         Store the parts cut out of the Document in a limited_stack.
4339         (copySelection): adjust
4340         (pasteSelection): new function, takes the index in the limited stack.
4341         (nrOfParagraphs): adjust
4342         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4343         simplify error inset insertion.
4344         (checkPastePossible): adjust
4345
4346 2003-05-06  John Levon  <levon@movementarian.org>
4347
4348         * text2.C: don't cast wrap inset to float
4349
4350 2003-05-05  André Pönitz  <poenitz@gmx.net>
4351
4352         * iterator.C:
4353         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4354
4355         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4356           few naked Paragraph *.
4357
4358 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
4359
4360         * bufferparams.C: Output warning if a document with missing
4361         TeX document class is loaded
4362         * exporter.C: Disable TeX exports if the document class is missing
4363         * lyxtextclass.C:
4364         * lyxtextclass.h:
4365         * lyxtextclasslist.C: Handle new textclass.lst format; new method
4366         isTeXClassAvailable()
4367
4368 2003-05-03  John Levon  <levon@movementarian.org>
4369
4370         * BufferView.h:
4371         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4372         explicit cursor show/hide
4373
4374         * BufferView_pimpl.h:
4375         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4376         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4377
4378         * lyxfunc.C: hide cursor before dispatching.
4379
4380         * lyx_cb.C:
4381         * lyxfind.C:
4382         * text.C:
4383         * text3.C: remove explicit cursor hides
4384
4385 2003-05-02  André Pönitz  <poenitz@gmx.net>
4386
4387         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4388
4389         * undo_funcs.C:
4390         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4391           linked lists
4392
4393         * text2.C: tiny whitespace
4394
4395 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4396
4397         * undo_funcs.C: almost only ws changes.
4398
4399         * ParagraphList.C (splice): just return if pl is empty.
4400
4401 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4402
4403         * ParagraphList.C (splice): new function.
4404
4405         * CutAndPaste.C (pasteSelection): use it
4406
4407 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4408
4409         * CutAndPaste.C (pasteSelection): remove the last next and
4410         previous from this file.
4411
4412 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4413
4414         * CutAndPaste.C (pasteSelection): more clean up, user proper
4415         ParagraphList functions for pasteing.
4416
4417         * ParagraphList.C (insert): new function, three arg insert
4418
4419 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4420
4421         * ParagraphList.C (insert): new function, three arg insert
4422
4423         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4424         not on paragraphs.
4425
4426 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4427
4428         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4429
4430 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4431
4432         * CutAndPaste.C (pasteSelection): remove some unneeded code.
4433
4434 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4435
4436         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4437         (copySelection): clean up a bit.
4438         (pasteSelection): use make_pair
4439
4440         * ParagraphList.C (ParagraphList): implement copy constructor
4441         (operator=): implement, base on copy constructor.
4442         (assign): new func
4443
4444         * paragraph.C (erase): return a bool
4445
4446         * paragraph_pimpl.C (erasePos): remove function, move contents...
4447         (erase): ... here. Return a bool.
4448         (erase): call erase instead of erasePos.
4449
4450 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
4451
4452         * ParagraphList.h: define PitPosPair
4453         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4454         ParagraphList, fix a bug on pasting multiple pars
4455         * text2.C: change interface to C&P
4456
4457 2003-04-30  André Pönitz  <poenitz@gmx.net>
4458
4459         * undo_func.C: revert part of yesterday's patch 2
4460
4461 2003-04-30  John Levon  <levon@movementarian.org>
4462
4463         * LColor.C: s/tabular/table/
4464
4465 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4466
4467         * text3.C (dispatch): do not convert iterator -> pointer
4468         * undo_funcs.C (setCursorParUndo): ditto
4469         * text_funcs.C (transposeChars): ditto
4470
4471         * text2.C (setLayout): ws changes only
4472
4473         * text.C (breakParagraph): do not convert iterator -> pointer
4474         (insertChar): ditto
4475         (acceptChange): ditto
4476         (rejectChange): ditto
4477         (changeCase): ditto
4478         (Delete): ditto
4479         (backspace): ditto
4480
4481         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4482         pointer
4483
4484 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4485
4486         * text3.C (gotoInset): YABG (yet another bad getChar)
4487
4488 2003-04-29  André Pönitz  <poenitz@gmx.net>
4489
4490         * paragraph.h: make operator= private unimplemented as long as
4491           it is unusable
4492
4493         * ParagraphList.C: whitespace
4494
4495         * paragraph.[Ch]:
4496         * paragraph_pimpl.[Ch]:
4497         * paragraph_funcs.C:
4498         * CutAndPaste.C:
4499         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
4500
4501         * text2.C:
4502           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4503
4504 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4505
4506         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4507         * paragraph.[Ch] (erase):
4508         * paragraph_pimpl.[Ch] (erase): change return type and value
4509         * text2.C (cutSelection): some rework
4510
4511 2003-04-28  John Levon  <levon@movementarian.org>
4512
4513         * bufferlist.C: changes for unsaved changes dialog
4514
4515 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4516
4517         * bufferlist.C (newFile): set language (messages_) for new
4518         documents also.
4519
4520         * buffer.C (readFile): ws changes only.
4521
4522 2003-04-28  André Pönitz  <poenitz@gmx.net>
4523
4524         * undo_funcs.C:
4525         * lyxfunc.C:
4526         * buffer.[Ch]:
4527         * BufferView_pimpl.C:
4528         * BufferView.C: getParFromID related ParagraphList::iterator changes
4529
4530 2003-04-28  André Pönitz  <poenitz@gmx.net>
4531
4532         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4533           Changes
4534
4535 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4536
4537         * messages.C: remove one more localedir class variable.
4538
4539 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4540
4541         * messages.C (getLocaleDir): singleton generation function
4542         (Pimpl): use it.
4543         (Messages): add a default constructor.
4544
4545         * main.C (main): do not setup localedir here, do not call
4546         gettext_init.
4547
4548         * gettext.C (_): use it.
4549         (gettext_init): delete funciton
4550
4551 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4552
4553         * gettext.C (getLyXMessages): new singleton generating function.
4554
4555         * buffer.C (updateDocLang): adjust
4556
4557         * Makefile.am (messages.o): add target
4558         (main.o): remove target
4559
4560 2003-04-27  John Levon  <levon@movementarian.org>
4561
4562         * bufferlist.C:
4563         * lyx_cb.C:
4564         * lyxfunc.C:
4565         * lyxvc.C: specify cancel button in Alert::prompt
4566
4567 2003-04-26  John Levon  <levon@movementarian.org>
4568
4569         * text3.C:
4570         * lyxfunc.C:
4571         * lfuns.h:
4572         * LyXAction.C: add LFUN_INSET_SETTINGS
4573
4574         * lyxfunc.C: don't enable tabular-feature when there's
4575         just any locking inset
4576
4577 2003-04-26  John Levon  <levon@movementarian.org>
4578
4579         * bufferlist.C: re-add Cancel to buffer close question
4580
4581         * lyxfunc.C: fix import UI a bit
4582
4583 2003-04-25  John Levon  <levon@movementarian.org>
4584
4585         * gettext.C: remove the broken asserts for now
4586
4587 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4588
4589         * messages.C: make case where setlocale cannot comply work better.
4590
4591         * buffer.C (updateDocLang): new function
4592         (changeLanguage): use it
4593         (readFile): use it
4594
4595         * text2.C (setCounter): use B_ a bit.
4596
4597         * lyxlayout.C (Read): be sure to trim the label strings.
4598
4599         * messages.C (Messages): fix typo in comment
4600
4601         * buffer.C (readFile): set message_ after file is loaded.
4602         (makeDocBookFile): remove double return
4603         (changeLanguage): reset message_ upon language change.
4604         (B_): new func, use this to get translated buffer strings.
4605
4606         * main.C: add myself and Jean Marc as authors.
4607
4608 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4609
4610         * messages.[hC]: pimplify Messages, and three different pimpls to be
4611         used in different circumstances.
4612
4613         * gettext.[Ch]: change for use with new message code.
4614
4615 2003-04-24 André Pönitz <poenitz@gmx.net>
4616
4617         * factory.C: support for eqref
4618
4619 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4620
4621         * messages.[Ch]: add missing char
4622
4623         * Makefile.am (lyx_SOURCES): add messages.[Ch]
4624
4625         * messages.[Ch]: New files
4626
4627 2003-04-18  John Levon  <levon@movementarian.org>
4628
4629         * BufferView.h:
4630         * BufferView.C:
4631         * BufferView_pimpl.C:
4632         * lfuns.h:
4633         * LyXAction.C:
4634         * lyxtext.h:
4635         * text2.C: remove layout-copy/paste (bug 778)
4636
4637 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4638
4639         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4640
4641 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4642
4643         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4644         if they succeed. Act accordingly.
4645
4646 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4647
4648         * text2.C (setCharFont): adjust
4649         (setCounter): adjust
4650         (insertStringAsLines): adjust
4651
4652         * text.C (leftMargin): adjust
4653         (setHeightOfRow): adjust
4654
4655         * rowpainter.C (paintFirst): adjust
4656         (paintLast): adjust
4657
4658         * paragraph_funcs.C (depthHook): ParagraphList::iterators
4659         (outerHook): ditto
4660         (isFirstInSequence): ditto
4661         (getEndLabel): ditto
4662         (outerFont): adjust
4663
4664         * paragraph.C (getParLanguage): comment out some hard stuff.
4665
4666         * buffer.C (insertStringAsLines): take a ParagraphList as arg
4667         (sgmlError): ditto
4668         (simpleDocBookOnePar): ditto
4669         (makeDocBookFile): use ParagraphList::iterator
4670
4671         * CutAndPaste.C (pasteSelection): adjust
4672
4673 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4674
4675         * text2.C (getFont): adjust
4676         (getLayoutFont): adjust
4677         (getLabelFont): adjust
4678
4679         * paragraph_funcs.C (TeXOnePar): adjust
4680
4681         * buffer.C (simpleLinuxDocOnePar): adjust
4682         (simpleDocBookOnePar): adjust
4683
4684         * CutAndPaste.C (pasteSelection): adjust
4685
4686         * BufferView.C (getEncoding): adjust
4687
4688         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4689
4690 2003-04-16  John Levon  <levon@movementarian.org>
4691
4692         * lyxfind.C: use parlist stuff for search/changes
4693
4694 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4695
4696         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4697
4698         * text2.C (deleteEmptyParagraphMechanism): adjust
4699
4700         * text2.[Ch] (ownerParagraph): delete func (both of them
4701
4702 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4703
4704         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4705
4706 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4707
4708         * ParagraphList.C: prepare for NO_NEXT
4709
4710 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4711
4712         * text2.C (getFont): adjust
4713         (getLayoutFont): adjust
4714         (getLabelFont): adjust
4715
4716         * paragraph.C (getFont): adjust
4717         (getLabelFont): adjust
4718         (getLayoutFont): adjust
4719
4720         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4721
4722 2003-04-15  John Levon  <levon@movementarian.org>
4723
4724         From Angus Leeming
4725
4726         * lyx_main.C: handle Include in .ui files
4727
4728 2003-04-15  John Levon  <levon@movementarian.org>
4729
4730         * MenuBackend.C: make the doc files length shorter
4731
4732         * ToolbarBackend.h:
4733         * ToolbarBackend.C: handle toolbar placement flags,
4734         Minibuffer
4735
4736 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4737
4738         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4739         adjust
4740
4741         * paragraph_funcs.C (TeXOnePar): adjust
4742
4743         * paragraph.C (getLabelFont): add outerfont arg, adjust
4744         (getLayoutFont): ditto
4745         (simpleTeXOnePar): adjust
4746
4747         * paragraph_pimpl.C (realizeFont): delete func
4748
4749 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
4750
4751         * text2.C (beforeFullRowInset): added a bad getchar check, removed
4752         row argument, constify cur argument.
4753
4754 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4755
4756         * text2.C (getFont): adjust
4757         (getLayoutFont): adjust
4758         (getLabelFont): adjust
4759
4760         * paragraph_funcs.C (TeXOnePar): adjust
4761         (outerFont): new func...
4762         (realizeFont): ...moved out from here, changed this to facilitate
4763         transition
4764
4765         * paragraph.C (getFont): take outerfont as arg, adjust
4766         (simpleTeXOnePar): add outerfont arg, adjust
4767
4768         * buffer.C (simpleLinuxDocOnePar): adjust
4769         (simpleDocBookOnePar): adjust
4770
4771         * CutAndPaste.C (pasteSelection): adjust
4772
4773         * BufferView.C (getEncoding): adjust
4774
4775 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4776
4777         * text2.C (setCharFont): adjust
4778         (setCounter): adjust
4779
4780         * text.C (leftMargin): adjust
4781         (setHeightOfRow): adjust
4782
4783         * rowpainter.C (paintFirst): adjust
4784         (paintLast): adjust
4785
4786         * paragraph_pimpl.C (realizeFont): adjust
4787
4788         * paragraph.C (isFirstInSequence): move from here...
4789         * paragraph_funcs.C (isFirstInSequence): ...to here
4790
4791         * paragraph.C (outerHook): move from here...
4792         * paragraph_funcs.C (outerHook): ...to here
4793
4794         * paragraph.C (depthHook): move from here...
4795         * paragraph_funcs.C (depthHook): ...to here
4796
4797         * paragraph.C (getEndLabel): move from here...
4798         * paragraph_funcs.C (getEndLabel): ...to here
4799
4800         * text2.C (realizeFont): move from here...
4801         * paragraph_funcs.C (realizeFont): ...to here
4802
4803 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4804
4805         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4806
4807 2003-04-14  Angus Leeming  <leeming@lyx.org>
4808
4809         * LColor.[Ch]: scrap LColor mathcursor.
4810
4811 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4812
4813         * lyxlex.[Ch] (text): delete function
4814         * trans.C (Load): adjust
4815         * paragraph_funcs.C (readParToken): adjust
4816
4817 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4818
4819         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4820         vector<char> instead of a char[].
4821
4822         * lyxlex_pimpl.C (getString): adjust
4823         (next): adjust
4824         (lex): use getString
4825         (eatLine): adjust
4826         (nextToken): adjust
4827
4828         * lyxlex.C (text): use pimpl_->getString()
4829         (getBool): ditto
4830         (findToken): ditto
4831
4832 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4833
4834         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4835         (makeFontEntriesLayoutSpecific): temp var for par.size()
4836         (setLayout): temp var for ownerParagraphs().end()
4837         (fullRebreak): temp var for rows().end()
4838         (selectionAsString): temp var for boost::next(startpit), realize
4839         that the while really is a regular for loop.
4840         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4841         setCursor in one place.
4842         (setParagraph): temp vr for ownerParagraphs().end()
4843         (updateCounters): make the while loop a for loop
4844         (cutSelection): temp var for ownerParagraphs().end()
4845         (updateInset): make the do {} while() a regular for loop
4846         (getCursorX): use temp vars
4847         (setCurrentFont): use temp vars
4848         (getColumnNearX): use temp vars
4849
4850 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4851
4852         * text.C (transformChar): use temp var for getChar
4853         (computeBidiTables): use temp var for row->par()
4854         (fill): move temp vars for row->par() and pit->layout() earlier in
4855         the function.
4856         (labelFill): use temp var for row->par()
4857         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4858         asc and desc, realize that pit never changes and that firstpit is
4859         just a duplicate and not needed. Exchange rit->par() with pit in a
4860         lot of places.
4861         (breakAgain): use a temp var for boost::next(rit)
4862         (breakAgainOneRow): ditto
4863         (breakParagraph): use a temp var for rows().begin()
4864         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4865         (cursorRightOneWord): use temp var for cursor.par() and
4866         cursor.pos(), remove usage of tmpcursor.
4867         (cursorLeftOneWord): use temp var for cursor.par() and
4868         cursor.pos() only set cur at end of function.
4869
4870 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4871
4872         * text.C, text2.C: exchange all usage of Paragraph::next with
4873         boost::next(ParagraphList::iterator)
4874
4875         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4876
4877         * text2.C (cursorTop): simplify implementation
4878         (cursorBottom): ditto
4879         (setParagraph): use ParagraphList::iterator
4880         (setCurrentFont): adjust
4881         (getColumnNearX): adjust
4882         (cursorRight): adjust
4883         (cursorLeft): remove usage of Paragraph::previous
4884         (cursorUpParagraph): ditto
4885         (deleteEmptyParagraphMechanism): slight cleanup
4886
4887         * text.C (isBoundary): take a Paragraph const & instead of a
4888         pointer as arg.
4889         (addressBreakPoint): ditto
4890         (leftMargin): remove usage of Paragraph::previous.
4891         (setHeightOfRow): ditto
4892         (cursorLeftOneWord): ditto
4893         (selectNextWordToSpellcheck): ditto
4894         (Delete): ditto
4895         (backspace): ditto
4896         (breakParagraph): remove one usage of Paragraph::next
4897         (redoParagraph): ditto
4898         (acceptChange): ditto
4899         (insertChar): adjust
4900         (rowBreakPoint): adjust
4901
4902         * bufferview_funcs.C (toggleAndShow): adjust
4903
4904 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4905
4906         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4907         methods to access it.
4908         * lyxtext.h:
4909         * text.C: Added updateRowPositions to compute all row positions.
4910         Make top_y and getRowNearY() to use the cached y position
4911
4912 2003-04-11  John Levon  <levon@movementarian.org>
4913
4914         * text.C (rowBreakPoint): reintroduce the labelEnd
4915         checks, code copied from the row fill stuff. Deep voodoo.
4916
4917         * text.C (fill): add a comment and debugging for the
4918         next poor soul.
4919
4920 2003-04-11  John Levon  <levon@movementarian.org>
4921
4922         * text.C: make sure fullrow insets get wrapped to the next line,
4923         even when they're in a manual label
4924
4925 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4926
4927         * text2.C (insertParagraph): make it take ParagraphList::iterator
4928         as arg.
4929         (setLayout): make it return ParagraphList::iterator
4930         (redoParagraphs): ditto
4931         (setCounter): ditto
4932         (checkParagraph): ditto
4933
4934         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4935
4936         * text2.C: adjust several funcs.
4937         (realizeFont): take a ParagraphList::iterator as arg.
4938         (getLayoutFont): ditto
4939         (getLabelFont): ditto
4940         (setCharFont): ditto
4941
4942         * text.C: adjust several funcs.
4943
4944 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4945
4946         * text.C (selectNextWordToSpellcheck): don't accidentally
4947         skip insets
4948
4949 2003-04-10  John Levon  <levon@movementarian.org>
4950
4951         * ToolbarBackend.C (getIcon): special handling for
4952         LFUN_MATH_DELIM
4953
4954 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4955
4956         * text2.C (cursorRight): a getChar assert fixed
4957
4958 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4959
4960         * text2.C (getFont): change to take a ParagraphList::iterator
4961         instead of Paragraph*
4962         Adjust several functions.
4963
4964         * text.C (transformChar): change to take a ParagraphList::iterator
4965         instead of Paragraph*
4966         (singleWidth): ditto
4967         Adjust several functions.
4968
4969         * rowpainter.C: adjust several functions
4970         * rowpainter.h:store a ParagraphList::iterator and not a
4971         Paragraph&.
4972
4973
4974 2003-04-09  John Levon  <levon@movementarian.org>
4975
4976         * lyxfunc.C:
4977         * lfuns.h:
4978         * LyXAction.h:
4979         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4980         and the "help" bits as well
4981
4982 2003-04-09  John Levon  <levon@movementarian.org>
4983
4984         * ToolbarBackend.h:
4985         * ToolbarBackend.C: allow multiple toolbars
4986
4987 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4988
4989         * undo_funcs.C (setCursorParUndo): adjust
4990
4991         * text_funcs.C (transposeChars): adjust
4992
4993         * text3.C (gotoNextInset): adjust
4994         (dispatch): adjust
4995
4996         * text2.C (setLayout): adjust
4997         (changeDepth): adjust
4998         (setFont): adjust
4999         (redoParagraphs): adjust
5000         (selectionAsString): adjust
5001         (setParagraph): adjust
5002         (insertInset): adjust
5003         (cutSelection): adjust
5004         (copySelection): adjust
5005         (pasteSelection): adjust
5006         (insertStringAsLines): adjust
5007         (updateInset): adjust
5008         (setCursor): change to take a ParagraphList::iterator parameter
5009         (setCursorIntern): change to take a ParagraphList::iterator parameter
5010         (setCurrentFont): adjust
5011         (cursorLeft): adjust
5012         (cursorRight): adjust
5013         (deleteEmptyParagraphMechanism): adjust
5014
5015         * text.C (breakParagraph): adjust
5016         (insertChar): adjust
5017         (acceptChange): adjust
5018         (rejectChange): adjust
5019         (selectNextWordToSpellcheck): adjust
5020         (changeCase): adjust
5021         (Delete): adjust
5022         (backspace): adjust
5023
5024         * lyxfind.C (SearchForward): adjust
5025         (SearchBackward): adjust
5026         (nextChange): adjust
5027
5028         * lyxcursor.C (par): adjust
5029
5030         * lyxcursor.h: store a ParagraphList::iterator instead of a
5031         Paragraph*
5032
5033         * lyx_cb.C (getPossibleLabel): adjust
5034
5035         * bufferview_funcs.C (toggleAndShow): adjust
5036
5037         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5038         (dispatch): adjust
5039
5040         * BufferView.C (removeAutoInsets): adjust
5041         (lockedInsetStoreUndo): adjust
5042
5043 2003-04-09  John Levon  <levon@movementarian.org>
5044
5045         * ToolbarBackend.C: try icon without argument
5046         if with argument fails
5047
5048 2003-04-08  John Levon  <levon@movementarian.org>
5049
5050         * ToolbarBackend.h:
5051         * ToolbarBackend.C: add getIcon(), handle tooltip,
5052         and change from "Icon" to "Item".
5053
5054 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5055
5056         * BufferView.C (lockInset): another bad getchar crunched
5057
5058 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5059
5060         * text2.C (changeDepth): do not setUndo on test_only (make undo work
5061         again)
5062
5063 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
5064
5065         * lyxfind.C (searchForward, searchBackwards): bug 782
5066
5067 2003-04-07  John Levon  <levon@movementarian.org>
5068
5069         * paragraph.C: remove dead comment
5070
5071         * text.C: remove troublesome depth-fiddling code
5072         in leftMargin() and rightMargin() (bug 1017)
5073
5074         * text.C: fix breaking of rows in nested lists
5075         (bug 1004)
5076
5077         * text2.C (updateCounters): fix up depth values
5078         (bug 1013)
5079
5080 2003-04-07  John Levon  <levon@movementarian.org>
5081
5082         * BufferView_pimpl.C: clear message when doc finishes resizing,
5083         and after a mouse event
5084
5085         * lyxfunc.C: clear message after exiting inset
5086
5087 2003-04-07  John Levon  <levon@movementarian.org>
5088
5089         * bufferview_funcs.C: show math status not outside
5090         status in the statusbar
5091
5092 2003-04-07  John Levon  <levon@movementarian.org>
5093
5094         * lyxfunc.C: note status changed after a depth change
5095
5096 2003-04-04  Angus Leeming  <leeming@lyx.org>
5097
5098         * LaTeX.h: move AuxInfo operator==, != out of line.
5099         Remove LaTeX virtual destructor; nothing derives from it.
5100         Move operator()() out of public area and rename it startscript().
5101         Change protected for private.
5102
5103 2003-04-04  Angus Leeming  <leeming@lyx.org>
5104
5105         * lyxfunc.C:
5106         * text2.C: remove unneeded #includes.
5107
5108 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5109
5110         * text2.C (dEPM): fix the heigth of the next row
5111
5112 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5113
5114         * text.C: squashed an invalid getChar requester + some ws changes
5115
5116 2003-04-03  John Levon  <levon@movementarian.org>
5117
5118         * bufferview_funcs.h:
5119         * bufferview_funcs.C:
5120         * lyxfunc.C:
5121         * lyxtext.h:
5122         * text2.C: make getStatus work for the env depth lfuns
5123
5124 2003-04-03  John Levon  <levon@movementarian.org>
5125
5126         * bufferview_funcs.h:
5127         * bufferview_funcs.C:
5128         * lyxfunc.C:
5129         * lyxtext.h:
5130         * text2.C: parlistize decDepth(), by merging it with incDepth()
5131
5132 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5133
5134         * lyxrow.h: store a ParagraphList::iterator instead of a
5135         Paragraph* and adjust other class functions to suit.
5136
5137         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5138         above.
5139
5140 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5141
5142         * text2.C (setCursor): do not anchor to cursor row for the time being
5143
5144 2003-04-02  John Levon  <levon@movementarian.org>
5145
5146         * LyXAction.C:
5147         * lfuns.h:
5148         * lyx_main.C:
5149         * lyxtext.h:
5150         * text.C:
5151         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5152
5153 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5154
5155         * paragraph.h: make ParagraphList and ParagraphList::iterator
5156         friends of Paragraph.
5157
5158         * buffer.C (makeLinuxDocFile): move towards ParagraphList
5159
5160         * ParagraphList.C: Use the private next_ and previous_ from
5161         Paragraph.
5162
5163 2003-04-01  John Levon  <levon@movementarian.org>
5164
5165         * ToolbarBackend.h:
5166         * ToolbarBackend.C:
5167         * Makefile.am: rename, remove defaults gunk
5168
5169         * MenuBackend.h:
5170         * MenuBackend.C: remove defaults gunk
5171
5172         * Languages.h:
5173         * Languages.C: remove defaults gunk
5174
5175         * lyx_main.h:
5176         * lyx_main.C: error out if files couldn't be found.
5177
5178 2003-04-02  John Levon  <levon@movementarian.org>
5179
5180         * text2.C: make incDepth() use parlist
5181
5182 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5183
5184         * undo_funcs.C (firstUndoParagraph): adjust
5185
5186         * text3.C (gotoInset): adjust
5187         (dispatch): adjust, and rewrite loop.
5188
5189         * text2.C (init): adjust, and rewrite loop.
5190         (redoParagraphs): adjust
5191         (updateInset): adjust, and rewrite loop.
5192         (deleteEmptyParagraphMechanism): adjust
5193
5194         * tabular.C (LyXTabular): adjust
5195         (SetMultiColumn): adjust
5196         (TeXRow): adjust
5197
5198         * lyxtext.[Ch] (ownerParagraph): delete function
5199         (ownerParagraphs): new function returns a ParagraphList.
5200
5201         * BufferView.C (removeAutoInsets): adjust
5202         (insertErrors): adjust
5203         (setCursorFromRow): adjust
5204
5205 2003-04-01  Angus Leeming  <leeming@lyx.org>
5206
5207         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5208         in the frontends.
5209
5210 2003-04-02  John Levon  <levon@movementarian.org>
5211
5212         * lyxtext.h:
5213         * text.C:
5214         * Makefile.am:
5215         * text_funcs.h:
5216         * text_funcs.C: make transposeChars a free function
5217
5218         * lyxrow_funcs.C: remove wrong comment
5219
5220 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5221
5222         * lyxtext.h: adjust
5223         * rowpainter.C: adjust
5224         * text.C: adjust
5225         * text2.C: adjust
5226         * text3.C: adjust
5227
5228         * lyxrow_funcs. [Ch]: new files
5229
5230         * lyxrow.[Ch]: remove next and previous pointers
5231         (next,previous): remove accessor functions
5232         (isParEnd): move to lyxrow_funcs
5233         (lastPos): move to lyxrow_funcs
5234         (nextRowIsAllInset): move to lyxrow_funcs
5235         (lastPrintablePos): move to lyxrow_funcs
5236         (numberOfSeparators): move to lyxrow_funcs
5237         (numberOfHfills): move to lyxrow_funcs
5238         (numberOfLabelHfills): move to lyxrow_funcs
5239         (hfillExpansion): move to lyxrow_funcs
5240
5241         * lyxfunc.C: adjust
5242
5243         * bufferview_funcs.C (toggleAndShow): adjust
5244
5245         * RowList.h: Remove class RowList from file leave just a
5246         std::list<Row>.
5247
5248         * RowList.C: delete file
5249
5250         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5251         and lyxrow_funcs.h
5252
5253 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5254
5255         * text3.C (cursorPrevious): adjust
5256         (cursorNext): adjust
5257         (dispatch): adjust
5258
5259         * text2.C (redoHeightOfParagraph): adjust
5260         (redoDrawingOfParagraph): adjust
5261         (setCursor): adjust
5262
5263         * text.C (breakParagraph): adjust
5264         (insertChar): adjust
5265         (backspace): adjust
5266
5267         * rowpainter.C (RowPainter): adjust
5268         (leftMargin): simplify and adjust
5269         (most rowpainter functions): adjust.
5270
5271         * rowpainter.h: store the row as RowList::iterator not as Row*
5272
5273         * lyxcursor.C (row): taka RowList::iterator as arg
5274         (irow): ditto
5275
5276         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5277         of Row*.
5278
5279 2003-04-01  Angus Leeming  <leeming@lyx.org>
5280
5281         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5282         stuff like bool Bool.
5283
5284 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5285
5286         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5287         rewrite a loop
5288
5289 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5290
5291         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5292         RowList::iterator.
5293
5294         * lyxtext.h (rows): drop one version and leve a const variant that
5295         returns a RowList::iterator.
5296
5297 2003-03-31  Angus Leeming  <leeming@lyx.org>
5298
5299         * text.C (fill): ensure that the signature is the same as that in the
5300         header file.
5301
5302 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
5303
5304         * text2.C (redoParagraphs): adjust
5305         (updateCounters): adjust
5306         (checkParagraph): adjust
5307         (getColumnNearX): adjust and reformat a bit.
5308
5309         * text.C (top_y): adjust
5310         (workWidth): adjust
5311         (leftMargin): adjust
5312         (prepareToPrint): adjust
5313         (getRow): adjust
5314         (getRowNearY): adjust
5315
5316         * lyxtext.h: make rowlist_ mutable.
5317
5318         * RowList.h: add const_iterator
5319         * RowList.C: adjust for RowList::const_iterator.
5320
5321         * text2.C (getCursorX): make it take a RowList::iterator as arg,
5322         adjust.
5323
5324 2003-03-31  John Levon  <levon@movementarian.org>
5325
5326         * lyxrc.h:
5327         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5328
5329         * lyx_main.C: set default fonts from using lyx_gui funcs
5330
5331         * exporter.C: pdf_mode moved from lyxrc
5332
5333         * lyx_cb.C:
5334         * lyxfunc.C: changes from above
5335
5336 2003-03-31  John Levon  <levon@movementarian.org>
5337
5338         * lyx_main.C: fix to the last fix
5339
5340 2003-03-31  John Levon  <levon@movementarian.org>
5341
5342         * bufferlist.C: "Load original" -> "Load Original"
5343
5344         * converter.C:
5345         * exporter.C:
5346         * importer.C:
5347         * lyx_main.C:
5348         * format.C: more Alert cleanups
5349
5350 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5351
5352         * text2.C (removeParagraph): make it take a RowList::iterator as
5353         arg, adjust.
5354         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5355         (postRowPaint): make it take a RowList::iterator as arg, adjust.
5356
5357         * text.C (anchor_row): make it take a RowList::iterator as arg,
5358         adjust.
5359         (computeBidiTables): make it take a const reference to Row instead
5360         of Row pointer, adjust.
5361         (leftMargin): make it take a RowList::iterator as arg, adjust.
5362         (rowBreakPoint): adjust
5363         (breakAgainOneRow): make it take a RowList::iterator as arg,
5364         adjust.
5365         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5366
5367         * bufferview_funcs.C (toggleAndShow): adjust
5368
5369 2003-03-30  John Levon  <levon@movementarian.org>
5370
5371         * Makefile.am:
5372         * BoostFormat.h:
5373         * boost-inst.C: moved to support
5374
5375         * several files: changes as a result
5376
5377 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5378
5379         * text2.C (LyXText): adjust.
5380         (init): adjust
5381         (removeRow): make it take a RowList::iterator as arg, adjust.
5382         (fullRebreak): adjust
5383         (deleteEmptyParagraphMechanism): adjust
5384         (clearPaint): adjust
5385         (postPaint): adjust
5386
5387         * text.C (top_y): adjust
5388         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5389         (breakAgain): make it take a RowList::iterator as arg, adjust.
5390         (breakParagraph): adjust
5391         (insertChar): adjust
5392         (backspace): adjust
5393
5394         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5395         need_break_row, and refresh_row.
5396
5397         * text3.C (dispatch): adjust
5398
5399         * text2.C (checkParagraph): adjust
5400         (setCursor): adjust
5401         (setCursorFromCoordinates): adjust
5402
5403         * text.C (top_y): adjust
5404         (workWidth): adjust
5405         (getRow): make it return a RowList::iterator, adjust
5406         (getRowNearY): make it return a RowList::iterator, adjust
5407
5408         * text2.C (init): adjust
5409         (insertRow): remove function
5410         (insertParagraph): adjust
5411         (redoParagraphs): adjust
5412         (fullRebreak): adjust
5413         (updateCounters): adjust
5414
5415         * text.C (top_y): rewrite to use RowList iterators.
5416         (top_y): adjust
5417         (setHeightOfRow): rewrite to sue RowList iterators.
5418         (appendParagraph): adjust
5419         (breakAgain): adjust
5420         (breakAgainOneRow): adjust
5421         (breakParagraph): adjust
5422         (getRow): adjust
5423         (getRowNearY): adjust, and remove commented code.
5424
5425         * lyxtext.h (firstRow): delete function
5426         (lastRow): delete function
5427         (rows): new function (const and non-const versions.)
5428         (insertRow): delete function
5429
5430         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5431
5432 2003-03-29  John Levon  <levon@movementarian.org>
5433
5434         * BufferView_pimpl.C: always update scrollbar top
5435         because pasting text when we're anchored could mean we
5436         miss an update altogether
5437
5438 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5439
5440         * text2.C (init): use rowlist_.end() and not 0.
5441         (insertRow): change to take a RowList::iterator as arg, adjust
5442         for this.
5443         (insertParagraph): change to take a RowList::iterator as arg,
5444         adjust for this.
5445         (redoParagraphs): remove some debug msgs.
5446
5447         * text.C (appendParagraph): change to take a RowList::iterator
5448         arg, adjust for this.
5449         (breakAgain): add an assert
5450         (breakAgainOneRow): ditto
5451
5452 2003-03-29  John Levon  <levon@movementarian.org>
5453
5454         * text2.C: do not clear selection after inc/decDepth
5455         (bug 550)
5456
5457 2003-03-29  John Levon  <levon@movementarian.org>
5458
5459         * BufferView.C:
5460         * buffer.C: fix broken strerrors according to Lars
5461
5462 2003-03-29  John Levon  <levon@movementarian.org>
5463
5464         * converters.C: more Alert cleanups
5465
5466 2003-03-29  John Levon  <levon@movementarian.org>
5467
5468         * bufferview_funcs.C: remove pointless Alert
5469
5470         * buffer.C: fix confusing error message when
5471         a template is chmoded 000
5472
5473 2003-03-29  John Levon  <levon@movementarian.org>
5474
5475         * BufferView.C:
5476         * BufferView.h:
5477         * BufferView_pimpl.C: Alert fixes
5478
5479         * Makefile.am:
5480         * tabular.C:
5481         * tabular-old.C: remove unused table compat reading
5482
5483 2003-03-29  John Levon  <levon@movementarian.org>
5484
5485         * BufferView.C:
5486         * buffer.C:
5487         * lyx_cb.h:
5488         * lyx_cb.C: more Alert cleanups
5489
5490         * lyxfunc.C: don't allow chktex if not latex document
5491
5492 2003-03-29  John Levon  <levon@movementarian.org>
5493
5494         * lyx_cb.C:
5495         * BufferView.C:
5496         * buffer.C: warnings pushed down from support/,
5497         kill err_alert
5498
5499 2003-03-29  John Levon  <levon@movementarian.org>
5500
5501         * lyxfunc.C: safety check for C-r (revert)
5502
5503 2003-03-29  John Levon  <levon@movementarian.org>
5504
5505         * bufferlist.h:
5506         * bufferlist.C: several UI fixes using Alert::prompt.
5507         Fix the pointless looping quit code. Fix stupid revert
5508         behaviour (bug 938)
5509
5510         * lyxvc.h:
5511         * lyxvc.C:
5512         * lyx_cb.C: use Alert::prompt
5513
5514         * lyx_main.C: remove a silly question
5515
5516         * lyxfunc.C: remove a couple of silly questions,
5517         use Alert::prompt
5518
5519 2003-03-28  John Levon  <levon@movementarian.org>
5520
5521         * text2.C: fix bug 974 (End on empty par)
5522
5523 2003-03-28  John Levon  <levon@movementarian.org>
5524
5525         * BufferView_pimpl.C:
5526         * LyXAction.C:
5527         * lfuns.h: remove do-nothing math greek lfuns
5528
5529 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5530
5531         * lyxgluelength.h (isValidGlueLength): add default arg on
5532         parameter 2. Remove default arg from friend in class.
5533
5534         * lyxlength.h (isValidLength): add default arg on parameter 2.
5535         Remove default arg from friend in class.
5536
5537         * text2.C (LyXText): adjust, initialize refresh_row.
5538         (init): adjust
5539         (removeRow): adjust
5540         (insertRow): adjust
5541         (insertParagraph): adjst
5542         (redoParagraphs): adjust
5543         (fullRebreak): adjust
5544         (updateCounters): adjust
5545         (deleteEmptyParagraphMechanism): first attempt at fixing a
5546         crashing bug.
5547
5548         * text.C (top_y): adjust
5549         (setHeightOfRow): adjust
5550         (getRow): adjust
5551         (getRowNearY): adjust
5552
5553         * lyxtext.h: include RowList.h
5554         (~LyXText): not needed anymore, deleted.
5555         (firstRow): modify for RowList
5556         (lastRow): new function
5557         Delete firstrow and lastrow class variables, add a Rowlist
5558         rowlist_ class variable.
5559
5560         * lyxrow.C (lastPos): use empty() and not !size() to check if a
5561         paragraph is empty.
5562
5563         * RowList.C (insert): fix case where it == begin().
5564
5565 2003-03-26  Angus Leeming  <leeming@lyx.org>
5566
5567         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5568         the thesaurus dialog.
5569
5570 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5571
5572         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5573
5574         * RowList.[Ch]: new files
5575
5576         * ParagraphList.C (erase): handle the case where it == begin
5577         correctly.
5578
5579 2003-03-25  John Levon  <levon@movementarian.org>
5580
5581         * Makefile.am:
5582         * aspell_local.h:
5583         * aspell.C: add new aspell support
5584
5585         * lyxrc.h:
5586         * lyxrc.C: Make use_pspell be use_spell_lib. Always
5587         have it accessible.
5588
5589 2003-03-25  Angus Leeming  <leeming@lyx.org>
5590
5591         * lfuns.h:
5592         * LyXAction.C (init): new LFUN_INSET_INSERT.
5593
5594         * BufferView_pimpl.C (dispatch): split out part of the
5595         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5596
5597         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5598         LFUN_INSET_APPLY.
5599
5600 2003-03-25  Angus Leeming  <leeming@lyx.org>
5601
5602         * lyxfunc.C (dispatch): changes to the Dialogs interface.
5603
5604 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
5605
5606         * text2.C:
5607         * text3.C: remove useless row->height(0)
5608
5609 2003-03-25  John Levon  <levon@movementarian.org>
5610
5611         * lyxtext.h:
5612         * text2.C:
5613         * text3.C: rename the refreshing stuff to better names
5614
5615 2003-03-24  John Levon  <levon@movementarian.org>
5616
5617         * BufferView_pimpl.h:
5618         * BufferView_pimpl.C: update layout choice on a mouse
5619         press/release
5620
5621 2003-03-23  John Levon  <levon@movementarian.org>
5622
5623         * Makefile.am: fix commandtags.h reference
5624
5625 2003-03-22  John Levon  <levon@movementarian.org>
5626
5627         * BufferView_pimpl.C:
5628         * lyxtext.h:
5629         * rowpainter.C:
5630         * rowpainter.h:
5631         * text.C:
5632         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5633
5634 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
5635
5636         * lyxtext.h:
5637         * text.C: take the rtl methods out of line
5638
5639 2003-03-21 André Pönitz <poenitz@gmx.net>
5640
5641         * metricsinfo.[Ch]: new files containing structures to be passed around
5642         during the two-phase-drawing...
5643
5644 2003-03-21 André Pönitz <poenitz@gmx.net>
5645
5646         * lyxtextclass.C: read 'environment' tag.
5647
5648 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
5649
5650         * text2.C (removeRow): fix bug 964
5651
5652 2003-03-20  John Levon  <levon@movementarian.org>
5653
5654         * rowpainter.C:
5655         * text.C:
5656         * text2.C: paint cleanups. Inset::update() dropped font
5657         parameter
5658
5659 2003-03-19  John Levon  <levon@movementarian.org>
5660
5661         * lyxfunc.C: only fitcursor/markDirty if available()
5662
5663 2003-03-19  John Levon  <levon@movementarian.org>
5664
5665         * commandtags.h: rename to ...
5666
5667         * lfuns.h: ... this, and renumber / cleanup
5668
5669 2003-03-19  John Levon  <levon@movementarian.org>
5670
5671         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5672         fit the cursor after an lfun
5673
5674         * BufferView.h:
5675         * BufferView.C:
5676         * BufferView_pimpl.h:
5677         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5678
5679         * LyXAction.C: layout-character should have ReadOnly
5680
5681         * ParagraphParameters.C:
5682         * buffer.C:
5683         * bufferview_funcs.C:
5684         * lyx_cb.C:
5685         * lyxfind.C:
5686         * lyxtext.h:
5687         * text.C:
5688         * text2.C:
5689         * text3.C:
5690         * undo_funcs.C: changes from above
5691
5692 2003-03-18  John Levon  <levon@movementarian.org>
5693
5694         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5695         remove it from update()
5696
5697         * lyxfunc.C: update layout choice after an lfun
5698
5699         * text3.C: remove extra updateLayoutChoice()s
5700
5701 2003-03-18  John Levon  <levon@movementarian.org>
5702
5703         * text.C: top_y change means full repaint, fix
5704         a drawing bug with cursor movement
5705
5706 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5707
5708         * lyxtext.h:
5709         * text.C:
5710         * text2.C: anchor row on setCursor
5711
5712 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5713
5714         * lyxtext.h: remove almost all mutable keywords
5715         * text.C:
5716         * text2.C:
5717         * text3.C: remove const keywords accordingly
5718
5719 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5720
5721         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5722         anon namespace
5723         (TeXEnvironment): ditto
5724         (TeXOnePar): ditto
5725
5726 2003-03-17  John Levon  <levon@movementarian.org>
5727
5728         * text.C (rowBreakPoint): remove attempt to fix displayed
5729         math insets inside a manual label
5730
5731 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5732
5733         * lyxtext.h: remove BufferView* as first arg from almost all class
5734         functions.
5735         * other files: adjust.
5736
5737 2003-03-17  John Levon  <levon@movementarian.org>
5738
5739         * lyxtext.h:
5740         * undo_funcs.C:
5741         * text2.C: more paint cleanups
5742
5743         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5744
5745         * rowpainter.h:
5746         * rowpainter.C: remove "smart" background painting code
5747
5748 2003-03-16  John Levon  <levon@movementarian.org>
5749
5750         * lyxtext.h:
5751         * text.C:
5752         * text2.C:
5753         * text3.C: add helper functions for setting refresh_row/y
5754
5755 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
5756
5757         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5758         newline inset which *can* get inserted in the pass_thru layouts.
5759         This is primarily for literate documents.
5760
5761 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
5762
5763         * buffer.C: increment LYX_FORMAT to 223
5764
5765 2003-03-14 André Pönitz <poenitz@gmx.net>
5766
5767         * textclass.h: prepare for environment handling, ws changes
5768         * lyxlayout.C: read latexheader and latexfooter tags
5769
5770 2003-03-14  John Levon  <levon@movementarian.org>
5771
5772         * text2.C: rewrite ::status() a bit
5773
5774 2003-03-13  John Levon  <levon@movementarian.org>
5775
5776         * lyxtext.h: add some docs
5777
5778 2003-03-13  John Levon  <levon@movementarian.org>
5779
5780         * lyxtext.h:
5781         * text.C:
5782         * text2.C:
5783         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5784
5785 2003-03-13  John Levon  <levon@movementarian.org>
5786
5787         * text3.C: fix appendix redrawing
5788
5789 2003-03-13  John Levon  <levon@movementarian.org>
5790
5791         * text.C (setHeightOfRow):
5792         * rowpainter.h:
5793         * rowpainter.C: make appendix mark have the text
5794           "Appendix" so the user knows what it is
5795
5796         * LColor.h:
5797         * LColor.C: s/appendixline/appendix/ from above
5798
5799 2003-03-13  John Levon  <levon@movementarian.org>
5800
5801         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5802
5803         * text.C: fix a getChar(pos) bug properly
5804
5805 2003-03-13  Angus Leeming  <leeming@lyx.org>
5806
5807         * commandtags.h:
5808         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5809         Probably only temporary. Let's see how things pan out.
5810
5811         * BufferView.C (unlockInset):
5812         * BufferView_pimpl.C (fitCursor):
5813         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5814
5815         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5816         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5817
5818         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5819         new functions that convert ParagraphParameters to and from a string.
5820
5821         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5822         BufferView::Pimpl's dispatch.
5823         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5824
5825 2003-03-13 André Pönitz <poenitz@gmx.net>
5826
5827         * lyxfunc.C:
5828         * text3.C:
5829         * factory.C: make it aware of InsetEnv
5830
5831 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5832
5833         * text2.C (setCursor): never ask for one past last
5834         (setCursor): add some debugging messages.
5835
5836         * text.C (singleWidth): never ask for one past last
5837         (singleWidth): ditto
5838         (leftMargin): ditto
5839         (rightMargin): ditto
5840         (rowBreakPoint): ditto
5841         (setHeightOfRow): ditto
5842         (prepareToPrint): ditto
5843
5844         * rowpainter.C (paintBackground): never ask for one past last
5845         (paintText): never ask for one past last
5846
5847         * paragraph_pimpl.C (getChar): make the assert stricter, never
5848         allow the one past last pos to be taken
5849
5850         * paragraph.C (getChar): ws changes only
5851
5852         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5853         (numberOfSeparators): ditto
5854         (numberOfHfills): ditto
5855
5856 2003-03-12  John Levon  <levon@movementarian.org>
5857
5858         * author.h:
5859         * author.C:
5860         * bufferparams.h:
5861         * bufferparams.C:
5862         * paragraph_funcs.C: fix per-buffer authorlists
5863
5864 2003-03-12  John Levon  <levon@movementarian.org>
5865
5866         * text.C: fix newline in right address
5867
5868 2003-03-12  Angus Leeming  <leeming@lyx.org>
5869
5870         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5871         duplicate those in LyXFunc::dispatch.
5872
5873         * commandtags.h:
5874         * LyXAction.C:
5875         * ToolbarDefaults.C:
5876         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5877         Add LFUN_FONTFREE_UPDATE.
5878
5879         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5880         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5881
5882         * bufferview_func.[Ch]: several new functions to facilliate
5883         transfer of data to and from the character dialog.
5884
5885 2003-03-12  John Levon  <levon@movementarian.org>
5886
5887         * buffer.C:
5888         * paragraph.h:
5889         * paragraph.C:
5890         * paragraph_funcs.C:
5891         * paragraph_pimpl.C:
5892         * sgml.C:
5893         * tabular.C:
5894         * text.C:
5895         * text3.C: remove META_NEWLINE in favour of an inset
5896
5897         * rowpainter.h:
5898         * rowpainter.C: remove paintNewline (done by inset)
5899
5900 2003-03-12  John Levon  <levon@movementarian.org>
5901
5902         * paragraph_pimpl.C: complain about bad getChar()s
5903         for a while at least
5904
5905 2003-03-12  John Levon  <levon@movementarian.org>
5906
5907         * buffer.h:
5908         * buffer.C: move paragraph read into a separate function,
5909         a little renaming to reflect that.
5910
5911         * bufferparams.h:
5912         * bufferparams.C: remove the author_ids map, not necessary now
5913
5914         * factory.h:
5915         * factory.C: moved Buffer::readInset to here
5916
5917         * paragraph_funcs.h:
5918         * paragraph_funcs.C: readParagraph free function moved from
5919         buffer.C
5920
5921         * tabular.C: name change
5922
5923 2003-03-12  John Levon  <levon@movementarian.org>
5924
5925         * buffer.C:
5926         * ParagraphParameters.C: move par params input to
5927         a read() method
5928
5929         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5930         behave like a normal read from the stream wrt reading
5931         a line vs. a \\token
5932
5933 2003-03-12  John Levon  <levon@movementarian.org>
5934
5935         * paragraph.C:
5936         * ParagraphParameters.h:
5937         * ParagraphParameters.C: move output code to a
5938         ::write() method
5939
5940 2003-03-12  John Levon  <levon@movementarian.org>
5941
5942         * BufferView.C (insertLyXFile):
5943         * buffer.h:
5944         * buffer.C:
5945         * tabular.C: use a parlist iterator for creating the
5946           document.
5947
5948 2003-03-12  John Levon  <levon@movementarian.org>
5949
5950         * buffer.C: make current_change static local not
5951           static file-scope
5952
5953 2003-03-12  John Levon  <levon@movementarian.org>
5954
5955         * buffer.C: fix insertStringAsLines for change tracking
5956
5957 2003-03-12  John Levon  <levon@movementarian.org>
5958
5959         * BufferView.C:
5960         * tabular.C:
5961         * buffer.h:
5962         * buffer.C:
5963         * bufferparams.h:
5964         * bufferparams.C: move author list into params. Rename some
5965           functions. Move the header reading into a separate token
5966           loop. Move the header token reading into BufferParams.
5967
5968 2003-03-12  John Levon  <levon@movementarian.org>
5969
5970         * changes.C: put debug inside lyxerr.debugging() checks
5971
5972 2003-03-11 André Pönitz <poenitz@gmx.net>
5973
5974         * factory.C: make it aware of InsetHFill
5975
5976 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5977
5978         * buffer.C (latexParagraphs): move function from here...
5979         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5980         args.
5981
5982 2003-03-10  Angus Leeming  <leeming@lyx.org>
5983
5984         * LyXAction.C (init): fix bug in poplating array with multiple entries
5985         with the same LFUN (spotted by JMarc).
5986
5987 2003-03-10  John Levon  <levon@movementarian.org>
5988
5989         * text.C:
5990         * text2.C: move getColumnNearX() near its
5991         only call site
5992
5993 2003-03-10  John Levon  <levon@movementarian.org>
5994
5995         * text.C: fix break before a minipage
5996
5997 2003-03-10  John Levon  <levon@movementarian.org>
5998
5999         * text.C: fix the last commit
6000
6001 2003-03-09  John Levon  <levon@movementarian.org>
6002
6003         * lyxtext.h:
6004         * text.C:
6005         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6006         bug 365 (don't break before insets unless needed). Don't
6007         return a value > last under any circumstances.
6008
6009 2003-03-09  Angus Leeming  <leeming@lyx.org>
6010
6011         * BufferView_pimpl.C (trackChanges, dispatch): call
6012         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6013
6014 2003-03-09  Angus Leeming  <leeming@lyx.org>
6015
6016         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6017         than Dialogs::showAboutlyx().
6018
6019 2003-03-09  Angus Leeming  <leeming@lyx.org>
6020
6021         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6022         than Dialogs::showTabularCreate().
6023
6024 2003-03-09  John Levon  <levon@movementarian.org>
6025
6026         * lyxtext.h:
6027         * text.C:
6028         * text2.C: 3rd arg to nextBreakPoint was always the same.
6029           Use references.
6030
6031 2003-03-08  John Levon  <levon@movementarian.org>
6032
6033         * lyxrow.C:
6034         * paragraph.C:
6035         * paragraph.h:
6036         * rowpainter.C:
6037         * text.C:
6038         * text2.C: Remove the "main" bit from the "main body"
6039           notion.
6040
6041 2003-03-08  John Levon  <levon@movementarian.org>
6042
6043         * text.C (leftMargin): The left margin of an empty
6044         manual label paragraph should not include the label width
6045         string length.
6046
6047         * text.C (prepareToPrint): don't attempt to measure hfills
6048         for empty manual label paragraphs - the answer should be 0
6049
6050 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6051
6052         * CutAndPaste.C: remove commented code and reindent.
6053
6054 2003-03-08  John Levon  <levon@movementarian.org>
6055
6056         * lyxfunc.h:
6057         * lyxfunc.C: move reloadBuffer()
6058
6059         * BufferView.h:
6060         * BufferView.C: to here
6061
6062         * lyxvc.C: add comment
6063
6064         * vc-backend.h:
6065         * vc-backend.C: call bv->reload() to avoid
6066           getStatus() check on MENURELOAD
6067
6068 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
6069
6070         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6071         to an old format .dep file.
6072
6073 2003-03-07  Angus Leeming  <leeming@lyx.org>
6074
6075         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6076         when the LFUN_MOUSE_RELEASE should have been handled by
6077         inset->localDispatch.
6078
6079 2003-03-07  Angus Leeming  <leeming@lyx.org>
6080
6081         * BufferView_pimpl.C (dispatch):
6082         * LyXAction.C (init):
6083         * ToolbarDefaults.C (init):
6084         * commandtags.h:
6085         * lyxfunc.C (getStatus):
6086         remove LFUN_INSET_GRAPHICS.
6087
6088         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6089
6090 2003-03-07  Angus Leeming  <leeming@lyx.org>
6091
6092         * commandtags.h:
6093         * LyXAction.C (init):
6094         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6095
6096         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6097
6098         * commandtags.h:
6099         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6100
6101         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6102         localDispatch method LFUN_INSET_DIALOG_UPDATE.
6103
6104 2003-03-07  Angus Leeming  <leeming@lyx.org>
6105
6106         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6107         remove "ert".
6108
6109 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6110
6111         * ParagraphList.C (front): new function
6112         (back): implement
6113
6114 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
6115
6116         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6117         and top_row_offset_. removed var first_y.
6118         * text.C (top_y):
6119         * text2.C (LyXText, removeRow):
6120         * text3.C:
6121         * BufferView_pimpl.C:
6122         use these methods instead of using first_y
6123
6124 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6125
6126         * text2.C (pasteSelection): adjust for checkPastePossible
6127
6128         * CutAndPaste.C: remove Paragraph * buf and replace with
6129         ParagraphList paragraphs.
6130         (DeleteBuffer): delete
6131         (cutSelection): change the tc type to textclass_type
6132         (copySelection): change the tc type to textclass_type
6133         (copySelection): adjust for ParagraphList
6134         (pasteSelection): change the tc type to textclass_type
6135         (pasteSelection): adjust for Paragraphlist
6136         (nrOfParagraphs): simplify for ParagraphList
6137         (checkPastePossible): simplify for ParagraphList
6138         (checkPastePossible): remove unused arg
6139
6140         * ParagraphList.C (insert): handle the case where there are no
6141         paragraphs yet.
6142
6143         * CutAndPaste.h: make CutAndPaste a namespace.
6144
6145         * text3.C (dispatch): adjust
6146
6147         * text.C (breakParagraph): add a ParagraphList as arg
6148
6149         * paragraph_funcs.C (breakParagraph): change to take a
6150         BufferParams and a ParagraphList as args.
6151         (breakParagraphConservative): ditto
6152         (mergeParagraph): ditto
6153         (TeXDeeper): add a ParagraphList arg
6154         (TeXEnvironment): ditto
6155         (TeXOnePar): ditto
6156
6157         * buffer.C (readLyXformat2): adjust
6158         (insertStringAsLines): adjust
6159         (latexParagraphs): adjust
6160
6161         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6162         (cutSelection): adjust
6163         (pasteSelection): adjust
6164
6165         * BufferView_pimpl.C (insertInset): adjust
6166
6167 2003-03-05  Angus Leeming  <leeming@lyx.org>
6168
6169         * commandtags.h:
6170         * LyXAction.C (init):
6171         * BufferView_pimpl.C (dispatch):
6172         * lyxfunc.C (getStatus):
6173         remove LFUN_CHILD_INSERT.
6174
6175         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6176
6177 2003-03-05  Angus Leeming  <leeming@lyx.org>
6178
6179         * commandtags.h:
6180         * LyXAction.C (init):
6181         * src/factory.C (createInset):
6182         * lyxfunc.C (getStatus):
6183         * text3.C (dispatch):
6184         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6185
6186         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6187
6188 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6189
6190         * ParagraphList.C (insert): handle insert right before end()
6191         (erase): fix cases where it can be first or last paragraph.
6192
6193 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6194
6195         * paragraph_funcs.C (TeXEnvironment): remove all usage of
6196         Paragraph::next and Paragraph::previous
6197         (TeXOnePar): ditto
6198
6199         * text.C (breakParagraph): adjust
6200
6201         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6202         BufferParams& as arg.
6203         (breakParagraph): use ParagraphList::insert
6204         (breakParagraphConservative): take a Buffer* instead of a
6205         BufferParams& as arg.
6206         (breakParagraphConservative): use ParagraphList::insert.
6207
6208         * buffer.C (insertStringAsLines): un-const it
6209         (insertStringAsLines): adjust
6210
6211         * ParagraphList.C (insert): new function
6212
6213         * CutAndPaste.C (pasteSelection): adjust
6214
6215         * text.C (backspace): adjust
6216
6217         * tabular.C (SetMultiColumn): adjust
6218
6219         * CutAndPaste.C (cutSelection): adjust
6220         (pasteSelection): adjust
6221
6222         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6223         Buffer const * as arg
6224
6225         * ParagraphList.C (erase): new function
6226         * paragraph_funcs.C (mergeParagraph): use it
6227         (mergeParagraph): make it take a Buffer* instead of a
6228         BufferParams* as arg
6229
6230         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6231         as arg
6232         (breakParagraphConservative): ditto
6233
6234         * paragraph.h: remove the breakParagraph friend
6235
6236         * paragraph.C (eraseIntern): new function
6237         (setChange): new function
6238
6239         * paragraph_funcs.C (mergeParagraph): make it take a
6240         ParagraphList::iterator instead of a Paragraph *, adjust
6241         accordingly.
6242
6243         * paragraph.h: move an #endif so that the change tracking stuff
6244         also works in the NO_NEXT case.
6245
6246 2003-03-04  Angus Leeming  <leeming@lyx.org>
6247
6248         * commandtags.h:
6249         * LyXAction.C: new LFUN_INSET_MODIFY.
6250
6251         * BufferView_pimpl.C (dispatch): if an inset is found to be open
6252         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6253
6254 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6255
6256         * several files: ws changes only
6257
6258         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6259         (TeXEnvironment): ditto
6260         (TeXDeeper): ditto
6261
6262         * buffer.C (makeLaTeXFile): adjust
6263         (latexParagraphs): make it take ParagraphList::iterator as args
6264
6265 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6266
6267         * buffer.C (latexParagraphs): adjust
6268
6269         * paragraph.C (TeXOnePar): move function...
6270         (optArgInset): move function...
6271         (TeXEnvironment): move function...
6272         * paragraph_pimpl.C (TeXDeeper): move function...
6273         * paragraph_funcs.C: ...here
6274
6275         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6276
6277 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6278
6279         * buffer.C (readInset): remove compability code for old Figure and
6280         InsetInfo insets
6281
6282 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6283
6284         * buffer.C: ws changes
6285         (readInset):
6286
6287         * BufferView_pimpl.C: ditto
6288         * author.C: ditto
6289         * buffer.h: ditto
6290         * bufferlist.h: ditto
6291         * changes.h: ditto
6292         * lyxfunc.C: ditto
6293
6294 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
6295
6296         * converter.[Ch]: split into itself +
6297         * graph.[Ch]
6298         * format.[Ch]
6299         * Makefile.am: += graph.[Ch] + format.[Ch]
6300         * MenuBackend.C
6301         * buffer.C
6302         * exporter.C
6303         * importer.C
6304         * lyx_main.C
6305         * lyxfunc.C
6306         * lyxrc.C: added #include "format.h"
6307
6308 2003-02-27  Angus Leeming  <leeming@lyx.org>
6309
6310         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6311           a label.
6312
6313         * factory.C (createInset): add "label" to the factory.
6314
6315         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6316           string and do no more.
6317
6318 2003-02-27  Angus Leeming  <leeming@lyx.org>
6319
6320         * commandtags.h:
6321         * LyXAction.C (init):
6322         * factory.C (createInset):
6323         * BufferView_pimpl.C (dispatch):
6324           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6325
6326         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6327
6328         * lyxfunc.C (dispatch):
6329         * text3.C (dispatch): pass name to params2string.
6330
6331 2003-02-26  Angus Leeming  <leeming@lyx.org>
6332
6333         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6334           blocks together.
6335           Rearrange the ~includes. Strip out the unnecessary ones.
6336
6337         * factory.C (createInset): reformat.
6338           create new insets for the various LFUN_XYZ_APPLY lfuns.
6339
6340 2003-02-26  John Levon  <levon@movementarian.org>
6341
6342         * lyxrow.h:
6343         * lyxrow.C: add isParStart,isParEnd helpers
6344
6345         * paragraph.h: make isInserted/DeletedText take refs
6346
6347         * paragraph_funcs.h:
6348         * paragraph_funcs.C: remove #if 0'd code
6349
6350         * lyxtext.h:
6351         * text3.C:
6352         * text2.C:
6353         * text.C: use lyxrow helpers above.
6354           Move draw and paint routines to RowPainter.
6355           Make several methods use refs not pointers.
6356           Make backgroundColor() const.
6357           Add markChangeInDraw(), isInInset().
6358           Merge changeRegionCase into changeCase.
6359           Make workWidth() shouldn't-happen code into an Assert.
6360
6361         * rowpainter.h:
6362         * rowpainter.C: new class for painting a row.
6363
6364         * vspace.h:
6365         * vspace.C: make inPixels take a ref
6366
6367 2003-02-26  Angus Leeming  <leeming@lyx.org>
6368
6369         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6370         LFUN_REF_APPLY.
6371
6372 2003-02-25  John Levon  <levon@movementarian.org>
6373
6374         * ispell.C: give the forked command a more accurate name
6375
6376 2003-02-22  John Levon  <levon@movementarian.org>
6377
6378         * toc.h:
6379         * toc.C: make TocItem store an id not a Paragraph *
6380           (bug #913)
6381
6382 2003-02-21  Angus Leeming  <leeming@lyx.org>
6383
6384         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6385           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6386           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6387           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6388           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6389           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6390
6391         * BufferView_pimpl.C (dispatch):
6392         * LyXAction.C (init):
6393         * factory.C (createInset):
6394         * lyxfunc.C (getStatus, dispatch):
6395         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6396
6397 2003-02-21  Angus Leeming  <leeming@lyx.org>
6398
6399         * BufferView_pimpl.C (MenuInsertLyXFile):
6400         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6401         * lyxfunc.C (menuNew, open, doImport):
6402           no longer pass a LyXView & to fileDlg.
6403
6404 2003-02-21  Angus Leeming  <leeming@lyx.org>
6405
6406         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6407         * LyXAction.C: change, BIBKEY to BIBITEM.
6408         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6409         Change InsetBibKey to InsetBibitem.
6410         Change BIBKEY_CODE to BIBITEM_CODE.
6411         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6412         * factory.C: replace insetbib.h with insetbibitem.h.
6413         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6414         * paragraph.C: replace insetbib.h with insetbibitem.h.
6415         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6416         Change bibkey() to bibitem().
6417         * text.C: remove insetbib.h.
6418         * text2.C: replace insetbib.h with insetbibitem.h.
6419         change bibkey() to bibitem().
6420         * text3.C: remove insetbib.h.
6421         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6422
6423 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6424
6425         * lyxrc.C (output): enclose user email in quotes (in case there are
6426         several words)
6427
6428 2003-02-18  John Levon  <levon@movementarian.org>
6429
6430         * buffer.h: add std::
6431
6432 2003-02-17  John Levon  <levon@movementarian.org>
6433
6434         * SpellBase.h:
6435         * ispell.h:
6436         * ispell.C:
6437         * pspell.h:
6438         * pspell.C: reworking. Especially in ispell, a large
6439           number of clean ups and bug fixes.
6440
6441         * lyxfunc.C: fix revert to behave sensibly
6442
6443 2003-02-17 André Pönitz <poenitz@gmx.net>
6444
6445         * LyXAction.C:
6446         * commandtags.h: new LFUN_INSERT_BIBKEY
6447
6448         * layout.h:
6449         * lyxlayout.C:
6450         * buffer.C:
6451         * factory.C:
6452         * text.C:
6453         * text2.C:
6454         * text3.C:
6455         * paragraph.[Ch]:
6456         * paragraph_func.C: remove special bibkey handling
6457
6458 2003-02-17  John Levon  <levon@movementarian.org>
6459
6460         * text.C (Delete): fix case where delete at the end of
6461           the very first paragraph would not merge the pars
6462
6463 2003-02-17  John Levon  <levon@movementarian.org>
6464
6465         * lyxrow.C: fix lastPrintablePos()
6466
6467 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6468
6469         * bufferparams.C (writeLaTeX): add a std:here
6470
6471         * buffer.C: and remove a using directive there
6472
6473 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6474
6475         * buffer.C (makeLaTeXFile): move the code that generates the
6476           preamble...
6477
6478         * bufferparams.C (writeLaTeX): ... in this new method
6479
6480         * LaTeXFeatures.C (getEncodingSet): make const
6481           (getLanguages): make const
6482
6483         * MenuBackend.C (binding): returns the binding associated to this
6484           action
6485           (add): sets the status of each item by calling getStatus. Adds
6486           some intelligence.
6487           (read): add support for OptSubMenu
6488           (expand): remove extra separator at the end of expanded menu
6489
6490 2003-02-15  John Levon  <levon@movementarian.org>
6491
6492         * BufferView.C:
6493         * BufferView_pimpl.C:
6494         * bufferlist.h:
6495         * bufferlist.C: remove pointless BufferStorage bloat. Remove
6496           inset code that had no actual effect. Remove unneeded status
6497           code.
6498
6499 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6500
6501         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6502           in preamble
6503
6504 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
6505
6506         * text.C (drawLengthMarker): also draw an arrow marker for
6507           symbolic lengths (medskip...)
6508
6509 2003-02-14  John Levon  <levon@movementarian.org>
6510
6511         * tabular.h:
6512         * tabular.C: better method names
6513
6514 2003-02-14  John Levon  <levon@movementarian.org>
6515
6516         * BufferView_pimpl.C:
6517         * bufferlist.C:
6518         * buffer.C:
6519         * converter.C:
6520         * lyx_cb.C:
6521         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6522           it's a more accurate name. Remove some pointless uses.
6523
6524 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6525
6526         * text2.C (LyXText): change order of initilizers to shut off
6527           warnings
6528
6529 2003-02-14  John Levon  <levon@movementarian.org>
6530
6531         * buffer.C: use ParIterator for getParFromID()
6532
6533         * paragraph.h:
6534         * paragraph.C:
6535         * paragraph_pimpl.h:
6536         * paragraph_pimpl.C: remove unused getParFromID()
6537
6538 2003-02-14  John Levon  <levon@movementarian.org>
6539
6540         * buffer.C: remove some very old #if 0'd parse code
6541
6542 2003-02-13  John Levon  <levon@movementarian.org>
6543
6544         * text.h:
6545         * text.C:
6546         * text2.C: move hfillExpansion(), numberOfSeparators(),
6547           rowLast(), rowLastPrintable(), numberofHfills(),
6548           numberOfLabelHfills() ...
6549
6550         * lyxrow.h:
6551         * lyxrow.C: ... to member functions here.
6552
6553         * paragraph.h:
6554         * paragraph.C:
6555         * lyxtext.h:
6556         * text.C: remove LyXText::beginningOfMainBody(), and call
6557           p->beginningOfMainBody() directly. Move the check for
6558           LABEL_MANUAL into the latter.
6559
6560         * text.h:
6561         * text.C:
6562         * text2.C:
6563         * vspace.C:
6564         * BufferView.h:
6565         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6566
6567         * text.h:
6568         * text.C:
6569         * text2.C:
6570         * text3.C:
6571         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6572           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6573
6574 2003-02-13  John Levon  <levon@movementarian.org>
6575
6576         * CutAndPaste.C: remove debug
6577
6578 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6579
6580         * paragraph.C (asString): remove two unused variables
6581
6582         * lyxtextclass.C (readTitleType):
6583           (Read):
6584           (LyXTextClass): handle new members titletype_ and titlename_
6585
6586         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6587
6588 2003-02-09  John Levon  <levon@movementarian.org>
6589
6590         * buffer.h:
6591         * buffer.C: replace hand-coded list with a map for the dep clean
6592
6593 2003-02-08  John Levon  <levon@movementarian.org>
6594
6595         * LaTeX.C: consolidate code into showRunMessage() helper
6596
6597 2003-02-08  John Levon  <levon@movementarian.org>
6598
6599         * lyxfind.C:
6600         * lyxtext.h:
6601         * text2.C:
6602         * BufferView.C: change setSelectionOverString() to setSelectionRange()
6603           and pass the size in explicitly
6604
6605         * BufferView_pimpl.h:
6606         * BufferView_pimpl.C:
6607         * BufferView.h:
6608         * BufferView.C: add getCurrentChange()
6609
6610         * BufferView_pimpl.h:
6611         * BufferView_pimpl.C: handle change lfuns
6612
6613         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6614           for changes. Mark pasted paragraphs as new.
6615
6616         * support/lyxtime.h:
6617         * support/lyxtime.C:
6618         * DepTable.C: abstract time_t as lyx::time_type
6619
6620         * LColor.h:
6621         * LColor.C: add colours for new text, deleted text, changebars
6622
6623         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6624           package use "usenames" option.
6625
6626         * commandtags.h:
6627         * lyxfunc.C:
6628         * LyXAction.C: add change lfuns
6629
6630         * Makefile.am:
6631         * author.h:
6632         * author.C: author handling
6633
6634         * buffer.h:
6635         * buffer.C: add a per-buffer author list, with first entry as
6636           current author. Handle new .lyx tokens for change tracking. Output
6637           author list to .lyx file. Output dvipost stuff to .tex preamble.
6638           Bump lyx format to 222.
6639
6640         * bufferlist.h:
6641         * bufferlist.C: add setCurrentAuthor() to reset current author details
6642           in all buffers.
6643
6644         * bufferparams.h:
6645         * bufferparams.C: add param for tracking
6646
6647         * bufferview_funcs.C: output change info in minibuffer
6648
6649         * Makefile.am:
6650         * changes.h:
6651         * changes.C: add change-tracking structure
6652
6653         * debug.h:
6654         * debug.C: add CHANGES debug flag
6655
6656         * lyxfind.h:
6657         * lyxfind.C: add code for finding the next change piece
6658
6659         * lyxrc.h:
6660         * lyxrc.C: add user_name and user_email
6661
6662         * lyxrow.h:
6663         * lyxrow.C: add a metric for the top of the text line
6664
6665         * lyxtext.h:
6666         * text.C: implement accept/rejectChange()
6667
6668         * lyxtext.h:
6669         * text.C: paint changebars. Paint new/deleted text in the chosen
6670         colours. Strike through deleted text.
6671
6672         * paragraph.h:
6673         * paragraph.C:
6674         * paragraph_pimpl.h:
6675         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6676           in the current change to the insert functions. Rework erase to
6677           mark text as deleted, adding an eraseIntern() and a range-based
6678           erase(). Implement per-paragraph change lookup and
6679           accept/reject.
6680
6681         * paragraph_funcs.C: Fixup paste for change tracking.
6682
6683         * tabular.C: mark added row/columns as new.
6684
6685         * text.C: fix rowLast() to never return -1. Don't allow
6686           spellchecking of deleted text. Track transpose changes. Don't
6687           allow paragraph break or merge where appropriate.
6688
6689         * text2.C: leave cursor at end of selection after a cut.
6690
6691 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6692
6693         * text.C (getLengthMarkerHeight):
6694         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6695         visible on screen too.
6696
6697 2003-02-07  John Levon  <levon@movementarian.org>
6698
6699         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6700
6701 2003-02-05  Angus Leeming  <leeming@lyx.org>
6702
6703         * lyxserver.C (read_ready): revert my patch of 11 September last year
6704         as it sends PC cpu through the roof. Presumably this means that
6705         the lyxserver will no longer run on an Alpha...
6706
6707 2003-01-30  Angus Leeming  <leeming@lyx.org>
6708
6709         * factory.C (createInset): create an InsetCommandParam of type "index"
6710         and use it to 'do the right thing'.
6711
6712         * text2.C (getStringToIndex): ensure that cursor position is always
6713         reset to the reset_cursor position.
6714
6715 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6716
6717         * lyxfunc.C (getStatus): "buffer-export custom" should never be
6718         disabled.
6719
6720 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
6721
6722         * bufferview.C:
6723         * lyxcb.C:
6724         * lyxfunc.C: Output messages with identical spelling, punctuation,
6725         and spaces
6726
6727 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
6728
6729         * MenuBackend.C (expandFormats): List only viewable export formats
6730         in "View" menu
6731
6732         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6733         message
6734
6735         * lyxfunc.C (getStatus): Make sure that formats other than
6736         "fax" can also be disabled
6737
6738 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6739
6740         * text3.C (dispatch): put the lfuns that insert insets in 3
6741         groups, and call doInsertInset with appropriate arguments.
6742         (doInsertInset): new function, that creates an inset and inserts
6743         it according to some boolean parameters.
6744
6745 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6746
6747         * buffer.C (readFile): remember to pass on 'par' when calling
6748         readFile recursively.
6749
6750 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6751
6752         * MenuBackend.C (expandFormats): add "..." to import formats.
6753
6754 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
6755
6756         * paragraph.C (asString): Remove XForms RTL hacks.
6757
6758 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
6759         * buffer.C: fix typo
6760
6761 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6762
6763         * Makefile.am (LIBS): delete var
6764         (lyx_LDADD): add @LIBS@ here instead.
6765
6766 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
6767
6768         * Clarify the meaning of "wheel mouse jump"
6769
6770 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6771
6772         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6773         tabular in a float
6774
6775 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6776
6777         * importer.C (Loaders): do not preallocate 3 elements in the
6778         vector, since one ends up with 6 elements otherwise
6779
6780 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6781
6782         * DepTable.C (write): write the file name as last element of the
6783         .dep file (because it may contain spaces)
6784         (read): read info in the right order
6785
6786 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6787
6788         * paragraph_pimpl.C (simpleTeXBlanks):
6789         (simpleTeXSpecialChars):
6790         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6791
6792         * tabular.C (latex): add some missing case statements. Reindent.
6793
6794         * MenuBackend.C (expandToc): remove unused variable.
6795
6796 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
6797
6798         * LColor.C:
6799         * LaTeX.C:
6800         * LyXAction.C:
6801         * MenuBackend.C:
6802         * buffer.C:
6803         * exporter.C:
6804         * lyxfunc.C:
6805         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6806         and the like.
6807
6808 2003-01-05  John Levon  <levon@movementarian.org>
6809
6810         * BufferView.h:
6811         * BufferView.C: add getEncoding()
6812
6813         * kbsequence.h:
6814         * kbsequence.C: do not store last keypress
6815
6816         * lyxfunc.h:
6817         * lyxfunc.C: store last keypress here instead. Pass encoding
6818           to getISOEncoded()
6819
6820 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6821
6822         * lyx_main.C (init): remove annoying error message when following
6823         symbolic links (bug #780)
6824
6825 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6826
6827         * text.C (insertChar):
6828         * lyxrc.C (getDescription): remove extra spaces
6829
6830 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6831
6832         * lyxrc.C (getDescription): remove extra spaces
6833
6834 2002-12-20  John Levon  <levon@movementarian.org>
6835
6836         * text3.C: hack fix for page up/down across tall rows
6837
6838 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6839
6840         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6841         not been invoked
6842
6843 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6844
6845         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6846         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6847         thesaurus is not compiled in
6848
6849 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
6850
6851         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6852
6853 2002-12-16  Angus Leeming  <leeming@lyx.org>
6854
6855         * lyxrc.[Ch]:
6856         * lyx_main.C (init): remove override_x_deadkeys stuff.
6857
6858 2002-12-12  John Levon  <levon@movementarian.org>
6859
6860         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6861           insert. Only remove shift modifier under strict
6862           circumstances.
6863
6864 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6865
6866         * MenuBackend.C (expandToc): fix crash.
6867
6868 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6869
6870         * MenuBackend.C (expandToc): gettext on float names.
6871
6872 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6873
6874         * lyxlength.[Ch]: set default unit to UNIT_NONE,
6875         implement bool empty() [bug 490]
6876
6877 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6878
6879         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6880
6881 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6882
6883         * several files: ws changes
6884
6885 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6886
6887         * text2.C (setCounter): clean up a bit, use boost.format.
6888         (updateCounters): initialize par upon declaration.
6889
6890         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6891         if the layout exists. We do not just store the layout any more.
6892         (SwitchLayoutsBetweenClasses): use boost.format
6893
6894 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6895
6896         * converter.C (convert): if from and to files are the same, use a
6897         temporary files as intermediary
6898
6899 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6900
6901         * commandtags.h:
6902         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6903
6904 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6905
6906         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6907
6908 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6909
6910         * tabular.C (asciiPrintCell): use string(size, char) instead of
6911         explicit loop.
6912
6913         * sgml.C (openTag): fix order of arguments to string constructor
6914         (closeTag): ditto
6915
6916         * lyxfunc.C (dispatch): use boost.format
6917
6918         * lots of files: change "c" -> 'c'
6919
6920 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6921
6922         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6923
6924 2002-11-25  Angus Leeming  <leeming@lyx.org>
6925
6926         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6927
6928         * lyx_main.C (init): compile fix.
6929
6930 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6931
6932         * lyx_cb.C (start): boost.formatify
6933         do not include <iostream>
6934
6935         * lengthcommon.C: ws only
6936
6937         * boost-inst.C,BoostFormat.h: add more explict instantations
6938
6939 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6940
6941         * lots of files: handle USE_BOOST_FORMAT
6942
6943 2002-11-21  John Levon  <levon@movementarian.org>
6944
6945         * pspell.C: fix compile
6946
6947 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6948
6949         * lyxfunc.C (dispatch): use boost::format
6950         (open): ditto
6951         (doImport): ditto
6952
6953         * lyxfont.C (stateText): use boost::format
6954
6955         * lyx_main.C (LyX): use boost::format
6956         (init): ditto
6957         (queryUserLyXDir): ditto
6958         (readRcFile): ditto
6959         (parse_dbg): ditto
6960         (typedef boost::function): use the recommened syntax.
6961
6962         * importer.C (Import): use boost::format
6963
6964         * debug.C (showLevel): use boost::format
6965
6966         * converter.C (view): use boost::format
6967         (convert): ditto
6968         (move): ditto
6969         (scanLog): ditto
6970
6971         * bufferview_funcs.C (currentState): use boost::format
6972
6973         * bufferlist.C (emergencyWrite): use boost::format
6974
6975         * buffer.C (readLyXformat2): use boost::format
6976         (parseSingleLyXformat2Token): ditto
6977
6978         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6979
6980         * LaTeX.C (run): use boost::format
6981
6982         * Chktex.C (scanLogFile): use boost::format
6983
6984         * BufferView_pimpl.C (savePosition): use boost::format
6985         (restorePosition): ditto
6986         (MenuInsertLyXFile): ditto
6987
6988         * BoostFormat.h: help file for explicit instation.
6989
6990 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6991
6992         * tabular.C (latex): Support for block alignment in fixed width
6993         columns.
6994
6995 2002-11-17  John Levon  <levon@movementarian.org>
6996
6997         * BufferView_pimpl.C:
6998         * lyx_cb.C:
6999         * lyxfunc.C: split filedialog into open/save
7000
7001 2002-11-08  Juergen Vigna  <jug@sad.it>
7002
7003         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7004         by my last patch (hopefully).
7005
7006 2002-11-08  John Levon  <levon@movementarian.org>
7007
7008         * iterators.h:
7009         * iterators.C:
7010         * buffer.h:
7011         * buffer.C:
7012         * paragraph.h:
7013         * paragraph.C:
7014         * toc.h:
7015         * toc.C: ParConstIterator, and use it (from Lars)
7016
7017 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
7018
7019         * lyxtextclass.[Ch]: revise and add doxygen comments
7020
7021 2002-11-07  John Levon  <levon@movementarian.org>
7022
7023         * text.C: fix progress value for spellchecker
7024
7025         * toc.C: fix navigate menu for insetwrap inside minipage
7026
7027         * paragraph_funcs.C: added FIXME for suspect code
7028
7029 2002-11-07  John Levon  <levon@movementarian.org>
7030
7031         * BufferView_pimpl.C: fix redrawing of insets
7032           on buffer switch
7033
7034 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7035
7036         * text2.C (updateCounters): fix bug 668
7037
7038 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
7039
7040         * text3.C (dispatch): Do not make the buffer dirty when moving the
7041         cursor.
7042
7043 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7044
7045         * vc-backend.C: STRCONV
7046         (scanMaster): ditto
7047
7048         * text2.C (setCounter): STRCONV
7049
7050         * paragraph.C (asString): STRCONV
7051
7052         * lyxlength.C (asString): STRCONV
7053         (asLatexString): ditto
7054
7055         * lyxgluelength.C (asString): STRCONV
7056         (asLatexString): ditto
7057
7058         * lyxfunc.C (dispatch): STRCONV
7059         (open): ditto
7060
7061         * lyxfont.C (stateText): STRCONV
7062
7063         * importer.C (Import): STRCONV
7064
7065         * counters.C (labelItem): STRCONV
7066         (numberLabel): ditto
7067         (numberLabel): remove unused ostringstream o
7068
7069         * chset.C: STRCONV
7070         (loadFile): ditto
7071
7072         * bufferview_funcs.C (currentState): STRCONV
7073
7074         * buffer.C (readFile): STRCONV
7075         (asciiParagraph): ditto
7076         (makeLaTeXFile): ditto
7077
7078         * Spacing.C (writeEnvirBegin): STRCONV
7079
7080         * LaTeXFeatures.C (getLanguages): STRCONV
7081         (getPackages): ditto
7082         (getMacros): ditto
7083         (getBabelOptions): ditto
7084         (getTClassPreamble): ditto
7085         (getLyXSGMLEntities): ditto
7086         (getIncludedFiles): ditto
7087
7088         * LaTeX.C: STRCONV
7089         (run): ditto
7090         (scanAuxFile): ditto
7091         (deplog): ditto
7092
7093         * LString.h: add the STRCONV macros
7094
7095         * BufferView_pimpl.C (savePosition): STRCONV
7096         (restorePosition): ditto
7097         (MenuInsertLyXFile): ditto
7098
7099         * vc-backend.C (scanMaster): change from submatch[...] to
7100         submatch.str(...)
7101
7102         * funcrequest.C: include config.h
7103
7104         * factory.C: include config.h
7105
7106         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7107
7108         * box.C: include config.h
7109
7110         * LaTeX.C (scanAuxFile): change from submatch[...] to
7111         submatch.str(...)
7112         (deplog): ditto
7113
7114 2002-10-25  Angus Leeming  <leeming@lyx.org>
7115
7116         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7117
7118         * ispell.[Ch] (setError): new method.
7119         * ispell.C (c-tor): move out child process into new class LaunchIspell.
7120         Use setError() insetead of goto END.
7121
7122         * lyx_cb.C (AutoSave): move out child process into new class
7123         AutoSaveBuffer.
7124
7125 2002-10-30  John Levon  <levon@movementarian.org>
7126
7127         * text3.C: make start appendix undoable
7128
7129 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
7130
7131         * lyxlength.C (inPixels): Fix returned value.
7132
7133         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7134         environment.
7135
7136 2002-10-24  Angus Leeming  <leeming@lyx.org>
7137
7138         * lyxgluelength.h: no need to forward declare BufferParams
7139         or BufferView, so don't.
7140
7141 2002-10-21  John Levon  <levon@movementarian.org>
7142
7143         * BufferView.C: menuUndo ->undo, redo
7144
7145         * BufferView.h: document, remove dead, make some methods private
7146
7147         * paragraph_funcs.h:
7148         * paragraph_funcs.C:
7149         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7150
7151         * buffer.h:
7152         * buffer.C:
7153         * sgml.h:
7154         * sgml.C: move sgml open/close tag into sgml.C
7155
7156         * bufferview_funcs.h: unused prototype
7157
7158         * lyxfunc.h:
7159         * lyxfunc.C: remove unused
7160
7161         * lyxtext.h:
7162         * text.C: remove unused
7163
7164 2002-10-21  John Levon  <levon@movementarian.org>
7165
7166         * BufferView.h:
7167         * BufferView.C:
7168         * BufferView_pimpl.h:
7169         * BufferView_pimpl.C: fix mouse wheel handling based on
7170           patch from Darren Freeman
7171
7172 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
7173
7174         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7175
7176 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
7177
7178         * lyxlength.C (inPixels): Fix hanfling of negative length.
7179         Fix LyXLength::MU case.
7180
7181 2002-10-16  John Levon  <levon@movementarian.org>
7182
7183         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7184
7185 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7186
7187         * converter.C (view): add support for $$i (file name) and $$p
7188         (file path) for the viewer command. If $$i is not specified, then
7189         it is appended to the command (for compatibility with old syntax)
7190
7191 2002-10-14  Juergen Vigna  <jug@sad.it>
7192
7193         * undo_funcs.C (textHandleUndo): alter the order in which the
7194         new undopar is added to the LyXText, as we have to set first
7195         the right prev/next and then add it as otherwise the rebuild of
7196         LyXText is not correct. Also reset the cursor to the right paragraph,
7197         with this IMO we could remove the hack in "redoParagraphs()".
7198
7199 2002-10-09  Angus Leeming  <leeming@lyx.org>
7200
7201         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7202         to turn off an optimisation if a new inset is to be inserted.
7203
7204 2002-10-11 André Pönitz <poenitz@gmx.net>
7205
7206         * lyxtext.h: make some functions public to allow access
7207         from inset/lyxtext for handling LFUN_PRIOR/NEXT
7208
7209 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7210
7211         * text3.C (dispatch): when changing layout, avoid an infinite loop
7212         [bug #652]
7213
7214 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7215
7216         * lyxrc.C (read): treat a viewer or converter command of "none" as
7217         if it were empty.
7218
7219         * MenuBackend.C (expandFormats): for an update, also allow the
7220         formats that are not viewable
7221
7222         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7223         script if it is newer than the lyxrc.defaults in user directory
7224
7225 2002-10-07 André Pönitz <poenitz@gmx.net>
7226
7227         * text.C: Vitaly Lipatov's small i18n fix
7228
7229 2002-09-25  Angus Leeming  <leeming@lyx.org>
7230
7231         * ispell.h: doxygen fix.
7232
7233 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
7234
7235         * buffer.h (readFile): Add a new argument to the method, to allow
7236         reading of old-format templates.
7237
7238 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
7239
7240         * toc.C (getTocList): Get TOC from InsetWrap.
7241
7242 2002-09-16  John Levon  <levon@movementarian.org>
7243
7244         * lyxfunc.C: check tabular for cut/copy too
7245
7246 2002-09-12  John Levon  <levon@movementarian.org>
7247
7248         * LyXAction.C: tidy
7249
7250         * factory.h:
7251         * factory.C: add header
7252
7253         * paragraph_funcs.h:
7254         * paragraph_funcs.C: cleanup
7255
7256 2002-09-11  John Levon  <levon@movementarian.org>
7257
7258         * PrinterParams.h: odd/even default to true
7259
7260 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
7261
7262         * PrinterParams.h: update printer parameters for new xforms dialog
7263
7264 2002-09-11  Angus Leeming  <leeming@lyx.org>
7265
7266         * lyxserver.C (read_ready): re-write to make it more transparent
7267         and to make it work in coherent fashion under Tru64 Unix.
7268
7269 2002-09-11  André Pönitz <poenitz@gmx.net>
7270
7271         * commandtags.h:
7272         * LyXAction.C:
7273         * text3.C: implement LFUN_WORDSEL
7274
7275 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7276
7277         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7278         make floatlist_ a boost::shared_ptr<FloatList>
7279
7280         * lyxtextclass.C: include FloatList.h
7281         (LyXTextClass): initialize floatlist_
7282         (TextClassTags): add TC_NOFLOAT
7283         (Read): match "nofloat" to TC_NOFLOAT and use it.
7284         (readFloat): modify call to floatlist_
7285         (floats): ditto
7286         (floats): ditto
7287
7288         * FloatList.[Ch] (FloatList): remove commented out float
7289         initialization.
7290         (erase): new function
7291
7292 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7293
7294         * MenuBackend.C (expandToc): fix crash when there is no document
7295         open
7296
7297 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
7298
7299         * many files: Add insetwrap.
7300
7301 2002-09-09  John Levon  <levon@movementarian.org>
7302
7303         * text2.C: remove confusing and awkward depth wraparound
7304
7305 2002-09-09  John Levon  <levon@movementarian.org>
7306
7307         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7308
7309         * buffer.h:
7310         * buffer.C: remove getIncludeonlyList()
7311
7312         * paragraph.C:
7313         * lyxfunc.C: remove headers
7314
7315 2002-09-09  Juergen Vigna  <jug@sad.it>
7316
7317         * text.C (getColumnNearX): fix form Michael this is most
7318         probably a cut&paste bug.
7319
7320 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7321
7322         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7323
7324         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7325         references, ws changes.
7326
7327         * text2.C (init): update counters after init
7328         (insertParagraph): no need to set counter on idividual paragraphs.
7329         (setCounter): access the counters object in the textclass object
7330         on in the buffer object.
7331         (updateCounters): ditto
7332
7333         * lyxtextclass.C: include counters.h, add variable ctrs_ as
7334         shared_ptr<Counters> to avoid loading counters.h in all
7335         compilation units.
7336         (LyXTextClass): initialize ctrs_
7337         (TextClassTags): add TC_COUNTER, and ...
7338         (Read): use it here.
7339         (CounterTags): new tags
7340         (readCounter): new function
7341         (counters): new funtion
7342         (defaultLayoutName): return a const reference
7343
7344         * counters.C (Counters): remove contructor
7345         (newCounter): remove a couple of unneeded statements.
7346         (newCounter): simplify a bit.
7347         (numberLabel): some small formatting changes.
7348
7349         * buffer.[Ch]: remove all traces of counters, move the Counters
7350         object to the LyXTextClass.
7351
7352 2002-09-06  Alain Castera  <castera@in2p3.fr>
7353
7354         * tabular.C: uses \tabularnewline; uses >{...} construct from array
7355         package to set the horizontal alignment on fixed width columns.
7356
7357         * lyx_sty.C:
7358         * lyx_sty.h: added tabularnewline macro def.
7359
7360         * LaTeXFeatures.C: added NeedTabularnewline macro feature
7361
7362 2002-09-06  John Levon  <levon@movementarian.org>
7363
7364         * LyXAction.C: tooltips for sub/superscript
7365
7366         * MenuBackend.C: a bit more verbose
7367
7368         * lyxfunc.C: tiny clean
7369
7370         * undo_funcs.C: document undo_frozen
7371
7372 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7373
7374         * counters.C (Counters): add missing algorithm counter.
7375
7376         * text2.C (setCounter): lookup the counter with layouts latexname
7377         instead of by section number.
7378         (setCounter): use a hackish way to lookup the correct enum
7379         counter.
7380         a float name->type change
7381         reset enum couners with counter name directly instead of depth value.
7382
7383         * counters.C (Counters): remove the push_backs, change to use the
7384         float type not the float name.
7385         (labelItem): remove unused string, float name->type change
7386
7387         * counters.h: don't include vector, loose the enums and sects vectors
7388
7389 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7390
7391         * lyxtextclass.C (TextClassTags): add TC_FLOAT
7392         (Read): add float->TC_FLOAT to textclassTags
7393         (Read): and handle it in the switch
7394         (readFloat): new function
7395
7396         * FloatList.C (FloatList): comment out the hardcoded float
7397         definitions.
7398
7399         * lyxlayout.h: ws change.
7400
7401 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
7402
7403         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7404
7405 2002-09-03  Angus Leeming  <leeming@lyx.org>
7406
7407         * BufferView_pimpl.h: qualified name is not allowed in member
7408         declaration: WorkArea & Pimpl::workarea() const;
7409
7410         * factory.C: added using std::endl directive.
7411
7412         * text3.C: added using std::find and std::vector directives.
7413
7414 2002-08-29  André Pönitz <poenitz@gmx.net>
7415
7416         * lyxtext.h:
7417         * text2.C: remove unused member number_of_rows
7418
7419         * Makefile.am:
7420         * BufferView2.C: remove file, move contents to...
7421         * BufferView.C: ... here
7422
7423         * BufferView_pimpl.C:
7424         * factory.C: move more inset creation to factory
7425
7426         * vspace.C: avoid direct usage of LyXText, ws changes
7427
7428         * BufferView.[Ch]:
7429                 don't provide direct access to WorkArea, use two simple
7430                 acessors haveSelction() and workHeight() instead
7431
7432
7433 2002-08-29  John Levon  <levon@movementarian.org>
7434
7435         * BufferView_pimpl.C (dispatch): do not continue when
7436           no buffer
7437
7438 2002-08-28  André Pönitz <poenitz@gmx.net>
7439
7440         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7441
7442         * BufferView.h:
7443         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7444
7445 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
7446
7447         * buffer.C: increment LYX_FORMAT to 221
7448
7449         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7450         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7451
7452         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7453
7454         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7455
7456 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7457
7458         * factory.C (createInset): use LyXTextClass::floats
7459
7460         * MenuBackend.C (expandFloatListInsert):
7461         (expandFloatInsert):
7462         (expandToc):
7463
7464         * text2.C (setCounter):
7465
7466         * LaTeXFeatures.C (useFloat):
7467         (getFloatDefinitions):
7468
7469         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7470
7471         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7472         floatlist_, with accessor floats().
7473
7474         * FloatList.h: remove global FloatList
7475
7476 2002-08-26  André Pönitz <poenitz@gmx.net>
7477
7478         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7479
7480         * BufferView.h:
7481         * BufferView2.C:
7482         * BufferView_pimpl.C:
7483         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7484
7485 2002-08-25  John Levon  <levon@movementarian.org>
7486
7487         * LyXAction.C: fix margin note description
7488
7489 2002-08-24  John Levon  <levon@movementarian.org>
7490
7491         * buffer.C:
7492         * bufferlist.C:
7493         * bufferview_funcs.C:
7494         * lyxfont.C:
7495         * undo_funcs.C: cleanups
7496
7497         * lyxfunc.C: disable CUT/COPY when no selection
7498
7499 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
7500
7501         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7502         in "enum UNIT"; e.g. PTW for Percent of TextWidth
7503
7504         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7505         Add backward compatibility to "mono", "gray" and "no".
7506
7507 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
7508
7509         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7510         (and file_format >= 200).
7511
7512 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7513
7514         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7515
7516 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7517
7518         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7519
7520 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
7521
7522         * BufferView_pimpl.C:
7523         * LyXAction.C:
7524         * buffer.C:
7525         * commandtags.h:
7526         * lyxfunc.C:
7527         * paragraph.[Ch]:
7528         * text2.C:
7529         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7530         inset and code to make it  work with the paragraph code. The inset
7531         can be anywhere in the paragraph, but will only do the expected
7532         thing in LaTeX if the layout file contains the parameter line
7533                         OptionalArgs    1
7534         (or more generally, a nonzero value) for that layout.
7535
7536 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7537
7538         * paragraph.h: remove the declaration of undefined counters class
7539         function.
7540
7541 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
7542
7543         * text2.C (setCounter):  fixed enumeration mis-count as reported by
7544         Dr. Richard Hawkins.
7545
7546 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7547
7548         * paragraph_funcs.h: remove some unneeded includes
7549
7550         * text.C (backspace): pasteParagraph now in global scipe
7551
7552         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7553         (pasteSelection): ditto
7554
7555         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7556         * paragraph_funcs.C (pasteParagraph): ... here
7557
7558 2002-08-20  André Pönitz <poenitz@gmx.net>
7559
7560         * commandtags.h: new LFUNs for swapping/copying table row/colums
7561
7562         * LyXAction.C:
7563         * lyxfunc.C: support for new lfuns
7564
7565 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7566
7567         * tabular.C:
7568         * buffer.[Ch]: remove NO_COMPABILITY stuff
7569
7570 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
7571
7572         * boost.C (throw_exception): new file, with helper function for
7573         boost compiled without exceptions.
7574
7575         * paragraph.h:
7576         * lyxlength.C:
7577         * buffer.C:
7578         * ParameterStruct.h:
7579         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7580
7581         * bufferlist.C (emergencyWriteAll): use boost bind
7582
7583         * BufferView_pimpl.C (moveCursorUpdate): remove inline
7584
7585         * text.C: include paragraph_funcs.h
7586         (breakParagraph): breakParagraph is now in global scope
7587
7588         * paragraph_funcs.[Ch]: new files
7589
7590         * paragraph.C (breakParagraph,breakParagraphConservative): move to
7591         global scope
7592
7593         * buffer.C: include paragraph_funcs.h
7594         (insertStringAsLines): breakParagraph is now in global scope
7595
7596         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7597         paragraph_funcs.C
7598
7599         * CutAndPaste.C: include paragraph_funcs.h
7600         (cutSelection): breakParagraphConservative is now in global scope
7601         (pasteSelection): ditto
7602
7603         * buffer.h: declare oprator== and operator!= for
7604         Buffer::inset_iterator
7605
7606         * bufferlist.C (emergencyWrite): don't use fmt(...)
7607
7608         * text3.C: add using std::endl
7609
7610         * BufferView.C (moveCursorUpdate): remove default arg
7611
7612 2002-08-20  André Pönitz <poenitz@gmx.net>
7613
7614         * buffer.[Ch]: move inline functions to .C
7615
7616         * BufferView2.C:
7617         * BufferView_pimpl.C:
7618         * text.C:
7619         * buffer.[Ch]: use improved inset_iterator
7620
7621         * buffer.C:
7622         * paragraph.[Ch]: write one paragraph at a time
7623
7624 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
7625
7626         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7627         style if style is not specified.
7628
7629 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7630
7631         * text2.C (setCounter): when searching for right label for a
7632         caption, make sure to recurse to parent insets (so that a caption
7633         in a minipage in a figure float works) (bug #568)
7634
7635 2002-08-20  André Pönitz <poenitz@gmx.net>
7636
7637         * text3.C: new file for LyXText::dispatch() and helpers
7638
7639         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7640
7641         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7642
7643 2002-08-19  André Pönitz <poenitz@gmx.net>
7644
7645         * lyxtext.h:
7646         * text.C: new LyXText::dispatch()
7647
7648         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7649
7650 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
7651
7652         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7653
7654         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7655         Hebrew text.
7656
7657 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7658
7659         * Makefile.am: use $(variables) instead of @substitutions@
7660
7661 2002-08-15  André Pönitz <poenitz@gmx.net>
7662
7663         * lyxfunc.C:
7664         * BufferView_pimpl.C: streamlining mathed <-> outer world
7665         interaction
7666
7667         * commandtags.h:
7668         * LyXAction.C: remove unused LFUN_MATH
7669
7670 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7671
7672         * paragraph.[Ch]: add some NO_NEXT ifdefs.
7673
7674 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7675
7676         * paragraph.C (Paragraph): reformat a bit
7677         (cutIntoMinibuffer): use builtin InsetList function instad of
7678         doing it manually.
7679         (getInset): ditto
7680
7681         * buffer.C: include boost/bind.hpp, add using std::for_each
7682         (writeFileAscii): use ParagraphList iterators
7683         (validate): use for_each for validate traversal of paragraphs
7684         (getBibkeyList): use ParagraphList iterators
7685         (resizeInsets): use for_each to resizeInsetsLyXText for all
7686         paragraphs.
7687         (getParFromID): use ParagraphList iterators
7688
7689         * BufferView2.C (lockInset): use paragraph list and iterators
7690
7691 2002-08-14  John Levon  <levon@movementarian.org>
7692
7693         * lyxserver.C: remove spurious xforms include
7694
7695 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7696
7697         * lyxfunc.C (getStatus): disable math-extern outside of math mode
7698
7699 2002-08-13  André Pönitz <poenitz@gmx.net>
7700
7701         * LyXAction.[Ch]:
7702         * lyxfunc.C: further cleaning
7703
7704 2002-08-13  André Pönitz <poenitz@gmx.net>
7705
7706         * funcrequest.h: new constructor
7707
7708         * funcrequest.C: move stuff here from .h
7709
7710         * Makefile.am:
7711         * BufferView_pimpl.C:
7712         * LyXAction.C:
7713         * toc.C:
7714         * lyxfunc.C: subsequent changes
7715
7716         * lyxfunc.h: new view() member function
7717
7718         * lyxfunc.C: subsequent changes
7719
7720 2002-08-13  Angus Leeming  <leeming@lyx.org>
7721
7722         * BufferView2.C:
7723         * BufferView_pimpl.C:
7724         * buffer.C:
7725         * converter.C:
7726         * importer.C:
7727         * lyxfunc.C:
7728         * lyxvc.C:
7729         * toc.C:
7730         * vc-backend.C:
7731         changes due to the changed LyXView interface that now returns references
7732         to member variables not pointers.
7733
7734 2002-08-13  Angus Leeming  <leeming@lyx.org>
7735
7736         * WordLangTuple (word, lang_code): return references to strings,
7737         not strings.
7738
7739         * BufferView.h:
7740         * SpellBase.h:
7741         * lyxtext.h: forward-declare WordLangTuple.
7742
7743         * BufferView2.C:
7744         * ispell.C:
7745         * pspell.C:
7746         * text.C: #include "WordLangTuple.h".
7747
7748         * lyxtext.h:
7749         * text.C: (selectNextWordToSpellcheck): constify return type.
7750
7751 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
7752
7753         * buffer.C:
7754         * buffer.h:
7755         * lyxtext.h:
7756         * paragraph.C:
7757         * paragraph_pimpl.h:
7758         * text.C:
7759         * text2.C:
7760         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7761         suggested by Angus.
7762         Made updateCounter always count from start of buffer, and removed
7763         second argument (par).
7764         Reverted floats number display to '#'. Perhaps I'll try again when the
7765         code base is sanitized a bit.
7766
7767 2002-08-12  Angus Leeming  <leeming@lyx.org>
7768
7769         * buffer.[Ch] (getLabelList): constify.
7770
7771 2002-08-07  André Pönitz <poenitz@gmx.net>
7772
7773         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7774
7775         * funcrequest.h: extension to keep mouse (x,y) position
7776
7777 2002-08-12  Juergen Vigna  <jug@sad.it>
7778
7779         * BufferView2.C (insertErrors): forbid undo when inserting error
7780         insets.
7781
7782         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7783
7784 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7785
7786         * ParagraphList.[Ch]: new files
7787
7788         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7789
7790         * BufferView2.C (lockInset): ParagraphList changes
7791         * toc.C: ditto
7792         * text2.C: ditto
7793         * bufferlist.C: ditto
7794         * buffer.h: ditto
7795         * buffer.C: ditto
7796
7797 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7798
7799         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7800         unused class variable counter_,
7801
7802         * paragraph.[Ch] (getFirstCounter): delete unused function
7803
7804         * counters.C: include LAssert.h
7805         (reset): add a new function with no arg, change other version to
7806         not have def. arg and to not allow empty arg.
7807
7808         * text2.C (setCounter): remove empty arg from call to Counters::reset
7809
7810 2002-08-11  John Levon  <levon@movementarian.org>
7811
7812         * Makefile.am: add WordLangTuple.h
7813
7814 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7815
7816         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7817         lyxfunc.C lyxlex_pimpl.C: ws changes only.
7818
7819         * insets/insettext.C: InsetList changes
7820
7821         * graphics/GraphicsSupport.C (operator()): InsetList changes
7822
7823         * toc.C (getTocList): InsetList changes
7824
7825         * paragraph_pimpl.[Ch]: InsetList changes
7826
7827         * paragraph.[Ch]: InsetList changes
7828
7829         * buffer.C (inset_iterator): InsetList changes
7830         (setParagraph): ditto
7831         * buffer.h (inset_iterator): ditto
7832         * iterators.C (operator++): ditto
7833         * iterators.h: ditto
7834
7835         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7836
7837         * InsetList.[Ch]: new files, most InsetList handling moved out of
7838         paragraph.C.
7839
7840         * BufferView2.C (removeAutoInsets): InsetList changes
7841         (lockInset): ditto
7842         (ChangeInsets): ditto
7843
7844 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7845
7846         * paragraph_pimpl.h (empty): new function
7847
7848         * paragraph.[Ch] (empty): new function
7849
7850         * other files: use the new Paragraph::empty function
7851
7852 2002-08-09  John Levon  <levon@movementarian.org>
7853
7854         * lyxtext.h: remove unused refresh_height
7855
7856 2002-08-09  John Levon  <levon@movementarian.org>
7857
7858         * Makefile.am:
7859         * sgml.h:
7860         * sgml.C:
7861         * buffer.C:
7862         * paragraph.h:
7863         * paragraph.C: move sgml char escaping out of paragraph
7864
7865         * paragraph.h:
7866         * paragraph.C: remove id setter
7867
7868         * buffer.C:
7869         * paragraph.C:
7870         * paragraph_pimpl.C: remove dead tex_code_break_column
7871
7872         * bufferview_funcs.C: small cleanup
7873
7874         * lyxfunc.C: remove dead proto
7875
7876         * lyxtext.h: make some stuff private. Remove some dead stuff.
7877
7878         * lyxgluelength.C: make as[LyX]String() readable
7879
7880 2002-08-08  John Levon  <levon@movementarian.org>
7881
7882         * LyXAction.h:
7883         * LyXAction.C:
7884         * MenuBackend.C:
7885         * ToolbarDefaults.C:
7886         * lyxfunc.C:
7887         * lyxrc.C:
7888         * toc.C: lyxaction cleanup
7889
7890 2002-08-08  John Levon  <levon@movementarian.org>
7891
7892         * BufferView2.C: small cleanup
7893
7894         * lyxfind.h:
7895         * lyxfind.C: move unnecessary header into the .C
7896
7897 2002-08-08  John Levon  <levon@movementarian.org>
7898
7899         * funcrequest.h: just tedious nonsense
7900
7901         * lyx_main.h:
7902         * lyx_main.C: cleanups
7903
7904         * buffer.C:
7905         * vspace.C: remove dead header lyx_main.h
7906
7907 2002-08-07  Angus Leeming  <leeming@lyx.org>
7908
7909         * Paragraph.[Ch]:
7910         * paragraph_pimpl.h:
7911         Forward declare class Counters in paragraph.h by moving the ctrs member
7912         variable into Paragraph::Pimpl.
7913         (counters): new method, returning a reference to pimpl_->ctrs.
7914
7915         * text2.C: ensuing changes.
7916
7917 2002-08-07  John Levon  <levon@movementarian.org>
7918
7919         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7920
7921         * BufferView_pimpl.C: announce X selection on double/triple
7922           click
7923
7924         * lyx_main.C: use correct bool in batch dispatch
7925
7926         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7927
7928 2002-08-07  André Pönitz <poenitz@gmx.net>
7929
7930         * funcrequest.h: new class to wrap a kb_action and its argument
7931
7932         * BufferView.[Ch]:
7933         * BufferView_pimpl[Ch]:
7934         * LaTeX.C:
7935         * LyXAction.[Ch]:
7936         * lyxfunc.[Ch]:
7937         * lyxrc.C: subsequent changes
7938
7939
7940 2002-08-07  John Levon  <levon@movementarian.org>
7941
7942         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7943           document options change.
7944
7945 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7946
7947         * counters.[Ch]
7948         * text2.C
7949         * paragraph.[Ch]
7950         * makefile.am: move counters functionality over from
7951         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7952
7953 2002-08-06  John Levon  <levon@movementarian.org>
7954
7955         * WordLangTuple.h: new file for word + language code tuple
7956
7957         * SpellBase.h:
7958         * pspell.h:
7959         * pspell.C:
7960         * ispell.h:
7961         * ispell.C:
7962         * lyxtext.h:
7963         * text.C:
7964         * text2.C:
7965         * BufferView.h:
7966         * BufferView2.C: use WordLangTuple
7967
7968         * layout.h:
7969         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7970
7971 2002-08-06  John Levon  <levon@movementarian.org>
7972
7973         * lyx_main.C: fix cmdline batch handling
7974
7975 2002-08-06  André Pönitz <poenitz@gmx.net>
7976
7977         * lyxrc.C: set default for show_banner to true
7978
7979 2002-08-06  John Levon  <levon@movementarian.org>
7980
7981         * pspell.C: fix a crash, and allow new aspell to work
7982
7983 2002-08-06  John Levon  <levon@movementarian.org>
7984
7985         * lyxfunc.C:
7986         * kbmap.C: small cleanup
7987
7988         * vspace.h:
7989         * vspace.C: add const
7990
7991 2002-08-05  John Levon  <levon@movementarian.org>
7992
7993         * LyXAction.C: back to tabular-insert
7994
7995 2002-08-04  John Levon  <levon@movementarian.org>
7996
7997         * BufferView.h:
7998         * BufferView.C: cosmetic change
7999
8000         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8001
8002         * bufferlist.C:
8003         * buffer.h:
8004         * buffer.C:
8005         * lyxcb.h:
8006         * lyxcb.C:
8007         * lyxserver.C:
8008         * lyxvc.C:
8009         * vc-backend.C:
8010         * BufferView2.C: purge all "Lyx" not "LyX" strings
8011
8012         * lyxcursor.h:
8013         * lyxcursor.C: attempt to add some documentation
8014
8015         * lyxfunc.C:
8016         * commandtags.h:
8017         * LyXAction.C:
8018         * ToolbarDefaults.C:
8019         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8020           merge with LFUN_TABULAR_INSERT
8021
8022         * Makefile.am:
8023         * SpellBase.h:
8024         * ispell.h:
8025         * ispell.C:
8026         * pspell.h:
8027         * pspell.C: split up i/pspell implementations into separate
8028           files, many cleanups
8029
8030         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8031
8032         * text2.C: some cleanup
8033
8034         * lyxfunc.C: don't check for isp_command == "none" any more, it
8035           didn't make any sense
8036
8037 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
8038
8039         * counters.[Ch]
8040         * text2.C
8041         * paragraph.[Ch]
8042         * makefile.am: move counters functionality over
8043         from text2.C/paragraph.[Ch] to counters.[Ch], and
8044         make proper C++.
8045 2002-08-02  John Levon  <levon@movementarian.org>
8046
8047         * buffer.C: s/lyxconvert/lyx2lyx/
8048
8049 2002-08-02  Angus Leeming  <leeming@lyx.org>
8050
8051         * lyxlex.C: revert John's change as it breaks reading of the user
8052         preamble.
8053
8054 2002-08-02  Angus Leeming  <leeming@lyx.org>
8055
8056         * importer.C (Import):
8057         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8058         changes due to LyXView::view() now returning a boost::shared_ptr.
8059
8060 2002-08-02  John Levon  <levon@movementarian.org>
8061
8062         * lyxlex.C: small cleanup
8063
8064 2002-08-02  John Levon  <levon@movementarian.org>
8065
8066         * text2.C (status): small cleanup, no logic change
8067
8068 2002-08-01  John Levon  <levon@movementarian.org>
8069
8070         * buffer.h:
8071         * buffer.C (writeFile): don't output alerts, caller
8072           handles this
8073
8074         * bufferlist.C:
8075         * lyx_cb.C: from above
8076
8077         * lyxfunc.C: allow to open non-existent files
8078
8079 2002-07-31  John Levon  <levon@movementarian.org>
8080
8081         * lyxserver.C: don't let incidental errors get
8082           in the way (errno)
8083
8084 2002-07-30  John Levon  <levon@movementarian.org>
8085
8086         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8087
8088 2002-07-30  John Levon  <levon@movementarian.org>
8089
8090         * lyxserver.h:
8091         * lyxserver.C: remove I/O callback too
8092
8093 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8094
8095         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8096         log.
8097
8098 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8099
8100         * many files: strip,frontStrip -> trim,ltrim,rtrim
8101
8102 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8103
8104         * PrinterParams.h: remove extern containsOnly, and include
8105         support/lstrings.h instead.
8106
8107         * LaTeX.C (scanAuxFile): modify because of strip changes
8108         (deplog): ditto
8109         * buffer.C (makeLaTeXFile): ditto
8110         * bufferparams.C (writeFile): ditt
8111         * lyxfont.C (stateText): ditto
8112         * lyxserver.C (read_ready): ditto
8113         * vc-backend.C (scanMaster): ditto
8114
8115         * BufferView_pimpl.h: ws changes
8116
8117         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8118
8119 2002-07-26  André Pönitz <poenitz@gmx.net>
8120
8121         * kb_sequence.C: remove unnedred usings
8122
8123 2002-07-26  Juergen Vigna  <jug@sad.it>
8124
8125         * lyxfind.C (LyXReplace): we have to check better if the returned
8126         text is not of theLockingInset()->getLockingInset().
8127
8128 2002-07-25  Juergen Vigna  <jug@sad.it>
8129
8130         * lyxfind.C (LyXReplace): don't replace if we don't get the
8131         right LyXText.
8132
8133         * undo_funcs.C (createUndo): remove debugging code.
8134
8135 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
8136
8137         * buffer.C (parseSingleLyXformat2Token): Use default placement
8138         when reading old floats.
8139
8140         * FloatList.C (FloatList): Change the default placement of figure
8141         and tables to "tbp".
8142
8143 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
8144
8145         * MenuBackend.C: using std::max
8146
8147 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8148
8149         * MenuBackend.C (expandToc):
8150         (expandToc2): code moved from xforms menu frontend. It is now
8151         generic and TOCs are transparent to menu frontends.
8152
8153 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8154
8155         * toc.C (getTocList): protect against buf=0
8156
8157         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8158         Menu as first parameter. Now, this calls itself recursively to
8159         expand a whole tree (this will be useful for TOC handling)
8160         (expandFloatInsert): remove 'wide' version of floats
8161
8162         * MenuBackend.h (submenuname): returns the name of the submenu.
8163         (submenu): returns the submenu itself, provided it has been
8164         created by MenuBackend::expand
8165
8166 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8167
8168         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8169         insets which have noFontChange == true. (bug #172)
8170
8171 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8172
8173         * BufferView_pimpl.C: add connection objects and use them...
8174         (Pimpl): here.
8175
8176 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8177
8178         * MenuBackend.C (expandLastfiles):
8179         (expandDocuments):
8180         (expandFormats):
8181         (expandFloatListInsert):
8182         (expandFloatInsert):
8183         (expand): split expand in parts
8184
8185 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8186
8187         * lyx_gui.C: use lyx_gui::exit()
8188
8189 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8190
8191         * LyXAction.C: show the failing pseudo action
8192
8193 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
8194
8195         * buffer.C (readFile): Run the lyxconvert script in order to read
8196         old files.
8197
8198 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8199
8200         * LyXAction.C:
8201         * commandtags.h:
8202         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8203
8204 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8205
8206         * LyXAction.C:
8207         * commandtags.h:
8208         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8209
8210 2002-07-22  Herbert Voss  <voss@lyx.org>
8211
8212         * lengthcommon.C:
8213         * lyxlength.[Ch]: add support for the vertical lengths
8214
8215 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
8216
8217         * toc.[Ch]: std:: fixes
8218
8219 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8220
8221         * lyxrc.C: do not include lyx_main.h
8222
8223         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8224         for layouts
8225
8226         * lyxrc.C:
8227         * encoding.C:
8228         * bufferlist.C:
8229         * BufferView2.C: include "lyxlex.h"
8230
8231         * tabular.h:
8232         * bufferparams.h: do not #include "lyxlex.h"
8233
8234         * lyxtextclasslist.C (Add): remove method
8235         (classlist): renamed to classlist_
8236
8237         * paragraph_pimpl.C:
8238         * paragraph.C:
8239         * text2.C:
8240         * CutAndPaste.C:
8241         * bufferview_funcs.C:
8242         * bufferlist.C:
8243         * text.C:
8244         * LaTeXFeatures.C:
8245         * buffer.C:
8246         * toc.C (getTocList): use BufferParams::getLyXTextClass
8247
8248         * toc.C (getTocList): use InsetFloat::addToToc
8249
8250         * toc.[Ch]: new files, containing helper functions to handle table
8251         of contents
8252
8253         * lyxfunc.C (dispatch): no need to remove spaces around command
8254         given as a string
8255         (getStatus): handle LFUN_SEQUENCE by returning the status of the
8256         first command of the sequence; it is not very clever, but I do not
8257         have a better idea, actually
8258
8259         * LyXAction.C (LookupFunc): make sure to remove space at the
8260         beginning and end of the command
8261
8262 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8263
8264         * MenuBackend.C (getMenubar): new method: return the menubar of
8265         this menu set
8266         (read): treat differently reading of menu and menubar (in
8267         particular, the menubar has no name now)
8268         (Menu::menubar): remove
8269
8270         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8271         saving is finished
8272
8273 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8274
8275         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8276         a bibitem inset in a RTL paragraph.
8277
8278 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
8279
8280         * paragraph_pimpl.C: constify
8281
8282         * BufferView_pimpl.C:
8283         * LaTeX.C:
8284         * lyxfunc.C: fix dispatch in a nicer way
8285
8286 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8287
8288         * lyxfunc.C (dispatch):
8289         * BufferView_pimpl.C:
8290         * BufferView_pimpl.h:
8291         * BufferView.C:
8292         * BufferView.h: rename Dispatch() to dispatch()
8293
8294         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8295
8296         * lyxlayout.C (Read): honor DependsOn tag
8297
8298         * lyxlayout.[Ch] (depends_on): new method
8299
8300         * version.C.in: update lyx_docversion
8301
8302         * LaTeXFeatures.C (getMacros): only define \LyX when needed
8303
8304         * paragraph.C (validate): remove from here...
8305         * paragraph_pimpl.C (validate): ... and move here
8306         (isTextAt): make it const
8307
8308         * buffer.C (getLists): ws cleanup
8309
8310 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8311
8312         * language.C (read): Use iso8859-1 encoding in latex_lang
8313         (this prevents LyX from crashing when using iso10646-1 encoding).
8314
8315 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8316
8317         * text2.C (toggleInset): if cursor is inside an inset, close the
8318         inset and leave cursor _after_ it
8319
8320 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8321
8322         * lyxfunc.C: move minibuffer completion handling out of here
8323
8324 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8325
8326         * BufferView_pimpl.C:
8327         * LaTeX.C: fix dispatch calls
8328
8329 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
8330
8331         * text.C (drawChars): Fix Arabic text rendering.
8332
8333 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
8334
8335         * LyXAction.C:
8336         * commandtags.h:
8337         * lyxfunc.C: remove message-push/pop
8338
8339         * lyxserver.C:
8340         * lyxfunc.h:
8341         * lyxfunc.C: rationalise some code by removing verboseDispatch
8342           in favour of a bool argument to dispatch()
8343
8344 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8345
8346         * lyx_main.C (init): make sure to read symlinks as absolute paths
8347
8348 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8349
8350         * lyxfunc.h:
8351         * lyxfunc.C: no need for commandshortcut to be a member
8352
8353 2002-07-15  André Pönitz <poenitz@gmx.net>
8354
8355         * converter.C: add support for $$s (scripts from lib/scripts dir)
8356         * lyx_main.C: white space
8357
8358 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8359
8360         * bufferlist.C:
8361         * lyxrc.h:
8362         * lyxrc.C: remove second exit confirmation
8363
8364 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8365
8366         * BufferView.h:
8367         * BufferView.C:
8368         * BufferView2.C:
8369         * BufferView_pimpl.h:
8370         * BufferView_pimpl.C:
8371         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8372
8373 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8374
8375         * MenuBackend.C (expand): add numeric shortcuts to document menu
8376
8377         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8378
8379 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8380
8381         * lyxfont.C (setLyXFamily):
8382         (setLyXSeries):
8383         (setLyXShape):
8384         (setLyXSize):
8385         (setLyXMisc):
8386         (lyxRead):
8387         * debug.C (value):
8388         * buffer.C (asciiParagraph): use ascii_lowercase
8389
8390 2002-07-15  Mike Fabian  <mfabian@suse.de>
8391
8392         * lyxlex_pimpl.C (search_kw):
8393         * lyxlex.C (getLongString):
8394         * converter.h (operator<):
8395         * converter.C (operator<):
8396         * buffer.C (parseSingleLyXformat2Token):
8397         (asciiParagraph):
8398         * ToolbarDefaults.C (read):
8399         * MenuBackend.C (checkShortcuts):
8400         (read):
8401         * LColor.C (getFromGUIName):
8402         (getFromLyXName): use the compare_ascii_no_case instead of
8403         compare_no_case, because in turkish, 'i' is not the lowercase
8404         version of 'I', and thus turkish locale breaks parsing of tags.
8405
8406 2002-07-16  Angus Leeming  <leeming@lyx.org>
8407
8408         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8409         now takes a Buffer const & argument.
8410
8411 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
8412
8413         * BufferView.C (resize): check there's a buffer to resize
8414
8415 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
8416
8417         * lyxfunc.C: remove dead code
8418
8419         * lyxserver.h:
8420         * lyxserver.C: use lyx_guii::set_read_callback
8421
8422 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
8423
8424         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8425         an inset in a RTL paragraph.
8426
8427 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8428
8429         * lyxfunc.C: repaint after a font size update
8430
8431 2002-07-15  André Pönitz <poenitz@gmx.net>
8432
8433         * lyxlength.C: inBP should be able to return negative values
8434
8435 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8436
8437         * lyxfunc.C: use lyx_gui::update_fonts()
8438
8439 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8440
8441         * lyxfunc.C: use lyx_gui::update_color()
8442
8443 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8444
8445         * bufferlist.C:
8446         * lyxfunc.h:
8447         * lyxfunc.C:
8448         * lyxrc.h:
8449         * lyxrc.C: remove file->new asks for name option, and let
8450           buffer-new take an argument
8451
8452 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8453
8454         * BufferView_pimpl.C: remove unneeded extra repaint()
8455
8456 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
8457
8458         * LyXAction.C: allow command-sequence with NoBuffer
8459
8460         * lyxfunc.C: don't insist on trailing ';' for command-sequence
8461
8462 2002-07-10  Angus Leeming  <leeming@lyx.org>
8463
8464         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8465
8466 2002-07-09  Angus Leeming  <leeming@lyx.org>
8467
8468         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8469
8470 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8471
8472         * lengthcommon.h: whitespace
8473
8474         * lyxfunc.C: update scrollbar after goto paragraph
8475
8476         * lyxtext.h: factor out page break drawing, and fix it so
8477           page break/added space paints as selected nicely
8478
8479 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8480
8481         * BufferView_pimpl.C: add FIXMEs, clean up a little
8482
8483 2002-07-09  André Pönitz <poenitz@gmx.net>
8484
8485         * lyxfont.[Ch]: support for wasy symbols
8486
8487 2002-07-08  André Pönitz <poenitz@gmx.net>
8488
8489         * BufferView_pimpl.C: apply John's patch for #93.
8490
8491 2002-07-05  Angus Leeming  <leeming@lyx.org>
8492
8493         * BufferView_pimpl.C (buffer): generate previews if desired.
8494
8495         * LColor.h: add "preview" to the color enum.
8496
8497         * LColor.C (LColor): add a corresponding entry to the items array.
8498
8499         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8500         with this buffer.
8501
8502 2002-07-05  Angus Leeming  <leeming@lyx.org>
8503
8504         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8505         The body of the code is now in the method that is passed an ostream &
8506         rather than a file name.
8507         Pass an additional only_preamble parameter, useful for the forthcoming
8508         preview stuff.
8509
8510 2002-07-03  André Pönitz <poenitz@gmx.net>
8511
8512         * lyxfunc.C: simplify getStatus() a bit for math stuff
8513
8514 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8515
8516         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8517
8518 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8519
8520         * text.C (changeRegionCase): do not change case of all the
8521         document when region ends at paragraph end (bug #461)
8522
8523 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8524
8525         * paragraph.C (startTeXParParams):
8526         (endTeXParParams): add \protect when necessary
8527
8528 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8529
8530         * BufferView_pimpl.C (workAreaExpose): remove warning
8531
8532 2002-06-27  Angus Leeming  <leeming@lyx.org>
8533
8534         * Makefile.am: add lyxlayout_ptr_fwd.h.
8535
8536 2002-06-26  André Pönitz <poenitz@gmx.net>
8537
8538         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8539
8540 2002-06-25  Angus Leeming  <leeming@lyx.org>
8541
8542         * lyxfunc.C (dispatch): Comment out the call to
8543         grfx::GCache::changeDisplay. The method no longer exists now that the
8544         pixmap generation part of the graphics loader has been moved into
8545         InsetGraphics.
8546
8547 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8548
8549         * text2.C: layout as layout
8550
8551         * text.C: layout as layout
8552
8553         * tabular.C (OldFormatRead): layout as layout
8554
8555         * paragraph_pimpl.C (TeXDeeper): layout as layout
8556         (realizeFont): layout as layout
8557
8558         * paragraph.C (writeFile): layout as layout
8559         (validate): layout as layout
8560         (getFont): layout as layout
8561         (getLabelFont): layout as layout
8562         (getLayoutFont): layout as layout
8563         (breakParagraph): layout as layout
8564         (stripLeadingSpaces): layout as layout
8565         (getEndLabel): layout as layout
8566         (getMaxDepthAfter): layout as layout
8567         (applyLayout): layout as layout
8568         (TeXOnePar): layout as layout
8569         (simpleTeXOnePar): layout as layout
8570         (TeXEnvironment): layout as layout
8571         (layout): layout as layout
8572         (layout): layout as layout
8573
8574         * lyxtextclass.C (compare_name): new functor to work with
8575         shared_ptr, layout as layout
8576         (Read): layout as layout
8577         (hasLayout): layout as layout
8578         (operator): layout as layout
8579         (delete_layout): layout as layout
8580         (defaultLayout): layout as layout
8581
8582         * lyxlayout_ptr_fwd.h: new file
8583
8584         * lyxlayout.C (Read): layout as layout
8585
8586         * lyx_cb.C (MenuInsertLabel): layout as layout
8587
8588         * bufferlist.C (newFile): layout as layout
8589
8590         * buffer.C (readLyXformat2): layout as layout
8591         (parseSingleLyXformat2Token): layout as layout
8592         (insertStringAsLines): layout as layout
8593         (asciiParagraph): layout as layout
8594         (latexParagraphs): layout as layout
8595         (makeLinuxDocFile): layout as layout
8596         (simpleLinuxDocOnePar): layout as layout
8597         (makeDocBookFile): layout as layout
8598         (simpleDocBookOnePar): layout as layout
8599         (getLists): layout as layout
8600
8601         * LaTeXFeatures.C (getTClassPreamble): layout as layout
8602
8603         * CutAndPaste.C (cutSelection): layout as layout
8604         (pasteSelection): layout as layout
8605         (SwitchLayoutsBetweenClasses): layout as layout
8606
8607         * BufferView_pimpl.C (Dispatch): layout as layout
8608         (smartQuote): layout as layout
8609
8610         * BufferView2.C (unlockInset): layout as layout
8611
8612 2002-06-24  André Pönitz <poenitz@gmx.net>
8613
8614         * lyxfunc.C: fix #487
8615
8616 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8617
8618         * lyxrc.h:
8619         * lyxrc.C:
8620         * lyxfunc.C: remove display_shortcuts, show_banner
8621
8622 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8623
8624         * Buffer_pimpl.C: oops, update on resize
8625
8626 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8627
8628         * buffer.C:
8629         * converter.C:
8630         * exporter.C:
8631         * lyxfunc.C:
8632         * BufferView.h:
8633         * BufferView.C: use repaint()
8634
8635         * BufferView_pimpl.h:
8636         * BufferView_pimpl.C: s/updateScreen()/repaint()/
8637           as it's a clearer description. Remove superfluous
8638           redraws.
8639
8640 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8641
8642         * text.C: fix bug 488. Not ideal, but getting
8643           getWord() to work properly for the insets that
8644           matter is more difficult ...
8645
8646 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8647
8648         * BufferView_pimpl.C:
8649         * LyXAction.C:
8650         * commandtags.h:
8651         * lyxfunc.C: remove the six million index lyxfuncs to just
8652           one, and DTRT (bug 458)
8653
8654 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8655
8656         * BufferView.h:
8657         * BufferView.C:
8658         * BufferView_pimpl.h:
8659         * BufferView_pimpl.C: clean up resize() stuff,
8660           and unnecessary updateScreen()s
8661
8662 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8663
8664         * BufferView.h:
8665         * BufferView.C:
8666         * BufferView_pimpl.h:
8667         * BufferView_pimpl.C:
8668         * lyxfind.h:
8669         * lyxfind.C:
8670         * minibuffer.C: remove focus management of workarea,
8671           not needed. Use screen's greyOut()
8672
8673 2002-06-17  Herbert Voss  <voss@lyx.org>
8674
8675         * converter.C: (convert) do not post a message, when converting
8676         fails, let the calling function decide what to do in this case
8677
8678 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
8679
8680         * lyxfunc.C: tidy up a little
8681
8682 2002-06-16    <alstrup@diku.dk>
8683
8684         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8685         Got rid of FORMS_H_LOCATION include. Now we are
8686         GUII.
8687
8688 2002-06-15  LyX Development team  <lyx@rilke>
8689
8690         * buffer.[Ch] (sgmlOpenTag):
8691         (sgmlCloseTag): Added support for avoiding pernicious mixed
8692         content. Return number of lines written.
8693
8694         (makeLinuxDocFile):
8695         (makeDocBookFile): Fixed calls to sgml*Tag.
8696         Simple white space clean.
8697
8698         (simpleDocBookOnePar): Simple white space clean.
8699
8700         * tabular.[Ch] (docBook): Renamed to docbook and got another
8701         argument to related with the pernicious mixed content.
8702
8703         (docbookRow): Fixed calls for docbook inset method.
8704
8705 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
8706
8707         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8708         so it's X11 independent.
8709
8710         * kb*.[Ch]: ditto.
8711
8712         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8713
8714 2002-06-15  Lyx Development team  <lyx@electronia>
8715
8716         * intl.h: Renamed getTrans to getTransManager.
8717
8718 2002-06-14  Angus Leeming  <leeming@lyx.org>
8719
8720         * Makefile.am: nuke forgotten stl_string_fwd.h.
8721
8722 2002-06-12  Angus Leeming  <leeming@lyx.org>
8723
8724         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8725
8726 2002-06-13  Angus Leeming  <leeming@lyx.org>
8727
8728         * LaTeX.C:
8729         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8730
8731 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
8732
8733         * kbmap.C (getiso): add support for cyrillic and greek
8734
8735 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8736
8737         * BufferView.h:
8738         * BufferView.C:
8739         * BufferView_pimpl.h:
8740         * BufferView_pimpl.C: move bogus scrolling logic
8741           to xforms
8742
8743 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8744
8745         * lyxfunc.C:
8746         * BufferView_pimpl.C: view->resize() change
8747
8748 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8749
8750         * BufferView_pimpl.C: topCursorVisible
8751           prototype change
8752
8753 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8754
8755         * Makefile.am:
8756         * lyx_gui.h:
8757         * lyx_gui.C: move to frontends/
8758
8759         * main.C:
8760         * lyx_main.h:
8761         * lyx_main.C: changes from above
8762
8763 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8764
8765         * intl.C:
8766         * intl.h:
8767         * kbmap.C:
8768         * kbsequence.C:
8769         * lyx_cb.C:
8770         * lyx_main.C: minor tidy
8771
8772 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8773
8774         * BufferView_pimpl.h:
8775         * BufferView_pimpl.C:
8776         * BufferView.h:
8777         * BufferView.C: make painter() const,
8778           remove dead code
8779
8780         * BufferView2.C: use screen() accessor
8781
8782         * lyx_main.h:
8783         * lyx_main.C: some minor cleanup
8784
8785 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8786
8787         * BufferView_pimpl.h:
8788         * BufferView_pimpl.C: remove enter/leaveView,
8789           use workHeight()
8790
8791 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8792
8793         * BufferView.h:
8794         * BufferView.C:
8795         * BufferView2.C:
8796         * BufferView_pimpl.h:
8797         * BufferView_pimpl.C: only construct screen once,
8798           rename
8799
8800         * lyxrc.C: remove pointless comment
8801
8802 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8803
8804         * BufferView.h:
8805         * BufferView.C: remove active() and belowMouse()
8806
8807         * BufferView_pimpl.h:
8808         * BufferView_pimpl.C: use workarea() not workarea_,
8809           and make it use a scoped_ptr instead
8810
8811 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8812
8813         * lyx_gui.C: add debug message on BadWindow
8814
8815 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8816
8817         * sp_spell.C: fdopen is not part of the C++ standard.
8818
8819         * paragraph.C (InsetIterator): use >= instead of ==
8820
8821 2002-06-07  Angus Leeming  <leeming@lyx.org>
8822
8823         Fixes needed to compile with Compaq cxx 6.5.
8824         * BufferView_pimpl.C:
8825         * DepTable.C:
8826         * buffer.C:
8827         * converter.C:
8828         * encoding.C:
8829         * lyx_gui.C:
8830         * lyx_main.C:
8831         * lyxtextclasslist.C:
8832         * minibuffer.C:
8833         * sp_spell.C:
8834         * tabular_funcs.C:
8835         * vc-backend.C:
8836         all c-library variables have been moved into namespace std. Wrap
8837         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8838
8839         * lyxlength.C:
8840         * tabular-old.C:
8841         * tabular.C:
8842         Add a using std::abs declaration.
8843
8844         * kbmap.h (modifier_pair):
8845         * paragraph.h (InsetTable, InsetList):
8846         * lyxfont.h (FontBits):
8847         type definition made public.
8848
8849         * bufferlist.C (emergencyWriteAll): the compiler complains that
8850         there is more than one possible lyx::class_fun template to choose from.
8851         I re-named the void specialisation as lyx::void_class_fun.
8852
8853         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8854
8855         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8856         the compiler is is unable to find tostr in write_attribute.
8857
8858 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8859
8860         * buffer.C (sgmlError): hide #warning
8861
8862 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8863
8864         * xtl/*: get rid of xtl, which is not in use anyway
8865
8866         * LyXAction.C (init):
8867         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8868         were unimplemented xtl experimentation
8869
8870 2002-06-04  André Pönitz <poenitz@gmx.net>
8871
8872         * lyxfunc.C: disable array operation on simple formulae
8873
8874 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
8875
8876         * converter.C: constify a bit
8877
8878 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
8879
8880         * lyx_gui.C: check xforms version correctly
8881
8882 2002-04-30  Herbert Voss  <voss@lyx.org>
8883
8884         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8885         "keep" option
8886
8887 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
8888
8889         * lyxvc.C: fix bug 416 (make sure buffer is saved before
8890           attempt to register it with a VCS)
8891
8892 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8893
8894         * lyx_main.C (init): honor variables LYX_DIR_13x and
8895         LYX_USERDIR_13x
8896
8897 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8898
8899         * buffer.h:
8900         * buffer.C:
8901         * lyx_main.C: fix a crash on bad command line,
8902           and give a useful exit status on error
8903
8904         * lyxfunc.C (doImport): allow -i lyx to work
8905
8906 2002-03-30  André Pönitz <poenitz@gmx.net>
8907
8908         * lyxfunc.C: mathed font changes
8909
8910 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8911
8912         * LaTeX.C:
8913         * importer.h:
8914         * importer.C:
8915         * lyx_sty.h:
8916         * lyx_sty.C:
8917         * lyxlex.C:
8918         * lyxrow.h:
8919         * lyxtext.h:
8920         * paragraph.h:
8921         * paragraph.C:
8922         * texrow.h:
8923         * texrow.C:
8924         * text.C:
8925         * trans_mgr.h: srcdocs, and some minor cleanups
8926
8927 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8928
8929         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8930         call getFont all the time)
8931
8932 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8933
8934         * switch from SigC signals to boost::signals
8935
8936 2002-05-29  André Pönitz <poenitz@gmx.net>
8937
8938         * paragraph_pimpl.C (getChar): don't call size() too often...
8939
8940 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8941
8942         * paragraph_pimpl.C (insertChar): do not try to update tables when
8943         appending (pos == size())
8944
8945         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8946         in order to reduce drastically the number of comparisons needed to
8947         parse a large document
8948
8949 2002-05-29  André Pönitz <poenitz@gmx.net>
8950
8951         * text.C:
8952         * text2.C:
8953         * lyxtextclass.C:
8954         * sp_pspell.h:
8955         * textclasslist.[Ch]:
8956         * sp_ispell.h: whitespace change
8957
8958 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8959
8960         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8961         lyxaction directly now.
8962
8963 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8964
8965         * trans.C:
8966         * lyxfont.C:
8967         * lyxvc.C: remove unused headers
8968
8969 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8970
8971         * Makefile.am:
8972         * buffer.h:
8973         * undostack.h:
8974         * undostack.C:
8975         * undo_funcs.h:
8976         * undo_funcs.C: some cleanups. Use shared_ptr
8977           and a template for the undo stacks.
8978
8979 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8980
8981         * BufferView_pimpl.h:
8982         * BufferView_pimpl.C:
8983         * kbmap.h:
8984         * kbmap.C:
8985         * kbsequence.h:
8986         * kbsequence.C:
8987         * lyxfunc.h:
8988         * lyxfunc.C:
8989         * text2.C: use key_state/mouse_state
8990
8991 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8992
8993         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8994         and LSubstring
8995
8996         * chset.C: change include order
8997         (loadFile): use boost regex and get rid of LRegex and LSubstring
8998
8999         * Makefile.am (BOOST_LIBS): new variable
9000         (lyx_LDADD): use it
9001
9002         * LaTeX.C: change include order.
9003         (scanAuxFile): use boost regex and get rid of LRegex and
9004         LSubstring
9005         (deplog): ditto
9006
9007 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9008
9009         * ColorHandler.h:
9010         * ColorHandler.C:
9011         * FontInfo.h:
9012         * FontInfo.C: moved to frontends/xforms/
9013
9014         * FontLoader.h:
9015         * FontLoader.C: moved into frontends for GUIIzation
9016
9017         * Makefile.am:
9018         * lyx_gui.C:
9019         * lyxfont.C:
9020         * lyxfunc.C: changes from above
9021
9022 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9023
9024         * LColor.C: remove spurious X include
9025
9026         * BufferView_pimpl.C:
9027         * Makefile.am:
9028         * font.h:
9029         * font.C:
9030         * text.C:
9031         * text2.C: move font metrics to frontends/
9032
9033 2002-05-24  Juergen Vigna  <jug@sad.it>
9034
9035         * undo_funcs.C (textHandleUndo): fix the cursor selection after
9036         setting the undo_cursor.
9037
9038         * ParagraphParameters.h: include local includes first.
9039
9040 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9041
9042         * BufferView_pimpl.C:
9043         * BufferView_pimpl.h:
9044         * Makefile.am:
9045         * WorkArea.h:
9046         * WorkArea.C:
9047         * screen.C: move WorkArea into frontends/
9048
9049         * lyxscreen.h:
9050         * screen.C:
9051         * text.C:
9052         * BufferView.C:
9053         * BufferView2.C: move LyXScreen into frontends/
9054
9055         * lyxlookup.h:
9056         * lyxlookup.C:
9057         * lyx_gui.C: move lyxlookup into frontends/xforms/
9058
9059 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9060
9061         * BufferView2.C:
9062         * BufferView_pimpl.C:
9063         * FontLoader.C:
9064         * LyXView.h:
9065         * LyXView.C:
9066         * Makefile.am:
9067         * WorkArea.C:
9068         * XFormsView.h:
9069         * XFormsView.C:
9070         * buffer.C:
9071         * bufferlist.C:
9072         * bufferview_funcs.C:
9073         * converter.C:
9074         * importer.C:
9075         * lyx_cb.C:
9076         * lyx_gui.C:
9077         * lyx_main.C:
9078         * lyx_find.C:
9079         * lyxfunc.C:
9080         * lyxvc.C:
9081         * minibuffer.C:
9082         * text.C:
9083         * text2.C:
9084         * trans.C:
9085         * vc-backend.C: move LyX/XFormsView into frontends/
9086
9087 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9088
9089         * Makefile.am:
9090         * PainterBase.C:
9091         * PainterBase.h:
9092         * Painter.C:
9093         * Painter.h:
9094         * WorkArea.C:
9095         * WorkArea.h:
9096         * screen.C:
9097         * tabular.C:
9098         * text.C:
9099         * text2.C: move Painter to frontends/
9100
9101 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9102
9103         * buffer.C: comment out some some code that depend upon lyx_format
9104         < 220
9105
9106         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9107         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9108
9109         * buffer.h (NO_COMPABILITY): turn off compability
9110
9111         * ColorHandler.C: include scoped_array.hpp
9112
9113         * font.C: Use more specific smart_ptr header.
9114         * Painter.C: ditto
9115         * gettext.C: ditto
9116         * ShareContainer.h: ditto
9117         * lyx_main.h: ditto
9118         * kbmap.h: ditto
9119         * FontInfo.h: ditto
9120         * BufferView_pimpl.h: ditto
9121         * ColorHandler.h: ditto
9122
9123         * kbmap.C (defkey): change call to shared_ptr::reset
9124
9125 2002-05-21  Juergen Vigna  <jug@sad.it>
9126
9127         * buffer.C (insertErtContents): fix to insert ert asis if it is
9128         non empty. Skip it completely if it contains only whitespaces.
9129
9130 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
9131
9132         * BufferView_pimpl.C:
9133         * BufferView2.C: clear selection on paste (bug 393)
9134
9135 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9136
9137         * DepTable.C: include ctime
9138
9139 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
9140
9141         * buffer.C (latexParagraphs): Add new argument (moving_arg).
9142
9143 2002-05-14  Juergen Vigna  <jug@sad.it>
9144
9145         * text.C (breakParagraph): fixed function to honor the keepempty
9146         layout in the right maner and also to permit the right breaking
9147         algorithm on empty or non empyt keepempty paragraphs.
9148
9149         * paragraph.C (breakParagraph): we have to check also if the par
9150         is really empty (!size()) for isempty otherwise we do the wrong
9151         paragraph break.
9152
9153 2002-05-10  Juergen Vigna  <jug@sad.it>
9154
9155         * buffer.[Ch] : The following are only changes to the ert
9156         compatibility read reading old LaTeX layout and font stuff and
9157         convert it to ERTInsets.
9158
9159         * buffer.h: added isErtInset().
9160
9161         * buffer.C (struct ErtComp): add a fromlayout bool to check
9162         if we're inside a LaTeX layout.
9163         (isErtInset): new helper function.
9164         (insertErtContents): look for other ert insets before this one
9165         and insert the contents there, so that we don't have subsequent
9166         ERT insets with nothing between them. This way we create only one
9167         inset with multiple paragraphs. Also check if we don't insert only
9168         spaces ' ' as they are ignored anyway afterwards in the .tex file
9169         so if we have only spaces we will ignore this latex part in the
9170         new file.
9171         (parseSingleLyXformat2Token \\layout): better compatibility when
9172         reading layout-latex stuff.
9173         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9174         language tag.
9175         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9176         stuff after reading the inset only get the information back from
9177         the stack.
9178
9179 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
9180
9181         * buffer.C (makeLaTeXFile): Put language options after loading babel.
9182
9183         * LaTeXFeatures.C (getBabelOptions): New method.
9184
9185 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9186
9187         * BufferView_pimpl.C (Dispatch): work around missing argument for
9188         'layout'
9189
9190 2002-05-08  Juergen Vigna  <jug@sad.it>
9191
9192         * text.C (leftMargin): handle paragraph leftindent.
9193
9194         * paragraph.C (writeFile): write the new \\leftindent tag.
9195         (validate): handle leftindent code.
9196         (TeXEnvironment): handle paragraphleftindent code again.
9197
9198         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9199
9200         * buffer.C (parseSingleLyXformat2Token): added compatibility code
9201         for paragrap_extra indent code and new token \\leftindent.
9202         (latexParagraphs): handle the leftindent as environment.
9203
9204         * ParameterStruct.h: added leftindent support.
9205
9206         * ParagraphParameters.C (leftIndent): added support functions for
9207         the paragraph left indent.
9208
9209         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9210         more appropriate.
9211
9212 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
9213
9214         * paragraph.C (isRightToLeftPar): Return false for a paragraph
9215         inside insetERT.
9216
9217         * text.C (computeBidiTables): No bidi in insetERT.
9218
9219         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9220         in RTL documents.
9221
9222 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9223
9224         * version.C.in: pre 5
9225
9226 2002-05-02  José Matos  <jamatos@fep.up.pt>
9227         * buffer.C (makeDocBookFile): white space changes, add newline to
9228         command styles.
9229         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9230
9231         * tabular.C (docBook): fix typo.
9232
9233 2002-05-03  Juergen Vigna  <jug@sad.it>
9234
9235         * screen.C (drawFromTo): recalculate the rowpointer if we had a
9236         change in LyXText as we can not be sure it was not freed.
9237         (drawOneRow): remove unused code.
9238
9239         * text.C (drawInset): redo the calculation of the need_break_row as
9240         it could have a row which was already freed.
9241         (draw): look at the return value of drawInset and return false if
9242         it also returned false.
9243         (paintRowText): look at the return value of draw and return false if
9244         it also returned false.
9245
9246         * lyxtext.h: added bool return type to drawInset() and draw() so that
9247         if we have a change in the row so that the rowbreak has to be redone
9248         we abort drawing as it will be called again.
9249
9250 2002-05-02  Juergen Vigna  <jug@sad.it>
9251
9252         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9253         a change in the maintext also if we're inside an inset.
9254         (Dispatch): set the cursor again after a break line and after the
9255         screen has been updated as it could be we're in a different row.
9256
9257         * text2.C (fixCursorAfterDelete): check to make sure we don't request
9258         to set the cursor behind the pargraph with > size().
9259         (setCursor): check also for the same paragraph when checking where
9260         to put the cursor if we have a NFR inset.
9261
9262         * buffer.C (parseSingleLyXformat2Token): move the compatibility
9263         parts of layout read further up as it still was in the wrong
9264         position.
9265
9266 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9267
9268         * screen.C (drawFromTo): change sine fullRebreak always return
9269         true.
9270
9271         * buffer.C (parseSingleLyXformat2Token): reindent some
9272
9273         * BufferView_pimpl.C (update): change since fullRebreak always
9274         return true.
9275         (Dispatch): git rid of the last hardcoded "Standard"s.
9276
9277 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9278
9279         * text2.[Ch] (fullRebreak): make it return void now that we always
9280         returned true.
9281
9282 2002-04-30  Juergen Vigna  <jug@sad.it>
9283
9284         * buffer.C (parseSingleLyXformat2Token): reset the font before the
9285         ert compatibility check for "latex" layout.
9286
9287 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
9288
9289         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9290         minipages: use col% instead of p%, and also use the current font.
9291         (makeLaTeXFile): Fix use babel condition.
9292         (parseSingleLyXformat2Token): Correct font when reading old floats.
9293
9294 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
9295
9296         * BufferView_pimpl.C (Dispatch): Check that float type exists when
9297         inserting list of floats.
9298
9299 2002-04-25  Herbert Voss  <voss@lyx.org>
9300
9301         * MenuBackend.C (expand): don't add the graphics extensions to the
9302         export menu
9303
9304 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9305
9306         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9307         non-existing layout, do not complain if it was the default layout
9308         of the original class (bug #342)
9309
9310 2002-04-24  Juergen Vigna  <jug@sad.it>
9311
9312         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9313         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9314
9315 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
9316
9317         * buffer.C (getBibkeyList): If using \bibliography, return the
9318         option field with the reference itself. Enables us to provide natbib
9319         support when using \bibliography.
9320
9321 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
9322
9323         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9324
9325         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9326         natbib is provided by the LaTeX class.
9327
9328 2002-04-23  Juergen Vigna  <jug@sad.it>
9329
9330         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9331         Wakeup functions.
9332
9333         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9334
9335 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9336
9337         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9338
9339         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9340         ensuremath around textordmasculine, textordfeminine and
9341         textdegree.
9342
9343 2002-04-19  Juergen Vigna  <jug@sad.it>
9344
9345         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9346         reinitializing the buffer otherwise row-dimensions may be wrong.
9347         (update): reset also the selection cursors if they do exits otherwise
9348         their x/y positions may be wrong.
9349
9350         * text2.C (cursorDown): don't enter the inset if we came from a row
9351         above and are one row over the inset.
9352
9353         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9354         really leaving an inset.
9355
9356 2002-04-18  Juergen Vigna  <jug@sad.it>
9357
9358         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9359         of the selected paragraph does not have the selected layout also if
9360         the last one had!
9361
9362         * text2.C (setLayout): fixed bug which did not change last selected
9363         paragraph.
9364
9365         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9366         changed the read and substituted \\end_float with \\end_inset!
9367
9368         * BufferView_pimpl.C (cursorPrevious):
9369         (cursorNext): fixed to make it work with rows heigher than the work
9370         area without moving the cursor only the draw of the row.
9371         (workAreaMotionNotify): fix jumping over high rows.
9372
9373 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9374
9375         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9376         Ressler.
9377
9378 2002-04-16  Juergen Vigna  <jug@sad.it>
9379
9380         * text2.C (setCursor): set also the irow().
9381         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9382         (cursorUp):
9383         (cursorDown): support for locking an inset if the x_fix value goes
9384         inside it. That way I can transverse insets too with cursor up/down.
9385
9386         * lyxrow.h: added irow helper function same as other (i) functions.
9387
9388         * BufferView_pimpl.C (cursorPrevious):
9389         (cursorNext): fixed for insets!
9390
9391 2002-04-15  Juergen Vigna  <jug@sad.it>
9392
9393         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9394         position otherwise it is wrong in some cases.
9395
9396         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9397         inside the inset before the call.
9398
9399 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
9400
9401         * buffer.[Ch] (getBibkeyList): make it const.
9402
9403 2002-04-12  Juergen Vigna  <jug@sad.it>
9404
9405         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9406
9407         * text2.C (getCursorX): new helper function
9408         (setCursor): compute also ix_
9409         (setCursorFromCoordinates): set also ix.
9410
9411         * lyxcursor.h: added ix_ and helper functions.
9412
9413         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9414
9415         * buffer.C (insertStringAsLines): dont break paragraph if the this
9416         paragraph is inside an inset which does not permit it!
9417
9418         * text.C (breakParagraph): honor keepempty flag and break the paragraph
9419         also with no chars on this paragraph.
9420         (paintRowText): only paint stuff if it's inside the workarea!
9421
9422         * paragraph.C (breakParagraph): honor keepempty flag and break the
9423         paragraph always below not above.
9424
9425         * BufferView2.C (unlockInset): update the paragraph layout on inset
9426         unlock as we changed paragraph in such a case.
9427
9428         * lyxfind.C (LyXFind): clear the former selection if not found!
9429
9430         * text2.C (insertInset): freeze Undo after setUndo so that it is not
9431         again called in insertChar().
9432
9433         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9434         an inset which uses the whole row!
9435         (rightMargin): ditto.
9436         (insertChar): force a rebreak if we inserted an inset!
9437
9438 2002-03-28  Herbert Voss  <voss@lyx.org>
9439
9440         * lyxlength.[Ch]: add inBP() to get the right PS-point
9441         units (BigPoint). With inPixels we have rounding errors
9442
9443 2002-04-11  Juergen Vigna  <jug@sad.it>
9444
9445         * text2.C (setCursorFromCoordinates): set iy to the right value.
9446         (setCursor): add check if row->previous exists!
9447
9448         * buffer.C (parseSingleLyXformat2Token): reset font after read of
9449         an old float_type as this was the case in the old code!
9450
9451         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9452
9453         * BufferView2.C (showLockedInsetCursor): use iy
9454         (fitLockedInsetCursor): ditto
9455
9456         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9457         locked insets as there we have the right value now.
9458
9459         * lyxcursor.C: added iy_ variable and iy functions to set to the
9460         baseline of cursor-y of the locked inset.
9461
9462         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9463         (setCursor): fixed for insets which need a full row.
9464
9465         * text.C (rowLastPrintable): don't ignore the last space when before
9466         an inset which needs a full row.
9467         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9468         as last character of a row when before a inset which needs a full row.
9469
9470 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9471
9472         * version.C.in: update date
9473
9474         * text2.C (fullRebreak): try to always return true and see what
9475         happens...
9476
9477 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9478
9479         * MenuBackend.C (expand): use Floating::listName
9480
9481         * FloatList.C (FloatList): add listName argument to the built-in
9482         floats
9483
9484         * Floating.[Ch]: add listName member, which is the 'List of XXX'
9485         text associated with the float.
9486
9487 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9488
9489         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9490
9491 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9492
9493         * ShareContainer.h: add a couple of missing typenames.
9494
9495 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
9496
9497         * lyxrc.C (getDescription): use _() correctly rather than N_().
9498
9499 2002-03-28  Herbert Voss  <voss@lyx.org>
9500
9501         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9502         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9503
9504 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9505
9506         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9507         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9508
9509 2002-03-29  Juergen Vigna  <jug@sad.it>
9510
9511         * lyxfunc.C (dispatch): add a missing fitCursor call.
9512
9513         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9514         it was scrolled by a cursor move, so return the bool status.
9515
9516         * BufferView.C (fitCursor): return the bool flag also to the outside
9517         world as this is needed.
9518
9519         * screen.C (toggleToggle): don't subtract the offset if it's positive.
9520
9521         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9522         call the edit() as it is not needed (and wrong) IMO.
9523         (workAreaButtonPress): set the screen_first variable before evt.
9524         unlock the inset as this may change screen_first and then we have
9525         a wrong y position for the click!
9526
9527 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9528
9529         * MenuBackend.C (expand): another translation that I missed
9530
9531 2002-03-28  Juergen Vigna  <jug@sad.it>
9532
9533         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9534
9535         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9536
9537 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9538
9539         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9540
9541         * MenuBackend.C (expand): fix export/view/update when there is no
9542         document open.
9543
9544 2002-03-27  Herbert Voss  <voss@lyx.org>
9545
9546         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9547         and text%
9548
9549 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9550
9551         * bufferview_funcs.C (currentState): only show paragraph number
9552         for is DEVEL_VERSION is set.
9553
9554         * lyxfunc.C (dispatch): put warning in INFO channel
9555
9556         * MenuBackend.C (expand): translate the name of floats
9557
9558         * FloatList.C (FloatList): mark the float names for translation
9559
9560         * converter.C (convert): use LibScriptSearch
9561
9562 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9563
9564         * MenuBackend.C (defaults): fix default menu (we might as well get
9565         rid of it...)
9566
9567 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9568
9569         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9570         directory.
9571
9572 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9573
9574         * lyxvc.C: reorder includes.
9575
9576 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
9577
9578         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9579           properly
9580
9581 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
9582
9583         * CutAndPaste.C: change layouts earlier on paste
9584           to avoid crashing when calling getFont()
9585
9586 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
9587
9588         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9589         irritating #error.
9590
9591 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9592
9593         * WorkArea.C: remove 'Pending' debug message.
9594
9595         * most files: ws cleanup
9596
9597         * buffer.[Ch]: ws changes
9598
9599         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9600
9601 2002-03-21  Juergen Vigna  <jug@sad.it>
9602
9603         * tabular.C (SetMultiColumn): collapse also the contents of the
9604         cells and set the last border right. Added a Buffer const * param.
9605
9606 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9607
9608         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9609         linking or not.
9610
9611 2002-03-19  Juergen Vigna  <jug@sad.it>
9612
9613         * text2.C (clearSelection): reset also xsel_cache.
9614
9615         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9616         where it needs to be called (John tells us to do so too :)
9617         (selectionLost): reset sel_cache.
9618
9619         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9620
9621 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9622
9623         * text2.C (setCursorIntern): put debuging code in INSETS channel
9624
9625 2002-03-19  André Pönitz <poenitz@gmx.net>
9626
9627         * lyxfunc.C: tiny whitespace change
9628
9629 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9630
9631         * ToolbarDefaults.C (init):
9632         * LyXAction.C (init):
9633         * commandtags.h:
9634         * BufferView_pimpl.C (Dispatch):
9635         * lyxfunc.C (dispatch): remove LFUN_DEPTH
9636
9637 2002-03-19  Allan Rae  <rae@lyx.org>
9638
9639         * exporter.C (Export): removeAutoInsets before doing anything else.
9640         While I've just introduced a dependency on BufferView this really is
9641         the best place to clean the buffer otherwise you need to cleanup in
9642         a dozen places before calling export or cleanup in a dozen functions
9643         that export calls.
9644
9645         * converter.C (runLaTeX):
9646         (scanLog): Better handling of removeAutoInsets and screen updates.
9647
9648         * lyxfunc.C (dispatch): small whitespace changes
9649
9650 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9651
9652         * WorkArea.C (C_WorkAreaEvent): return a value.
9653         (event_cb): return 1 if we handled the event, 0 otherwise.
9654
9655         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9656
9657 2002-03-18  Juergen Vigna  <jug@sad.it>
9658
9659         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9660         (GetAdditionalWidth): ditto.
9661         (RightLine): ditto.
9662         (LeftLine): ditto.
9663
9664         * BufferView2.C (copy): use getLyXText() so that we do it inside an
9665         inset if we're there actually (probably not used right now but this
9666         is the direction to go for unifying code).
9667         (paste): disable code to clear the selection.
9668
9669         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9670         inside an InsetText and move the check further up as it is in the
9671         wrong place.
9672
9673         * text2.C (pasteSelection): set a selection over the pasted text.
9674
9675 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
9676
9677         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9678         and libgraphics to build on Cygwin.
9679
9680 2002-03-15  Juergen Vigna  <jug@sad.it>
9681
9682         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9683         inserting an Inset into the paragraph. I know this is not the best
9684         fix but we already use current_view in CutAndPaste so we will remove
9685         all of it's using at the same time.
9686
9687         * buffer.C (sgmlError): deactivated function till it is rewritten in
9688         the right mode, now it can create problems.
9689
9690         * paragraph.C (isLineSeparator): check if getInset returns != 0,
9691         before accessing it.
9692
9693 2002-03-14  Juergen Vigna  <jug@sad.it>
9694
9695         * undo_funcs.C (textHandleUndo): do the right thing when updating
9696         the inset after the undo/redo.
9697
9698         * text2.C (setCursor): just some testcode for #44 not ready yet.
9699
9700         * undo_funcs.C (textHandleUndo): set the next() and previous()
9701         pointers of the paragraph to 0 before deleting otherwise we have
9702         problems with the Paragraph::[destructor].
9703
9704         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9705         on a paragraph insertion.
9706
9707 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9708
9709         * buffer.C (asciiParagraph): use += operator for char append to
9710         string.
9711
9712         * paragraph.C (getFontSettings): compare >= not just >
9713         (highestFontInRange): ditto
9714         (setFont): ditto
9715
9716 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9717
9718         * paragraph.C: change several algorithm to be more appripriate for
9719         the problem domain. This is lookip in FontList and in the InsetList.
9720
9721 2002-03-13  André Pönitz <poenitz@gmx.net>
9722
9723         * commandtags.h:
9724         * LyXAction.C: remove unused LFUN_MATH_MACROARG
9725
9726 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
9727
9728         * commandtags.h:
9729         * LyXAction.C:
9730         * lyxfunc.C:
9731         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9732
9733 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9734
9735         * Painter.C (display): anon helper function, adjust code for this
9736         change.
9737         (pixmap): remove function.
9738
9739         * Painter.h: remove private display variable.
9740
9741         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9742
9743 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
9744
9745         * WorkArea.[Ch]: remove figinset_canvas cruft.
9746
9747 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9748
9749         * lyxtextclass.C (operator): add one item cache optimization.
9750
9751         * bufferlist.h: doxy changes
9752
9753         * bufferlist.C: ws changes
9754
9755         * DepTable.[Ch] (ext_exist): place const in the right spot.
9756
9757         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9758         call resizeInsets.
9759         (workAreaExpose): call resizeInsets when the with BufferView changes.
9760         (Dispatch): adjust for protectedBlank removal
9761         (specialChar): call updateInset if the insert went ok.
9762
9763         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9764         specialChar instead.
9765
9766         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9767
9768         * BufferView.h: doxy change
9769
9770         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9771
9772         * lyxtextclass.C (operator[]): remove non-const version
9773         (defaultLayout): remove non-const version
9774
9775 2002-03-12  Juergen Vigna  <jug@sad.it>
9776
9777         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9778         did resize the LyXText too.
9779
9780         * buffer.C (readLyXformat2): set layout information on newly allocated
9781         paragraphs.
9782
9783         * tabular.C (OldFormatRead): set layout information on the paragraph.
9784
9785 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9786
9787         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9788
9789 2002-03-11  Juergen Vigna  <jug@sad.it>
9790
9791         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9792         plainly wrong.
9793         (resizeCurrentBuffer): force also the insets to resize themselfes.
9794         (moveCursorUpdate): fixed up for InsetText.
9795
9796 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
9797
9798         * commandtags.h:
9799         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9800         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9801         value of Dialogs::tooltipsEnabled().
9802         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9803
9804 2002-03-08  Juergen Vigna  <jug@sad.it>
9805
9806         * BufferView_pimpl.C (updateInset): update inset inside inset also
9807         if it isn't inside theLockingInset().
9808
9809 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9810
9811         * buffer.C (asciiParagraph): redo some of the word and line length
9812         handling.
9813         (getLists): look for Caption instead of caption.
9814
9815 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9816
9817         * buffer.C (Buffer): initialize niceFile to true
9818         (makeLaTeXFile):
9819         (makeLinuxDocFile):
9820         (makeDocBookFile): make sure niceFile is true on exit
9821
9822 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9823
9824         * buffer.C (makeLaTeXFile): escape ~ in \input@path
9825
9826 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
9827
9828         * LyXSendto.C: remove.
9829         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9830         * lyx_gui.C: remove now-redundant comment.
9831         * ColorHandler.h: remove forward declaration of class WorkArea.
9832         * lyxfunc.C: remove #include "WorkArea.h".
9833
9834 2002-03-07  Juergen Vigna  <jug@sad.it>
9835
9836         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9837         got moved away with the DEPM and also set the inset_owner always
9838         right which before could have been omitted.
9839
9840 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9841
9842         * buffer.C (parseSingleLyXformat2Token): use default layout is the
9843         wanted layout is not found.
9844
9845 2002-03-07  Juergen Vigna  <jug@sad.it>
9846
9847         * CutAndPaste.C (cutSelection): another layout settings forgotten.
9848
9849 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9850
9851         * paragraph.C (breakParagraph): use default layout not layout of
9852         prev paragraph.
9853         (Paragraph): clear ParagraphParameters.
9854
9855 2002-03-06  Juergen Vigna  <jug@sad.it>
9856
9857         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9858         otherwise it would not be a valid lenght. Fixed a special case in
9859         the minipage compatibility read where we end the document with a
9860         minipage.
9861
9862         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9863         was set as it could be 0 for InsetTexts first entry.
9864
9865 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9866
9867         * paragraph.C (writeFile): if layout is empty write out
9868         defaultLayoutName().
9869
9870         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9871         file without named layout we set layout to defaultLayoutName().
9872
9873 2002-03-06  Juergen Vigna  <jug@sad.it>
9874
9875         * CutAndPaste.C (copySelection): set layout for new paragraph.
9876
9877         * text.C (prepareToPrint): leave ERT inset left aligned
9878         (leftMargin): don't indent paragraphs inside ERT insets
9879
9880 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9881
9882         * paragraph.C (breakParagraph): dont call clear do the work manually
9883
9884         * paragraph.[Ch] (clear): remove function
9885
9886 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9887
9888         * paragraph.C (Paragraph): dont call clear, the work has already
9889         been done.
9890
9891         * lyxtextclass.C (operator): assert if n is empty
9892
9893         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9894         work manually instead.
9895
9896 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9897
9898         * BufferView_pimpl.C: protect selectionLost against text == 0
9899
9900 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9901
9902         * text.C (breakParagraph): fix a setting layout to '0' problem.
9903
9904 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9905
9906         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9907         final location of file, for the included files, and graphics.
9908
9909 2002-03-05  Juergen Vigna  <jug@sad.it>
9910
9911         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9912
9913 2002-03-04  Juergen Vigna  <jug@sad.it>
9914
9915         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9916
9917         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9918         last column of multicolumn cells.
9919         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9920
9921 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9922
9923         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9924         file if it doesn't go to a temporary file.
9925
9926         * buffer.C (sgmlOpenTag):
9927         (sgmlCloseTag):  remove extra newline insertion.
9928
9929 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9930
9931         * text.C (getRowNearY): comment out debug msg
9932
9933 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9934
9935         * text2.C: first -> first_y
9936
9937         * text.C (getRowNearY): add some attemts at a possible
9938         optimization, not working.
9939
9940         * tabular.[Ch]: add BufferParams to several function so that newly
9941         created paragraph can be initialized to he default layotu for the
9942         buffers textclass.
9943
9944         * tabular-old.C (ReadOld): add buf->params to call of Init
9945
9946         * screen.C: rename text->first to text->first_y
9947
9948         * paragraph.C (breakParagraph): always set layout in the broken
9949         paragraph
9950
9951         * lyxtextclass.C (Read): remove lowercase
9952         (hasLayout): ditto
9953         (operator): ditto
9954         (delete_layout): ditto
9955
9956         * lyxtext.h: rename first -> first_y
9957
9958         * lyxlayout.C (Read): remove lowercase
9959         (name): ditto
9960         (setName): ditto
9961         (obsoleted_by): ditto
9962
9963         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9964
9965         * buffer.C (insertErtContents): add params are to InsetERT
9966         (parseSingleLyXformat2Token): add code to check if a paragraphs
9967         layout really exist.
9968         (parseSingleLyXformat2Token): add params to several inset
9969         constructors
9970         (asciiParagraph): remove lowercase, do the layout comparisons with
9971         no_case
9972
9973         * BufferView_pimpl.C (cursorNext): first -> first_y
9974         (resizeCurrentBuffer): first -> first_y
9975         (updateScrollbar): first -> first_y
9976         (scrollCB): first -> first_y
9977         (workAreaMotionNotify): first -> first_y
9978         (workAreaButtonPress): first -> first_y
9979         (checkInsetHit): first -> first_y
9980         (cursorPrevious): first -> first_y
9981         (cursorNext): first -> first_y
9982         (Dispatch): add buffer_->params to severl inset contructors
9983
9984 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9985
9986         * lyxlayout.C (Read): remove some debug info that I forgot.
9987
9988         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9989         clean up the code slightly.
9990         (makeLinuxDocFile): ditto
9991         (makeDocBookFile): ditto
9992
9993         * text2.C: layout as string
9994
9995         * text.C: layout as string
9996
9997         * paragraph_pimpl.C: layout as string
9998
9999         * paragraph.[Ch]: layout as string
10000
10001         * lyxtextclasslist.[Ch]: layout as string
10002
10003         * lyxtextclass.[Ch]: layout as string
10004
10005         * lyxtext.h: layout as string
10006
10007         * lyxlayout.[Ch]: layout as string
10008
10009         * lyx_cb.C: layout as string
10010
10011         * bufferview_funcs.C: layout as string
10012
10013         * bufferparams.C: layout as string
10014
10015         * buffer.C: layout as string
10016
10017         * LyXView.[Ch]: layout as string
10018
10019         * LaTeXFeatures.[Ch]: layout as string
10020
10021         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10022
10023         * BufferView_pimpl.C: change current_layout to string, remove
10024         lyx::layout_type.
10025         (Dispatch):
10026         (smartQuote):
10027         (insertInset):
10028         (workAreaButtonRelease): layout as string
10029
10030         * BufferView2.C (unlockInset): adjust
10031
10032         * vspace.C (asLatexCommand): use an explict temp variable.
10033
10034 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10035
10036         * Makefile.am: use FRONTEND_*
10037
10038 2002-03-01  Juergen Vigna  <jug@sad.it>
10039
10040         * tabular.C (SetWidthOfMulticolCell): changed to something better
10041         I hope but still work in progress.
10042         (recalculateMulticolumnsOfColumn): renamed function from
10043         recalculateMulticolCells as it is more appropriate now.
10044         (SetWidthOfCell): calculate multicols better.
10045
10046 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10047
10048         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10049
10050         * lyxfunc.C (processKeySym): print sequence also if it is
10051         `deleted' (complete)
10052
10053         * kbsequence.C (print): print sequence even if it is deleted
10054         (complete would be a better word, actually).
10055
10056         * lyxfunc.C (dispatch): print complete options after a prefix key
10057
10058         * vspace.C (asLatexCommand): rewrite in a slightly different form.
10059
10060 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
10061
10062         * text2.C (setCharFont): eliminate setCharFont code duplication.
10063
10064 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10065
10066         * BufferView_pimpl.C (Dispatch): remove bogus handling of
10067         LFUN_TABULAR_FEATURE (bug #177)
10068
10069 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
10070
10071         * Makefile.am: remove figure.h
10072
10073 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
10074
10075         * Bufferview_pimpl.C:
10076         * CutAndPasteC:
10077         * LaTeX.C:
10078         * LyXSendto.C:
10079         * buffer.C:
10080         * bufferlist.C:
10081         * converter.C:
10082         * language.C:
10083         * lyxfunc.C:
10084         * lyxvc.C:
10085         * paragraph.C:
10086         * text.C:
10087         * text2.C: remove #include "lyx_gui_misc.h".
10088
10089         * LaTeX.C: added #include <cstdio>
10090
10091 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10092
10093         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10094         that the paragraph following this one can have.
10095
10096         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10097
10098         * vspace.C (asLatexCommand): fix bogus gcc warning
10099
10100         * Makefile.am (lyx_SOURCES): remove vms_defines.h
10101
10102 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
10103
10104         * text2.C (setLayout): get rid of redundant code
10105
10106 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
10107
10108         * text2.C (incDepth): make sure depth cannot be increased beyond
10109         reasonable values.
10110
10111 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
10112
10113         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10114         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10115
10116         * PainterBase.h (image):
10117         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10118         a LyXImage const *.
10119
10120 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10121
10122         * BufferView.C:
10123         * BufferView.h:
10124         * BufferView_pimpl.C:
10125         * BufferView_pimpl.h:
10126         * LaTeXFeatures.C:
10127         * LyXAction.C:
10128         * LyXView.C:
10129         * Makefile.am:
10130         * UpdateList.h:
10131         * UpdateList.C:
10132         * buffer.C:
10133         * figure.h:
10134         * figureForm.C:
10135         * figureForm.h:
10136         * figure_form.C:
10137         * figure_form.h:
10138         * lyx_cb.C:
10139         * lyx_gui.C:
10140         * lyx_gui_misc.C:
10141         * lyxfunc.C:
10142         * sp_base.h:
10143         * sp_ispell.h:
10144         * sp_pspell.h:
10145         * sp_spell.C: remove fig inset, and the crap house of
10146           cards that follows it
10147
10148 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10149
10150         * Makefile.am:
10151         * lyxserver.C:
10152         * os2_defines.h:
10153         * os2_errortable.h:
10154         * nt_defines.h: move .h into support/
10155
10156         * vms_defines.h: remove
10157
10158         * WorkArea.C: add space in debug output
10159
10160         * text2.C:
10161         * paragraph.C:
10162         * buffer.C: add WITH_WARNINGS
10163
10164         * vc-backend.h:
10165         * vc-backend.C:
10166         * bufferlist.C: s/retrive/retrieve/, add docs
10167
10168         * vspace.h:
10169         * vspace.C:
10170         * kbmap.h:
10171         * lyxlength.h:
10172         * lyxgluelength.h:
10173         * length_common.h:
10174         * chset.h:
10175         * chset.C: add docs
10176
10177         * lyxgui.C: add ID to X error handler
10178
10179         * lyxtestclass.c: fix typo
10180
10181 2002-02-26  Juergen Vigna  <jug@sad.it>
10182
10183         * tabular_funcs.C (write_attribute): changed so that some default
10184         attributes are not written at all.
10185         (getTokenValue): set default values before trying to read the
10186         value so we have the return value always set as default if we don't
10187         find the token we search for.
10188
10189         * tabular.C (Write): write bools as bools not as strings!
10190
10191 2002-02-22  Juergen Vigna  <jug@sad.it>
10192
10193         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10194         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10195
10196         * text.C (leftMargin): don't add an indent for paragraphs inside
10197         tabular cells (fix #208).
10198
10199 2002-02-21  José Matos  <jamatos@fep.up.pt>
10200
10201         * tabular.C (docBook): fixed support for long tables.
10202
10203 2002-02-20  Juergen Vigna  <jug@sad.it>
10204
10205         * text2.C (getFont): get the drawing font of the Inset if this
10206         paragraph is inside an inset (only important for InsetERT for now).
10207
10208         * buffer.C (insertErtContents): use new lanugage params in ERT
10209         constructor.
10210
10211         * CutAndPaste.C: commenting out seemingly uneeded code.
10212
10213 2002-02-19  Allan Rae  <rae@lyx.org>
10214
10215         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10216         Iterators might be simple to use but they also get invalidated.
10217         (removeAutoInsets): renamed saved cursor tracking variables and added
10218         some comments to clarify what everything does.
10219
10220 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
10221
10222         * Chktex.C:
10223         * LaTeX.C:
10224         * LyXSendto.C:
10225         * converter.C:
10226         * lyx_cb.C:
10227         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10228         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10229
10230         * lyxfunc.C:
10231         * vc-backend.h: remove #include "support/syscall.h"
10232
10233         * LaTeX.C:
10234         * LyXSendto.C:
10235         * converter.C: rearrange #includes in Lars' approved fashion.
10236
10237         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10238         forward declare class Timeout in the header file.
10239
10240         * XFormsView.C: changes due to the above.
10241
10242         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10243         similar to LyXView.
10244
10245         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10246         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10247
10248 2002-02-18  José Matos  <jamatos@fep.up.pt>
10249
10250         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10251         insets contents.
10252
10253 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
10254
10255         * a lot of small ws changes
10256         * add a lot of using std::XXX
10257         * use std construcs some places where approp.
10258         * use some exisint stuff from lyxfunctional where approp.
10259         * Make file changes to use partial linking (lets test this now...)
10260
10261 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10262
10263         * Chktex.C:
10264         * buffer.C:
10265         remove #include "support/syscontr.h" as it's redundant. Always has been.
10266
10267         * Chktex.C:
10268         * LaTeX.C:
10269         * LyXSendto.C:
10270         * converter.C:
10271         * lyx_cb.C:
10272         * vc-backend.C:
10273         change Systemcalls::System to Systemcalls::Wait and
10274         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10275         No change of functionality, just reflects the stripped down Systemcalls
10276         class.
10277
10278 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10279
10280         * debug.[Ch]: add a GRAPHICS type to the enum.
10281
10282 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10283
10284         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10285
10286         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10287         there is an inset.
10288
10289 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10290
10291         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10292         match the changes below.
10293
10294         * text2.C (toggleInset): if there is not editable inset at cursor
10295         position, try to see if cursor is _inside_ a collapsable inset
10296         and close it.
10297
10298 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10299
10300         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10301         document menu has a nice checkbox
10302
10303 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10304
10305         * lyxlength.C (asLatexString): change PW to output as percent of
10306         \textwidth.
10307
10308         * lengthcommon.C: change '%' to 't%'
10309
10310         * lyxfunc.C (dispatch): a few comments from Martin
10311
10312 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
10313
10314         * WorkArea.h:
10315         * WorkArea.C:
10316         * BufferView_pimpl.h:
10317         * BufferView_pimpl.C: clear our selection when X tells us we've lost
10318           the X selection.
10319
10320 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10321
10322         * vspace.C (inPixels): fix compiler warning
10323
10324 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10325
10326         * lyxfunc.C (getStatus): fix status message for disabled commands.
10327
10328 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
10329
10330         * BufferView_pimpl.C: fix crash on close buffer
10331         during selection (#227)
10332
10333 2002-01-27  Herbert Voss  <voss@lyx.org>
10334
10335         * buffer.C: link old Figure to new graphic inset
10336
10337 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
10338
10339         * FontLoader.C (getFontinfo): Change the latex font names in order
10340         to match the names of type1inst.
10341
10342 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10343
10344         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10345
10346         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10347         (extchanged): ditto
10348         (ext_exist): ditto
10349         (remove_files_with_extension): ditto
10350         (remove_file): ditto
10351         (write): ditto
10352
10353         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10354         document is smaller than the work area height. Do not initialize
10355         static variables to 0.
10356
10357 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10358
10359         * lyx_gui.C (init): give the toolbar tooltips a normal font.
10360
10361         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10362         LFUN_LAYOUT_PARAGRAPHS.
10363
10364         * tabular.C (GetCellFromInset): new method. Finds an inset in a
10365         tabular. It is possible to provide a possible cell, which will
10366         typically be the actcell from the corresponding insettabular
10367
10368         * lyxfunc.C (getStatus): small cleanup; disable
10369         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10370         true
10371
10372 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10373
10374         * tabular.C (Validate): remove broken optimization (fixes bug #201)
10375
10376         * paragraph.C (startTeXParParams):
10377         (endTeXParParams): new methods. The LaTeX code to
10378         start/end paragraph formatting
10379         (simpleTeXOnePar): call startTeXParParams also when paragraph is
10380         empty (fixes bug #200)
10381
10382         * vspace.C (inPixels): adapt to the change below
10383         (inPixels): [later] more cleanups (remove unused variables)
10384
10385         * lyxlength.C (inPixels): change to use a width and a height as
10386         parameter.
10387
10388 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10389
10390         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10391         Replaced with \paperwidth
10392
10393         * DepTable.C (insert): add std:: qualifier
10394
10395 2002-01-18  Allan Rae  <rae@lyx.org>
10396
10397         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
10398         updated also?
10399
10400         * text.C (drawInset): Turned out I didn't know enough about how
10401         rebreaking worked.  This fixes most of the redraw problems.  I see
10402         an occasional cursor trail when a line is broken now and the cursor
10403         placement can seem out by a few pixels also after a rebreak.
10404
10405 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10406
10407         * buffer.C (parseSingleLyXformat2Token): update because minipage
10408         width is now a LyXLength
10409
10410         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10411
10412         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10413         math insets
10414
10415 2002-01-17  Juergen Vigna  <jug@sad.it>
10416
10417         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10418
10419         * BufferView2.C (lockInset): call edit() so that theLockingInset()
10420         is set correctly and the inset is updated correctly.
10421
10422 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10423
10424         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10425         the beginning of the loop.
10426
10427 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
10428
10429         * lyxrc.C: improve help for use_scalable_fonts
10430
10431 2002-01-17  Allan Rae  <rae@lyx.org>
10432
10433         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10434
10435 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10436
10437         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10438         make sure to set their inset_owner to the right value (bug #171)
10439
10440 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
10441
10442         * DepTable.h
10443         * DepTable.C: Implement mtime checking to reduce time spent doing
10444         CRCs.
10445
10446 2002-01-16  Juergen Vigna  <jug@sad.it>
10447
10448         * tabular.C (GetAdditionalHeight): one of error fixed.
10449
10450         * lyxrc.C (output): small fix in writing use_pspell.
10451
10452 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
10453
10454         * sp_base.h: #include LString.h
10455
10456 2002-01-16  Allan Rae  <rae@lyx.org>
10457
10458         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
10459         Can someone check this please?
10460
10461         * text.C (drawInset): It was possible that p.row would be removed by
10462         breakAgainOneRow upsetting a few other settings.  There may be another
10463         small tweak possible by setting need_break_row = 0 when p.row has been
10464         removed but I don't know enough about the logic here.
10465
10466 2002-01-15  Allan Rae  <rae@lyx.org>
10467
10468         * text.C (insertChar): removed conditional truism.
10469
10470         * BufferView2.C (removeAutoInsets): More tweaks.
10471         cur_par_prev could be a stray pointer.  Check for trailing empty line
10472         in case last line was cur_par and only had an error inset on it.
10473
10474 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10475
10476         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10477         absolute
10478
10479         * vc-backend.C (most methods):
10480         * exporter.C (Export):
10481         * converter.C (convert):
10482         (runLaTeX):
10483         * LyXSendto.C (SendtoApplyCB):
10484         * lyxfunc.C (dispatch):
10485         (menuNew):
10486         (open):
10487         (doImport):
10488         * lyx_cb.C (AutoSave):
10489         (InsertAsciiFile):
10490         * BufferView_pimpl.C (MenuInsertLyXFile):
10491         * buffer.C (runChktex): use Buffer::filePath().
10492
10493         * buffer.h: rename filename to filename_; rename filepath to
10494         filepath_ and make it private
10495         (filePath): new method
10496
10497         * buffer.C (writeFile): use fileName()
10498         (getLatexName):
10499
10500         * lyx_main.C (init): fix starting  of LyX when the binary is a
10501         link from so,ewhere else.
10502
10503         * minibuffer.C: include <cctype> for isprint
10504
10505 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10506
10507         * buffer.C (parseSingleLyXformat2Token): changes associated with the
10508         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10509         name clash with InsetCollapsable's width function.
10510
10511 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10512
10513         * lastfiles.C: include <iterator>
10514
10515 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10516
10517         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10518         std::count.
10519
10520         * buffer.C (makeLaTeXFile): ditto.
10521         Also make loop operation more transparent.
10522
10523 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10524
10525         * ToolbarDefaults.C: remove trailing comma closing namespace.
10526
10527         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10528
10529         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10530         as in WorkArea.
10531
10532         * trans.C (Load): comment out unused variable, allowed.
10533
10534 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10535
10536         * minibuffer.[Ch] (append_char): new method to recieve input from the
10537         drop-down completion browser. If a key was pressed, then recieve this
10538         char and append it to the existing string.
10539         (peek_event): modify the positioning data passed to the completion
10540         browser so that it can be placed above the minibuffer rather than below.
10541 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10542
10543         * LyXAction.C (init): alloe error-next for readonly documents.
10544
10545         * BufferView2.C (ChangeRefsIfUnique): use standard version of
10546         count.
10547
10548 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10549
10550         * bufferlist.C (readFile): create the buffer _after_ checking that
10551         the file exists.
10552
10553         * lyxfunc.C (verboseDispatch): fix handling of arguments
10554
10555         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10556
10557         * lyxrc.C: use string::erase() instead of initializing to "".
10558
10559
10560 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10561
10562         * BufferView_pimpl.h:
10563         * BufferView_pimpl.C:
10564         * WorkArea.h:
10565         * WorkArea.C:
10566         * text2.C: tell X when we have made a selection for copying
10567
10568 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10569
10570         * BufferView_pimpl.C (MenuInsertLyXFile):
10571         * lyxfunc.C (menuNew):
10572         (open):
10573         (doImport): add shortcuts to directory buttons
10574
10575         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10576         open a float)
10577
10578         * lyxfunc.C (setStatusMessage):
10579         (getStatusMessage): new methods
10580         (getStatus):use setStatusMessage instead of setErrorMessage
10581         (dispatch): when function is disabled, set error message here
10582         [instead of in getStatus previously]
10583
10584         * BufferView_pimpl.C (workAreaButtonRelease): update
10585         toolbar/menubar here too.
10586
10587 2002-01-13  Allan Rae  <rae@lyx.org>
10588
10589         * BufferView2.C (removeAutoInsets): finished off earlier fix.
10590         Now seems indestructible.  Remaining task is to audit all other
10591         code affected by deleteEmptyParagraphMechanism.  One small quirk
10592         left is that an empty document with an error in the preamble can
10593         be made to report an error but no error box appears.  I don't know
10594         where it goes.
10595         (removeAutoInsets): Improved comments.
10596
10597 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
10598
10599         * Thesaurus.h:
10600         * Thesaurus.C: update for Aiksaurus 0.14
10601
10602 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10603
10604         * text2.C (firstParagraph): removed member function, all uses
10605         replaces with ownerParagraph
10606         (redoParagraphs): here
10607         (updateInset): here
10608         (toggleAppendix): here
10609         * BufferView2.C (insertErrors): here
10610         (setCursorFromRow): here
10611
10612 2002-01-13  Allan Rae  <rae@lyx.org>
10613
10614         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10615         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10616         There is still a way to segfault this although you may have to do this
10617         multiple times: Have an InsetERT with an unknown command in it.
10618         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10619         <down-arrow>, <Enter> again, View->DVI, BANG!
10620
10621         * text2.C (setCursor):
10622         (deleteEmptyParagraphMechanism):
10623         * lyxtext.h (setCursor):
10624         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10625         Making use of the return value may help fix other bugs.
10626
10627 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10628
10629         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10630
10631         * LyXView.C (updateMenubar): call MenuBar::update here
10632         (updateToolbar): but not here
10633         (showState): do not update toolbar/menubar
10634
10635         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10636         should need to care about that.
10637
10638         * lyxfunc.C (verboseDispatch): simplify a bit
10639         (getStatus): have a version which takes a pseudoaction, and
10640         another which requires a (kb_action,string).
10641
10642         * LyXAction.C (retrieveActionArg): make it work also when action
10643         is not a pseudo-action.
10644         (getActionName): simplify a bit
10645         (helpText):
10646
10647 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10648
10649         * lyxfunc.C (verboseDispatch): new families of methods with
10650         several ways to specify a command and a bool to indicate whether
10651         the command name and shortcut should be displayed in minibuffer
10652         (eventually, we could extend that to a finer bitmask like
10653         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10654         (dispatch): the pristine dispatch command which just, well,
10655         dispatchs! Note it still sets its result to minibuffer; I'm not
10656         sure we want that.
10657
10658         * lyxfunc.h: remove setHintMessage
10659
10660         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10661
10662 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10663
10664         * BufferView_pimpl.C (specialChar): delete new inset if we have
10665         not been able to insert it.
10666
10667         * kbmap.C: revert to using int instead of kb_action, since all we
10668         are dealing with is pseudo-actions.
10669
10670         * LyXAction.C (searchActionArg): change to return int instead of
10671         kb_action, since the result is a pseudoaction.
10672
10673 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
10674
10675         * buffer.C (insertErtContents): Fix (partially) the font bug.
10676
10677 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10678
10679         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10680         as the other one is broken on my machine!
10681
10682 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
10683
10684         * commandtags.h:
10685         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10686
10687 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
10688
10689         * lyxrc.[Ch]: change names and descriptions of popup font variables to
10690         reflect their actual use. Provide compatibility code for older lyxrc
10691         files.
10692
10693         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10694         FL_NORMAL_STYLE.
10695         change names of popup font variables in line with the changes to lyxrc.C
10696
10697 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10698
10699         * buffer.C (asciiParagraph): avoid outputing a word twice after
10700         an inset.
10701
10702         * lyxrc.C (getDescription): document that document_path and
10703         template_path can be empty.
10704
10705 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10706
10707         * LaTeXFeatures.C (getMacros):
10708         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10709
10710         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10711
10712         * LaTeXFeatures.C (useFloat): require "float" here instead of in
10713         getPackages.
10714         (getPackages): rename feature "floats" to "float". Use an array to
10715         iterate over 'simple' features (i.e. just a \usepackage). Add
10716         handling of "amsmath" (renamed from "amsstyle").
10717
10718 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
10719
10720         * LaTeXFeatures.C (require): Prevent duplicate entries in the
10721         features list.
10722
10723 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
10724
10725         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10726         FuncStaus::FuncStatus & FuncStaus::some_method().
10727
10728 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
10729
10730         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10731         of the func_satus stuff. Edited and massaged in various ways by
10732         JMarc.
10733
10734         * lyxfunc.C (getStatus): use FuncStatus
10735
10736 2002-01-08  Juergen Vigna  <jug@sad.it>
10737
10738         * text.C (nextBreakPoint): use function Inset::isChar().
10739
10740         * paragraph.C (TeXOnePar): use function
10741         Inset::forceDefaultParagraphs.
10742
10743         * buffer.C (latexParagraphs): use function
10744         Inset::forceDefaultParagraphs.
10745
10746 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10747
10748         * lyx_gui.C (init): set the style of the menu popups to
10749         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10750
10751 2002-01-07  Juergen Vigna  <jug@sad.it>
10752
10753         * text.C (setHeightOfRow): small fix
10754         (prepareToPrint): don't look at alignment if we don't have the place
10755         for doing it.
10756
10757 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10758
10759         * box.C: New file. Move the Box methods and functions out of box.h,
10760         following Lars' suggestion.
10761
10762 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10763
10764         * box.h: #include "support/LOstream.h", needed for inlined function.
10765
10766         * lyxtextclass.C:
10767         * lyxtextclasslist.C: added some using std declarations.
10768
10769 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
10770
10771         * box.h: make signed dimensions to allow insets wider than
10772           the screen (bug #162)
10773
10774         * BufferView_pimpl.C: add some insetHit debug
10775
10776 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
10777
10778         * vc-backend.C: add FIXME
10779
10780 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10781
10782         * lyxfunc.C (getStatus): enable code for showing math font status
10783         in toolbar/menu.
10784
10785 2002-01-07  Juergen Vigna  <jug@sad.it>
10786
10787         * text.C (nextBreakPoint): removed debug output not needed anymore.
10788
10789 2002-01-06  Juergen Vigna  <jug@sad.it>
10790
10791         * text.C (nextBreakPoint): fixed up this function we had this bug
10792         since ever but now hopefully we break row better.
10793         (insertChar): we have to check if an inset is the next char as it
10794         could now happen that a large inset is causing a break.
10795
10796 2002-01-05  Juergen Vigna  <jug@sad.it>
10797
10798         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10799         if it doesn't like to be drawed.
10800
10801 2002-01-04  Juergen Vigna  <jug@sad.it>
10802
10803         * BufferView2.C (lockInset): forgot to set a cursor.
10804
10805         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10806
10807 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
10808
10809         * FormMathsPanel.C:
10810         * FormMathsPanel.h
10811         * MathsSymbols.C:
10812         * form_maths_panel.C:
10813         * form_maths_panel.h:
10814         * form_maths_panel.fd: implemented sub- and super- buttons in math
10815         panel.
10816
10817         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10818         (or ^ space) to be used as in TeX (req'd by André).
10819
10820         * lyxfunc.C: Allow ^ and _ again to be used both as
10821         super/subscript (mathed) and as themselves (in text).
10822
10823 2002-01-03  Allan Rae  <rae@lyx.org>
10824
10825         * LyXView.C (updateWindowTitle): Setup a short icon title of either
10826         "LyX" or the filename of the current buffer if it has one.  This is a
10827         modified form of John Levon's patch.
10828
10829         * XFormsView.C (setWindowTitle): also set icon title.
10830
10831         * LyXView.h (setWindowTitle): signature changed.
10832         * XFormsView.h (setWindowTitle): ditto.
10833
10834 2002-01-02  Juergen Vigna  <jug@sad.it>
10835
10836         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10837
10838 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10839
10840         * screen.C (topCursorVisible): introduce a temp var for
10841         text->cursor.row(), handle the case where this row is null. (kindo
10842         hachish)
10843
10844         * text2.C (setCursor): add a couple of asserts.
10845
10846         * paragraph.h (inset_iterator): add -> operator
10847
10848         * paragraph.[Ch] (autoDeleteInsets): remove member function
10849
10850         * BufferView2.C (removeAutoInsets): rewrite to handle the old
10851         cursor pos correctly and handle inset deletion by itself.
10852         (insertErrors): move iterator declaration out of for expression
10853
10854         * lyxtextclass.C: add <algorithm>
10855
10856         * Makefile.am: added the new files to sources, removed layout.C
10857
10858         * layout.C: removed file
10859
10860         * layout.h: remove LYX_DUMMY_LAYOUT
10861
10862         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10863         layout.
10864
10865         * lyxlayout.[Ch]:
10866         * lyxtextclass.[Ch]:
10867         * lyxtextclasslist.[Ch]: new files
10868
10869         * include order changes to a lot of files, also changes because of
10870         the six new files.
10871
10872 2001-12-27  Juergen Vigna  <jug@sad.it>
10873
10874         * buffer.C (asciiParagraph): more fixes.
10875
10876         * tabular.C (ascii): make ascii export support export of only the
10877         data separated by a column-delimiter.
10878         (ascii): better support for ascii export.
10879
10880         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10881
10882 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10883
10884         * tabular_funcs.C: use a "using std::getline" instead of the
10885         previous fix from Angus (necessary for cxx + lyxstring)
10886
10887 2001-12-24  Juergen Vigna  <jug@sad.it>
10888
10889         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10890
10891         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10892         problems. First check a minipage also if we have some ert-contents
10893         (not only on par->size(), second set the right depth of the paragraph
10894         on the relink to the root-paragraph-list!
10895
10896         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10897         which then did not anymore update the main paragraphs on undo/redo!
10898
10899 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10900
10901         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10902         code. Support all font-changing funcs (even those which are not in
10903         menu currently). Support for reporting font settings in
10904         mathed (disabled until Andre provides a function on mathed's side).
10905
10906         * func_status.h (toggle): small helper function to set toggle
10907         state on a flag.
10908
10909 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10910
10911         * tabular_funcs.C: getline -> std::getline
10912
10913 2001-12-21  Juergen Vigna  <jug@sad.it>
10914
10915         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10916         accessed and could be 0 (I couldn't generate this but it seems
10917         Michael could!).
10918
10919 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10920
10921         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10922         * tabular_funcs.h: here and include iosfwd
10923
10924 2001-12-20  Juergen Vigna  <jug@sad.it>
10925
10926         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10927         inside inset but undo_par was.
10928
10929 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10930
10931         * Thesaurus.C: always include <config.h> in sources.
10932
10933         * Painter.h:
10934         * lyxlookup.h:
10935         * box.h: do not include <config.h> in header files
10936
10937         * text.C (paintLastRow): remove unused variable
10938
10939         * text.C (transformChar):
10940         (insertChar):
10941         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10942
10943         * Painter.C (text):
10944         * font.C (width): rewrite to use uppercase() instead of
10945         islower/toupper.
10946
10947         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10948
10949 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10950
10951         * lyxfind.C: clean up of find failure position change
10952
10953 2001-12-20  Juergen Vigna  <jug@sad.it>
10954
10955         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10956
10957         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10958         (TeXRow): added to LaTeX a single tabular row.
10959         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10960         (Latex): simplified and finally good LT-h/f support.
10961         (various_functions): just small adaptions for LT-h/f support.
10962
10963         * tabular_funcs.[hC]: added and moved here all not classfunctions
10964         of LyXTabular.
10965
10966 2001-12-19  Juergen Vigna  <jug@sad.it>
10967
10968         * tabular.[Ch]: better support for longtabular options (not finished
10969         yet!)
10970
10971 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10972
10973         * text.C (paintLastRow): use the label font instead of the font of
10974         the last character to compute the size of *_BOX. This makes more
10975         sense and avoids a crash with empty paragraphs.
10976         Use Painter::rectangle to draw EMPTY_BOX.
10977
10978 2001-12-19  Juergen Vigna  <jug@sad.it>
10979
10980         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10981         the paragraphs if the replaced paragraph is not the first one!
10982         Tried to delete not used paragraphs but does not work yet so for
10983         now it's inside #ifdef's and by default off!
10984
10985 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10986
10987         * MenuBackend.C: include "lyx_main.h" instead of declaring
10988         lastfiles (actually was declared as LastFiles* instead of a
10989         scoped_ptr).
10990
10991 2001-12-17  Juergen Vigna  <jug@sad.it>
10992
10993         * tabular.C (AppendColumn): applied John's fix
10994
10995 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10996
10997         * BufferView.h:
10998         * BufferView.C:
10999         * BufferView_pimpl.h:
11000         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11001
11002         * Makefile.am:
11003         * box.h: new start of class for above
11004
11005         * lyxfunc.C: ignore space-only minibuffer dispatches.
11006           Show the command name when it doesn't exist
11007
11008         * minibuffer.C: don't add empty lines to the history
11009
11010         * minibuffer.C: add a space on dropdown completion
11011
11012 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
11013
11014         * text.C: fix line above/below drawing in insets
11015
11016 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11017
11018         * lyxlength.C (LyXLength): Initialize private variables.
11019
11020 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
11021
11022         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11023         when inserting error insets.
11024
11025 2001-12-13  Juergen Vigna  <jug@sad.it>
11026
11027         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11028         actually sometimes the before-paragraph.
11029         (setUndo): don't clear the redostack if we're not actually undoing!
11030
11031 2001-12-06  Juergen Vigna  <jug@sad.it>
11032
11033         * undo_funcs.C (textHandleUndo): well after John's hint I got here
11034         and fixed redoing of main paragraph, so we can use it now ;)
11035
11036         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11037
11038 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11039
11040         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11041         Juergen's request
11042
11043 2001-12-13  André Pönitz <poenitz@gmx.net>
11044
11045         * undostack.[Ch]:
11046         * undo_func.C: minor cleanup
11047
11048 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11049
11050         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11051         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11052         font in urw-fonts package which is marked as -urw-fontspecific and
11053         does not work (incidentally, changing the encoding in the
11054         fonts.dir of this package to -adobe-fontspecific fixes the
11055         problem).
11056
11057         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11058         is a crash when undoing first paragraph (Juergen, please take a
11059         look). THis does not mean the undo fix is wrong, just that it
11060         uncovers problems.
11061
11062         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11063         the (Paragraph*) version when needed instead of duplicating the
11064         code.
11065
11066         * text.C (workWidth): use Inset::parOwner to find out where the
11067         inset has been inserted. This is a huge performance gain for large
11068         documents with lots of insets. If Inset::parOwner is not set, fall
11069         back on the brute force method
11070
11071         * paragraph_pimpl.C (insertInset):
11072         * paragraph.C (Paragraph):
11073         (cutIntoMinibuffer): set parOwner of insets when
11074         inserting/removing them
11075
11076         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11077
11078 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
11079
11080         * commandtags.h:
11081         * LyXAction.C:
11082         * lyx_main.C:
11083         * lyxfunc.C:
11084         * mathed/formulabase.C:
11085         * mathed/math_cursor.[Ch]:
11086         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11087
11088
11089 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11090
11091         * lyxlength.[Ch] (operator!=): new function
11092
11093 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11094
11095         * text.C (workWidth): use Inset::parOwner to find out where the
11096         inset has been inserted. This is a huge performance gain for large
11097         documents with lots of insets. If Inset::parOwner is not set, fall
11098         back on the brute force method
11099
11100         * paragraph_pimpl.C (insertInset):
11101         * paragraph.C (Paragraph):
11102         (cutIntoMinibuffer): set parOwner of insets when
11103         inserting/removing them
11104
11105         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11106
11107 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11108
11109         * tabular-old.C (getTokenValue):
11110         * tabular.C (getTokenValue):
11111         (write_attribute): new versions for LyXLength
11112         (everywhere): adjust the use of widths
11113
11114         * tabular.h: change the type of widths from string to LyXLength
11115
11116 2001-12-11  Ben Stanley <bds02@uow.edu.au>
11117
11118         * paragraph.C: fixed missing line number count when exporting
11119         Environments to LaTeX file
11120
11121         * buffer.C: added informational message for checking line numbers.
11122
11123 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11124
11125         * text2.C (deleteEmptyParagraphMechanism): if there is only one
11126         paragraph, do the 'double space' part, but not the 'empty
11127         paragraph' one.
11128
11129         * text.C (workWidth): small optimization
11130         (getLengthMarkerHeight): use minimal size for negative lengths.
11131
11132 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
11133
11134         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11135
11136         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11137
11138 2001-12-11  André Pönitz <poenitz@gmx.net>
11139
11140         * FontLoader.C:
11141         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11142
11143 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11144
11145         * text2.C: keep selection on a setFont()
11146
11147 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11148
11149         * lyx_cb.C: another bv->text misuse, from insert label
11150
11151 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11152
11153         * kbsequence.h:
11154         * kbsequence.C: re-instate nmodifier mask
11155
11156 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
11157
11158         * lyx_main.h: make lyxGUI private.
11159
11160 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11161
11162         * lyxfind.C: place the cursor correctly on failed search
11163
11164 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11165
11166         * text.C (getLengthMarkerHeight): for small heights, the arrows
11167         are not always on top/bottom of the text
11168         (drawLengthMarker): smaller arrows; take the left margin in
11169         account; draw also vfills.
11170         (paintFirstRow):
11171         (paintLastRow): remove special code for vfill and standard spaces,
11172         since everything is handled in drawLengthMarker now.
11173
11174 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11175
11176         * buffer.C (insertErtContents): try to handle font and language
11177         interaction a bit better.g
11178
11179         * ColorHandler.C (updateColor): change the hash to cover the whole
11180         LColor enum, ws cleanup
11181         (getGCLinepars): ditto
11182         (getGCLinepars): only lookup in the linecache once.
11183
11184 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
11185
11186         * iterators.C (operator++): Make the iterator more robust
11187
11188         * BufferView2.C (removeAutoInsets): Use paragraph iterators
11189         (John's patch)
11190         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11191
11192 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11193
11194         * lyxtext.h:
11195         * text.C: better added space drawing
11196
11197 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11198
11199         * LyXView.C:
11200         * BufferView2.C: fix layout combo update on inset unlock
11201
11202 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11203
11204         * Makefile.am: don't compile unused files
11205
11206 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11207
11208         * lyxfunc.C:
11209         * commandtags.h:
11210         * LyXAction.C: remove old LFUN_LAYOUTNO
11211
11212 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11213
11214         * paragraph_pimpl.h:
11215         * paragraph_pimpl.C: isTextAt() doesn't need font param
11216
11217 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11218
11219         * lyxlex.h:
11220         * lyxlex.C: little cleanup
11221
11222 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11223
11224         * BufferView_pimpl.C: fix insertAscii for insets
11225
11226 2001-12-05  Juergen Vigna  <jug@sad.it>
11227
11228         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11229         set the right font on the "multi" paragraph paste!
11230
11231 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11232
11233         * trans_decl.h:
11234         * trans_mgr.[Ch]:
11235         * trans.[Ch]:
11236         * lyxgluelength.C:
11237         * lyxlength.C: remove out-commented code.
11238
11239         * BufferView_pimpl:
11240         * CutAndPaste.C:
11241         * DepTable.C:
11242         * buffer.C:
11243         * chset.C:
11244         * lastfiles.C:
11245         * lyxlex.C:
11246         * lyxlex_pimpl.C:
11247         * lyxserver.C:
11248         * screen.C:
11249         * tabular-old.C:
11250         * tabular.C:
11251         * text.C:
11252         * trans_mgr.C:
11253         * vc-backend.C: change "while(" to "while ("
11254
11255         * lyxlength.[Ch]: add zero function to check if length is zero or
11256         not
11257         * lyxgluelength.C: use it
11258
11259 2001-12-05  Allan Rae  <rae@lyx.org>
11260
11261         * lyxlength.C: Attempted a fix for the abs(int) header selection.
11262         Works for 2.95.3, from what I understand of Garst's reports this should
11263         work for other g++ versions.  We're screwed if the abs(int) definition
11264         changed between bugfix releases of gcc.
11265
11266 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11267
11268         * text.C: fix chapter label offset !
11269
11270 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11271
11272         * lyxtext.h:
11273         * text.C: fix hfill at end of line, clean up
11274
11275 2001-12-04  Juergen Vigna  <jug@sad.it>
11276
11277         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11278         that we force an update of the inset and it's owners if neccessary.
11279
11280 2001-12-03  Juergen Vigna  <jug@sad.it>
11281
11282         * text.C (rowLast): simplified code
11283
11284 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11285
11286         * lyxfunc.C: fix show options on timeout
11287
11288 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11289
11290         * screen.C (topCursorVisible): scroll half a page when the cursor
11291         reached top of bottom of screen
11292
11293 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
11294
11295         * minibuffer.C: deactivate on loss of focus
11296
11297 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11298
11299         * vspace.[Ch] (operator!=): add operator.
11300
11301 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
11302
11303         * BufferView_pimpl.C: refuse to open an inset when
11304         there's a selection.
11305
11306 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
11307
11308         * BufferView_pimpl.C: allow to click on RHS of full row insets
11309
11310 2001-11-30  Juergen Vigna  <jug@sad.it>
11311
11312         * tabular.C (LyXTabular): add a same_id to set the same id's in the
11313         insets for undo reasons.
11314
11315 2001-11-28  André Pönitz <poenitz@gmx.net>
11316
11317         * vspace.[Ch]: cosmetical changes
11318
11319 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11320
11321         * LyXAction.h:
11322         * LyXAction.C:
11323         * lyxfunc.h:
11324         * lyxfunc.C:
11325         * kbmap.h:
11326         * kbmap.C:
11327         * lyxrc.C:
11328         * kbsequence.h:
11329         * kbsequence.C: part re-write of old kb code
11330
11331         * Painter.C:
11332         * WorkArea.C: remove Lgb_bug_find_hack
11333
11334 2001-11-30  José Matos <jamatos@fep.up.pt>
11335
11336         * buffer.C (makeDocBookFile): add a comment to point a hack.
11337         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11338         Fixed a double write of labels.
11339
11340 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11341
11342         * LaTeX.C:
11343         * LaTeX.h Fixed bug in LaTeX class where it would not
11344         re-run latex if no depfiles were changed, but the .dvi was removed.
11345
11346 2001-11-28  André Pönitz <poenitz@gmx.net>
11347
11348         * all the files from the change on 2001/11/26:
11349         use lyx::layout_type instead of LyXTextClass::size_type
11350         use lyx::textclass_type instead of LyXTextClassList::size_type
11351
11352 2001-11-29  Juergen Vigna  <jug@sad.it>
11353
11354         * text.C: added support for paragraph::isFreeSpacing()
11355
11356         * buffer.C: same as above
11357
11358         * paragraph.h: inserted isFreeSpacing() function to enable
11359         FreeSpacing inside InsetERT.
11360
11361         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11362         of the paragraph's in the cut/copy buffer to 0!
11363
11364         * text2.C (removeRow): remove the assert as it can!
11365
11366         * lyxtext.h: added helper function firstRow returning firstrow and
11367         made firstrow private again.
11368
11369         * BufferView2.C (lockInset): don't relock if we're already locked!
11370
11371         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11372         the only paragraph.
11373         (removeRow): added Assert::(firstrow)
11374
11375         * debug.C: forgot to add INSETTEXT here.
11376
11377 2001-11-28  Juergen Vigna  <jug@sad.it>
11378
11379         * sp_spell.C (initialize): changed error text to more general
11380         spellchecker command use (not only ispell!)
11381
11382         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11383
11384         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11385
11386 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11387
11388         * vspace.C: initialise lyxgluelength on failure
11389
11390 2001-11-28  Allan Rae  <rae@lyx.org>
11391
11392         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11393         declaration & definition that looks like a function declaration.
11394
11395 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11396
11397         * BufferView2.C (copy):
11398         (copyEnvironment): do not clear the selection when doing a copy.
11399
11400         * text.C (paintFirstRow): compilation fix
11401
11402 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
11403
11404         * tabular.C (Latex): correct line count when writing latex.
11405
11406 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
11407
11408         * paragraph_pimpl.h:
11409         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11410           bug a bit
11411
11412 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11413
11414         * text.C:
11415         * LColor.h:
11416         * LColor.C: change vfillline->added_space
11417
11418         * text.C: add markers and text for added space
11419
11420         * vspace.C: fix comment
11421
11422 2001-11-28  André Pönitz <poenitz@gmx.net>
11423
11424         * paragraph.C: whitespace changes
11425         * all the other files from the change on 2001/11/26:
11426         change *::pos_type into lyx::pos_type
11427
11428 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
11429
11430         * buffer.C (parseSingleLyXformat2Token): Set the language to the
11431         language of the document when inserting error insets.
11432
11433 2001-11-26  André Pönitz <poenitz@gmx.net>
11434
11435         * BufferView_pimpl.[Ch]:
11436         *       CutAndPaste.C:
11437         * buffer.[Ch]:
11438         * lyxcursor.[Ch]:
11439         * lyxfind.C:
11440         * lyxfunc.C:
11441         * lyxrow.[Ch]:
11442         * paragraph.[Ch]:
11443         * paragraph_pimpl.[Ch]:
11444         * sp_spell.C:
11445         * text.C:
11446         * text2.C: reduce header dependencies, introduce type for positions
11447
11448 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11449
11450         * <various>: change to use Alert.h
11451
11452 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
11453
11454         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11455         when encountering an unknown token.
11456         (readLyXformat2): Show an error message if there were unknown tokens.
11457
11458 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
11459
11460         * BufferView2.C:
11461         * BufferView_pimpl.C:
11462         * buffer.C:
11463         * paragraph.h:
11464         * text.C:
11465         * text2.C: use par->isInset()
11466
11467 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11468
11469         * paragraph_pimpl.h:
11470         * paragraph_pimpl.C: cleanup
11471
11472 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11473
11474         * text2.C (removeRow):
11475         * text.C (setHeightOfRow): remove useless (and costly) call to
11476         getRow.
11477
11478 2001-11-20  Allan Rae  <rae@lyx.org>
11479
11480         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11481         Now need Inset*::checkInsertChar() to return true for appropriate
11482         cases so that the characters in the minibuffer will actually be
11483         inserted.
11484
11485 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11486
11487         * text.C: change the order of the includes.
11488         (workWidth): initialize it at once.
11489         (workWidth): make maxw unsigned
11490         (setHeightOfRow): remove unused variable (inset)
11491         (selectSelectedWord): remove unused variable (inset)
11492         (paintRowText): fix drawing of hfill characters, and clean up a bit.
11493
11494 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11495
11496         * lyxserver.C (emergencyCleanup): do not try to close pipes if
11497         server is not running.
11498         (openConnection):
11499         (closeConnection): add debug info when server is disabled.
11500
11501         * ColorHandler.C (getGCForeground): send debug message to GUI
11502         channel.
11503
11504         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11505
11506         * kbmap.C (bind): modify because return conventions of
11507         kb_sequence::parse have changed.
11508
11509         * kbsequence.C (parse): only ignore spaces and not any stupid
11510         control character. This avoids tests like s[i] <= ' ', which are
11511         guaranteed to fail with 8bit characters and signed chars.
11512         Change return code to string::npos when there have been no error
11513         (0 was a bad idea when error is at first character)
11514
11515 2001-11-14  José Matos  <jamatos@fep.up.pt>
11516
11517         * buffer.h:
11518         * buffer.C (simpleDocBookOnePar): removed unused argument.
11519
11520 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11521
11522         * text.C (selectNextWordToSpellcheck): do not test explicitely for
11523         insets which are part of a word. Paragraph::isLetter takes care of
11524         that now. Use Paragraph::isInset to identify insets.
11525         (selectSelectedWord): do not test for hyphenation break.
11526
11527         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11528         that protected spaces are considered as spaces.
11529
11530         * paragraph.C (isLetter): cleanup the code for ispell extras; use
11531         Inset::isLetter.
11532
11533 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
11534
11535         * lyxserver.h:
11536         * lyxserver.C: fix it. and small cleanup.
11537
11538 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11539
11540         * BufferView_pimpl.C: use inline helpers
11541
11542         * LaTeXFeatures.h:
11543         * LaTeXFeatures.C: fix typos
11544
11545         * Spacing.h:
11546         * Spacing.C: move spacing_string into class
11547
11548         * ToolbarDefaults.C: move stuff into namespace anon
11549
11550         * layout.h: update enum
11551
11552         * lyxfunc.C: use better debug
11553
11554         * minibuffer.h: fix typo
11555
11556         * debug.h:
11557         * debug.C:
11558         * WorkArea.C: add and use Debug::WORKAREA
11559
11560         * lyxtext.h:
11561         * text.C:
11562         * text2.C: code re-organisation, inline helpers
11563
11564 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
11565
11566         * Layout.C: replaced a few cases of std::vector.size() == 0 with
11567         std::vector.empty().
11568
11569 2001-11-09  Allan Rae  <rae@lyx.org>
11570
11571         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11572         '\n's after tables.  Tabular and ERT inset work now makes this no
11573         longer necessary.
11574
11575 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11576
11577         * minibuffer.h:
11578         * minibuffer.C: fix crash, improve drop-down completion
11579
11580 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
11581
11582         * lyxserver.h:
11583         * lyxserver.C: invalidate fd's when doing endPipe()
11584
11585 2001-11-08  José Matos  <jamatos@fep.up.pt>
11586
11587         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11588         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11589
11590         * paragraph.h:
11591         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11592
11593 2001-11-07  José Matos  <jamatos@fep.up.pt>
11594
11595         * buffer.h:
11596         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11597         const qualifier.
11598
11599         * buffer.C (sgmlOpenTag):
11600         * buffer.C (sgmlCloseTag): removed debug info.
11601
11602         * buffer.h (sgmlOpenTag):
11603         * buffer.h (sgmlCloseTag): made public.
11604
11605 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11606
11607         * buffer.C (saveParamsAsDefaults):
11608         * lyx_cb.C (MenuLayoutSave): remove
11609
11610         * LyXAction.C (init):
11611         * commandtags.h:
11612         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11613
11614 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11615
11616         * buffer.C (setPaperStuff): removed from here...
11617
11618         * bufferparams.C (setPaperStuff): ... and moved there.
11619
11620 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
11621
11622         * minibuffer.h:
11623         * minibuffer.C:
11624         * XFormsView.C: add support for drop-down completion
11625
11626 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
11627
11628         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11629         commands.
11630
11631 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11632
11633         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11634         disabled.
11635
11636 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
11637
11638         * lyx_main.C: change ref to known bugs
11639
11640 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
11641
11642         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11643         to work around older babel problems.
11644
11645 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11646
11647         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11648
11649 2001-10-24  Juergen Vigna  <jug@sad.it>
11650
11651         * tabular-old.C (ReadOld): below variable changes reflected.
11652
11653         * tabular.[Ch]: added ltType struct for longtable header/footer
11654         defines and changed all instances where they are used. Added
11655         future support for double top/bottom rows.
11656
11657 2001-10-24  José Matos  <jamatos@fep.up.pt>
11658
11659         * buffer.h (docbookHandleCaption):
11660         * buffer.C (docbookHandleCaption): removed unused function.
11661         (makeDocBookFile): moved docbook supported version to v4.1.
11662
11663 2001-10-24  José Matos  <jamatos@fep.up.pt>
11664
11665         * tabular.h:
11666         * tabular.C (docbookRow): new function to export docbook code of a row.
11667         (DocBook): now honors the longtable flags.
11668
11669 2001-10-23  José Matos  <jamatos@fep.up.pt>
11670
11671         * LaTeXFeatures.h:
11672         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11673         of the lyx defined sgml entities used in a docbook/linuxdoc document.
11674
11675         * buffer.C (makeLinuxDocFile):
11676         (makeDocBookFile): reworked the preamble, more clean, and with
11677         support for lyx defined entities. Changed the document declaration
11678         to be more XML friendly.
11679
11680         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11681         if we need to output XML that should be done with a filter.
11682
11683 2001-10-22  Juergen Vigna  <jug@sad.it>
11684
11685         * sp_pspell.h (class PSpell): add alive function needed in the
11686         controller to see if the spellchecker could be started.
11687
11688 2001-10-22  Juergen Vigna  <jug@sad.it>
11689
11690         * buffer.C (insertStringAsLines): modify the font for inserting
11691         chars in certain conditions by calling checkInsertChar(font).
11692
11693 2001-10-19  Juergen Vigna  <jug@sad.it>
11694
11695         * text.C (workWidth): use getRow instead of wrong algorithm.
11696         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11697
11698 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
11699
11700         * lyxserver.h:
11701         * lyxserver.C:
11702         * lyx_main.h:
11703         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11704
11705 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11706
11707         * text.C (workWidth): do not search for the exact row when
11708         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11709         optimization for big documents.
11710
11711 2001-10-18  Juergen Vigna  <jug@sad.it>
11712
11713         * text.C (workWidth): new function with added Inset * parameter.
11714
11715 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11716
11717         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11718
11719         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11720         change return type of getColumnNearX.
11721
11722
11723         * text.C (changeRegionCase): use uppercase/lowercase instead of
11724         toupper/tolower.
11725         (leftMargin):
11726         (rightMargin): simplify code by factoring out the uses of
11727         textclasslist.
11728         (labelFill):
11729         (numberOfHfills):
11730         (setHeightOfRow):
11731         (appendParagraph): use Paragraph::size_type
11732
11733 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11734
11735         * vspace.C (asLatexString): add a missing break
11736
11737 2001-10-15  Herbert Voss  <voss@perce.de>
11738
11739         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11740
11741 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11742
11743         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11744         is not available.
11745
11746 2001-10-10  André Pönitz <poenitz@gmx.net>
11747
11748         * lyxfunc.C: removed greek_kb_flag.
11749
11750 2001-10-10  Herbert Voss  <voss@perce.de>
11751
11752         * lyx_main.C: delete global string help_lyxdir.
11753
11754 2001-10-09  Herbert Voss  <voss@perce.de>
11755
11756         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11757
11758         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11759
11760         * lyx_main.C: added global string help_lyxdir.
11761
11762         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11763
11764 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11765
11766         * lyxrc.C (set_font_norm_type): support iso8859-4
11767
11768 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
11769
11770         * LaTeX.C (deplog): add another regex for MikTeX
11771
11772 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11773
11774         * lyxrc.C (set_font_norm_type): support iso8859-3
11775
11776 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11777
11778         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11779
11780         * LaTeXFeatures.C: remove special case of french and index
11781
11782         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11783         before \begin{document}). This solves several incompatibilities.
11784
11785 2001-10-03  Garst Reese  <reese@isn.net>
11786
11787         * lyx_cb.C: change CheckTex error msg.
11788
11789 2001-10-03  José Matos  <jamatos@fep.up.pt>
11790
11791         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11792
11793 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11794
11795         * .cvsignore: update
11796
11797         * lyx_main.C (commandLineVersionInfo): use new style version info.
11798
11799         * buffer.C (writeFile):
11800         (makeLaTeXFile):
11801         (makeLinuxDocFile):
11802         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11803
11804         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11805
11806         * version.h: update to use stuff in version.C
11807
11808         * version.C.in: new file. Contains version information determined
11809         at compile time. This is a merging of version.h and
11810         version_info.h.in.
11811
11812 2001-10-03  Juergen Vigna  <jug@sad.it>
11813
11814         * BufferView_pimpl.C (update): don't change "dirty" status in
11815         updateInset call.
11816
11817 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
11818
11819         * WorkArea.C (c-tor): re-position version string slightly.
11820
11821 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
11822
11823         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11824         revert to previous code.
11825
11826         WorkArea.[Ch]: (show, destroySplash): methods removed.
11827
11828         WorkArea.C: rework code so that it's an amalgam of the codes before and
11829         after the splash screen was moved to WorkArea.
11830
11831 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11832
11833         * lyxrc.C (read):
11834         * vspace.C (inPixels):
11835         (lyx_advance):
11836         * kbmap.C (bind):
11837         * buffer.C (insertStringAsLines):
11838         (asciiParagraph): fix types to be large enough
11839
11840         * lyxlex_pimpl.h: change member status from short to int
11841
11842         * layout.h: fix type of endlabeltype
11843
11844         * kbmap.C (bind):
11845         * kbsequence.C (parse): change return type to string::size_type
11846
11847         * LaTeX.C (updateBibtexDependencies): comment out unneeded
11848         variable
11849
11850         * Bullet.C (bulletSize):
11851         (bulletEntry): do not use short ints as parameters
11852
11853         * BufferView2.C (insertLyXFile): change a char to an int.
11854
11855         * WorkArea.C (WorkArea): remove unneeded floats in computation
11856
11857 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11858
11859         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11860
11861         * paragraph.C (asString): Do not ignore newline/hfill chars when
11862         copying to the clipboard.
11863
11864 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
11865
11866         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11867         after a multi-line inset.
11868
11869 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
11870
11871         * paragraph.C (validate): Set NeedLyXFootnoteCode
11872
11873 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11874
11875         * lyxfont.C (LyXSizeNames): changed increase-error to increase
11876         and decrease-error to decrease.
11877
11878 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11879
11880         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11881         it more readable (should be equivalent)
11882
11883 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11884
11885         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11886
11887 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11888
11889         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11890         of a cursor (row, etc.) after a character has been deleted
11891         (deleteEmptyParagraphMechanism): call the method above on _all_
11892         cursors held by the LyXText when a double space has been
11893         detected/deleted.
11894
11895 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11896
11897         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11898         pixmap.
11899         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11900
11901         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11902         background. Use greyOut() and the new show() methods to toggle between
11903         the foreground and background. Add code to remove the splash after
11904         its initial showing.
11905
11906         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11907         (create_forms): no longer call Dialogs::showSplash.
11908
11909 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11910
11911         * .cvsignore: add version_info.h
11912
11913 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11914
11915         * version_info.h.in: new file
11916
11917         * Makefile.am: add version_info.h.in
11918
11919         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11920         version_info.h instead of VERSION_INFO
11921
11922 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11923
11924         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11925         The ERT inset now returns string().
11926
11927 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11928
11929         * lyxtext.h, text.C (selectNextWord): renamed as
11930         selectNextWordToSpellcheck.
11931
11932         * text.C (selectNextWordToSpellcheck): Modified to not select
11933         words inside an ERT inset.
11934
11935 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11936
11937         * lyx_cb.C (MenuLayoutSave): change a bit the question
11938
11939         * sp_base.h: include <sys/types.h>
11940
11941 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11942
11943         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11944
11945 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11946
11947         * several files: fix typos in user-visible strings
11948
11949 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11950
11951         * text2.C (pasteSelection): do not set the selection, since it
11952         will be cleared later. Actually, the intent was to fix the way the
11953         selection was set, but I figured rmoving the code was just as good.
11954
11955 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11956
11957         * FontLoader.C (available): Check if font is available without
11958         loading the font.
11959
11960 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11961
11962         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11963
11964 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11965
11966         * lyxrc.[Ch]: added display_graphics variable and associated code.
11967
11968 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11969
11970         * bufferparams.C (hasClassDefaults): new method. Returns true if
11971         the buffer parameters correspond to known class defaults
11972
11973 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11974
11975         * XFormsView.C (show): set minimum size to the main window.
11976
11977 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11978
11979         * text2.C (copySelection):
11980         (cutSelection):
11981         * lyxfind.C (LyXReplace):
11982         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11983         LyXText::selectionAsString.
11984
11985         * paragraph.C (asString): add "label" argument to the second form
11986
11987         * text2.C (selectionAsString): add "label" argument and pass it to
11988         Paragraph::asString.
11989
11990 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11991
11992         * lyx_main.C (commandLineHelp): remove version information
11993
11994 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11995
11996         * lyx_main.C: add -version commandline option
11997
11998 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11999
12000         * paragraph.h: make the optional constructor arg required instead.
12001         some modifications to other files because of this.
12002
12003         * minibuffer.C (C_MiniBuffer_peek_event): make it static
12004
12005         * lyxserver.C (C_LyXComm_callback): make it static
12006
12007         * lyx_main.C (error_handler): make it static
12008
12009         * lyx_gui.C (LyX_XErrHandler): make it static
12010
12011         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12012
12013         * WorkArea.C: make the extern "C" methods static.
12014
12015         * Makefile.am (lyx_LDADD): simplify
12016
12017 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12018
12019         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12020         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12021
12022         * LyXAction.C (init):
12023         * lyxfunc.C (dispatch): associated code removal.
12024
12025 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12026
12027         * lyxfont.h (isSymbolFont): shut off warning
12028
12029         * text.C (setHeightOfRow):
12030         (getVisibleRow): fix crash with empty paragraphs which have a
12031         bottom line
12032
12033 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
12034
12035         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12036         code.
12037
12038 2001-09-04  José Matos  <jamatos@fep.up.pt>
12039         * buffer.C
12040         * buffer.h
12041         * tabular.C (docbook): rename docBook method to docbook.
12042
12043 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12044
12045         * Makefile.am: add dependencies to main.o.
12046
12047 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
12048
12049         * FontLoader.C (available): Return false if !lyxrc.use_gui
12050
12051 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
12052
12053         * FontInfo.C (query):
12054         * converter.C (view):
12055         * importer.C (Import):
12056         * exporter.C (Export): Can not -> cannot.
12057
12058 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
12059
12060         * BufferView_pimpl.C: allow to create index inset even if
12061           string is empty
12062
12063 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12064
12065         * buffer.C (getLists): replace boost::tie code with an explicit pair
12066         as boost::tie can break some compilers.
12067
12068         * iterators.h: Added a std:: declaration to the return type of
12069         ParIterator::size.
12070
12071 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
12072
12073         * lyxrc.C: add help for view_dvi_paper_option, default to safe
12074           case.
12075
12076 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
12077
12078         * iterators.[Ch]: New files. Provide paragraph iterators.
12079
12080         * buffer.C (changeLanguage): Use paragraph iterators.
12081         (isMultiLingual): ditto
12082
12083         * BufferView2.C (ChangeInsets): Use paragraph iterators.
12084
12085 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
12086
12087         * FontLoader.C: Support for cmr font.
12088
12089 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
12090
12091         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12092         (available): New method.
12093
12094         * FontInfo.C (getFontname): Use scalable fonts even when
12095         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12096         found.
12097
12098 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12099
12100         * converter.C (Formats::view): reverted! Incorrect fix.
12101
12102 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12103
12104         * converter.C (Formats::view): only output the -paper option
12105         if the dvi viewer is xdvi, thereby fixing bug #233429.
12106
12107 2001-08-23  Herbert Voss  <voss@perce>
12108
12109         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12110
12111 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
12112
12113         * Spacing.h (Spacing): Set space to Default on in the default
12114         constructor.
12115
12116 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12117
12118         * vc-backend.h (RCS::versionString): add RCS to version
12119         (CVS::versionString): add CVS to version
12120
12121         * vc-backend.C (scanMaster): do not add CVS to version.
12122         (scanMaster): do not add RCS to version
12123
12124         * lyxvc.C (versionString): new method
12125
12126         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12127
12128 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12129
12130         * Spacing.C (set): initialize fval
12131
12132 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
12133
12134         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12135         " or \.
12136
12137 2001-08-16  Juergen Vigna  <jug@sad.it>
12138
12139         * lyxfunc.C (dispatch): implemented the new FINISHED states.
12140
12141 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12142
12143         * BufferView_pimpl.C:
12144         * figureForm.C:
12145         * lyxtext.h:
12146         * text2.C: setParagraph takes linespacing now
12147
12148 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
12149
12150         * LyxAction.C: add internal LFUN_CITATION_INSERT
12151
12152         * LyXView.C: actually apply fix
12153
12154         * bufferlist.C: fix open non-existent file
12155
12156         * lyxfind.C: fix indentation
12157
12158         * lyxfunc.C: remove unneeded assert, fix typo
12159
12160 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12161
12162         * MenuBackend.C: use "Floatname List"
12163
12164 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
12165
12166         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12167         when converting LaTeX layout to insetERT.
12168         Generate a non-collapsed float when reading old float
12169
12170 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12171
12172         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12173         ERT insets.
12174
12175 2001-08-13  Juergen Vigna  <jug@sad.it>
12176
12177         * text.C (fill): return 0 instead of 20 as this seems to be the more
12178         correct value.
12179
12180 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12181
12182         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12183         lyxrc.font_norm.
12184
12185 2001-08-13  Juergen Vigna  <jug@sad.it>
12186
12187         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12188         casesensitive off.
12189         (SearchBackward): comment out the unlocking of the inset_owner this
12190         should not be needed!
12191
12192 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
12193
12194         * Many files: Remove inherit_language, and add latex_language
12195
12196         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12197         collapsible insets.
12198
12199 2001-08-10  Juergen Vigna  <jug@sad.it>
12200
12201         * text.C (prepareToPrint): fixed hfill-width in draw!
12202
12203         * BufferView2.C (selectLastWord): save the selection cursor as this
12204         now is cleared in the function LyXText::clearSelection!
12205
12206 2001-08-08  Juergen Vigna  <jug@sad.it>
12207
12208         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12209         BACKSPACE type functions.
12210
12211         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12212         is only cutted from the document but not put in the cut-buffer, where
12213         still the old stuff should be.
12214
12215         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12216
12217         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12218
12219         * tabular.C (SetWidthOfCell): fixed special case where the width
12220         was not updated!
12221         (LeftLine): handle '|' in align_special.
12222         (RightLine): ditto
12223         (LeftAlreadyDrawed): ditto
12224         (SetWidthOfCell): ditto
12225
12226 2001-08-07  Juergen Vigna  <jug@sad.it>
12227
12228         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12229
12230 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12231
12232         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12233         * lyxlex.[hC]: ditto
12234
12235 2001-08-06  Juergen Vigna  <jug@sad.it>
12236
12237         * text.C (getVisibleRow): fix up row clearing a bit.
12238
12239 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12240
12241         * minibuffer.C: make sure the X server sees the changes in the input.
12242
12243 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12244
12245         * paragraph.C (getFont): split into...
12246         (getLabelFont): this
12247         (getLayoutFont): and this
12248         * paragraph_pimpl.C (realizeFont): calling this
12249
12250         * text2.C (getFont): split into...
12251         (getLayoutFont): this
12252         (getLabelFont): and this
12253         (realizeFont): all three calling this
12254
12255         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12256         files where used.
12257
12258 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12259
12260         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12261
12262 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
12263
12264         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12265         layouts from the Quote inset insertion.
12266
12267 2001-08-03  Juergen Vigna  <jug@sad.it>
12268
12269         * BufferView_pimpl.C (update): do the fitCursor only at the end!
12270
12271         * screen.C (drawFromTo): don't call fitcursor here and do the loop
12272         only if status not is already CHANGED_IN_DRAW (second level).
12273
12274         * text.C (draw): don't set the need_break_row when inside an
12275         InsetText LyXText.
12276
12277 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12278
12279         * buffer.C (parseSingleLyXformat2Token): handle more latex
12280         conversion cases.
12281
12282         * bufferview_funcs.[hC]: change function names to
12283         begin with small char, adjust other files.
12284
12285 2001-08-02  André Pönitz <poenitz@gmx.net>
12286
12287         * lyxfunc.C:
12288         BufferView_pimpl.C: remove broken special code for math-greek
12289
12290 2001-08-02  Juergen Vigna  <jug@sad.it>
12291
12292         * BufferView_pimpl.C (update): redone this function so that we
12293         update the text again if there was a CHANGE_IN_DRAW.
12294
12295         * screen.C (cursorToggle): removed LyXText parameter and recoded.
12296         (drawFromTo): added a new internal bool which is used by draw() and
12297         redraw() function.
12298         (general): some cursor drawing problems fixed.
12299
12300 2001-08-01  Juergen Vigna  <jug@sad.it>
12301
12302         * lyxfind.C (LyXFind): fixed
12303         (SearchForward): ditto
12304         (SearchBackward): ditto
12305
12306         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12307         spurius drawing of the cursor in the main area.
12308
12309         * text2.C (status): small fix which could lead to a segfault!
12310         (clearSelection): remove unneeded BufferView param.
12311
12312 2001-08-01  André Pönitz <poenitz@gmx.net>
12313
12314         * lyxfunc.C: small change due to changed mathed interface
12315
12316 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12317
12318         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12319
12320 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
12321
12322         * lyxfunc.c: fail gracefully if file doesn't exist
12323
12324         * LyXSendto.C:
12325         * buffer.C:
12326         * lyxfunc.C:
12327         * BufferView_pimpl.C: IsDirWriteable() proto changed
12328
12329         * LyXView.C: fix updateWindowTitle() to store the last title
12330
12331 2001-07-31  Juergen Vigna  <jug@sad.it>
12332
12333         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12334         the font (wrong since using of Paragraph::highestFontInRange).
12335
12336         * paragraph.C (highestFontInRange): added a default_size parameter.
12337
12338         * text.C (getVisibleRow): minor clear row changes (still not perfect).
12339         (setHeightOfRow): reformat
12340
12341 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12342
12343         * converter.[hC] + affected files: move to (inital-char)lowercase
12344         function names.
12345
12346         * ParagraphParameters.C (ParagraphParameters): remove commented code
12347
12348         * PainterBase.[Ch]: remove commented code
12349
12350         * LaTeXFeatures.h: add "bool floats" for float.sty
12351
12352         * LaTeXFeatures.C (LaTeXFeatures): init floats
12353         (require): handle float
12354         (getPackages): do it with floats
12355
12356 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12357
12358         * BufferView_pimpl.C (Dispatch): improve handling of
12359         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12360
12361         * commandtags.h: #include lyxfont.h here temporarily to avoid
12362         keybinding bug.
12363
12364         * bufferlist.h: include LString.h here.
12365
12366 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12367
12368         * text2.C (getStringToIndex): new method.
12369
12370 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
12371
12372         * *: Reduced header file dependencies all over.
12373
12374 2001-07-30  Baruch Even  <baruch@lyx.org>
12375
12376         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12377
12378 2001-07-29  Baruch Even  <baruch@lyx.org>
12379
12380         * buffer.C (readInset): Changed GRAPHICS to Graphics.
12381
12382 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12383
12384         * ParameterStruct.h (endif): add a default constructor to make
12385         sure that all variables is initialized.
12386
12387         * ParagraphParameters.C (ParagraphParameters): adjust
12388
12389 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12390
12391         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12392         index; also, check that there is something to index, and that it
12393         does not span over several paragraphs.
12394         (doubleClick): use WHOLE_WORD_STRICT for double click.
12395
12396         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12397
12398         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12399         scheme.
12400
12401 2001-07-26  Baruch Even  <baruch@lyx.org>
12402
12403         * buffer.C (readInset): Changed to call up InsetGraphics when reading
12404         an InsetFig figure, backwards compatible reading of old figure code.
12405
12406 2001-07-27  Juergen Vigna  <jug@sad.it>
12407
12408         * text2.C: font.realize function adaption.
12409
12410         * text.C (draw): add a warnings lyxerr text if needed.
12411
12412         * layout.C: font.realize function adaption.
12413
12414         * language.C: add inherit_language and implement it's handlings
12415
12416         * bufferview_funcs.C (StyleReset): remove language parameter from
12417         font creation (should be language_inherit now).
12418
12419         * bufferparams.C (writeFile): handle ignore_language.
12420
12421         * paragraph.C (getFontSettings): the language has to be resolved
12422         otherwise we have problems in LyXFont!
12423
12424         * lyxfont.C (lyxWriteChanges): added document_language parameter
12425         (update): removed unneeded language parameter
12426
12427         * paragraph.C (validate): fixed wrong output of color-package when
12428         using interface colors for certain fonts in certain environments,
12429         which should not seen as that on the final output.
12430
12431 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
12432
12433         * BufferView_pimpl.C:
12434         * Thesaurus.h:
12435         * Thesaurus.C:
12436         * Makefile.am:
12437         * commandtags.h:
12438         * LyXAction.C: add thesaurus support
12439
12440         * lyxfind.h:
12441         * lyxfind.C: add "once" parameter, for thesaurus, to not
12442           move to the next match
12443
12444 2001-07-26  Juergen Vigna  <jug@sad.it>
12445
12446         * lyxfont.C (realize): honor ignore_language too!
12447         (resolved): ditto.
12448
12449         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12450
12451         * text.C (draw): one place more for ignore_language to not draw
12452         itself!
12453
12454 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
12455
12456         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12457
12458 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12459
12460         * buffer.C (parseSingleLyXformat2Token): a more general fix for
12461         the minipage conversion problem.
12462
12463 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12464
12465         * buffer.C (parseSingleLyXformat2Token): check minipage if we
12466         insert an inset.
12467
12468 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12469
12470         * BufferView.h: don't forward declare WorkArea
12471
12472         * BufferView.C: don't include WorkArea.h
12473
12474 2001-07-25  André Pönitz <poenitz@gmx.net>
12475
12476         * commandtags.h:
12477         * LyXAction.C:
12478         * lyxfunc.C:  new LFUN 'math-space'
12479
12480         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12481
12482 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12483
12484         * text2.C (toggleInset): call open/close
12485
12486 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12487
12488         * lyxfunc.C (dispatch): add debug for the disabled case
12489
12490         * font.C (buttonText): make similar to rectText
12491
12492         * buffer.C (readInset): comment out parsing of insetlist and
12493         insttheorem
12494
12495         * PainterBase.C (rectText): small correction
12496
12497         * BufferView_pimpl.C: comment out insettheorem and insetlist
12498         * LyXAction.C: ditto
12499         * commandtags.h: ditto
12500
12501 2001-07-24  Juergen Vigna  <jug@sad.it>
12502
12503         * text.C (draw): honor the ignore_language.
12504
12505         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12506
12507 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12508
12509         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12510         char inset.
12511
12512 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12513
12514         * lyxtext.h: remove unused (and unimplemented) methods
12515
12516 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12517
12518         * text.C (getVisibleRow): honor background color
12519
12520         * PainterBase.h:
12521         * Painter.h: remove default color argument for fillRectangle
12522
12523         * text.C (backgroundColor): new method
12524
12525 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12526
12527         * text.C (getVisibleRow): adjust
12528
12529         * font.[Ch] (rectText): new method, metrics
12530         (buttonText): new method, metrics
12531
12532         * PainterBase.[hC]: make rectText and buttonText always draw and take
12533         fewer paramteres.
12534
12535 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12536
12537         * ToolbarDefaults.C (read):
12538         * MenuBackend.C (read): allow escaping in all strings
12539
12540         * BufferView_pimpl.C (insertAndEditInset): new method.
12541         (Dispatch): use insertAndEditInset whenever appropriate.
12542
12543         * BufferView_pimpl.C (insertNote): removed
12544
12545         * BufferView_pimpl.C (smartQuote): new method, moved from
12546         BufferView; if an insetquote cannot be inserted, insert a '"'
12547         character instead.
12548
12549         * BufferView2.C: remove insertCorrectQuote();
12550
12551         * lyxfunc.C (getStatus): Add support for all remaingin
12552         inset-insert lfuns.
12553
12554         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12555
12556         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12557         command (necessary to pass " as parameter of self-insert.
12558
12559         * text.C (selectWordWhenUnderCursor):
12560         (selectWord): add word_location parameter
12561         (selectWordWhenUnderCursor): same + remove special code for word
12562         boundary.
12563         (selectNextWord): use kind() to guess type of insetspecialchar,
12564         not latex().
12565
12566         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12567         (insertErtContents): create ert insets as collapsed.
12568         (readInset): better compatibility code for Info inset.
12569
12570 2001-07-20  Juergen Vigna  <jug@sad.it>
12571
12572         * lyxfunc.C (dispatch): use always LyXFind now!
12573
12574         * text2.C (init): add a reinit flag so that the LyXText can be
12575         reinited instead of deleted and reallocated (used in InsetText).
12576
12577         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12578
12579         * text.C: ditto
12580
12581         * text2.C: ditto
12582
12583 2001-07-18  Juergen Vigna  <jug@sad.it>
12584
12585         * text.C (selectNextWord): handle insets inside inset by calling
12586         always the bv->text functions so that we can go up the_locking_inset!
12587
12588         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12589         in strange locations when inside an inset!
12590
12591         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12592         handling to include insets.
12593
12594         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12595
12596 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12597
12598         * LyXAction.C (init):
12599         * commandtags.h:
12600         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12601         LIGATURE_BREAK, since the name is so stupid.
12602
12603 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12604
12605         * buffer.C (readInset): enable reading of new InsetNotes as well as old
12606         InsetInfos.
12607
12608         * FontLoader.C: remove FORMS_H_LOCATION cruft.
12609
12610         * sp_form.[Ch]: remove.
12611
12612         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12613
12614         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12615         InsetInfo.
12616
12617         * src/buffer.C (readInset): ditto.
12618
12619 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12620
12621         * BufferView_pimpl.C (specialChar): new method. Obsoletes
12622         menuSeparator(), endOfSentenceDot(), ldots() and
12623         hyphenationPoint(), which are therefore removed.
12624         (Dispatch): handle LFUN_HYPHENATION_BREAK.
12625
12626         * LyXAction.C (init):
12627         * commandtags.h: add LFUN_HYPHENATION_BREAK.
12628
12629         * paragraph.C (getWord): removed.
12630
12631         * BufferView_pimpl.C (Dispatch): use last word or selection for
12632         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12633
12634         * lyx_main.C (queryUserLyXDir): do not ask before creating
12635         user_dir, except if it has been named explicitely.
12636
12637 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12638
12639         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12640         a document of zero size.
12641
12642 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
12643
12644         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12645         approriately in the c-tor and in require().
12646         (getPackages): output the appropriate LaTeX for natbib support.
12647
12648         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12649         variables "use_natbib" and "use_numerical_citations" when reading the
12650         LyX file.
12651         (readInset): read the various natbib cite commands.
12652         (validate): white-space change.
12653
12654         * bufferparams.[Ch]: new variables "bool use_natbib" and
12655         "bool use_numerical_citations".
12656         (writeFile): output them in the LyX file.
12657
12658 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12659
12660         * lyxfunc.C (getStatus): add support for all the inset insertion
12661         commands.
12662
12663         * text2.C (insertInset):
12664         * paragraph.C (insetAllowed):
12665         * BufferView_pimpl.C (insertInset): update to take in account the
12666         renaming of insertInsetAllowed
12667
12668         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12669
12670         * text2.C (getInset): new method. returns inset at cursor position.
12671
12672         * BufferView_pimpl.C (Dispatch): changes because of this.
12673
12674         * LyXAction.C (init): rename open-stuff to inset-toggle.
12675
12676         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12677
12678         * text2.C (toggleInset): renamed from openStuff; use
12679         Inset::open().
12680
12681 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
12682
12683         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12684
12685         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12686
12687 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
12688
12689         * buffer.C (readLyXformat2): Add filename to the error dialog
12690
12691 2001-07-18  Juergen Vigna  <jug@sad.it>
12692
12693         * tabular.C (GetCellNumber): put an assert here instead of the check!
12694
12695 2001-07-17  Juergen Vigna  <jug@sad.it>
12696
12697         * BufferView_pimpl.C (toggleSelection): adapted too.
12698
12699         * text.C (selectNextWord): adapted for use with insets.
12700         (selectSelectedWord): ditto
12701
12702 2001-07-17  Juergen Vigna  <jug@sad.it>
12703
12704         * sp_spell.C (PSpell): fix initialitation order.
12705
12706 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12707
12708         * paragraph.C: spacing
12709
12710 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
12711
12712         * sp_spell.C: repair language selection for pspell
12713
12714 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12715
12716         * lyxfunc.h: change more methods to begin with lower char.
12717
12718 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
12719
12720         * buffer.C (parseSingleLyXformat2Token): Generate error insets
12721         for unknown layouts.
12722
12723 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12724
12725         * buffer.C (readLyXformat2): Generate an error dialog if there are
12726         unknown layouts.
12727
12728 2001-07-16  Juergen Vigna  <jug@sad.it>
12729
12730         * sp_spell.C: always compile ISpell part.
12731
12732         * lyxrc.C: added use_pspell entry and it's handling.
12733
12734 2001-07-13  Juergen Vigna  <jug@sad.it>
12735
12736         * sp_spell.C: removed double includes.
12737
12738 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
12739
12740         Consistent use of Lsstream.h:
12741         * Lsstream.h: added using std::stringstream for consistencies sake.
12742
12743         * buffer.C: removed using std::stringstream
12744
12745         * lyxfont.C (stateText):
12746         * paragraph.C (asString):
12747         * text.C (selectNextWord, selectSelectedWord):
12748         * text2.C (setCounter):
12749         * vspace.C (asString, asLatexString):
12750         std::ostringstream -> ostringstream.
12751
12752 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12753
12754         * LyXAction.C: add LFUN_HELP_ABOUTLYX
12755         * commandtags.h: add LFUN_HELP_ABOUTLYX
12756         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12757
12758 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12759
12760         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12761         cursorToggle()
12762         * lyx_gui_misc.C: remove spellchecker
12763         * lyxfunc.C: showSpellchecker
12764         * sp_base.h: added
12765         * sp_ispell.h: added
12766         * sp_pspell.h: added
12767         * sp_spell.C: added
12768         * sp_form.[Ch]: removed
12769         * spellchecker.[Ch]: removed
12770
12771 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
12772
12773         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12774         is set.
12775         (simpleTeXSpecialChars): Simply print the input character without
12776         any special translation if pass_thru is set.
12777
12778         * layout.h: Added bool pass_thru to layout class for being able to
12779         implement pass through of a paragraph for Literate Programming.
12780
12781         * layout.C: add LT_PASS_THRU to LayoutTags enum.
12782         * layout.C (LyXLayout): set pass_thru to flase in constructor.
12783         * layout.C (Read): add "passthru" to list of layout tags and add
12784         code to set the pass_thru boolean when it is read.
12785
12786 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12787
12788         * trans_decl.h: remove allowed from KmodInfo
12789
12790         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12791         remove allowed code
12792         (Load): adjust
12793
12794         * paragraph_pimpl.C (erase): use boost::prior
12795
12796         * Painter.C (text): use data() instead of c_str() when length is
12797         also provided.
12798         * WorkArea.C (putClipboard): ditto
12799         * font.h (width): ditto
12800
12801         * BufferView2.C: use it-> instead of (*it). for iterators
12802         * texrow.C: ditto
12803         * paragraph_pimpl.C: ditto
12804         * paragraph.C: ditto
12805         * minibuffer.C: ditto
12806         * language.C: ditto
12807         * kbmap.C: ditto
12808         * encoding.C: ditto
12809         * counters.C: ditto
12810         * converter.C: ditto
12811         * chset.C: ditto
12812         * Variables.C: ditto
12813         * TextCache.C: ditto
12814         * MenuBackend.C: ditto
12815         * LyXAction.C: ditto
12816         * LColor.C: ditto
12817         * FloatList.C: ditto
12818         * DepTable.C: ditto
12819         * ColorHandler.C (LyXColorHandler): ditto
12820
12821 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12822
12823         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12824
12825         * text2.C (openStuff): reintroduce this method (which had been
12826         nuked in NEW_INSETS frenzy).
12827
12828         * lyxfunc.C (Dispatch): when an action has not been handled, use
12829         its name in the error message, not its number.
12830
12831         * paragraph.C (inInset): change method name to begin with lowercase.
12832
12833         * undo_funcs.C:
12834         * text2.C: updates because of this.
12835
12836 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12837
12838         * ToolbarDefaults.C (add): add spaces in error message
12839
12840 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12841
12842         * buffer.C (readLyXformat2): initialize the ert comp. variables.
12843         (readLyXformat2): rename return_par to first_par, use lyxlex's
12844         pushToken and remove the manual push handling.
12845         (parseSingleLyXformat2Token): add another ert comp. variable:
12846         in_tabular, rename return_par to first_par. handle newlines better
12847
12848 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12849
12850         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12851
12852 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12853
12854         * text2.C (getParFromID): removed
12855
12856         * buffer.C (getParFromID): new method moved form lyxtext.
12857         * BufferView2.C (insertErrors): adjust
12858         (setCursorFromRow): adjust
12859         * BufferView_pimpl.C (restorePosition): adjust
12860         * lyxfunc.C (Dispatch): adjust
12861         * undo_funcs.C (textUndo): adjust
12862         (textRedo): adjust
12863         (textHandleUndo): adjust
12864         (textHandleUndo): adjust
12865
12866 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12867
12868         * buffer.C: up' the LYX_FORMAT
12869
12870         * lyxfont.h: turn NO_LATEX on as default
12871
12872         * buffer.C (insertErtContents): new methods of tex style compability.
12873         (parseSingleLyXformat2Token): use it several places.
12874         * tabular.C (OldFormatRead): and here
12875
12876 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12877
12878         * text2.C: remove some commented code.
12879         reindent file.
12880
12881         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12882         * trans.C: changes because of the above.
12883
12884 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
12885
12886         * text2.C (setCounter): Fix counters bug with bibliography layout.
12887
12888 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12889
12890         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12891         own member functions
12892         (simpleTeXSpecialChars): ditto
12893
12894 2001-07-06  Juergen Vigna  <jug@sad.it>
12895
12896         * a lot of files: changed the access to LyXText::status and the
12897         call of undo-functions.
12898
12899         * undo.[Ch]: added a inset_id to the undo informations.
12900
12901         * undo_funcs.[Ch]: added and moved here all undo functions.
12902
12903         * lyxtext.h: give the status enum a weight, made status_ a private
12904         variable and made accessor functions for it, removed the whole bunch
12905         of undo-functions as they are now in their own file, make some
12906         functions publically available. Added function ownerParagraph with
12907         int parameter.
12908
12909         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12910         made InInset() a const function, added getParFromID() function.
12911
12912         * buffer.[Ch]: added const version for inset_iterator functions,
12913         added getInsetFromID() function.
12914
12915         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12916         changed undo functions for new version.
12917
12918 2001-07-05  Juergen Vigna  <jug@sad.it>
12919
12920         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12921         unknow mechanism does not call the proper constructor but only this
12922         one also if I request the other!?
12923
12924 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12925
12926         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12927
12928         * text2.C (LyXText): use initialization lists.
12929
12930         * lyxtext.h (Selection): initialize set_ and mark_
12931         (init): remove method
12932
12933 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12934
12935         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12936
12937 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12938
12939         * screen.[Ch]: change method names to begin with lowercase
12940
12941         * BufferView_pimpl.C (updateScrollbar): simplify further and
12942         hopefully make it a bit faster.
12943
12944 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12945
12946         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12947         calling directly xforms functions.
12948
12949         * Painter.C (Painter):
12950         * lyx_cb.C (MenuWrite):
12951         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12952         fl_display.
12953
12954         * lyx_gui.C: remove bogus guiruntime extern declaration.
12955
12956 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12957
12958         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12959         in NEW_INSETS
12960         (redoDrawingOfParagraph): ditto
12961         (redoParagraphs): ditto
12962         (cutSelection): don't create a object for CutAndPaste use the
12963         static method directly
12964         (pasteSelection): ditto
12965
12966         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12967         LyXview (+ rename)
12968
12969 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12970
12971         * modifications to some other files because of this.
12972
12973         * Makefile.am (lyx_SOURCES): add XFormsView
12974
12975         * XFormsView.[Ch]: new files
12976
12977         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12978         the main window. Move the gui dependent stuff to XFormsView
12979
12980 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12981
12982         * tabular.C (GetCellInset): update cur_cell also in the row/col
12983         version of this function.
12984
12985         * lyxfunc.C: no need to include figure_form.h here.
12986
12987         * FontLoader.h:
12988         * lyxfunc.h:
12989         * lyxscreen.h:
12990         * text2.C:
12991         * lyxvc.C: no need to include forms.h here.
12992
12993 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12994
12995         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12996
12997         * lyxfunc.C (Dispatch):
12998         * Spacing.C (set):
12999         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13000         constructor argument.
13001
13002 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13003
13004         * paragraph.C (Paragraph): dont't clear, and just set layout.
13005         (makeSameLayout): use params's copy contructor.
13006
13007         * ParagraphParameters.[Ch] (makeSame): delete method
13008
13009 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
13010
13011         * Variables.[Ch]: fix indentation, rename set to isSet
13012
13013 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13014
13015         * lyxfunc.C (Dispatch): fix typo
13016
13017 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13018
13019         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13020         upper_bound.
13021
13022         * bufferlist.C: include assert.h for emergencyWrite().
13023
13024 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13025
13026         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13027           give up at last (bug #425202) !
13028
13029 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
13030
13031         * lyx_gui_misc.C:
13032         * sp_form.h:
13033         * sp_form.C:
13034         * spellchecker.h:
13035         * spellchecker.C: strip spellchecker options and bring up
13036           preferences tab instead
13037
13038 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13039
13040         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13041         the istringstream constructor
13042
13043 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13044
13045         * paragraph.C (getLayout): fix return value
13046
13047         * paragraph.h: do not declare getLayout as inline.
13048
13049         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13050
13051 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13052
13053         * lyxcursor.h (operator<): new func
13054         (operator>): new func
13055         (operator>=): new func
13056         (operator<=): new func
13057
13058         * text.C (changeCase): use selection.start and selection.end
13059         (changeRegionCase): require from to be <= to. Require par to be a
13060         valid paragraph.
13061
13062         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13063
13064 2001-06-27  Juergen Vigna  <jug@sad.it>
13065
13066         * text.C (cursorLeftOneWord): changed to return the cursor and added
13067         overlay with BufferView * parameter which calls this one.
13068         (getWord): added
13069         (selectWord): use new getWord function.
13070         (changeCase): renamed from changeWordCase as and extended to work
13071         also on selections.
13072
13073         * lyxtext.h: added enum word_location
13074
13075         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13076         changeCase as this operates now also on selections.
13077
13078 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
13079
13080         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13081
13082         * many files: send debug output to Debug::INFO instead of
13083         Debug::ANY.
13084
13085         * converter.C (View):
13086         (Convert):
13087         (Move): send debug output to Debug::FILES instead of console.
13088
13089 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
13090
13091         * lyxfunc.C (getStatus): use func_status
13092
13093         * func_status.h: new header, describing the results of
13094         LyXFunc::getStatus;
13095
13096         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13097         LFUN_MATH_HALIGN.
13098
13099 2001-06-25  The LyX Project  <jug@sad.it>
13100
13101         * buffer.C (sgmlOpenTag):
13102         (sgmlCloseTag):
13103         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
13104
13105 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13106
13107         * text2.C: remove some dead code
13108
13109         * tabular.C (GetCellInset): store the last cell checked (gotten)
13110
13111         * tabular.h: add the helper for the speedup
13112
13113         * lyxtext.h: remove some dead code
13114
13115 2001-06-26  The LyX Project  <Asger>
13116
13117         * paragraph.C: Change export to LaTeX of alignment to
13118         \begin{center} and family for better roundtrip work with reLyX.
13119
13120         * Tune the math drawing a bit.
13121
13122 2001-06-25  The LyX Project  <Asger>
13123
13124         * LColor.C (LColor): New color for math background. New color
13125         for buttons.
13126
13127 2001-06-25  The LyX Project  <jug@sad.it>
13128
13129         * lyxfunc.C (MenuNew): remove extra check for .lyx file
13130
13131         * lyxfunc.C (Open):
13132         * bufferlist.C (newFile): do not restrict to files ending with
13133         .lyx
13134
13135         * BufferView_pimpl.C (MenuInsertLyXFile):
13136
13137 2001-06-24  The LyX Project  <jug@sad.it>
13138
13139         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13140         of compare_no_case
13141
13142 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13143
13144         * lyxtext.h: rename most methods to begin with a small char.
13145         Lots of changes because of this.
13146
13147         * paragraph.C (Paragraph): do not call fitToSize
13148         (erase): call Pimpl::erase
13149         (insertChar): call Pimpl::insertChar
13150         (insertInset): call Pipl::insertInset
13151         (breakParagraph): do not call fitToSize
13152         (breakParagraphConservative): do not call fitToSize
13153         (fitToSize): remove method
13154
13155         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13156
13157 2001-06-24  The LyX Project  <Asger>
13158
13159         * Fix Qt compilation^2
13160
13161 2001-06-24  The LyX Project  <jug@sad.it>
13162
13163         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13164         depthHook(getDepth()-1).
13165
13166         * paragraph.h:
13167         * ParagraphParameters.h:
13168         * ParameterStruct.h: change type of depth to unsigned int ==
13169         depth_type. Many adaptations to other files before of that.
13170
13171 2001-06-24  The LyX Project  <Asger>
13172
13173         * Fix Qt compilation.
13174
13175 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13176
13177         * paragraph.h: renamed several methods to begin with small letter.
13178         several changes to many parts of the code because of this.
13179
13180 2001-06-23  The LyX Project  <jug@sad.it>
13181
13182         * text2.C (InsertStringAsLines): renamed from InsertStringA;
13183         rewritten to discard all double spaces when KeepEmpty is off
13184         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13185         to only handle newlines but not fiddle with spaces and friends.
13186
13187         * lyxfunc.C (MenuNew): when doing 'new from template', use
13188         template_path as default directory
13189
13190 2001-06-23  The LyX Project  <Asger>
13191
13192         * Clean-up of header file includes all over
13193         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13194
13195 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13196
13197         * paragraph.h: renamed from lyxparagraph.h
13198
13199 2001-06-23  Asger  <lyx@violet.home.sad.it>
13200
13201         * Buffer.h: Removed Buffer::resize
13202         * BufferList.h: Removed BufferList::resize
13203         * LyXView.h: Added LyXView::resize. This way, we will only reflow
13204         the document lazily when we change the width, or the font settings.
13205
13206 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13207
13208         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13209
13210 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13211
13212         * buffer.h: remove out of date comment
13213
13214 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13215
13216         * lyxscreen.h:
13217         * screen.C: fix "theoretical" GC leak
13218
13219 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13220
13221         * LaTeX.C (scanAuxFile):
13222         (deplog): remove trailing \r when reading stream (useful under
13223         win32)
13224
13225 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
13226
13227         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13228         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13229         and BufferView::theLockingInset(Inset*), so should use them and not
13230         access bv_->text->the_locking_inset directly.
13231
13232         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13233
13234 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13235
13236         * Makefile.am:
13237         * tex-defs.h: remove old unused file
13238
13239 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
13240
13241         * BufferView_pimpl.C: fix typo, remove minibuffer message
13242           when buffer has loaded
13243
13244 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13245
13246         * lyxfunc.C (Dispatch): use stringstream
13247         (MenuNew): use stringstream
13248         (Open): use stringstream
13249
13250         * importer.C (Import): use stringstream
13251
13252         * bufferview_funcs.C (CurrentState): use stringstream
13253
13254         * LaTeX.C (run): use stringstream
13255
13256         * BufferView_pimpl.C (savePosition): use stringstream
13257         (restorePosition): use stringstream
13258         (MenuInsertLyXFile): use stringstream
13259
13260 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
13261
13262         * BufferView.C:
13263         * Bullet.C:
13264         * ColorHandler.C:
13265         * FontInfo.C:
13266         * FontLoader.C:
13267         * LColor.C:
13268         * LaTeXFeatures.C:
13269         * Painter.C:
13270         * gettext.C:
13271         * lyx_gui_misc.C:
13272         * lyxserver.C:
13273         * vspace.C: removed // -*- C++ -*- as first line.
13274
13275         * lyxfind.h:
13276         * version.h: added // -*- C++ -*- as first line.
13277
13278 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13279
13280         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13281
13282         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13283         of string
13284
13285 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13286
13287         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13288         of floats.
13289
13290 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13291
13292         * gettext.C: include LString.h even when --disable-nls is on.
13293
13294 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
13295
13296         * converter.h (Get): changed argument type from int to
13297         FormatList::size_type to avoid unnecessary conversion.
13298
13299         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13300         before using it.
13301
13302 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13303
13304         * gettext.h: include LString.h even when --disable-nls is on.
13305
13306 2001-06-07  Juergen Vigna  <jug@sad.it>
13307
13308         * text.C (BreakAgain): subst spaces with tabs.
13309
13310         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13311         (resizeInsetsLyXText): set force on resizeLyXText.
13312
13313 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13314
13315         * gettext.h (gettext_init):
13316         (locale_init): use a real definition instead of a macro
13317
13318 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13319
13320         * Bufferview_pimpl.C:
13321         * LColor.h:
13322         * LColor.C: further lcolor tidies
13323
13324 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13325
13326         * BufferView_pimpl.C (updateScrollbar): simplify.
13327
13328         * BufferView2.C: don't include insets/insetinfo.h, change
13329         prototype for insertInset and call the Pimpl version. let
13330         updateInset call Pimpl version.
13331
13332         * BufferView.h: move inset_slept to BufferView::Pimpl, move
13333         gotoInset to BufferView::Pimpl
13334
13335 2001-06-01  Juergen Vigna  <jug@sad.it>
13336
13337         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13338         inside a LockingInset (is the update needed at all?).
13339
13340 2001-05-31  Juergen Vigna  <jug@sad.it>
13341
13342         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13343         here not the old one otherwise how should we compare it afterwards
13344         if it's the same!
13345
13346 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13347
13348         * lyxfont.C:
13349         * tabular.C:
13350         * tabular-old.C:
13351         * FontInfo.C: bring C functions into global namespace when
13352         necessary
13353
13354 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13355
13356         * LString.h: make sure config.h has been loaded before LString.h.
13357
13358         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13359         (one for each char read by EatLine!).
13360
13361         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13362         variables.
13363
13364 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13365
13366         * paragraph.C (BreakParagraph): set the inset_owner in the new par
13367         to the same as the par we break from
13368
13369 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13370
13371         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13372
13373         * MenuBackend.C (expand): also create menu entries for wide
13374         versions of the floats.
13375
13376         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13377
13378         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13379
13380         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13381         frontends/Makefile.am
13382
13383         * text2.C: adjust
13384         * text.C: adjust
13385
13386
13387         * tabular.C (getTokenValue): add std::
13388
13389         * tabular-old.C (getTokenValue): add std::
13390         (getTokenValue): ditto
13391         (getTokenValue): ditto
13392
13393         * screen.C (ToggleSelection): adjust
13394
13395         * lyxtext.h: put selection cursors inside a Selection struct.
13396
13397         * lyxfunc.C (moveCursorUpdate): adjust
13398
13399         * lyxfont.C (latexWriteStartChanges): add std::
13400
13401         * lyxfind.C: adjust
13402
13403         * font.h: delete with(char const *, LyXFont const &)
13404
13405         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13406
13407         * FontInfo.C (getFontname): add std::
13408
13409         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13410         (workAreaButtonPress): adjust
13411         (tripleClick): adjust
13412         (update): adjust
13413         (moveCursorUpdate): adjust
13414         (Dispatch): adjust
13415
13416         * BufferView2.C (gotoInset): adjust
13417
13418 2001-05-30  Juergen Vigna  <jug@sad.it>
13419
13420         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13421         to check pspell I add this as default as I now have new pspell
13422         libraries and they seem to use this.
13423
13424 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13425
13426         * text2.C (CutSelection): make the cursor valid before the call to
13427         ClearSelection.
13428
13429 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13430
13431         * kbsequence.C (parse): de-uglify a bit the parsing code, which
13432         relied on 0 terminated strings and other horrors. Bug found due to
13433         the new assert in lyxstring!
13434
13435         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13436         KP_ keys.
13437
13438 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13439
13440         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13441         to latinkeys.bind.
13442
13443         * lyxfunc.C (processKeySym): change method of getting to the
13444         self-insert char.
13445
13446         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13447         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13448         * BufferView_pimpl.[Ch]: here as private methods.
13449
13450 2001-05-28  Juergen Vigna  <jug@sad.it>
13451
13452         * text.C (SetHeightOfRow): added the update() call again as it is
13453         needed to initialize inset dimensions!
13454
13455 2001-05-16  Juergen Vigna  <jug@sad.it>
13456
13457         * text2.C (SetCharFont): Add new function with BufferView * and
13458         bool toggleall parameters for setting insets internal fonts.
13459         (SetFont): Freeze the undo as we may change fonts in Insets and
13460         all this change should be inside only one Undo!
13461
13462         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13463         setting font's in insets as for them we have the SetFont function!
13464
13465 2001-05-15  Juergen Vigna  <jug@sad.it>
13466
13467         * text2.C (ClearSelection): to be sure we REALLY don't have any
13468         selection anymore!
13469
13470         * tabular.C (TeXCellPreamble): fixed the left border problem for
13471         multicolumn cells.
13472
13473 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
13474
13475         * LaTeX.C (deplog): Make sure that the main .tex file is in the
13476         dependancy file
13477
13478 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13479
13480         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13481         LFUN_BREAKPARAGRAPH.
13482
13483         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13484         help test to "internal only", similar for LFUN_INSERT_URL
13485
13486         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13487         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13488         auto_region_delete and deadkeys.
13489
13490 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
13491
13492         * LColor.h:
13493         * LColor.C: remove some dead entries, tidy a little
13494
13495 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13496
13497         * lyxfunc.C (processKeySym): comment the Escape handling, remove
13498         commented code.
13499         (Dispatch): implement LFUN_ESCAPE
13500
13501         * commandtags.h: add LFUN_ESCAPE
13502
13503         * LyXAction.C (init): add entry for LFUN_ESCAPE
13504
13505         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13506         Remove commented code.
13507         (insertNote): moved here
13508         (open_new_inset): moved here
13509
13510         * BufferView[2].[Ch]: move insertNote and open_new_inset to
13511         BufferView_pimpl
13512
13513 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13514
13515         * kbmap.C (findbinding): clean it up and make it work correctly.
13516
13517         * lyx_main.C (init): do not pass argc and argv as parameters
13518
13519 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
13520
13521         * buffer.C: fix path for OS/2 & Win32
13522
13523         * lyx_gui.C:
13524         * lyx_main:
13525         * lyx_main.C: Added os:: class.
13526
13527         * os2_defines.h: update
13528
13529 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13530
13531         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13532         better by trying again with reduced state.
13533
13534 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13535
13536         * lyxrc.C (read): print error about invalid key sequence only when
13537         debugging (because not all latinX keysyms are known to some X
13538         servers)
13539
13540         * kbsequence.C (getiso): add a few std:: qualifiers
13541         (getiso): comment out extra return statement.
13542
13543 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13544
13545         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13546         handling.
13547         (Dispatch): enhance the accent inset a bit. (not perfect)
13548
13549 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13550
13551         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13552
13553 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13554
13555         * bufferlist.C (emergencyWrite): fix assert() call
13556
13557 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
13558
13559         * text.C (InsertChar): Added trivial patch to only send the "you
13560         can not do multiple spaces this way" message once during a
13561         session.
13562
13563 2001-05-08  Baruch Even  <baruch@lyx.org>
13564
13565         * Makefile.am: Changed order of libraries to get LyX to link properly
13566         with the gnome frontend.
13567
13568 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13569
13570         * LaTeXFeatures.h: add a std:: qualifier
13571
13572 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13573
13574         * paragraph.C (String): use stringstream
13575
13576 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13577
13578         * paragraph.C (writeFile): remove footflag arg
13579
13580         * buffer.C (makeLaTeXFile): use stringstream
13581         (latexParagraphs): remove footnot gurba
13582
13583         * LaTeXFeatures.C (getPackages): use stringstream
13584         (getMacros): likewise
13585         (getTClassPreamble): likewise
13586         (getFloatDefinitions): new method
13587
13588         * paragraph.C (writeFile): reindent
13589         (Erase): reindent
13590
13591         * WorkArea.h: revert the xpos + etc changes.
13592
13593         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13594
13595         * lyxparagraph.[Ch]: add copy constructor, remove Clone
13596
13597         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13598         (pasteSelection): likewise
13599         * text2.C (CreateUndo): likewise
13600
13601 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13602
13603         * minibuffer.C (peek_event): temporarily reduce the functionality
13604         of the minibuffer (to allow args on lfuns)
13605
13606         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13607         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13608
13609         * buffer.C (readInset): add compability reading of old float
13610         lists, add reading of new style float list.
13611         (readInset): avoid reevaluation of inscmd.getCmdName()
13612         (getLists): reindent
13613
13614         * MenuBackend.C (MenuItem): implement parsing of
13615         md_floatlistinsert and md_floatinsert.
13616         (expand::LastFiles): move initalizaton of iterators out of loop,
13617         avoid reevaluation.
13618         (expand::Documents): introduce typdedef vector<string> Strings,
13619         and use it.
13620         (expand::ExportFormats): introduce typedef vector<Format const *>
13621         Formats, and use it.
13622         (expand): implement FloatListInsert and FloatInsert.
13623
13624         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13625         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13626         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13627
13628         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13629         handling.
13630         (Dispatch::LFUN_FLOAT_LIST): implement
13631
13632 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13633
13634         * LaTeX.C (run): Fix problem with --export code.
13635
13636 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13637
13638         * BufferView.[Ch] (workarea): removed.
13639         (getClipboard) new method; wrapper for workarea()->getClipboard()
13640
13641         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13642         bug.
13643
13644         * WorkArea.h (width, height, xpos, ypos): These methods all
13645         returned the dimensions of the work_area sub-area of WorkArea,
13646         resulting in a position error if the WorkArea were resized. Now
13647         return the dimensions of the entire WorkArea.
13648
13649         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13650
13651 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13652
13653         * LaTeX.C (deplog): correct the syntax of regex reg1
13654
13655 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13656
13657         * undo.C: remove !NEW_INSETS cruft
13658
13659 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13660
13661         * text2.C: remove !NEW_INSETS cruft
13662
13663         * text.C: remove !NEW_INSETS cruft
13664
13665         * tabular.C: remove !NEW_INSETS cruft
13666
13667         * spellchecker.C: remove !NEW_INSETS cruft
13668
13669         * lyxtext.h: remove !NEW_INSETS cruft
13670
13671         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13672
13673         * lyxfunc.C: remove !NEW_INSETS cruft
13674
13675         * lyxfind.C: remove !NEW_INSETS cruft
13676
13677         * lyx_cb.C: remove !NEW_INSETS cruft
13678
13679         * figureForm.C: remove  !NEW_INSETS cruft
13680
13681         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13682
13683         * buffer.[Ch]: remove !NEW_INSETS cruft
13684
13685         * ToolbarDefaults.C: remove !NEW_INSETS cruft
13686
13687         * CutAndPaste.C: remove !NEW_INSETS cruft
13688
13689         * BufferView_pimpl.C: remove !NEW_INSETS cruft
13690
13691         * BufferView2.C: remove !NEW_INSETS cruft
13692
13693         * BufferView.h: remove !NEW_INSETS cruft
13694
13695 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13696
13697         * Lsstream.h: include LString.h before the sstream headers to
13698         fix problem with gcc 2.95.3 and lyxstring
13699
13700 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13701
13702         * lyx_main.C: add using directives when needed for C functions
13703         declared in std:: namespace.
13704
13705 2001-04-27  Juergen Vigna  <jug@sad.it>
13706
13707         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13708         (SetHeightOfRow): comment out the update call should not be needed!
13709
13710 2001-04-13  Juergen Vigna  <jug@sad.it>
13711
13712         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13713         (LyXTabular): tried to minimize operator= operations (and realized
13714         hopfully Lars wish).
13715
13716 2001-04-27  Juergen Vigna  <jug@sad.it>
13717
13718         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13719
13720 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13721
13722         * lyxfunc.C (Dispatch): hack to make listof algorithm work
13723
13724         * buffer.C (readInset): hack to make listof algorithm work
13725
13726         * BufferView_pimpl.C: hack to make listof algorithm work
13727
13728 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13729
13730         * LyXAction.C: removed all !NEW_INSETS cruft
13731         (init): moved lfun_item in method
13732
13733         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13734
13735 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13736
13737         * BufferView2.C (theLockingInset): white space.
13738
13739 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13740
13741         * minibuffer.C: include <iostream>
13742
13743         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13744
13745         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13746
13747         * commandtags.h: add LFUN_TRANSPOSE_CHARS
13748
13749         * text.[Ch] (TransposeChars): new method
13750
13751 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13752
13753         * call message directly through LyXView instead of through LyXFunc
13754         * BufferView2.C: adjust
13755         * BufferView_pimpl.C: adjust
13756         * FontLoader.C: adjust
13757         * buffer.C: adjust
13758         * bufferview_funcs.C: adjust
13759         * converter.C: adjust
13760         * figureForm.C: adjust
13761         * importer.C: adjust
13762         * lyx_cb.C: adjust
13763         * lyx_gui_misc.C: adjust
13764         * lyxfunc.C: adjust
13765         * lyxvc.C: adjust
13766         * text2.C: adjust
13767         + more files in subdirs
13768
13769         * lyxparagraph.h (size): move up int file
13770         (GetLayout): ditto
13771
13772         * adjust all uses of Assert to lyx::Assert.
13773
13774         * BufferView2.C (ChangeCitationsIfUnique): adjust for
13775         lyxfunctional in namespace lyx
13776         * layout.C (hasLayout): ditto
13777         (GetLayout): ditto
13778         (GetLayout): ditto
13779         (delete_layout): ditto
13780         (NumberOfClass): ditto
13781         * converter.C (GetFormat): ditto
13782         (GetNumber): ditto
13783         (Add): ditto
13784         (Delete): ditto
13785         (SetViewer): ditto
13786         * bufferlist.C (getFileNames): ditto
13787         (emergencyWriteAll): ditto
13788         (exists): ditto
13789         (getBuffer): ditto
13790         * MenuBackend.C (hasSubmenu): ditto
13791         (hasMenu): ditto
13792         (getMenu): ditto
13793         * BufferView_pimpl.C (getInsetByCode): ditto
13794
13795 2001-04-18  Juergen Vigna  <jug@sad.it>
13796
13797         * vspace.C (asLatexString): fixed the 100% problem.
13798
13799 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13800
13801         * lyxfunc.C (Dispatch):
13802         * minibuffer.C:
13803         * minibuffer.h: add a few std:: qualifiers
13804
13805 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13806
13807         * minibuffer.[Ch]: reimplement so that commands is initiated and
13808         run from lyxfunc, simplified som handling, and made the completion
13809         and history code for complete. wip.
13810
13811         * lyxfunc.C (processKeySym): call message
13812         (miniDispatch): new temporary method
13813         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13814         (LFUN_MESSAGE): implement
13815         (LFUN_MESSAGE_PUSH): implement
13816         (LFUN_MESSAGE_POP): implement
13817         (initMiniBuffer): the initial/defualt minibuffer message.
13818
13819         * lyxfont.[Ch]: inline some more getters
13820
13821         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13822
13823         * lyx_gui_misc.[Ch] (WriteStatus): remove method
13824
13825         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13826         (AutoSave): use LFUN_MESSAGE
13827         (Reconfigure): ditto
13828
13829         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13830
13831         * figureForm.C: use LFUN_MESSAGE
13832
13833         * converter.C (runLaTeX): use LFUN_MESSAGE
13834
13835         * bufferview_funcs.C: use LFUN_MESSAGE
13836         (Melt): ditto
13837         (changeDepth): ditto
13838
13839         * bufferparams.h: use boost::
13840
13841         * bufferlist.h: inherit privately from noncopyable
13842
13843         * bufferlist.C (loadLyXFile): remove some commented code.
13844
13845         * buffer.C (runChktex): use LFUN_MESSAGE
13846
13847         * ShareContainer.h: inherit privately from noncopyable
13848
13849         * ParagraphParameters.[hC] (depth): inline it.
13850
13851         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13852         methods.
13853         (message): new method
13854         (messagePush): ditto
13855         (messagePop): ditto
13856         (show): init minibuffer
13857         (showState): direct call
13858
13859         * LaTeX.[Ch]: inherit privately from noncopyable
13860         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13861         instead of WriteStatus.
13862
13863         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13864
13865         * BufferView_pimpl.C (buffer): don't init minibuffer
13866         (workAreaButtonPress): use LFUN_MESSAGE
13867         (workAreaButtonRelease): ditto
13868         (savePosition): ditto
13869         (restorePosition): ditto
13870         (MenuInsertLyXFile): ditto
13871         (workAreaExpose): don't init minibuffer
13872         (update): remove commented code, simplify
13873
13874         * BufferView2.C (openStuff): use LFUN_MESSAGE
13875         (toggleFloat): ditto
13876         (menuUndo): ditto
13877         (menuRedo): ditto
13878         (copyEnvironment): ditto
13879         (pasteEnvironment): ditto
13880         (copy): ditto
13881         (cut): ditto
13882         (paste): ditto
13883         (gotoInset): ditto
13884         (updateInset): remove some commented code
13885
13886         * lastfiles.h: inherit privately from noncopyable
13887         * layout.h: ditto
13888         * lyx_gui.h: ditto
13889         * lyx_main.h: ditto
13890         * lyxlex.h: ditto
13891         * lyxlex_pimpl.h: ditto
13892
13893         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13894         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13895         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13896
13897         * LyXAction.h: inherit privately from noncopyable, add methods
13898         func_begin, func_end, returning iterators to the func map.
13899
13900         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13901         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13902         (func_begin): new method
13903         (func_end): new method
13904
13905         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13906         and not)
13907         (copySelection): ditto
13908         (pasteSelection): ditto
13909
13910         * BufferView.C: whitespace change
13911         * BufferView.h: inherit privately from noncopyable
13912
13913 2001-04-16  Allan Rae  <rae@lyx.org>
13914
13915         * tabular-old.C (l_getline):
13916         * spellchecker.C (sc_check_word):
13917         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13918         an unrecognised preprocessor directive.  So ensure they're wrapped.
13919
13920 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13921
13922         * src/exporter.C (Export): Give an error message when path to file
13923         contains spaces.
13924
13925 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13926
13927         * LaTeX.C (deplog): Always check that foundfile exists.
13928
13929 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13930
13931         * lyx_main.h:
13932         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13933
13934 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13935
13936         * tabular.[Ch] (getLabelList): implement new method
13937
13938         * minibuffer.h: comment ouf setTiimer
13939
13940         * minibuffer.C (ExecutingCB): constify res
13941         (peek_event): constify s
13942         (Set): constify ntext
13943         (Init): constify nicename
13944
13945         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13946
13947         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13948         (savePosition): use two params to Minibuffer::Set
13949         (restorePosition): ditto
13950
13951 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13952
13953         * lyx_main.C: include language.h
13954
13955         * Makefile.am (lyx_main.o): add language.h
13956
13957 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13958
13959         * exporter.C:
13960         * paragraph.C:
13961         * screen.C:
13962         * tabular.C:
13963         * CutAndPaste.C: include gettext.h
13964
13965         * lyxfont.h: remove old hack with ON and OFF.
13966
13967         * lyxparagraph.h:
13968         * lyxfont.h: do not include language.h...
13969
13970         * BufferView2.C:
13971         * LaTeXFeatures.C:
13972         * Painter.C:
13973         * bufferview_funcs.C:
13974         * font.C:
13975         * lyxfont.C:
13976         * text.C:
13977         * text2.C:
13978         * trans_mgr.C:
13979         * paragraph.C: ... but do it here instead
13980
13981 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13982
13983         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13984
13985         * tabular.C: small reformat
13986
13987         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13988         NEW_INSETS version
13989         (GetChar): ditto
13990         (BreakParagraph): ditto
13991         (SetOnlyLayout): ditto
13992         (SetLayout): ditto
13993
13994         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13995         with one arg less.
13996
13997         * lastfiles.C: removed most using decl, add std:: where needed
13998
13999         * buffer.C: ws changes
14000
14001         * MenuBackend.C (class compare_format): put into anon namespace
14002         (expand): constify label, names, action, action2
14003         (expand):
14004
14005         * text.C (SingleWidth): constify font
14006         (IsBoundary): constify rtl2
14007         (GetVisibleRow): constify ww
14008
14009         * LaTeX.C (deplog): constify logfile
14010
14011         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14012         start_x, end_x
14013         (workAreaExpose): constify widthChange, heightChange
14014
14015         * lyxrow.C (par): moved
14016         (height): moved
14017         (next): moved
14018         * lyxrow.h: as inlines here
14019
14020         * lyxfont.h (shape): moved from lyxfont.C
14021         (emph): moved from lyxfont.C
14022
14023         * lyxfont.C (LyXFont): use initialization list for all
14024         constructors
14025         (shape): move to lyxfont.h as inline
14026         (emph): move to lyxfont.h as inline
14027
14028
14029 2001-04-04  Juergen Vigna  <jug@sad.it>
14030
14031         * vspace.C: had to include stdio.h for use of sscanf
14032
14033 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
14034
14035         * BufferView.h:
14036         * BufferView_pimpl.h: remove xforms cruft. Both classes are
14037         independent of xforms.
14038
14039 2001-04-02  Juergen Vigna  <jug@sad.it>
14040
14041         * spellchecker.C: fixed namespace placing!
14042
14043 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
14044
14045         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14046         the LyXParagraph * is 0.
14047
14048 2001-03-29  Juergen Vigna  <jug@sad.it>
14049
14050         * vspace.C: added support for %, c%, p%, l%.
14051         (stringFromUnit): added helper function.
14052         (asLatexString): changed to give right results for the %-values.
14053
14054         * buffer.C: convert the widthp in a width%.
14055
14056 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
14057
14058         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14059         figureForm.[Ch].
14060
14061         * figureForm.[Ch]: stripped the FD_from_figure manipulation
14062         code out of lux_cb.[Ch], ready for its (imminent?) removal.
14063
14064         * lyx_cb.[Ch]: see above.
14065
14066         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14067         form1.[Ch].
14068
14069         * form1.[Ch]:
14070         * lyx.[Ch]: replaced by figure_form.[Ch].
14071
14072         * lyx_gui.C:
14073         * lyx_gui_misc.C:
14074         * lyxfunc.C: changed headers associated with above changes.
14075
14076 2001-03-27  Juergen Vigna  <jug@sad.it>
14077
14078         * BufferView_pimpl.C: set the temporary cursor right!
14079
14080 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
14081
14082         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14083
14084 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
14085
14086         * LString.h: removed "using std::getline"!
14087
14088         * BufferView_pimpl.C (Dispatch): changes due to changes in
14089         InsetInclude::Params.
14090
14091         * buffer.C (tag_name): removed redundant break statements as they were
14092         producing lots of warnings with my compiler.
14093
14094 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14095
14096         * LString.h: add "using std::getline" when using the real <string>.
14097
14098 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
14099
14100         * buffer.C: removed bitset usage.
14101         PAR_TAG moved to an anonymous name space.
14102         (tag_name): new funtion, also in the anonymous namespace.
14103         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14104         (makeDocBookFile): clean code. Completed transition from string arrays
14105         to string vectors.
14106         (SimpleDocBookOnePar): code clean.
14107
14108 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14109
14110         * tabular.C: add some comments.
14111
14112 2001-03-22  Juergen Vigna  <jug@sad.it>
14113
14114         * buffer.C (parseSingleLyXformat2Token): redone the minipage
14115         compatibility read a bit and fixed bug with minipage in different
14116         depth.
14117
14118 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
14119
14120         * buffer.C (pop_tag): removed.
14121         (push_tag): removed.
14122         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14123         array replaced with vector. Added support for CDATA sections.
14124         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14125         at any nest level.
14126         (makeDocBookFile): XML conformant declaration of CDATA section,
14127         fixed bug related to <emphasis> in the first paragraph char.
14128         (sgmlOpenTag): exclude empty tags.
14129         (sgmlCloseTag): ditto.
14130
14131         * buffer.h (pop_tag): removed.
14132         (push_tag): removed.
14133
14134 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
14135
14136         * language.h (Languages): added size_type and size().
14137
14138 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14139
14140         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14141         response on compability reading of minipages. One probliem is that
14142         the old usage of minipages was «flertydig»
14143
14144         * several files here and in subdirs: don't use static at file
14145         scope use anon namespaces instead.
14146
14147 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
14148
14149         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14150         LaTeX output. This is necessary for Literate document
14151         processing.
14152
14153 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14154
14155         * buffer.C: insert hfill when needed.
14156
14157         * tabular.C (l_getline): use string::erase, small whitespace change.
14158
14159         * BufferView_pimpl.C: try the anon namespace.
14160         * WorkArea.C: ditto
14161
14162 2001-03-16  Juergen Vigna  <jug@sad.it>
14163
14164         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14165         otherwise it won't open options-dialogs.
14166
14167         * buffer.C: honor pextraWidth(p) on converting minipages.
14168
14169         * tabular.C (l_getline): changed the functions to strip trailing \r.
14170
14171 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
14172
14173         * BufferView_pimpl.C:
14174         * minibuffer..C: added "using SigC::slot" declaration.
14175
14176 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14177
14178         * lyxlex_pimpl.h: noncopyable is in namespace boost.
14179
14180         * text2.C: ditto
14181
14182         * text.C: ditto
14183
14184         * paragraph.C: ditto
14185
14186         * lyxtext.h: NO_PEXTRA
14187
14188         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14189
14190         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14191         * ParameterStruct.h: ditto
14192         * ParagraphParameters.h: ditto
14193         * lyxparagraph.h: ditto
14194
14195 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14196
14197         * buffer.C: add compability for minipage alignment.
14198         (latexParagraphs): remove unwanted pextra check.
14199
14200         * several files: remove CXX_WORKING_NAMESPACES
14201
14202         * buffer.C (pop_tag): tie is in namespace boost
14203
14204         * BufferView.h: noncopyable is in namespace boost
14205         * lyxlex.h: ditto
14206         * lyx_main.h: ditto
14207         * lyx_gui.h: ditto
14208         * layout.h: ditto
14209         * lastfiles.h: ditto
14210         * bufferlist.h: ditto
14211         * ShareContainer.h: ditto
14212         * LyXView.h: ditto
14213         * LyXAction.h: ditto
14214         * LaTeX.h: ditto
14215
14216 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14217
14218         * Merging changes from BRANCH_MVC back into HEAD.
14219
14220         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14221
14222 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
14223
14224         * BufferView_pimpl.C: change from intl.C
14225
14226         * combox.h:
14227         * combox.C:
14228         * Makefile.am: move combox.*
14229
14230         * form1.h:
14231         * form1.C:
14232         * lyx_gui.C:
14233         * intl.h:
14234         * intl.C: remove dialog (covered by prefs)
14235
14236 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14237
14238         * lyxfunc.C (Dispatch): removed redundant break statement.
14239
14240 2001-03-14  Juergen Vigna  <jug@sad.it>
14241
14242         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14243
14244 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14245
14246         * buffer.C: add hack to fix compability reading of minipages.
14247
14248 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
14249
14250         * buffer.C (getLists): Cleanup.
14251
14252 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14253
14254         * lyxfont.C (update): don't honor toggleall on font size.
14255
14256 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
14257
14258         * bmtable.c:
14259         * bmtable.h:
14260         * Makefile.am: moved to frontends/xforms/
14261
14262         * lyx_gui_misc.C:
14263         * lyxfunc.C:
14264         * BufferView_pimpl.C: changes for moved mathpanel
14265
14266 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14267
14268         * gettext.h: fix gettext_init() in --disable-nls
14269
14270 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14271
14272         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14273
14274 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
14275
14276         * lyx.C:
14277         * lyx.h: strip external form
14278
14279 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14280
14281         * BufferView_pimpl.C: add comment, destroySplash()
14282
14283 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14284
14285         * BufferView_pimpl.C:
14286         * LyXAction.C:
14287         * buffer.C:
14288         * commandtags.h:
14289         * lyxfunc.C: use re-worked insetinclude
14290
14291 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14292
14293         * buffer.C: add using std::stringstream.
14294
14295         * lyx_cb.C: readd using std::ios.
14296
14297         * buffer.C: add using std::map.
14298
14299         * BufferView_pimpl.C: add using std::vector.
14300
14301         * ShareContainer.h: add std:: to swap.
14302
14303         * buffer.h: add some typedefs
14304         * buffer.C (getLists): use them
14305         (getLists): renamed from getTocList.
14306         add a counter for the different float types and use it in the
14307         generated string.
14308         (getLists): use the same counter for the NEW_INSETS and the "non"
14309         NEW_INSETS
14310
14311         * lyx_cb.h: remove unused items, includes, using etc.
14312
14313         * ShareContainer.h: remove some commented code, add more comments
14314         and "documentation".
14315
14316 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14317
14318         * buffer.C (getTocList): make the list also when NEW_INSETS is
14319         defined.
14320
14321         * buffer.h: remove TocType
14322
14323         * buffer.C (getTocList): change to return a map<string,
14324         vector<TocItem> >, implement for dynamic number of list.
14325
14326         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14327         * text2.C (PasteSelection): adjust
14328         * CutAndPaste.C (pasteSelection): adjust
14329
14330         * FloatList.C (FloatList): update from the new_insets branch.
14331         * Floating.[Ch]: ditto
14332         * LaTeXFeatures.C: ditto
14333         * buffer.C: ditto
14334         * lyxlex_pimpl.C: ditto
14335
14336         * paragraph.C (Last): remove when NEW_INSETS is defined.
14337
14338         * other file: changes because of the above.
14339
14340 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14341
14342         * lyxparagraph.h: rename next to next_, previous to previous_,
14343         make them private for NEW_INSETS. Rename Next() to next(),
14344         Previous() to previous().
14345
14346         * other files: changes because of the above.
14347
14348 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
14349
14350         * BufferView.h:
14351         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14352         problem.
14353
14354 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14355
14356         * main.C (main): pass lyx_localedir to gettext_init().
14357
14358         * gettext.h: remove locale_init and gettext_init macros
14359
14360         * gettext.C (locale_init): new function
14361         (gettext_init): new function
14362
14363         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14364         setlocale().
14365
14366 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
14367
14368         * Moved credits to frontends:
14369         * credits.[Ch]: removed
14370         * credits_form.[Ch]: removed
14371         * lyx_gui_misc.C: remove credits stuff
14372         * Makefile.am:
14373
14374 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14375
14376         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14377
14378         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14379         unneeded destructor.
14380
14381         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14382         a standalone pointer again.
14383
14384         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14385
14386 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
14387
14388         * Makefile.am:
14389         * filedlg.h:
14390         * filedlg.C:
14391         * LyXAction.C:
14392         * ToolbarDefaults.C:
14393         * bufferlist.C:
14394         * commandtags.h:
14395         * form1.C:
14396         * form1.h:
14397         * lyx_cb.C:
14398         * lyx_cb.h:
14399         * lyxfunc.h:
14400         * lyxfunc.C:
14401         * BufferView_pimpl.C: use new file dialog in GUII
14402
14403         * lyx_cb.h:
14404         * lyx_cb.C: remove LayoutsCB to Toolbar
14405
14406 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14407
14408         * ShareContainer.h (get): add std:: qualifier
14409
14410 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14411
14412         * ShareContainer.h: define a proper ShareContainer::value_type
14413         type (and use typename to please compaq cxx)
14414
14415 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14416
14417         * lyxparagraph.h: move serveral local vars to
14418         ParameterStruct/ParagraphParameters., use ShareContainer in
14419         FontTable., make vars in FontTable private and add getter and
14420         setter.
14421
14422         * paragraph.C: changes because of the above.
14423
14424         * lyxfont.h: remove copy constructor and copy assignment. (the
14425         default ones is ok), move number inside FontBits. move inlines to
14426         lyxfont.C
14427
14428         * lyxfont.C: add number to initializaton of statics, move several
14429         inlines here. constify several local vars. some whitespace
14430         cleanup. Dont hide outerscope variables.
14431
14432         * Spacing.h: add two new constructors to match the set methods.
14433
14434         * ShareContainer.h: new file, will perhaps be moved to support
14435
14436         * ParameterStruct.h: new file
14437
14438         * ParagraphParameters.h: new file
14439
14440         * ParagraphParameters.C: new file
14441
14442         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14443         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14444
14445         * BufferView_pimpl.C: ParagraphParameter changes.
14446         * buffer.C: Likewise.
14447         * bufferview_funcs.C: Likewise.
14448         * text.C: Likewise.
14449         * text2.C: Likewise.
14450
14451 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14452
14453         * lyxfind.C (LyXReplace): do not redefine default argument in
14454         implementation.
14455         (IsStringInText): ditto
14456         (SearchForward): ditto
14457         (SearchBackward): ditto
14458
14459 2001-03-06  Juergen Vigna  <jug@sad.it>
14460
14461         * lyxfind.C (IsStringInText): put parentes around expressions.
14462
14463 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
14464
14465         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14466
14467 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
14468
14469         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14470
14471         * stl_string_fwd.h: add comment
14472
14473         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14474
14475         * tabular.h:
14476         * tabular.C: remove unused DocBook methods
14477
14478         * intl.C:
14479         * language.C:
14480         * paragraph.C:
14481         * buffer.C:
14482         killed DO_USE_DEFAULT_LANGUAGE
14483
14484 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14485
14486         * lyx_gui.C: do not include language.h.
14487
14488         * bufferview_funcs.C (ToggleAndShow): do not provide optional
14489         arguments in function implementation.
14490
14491 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14492
14493         * BufferView_pimpl.C: add <ctime>
14494
14495 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14496
14497         * BufferView_pimpl.C: add using std::find_if
14498
14499 2001-02-27  José Matos  <jamatos@fep.up.pt>
14500
14501         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14502         by OnlyPath.
14503
14504 2001-02-11  José Matos  <jamatos@fep.up.pt>
14505
14506         * buffer.C (makeDocBookFile): command styles now have a parameter as
14507         "title" by default.
14508
14509 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
14510
14511         * layout_forms.[Ch]: removed
14512         * lyx_cb.[Ch]: out character
14513         * lyx_gui.C: out character
14514         * lyx_gui_misc.C: out character
14515         * bufferview_funcs.C: : out character,
14516         added toggleall as parameter in ToggleAndShow
14517
14518 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
14519
14520         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14521
14522         * text2.C (SetCurrentFont): Disable number property at boundary.
14523
14524 2001-02-26  Juergen Vigna  <jug@sad.it>
14525
14526         * lyxfunc.C (getStatus): added a string argument override function so
14527         that this is correctly called from LyXFunc::Dispatch if it contains a
14528         do_not_use_argument which is used!
14529         (Dispatch): added check for "custom" export and call appropriate func.
14530
14531 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
14532
14533         * lyxrc.C: Add language_command_local, language_use_babel and
14534         language_global_options.
14535
14536         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14537
14538         * buffer.C (makeLaTeXFile): Use language_use_babel and
14539         language_global_options.
14540
14541 2001-02-23  Juergen Vigna  <jug@sad.it>
14542
14543         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14544         which works with LyXText and putted it inside BufferView. Here now we
14545         only call for that part the BufferView::Dispatch() function.
14546
14547         * BufferView.C (Dispatch): added.
14548
14549         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14550         functions which needs to use a LyXText over from LyXFunc.
14551         (MenuInsertLyXFile): added
14552         (getInsetByCode): added
14553         (moveCursorUpdate): added
14554         (static TEXT): added
14555
14556 2001-02-22  Juergen Vigna  <jug@sad.it>
14557
14558         * BufferView_pimpl.C (update): call a status update to see if LyXText
14559         needs it.
14560
14561 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14562
14563         * vc-backend.C (revert): implement for CVS
14564         (getLog): implement for CVS
14565
14566 2001-02-20  Juergen Vigna  <jug@sad.it>
14567
14568         * text2.C (ClearSelection): added BufferView param for inset_owner call
14569
14570         * lyxfunc.C (TEXT): added this function and use it instead of
14571         directly owner->view()-text of getLyXText().
14572
14573 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
14574
14575         * src/layout_forms.C: out preamble
14576         * src/layout_forms.h: out preamble
14577         * src/lyx_cb.C: out preamble
14578         * src/lyx_cb.h: out preamble
14579         * src/lyx_gui.C: out preamble
14580         * src/lyx_gui_misc.C: out preamble
14581         * src/lyxfunc.C: connect with guii preamble
14582
14583 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
14584
14585         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14586
14587 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
14588
14589         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14590         whether to run bibtex.
14591
14592 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
14593
14594         * Makefile.am (lyx_SOURCES): Remove BackStack.h
14595
14596 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14597
14598         * Makefile.am (lyx_SOURCES): removed bibforms.h
14599
14600         * vspace.h: doxygen
14601
14602         * text.C (GetVisibleRow): make several local vars const
14603
14604         * tabular.C: small cleanup.
14605
14606         * lyxserver.C (callback): use compare instead of strncmp
14607
14608         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14609         inlines to after class or to paragraph.C
14610
14611         * lyxfont.h: remove friend operator!=
14612
14613         * converter.h: move friend bool operator< to non friend and after
14614         class def.
14615
14616         * combox.h: small cleanup
14617
14618         * buffer.h: doxygen, remove unused constructor, move inclas inlies
14619         to inlines after class def.
14620
14621         * buffer.C (pop_tag): use string operations instead of strcmp
14622
14623         * bmtable.c: doxygen, small cleanup
14624
14625         * LaTeX.h: remove friend operator==
14626
14627 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
14628
14629         * screen.C:
14630         * lyxrc.[Ch]:
14631         * lyxfunc.C:
14632         * lyxfont.[Ch]:
14633         * lyx_cb.C:
14634         * intl.[Ch]:
14635         * commandtags.h:
14636         * buffer.C:
14637         * WorkArea.[Ch]:
14638         * LyXAction.C:
14639         * BufferView_pimpl.C:
14640         * BufferView.[Ch]: remove cruft
14641
14642 2001-02-14  Juergen Vigna  <jug@sad.it>
14643
14644         * lyxfunc.C: removed #if 0 unused code
14645
14646         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14647
14648         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14649
14650         * text2.C (SetSelection): added a BufferView * parameter
14651
14652 2001-02-13  Juergen Vigna  <jug@sad.it>
14653
14654         * lyxfunc.C (Dispatch): fixed protected blank problem.
14655         * BufferView2.C (protectedBlank): added LyxText * parameter.
14656
14657         * tabular.C (AppendRow): forgot to set row_info of newly added row.
14658         (AppendColumn): same as above for column_info.
14659
14660         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14661         (moveCursorUpdate): use a LyXText param for support of InsetText.
14662
14663         * BufferView_pimpl.C (doubleClick): added support for InsetText.
14664         (tripleClick): ditto
14665
14666         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14667
14668         * BufferView_pimpl.C (update): added LyXText param to honor insets.
14669
14670         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14671
14672         * text2.C (SetSelection): set correct update status if inset_owner
14673         (ToggleFree): ditto
14674
14675 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
14676
14677         * tabular.C: remove some commented code.
14678
14679 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
14680
14681         * BufferView_pimpl.C: call hideSplash()
14682
14683         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14684
14685         * include_form.h:
14686         * bibforms.h: remove
14687
14688         * lyxfunc.C:
14689         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14690           add LFUN_CHILD_CREATE
14691
14692         * counters.h: fix tiny typo
14693
14694         * lyx_cb.C:
14695         * lyx.h:
14696         * lyx_gui.C:
14697         * lyx.C: move splash to frontends/xforms/
14698
14699         * lyx_gui_misc.C: move Include and Bibform to frontends
14700
14701         * lyxvc.h: clarify comment
14702
14703         * vspace.C: tiny housekeeping
14704
14705 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
14706
14707         * text.C (PrepareToPrint): RTL Fix.
14708
14709         * paragraph.C (GetUChar): New method.
14710         (String):  Use GetUChar.
14711
14712         * buffer.C (asciiParagraph): Use GetUChar.
14713
14714 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
14715
14716         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14717
14718 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
14719
14720         * buffer.h:
14721         * buffer.C: rename to getLogName(), handle
14722           build log / latex log nicely
14723
14724 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14725
14726         * MenuBackend.C:
14727         * MenuBackend.h: remove support for reference menuitem type.
14728
14729 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
14730
14731         * BufferView_pimpl.C: housekeeping
14732         * BufferView_pimpl.h:
14733         * LyXView.h:
14734         * Makefile.am:
14735         * Timeout.C:
14736         * Timeout.h:
14737         * minibuffer.h: move Timeout GUI-I
14738
14739 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
14740
14741         * lyxrc.C (read): Update converters data-structures.
14742
14743 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
14744
14745         * LaTeX.h (operator!=): add operator != for Aux_Info
14746
14747 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
14748
14749         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14750
14751         * LaTeXLog.C: deleted, useful code moved to Buffer
14752
14753         * buffer.h:
14754         * buffer.C: new function getLatexLogName()
14755
14756         * lyx_gui_misc.C:
14757         * lyx_gui.C:
14758         * lyxvc.C:
14759         * lyxvc.h:
14760         * lyxfunc.C: use frontends for LaTeX and VC logs
14761
14762 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14763
14764         * LaTeX.h: yet another std:: that Allan forgot.
14765
14766         * Variables.C (set): renamed from isset(), because this clashes
14767         with some HP-UX macros (grr).
14768
14769 2001-02-06  Allan Rae  <rae@lyx.org>
14770
14771         * LaTeX.h: Another bug fix.  Missing std:: this time.
14772
14773 2001-02-04  Allan Rae  <rae@lyx.org>
14774
14775         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14776         floats problem. I've left it commented out because it's not quite
14777         correct.  It should also test that the current object is a table or
14778         figure inset.  But I haven't gotten around to figuring out how to do
14779         that.  I *think* it'll be something like: "table" == inset.type()
14780
14781         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14782         bool.
14783
14784 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
14785
14786         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14787         all the citation/databases/styles in the auxilary file.
14788         (run): Rerun latex if there was a babel language error.
14789
14790 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
14791
14792         * text.C (Backspace): Preserve the font when changing newline char
14793         with a space.
14794         (BreakParagraph): If the cursor is before a space, delete the space.
14795
14796         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14797
14798 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
14799
14800         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14801         new argument (code).
14802         (ChangeCitationsIfUnique): New method.
14803
14804         * paragraph.C (GetPositionOfInset): Handle bibkey.
14805
14806 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14807
14808         * BufferView_pimpl.h: change type of Position::par_pos to
14809         LyXParagraph::size_type.
14810
14811 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
14812
14813         * BufferView_pimpl.C (savePosition, restorePosition): Write
14814         messages to minibuffer.
14815
14816 2001-01-28  José Matos  <jamatos@fep.up.pt>
14817
14818         * buffer.C (makeDocBookFile): adds support for document language.
14819         A silly restriction on the name of LatexCommand types where removed.
14820         Added support for CDATA sections, allows to chars unescaped, used
14821         among others in code, to avoid escape < and >.
14822
14823 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14824
14825         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14826         saved positions instrad of a stack. Furthermore, a position is
14827         stored using paragraph id/paragraph position.
14828
14829         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14830         Remove LFUN_REF_BACK.
14831
14832 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14833
14834         * converter.C (dvipdfm_options): New method.
14835
14836 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14837
14838         * vspace.C (isValidLength): Fix for empty input string.
14839
14840 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14841
14842         * LyXAction.C (init): change description of LFUN_FIGURE to
14843         "Insert Graphics"
14844
14845 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14846
14847         * LaTeX.C: add using directive
14848
14849 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14850
14851         * MenuBackend.C (expand): Fix the sorting of the formats.
14852
14853 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14854
14855         * lyx_main.C: tiny error message fix
14856
14857 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14858
14859         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14860         calling fl_initialize(). This fixes the problem with ',' as
14861         decimal separator in text files.
14862
14863 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14864
14865         * trans.C (process): Fix the keymap bug.
14866
14867 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
14868
14869         * LaTeX.C (scanAuxFiles): New method. Provides support for
14870         multiple bibliographies (when using the bibtopic/bibunits pacakges).
14871         (scanLogFile) Scan for "run BibTeX" messages.
14872
14873         * buffer.C (makeLaTeXFile): Do not load the ae package when using
14874         OT1 font encoding. Also, load the aecompl package if the ae
14875         package is loaded.
14876
14877         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14878
14879 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14880
14881         * texrow.C (increasePos): turn two error messages into debug
14882         messages.
14883
14884 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
14885
14886         * LaTeX.C (scanAux): Handle the \@input macro.
14887         (runBibTeX): Use scanAux().
14888
14889         * language.C (latex_options_): New field.
14890
14891         * LaTeXFeatures.C (getMacros): Add language macros.
14892
14893         * buffer.C (makeLaTeXFile): Small fix.
14894
14895 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14896
14897         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14898
14899         * text2.C: add a using directive.
14900
14901 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14902
14903         * BufferView2.C:
14904         * lyx_gui_misc.h:
14905         * lyxfr1.C:
14906         * lyxfunc.C: kill LyXBell.
14907
14908 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14909
14910         * text.C (IsBoundary): Remove the error message
14911
14912         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14913
14914         * lyxrc.C (setDefaults): Correct initialization value for
14915         font_norm_type.
14916
14917 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14918
14919         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14920         gotoError().
14921
14922         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14923         and GotoNextNote().
14924
14925         * src/LyXAction.C: Added reference-next.
14926
14927         * text.C (InsertChar): Use contains instead of strchr.
14928
14929         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14930
14931 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14932
14933         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14934         alignment commands (when needed).
14935
14936         * text.C (InsertChar): Add ':' to number separator chars.