]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
remove part of old texted<->mathed interface
[lyx.git] / src / ChangeLog
1 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2
3         * LColor.C (getFromLyXName): make sure that the color name is used
4         as lowercase.
5 2004-03-17  Angus Leeming  <leeming@lyx.org>
6
7         * lfuns.h:
8         * LyXAction.C (init): remove LFUN_FORKS_KILL.
9
10         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
11         dialog and to kill a forked process.
12
13 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
14
15         * text2.C (setCursorFromCoordinates): fix font problem
16
17 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
18
19         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
20         bogus "rebuild cursor" code
21
22 2004-03-11  André Pönitz  <poenitz@gmx.net>
23
24         * buffer.[Ch]: use InsetText instead of LyXText as container for 
25         the main lyx text.
26
27         * dociterator.[Ch]: drop the BufferView * member which is not needed
28         anymore after the change to buffer.C
29
30         * paragraph_funcs.C:
31         * text.C:
32         * text2.C:
33         * BufferView.[Ch]:
34         * BufferView_pimpl.[Ch]:
35         * cursor.[Ch]:
36         * cursor_slice.[Ch]: adjust
37
38         * text3.C: fix bug in mathDispatch
39
40 2004-03-08  André Pönitz  <poenitz@gmx.net>
41
42         * undo.[Ch]: use 'StableDocumentIterator' as base for
43         the Undo struct.
44
45 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
46
47         * LaTeXFeatures.C:
48         * bufferparams.[Ch]: add jurabib support and param.
49
50         * LaTeX.C: add FIXME/comment.
51
52 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
53
54         * buffer.C: increment file format to 230.
55
56 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
57
58         * cursor.C (dispatch): avoid infinite loops
59
60 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
61
62         * rowpainter.C (paintSelection): fix x coordinates
63
64 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
65
66         * text.C (rowBreakPoint): fix breaking before displayed insets
67
68 2004-03-01  André Pönitz  <poenitz@gmx.net>
69
70         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
71
72         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
73
74         * Makefile.am:
75         * BufferView.C:
76         * BufferView_pimpl.C:
77         * buffer.C:
78         * lyxfind.C:
79         * lyxfunc.C:
80         * text.C:
81         * text2.C:
82         * text3.C: adjust
83
84 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
85
86         * lyxtext.h:
87         * text.C:
88         * text2.C:
89         * rowpainter.C:
90         * BufferView_pimpl.C: rename textwidth -> maxwidth, 
91         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
92
93 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
94
95         * Bidi.[Ch] (computeTables): const correctness
96         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
97         fill_hfill, fill_label_hfill and x from Row
98         * lyxtext.h: prepareToPrint returns a RowMetrics
99         * rowPainter.C: adjust
100         * text.C (prepareToPrint): use width, not textWidth. adjust
101         (redoParagraphInternal, cursorX): adjust
102         * text2.C (getColumnNearX): adjust
103         (init): put a default value to the top LyXText::width
104
105 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
106
107         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here 
108
109 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
110
111         * lyxtext.h: add FontIterator class 
112
113         * text.C (FontIterator, operator*, operator->, operator++): add
114         (rowBreakPoint, setRowWidth): adjust (fixing a
115         rebreaking bug)
116
117 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
118
119         * BufferView_pimpl.C (workAreaDispatch): allow also
120         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
121
122 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
123
124         * text.C (rowBreakPoint): fix a bug showing with very large insets
125
126 2004-02-25  André Pönitz  <poenitz@gmx.net>
127
128         * text3.C:
129         * cursor.[Ch]: move some mathed specific code to mathed
130
131 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
132
133         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
134         use_tempdir in preferences
135         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
136         tempfile creation
137         * lyx_main.C: ensure that tempdir is valid
138         * lyxlex.h: correct typo
139         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
140         * paragraph.[Ch] (isMultiLingual): make const
141         * cursor.[Ch] (openable): make const
142
143 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
144
145         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
146
147 2004-02-20  André Pönitz  <poenitz@gmx.net>
148
149         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
150
151         * cursor.[Ch]: prepare for localized getStatus()
152
153         * lyxtext.h:
154         * tabular.C:
155         * text.C:
156         * text2.C:
157         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
158
159 2004-02-20  André Pönitz  <poenitz@gmx.net>
160
161         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
162
163 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
164
165         * text2.C (setCursorFromCoordinates): switch to absolute coords
166         (cursorUp): adjust
167         (cursorDown): adjust
168         * text3.C (dispatch): adjust
169
170 2004-02-16  André Pönitz  <poenitz@gmx.net>
171
172         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
173           insets/ChangeLog)
174
175         * cursor_slice.[Ch]: remove unneeded acessor function
176
177         * lyxtext.h: rename rtl() to isRTL()
178
179         * rowpainter.C:
180         * tabular.C:
181         * text.C:
182         * text2.C:
183         * text3.C: adjust
184
185 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
186
187         * rowpainter.C (paintSelection): coord fix
188
189 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
190
191         * Spacing.C: compile fix
192
193 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
194
195         * cursor.C (dispatch): restore current_ before returning
196
197 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
198
199         * text2.C (cursorUp, cursorDown): fix coords
200         (moveUp): fix crash
201
202 2004-02-12  André Pönitz  <poenitz@gmx.net>
203
204         * lyxtext.h:
205         * text.C:
206         * text2.C:
207         * text3.C: add LCursor & parameter to most cursor movement functions
208           remove usage of LyXText::cursorRow() and cursorPar()
209
210         * cursor.[Ch]: add textRow() needed members
211
212         * BufferView.C:
213         * BufferView_pimpl.C:
214         * paragraph.[Ch]:
215         * BufferView.C:
216         * BufferView_pimpl.C: adjust
217
218 2004-02-11  André Pönitz  <poenitz@gmx.net>
219
220         * lyxfunc.C:
221         * BufferView.[Ch]:
222         * BufferView_pimpl.C: shift undo/redo handling
223
224         * cursor.[Ch]: fix mathed crash
225
226         * lyxfind.C:
227         * lyxtext.h: move selectionAsText to LCursor
228
229         * output_latex.C:
230         * paragraph.C:
231         * text.C:
232         * text2.C:
233         * text3.C: adjust
234
235         * rowpainter.C: fix excessive drawing
236
237 2004-02-06  André Pönitz  <poenitz@gmx.net>
238
239         * BufferView.[Ch]:
240         * BufferView_pimpl.[Ch]:
241         * text3.C: move some text specific LFUN handling
242
243 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
244
245         * text3.C (checkInsetHit): adjust coords
246         * text2.C (getColumnNearX): adjust coords
247         (edit): adjust coords
248         * text.C (getRowNearY): add two asserts
249
250 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
251
252         * converter.C:
253         * format.C: add using std::distance to compile on gcc 2.95/stlport
254
255 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
256
257         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
258
259 2004-02-04  André Pönitz  <poenitz@gmx.net>
260
261         * BufferView.[Ch] (insertInset):
262         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value 
263
264         * text2.C:
265         * text3.C: adjust
266
267 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
268
269         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch 
270         on the default clause of the switch
271         * lyxfunc.C (dispatch): call BufferView::dispatch if the event 
272         wasn't catched by LCursor::dispatch
273
274 2004-02-03  André Pönitz  <poenitz@gmx.net>
275
276         * BufferView.C:
277         * cursor.[Ch]: some additional asserts
278
279         * undo.[Ch]: remove LyXText dependency in interface
280
281         * lyxfunc.C: adjust
282
283         * lyxtext.h (firstPar, lastPar): remove dead functions 
284
285         * text.C:
286         * text2.C:
287         * text3.C:
288         * paragraph.[Ch]: adjust
289
290 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
291
292         * lyxfind.C (find): fix argument order in call to ::find
293
294 2004-02-02  André Pönitz  <poenitz@gmx.net>
295
296         * cursor.[Ch]: remove direct access to anchor
297
298         * text.C: remove findText() hack
299
300 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
301
302         * iterators.[Ch] (lockPath): remove in favour of...
303         * BufferView.[Ch] (setCursor): this addition
304         * BufferView.C (putSelectionAt): adjust
305         * undo.C (performUndoOrRedo): adjust
306         * lyxfunc.C (dispatch): adjust
307
308 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
309
310         * iterators.C (lockPath): add a missing slice
311         * undo.C (performUndoOrRedo): remove redundant positioning code
312
313 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
314
315         * vc-backend.C (scanMaster): ";" -> ';'
316
317 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
318
319         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
320         std::binary_function
321
322         * lyxtextclass.C (compare_name): rename to...
323         (LayoutNamesEqual): ...this
324
325         * lyxlex_pimpl.C (compare_tags): inherit from
326         std::binary_function, put back into anon namespace
327
328         * lyxfind.C (MatchString): inherig from std::binary_function
329         (findChange): use empty() istead of !size()
330
331         * format.C (FormatNamesEqual): new functor
332         (getFormat): use it
333         (getNumber): use it
334         (add): use it
335         (erase): use it
336         (setViewer): use it
337
338         * converter.C (compare_Converter): rename to...
339         (ConverterEqual): ...this, and fixup a bit.
340         (getConverter): use it, and make function const
341         (getNumber): use it, and make function const
342         (add): use it
343         (erase): use it:
344
345         * bufferlist.C: add using boost::bind
346
347         * MenuBackend.C (MenuNamesEqual): new functor
348         (hasMenu): use it, and make function const
349         (hasSubmenu): use nested bind to get rid of compare_memfun.
350
351 2004-01-30  André Pönitz  <poenitz@gmx.net>
352
353         * BufferView_pimpl.C:
354         * cursor.C:
355         * cursor.h:
356         * cursor_slice.[Ch]:
357         * lyxfunc.C:
358         * lyxtext.h:
359         * paragraph_funcs.C:
360         * paragraph_funcs.h:
361         * rowpainter.C:
362         * text.C:
363         * text2.C:
364         * text3.C: move some of the edit(x,y) handling to the insets
365         some coordinate changes.
366
367 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
368
369         * text.C: add using statements for std::advance and std::distance
370
371         * paragraph.C: add using statement for std::distance
372
373         * lyxfind.C: add using statement for std::advance
374
375         * cursor.C (region): remove std:: from swap
376         (openable): use nucleus in stead of operator->
377
378         * BufferView.C: add using statements for std::distance and std::swap
379
380 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
381
382         * iterators.C: Remove the pimple, move the needed structures to
383         the header file. Create accessor for the positions stack.
384         (asPosIterator): remove function
385
386         * PosIterator.C (PosIterator): move constructors to top of file
387         (PosIterator): reimplement the constructor taking a ParIterator in
388         terms of setFrom.
389         (setFrom): new function
390         (operator!=): inline it
391
392 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
393
394         * lyxfind.C (replaceAll): use std::advance
395
396         * iterators.h: inherit from std::iterator.
397
398         * PosIterator.C (advance, distance): remove
399         * PosIterator.h: interit from std::iterator.
400
401 2004-01-26  André Pönitz  <poenitz@gmx.net>
402
403         * BufferView.[Ch]:
404         * BufferView_pimpl.[Ch]:
405         * InsetList.[Ch]:
406         * PosIterator.[Ch]:
407         * buffer.h:
408         * bufferview_funcs.C:
409         * cursor.[Ch]:
410         * cursor_slice.h:
411         * factory.[Ch]:
412         * iterators.[Ch]:
413         * lyxfind.C:
414         * lyxfunc.C:
415         * lyxtext.h:
416         * output_docbook.C:
417         * output_latex.C:
418         * output_linuxdoc.C:
419         * output_plaintext.C:
420         * paragraph.[Ch]:
421         * paragraph_funcs.[Ch]:
422         * paragraph_pimpl.[Ch]:
423         * rowpainter.C:
424         * tabular.C:
425         * tabular.h:
426         * text.C:
427         * text2.C:
428         * text3.C: more IU:  dumps most of the rest of the mathcursor
429     implementation into cursor.[Ch]; "globalize" a bit of it.
430
431 2004-01-25  Angus Leeming  <leeming@lyx.org>
432
433         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
434
435 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
436
437         * LaTeXFeatures.h: add nice_ and nice() const
438         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
439
440 2004-01-20  André Pönitz  <poenitz@gmx.net>
441
442         * BufferView.[Ch]:
443         * BufferView_pimpl.C:
444         * PosIterator.C:
445         * bufferview_funcs.C:
446         * cursor.[Ch]:
447         * cursor_slice.[Ch]:
448         * factory.C:
449         * iterators.C:
450         * lyx_cb.C:
451         * lyxfind.C:
452         * lyxfunc.C:
453         * lyxtext.h:
454         * rowpainter.C:
455         * text.C:
456         * text2.C:
457         * text3.C:
458         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
459           LCursor and mathcursor parts to LCursor and InsetBase.
460
461 2004-01-15  André Pönitz  <poenitz@gmx.net>
462
463         * cursor_slice.[Ch]: add a few covienience functions
464
465         * funcrequest.[Ch]: remove BufferView * member
466
467         * BufferView_pimpl.C:
468         * cursor.C:
469         * factory.[Ch]:
470         * lyxfind.[Ch]:
471         * lyxfunc.C:
472         * lyxtext.h:
473         * text3.C:
474         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
475
476 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
477
478         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
479         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
480
481 2004-01-13  André Pönitz  <poenitz@gmx.net>
482
483         * textcursor.[Ch]:
484         * lyxtext.h: hide cursor and selection anchor behind accessor function
485
486         * BufferView.C:
487         * BufferView_pimpl.[Ch]:
488         * PosIterator.C:
489         * bufferview_funcs.C:
490         * cursor.h:
491         * lyxfind.C:
492         * lyxfunc.C:
493         * text.C:
494         * text2.C:
495         * text3.C:
496         * undo.C: adjust
497
498         * cursor.h:
499         * cursor_slice.[Ch]: some integer type changes for inset unification
500
501         * lyxcursor.[hC]: remove, it's CursorSlice now.
502
503         * Makefile.am:
504         * BufferView_pimpl.[Ch]:
505         * bufferview_funcs.C:
506         * cursor_slice.C:
507         * lyxtext.h:
508         * text.C:
509         * text2.C:
510         * text3.C:
511         * textcursor.[Ch]: adjust
512
513 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
514
515         * text2.C (undoSpan): add and use
516         * text.C (breakParagraph): use undoSpan (fix bug 578)
517         * lyxtext.h: adjust
518
519 2004-01-08  Angus Leeming  <leeming@lyx.org>
520
521         * BufferView_pimpl.C (MenuInsertLyXFile):
522         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
523         * lyxfunc.C (menuNew, open, doImport):
524         FileFilterList change to the FileDialog open and save functions.
525
526 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
527
528         * ShareContainer.h: make isEqual and isUnique adaptable
529
530         * CutAndPaste.C: make resetOwnerAndChanges adaptable
531
532 2004-01-07  Angus Leeming  <leeming@lyx.org>
533
534         * LyXAction.C:
535         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
536
537         * BufferView_pimpl.C (dispatch): act on these LFUNs.
538
539         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
540         functions replacing find, replace and replaceAll.
541
542         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
543         LFUN_WORDFIND(FORWARD|BACKWARD).
544
545 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
546
547         * text.C (breakParagraph): remove an outdated #warning
548
549 2004-01-07  André Pönitz  <poenitz@gmx.net>
550
551         * lyxfind.C: somewhat clearer logic
552
553         * text.C: prevent crash in cursorX on unitialized row cache
554
555 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
556
557         * lyxcursor.[Ch] (operator>): add
558         * textcursor.C (selStart, selEnd): use std::min and std::max
559
560 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
561
562         * Chktex.C: include boost/format.hpp
563
564 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
565
566         * InsetList.C: replace functor MathcIt with adaptable functor
567         InsetTablePosLess
568         (insetIterator): modify accordingly
569
570         * BranchList.h: move the BranchNamesEqual functor here from...
571         * BranchList.C: ... to here
572
573         * BranchList.C: new BranchListEqual fuctor, use it. Remove
574         SameName and match.
575         (add): replace a finding loop with std::find_if.
576
577 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
578
579         * output_docbook.C: moving LatexParam functionality into
580         .layout files
581
582 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
583
584         * buffer.C: increment format to 229.
585
586 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
587
588         * LaTeXFeatures.C:
589         * lyx_sty.[Ch]: remove minipageindent_def
590
591         * LyXAction.C:
592         * factory.C:
593         * lfuns.h:
594         * lyxfunc.C:
595         * text3.C: remove LFUN_INSET_MINIPAGE
596
597 2003-12-28  Angus Leeming  <leeming@lyx.org>
598
599         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
600
601 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
602
603         * text2.C (setParagraph): fix off-by-one crash
604
605 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
606
607         * output_docbook.C: header stuff for AGU
608
609 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
610
611         * text2.C (redoCursor): remove
612         * text.C:
613         * text3.C:
614         * BufferView_pimpl.C: remove calls to redoCursor and
615         setCursor(cursor.par(), cursor.pos()) all around
616
617 2003-12-15  Angus Leeming  <leeming@lyx.org>
618
619         * buffer.C: up the format to 228.
620
621 2003-12-15  André Pönitz  <poenitz@gmx.net>
622
623         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
624         slices
625
626         * Makefile.am:
627
628         * BufferView_pimpl.C:
629         * cursor.[Ch]:
630         * lyxcursor.[Ch]:
631         * rowpainter.[Ch]:
632         * lyxtext.h:
633         * text.C:
634         * text2.C:
635         * text3.C: adjust
636
637 2003-12-15  Angus Leeming  <leeming@lyx.org>
638
639         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
640         than getFromGUIName to manipulate the color.
641
642 2003-12-14  Angus Leeming  <leeming@lyx.org>
643
644         * BranchList.[Ch]: minimize the API.
645         (Branch::getBranch, getColor): now return a 'const &'.
646         (Branch::setSelected) now returns a bool set to true if the
647         selection status changes.
648         (BranchList::clear, size, getColor, setColor, setSelected,
649         allBranches, allSelected, separator): removed.
650         (BranchList::find): new functions, returning the Branch with
651         the given name.
652         (BranchList::add, remove): return a bool indicating that
653         the operation was successful.
654
655         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
656         new InsetBranch::isBranchSlected member function.
657
658         * LColor.[Ch]: mimimize the API.
659         (fill): renamed as addColor and made private.
660         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
661         versions of these functions taking a string arg have been removed.
662
663         * bufferparams.C (readToken):
664         * lyxfunc.C (dispatch):
665         * lyxrc.C (read): changes due to the altered BranchList and
666         LColor APIs.
667
668         * factory.C (createInset, readInset): changes due to altered
669         InsetBranch c-tor.
670
671 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
672
673         * factory.C:
674         * lyxfunc.C: remove insetminipage. "minipage-insert"
675         now produces a frameless minipage box inset.
676
677 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
678
679         * textcursor.[Ch] (selStart,selEnd): add new methods
680         remove selection::start, end, use LyXCursor::operator<
681         * lyxcursor.[Ch] (operator<): add
682         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
683         * BufferView.[Ch] (unsetXSel): add
684         * text2.C (clearSelection): use unsetXSel,adjust
685         * text.C: adjust
686         * text3.C: adjust
687         * rowpainter.C: adjust
688         * bufferview_funcs.C (put_selection_at): adjust
689
690 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
691
692         * BufferView_pimpl.C: small coord. correction
693
694 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
695
696         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
697         dragging over the splash screen.
698
699 2003-12-11  Angus Leeming  <leeming@lyx.org>
700
701         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
702         as it is now handled in LyXText::dispatch.
703
704         * text3.C (doInsertInset): remove a level of nesting.
705
706 2003-12-11  Angus Leeming  <leeming@lyx.org>
707
708         * factory.C (createInset): changes due to the changed interface to
709         InsetCommandMailer::string2params.
710
711 2003-12-10  Angus Leeming  <leeming@lyx.org>
712
713         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
714         'dialog-show-new-inset <inset name>'
715
716 2003-12-10  Angus Leeming  <leeming@lyx.org>
717
718         * buffer.C: up the format to 227.
719
720         * factory.C: the box inset is now identified simply by 'Box'.
721
722 2003-12-10  Angus Leeming  <leeming@lyx.org>
723
724         * buffer.C: up the format to 226.
725
726         * factory.C: the note inset is now identified simply by 'Note'.
727
728 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
729
730         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
731         when a pit is enough. Standarize a couple of loops.
732
733 2003-12-05  Angus Leeming  <leeming@lyx.org>
734
735         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
736         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
737         data to the re-worked "log" dialog.
738
739 2003-12-03  André Pönitz  <poenitz@gmx.net>
740
741         * PosIterator.C:
742         * iterators.C:
743         * lyxtext.h:
744         * output_latex.C:
745         * paragraph_funcs.C:
746         * text.C:
747         * text2.C: use Inset::getText instead of Inset::getParagraph
748
749 2003-12-03  André Pönitz  <poenitz@gmx.net>
750
751         * buffer.[Ch]:
752         * lyxtext.h:
753         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
754         InsetText::read() as LyXText::read()
755
756 2003-12-02  Angus Leeming  <leeming@lyx.org>
757
758         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
759         type. Add a comment in the implementation that the function uses
760         the stream's bad() function rather than fail() as the std::streams
761         would do.
762
763 2003-12-02  André Pönitz  <poenitz@gmx.net>
764
765         * lyxlex.[Ch]: make interface more similar to std::stream
766
767         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
768
769 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
770
771         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
772
773 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
774
775         * vspace.[Ch]: remove VSpace::NONE
776
777 2003-12-01  André Pönitz  <poenitz@gmx.net>
778
779         * buffer.[Ch]:
780         * lyxtext.h: move ParagraphList member to LyXText
781         rename LyXText::ownerParagraphs to LyXText::paragraph
782
783         * CutAndPaste.C:
784         * bufferview_funcs.C:
785         * iterators.[Ch]:
786         * lyx_cb.C:
787         * paragraph.C:
788         * rowpainter.C:
789         * tabular.C:
790         * text.C:
791         * text2.C:
792         * text3.C: adjust
793
794         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
795
796         * undo.C: fix cursor positioning
797
798 2003-12-01  John Levon  <levon@movementarian.org>
799
800         * BufferView_pimpl.C: fix a crash on exit with
801         a buffer open
802
803 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
804
805         * BranchList.C: fix setSelected() method.
806
807 2003-11-28  André Pönitz  <poenitz@gmx.net>
808
809         * ParagraphParameters.[Ch]:
810         * ParameterStruct.h: remove space above/below from Paragraph to
811          InsetVSpace
812
813         * BufferView_pimpl.C:
814         * factory.C:
815         * lyxfunc.C:
816         * lyxtext.h:
817         * output_latex.C:
818         * paragraph.C:
819         * paragraph_funcs.C:
820         * rowpainter.[Ch]:
821         * text.C:
822         * text2.C:
823         * text3.C: adjust
824
825 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
826
827         * factory.C: Syntax change for CharStyles
828
829 2003-11-28  André Pönitz  <poenitz@gmx.net>
830
831         * BufferView.[Ch]:
832         * BufferView.[Ch]:
833         * buffer.[Ch]:
834         * buffer.[Ch]: move LyXText member
835
836 2003-11-28  André Pönitz  <poenitz@gmx.net>
837
838         * BufferView.[Ch]: make LyXText * text a private member
839
840         * BufferView_pimpl.C:
841         * cursor.C:
842         * iterators.C:
843         * lyx_cb.C:
844         * lyxfind.C:
845         * lyxtext.h:
846         * rowpainter.[Ch]:
847         * text.C:
848         * text2.C:
849         * undo.C: adjust
850
851         * output_plaintext.C: cleanup
852
853 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
854
855         * buffer.C:
856         * lyxtextclass.[Ch]: parametrize SGML document header
857
858 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
859
860         * converter.[Ch]:
861         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
862         getFlavor().
863
864 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
865
866         * text2.C (setFont): rework using PosIterator (no more recursive)
867         (setCharFont): no more needed
868         (setLayout): no more selection cursors fiddling (done by redoCursor)
869         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
870         destroy remaining ones)
871
872 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
873
874         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
875         * lyxtext.h: ditto
876         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
877         selection cursors
878         * lyxfunc.C: adjust
879         * text3.C: adjust + re-allow multi par depth changes
880         * textcursor.C: simplify a bit
881
882 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
883
884         * src/buffer.C:
885         * src/lyxlayout.C:
886         * src/lyxlayout.h:
887         * src/lyxtext.h:
888         * src/output_docbook.C:
889         * src/output_latex.C:
890         * src/paragraph.C:
891         * src/paragraph.h:
892         * src/sgml.C:
893         * src/sgml.h:
894         * src/text2.C: Introducing a number of tags parametrizing various
895         XML formats that we may want to support
896
897 2003-11-25  André Pönitz  <poenitz@gmx.net>
898
899         * InsetList.[Ch] (begein, end): inline as suggested by profiler
900
901         * lyxtext.h (leftMargin/rightMargin): simplify interface
902
903         * rowpainter.C:
904         * text.C:
905         * text2.C:
906         * text3.C: adjust
907
908 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
909
910         * lyxfunc.C (dispatch): propogate the bibtex databases from the
911         master file to any child files. Fixes bug 546.
912
913 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
914
915         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
916
917 2003-11-24  André Pönitz  <poenitz@gmx.net>
918
919         * rowpainter.C: simplification
920
921         * text2.C (updateCounters): remove call to redoParagraph on
922         changed labels as this is far too expensive.
923
924 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
925
926         * converter.C (convert): fix a crash: this function gets
927         called with buffer == 0 from importer code.
928
929 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
930
931         * text3.C (cursorPrevious): make sure that we do not compare
932         iterators form different containers.
933         (cursorNext): ditto
934
935         * rowpainter.C (paintSelection): make sure that we do not compare
936         iterators from different containers.
937
938         * text3.C (dispatch): [PRIOR] make sure that we do not compare
939         iterators from different ParagraphList containers.
940         [NEXT] ditto
941
942         * text2.C (LyXText): change order of initialization slightly
943         (operator=): new function. copy all variables except cache_par_
944         (moveUp): make sure that we do not compare iterators from
945         different ParagraphList constainers.
946         (moveDown): ditto
947
948         * text.C (firstPar): new function
949         (lastPar): new function
950         (endPar): new function
951
952         * lyxtext.h: move things around and group public functions, public
953         variables, private functions, private variables
954
955 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
956
957         * factory.C: change call to InsetERT constructor to avoid
958         additional invocation of method status
959         * text2.C (toggleInset): remove redundant update() call
960         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
961         instead of a Bufferview pointer
962
963 2003-11-21  André Pönitz  <poenitz@gmx.net>
964
965         * rowpainter.C: simplification
966
967 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
968
969         * text3.C (dispatch): make possible to extend a word/row selection
970         with the mouse
971
972 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
973
974         * lyxtext.h: x0_,y0_ -> xo_,yo_
975         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
976         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
977         * rowpainter.C (paintRows): paint full paragraphs
978
979 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
980
981         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
982         screen coordinates)
983
984 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
985
986         * lyxtext.h: add x0_, y0_
987         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
988         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
989
990 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
991
992         * text2.C (setCursorIntern): move the x_target update here *
993         * text3.C: change some bv() to true/false in calls to
994         cursorUp/Down/Right/Left
995         * cursor.C: use helper function.
996
997 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
998
999         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1000         * paragraph_funcs.[Ch]: correct comment
1001         * rowpainter.C: do not paint selections away from bv->cursor()
1002         Fix a long standing selection painting bug.
1003         * text3.C: generalize mouse-selection code to LyXTexts other that
1004         top one
1005         * textcursor.C: do not use y coords if we can use par offsets
1006
1007 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1008
1009         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1010         cursor position after e.g. inset insert)
1011
1012 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
1013
1014         * lyxfind.C (replace): adjust to locking removal + some
1015         code simplification
1016
1017 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
1018
1019         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1020         of the path
1021
1022 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
1023
1024         * lyxlayout.[Ch]:
1025         * output_docbook.C: XML sanitation: new layout
1026         parameters InnerTag and CommandDepth
1027
1028 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
1029
1030         * BufferView_pimpl.C:
1031         * factory.C:
1032         * text3.C: Fix the insertion and modification of button-style
1033         insets
1034
1035 2003-11-13  André Pönitz  <poenitz@gmx.net>
1036
1037         * InsetList.[Ch]: remove deleteLyXText
1038
1039         * paragraph.[Ch]: cache beginOfBody position
1040
1041         * Bidi.C:
1042         * text.C:
1043         * text2.C:
1044         * text3.C: remove superfluous update() calls
1045
1046         * vspace.C: cleanup
1047
1048 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
1049
1050         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1051         * BufferView.C (fitLockedInsetCursor): remove
1052         * cursor.[Ch] (getDim): add
1053         * text.C (getRowNearY): add faster version
1054         * text3.C: remove some update calls
1055
1056 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
1057
1058         * LaTeXFeatures.C:
1059         * LyXAction.C:
1060         * MenuBackend.C:
1061         * MenuBackend.h:
1062         * dispatchresult.h:
1063         * factory.C:
1064         * lfuns.h:
1065         * lyxfunc.C:
1066         * lyxtextclass.C:
1067         * lyxtextclass.h:
1068         * text3.C: The Character Style /XML short element patch.
1069
1070 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
1071
1072         * text3.C:
1073         * factory.C: Small step to solving 'unable to insert some insets'
1074         problem
1075
1076 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1077
1078         * cursor.[Ch] (updatePos): new function for updating the y
1079         position of the tip inset
1080         * bufferview_funcs.C (put_selection_at):
1081         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1082
1083 2003-11-11  André Pönitz  <poenitz@gmx.net>
1084
1085         * text.C: remove big comment on invalid Paragraph pointers as it is
1086         not valid anymore
1087
1088 2003-11-11  André Pönitz  <poenitz@gmx.net>
1089
1090         * text_funcs.[Ch]: merge with ...
1091
1092         * text.C: ... this
1093
1094         * lyxtext.h:
1095         * text2.C:
1096         * text3.C: adjust
1097
1098         * Makefile.am: remove text_funcs.[Ch]
1099
1100 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
1101
1102         * cursor.C (getPos): return absolute cached y coord
1103
1104         * BufferView_pimpl.C (fitCursor): new simplistic code
1105         (workAreaDispatch): add a fitCursor call
1106
1107 2003-11-10  André Pönitz  <poenitz@gmx.net>
1108
1109         * BufferView.[Ch]:
1110         * BufferView_pimpl.[Ch]: merge update() and updateInset()
1111
1112 2003-11-10  André Pönitz  <poenitz@gmx.net>
1113
1114         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1115         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1116         indicate that the cursor needs to leave an inset
1117
1118         * lyxtext.h: remove inset locking
1119
1120         * cursor.[Ch]: re-implement functionality provided by inset locking
1121
1122         * BufferView.[Ch]:
1123         * BufferView_pimpl.[Ch]:
1124         * LyXAction.C:
1125         * bufferview_funcs.[Ch]:
1126         * factory.C:
1127         * funcrequest.[Ch]:
1128         * iterators.C:
1129         * lyx_cb.C:
1130         * lyxfind.C:
1131         * lyxfunc.C:
1132         * text.C:
1133         * text2.C:
1134         * text3.C:
1135         * undo.C: adjust
1136
1137 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
1138
1139         * PosIterator.[Ch]: replace the stack with a vector, add inset
1140         accesor
1141         * iterators.[C]: adjust
1142
1143 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1144
1145         * lyxfind.C (replaceAll): mark the buffer dirty if something was
1146         replaced
1147         * paragraph_funcs.C (readParToken): put the correct id in the
1148         error item, not the id of the top paragraph
1149
1150 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1151
1152         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1153         * bufferview_funcs.C (put_selection_at): use the above
1154
1155 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1156
1157         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1158
1159 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1160
1161         * output_linuxdoc.h:
1162         * output_plaintext.h:
1163         * output.h:
1164         * output_docbook.h: add #include statements
1165
1166 2003-11-05  José Matos  <jamatos@lyx.org>
1167
1168         * output_docbook.[Ch]:
1169         * output_latex.[Ch]:
1170         * output_linuxdoc.[Ch]:
1171         * output_plaintext.[Ch]: New files for output formats.
1172         * output.[Ch]: New file for helper functions.
1173
1174         * buffer.[Ch]:
1175         * paragraph_funcs.[Ch]: output functions moved to new files.
1176
1177         * outputparams.h: rename of latexrunparams.h
1178
1179         * LaTeX.[Ch]:
1180         * buffer.[Ch]:
1181         * bufferlist.[Ch]:
1182         * converter.[Ch]:
1183         * exporter.C:
1184         * paragraph.[Ch]:
1185         * paragraph_funcs.[Ch]:
1186         * paragraph_pimpl.[Ch]:
1187         * tabular.[Ch]: rename ascii to plaintext
1188         and LatexRunParams to OutputParams.
1189
1190 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1191
1192         * iterators.[Ch] (text): require bv argument
1193         * undo.C (recordUndo):
1194         * lyxfunc.C (dispatch):
1195         * bufferview_funcs.C (put_selection_at): adjust
1196
1197 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
1198
1199         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1200
1201 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1202
1203         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1204         nestings
1205
1206 2003-11-04  André Pönitz  <poenitz@gmx.net>
1207
1208         * cursor.[Ch]: restructure
1209
1210         * BufferView.[Ch]:
1211         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1212
1213         * iterators.[Ch] (asCursor): remove
1214
1215         * lfuns.h: remove LFUN_INSET_EDIT
1216
1217         * lyxfunc.C:
1218         * tabular.C:
1219         * text.C:
1220         * text2.C:
1221         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1222
1223 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1224
1225         * lyxfind.[Ch]: complete overhaul
1226         * BufferView_pimpl.C:
1227         * lyxfunc.C: adjust
1228         * paragraph.[Ch] (insert): add
1229
1230 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1231
1232         * BufferView.[Ch]:
1233         * lyxtext.h:
1234         * text.C: remove dead spellcheck code
1235
1236 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1237
1238         * dispatchresult.h: add a val setter
1239
1240         * cursor.C (dispatch): use a tempvar for data_[i]
1241
1242 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1243
1244         * PosIterator.[Ch]: compile fix
1245
1246 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1247
1248         * text.C (cursorPar): deactivate the cursor cache
1249
1250 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1251
1252         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1253
1254 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1255
1256         * text3.C (dispatch): adjust for new DisptchResult semantics.
1257
1258         * lyxfunc.C (dispatch): handle update when return from
1259         Cursor::dispatch, adjust for new DispatchResult semantics.
1260
1261         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1262         DispatchResult(true) mean to not update. Add class functions for
1263         setting dispatched and update, as well as reading.
1264
1265         * cursor.C (dispatch): don't handle update here
1266
1267 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1268
1269         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1270         * trans_mgr.C: adjust
1271
1272         * paragraph_funcs.C (readParToken): exception safety
1273
1274         * lyxvc.h: store the vcs pointer in a scoped_ptr
1275         * lyxvc.C: adjust
1276
1277         * lyxsocket.C (serverCallback): exception safety
1278
1279         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1280
1281         * ispell.C (clone): make it return a auto_ptr
1282
1283         * factory.C (createInset): exception safety
1284         (readInset): exception safety
1285
1286         * bufferlist.C (newBuffer): exception safety
1287
1288         * Thesaurus.C (Thesaurus): use initialization for aik_
1289
1290         * MenuBackend.C (expandToc): exception safety.
1291
1292 2003-11-03  André Pönitz  <poenitz@gmx.net>
1293
1294         * buffer.C:
1295         * buffer.h:
1296         * bufferview_funcs.C: remove getInsetFromId()
1297
1298         * lyxcursor.[Ch]:
1299         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1300
1301         * lyxfunc.C:
1302         * text2.C:
1303         * text3.C: adjust
1304
1305 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1306
1307         * PosIterator.C (distance, advance): new
1308         * bufferview_funcs.[Ch] (put_selection_at): new
1309         * iterators.[Ch] (lockPath): new
1310
1311 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
1312
1313         * iterators.[Ch] (asPosIterator): added
1314         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1315         * PosIterator.[Ch]: added
1316
1317 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1318
1319         * text3.C:
1320         * lyxfunc.C:
1321         * cursor.C (dispatch):
1322         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1323
1324         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1325         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1326         contructor, add a class function dispatched. Remove operator>=
1327
1328 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1329
1330         * debug.C: only use the default constructor for debugstream
1331         (lyxerr) here.
1332
1333         * main.C (main): include debug.h and setup the lyxerr streambuf
1334         here.
1335
1336 2003-10-31  José Matos  <jamatos@lyx.org>
1337
1338         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1339
1340         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1341         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1342         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1343         * paragraph_pimpl.C (simpleTeXSpecialC):
1344         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1345         add LatexRunParams argument.
1346
1347         * exporter.C (Export): change call accordingly.
1348
1349         * latexrunparams.h: add new member to take care of the other backends.
1350 2003-10-30  José Matos  <jamatos@lyx.org>
1351
1352         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1353         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1354         factorise code for paragraph output.
1355         * buffer.[Ch]:
1356         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1357         move functions.
1358
1359 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1360
1361         * text3.C (dispatch):
1362         * lyxfunc.C (dispatch):
1363         * cursor.C (dispatch):
1364         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1365
1366         * dispatchresult.h: make the dispatch_result_t ctor explicit
1367
1368 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
1369
1370         * sgml.[Ch]:
1371         * buffer.C: small refactoring of docbook stuff
1372
1373 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1374
1375         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1376         meaning.
1377
1378 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1379
1380         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1381         operator dispatch_result_t, and operators for == != and >=
1382
1383         * cursor.C (dispatch): adjust for operator dispatch_result_t
1384         removal. comment out call to update
1385
1386         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1387
1388 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1389
1390         * text3.C:
1391         * text2.C:
1392         * text.C:
1393         * lyxtext.h:
1394         * lyxfunc.C:
1395         * cursor.C:
1396         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1397         (dispatch):
1398
1399         * dispatchresult.h: new file, DispatchResult broken out of
1400         insets/insetbase.h
1401
1402         * Makefile.am (lyx_SOURCES): add dispatchresult.h
1403
1404 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1405
1406         * text.C (rowBreakPoint): put a hack inside #if 0
1407
1408 2003-10-28  André Pönitz  <poenitz@gmx.net>
1409
1410         * lyxtext.h:
1411         * metricsinfo.C:
1412         * paragraph_funcs.C:
1413         * rowpainter.C:
1414         * text.C:
1415         * text2.C: general cleanup (lots of small stuff)
1416
1417 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1418
1419         * text2.C (cursorEnd): simple fix to the "end key goes to one
1420         before the end on last row" bug
1421
1422 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1423
1424         * text.C (backspace): fix the "zombie characters"
1425
1426 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1427
1428         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1429
1430 2003-10-27  André Pönitz  <poenitz@gmx.net>
1431
1432         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1433
1434         * factory.C: handle new InsetPagebreak, InsetLine
1435
1436         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1437         and move handling into new InsetPagebreak, InsetLine
1438
1439         * BufferView_pimpl.C:
1440         * LyXAction.C:
1441         * ParagraphParameters.C:
1442         * ParameterStruct.h:
1443         * lyxfunc.C:
1444         * lyxtext.h:
1445         * paragraph.C:
1446         * paragraph.h:
1447         * paragraph_funcs.C:
1448         * paragraph_pimpl.C:
1449         * rowpainter.C:
1450         * text.C:
1451         * text2.C:
1452         * text3.C: adjust
1453
1454 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1455
1456         * text.C:
1457         * lyxrow_funcs.[Ch]:
1458         * Bidi.C:
1459         * paragraph.C:
1460         * lyxtext.h:
1461         * rowpainter.C:
1462         * text2.C:
1463         * text3.C: remove lastPos uses in favour of Row::endpos
1464
1465 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1466
1467         * undo.C (performUndoOrRedo): fix two crashes by setting a
1468         cursor by hand and reordering some calls. Use bv->lockInset instead
1469         of inset->edit because the latter loses cursor information
1470
1471 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
1472
1473         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1474         by Martin
1475         (rowBreakPoint): fix width. change point to point + 1.
1476         Add a missing check.
1477
1478 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
1479
1480         * MenuBackend.C:
1481         * lyxfunc.C: fix (at least partly) the problems
1482         with the Nav menu and headers inside branch insets
1483         reported by Kayvan
1484
1485 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
1486
1487         * paragraph.C (getChar): add strong asserts
1488
1489         * lyxrow_funcs.C (lastPos): remove hideous hack
1490
1491         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1492         (fill): adjust to that (avoid an infinite loop)
1493
1494 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1495
1496         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1497
1498 2003-10-23  André Pönitz  <poenitz@gmx.net>
1499
1500         * RowList_fwd.h: change list<> to vector<> to gain speed
1501         after suggestion from Alfredo
1502
1503 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1504
1505         * lyxtext.h: move the bidi stuff from here...
1506         * text.C: and here
1507         * text2.C: and here
1508         * Bidi.[Ch]: ... to here
1509
1510 2003-10-23  André Pönitz  <poenitz@gmx.net>
1511
1512         * lyxtext.h:
1513         * text.C (isLastRow, isFirstRow): new functions
1514
1515         * paragraph.h: new width cache member
1516
1517         * rowpainter.C: replace RowList::iterator with Row & where possible
1518
1519         * lyxfunc.C: replace several view()->text with a single call
1520
1521         * toc.C: fix 'unused' warning
1522
1523 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1524
1525         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1526         when woring with stream::pos_type
1527         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1528
1529 2003-10-22  André Pönitz  <poenitz@gmx.net>
1530
1531         * lyxtext.h:
1532         * text.C: use Row & instead of RowList::iterator
1533
1534         * lyxrow.h: rename end() to endpos()
1535
1536         * rowpainter.C:
1537         * text.C:
1538         * text2.C: adjust
1539
1540 2003-10-22  Angus Leeming  <leeming@lyx.org>
1541
1542         * buffer.[Ch] (fully_loaded): new member function, returning true
1543         only when the file has been loaded fully.
1544         Used to prevent the premature generation of previews and by the
1545         citation inset to prevent computation of the natbib-style label.
1546
1547         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1548         templates are all set up.
1549
1550         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1551
1552 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
1553
1554         * text.C: fixed an "oops" in the "is a bit silly"
1555         bug fix
1556
1557 2003-10-21  André Pönitz  <poenitz@gmx.net>
1558
1559         * FuncStatus.[Ch]: small stuff, whitespace
1560
1561         * lyxfont.[Ch]: operator<<() for debug reasons
1562
1563         * lyxfunc.C:
1564         * lyxrow_funcs.C:
1565         * lyxtext.h: whitespace, spelling
1566
1567         * paragraph.C: naming of variables
1568
1569         * text.C:
1570         * text2.C: small stuff
1571
1572
1573 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
1574
1575         * text.C: (1) finish off the inset display() work;
1576         (2) fix the "is a bit silly" bug (accessing char
1577         past end of par).
1578
1579 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
1580
1581         * text.C: re-introduce display() for insets, fixing the
1582         various bugs (stretch of line above, math inset
1583         positioning, ...)
1584
1585 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1586
1587         * text.C (rightMargin): remove spurious semicolon
1588
1589         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1590         1415)
1591
1592 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
1593
1594         * text3.C: fix one crash due to wrong cursor def
1595
1596 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1597
1598         * vc-backend.C (scanMaster): make the regex static
1599
1600         * LaTeX.C (scanAuxFile): make the regexs static
1601
1602         * text3.C (doInsertInset, dispatch, dispatch):
1603         * text2.C (cursorUp, cursorDown):
1604         * text.C (selectNextWordToSpellcheck):
1605         * BufferView_pimpl.C (dispatch):
1606         * lyxfunc.C (dispatch):  localDispatch -> dispatch
1607
1608 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1609
1610         * lyxsocket.C: include <cerrno>
1611
1612 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1613
1614         * lyxfunc.C (dispatch): remove textcache stuff
1615
1616         * bufferlist.C (release): remove textcache stuff
1617         (closeAll): ditto
1618
1619         * TextCache.C: delete file
1620         * TextCache.h: delete file
1621
1622         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1623
1624         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1625         delete of the bv_->text.
1626         (resizeCurrentBuffer): remove texcache stuff
1627         (workAreaResize): ditto
1628
1629 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1630
1631         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1632         action.
1633
1634 2003-10-16  André Pönitz  <poenitz@gmx.net>
1635
1636         * lyxrow.[Ch]:
1637         * paragraph.h:
1638         * rowpainter.C:
1639         * text.C:
1640         * text2.C:
1641         * text3.C: speed up by storing y positions per paragraph plus per-row
1642         offset instead of having a 'full' y position in the row.
1643
1644 2003-10-15  André Pönitz  <poenitz@gmx.net>
1645
1646         * iterators.[Ch]:
1647         * iterators.[Ch]:
1648         * undo.[Ch]: make undo aware of inner insets
1649
1650 2003-10-14  Angus Leeming  <leeming@lyx.org>
1651
1652         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1653         static member functions LyX::ref() and LyX::cref.
1654         (lastfiles): new accessor functions for the new lastfiles_ member var.
1655         (addLyXView, views_): add a new LyXView to the list of views_.
1656         (updateInset): loop over all LyXViews to call their own updateInset
1657         member function, returning a pointer to the Buffer owning the inset.
1658
1659         * BufferView_pimpl.C (loadLyXFile):
1660         * MenuBackend.C (expandLastfiles):
1661         * bufferlist.C (MenuWrite, QuitLyX):
1662         lastfiles is no longer a global variable.
1663         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1664
1665         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1666         static function. Access through LyX::cref().emergencyCleanup().
1667
1668 2003-10-14  André Pönitz  <poenitz@gmx.net>
1669
1670         * iterators.[Ch]: new direct access to innermost LyXText and Inset
1671
1672         * undo.[Ch]: restoring part of 'undo in insets'
1673
1674         * Makefile.am:
1675         * undo_funcs.[Ch]: merge with undo.[Ch]
1676
1677         * tabular.C: small cleansing stuff
1678
1679 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
1680
1681         * paragraph_funcs.C (readParToken): report unknown insets as error
1682         boxes. Use the outer paragraph as location (also for unknown
1683         tokens).
1684
1685         * factory.C (readInset): do not abort on reading an unknown inset.
1686         Eat it and return 0.
1687
1688 2003-10-13  Angus Leeming  <leeming@lyx.org>
1689
1690         * lyx_main.C (LyX): remove call to setDisplayTranslator().
1691
1692         * lyxrc.C: displayTranslator is now a function,
1693         declared in GraphicsTypes.h.
1694
1695 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1696
1697         * format.C: new placeholder $$a to pass the socket address.
1698
1699         * bufferlist.[Ch]: new function getBufferFromTmp.
1700
1701         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1702           files in the temporary dir.
1703
1704 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1705
1706         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1707
1708         * Makefile.am: add lyxsocket.[Ch].
1709
1710         * lyx_main.C (error_handler): handle SIGPIPE.
1711
1712 2003-10-13  André Pönitz  <poenitz@gmx.net>
1713
1714         * BufferView_pimpl.C:
1715         * lyxtext.h:
1716         * text.C:
1717         * text2.C:
1718         * text3.C:
1719         * undo_funcs.[Ch]: use paroffset_type instead of
1720           ParagraphList::iterators to prevent multiple conversion
1721           (and get a more robust interface)
1722
1723 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1724
1725         * lyxfunc.C (dispatch): RESULT -> dispatch_result
1726         * lyxtext.h: ditto
1727         * text3.C (dispatch): ditto
1728
1729 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1730
1731         * LaTeX.C (handleFoundFile): move the static to smaller scope,
1732         move the onlyfile, use onlyfile instead of foundfile in a couple
1733         of places.
1734
1735         * DepTable.C (update): flush the error stream a bit more
1736
1737 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1738
1739         * lyxserver.C (callback): adjust
1740
1741         * lyxfunc.C (getStatus): add a missing brace in commented code
1742         (ensureBufferClean): reindent
1743         (dispatch): delete version taking a string
1744
1745 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1746
1747         * LaTeX.C (deplog): move found file handlig from here...
1748         (handleFoundFile): .. to new function here.
1749         (deplog): make sure to discover several files mentioned on the
1750         same log line.
1751
1752 2003-10-10  André Pönitz  <poenitz@gmx.net>
1753
1754         * lyxfunc.C:
1755         * lyxtext.h:
1756         * tabular.C:
1757         * text.C:
1758         * text2.C:
1759         * text3.C: fix some of the tabular crashes
1760
1761 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1762
1763         * MenuBackend.C (binding): put debug message into Debug::KBMAP
1764
1765         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1766
1767 2003-10-09  André Pönitz  <poenitz@gmx.net>
1768
1769         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1770
1771         * BufferView.C:
1772         * BufferView_pimpl.C:
1773         * bufferview_funcs.C:
1774         * lyx_cb.C:
1775         * lyxcursor.C:
1776         * lyxfind.C:
1777         * lyxfunc.C:
1778         * lyxtext.h:
1779         * text.C:
1780         * text2.C:
1781         * text3.C:
1782         * text_funcs.[Ch]:
1783         * textcursor.[Ch]:
1784         * undo_funcs.C: adjust
1785
1786 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1787
1788         * text2.C (incrementItemDepth): new function, use a backtracking
1789         algorithm to discover the correct item depth.
1790         (resetEnumCounterIfNeeded): new function, use a backtracking
1791         algorithm to discover if counter reset is needed.
1792         (setCounter): use them. Simplify a bit. Add different labels for
1793         different item depths for itemize.
1794
1795         * paragraph.C (Paragraph): remove initialization of enumdepth
1796         (operator=): ditto
1797
1798         * paragraph.h: get rid of enumdepth, and use itemdepth both for
1799         enumerate and itemize. Change the type of itemdepth to signed char.
1800
1801 2003-10-08  André Pönitz  <poenitz@gmx.net>
1802
1803         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1804           thing assignable.
1805         * text.C:
1806         * text2.C: adjust
1807
1808         * tabular.[Ch]: fix crash after 'row-insert'
1809
1810 2003-10-08  Angus Leeming  <leeming@lyx.org>
1811
1812         Fix doxygen warnings.
1813
1814         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1815         Remove CutAndPaste:: prefix from header file declaration.
1816
1817         * LColor.h (fill): remove LColor:: prefix from declaration.
1818
1819         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1820         use lyx::depth_type rather than Paragraph::depth_type so that
1821         header file and .C file match.
1822
1823         * converter.h (intToFormat): remove Converters:: prefix from declaration.
1824
1825         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1826         * aspell.C: \file aspell_local.C -> \file aspell.C
1827         * gettext.C: \file gettext.C -> \file src/gettext.C
1828         * gettext.h: \file gettext.h -> \file src/gettext.h
1829         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1830         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1831         * text.C: \file text.C -> \file src/text.C
1832
1833         * toc.C: move comment so that doxygen is not confused.
1834
1835 2003-10-07  Angus Leeming  <leeming@lyx.org>
1836
1837         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1838
1839 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1840
1841         * aspell.C:
1842         * aspell_local.h: add forgotten std::string's.
1843
1844 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1845
1846         * LaTeXFeatures.C:
1847         * LyXAction.C:
1848         * factory.C:
1849         * lfuns.h:
1850         * lyxfunc.C:
1851         * text3.C: The Box patch. Fancybox support, minipage, parbox
1852
1853 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1854
1855         * CutAndPaste.h:
1856         * DepTable.h:
1857         * FloatList.h:
1858         * LaTeXFeatures.h:
1859         * ParagraphParameters.h:
1860         * TextCache.h:
1861         * Thesaurus.h:
1862         * bufferlist.h:
1863         * exporter.h:
1864         * importer.h:
1865         * lastfiles.h:
1866         * lyxfind.h:
1867         * lyxfont.h:
1868         * lyxlex.h:
1869         * lyxtextclasslist.h:
1870         * messages.h:
1871         * paragraph.h:
1872         * paragraph_pimpl.C:
1873         * textcursor.h: add <string> and other small fixes to make Lars'
1874         std::string patch compile with STLport.
1875
1876 2003-10-06  Angus Leeming  <leeming@lyx.org>
1877
1878         * LColor.h: Add missing #include <string>.
1879
1880 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1881
1882         * All most all file in all subdirs: Make <string> be the prefered
1883         way of getting to std::string, add using declarations.
1884
1885 2003-10-06  André Pönitz  <poenitz@gmx.net>
1886
1887         * metricsinfo.C: initialize LyXFont before changing attribute.
1888         (fixes the 'math in \emph is upright' bug)
1889
1890 2003-10-06  André Pönitz  <poenitz@gmx.net>
1891
1892         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1893
1894 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1895
1896         * graph.C:
1897         * paragraph_pimpl.C: Small fixes to build using STLport
1898
1899 2003-10-02  André Pönitz  <poenitz@gmx.net>
1900
1901         * lyxfunc.C:
1902         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1903
1904 2003-10-01  André Pönitz  <poenitz@gmx.net>
1905
1906         * factory.C: assert early
1907
1908 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1909
1910         * lyx_main.C: remove the global debug object
1911
1912         * debug.h: adjust for new debugstream
1913
1914         * debug.C: adjust for new debugstream and keep the global debug
1915         object here.
1916
1917 2003-09-22  Angus Leeming  <leeming@lyx.org>
1918
1919         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1920         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1921         an incomplete class LyXFont.
1922
1923 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1924
1925         * factory.C: bug fix in branches
1926
1927 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1928
1929         * lyxfunc.C (processKeySym): adjust
1930         (dispatch): adjust
1931         (dispatch): change arg name from ev to func, adjust
1932         (sendDispatchMessage): ditto
1933
1934         * lyx_main.C (defaultKeyBindings): adjust keybindings
1935         (deadKeyBindings): ditto
1936
1937         * kbsequence.C (addkey): return a FuncRequest
1938
1939         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1940
1941         * kbmap.C (bind): take a FuncRequest as arg, adjust
1942         (read): adjust
1943         (lookup): adjust
1944         (defkey): change to take a FuncRequest as arg, adjust
1945         (findbinding): take a FuncRequest as arg, adjust.
1946
1947         * funcrequest.h (operator=): added
1948
1949         * funcrequest.C (FuncRequest): default kb_action changed from
1950         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1951
1952         * buffer.C (dispatch): simplify
1953         (dispatch): adjust to take a FuncRequest as arg, adjust
1954
1955         * boost.C (assertion_failed): change assertion message slightly
1956
1957         * ToolbarBackend.C (read): simplify
1958
1959         * MenuBackend.C (binding): adjust call to findbinding, add a
1960         message if no binding is found.
1961         (read): simplify
1962         (expandToc): correct by adding a empty FuncRequest
1963
1964         * LyXAction.C: include <boost/assert.hpp>
1965         (isPseudoAction): delete function
1966         (LookupFunc): change name to...
1967         (lookupFunc): this. change return type to FuncRequest.
1968         (getActionName): take kb_action as arg, simplify
1969         (funcHasFlag): add an assert, simplify.
1970
1971 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1972
1973         * toc.C (action): return a FuncRequest, simplify
1974
1975         * lyxfunc.C (processKeySym): adjust
1976         (getStatus): delete version that takes an int.
1977         (getStatus): adjust
1978         (dispatch): delete version that takes action as int
1979         (dispatch): adjust
1980         (sendDispatchMessage): simplify and adjust
1981
1982         * funcrequest.C (getArg): take unsigned int as arg
1983
1984         * ToolbarBackend.C (read): adjust
1985         (add): delete version that takes func as a string.
1986         (getIton): take a FuncRequest as arg
1987
1988         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1989         action.
1990
1991         * MenuBackend.C (MenuItem): add a new construct that only takes a
1992         Kind, simplify the constructor use for submenus.
1993         (add): adjust
1994         (expandLastfiles): adjust
1995         (expandDocuments): adjust
1996         (expandFormats): adjust
1997         (expandFloatListInsert): adjust
1998         (expandFloatInsert): adjust
1999         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2000
2001         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2002         Remove class variables lyx_pseudo_map and lyx_arg_map
2003
2004         * LyXAction.C (searchActionArg): delete function
2005         (getPseudoAction): delete function
2006         (retrieveActionArg): delete function
2007         (LookupFunc): make it return kb_action, simplify.
2008         (getActionName): simplify
2009
2010         * factory.C (createInset): fix new bug
2011
2012 2003-09-19  Angus Leeming  <leeming@lyx.org>
2013
2014         * CutAndPaste.C (pasteSelection): remove fudge used to set the
2015         masterFilename_ parameter in the include inset.
2016
2017         * factory.C (createInset): changes due to the changes to InsetInclude.
2018
2019 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2020
2021         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2022
2023 2003-09-18  Angus Leeming  <leeming@lyx.org>
2024
2025         * buffer.C:
2026         * BufferView.C: pass the buffer when calling Inset::getLabelList,
2027         Inset::fillWithBibKeys.
2028         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2029
2030 2003-09-18  Angus Leeming  <leeming@lyx.org>
2031
2032         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2033         variables.
2034         (ctor): pass and store a 'Buffer const &'
2035         (buffer): new member function.
2036
2037         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2038         '*this' to the LaTeXFeatures ctor.
2039
2040 2003-09-18  Angus Leeming  <leeming@lyx.org>
2041
2042         * LColor.h:
2043         * lyxfont.C:
2044         * lyxfont.h:
2045         * lyxtext.h:
2046         * text.C: rename EnumLColor as LColor_color.
2047
2048 2003-09-18  Angus Leeming  <leeming@lyx.org>
2049
2050         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2051         remove #include "insets/insetbase.h" from cursor.h.
2052
2053 2003-09-18  Angus Leeming  <leeming@lyx.org>
2054
2055         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2056         InsetOld_code to remove #include "inset.h".
2057
2058         * iterators.C: add #include "insets/inset.h"
2059
2060 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
2061
2062         * BufferView.C: remove more locking stuff that apparently doesn't
2063         do anything sensible.
2064
2065 2003-09-16  André Pönitz  <poenitz@gmx.net>
2066
2067         * paragraph.[Ch]:
2068         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2069           performance boost.
2070
2071 2003-09-16  Angus Leeming  <leeming@lyx.org>
2072
2073         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2074
2075         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2076         arg/return type.
2077
2078         * paragraph.h: remove #include "lyxfont.h". Forward declare
2079         LyXFont_size.
2080
2081 2003-09-16  Angus Leeming  <leeming@lyx.org>
2082
2083         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2084         of support/textutils.h.
2085         (isWord): move the contents of support/textutils.h's IsWordChar here.
2086
2087         * buffer.C:
2088         * lyxfind.C:
2089         * rowpainter.C:
2090         * text.C:
2091         * text2.C: add #include "paragraph.h".
2092
2093         * rowpainter.C:
2094         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2095
2096 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2097
2098         * main.C:
2099         * lyx_main.C:
2100         * lyx_cb.C:
2101         * buffer.C:
2102         * LaTeX.C: use namespace alias for lyx::support::os
2103
2104 2003-09-16  Angus Leeming  <leeming@lyx.org>
2105
2106         * bufferparams.C:
2107         * bufferview_funcs.C:
2108         * factory.C:
2109         * lyxfunc.C:
2110         * paragraph_pimpl.C:
2111         * rowpainter.C:
2112         * text.C: add #include "LColor.h".
2113
2114 2003-09-16  Angus Leeming  <leeming@lyx.org>
2115
2116         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2117         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2118         return LyXFont &.
2119         Store the FontBits::color variable as an int rather than as an
2120         LColor::colorso that we can move LColor.h out of the lyxfont.h header
2121         file.
2122
2123         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2124         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2125         string calls together.
2126
2127         * lyxrc.C: add #include "LColor.h".
2128
2129 2003-09-15  Angus Leeming  <leeming@lyx.org>
2130
2131         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2132         a cow_ptr.
2133
2134 2003-09-15  Angus Leeming  <leeming@lyx.org>
2135
2136         * LColor.h: add an EnumLColor wrapper for LColor::color.
2137
2138         * lyxfont.[Ch] (color, setColor, realColor):
2139         * lyxtext.h, text.C (backgroundColor):
2140         pass EnumLColor args to/from the functions, rather than LColor::color
2141         ones.
2142
2143         * lyxfont.h:
2144         * lyxtext.h: forward declare EnumLColor.
2145
2146         * lyx_main.C: add #include "LColor.h".
2147
2148 2003-09-15  Angus Leeming  <leeming@lyx.org>
2149
2150         * .cvsignore: add lyx-gtk.
2151
2152 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2153
2154         * Chktex.C
2155         * LaTeX.C
2156         * LaTeXFeatures.C
2157         * ParagraphParameters.C
2158         * Spacing.C
2159         * buffer.C
2160         * bufferparams.C
2161         * bufferview_funcs.C
2162         * chset.C
2163         * counters.C
2164         * funcrequest.C
2165         * lyxfont.C
2166         * lyxgluelength.C
2167         * lyxlength.C
2168         * paragraph.C
2169         * paragraph_funcs.C
2170         * text3.C
2171         * vc-backend.C: remove usage of STRCONV
2172
2173 2003-09-15  Angus Leeming  <leeming@lyx.org>
2174
2175         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2176         explicitly define the color passed to the painter.
2177
2178 2003-09-15  Angus Leeming  <leeming@lyx.org>
2179
2180         * bufferparams.C (BufferParams): reorder member initializers to avoid
2181         compiler warning.
2182
2183 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
2184
2185         * CutAndPaste.C (pasteSelection): remove an outdated #warning
2186         * text.C (updateRowPositions): remove an unusual nop
2187
2188 2003-09-12  André Pönitz  <poenitz@gmx.net>
2189
2190         * BufferView_pimpl.C:
2191         * Bullet.C:
2192         * layout.h:
2193         * lyxfunc.C:
2194         * lyxlayout.[Ch]:
2195         * lyxtextclass.C:
2196         * rowpainter.C:
2197         * text.C:
2198         * text2.C:
2199         * Counters.[Ch]: finish the 'automatic counters' job
2200
2201 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2202
2203         * aspell.C: include <boost/assert.cpp> (compile fix)
2204
2205 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
2206
2207         * boost.C (assertion_failed): use lyx::support::abort instead of
2208         assert.
2209
2210 2003-09-10  Angus Leeming  <leeming@lyx.org>
2211
2212         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2213         with their _fwd progeny.
2214
2215 2003-09-09  Angus Leeming  <leeming@lyx.org>
2216
2217         134 files throughtout the source tree: replace 'using namespace abc;'
2218         directives with the appropriate 'using abc::xyz;' declarations.
2219
2220 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2221
2222         * boost.C (emergencyCleanup): moved here from LAssert.c
2223         (assertion_failed): new function, called by BOOST_ASSERT
2224
2225         * several files: change Assert to BOOST_ASSERT
2226
2227 2003-09-09  Angus Leeming  <leeming@lyx.org>
2228
2229         * buffer.[Ch]: Add an Impl class and move Buffer's member
2230         variables into it. As a result move several header files out of
2231         buffer.h.
2232
2233         Add header files to lots of .C files all over the tree as a result.
2234
2235 2003-09-09  Angus Leeming  <leeming@lyx.org>
2236
2237         * buffer.[Ch]: make Buffer's member variables private. Add
2238         accessor functions.
2239
2240         Lots of changes all over the tree as a result.
2241
2242 2003-09-08  Angus Leeming  <leeming@lyx.org>
2243
2244         * graph.C: #include <config.h>.
2245
2246 2003-09-08  Angus Leeming  <leeming@lyx.org>
2247
2248         * BranchList.C:
2249         * BufferView.C:
2250         * BufferView_pimpl.C:
2251         * CutAndPaste.C:
2252         * DepTable.C:
2253         * LaTeX.C:
2254         * LaTeXFeatures.C:
2255         * LyXAction.C:
2256         * MenuBackend.C:
2257         * TextCache.C:
2258         * aspell.C:
2259         * buffer.C:
2260         * bufferlist.C:
2261         * changes.C:
2262         * chset.C:
2263         * converter.C:
2264         * counters.C:
2265         * debug.C:
2266         * graph.C:
2267         * ispell.C:
2268         * lyx_cb.C:
2269         * lyxfind.C:
2270         * lyxfunc.C:
2271         * lyxlex_pimpl.C:
2272         * lyxrc.C:
2273         * lyxrow.C:
2274         * paragraph.C:
2275         * rowpainter.C:
2276         * texrow.C:
2277         * text.C:
2278         * text2.C:
2279         * toc.C: remove redundant using directives.
2280
2281 2003-09-07  Angus Leeming  <leeming@lyx.org>
2282
2283         * LaTeXFeatures.h: remove #include "support/types.h".
2284         * ToolbarBackend.h: remove #include <algorithm>.
2285         * changes.h: remove #include <ctime>.
2286         * debug.h: remove #include <iosfwd>.
2287         * graph.h: remove #include "support/std_string.h".
2288         * lyx_main.h: remove #include <csignal>.
2289         * lyxlex_pimpl.h: remove #include <fstream>.
2290         * sgml.h: remove #include <algorithm>, <utility>.
2291         * toc.h: remove #include "support/std_ostream.h".
2292         Add #include <iosfwd>.
2293
2294 2003-09-07  Angus Leeming  <leeming@lyx.org>
2295
2296         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2297
2298         * converter.h: forward declare LatexRunParams.
2299         * encoding.h: remove #include "lyxrc.h".
2300         * lyxtext.h: remove #include "LColor.h".
2301         * lyxtextclass.h: remove #include "support/types.h".
2302         * trans.h: remove #include "tex-accent.h".
2303         * trans_mgr.h: remove #include "tex-accent.h".
2304         * insets/inset.h: remove #include "support/types.h", <vector>.
2305         * insets/insetcollapsable.h: remove #include "LColor.h".
2306         * insets/insetinclude.h: remove #include "dimension.h".
2307         * insets/insetlatexaccent.h: remove #include "dimension.h".
2308         * insets/insetoptarg.h:: remove #include "insettext.h".
2309         * insets/insettext.h: remove #include "dimension.h",
2310         <boost/shared_ptr.hpp>
2311
2312         * insets/renderers.h: add #include "dimension.h".
2313         * insets/updatableinset.h: add #include "support/types.h".
2314
2315         * many .C files: Associated changes.
2316
2317 2003-09-06  Angus Leeming  <leeming@lyx.org>
2318
2319         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2320         one, inside testInvariant.
2321
2322         * PrinterParams.C: new file.
2323         * PrinterParams.[Ch]: move the function bodies out of line.
2324
2325 2003-09-06  Angus Leeming  <leeming@lyx.org>
2326
2327         * ParagraphParameters.h: forward declare ParameterStruct rather than
2328         including its header file.
2329         (depth): moved out-of-line.
2330
2331 2003-09-06  Angus Leeming  <leeming@lyx.org>
2332
2333         * BufferView_pimpl.h:
2334         * kbmap.h:
2335         * kbsequence.h:
2336         * lyxfunc.h: forward declare LyXKeySym rather than
2337         #include "frontends/LyXKeySym.h".
2338
2339         * BufferView_pimpl.C:
2340         * kbmap.C:
2341         * kbsequence.C:
2342         * lyxfunc.C: associated changes.
2343
2344 2003-09-06  Angus Leeming  <leeming@lyx.org>
2345
2346         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2347         As a result, can remove the #include "insets/inset.h" from BufferView.h
2348
2349 2003-09-06  Angus Leeming  <leeming@lyx.org>
2350
2351         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2352         As a result, can remove the #include "insets/inset.h" from BufferView.h
2353
2354 2003-09-06  Angus Leeming  <leeming@lyx.org>
2355
2356         * buffer_funcs.C:
2357         * buffer.h:
2358         * bufferlist.C:
2359         * BufferView.C:
2360         * bufferview_funcs.C:
2361         * BufferView_pimpl.C:
2362         * CutAndPaste.C:
2363         * lyx_cb.C:
2364         * lyxfunc.C:
2365         * paragraph.h:
2366         * ParagraphParameters.C:
2367         * tabular.C:
2368         * text3.C:
2369         * toc.C:
2370         * undo_funcs.C:
2371         * frontends/controllers/ControlDocument.C:
2372         * insets/insetcaption.C: rearrange the #includes into some sort of
2373         coherent order.
2374
2375         * buffer.h: remove #includes ErrorList.h, undo.h
2376
2377 2003-09-06  Angus Leeming  <leeming@lyx.org>
2378
2379         * support/types.h: add a 'depth_type' typedef, used to store the
2380         nesting depth of a paragraph.
2381
2382         * paragraph.h:
2383         * ParameterStruct.h: use this lyx::depth_type typedef rather than
2384         defining explicitly.
2385
2386         * buffer.h:
2387         * paragraph_funcs.h:
2388         * ParagraphParameters.h:
2389         * sgml.h: use lyx::depth_type rather than Paragraph or
2390         ParameterStruct's depth_type.
2391
2392         * buffer.h
2393         * paragraph_funcs.h: no need to #include paragraph.h anymore.
2394
2395         * BufferView.C:
2396         * BufferView_pimpl.C:
2397         * CutAndPaste.C:
2398         * ParagraphParameters.C:
2399         * buffer_funcs.C:
2400         * bufferlist.C:
2401         * bufferview_funcs.C:
2402         * lyx_cb.C:
2403         * lyxfunc.C:
2404         * tabular.C:
2405         * text3.C:
2406         * toc.C:
2407         * undo_funcs.C:
2408         * frontends/LyXView.C:
2409         * frontends/controllers/ControlDocument.C:
2410         * frontends/controllers/ControlErrorList.C:
2411         * insets/insetbibitem.C:
2412         * insets/insetbranch.C:
2413         * insets/insetcaption.C:
2414         * insets/insetcollapsable.C:
2415         * insets/insetenv.C:
2416         * insets/insetert.C:
2417         * insets/insetfloat.C:
2418         * insets/insetfoot.C:
2419         * insets/insetfootlike.C:
2420         * insets/insetnewline.C:
2421         * insets/insetquotes.C:
2422         * insets/insettabular.C:
2423         * insets/insettext.C:
2424         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2425
2426         * frontends/controllers/ControlChanges.C: #include "changes.h".
2427
2428 2003-09-06  Angus Leeming  <leeming@lyx.org>
2429
2430         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2431         than #including paragraph.h.
2432
2433         * ParagraphList.h:
2434         * RowList.h: deleted. Superfluous.
2435
2436         * CutAndPaste.h:
2437         * iterators.h:
2438         * lyxcursor.h:
2439         * lyxtext.h:
2440         * text_funcs.h:
2441         * undo.h:
2442         * undo_funcs.h:
2443         * insets/inset.h:
2444         * insets/insettext.h: use ParagraphList_fwd.h rather than
2445         ParagraphList.h.
2446
2447         * paragraph.h: don't forward declare ParagraphList.
2448
2449         * buffer.h:
2450         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2451         rather than ParagraphList.h. paragraph.h is still needed for the
2452         Paragraph::depth_type parameters.
2453
2454         * textcursor.h: enable it to compile stand-alone in light of the
2455         above changes.
2456
2457         * bufferview_funcs.C:
2458         * iterators.C:
2459         * lyxfunc.C:
2460         * lyxrow_funcs.C:
2461         * paragraph.C:
2462         * rowpainter.C:
2463         * text.C:
2464         * text2.C:
2465         * text3.C:
2466         * text_funcs.C:
2467         * textcursor.C:
2468         * undo.C:
2469         * frontends/controllers/ControlParagraph.C:
2470         * frontends/controllers/ControlTabular.C:
2471         * insets/insetmarginal.C:
2472         * insets/insetminipage.C:
2473         * insets/insetnote.C:
2474         * insets/insetoptarg.C: add header files needed to compile again.
2475
2476 2003-09-06  Angus Leeming  <leeming@lyx.org>
2477
2478         * RowList_fwd.h: new file, forward-declaring Row rather than
2479         #including lyxrow.h.
2480
2481         * lyxrow_funcs.h:
2482         * lyxtext.h:
2483         * paragraph.h:
2484         * insets/insettext.h: use it instead of RowList.h
2485
2486         * bufferview_funcs.C:
2487         * lyxfunc.C:
2488         * lyxrow_funcs.C:
2489         * paragraph.C:
2490         * rowpainter.C:
2491         * text.C:
2492         * text2.C:
2493         * text3.C: #include "RowList.h".
2494
2495 2003-09-05  Angus Leeming  <leeming@lyx.org>
2496
2497         * factory.C (createInset):
2498         * vspace.C (c-tor): replace sscanf call with an istringstream.
2499         * ispell.C: re-add missing HP/UX headers.
2500         * lyxserver.C: re-add missing  os2 headers.
2501
2502 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
2503
2504         * BranchList.C:
2505         * graph.C:
2506         * ispell.C:
2507         * lastfiles.C:
2508         * lyx_cb.C:
2509         * lyxserver.C:
2510         * texrow.C:
2511         * text3.C: re-add missing system headers, needed for 2.95.2.
2512
2513 2003-09-05  Angus Leeming  <leeming@lyx.org>
2514
2515         Changes most place everywhere due to the removal of using directives
2516         from support/std_sstream.h.
2517
2518 2003-09-05  Angus Leeming  <leeming@lyx.org>
2519
2520         Replace LString.h with support/std_string.h,
2521         Lsstream.h with support/std_sstream.h,
2522         support/LIstream.h with support/std_istream.h,
2523         support/LOstream.h with support/std_ostream.h.
2524
2525         Changes resulting throughout the tree.
2526
2527 2003-09-05  Angus Leeming  <leeming@lyx.org>
2528
2529         * sgml.h: ensure that the header file can be compiled stand-alone.
2530         * *.C: strip out redundant #includes. (320 in total.)
2531
2532 2003-09-04  Angus Leeming  <leeming@lyx.org>
2533
2534         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2535         here (from getPackages).
2536
2537         * debug.[Ch]: add a new EXTERNAL tag.
2538
2539 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2540
2541         * text2.C (cursorEnd): simplify
2542         (setCursor): adjust
2543         (getColumnNearX): adjust
2544
2545         * text.C (computeBidiTables): adjust
2546         (fill): adjust
2547
2548         * rowpainter.C (paintChars): adjust
2549         (paintSelection): adjust
2550         (paintChangeBar): adjust
2551         (paintText): adjust
2552
2553         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2554         lastPos instead.
2555         (numberOfSeparators): adjust
2556
2557 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2558
2559         * LyXAction.C:
2560         * box.[Ch]:
2561         * lfuns.h:
2562         * lyxfunc.C:
2563         * text3.C: Restricts the mouse click functionality
2564         of insets like bibtex, include, toc and floatlist to the visible
2565         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2566         up the dialogs. Cursor has to be in front of the inset (i.e.
2567         start of row) for this to function.
2568
2569 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2570
2571         * bufferview_funcs.C (currentState): output row information
2572
2573 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2574
2575         * bufferview_funcs.C (currentState): output paragraph position
2576
2577 2003-09-04  Angus Leeming  <leeming@lyx.org>
2578
2579         * FloatList.h: move out #include "Floating.h".
2580         * LaTeX.h: move out #include "DepTable.h".
2581         * LyXAction.h: move out #include "funcrequest.h".
2582         * buffer.h: move out #include "author.h", "iterators.h".
2583         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2584         * lyx_main.h: move out #include "errorlist.h".
2585         * lyxfunc.h: move out #include "FuncStatus.h".
2586         * lyxtext: move out #include "lyxcursor.h".
2587         * paragraph_pimpl.h: move out #include "counters.h".
2588
2589 2003-09-03  Angus Leeming  <leeming@lyx.org>
2590
2591         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2592         preamble_snippets list, enabling us to add snippets to the preamble
2593         only if the snippet was not there already.
2594
2595 2003-09-04  Angus Leeming  <leeming@lyx.org>
2596
2597         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2598
2599 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2600
2601         * lyxfunc.C (dispatch): if fitCursor did something be sure to
2602         update
2603
2604 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2605
2606         * BranchList.C: point fix, earlier forgotten
2607
2608 2003-09-02  Angus Leeming  <leeming@lyx.org>
2609
2610         * box.C (contains): renamed from 'contained' after a fantastic
2611         amount of hot air.
2612
2613 2003-09-02  John Levon  <levon@movementarian.org>
2614
2615         * BufferView.C:
2616         * lyxcursor.h:
2617         * lyxcursor.C:
2618         * lyxfunc.C:
2619         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2620
2621 2003-09-02  John Levon  <levon@movementarian.org>
2622
2623         * text2.C: simplification of cursorEnd(), including partial
2624         fix for bug 1376
2625
2626 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2627
2628         * buffer.C (readFile): add a space
2629
2630 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
2631
2632         * BufferView_pimpl.C (update): remove bogus fitCursor() call
2633
2634 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2635
2636         * buffer.C (readFile): new function, take a filename and a
2637         ParagraphList::iterator
2638         (readFile): adjust
2639         (readFile): adjust, make it private. don't use setStream, make
2640         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2641         always contain the filename.
2642
2643         * BufferView.C (insertLyXFile): simplify and make it work for
2644         gzipped files.
2645
2646 2003-08-30  John Levon  <levon@movementarian.org>
2647
2648         * Makefile.am: fix dist (from Kayvan)
2649
2650 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2651
2652         * most files: change to use const Buffer refs
2653
2654 2003-08-27  André Pönitz  <poenitz@gmx.net>
2655
2656         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2657         on top of ownerPar().
2658
2659 2003-08-27  John Levon  <levon@movementarian.org>
2660
2661         * funcrequest.C: properly initialise POD members
2662
2663 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2664
2665         * lyxtext.h (top_y): move top_y from here
2666         * text.C:
2667         * text2.C:
2668         * text3.C:
2669         * BufferView.[Ch]:
2670         * BufferView_pimpl.[Ch]: to here
2671         * frontends/screen.C:
2672         * insets/insettabular.C:
2673         * insets/insettext.C: adjust
2674         * rowpainter.[Ch] (paintRows): remove LyXText & argument
2675
2676 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2677
2678         * BufferView.[Ch]:
2679         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2680
2681 2003-08-26  André Pönitz  <poenitz@gmx.net>
2682
2683         * paragraph_func.[Ch] (outerPar): new function
2684
2685         * paragraph.C:
2686         * paragraph_funcs.C:
2687         * paragraph_funcs.h:
2688         * paragraph_pimpl.C:
2689         * text2.C: remove Inset::par_owner
2690
2691 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
2692
2693         * lyxrow_funcs.C:
2694         * lyxtext.h:
2695         * text.C:
2696         * text2.C: eliminates the needFullRow/display() stuff
2697         altogether, putting the logic in metrics/draw in the insets.
2698
2699 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
2700
2701         * text2.C (redoParagraphInternal, redoParagraphs):
2702         * text.C (redoParagraph): add a call to updateRowPositions at the
2703         end of each 'metrics-like' call. Remove all others.
2704         (getRow): remove the 'y-computing' version.
2705         (getRowNearY): do not compute nor return the real y. Solve the
2706         'y < 0' problem and simplify.
2707
2708 2003-08-22  Angus Leeming  <leeming@lyx.org>
2709
2710         * *.[Ch]: clean-up of licence and author blurbs.
2711         Also move config.h out of a few .h files and into a few .C files.
2712
2713 2003-08-22  André Pönitz  <poenitz@gmx.net>
2714
2715         * lyxrow.[Ch]: add x_ and *fill_ members
2716
2717         * lyxtext.h:
2718         * text.C:
2719         * rowpainter.C:
2720         * text2.C: adjust/remove prepareToPrint() calls
2721
2722 2003-08-22  André Pönitz  <poenitz@gmx.net>
2723
2724         * lyxrow.[Ch]: add  end_ member
2725
2726         * lyxrow_funcs.C: use LyXRow::end_
2727
2728         * lyxtext.h (singleWidth): add LyXFont parameter
2729
2730         * rowpainter.C:
2731         * text2.C: adjust LyXText::singleWidth() calls
2732
2733         * text.C (redoParagraph): simplify row breaking logic
2734
2735
2736 2003-08-19  André Pönitz  <poenitz@gmx.net>
2737
2738         * funcrequest.C: initialize button_ member
2739
2740         * text3.C:
2741         * rowpainter.[Ch]: interface consolidation
2742
2743 2003-08-18  André Pönitz  <poenitz@gmx.net>
2744
2745         * BufferView.C:
2746         * BufferView_pimpl.C:
2747         * lyxfind.C:
2748         * paragraph_funcs.C:
2749         * rowpainter.C:
2750         * text3.C: remove LyXScreen::draw() and fitCursor calls
2751
2752         * BranchList.h: remove spurious semicolons
2753
2754         * MenuBackend.C: fix branchlist related crash
2755
2756 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
2757
2758         * BranchList.[Ch]:
2759         * InsetList.[Ch]:
2760         * LColor.[Ch]:
2761         * LyXAction.C:
2762         * Makefile.am:
2763         * MenuBackend.[Ch]:
2764         * bufferparams.[Ch]:
2765         * factory.C:
2766         * lfuns.h:
2767         * lyxfunc.C:
2768         * text3.C: implements the 'branch inset'
2769         idea. This allows the output of various versions of a document
2770         from a single source version, selectively outputing or suppressing
2771         output of parts of the text.
2772         This implementation contains a 'branch list editor' in a separate
2773         tab of the document settings dialog. Branches are user definable
2774         and have a "display colour" to distinguish them on-screen.
2775
2776         ColorHandler was somewhat cleaned up.
2777         (1) make possible a dynamically growing LColor list by allowing
2778         the graphic context cache to grow along (vector);
2779         (2) eliminate an IMHO unnecessary step in colour allocation.
2780
2781 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
2782
2783         * BufferView_pimpl.C: compile fix
2784
2785 2003-08-15  André Pönitz  <poenitz@gmx.net>
2786
2787         * rowpainter.C: remove extra metrics calls
2788
2789         * lyxtext.h: merge the two constructors into a single one,
2790           pass reference to owner's par list
2791
2792         * BufferView_pimpl.C:
2793         * text.C:
2794         * text2.C: adjust
2795
2796 2003-08-15  André Pönitz  <poenitz@gmx.net>
2797
2798         * lyxrow_funcs.[Ch]:
2799         * lyxtext.h:
2800         * paragraph.h:
2801         * paragraph_funcs.C:
2802         * rowpainter.C:
2803         * text.C:
2804         * text2.C:
2805         * text3.C:
2806         * text_funcs.C: split LyXText::rowlist_ into individual
2807         Paragraph::rows_ chunks
2808
2809         * BufferView.[Ch]:
2810         * BufferView_pimpl.[Ch]:
2811         * lyxfind.C:
2812         * lyxtext.h:
2813         * text3.C: remove toggleSelection()
2814
2815 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
2816
2817         * bufferlist.C: beautify two alerts (shorter text of buttons)
2818         * buffer.C: Remove redundant ' ' from message
2819         * tabular.h:
2820         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2821         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2822         rename VALIGN_CENTER to VALIGN_MIDDLE
2823
2824 2003-08-11  André Pönitz  <poenitz@gmx.net>
2825
2826         * lyxtext.h (getPar):
2827         * text.C: new function
2828
2829 2003-08-11  André Pönitz  <poenitz@gmx.net>
2830
2831         * Makefile.am:
2832         * tracer.[Ch]: remove unneeded files
2833
2834         * InsetList.[Ch]: remove resizeInsetsLyXText()
2835
2836         * lyxtext.h:
2837         * text.C:
2838         * text2.C:
2839         * text3.C: merge insertParagraphs() and appendParagraph()
2840         remove breakAgain(), update()
2841
2842         * BufferView_pimpl.[Ch]:
2843         * bufferview_funcs.[Ch]:
2844         * lyxfunc.C:
2845         * paragraph.[Ch]:
2846         * rowpainter.C:
2847         * tabular.C: adjust after text & InsetList changes.
2848
2849 2003-08-08  André Pönitz  <poenitz@gmx.net>
2850
2851         * text.C (insertChar, backspace): replace rowlist fiddling
2852         with rebreak of full par
2853
2854         * lyxtext.h:
2855         * text.C (breakAgainOneRow, redoHeightOfParagraph,
2856         checkParagraph, updateInset): removed
2857
2858 2003-08-07  André Pönitz  <poenitz@gmx.net>
2859
2860         * paragraph.C:
2861         * text3.C: merge some LFUN handlers, remove dead code
2862
2863 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2864
2865         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2866
2867 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
2868
2869         * text2.C (DEPM): fix part of bug 1255 and 1256
2870
2871 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2872
2873         * BufferView_pimpl.C (workAreaDispatch): change to use
2874         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2875         that are no mouse related.
2876
2877 2003-08-05  André Pönitz  <poenitz@gmx.net>
2878
2879         * BufferView.[Ch]:
2880         * BufferView_pimpl.[Ch]:
2881         * bufferview_funcs.C:
2882         * text2.C:
2883         * text3.C: rip out "deep update"
2884
2885         * textcursor.[Ch] (last_sel_cursor): remove unused member
2886
2887 2003-08-04  André Pönitz  <poenitz@gmx.net>
2888
2889         * BufferView.[Ch]:
2890         * BufferView_pimpl.[Ch]:
2891         * ParagraphParameters.C:
2892         * bufferview_funcs.C:
2893         * lyx_cb.C:
2894         * lyxfind.C:
2895         * lyxfunc.C:
2896         * text.C:
2897         * text2.C:
2898         * text3.C: replace "complicated" BufferView::update(...) calls with
2899         simpler ones.
2900
2901         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2902
2903 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2904
2905         * Makefile.am (lyx_SOURCES): add paper.h
2906
2907 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2908
2909         * Makefile.am: move things around so that both lyx-qt and
2910         lyx-xforms can be built (according to --with-frontend). Then lyx
2911         is a symbolic link to lyx-[firstfrontend]
2912
2913 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2914
2915         * Always use std::endl with lyxerr
2916
2917 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2918
2919         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2920
2921 2003-08-01  André Pönitz  <poenitz@gmx.net>
2922
2923         * BufferView.[Ch]:
2924         * BufferView_pimpl.[Ch]:
2925         * lyxfunc.C:
2926         * text3.C: merge BufferView::repaint() and BufferView::update()
2927
2928 2003-08-01  José Matos  <jamatos@lyx.org>
2929
2930         * buffer.[Ch]: file_format is no longer a buffer data element.
2931
2932 2003-08-01  André Pönitz  <poenitz@gmx.net>
2933
2934         * BufferView.C:
2935         * lyxtext.h:
2936         * text.C:
2937         * text2.C: make redoParagraph more independent of current cursor
2938
2939         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2940         * text.C:
2941         * text2.C: remove unneeded members
2942
2943 2003-07-30  André Pönitz  <poenitz@gmx.net>
2944
2945         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2946
2947         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2948           create a single function...
2949
2950         * paragraph_funcs.C (moveItem): ... here.
2951
2952         * text.C:
2953           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2954
2955 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2956
2957         * LColor.[Ch]: Add comment and greyedout logical colors.
2958
2959 2003-07-30  André Pönitz  <poenitz@gmx.net>
2960
2961         * tabular.C: don't use Assert too heavily. This crashes where it
2962           shouldn't
2963
2964 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2965
2966         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2967         is disabled (bug 1232)
2968
2969 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2970
2971         * factory.C: limited 'arg' scope
2972
2973 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2974
2975         * factory.C: fixed Note submenu issues
2976
2977 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2978
2979         * factory.C: submenu for Note/Comment/Greyedout
2980
2981 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2982
2983         * lyx_main.C (LyX):
2984         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2985
2986 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2987
2988         * LaTeXFeatures.C:
2989         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2990         greyedout. Patch provided by Jürgen Spitzmüller.
2991
2992 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2993
2994         * kbmap.C (read): fix error message when reading bind files
2995
2996 2003-07-29  Angus Leeming  <leeming@lyx.org>
2997
2998         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2999         certainly does not do what it purports to do. I am doing it, and
3000         us, a favour by killing it.
3001
3002 2003-07-28  José Matos  <jamatos@lyx.org>
3003
3004         * buffer.C (readBody, do_writeFile):
3005         * paragraph.C(readParagraph): \end_document replaces \the_end.
3006
3007 2003-07-29  André Pönitz  <poenitz@gmx.net>
3008
3009         * BufferView.[Ch]:
3010         * BufferView_pimpl.[Ch]:
3011         * lyxfunc.C:
3012         * text2.C:
3013         * text3.C:
3014         * textcursor.[Ch]: remove toggleToggle & Co
3015
3016 2003-07-28  José Matos  <jamatos@fep.up.pt>
3017
3018         * buffer.C (readParagraph):
3019         * params_func (readParToken, readParagraph):
3020         * paragraph.C (write): \layout -> \begin_layout.
3021
3022 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3023
3024         * lyxlex_pimpl.C (setFile): clean up slightly.
3025
3026         * bufferparams.h: add compressed var
3027
3028         * buffer_funcs.C (readFile): adjust for LyXLex change
3029         (newFile): ditto + simplify
3030
3031         * buffer.C (writeFile): handle writing of compressed files
3032
3033         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3034         Check if the file is compressed and set a bufferparm if so.
3035
3036         * Makefile.am (lyx_LDADD): remove explicit -lz
3037
3038 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3039
3040         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3041         makeDocBookFile): put the real LyX version in the first line of
3042         the file
3043
3044         * version.h:
3045         * version.C.in: remove lyx_docversion
3046
3047         * tabular.C (write_attribute): add a template-based version to
3048         write enums properly
3049
3050 2003-07-28  André Pönitz  <poenitz@gmx.net>
3051
3052         * lyxtext.h:
3053         * text.C:
3054         * text2.C:
3055         * text3.C: use doubles again for x-coordinates. They are needed.
3056
3057 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3058
3059         * messages.C (getLocaleDir): use lyx_localedir()
3060
3061         * lyxlex_pimpl.C (setFile): compress stuff
3062
3063         * buffer.C (writeFile): add some compression stuff
3064         (do_writeFile): new func, dont call expliti close... will this
3065         breake anything?
3066
3067         * Makefile.am (lyx_LDADD): add -lz
3068
3069 2003-07-28  José Matos  <jamatos@fep.up.pt>
3070
3071         * buffer.C: increment file format.
3072         * paragraph_funcs (readParagraph, readParToken):
3073         * paragraph.C (readParagraph): add \end_layout.
3074
3075 2003-07-27  Angus Leeming  <leeming@lyx.org>
3076
3077         * Makefile.am: remove special casing for configure-time setting of
3078         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3079
3080         * lyx_main.C (init): remove all Jean-Marc's magic setting of
3081         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3082
3083 2003-07-26  André Pönitz  <poenitz@gmx.net>
3084
3085         * paragraph_func.[Ch]:
3086         * paragraph.C (realizeFont): inline it whereever it is used
3087
3088         * rowpainter.C:
3089         * text.C:
3090         * text2.C:
3091         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3092
3093
3094 2003-07-26  André Pönitz  <poenitz@gmx.net>
3095
3096         *       lyxtext.h:
3097         * text.C:
3098         * text2.C: get rid of LyXText::need_break_row
3099
3100 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3101
3102         * toc.[Ch]: put namespace toc inside namespace lyx
3103
3104         * MenuBackend.C (expandToc2): adjust for lyx::toc
3105         (expandToc): ditto
3106
3107         * lyxfunc.C (dispatch): adjust for lyx::find
3108
3109         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3110         lyx::find instead. Reorganize a bit.
3111         (LyXReplace): rename to replace
3112         (LyXFind): rename to find
3113
3114         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3115         (dispatch): ditto
3116
3117 2003-07-26  André Pönitz  <poenitz@gmx.net>
3118
3119         * text.C (setHeightOfRow): restrict scope of temporary variable
3120
3121         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
3122           code (never has been used?)
3123
3124 2003-07-27  Asger Alstrup  <alstrup@local>
3125
3126         * text.C (fill): Optimise algorithm to exploit that we can reuse
3127         the LyXFont for many characters.
3128         (setHeightOfRow): Same thing.
3129         (rowBreakPoint): Same thing.
3130
3131 2003-07-26  Asger Alstrup  <alstrup@local>
3132
3133         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3134
3135         * text.C (singleWidth): Spurious font copying in hot-spot
3136         singleWidth avoided. Reorder tests for arabic for efficiency.
3137
3138         * text.C (fill): handle empty paragraphs better.
3139
3140 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3141
3142         * ispell.C:
3143         * encoding.h: add includes
3144
3145         * lyxrc.C: remove reading of bind files
3146
3147         * lyx_main.C (init): setup bindings and menus only if we have a
3148         gui.
3149
3150         * kbmap.C (read): new method. Do the actual reading of bind
3151         files.
3152
3153         * converter.C (dvipdfm_options):
3154         * bufferparams.C:
3155         * lyxrc.C (read):
3156         (output): adapt PAPER_* enums.
3157
3158         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3159
3160         * bufferparams.h: remove paper-related enums from there
3161
3162         * paper.h: New file. A trivial header file to hold paper-related
3163         enums. It should later expand to contain many paper-related
3164         horrors access.
3165
3166         * lyxrc.C: declare extern displayTranslator
3167
3168 2003-07-27  José Matos  <jamatos@fep.up.pt>
3169
3170         * tabular.[Ch] (linuxdoc): add support for tables and figures
3171         (linuxdoc).
3172
3173 2003-07-27  José Matos  <jamatos@fep.up.pt>
3174
3175         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3176         consistency in both functions.
3177         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3178
3179 2003-07-26  Asger Alstrup  <alstrup@local>
3180
3181         * rowpainter.C (paintRows): Change algorithm to work directly on
3182         the insets rather than asking every character in the document
3183         whether its an inset.
3184
3185 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
3186
3187         * buffer.C (openFileWrite): factorize some code
3188
3189 2003-07-26  Angus Leeming  <leeming@lyx.org>
3190
3191         * lyx_cb.C:
3192         * lyx_main.[Ch]: replace occurances of system_tempdir with
3193         os::getTmpDir().
3194
3195 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3196
3197         * rename Inset to InsetOld
3198
3199 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
3200
3201         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3202         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3203         which I think is a bit clearer. EDIT is gone, since it was
3204         premature optimisation, and broken for mathed anyway.
3205         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3206         with cursor positioning in insets as well (math insets still do not
3207         work, but that's a different story anyway.) It mysteriously
3208         crashes sometimes with undo in the first paragraph, but I'm fairly
3209         confident that this is a compiler bug.
3210
3211 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3212
3213         * paragraph.C (Paragraph): adjust for new clone return type
3214         (operator==): ditto
3215         (copyIntoMinibuffer): ditto
3216
3217 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
3218
3219         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3220         by not having a special case, and always doing a full rebreak of
3221         the document after undo.
3222
3223 2003-07-23  Angus Leeming  <leeming@lyx.org>
3224
3225         * factory.C (createInset): InsetExternal::setParams now takes a
3226         Buffer const * arg.
3227
3228 2003-07-23  Angus Leeming  <leeming@lyx.org>
3229
3230         * factory.C (createInset): changed interface to the external and
3231         graphics mailers' string2params functions.
3232
3233 2003-07-23  Angus Leeming  <leeming@lyx.org>
3234
3235         * factory.C (createInset): pass a
3236         Buffer const * parameter to InsetExternalMailer's string2params.
3237
3238 2003-07-22  John Levon  <levon@movementarian.org>
3239
3240         * Thesaurus.h: include the right aiksaurus header
3241
3242 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3243
3244         * MenuBackend.C (expand): check menu shortcuts unconditionally
3245
3246 2003-07-21  Angus Leeming  <leeming@lyx.org>
3247
3248         * factory.C (createInset): pass a
3249         buffer_path parameter to InsetGraphicsMailer's string2params.
3250
3251 2003-07-21  Angus Leeming  <leeming@lyx.org>
3252
3253         * BufferView_pimpl.C (buffer):
3254         * buffer.C (d-tor):
3255         * lyx_main.C (LyX):
3256         * lyxfunc.C (dispatch):
3257         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3258         rather than the grfx shortcut.
3259
3260 2003-07-21  André Pönitz  <poenitz@gmx.net>
3261
3262         * rowpainter.C: remove unused variables
3263
3264         * tabular_funcs.C:
3265         * tabular_funcs.h: move to tabular.C
3266         * Makefile.am: adjust
3267
3268         * tabular.[Ch]: basic optical cleaning
3269
3270         * author.h: pass references, not values
3271
3272 2003-07-18  André Pönitz  <poenitz@gmx.net>
3273
3274         * lyxtext.h:
3275         * metricsinfo.C:
3276         * metricsinfo.h:
3277         * rowpainter.C:
3278         * text.C:
3279         * text2.C:
3280         * text3.C: two-phase drawing for InsetText and InsetTabular
3281         some float -> int changes.
3282
3283 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3284
3285         * lyx_main.C: fix the fix
3286
3287 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3288
3289         * lyx_main.C: fix a crash in batch mode if no files specified
3290         * converter.C: ws
3291
3292 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
3293
3294         * format.[Ch] (papersize): moved to BufferParams
3295         * converter.[Ch] (dvips_options): moved to BufferParams
3296         (dvipdfm_options): moved to anon namespace
3297         * bufferparams.[Ch]: added above functions.
3298
3299 2003-07-17  André Pönitz  <poenitz@gmx.net>
3300
3301         * lyxtext.h:
3302         * rowpainter.C:
3303         * text2.C: don't call inset->update() anymore
3304
3305         * metricsinfo.[Ch]: add convenience constructor
3306
3307 2003-07-16  André Pönitz  <poenitz@gmx.net>
3308
3309         * lyxcursor.[Ch]:
3310         * lyxfunc.[Ch]:
3311         * text.C:
3312         * text2.C: replace the LyXCursor::irow_ member with
3313          on-demand computation of the value
3314
3315 2003-07-16  John Levon  <levon@movementarian.org>
3316
3317         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3318
3319 2003-07-15  André Pönitz  <poenitz@gmx.net>
3320
3321         * text.C:
3322         * text2.C: remove no more needed refresh_row
3323
3324 2003-07-15  André Pönitz  <poenitz@gmx.net>
3325
3326         * lyxtext.h:
3327         * rowpainter.C:
3328         * text2.C:
3329         * text3.C: refresh_status tristate -> need_update bool
3330
3331 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
3332
3333         * lyxtext.h (init): remove reinit argument (act as if always true)
3334         * text2.C: adjust to that
3335
3336 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3337
3338         * bufferview_funcs.[Ch]: introduce function replaceSelection()
3339         * text3.C: use it to delete selections in some cases
3340         (bugs 441, 673, 702, 954).
3341
3342 2003-07-14  André Pönitz  <poenitz@gmx.net>
3343
3344         * rowpainter.[Ch]: reduce interface
3345
3346 2003-07-14  André Pönitz  <poenitz@gmx.net>
3347
3348         * BufferView_pimpl.C:
3349         * text2.C: adjust after removing unused BufferView * argument
3350
3351 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
3352
3353         * text2.C (init): fix a crash fired on resize
3354
3355 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
3356
3357         * buffer.[Ch]: added new closing signal
3358         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3359         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3360         BufferView::Pimpl via the closing the signal
3361
3362 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
3363
3364         * buffer.[Ch]: take out all bv-related from buffer
3365         * BufferView.C:
3366         * BufferView_pimpl.[Ch]: connect to new signals
3367         * CutAndPaste.C: removed useless asserts
3368         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3369         * lyxvc.[Ch]:
3370         * vc-backend.[Ch]:
3371         * lyxfunc.C: moved view-related funciontality from vc here
3372         * paragraph.C: removed outdated comments
3373         * text.C: ws
3374
3375 2003-07-10  André Pönitz  <poenitz@gmx.net>
3376
3377         * BufferView_pimpl.C:
3378         * tabular.h:
3379         * tabular_funcs.C:
3380         * text.C:
3381         * text2.C: remove InsetText::InnerCache, clean up consequences
3382
3383 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
3384
3385         * ispell.C: fix two typos in error messages
3386
3387 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
3388
3389         * Extend Note inset to other forms of annotation like Comment
3390         and Greyedout. Right button click gives dialog.
3391
3392         Files modified or added (+):
3393
3394         * insetnote.[Ch]
3395         * FormNote.[Ch]      +
3396         * ControlNote.[Ch]   +
3397         * form_note.fd       +
3398         * Makefile.am in frontends/xforms, frontends/xforms/forms,
3399         frontends/controllers
3400         * xforms/Dialogs.C
3401         * factory.C
3402
3403 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3404
3405         * aspell.C: add missing namespace lyx::support
3406
3407 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
3408
3409         * BufferView.[Ch] (newFile): Add
3410         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3411         * LaTeX.[Ch] (message): added this signal and use it
3412         * buffer.[Ch] (busy, message): added these signals and use them
3413         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3414         * converter.C:
3415         * exporter.C:
3416         * format.C:
3417         * importer.C: use buffer signals instead of direct bv calling
3418         * lyx_cb.[Ch] (ShowMessage): removed
3419         * lyx_main.C:
3420         * lyxfunc.C:
3421         * paragraph_funcs.C:
3422         * text2.C: use buffer signals
3423
3424 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3425
3426         * introduce namespace lyx::graphics
3427
3428 2003-07-02  André Pönitz  <poenitz@gmx.net>
3429
3430         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3431
3432 2003-07-01  André Pönitz  <poenitz@gmx.net>
3433
3434         * text.C:
3435         * text2.C:
3436         * text3.C:
3437         * text_funcs.[Ch]:
3438         * textcursor.h:
3439         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3440           text*.C to text_func.C
3441
3442 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3443
3444         * introduce namespace lyx::support
3445
3446 2003-06-30  André Pönitz  <poenitz@gmx.net>
3447
3448         * Chktex.C:
3449         * funcrequest.C:
3450         * lyxtext.h:
3451         * text.C: re-enable --with-included-string
3452
3453 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3454
3455         * textcursor.C: add <config.h>
3456
3457         * text.C (getWord): remove const from word_location arg
3458
3459         * lyxvc.C (getLogFile): fix const type order
3460
3461         * lyxtext.h: remove const from word_location arg, add arg name
3462
3463         * lyxlayout.h: currect type on labeltype.
3464
3465         * importer.C: correct \file
3466
3467         * converter.C (intToFormat): use std:: on ret val, ws changes
3468
3469         * bufferlist.h: correct \file
3470
3471         * buffer.C (makeLinuxDocFile): fix const type order
3472         (makeDocBookFile): ditto
3473         (fillWithBibKeys): use std:: on stdlib args.
3474
3475         * CutAndPaste.C: fix authors.
3476         (availableSelections): use std:: on return vector
3477
3478 2003-06-27  André Pönitz  <poenitz@gmx.net>
3479
3480         * BufferView_pimpl.C:
3481         * bufferview_funcs.C:
3482         * lyxcursor.C:
3483         * lyxcursor.h:
3484         * lyxfunc.C:
3485         * lyxtext.h:
3486         * rowpainter.C:
3487         * text.C:
3488         * text2.C:
3489         * text3.C: remove LyXCursor::row_ member
3490
3491         * lyxtext.h:
3492         * text.C: rename fullRebreak() to partialRebreak() and implement
3493           a fullRebreak() that really bereks fully
3494
3495         * textcursor.h: new struct for cursor-related data
3496
3497 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
3498
3499         * lyx_main.C (LyX): get full path of document loaded on the
3500         command line
3501
3502 2003-06-26  André Pönitz  <poenitz@gmx.net>
3503
3504         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3505           remove unused/broken operator>,<,>=.
3506
3507         *       text.C: remove only use of broken operator<= in an Assert().
3508
3509 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3510
3511         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3512         moved errorlist_.clear to showErrorList
3513
3514 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3515
3516         * converter.C (scanLog, runLaTeX):
3517         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3518         move the bv->showErrorList call to the callers
3519         * lyxfunc.C: i.e. here...
3520         * text2.C: and here
3521         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3522         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3523         namespace, the second to...
3524         * buffer_funcs (BufferFormat, parseErrors): added
3525         * errorlist.C (ErrorList(TeXErrors const &)): removed
3526
3527 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3528
3529         * ToolbarBackend.C (getIcon): complain when icon cannot be found
3530
3531 2003-06-24  "Garst R. Reese" <reese@isn.net>
3532
3533         * debug.C: fix typo
3534
3535 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3536
3537         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3538
3539         * version.C.in: change docversion to 1.4
3540
3541 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
3542
3543         * buffer.C: fix a bug just introduced
3544
3545 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
3546
3547         * buffer.[Ch]: added the parseError signal and use it, removed
3548         sgmlError
3549         * BufferView.[Ch] (addError): moved to ...
3550         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3551         to the Buffer::parseError signal to catch (guess what) parse errors
3552         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3553
3554 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
3555
3556         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3557         ability to create a buffer and to return an existing one from
3558         the list. Moved these functions to...
3559         * buffer_funcs.[Ch]: added
3560         * BufferView.[Ch] (loadLyXFile): added
3561         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3562         job removed from bufferlist::loadLyXFile.
3563         * buffer.C (setReadOnly): make it work without view
3564         (i.e added an if (users))
3565
3566 2003-06-19  Angus Leeming  <leeming@lyx.org>
3567
3568         * lfuns.h:
3569         * LyXAction.C (init):
3570         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3571         with LFUN_DIALOG_SHOW <name> <data>.
3572
3573 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3574
3575         * CutAndPaste.C (availableSelections): small compilation fix for
3576         ancient (gcc 2.9x) compilers
3577
3578 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3579
3580         * text3.C (cursorNext): add tmp var
3581
3582         * text2.C (updateCounters): for function calling out of for clause
3583         (replaceSelectionWithString): ditto
3584         (insertStringAsParagraphs): ditto
3585         (getColumnNearX): add tmp var
3586         (setCursorFromCoordinates): add tmp var
3587         (cursorDownParagraph): add tmp var
3588         (deleteEmptyParagraphMechanism): add tmp var
3589
3590         * text.C (insertChar): add tmp var
3591
3592         * rowpainter.C (paintDepthBar): add tmp var
3593
3594         * CutAndPaste.C (availableSelections): potentially check all
3595         paragraphs in a cut to fill the shown strings.
3596
3597 2003-06-18  André Pönitz  <poenitz@gmx.net>
3598
3599         * kbmap.[Ch]: use vector<> instead of list<>
3600
3601 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
3602
3603         * text3.C (dispatch): handle arg to LFUN_PASTE, call
3604         pasteSelection with index
3605
3606         * text2.C (pasteSelection): modify, call pasteSelection with index
3607
3608         * paragraph.C (asString): reimplement version with no interval to
3609         call the one with interval.
3610
3611         * lyxtext.h: add index arg to pasteSelection
3612
3613         * MenuBackend.C (MenuItem): handle PasteRecent
3614         (Menu::read::Menutags): add md_pasterecent
3615         (read): handle it
3616         (expandPasteRecent): new function
3617         (expand): use it
3618
3619         * MenuBackend.h: add PasteRecent to MenuItem::Kind
3620
3621         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3622         the limited stack
3623         (availableSelections): new function
3624
3625 2003-06-17  Angus Leeming  <leeming@lyx.org>
3626
3627         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3628
3629 2003-06-17  Angus Leeming  <leeming@lyx.org>
3630
3631         * lfuns.h:
3632         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3633
3634         * lyxfunc.C (dispatch): invoke it.
3635
3636 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3637
3638         * iterators.C (operator++, ParPosition): reintroduce some
3639         const_cast for the benefit of older compilers.
3640
3641 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3642
3643         * text3.C (dispatch): do not modify clipboard when doing
3644         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3645         LFUN_DELETE_SKIP on a selection selection
3646
3647 2003-06-16  André Pönitz  <poenitz@gmx.net>
3648
3649         * BufferView.C:
3650         * buffer.C:
3651         * buffer.h:
3652         * paragraph.C:
3653         * tabular.[Ch]: IU of clone() and getLabelList();
3654
3655 2003-06-13  André Pönitz  <poenitz@gmx.net>
3656
3657         * tabular.h: compactification
3658
3659 2003-06-12  André Pönitz  <poenitz@gmx.net>
3660
3661         * tabular.C:
3662         * tabular.h:
3663         * tabular_funcs.h: some renaming plus whitespace
3664
3665 2003-06-12  André Pönitz  <poenitz@gmx.net>
3666
3667         * BufferView.C:
3668         * BufferView_pimpl.C:
3669         * CutAndPaste.C:
3670         * buffer.C:
3671         * iterators.[Ch]:
3672         * lyxfunc.C:
3673         * text.C:
3674         * toc.C: Return a Paragraph & for ParIterator::operator*()
3675
3676 2003-06-11  John Levon  <levon@movementarian.org>
3677
3678         * lyx_main.C:
3679         * ToolbarBackend.h:
3680         * ToolbarBackend.C: add "Toolbars" section and
3681         put the flags there
3682
3683 2003-06-10  Angus Leeming  <leeming@lyx.org>
3684
3685         * lfuns.h:
3686         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3687
3688         * lyxfunc.C (dispatch): invoke it.
3689
3690 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3691
3692         * main.C: protect <ios> with HAVE_IOS
3693         (main): protect sync_with_stdio with HAVE_IOS
3694
3695 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
3696
3697         * text2.C (cutSelection): adjust
3698         (pasteSelection): adjust
3699
3700         * messages.C: handle get of empty string
3701
3702         * main.C (main): use sync_with_stdio(false)
3703
3704         * lyxfunc.C (dispatch): adjust
3705
3706         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3707         (WriteAs): remove unneeded BufferView arg.
3708
3709         * bufferparams.h: use correct types on papersize, papersize2 and
3710         paperpackage.
3711
3712         * bufferparams.C (readToken): adjust for type
3713         (writeLaTeX): add missing cases to switch.
3714
3715         * bufferlist.C (quitWriteBuffer): adjust
3716         (close): adjust
3717
3718         * buffer.C (asciiParagraph): remove some commented code.
3719
3720         * CutAndPaste.C: remove current_view extern variable.
3721         (cutSelection): add BufferParams arg.
3722         (eraseSelection): add BufferParams arg.
3723         (pasteSelection): add Buffer const & arg
3724
3725 2003-06-07  John Levon  <levon@movementarian.org>
3726
3727         * buffer.C:
3728         * paragraph_funcs.C:
3729         * paragraph_pimpl.C:
3730         * text.C:
3731         * text2.C:
3732         * paragraph.h:
3733         * paragraph.C: allow InsetERT to freely space lines,
3734         and some consolidation of code
3735
3736 2003-06-06  José Matos  <jamatos@fep.up.pt>
3737
3738         * buffer.C (makeDocBookFile): fix bug #821
3739
3740 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
3741
3742         * BufferView_pimpl.C (dispatch): use Dialogs::visible
3743
3744 2003-06-04  Angus Leeming  <leeming@lyx.org>
3745
3746         * buffer.C: bump format to 224.
3747
3748 2003-06-05  André Pönitz  <poenitz@gmx.net>
3749
3750         * text2.C (redoParagraphs): remove two const_cast<>
3751
3752 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3753
3754         * ParagraphList.h: remove last remnants of NO_STD_LIST
3755
3756 2003-06-03  Angus Leeming  <leeming@lyx.org>
3757
3758         * factory.C (createInset): small change to the way InsetExternal's params
3759         are set.
3760
3761 2003-06-04  André Pönitz  <poenitz@gmx.net>
3762
3763         * buffer.h: use Undo directly instead of shared_ptr<Undo>
3764
3765         * paragraph_pimpl.h:
3766         * paragraph.[Ch]: some Inset -> UpdatableInset changes
3767
3768         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3769
3770         * undo_funcs.C: make some simple cases of undo work again
3771
3772 2003-06-03  John Levon  <levon@movementarian.org>
3773
3774         * ispell.C: HPUX doesn't have sys/select.h
3775         (from Albert Chin)
3776
3777 2003-06-03  John Levon  <levon@movementarian.org>
3778
3779         * CutAndPaste.C: update tabular and include inset
3780         buffer references
3781
3782         * buffer.h:
3783         * paragraph.h:
3784         * paragraph.C: remove owningBuffer(), don't pass Buffer
3785         to clone()
3786
3787         * factory.C: insetGraphicsParams changed
3788
3789 2003-06-02  John Levon  <levon@movementarian.org>
3790
3791         * LyXAction.C:
3792         * factory.C:
3793         * lfuns.h:
3794         * lyxfunc.C:
3795         * text3.C: remove insetparent
3796
3797 2003-06-02  John Levon  <levon@movementarian.org>
3798
3799         * buffer.h:
3800         * buffer.C: fix inset_iterator.end(), move out of line
3801         (bug 1149)
3802
3803 2003-06-01  John Levon  <levon@movementarian.org>
3804
3805         * text3.C: use a proper cut/paste when doing inset
3806         insert (from Jürgen Spitzmüller)
3807
3808 2003-06-01  John Levon  <levon@movementarian.org>
3809
3810         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3811
3812 2003-05-30  André Pönitz  <poenitz@gmx.net>
3813
3814         * rowpainter.C: unify second drawing phase
3815
3816 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3817
3818         * trans_mgr.C: remove one case of current_view
3819
3820         * text2.C (cursorBottom): delete NO_STD_LIST stuff
3821
3822         * paragraph_funcs.h: remove paragraph.h include
3823
3824         * paragraph.h: delete NO_STD_LIST stuff
3825
3826         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3827
3828         * buffer.h: remove paragraph.h include
3829
3830         * ParagraphList.C: delete file
3831
3832         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3833
3834         * toc.C (getTocList): adjust
3835
3836         * paragraph_pimpl.C (validate): adjust
3837
3838         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3839
3840         * paragraph.C (Paragraph): adjust
3841         (getPositionOfInset): use const_iterator, adjust
3842         (bibitem): use const_iterator, adjust
3843         (setInsetOwner): adjust
3844
3845         * iterators.C (operator++): adjust
3846
3847         * InsetList.[Ch]: Replace selfmade iterator with standard
3848         vector::iterator also introduce const_iterator. Remove getPos,
3849         getInset and setInset from InsetTable. Adjust accordingly.
3850
3851         * BufferView.C (lockInset): adjust
3852         (ChangeInsets): adjust
3853
3854         * tabular.[Ch]: delete commented same_id functions
3855
3856 2003-05-28  John Levon  <levon@movementarian.org>
3857
3858         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3859
3860 2003-05-28  André Pönitz  <poenitz@gmx.net>
3861
3862         * metricsinfo.[Ch]: remove 'fullredraw' member
3863
3864 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3865
3866         * lyxtextclass.C (operator): remove caching.
3867
3868 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3869
3870         * text3.C: adjust
3871
3872         * text2.C (cursorBottom): adjust
3873         (setCounter): use ParagraphList::find, adjust
3874
3875         * text.C (workWidth): use ParagraphList::find, adjust
3876
3877         * lyxcursor.C (LyXCursor): adjust
3878
3879         * buffer.C (inset_iterator): adjust
3880
3881         * ParagraphList.h: make iterator(value_type) private, make
3882         ParagraphList a friend of iterator.
3883
3884         * ParagraphList.C (find): new function
3885
3886         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3887
3888 2003-05-27  André Pönitz  <poenitz@gmx.net>
3889
3890         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3891
3892 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3893
3894         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3895
3896 2003-05-26  John Levon  <levon@movementarian.org>
3897
3898         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3899
3900 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3901
3902         * remove same_id from function signatures, adjust.
3903
3904 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3905
3906         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3907
3908         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3909
3910         * paragraph.C (Paragraph): get rid of same_ids parameter
3911
3912         * ParagraphList.C (insert): adjust
3913         (push_back): adjust
3914
3915 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3916
3917         * paragraph_funcs.C (breakParagraph): adjust
3918         (breakParagraphConservative): adjust
3919
3920         * buffer.C (readParagraph): adjust
3921
3922         * ParagraphList.C (insert): take a reference instead of a pointer
3923         (insert): adjust
3924
3925         * paragraph.[Ch] (id): new function
3926
3927         * bufferlist.C (newFile): adjust
3928
3929         * ParagraphList.C (ParagraphList): adjust
3930         (assign): adjust
3931         (push_back): take a reference instead of a pointer.
3932
3933         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3934
3935         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3936         instead.
3937
3938         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3939         set else use old code.
3940
3941         * ParagraphList.C: remove all NO_NEXT code and only compile this
3942         code of NO_STD_LIST is set.
3943
3944 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3945
3946         * BufferView_pimpl.C:
3947         * TextCache.C:
3948         * TextCache.h:
3949         * bufferlist.C:
3950         * errorlist.h:
3951         * format.C:
3952         * format.h:
3953         * graph.C:
3954         * lyxfunc.C:
3955         * lyxrc.C:
3956         * graphics/GraphicsConverter.C:
3957         * graphics/PreviewLoader.C: header adjustment
3958
3959 2003-05-23  Angus Leeming  <leeming@lyx.org>
3960
3961         * LaTeXFeatures.[Ch] (useBabel): new method.
3962         * bufferparams.C (writeLaTeX): use it.
3963
3964 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3965
3966         * ParagraphList.h (set): remove unused function.
3967
3968 2003-05-23  André Pönitz  <poenitz@gmx.net>
3969
3970         * BufferView.C:
3971         * BufferView_pimpl.C:
3972         * buffer.C:
3973         * buffer.h:
3974         * lyxfunc.C:
3975         * undo_funcs.C: setUndo reworked
3976
3977         * iterators.[Ch]: add access to topmost ParagraphList
3978
3979         * lyxtext.[Ch] (workWidth): add a const
3980
3981 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3982
3983         * texrow.[Ch] (increasePos): remove function
3984         * exporter.C (export): removed unused var and outdated comment
3985
3986 2003-05-23  Angus Leeming  <leeming@lyx.org>
3987
3988         * latexrunparams.h: rename fragile as moving_arg.
3989         * paragraph.C (simpleTeXOnePar): ditto.
3990         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3991
3992 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3993
3994         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3995         (createUndo): ditto
3996         (textUndoOrRedo): comment out a currently unused var.
3997
3998         * paragraph.h (NO_NEXT): enable NO_NEXT
3999
4000         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4001
4002         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4003
4004         * exporter.C (Export): adjust for removeAutoInsets removal.
4005
4006         * buffer.C (runChktex): adjust for removeAutoInsets removal.
4007
4008         * LyXAction.C (init): remove LFUN_REMOVEERRORS
4009
4010         * BufferView.[Ch] (removeAutoInsets): delete function
4011
4012 2003-05-22  Angus Leeming  <leeming@lyx.org>
4013
4014         * latexrunparams.h: add a free_spacing variable.
4015
4016         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4017         to pass moving_arg, as the data is stored in runparams.fragile.
4018
4019         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4020         to Inset::latexOptional or to simpleTeXOnePar.
4021
4022         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4023         free_spacing arg to Inset::latexOptional.
4024
4025         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4026         free_spacing arg.
4027
4028 2003-05-22  Angus Leeming  <leeming@lyx.org>
4029
4030         * latexrunparams.h: add fragile and use_babel variables.
4031
4032         * bufferparams.[Ch] (writeLaTeX): return use_babel.
4033         * buffer.C (makeLaTeXFile): store this returned value in
4034         runparams.use_babel, thus passing it to the inset::latex methods.
4035
4036         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4037         simpleTeXSpecialChars as it is now stored in runparams.fragile.
4038
4039         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4040         longer has a fragile arg, as it is stored in runparams.fragile.
4041
4042         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4043         moving_arg parameter as the data is stored in runparams.fragile.
4044
4045         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4046         a fragile parameter as the data is stored in runparams.fragile.
4047
4048 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4049
4050         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4051
4052 2003-05-22  Angus Leeming  <leeming@lyx.org>
4053
4054         * latexrunparams.h: add a 'bool nice' which defaults to false.
4055
4056         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4057         now encapsulated within runparams.
4058
4059         * bufferlist.C (updateIncludedTeXfiles):
4060         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4061
4062 2003-05-22  Angus Leeming  <leeming@lyx.org>
4063
4064         * latexrunparams.h: new file containing struct LatexRunParams.
4065         * Makefile.am: add new file.
4066
4067         * LaTeX.[Ch] (c-tor, run):
4068         * buffer.[Ch] (makeLaTeXFile):
4069         * bufferlist.[Ch] (updateIncludedTeXfiles):
4070         * converter.C (convert, scanLog):
4071         * converter.[Ch] (runLaTeX):
4072         * exporter.C (Export):
4073         * paragraph.[Ch] (simpleTeXOnePar):
4074         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4075         * paragraph_funcs.[Ch] (latexParagraphs):
4076         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4077         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4078         pass around a LatexRunParams parameter.
4079
4080 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4081
4082         * paragraph.[Ch]: remove unused constructor
4083
4084         * ParagraphList.C (erase): new function, taking two iterators
4085
4086 2003-05-22  André Pönitz  <poenitz@gmx.net>
4087
4088         * undo_funcs.C: remove duplicated code
4089
4090         * iterator.[Ch]: operator=
4091
4092 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4093
4094         * tabular.C (SetMultiColumn): ws changes
4095
4096         * rowpainter.C (paintFirst): get rid of a ->previous
4097
4098         * lyx_cb.C (getPossibleLabel): parlist simplification
4099
4100         * BufferView.C (ChangeInsets): simplify slightly.
4101
4102 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4103
4104         * LyXAction.C: new lfun space-insert, kill protected-space-insert
4105         * lfuns.h: new LFUN_SPACE
4106         * lyxfunc.C: protected space has a new lfun
4107         * paragraph_funcs.C: read new space insets
4108         * text3.C:
4109         * factory.C: handle new space insets
4110
4111 2003-05-22  André Pönitz  <poenitz@gmx.net>
4112
4113         * BufferView.C:
4114         * BufferView_pimpl.C:
4115         * buffer.[Ch]:
4116         * lyxfunc.C:
4117         * undo_funcs.C: return a ParIterator from getParFromID.
4118
4119         * iterators.[Ch]: add two const's
4120
4121 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4122
4123         * toc.C (getTocList): adjust
4124
4125         * iterators.[Ch]: rework for parlist
4126
4127         * buffer.C (par_iterator_begin): adjust
4128         (par_iterator_end): adjust
4129
4130         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4131
4132         * BufferView.C (removeAutoInsets): adjust
4133         (ChangeInsets): adjust
4134
4135 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
4136
4137         * text.C (top_y): fix bug 1110
4138
4139 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
4140
4141         * errorlist.[Ch]: added
4142         * buffer.C:
4143         * BufferView.[Ch]:
4144         * BufferView_pimpl.C:
4145         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4146         instead
4147
4148 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4149
4150         * Makefile.am: ensure that lyx is relinked upon changes to the
4151         various "convenience" libs.
4152
4153 2003-05-20  Angus Leeming  <leeming@lyx.org>
4154
4155         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4156         files are compiled in alphabetical order again.
4157
4158         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4159
4160 2003-05-19  Angus Leeming  <leeming@lyx.org>
4161
4162         * gettext.[Ch]: remove "char const * _(char const *)".
4163
4164 2003-05-19  André Pönitz  <poenitz@gmx.net>
4165
4166         * dimension.[Ch]: promote from mathed/dimension.[Ch]
4167
4168         * Makefile.am:
4169         * BufferView.C:
4170         * DepTable.h:
4171         * LaTeXFeatures.C:
4172         * buffer.C:
4173         * lyxfont.C:
4174         * lyxlex.h:
4175         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4176
4177 2003-05-19  André Pönitz  <poenitz@gmx.net>
4178
4179         * buffer.C:
4180         * lyxlayout.[Ch]:
4181         * lyxtextclass.[Ch]:
4182         * paragraph.C:
4183         * paragraph_funcs.[Ch]:
4184         * text2.C:
4185         * text3.C: more insetenv work
4186
4187 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
4188
4189         * ParagraphParameters.C (params2string): small bug fixed
4190
4191 2003-05-16  André Pönitz  <poenitz@gmx.net>
4192
4193         * debug.C:
4194         * bufferview_funcs.C: patch from Kornel Benko to prevent
4195           crash when _(...) is called twice in a statement
4196
4197 2003-05-16  André Pönitz  <poenitz@gmx.net>
4198
4199         * BufferView.C:
4200         * lyxfunc.C:
4201         * text.C:
4202         * text2.C:
4203         * text3.C:
4204         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4205
4206 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
4207
4208         * lyx_main.C (init): remove spurious static_cast
4209
4210 2003-05-14  André Pönitz  <poenitz@gmx.net>
4211
4212         * BufferView.C: fix format string
4213
4214 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
4215
4216         * BufferView.[Ch] (insertErrors): removed
4217         * BufferView.[Ch] (showErrorList): added
4218         * buffer.C (runChkTeX):
4219         * converter.C (scanLog): call showErrorList instead of inserterrors
4220
4221 2003-05-13  André Pönitz  <poenitz@gmx.net>
4222
4223         * BufferView_pimpl.C:
4224         * buffer.C:
4225         * bufferview_func.C:
4226         * MenuBackend.C:
4227         * lyxfunc.C:
4228         * lyxrc.C:
4229         * tex-accent.C:
4230         * text3.C:
4231         * toc.C:
4232         * tabular_funcs.h: tostr() from its own header
4233
4234         * ParagraphParameters.C:
4235         * ToolbarBackend.C:
4236         * bufferparams.C:
4237         * format.C:
4238         * lyxlex_pimpl.C:
4239         * text3.C: STRCONV()
4240
4241 2003-05-12  André Pönitz  <poenitz@gmx.net>
4242
4243         * BufferView.C:
4244         * BufferView_pimpl.C:
4245         * CutAndPaste.C:
4246         * LaTeX.C:
4247         * LaTeXFeatures.C:
4248         * ParagraphParameters.C:
4249         * buffer.C:
4250         * bufferlist.C:
4251         * bufferparams.C:
4252         * bufferview_funcs.C:
4253         * converter.C:
4254         * counters.C:
4255         * debug.C:
4256         * exporter.C:
4257         * format.C:
4258         * importer.C:
4259         * lyx_cb.C:
4260         * lyx_main.C:
4261         * lyxfont.C:
4262         * lyxfunc.C:
4263         * lyxvc.C:
4264         * paragraph.C:
4265         * paragraph_funcs.C:
4266         * tabular.C:
4267         * tabular_funcs.C:
4268         * text2.C:
4269         * text3.C:  boost::format -> bformat  all over the place
4270
4271
4272 2003-05-09  André Pönitz  <poenitz@gmx.net>
4273
4274         * LColor.[Ch]: Pimpl the #include <map> away
4275
4276 2003-05-09  John Levon  <levon@movementarian.org>
4277
4278         * bufferlist.C: never remove emergency saves
4279
4280 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4281
4282         * Makefile.am: better lib building
4283
4284 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4285
4286         * texrow.[Ch]: remove dependency on Paragraph and just store a id
4287         instead.
4288         * paragraph_pimpl.C (simpleTeXBlanks): adjust
4289         (simpleTeXSpecialChars): adjust
4290         (simpleTeXSpecialChars): adjust
4291         * paragraph.C (simpleTeXOnePar): adjust
4292         * buffer.C (makeLaTeXFile): adjust
4293
4294         * Makefile.am (BOOST_LIBS): allow boost as system lib.
4295
4296         * text2.C (changeDepth): parlist cleanup
4297         (getColumnNearX): ditto
4298
4299         * rowpainter.C (getLabelFont): parlist cleanup
4300
4301         * bufferlist.C (newFile): parlist cleanup
4302
4303         * CutAndPaste.C (eraseSelection): parlist cleanup
4304
4305         * BufferView_pimpl.C (trackChanges): parlist cleanup
4306         (dispatch): ditto
4307
4308         * BufferView.C (lockInset): parlist cleanup.
4309         (ChangeInsets): ditto
4310
4311 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4312
4313         * CutAndPaste.h: Update file header.
4314
4315         * CutAndPaste.C: Update file header.
4316         Store the parts cut out of the Document in a limited_stack.
4317         (copySelection): adjust
4318         (pasteSelection): new function, takes the index in the limited stack.
4319         (nrOfParagraphs): adjust
4320         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4321         simplify error inset insertion.
4322         (checkPastePossible): adjust
4323
4324 2003-05-06  John Levon  <levon@movementarian.org>
4325
4326         * text2.C: don't cast wrap inset to float
4327
4328 2003-05-05  André Pönitz  <poenitz@gmx.net>
4329
4330         * iterator.C:
4331         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4332
4333         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4334           few naked Paragraph *.
4335
4336 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
4337
4338         * bufferparams.C: Output warning if a document with missing
4339         TeX document class is loaded
4340         * exporter.C: Disable TeX exports if the document class is missing
4341         * lyxtextclass.C:
4342         * lyxtextclass.h:
4343         * lyxtextclasslist.C: Handle new textclass.lst format; new method
4344         isTeXClassAvailable()
4345
4346 2003-05-03  John Levon  <levon@movementarian.org>
4347
4348         * BufferView.h:
4349         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4350         explicit cursor show/hide
4351
4352         * BufferView_pimpl.h:
4353         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4354         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4355
4356         * lyxfunc.C: hide cursor before dispatching.
4357
4358         * lyx_cb.C:
4359         * lyxfind.C:
4360         * text.C:
4361         * text3.C: remove explicit cursor hides
4362
4363 2003-05-02  André Pönitz  <poenitz@gmx.net>
4364
4365         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4366
4367         * undo_funcs.C:
4368         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4369           linked lists
4370
4371         * text2.C: tiny whitespace
4372
4373 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4374
4375         * undo_funcs.C: almost only ws changes.
4376
4377         * ParagraphList.C (splice): just return if pl is empty.
4378
4379 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4380
4381         * ParagraphList.C (splice): new function.
4382
4383         * CutAndPaste.C (pasteSelection): use it
4384
4385 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4386
4387         * CutAndPaste.C (pasteSelection): remove the last next and
4388         previous from this file.
4389
4390 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4391
4392         * CutAndPaste.C (pasteSelection): more clean up, user proper
4393         ParagraphList functions for pasteing.
4394
4395         * ParagraphList.C (insert): new function, three arg insert
4396
4397 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4398
4399         * ParagraphList.C (insert): new function, three arg insert
4400
4401         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4402         not on paragraphs.
4403
4404 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4405
4406         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4407
4408 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4409
4410         * CutAndPaste.C (pasteSelection): remove some unneeded code.
4411
4412 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4413
4414         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4415         (copySelection): clean up a bit.
4416         (pasteSelection): use make_pair
4417
4418         * ParagraphList.C (ParagraphList): implement copy constructor
4419         (operator=): implement, base on copy constructor.
4420         (assign): new func
4421
4422         * paragraph.C (erase): return a bool
4423
4424         * paragraph_pimpl.C (erasePos): remove function, move contents...
4425         (erase): ... here. Return a bool.
4426         (erase): call erase instead of erasePos.
4427
4428 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
4429
4430         * ParagraphList.h: define PitPosPair
4431         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4432         ParagraphList, fix a bug on pasting multiple pars
4433         * text2.C: change interface to C&P
4434
4435 2003-04-30  André Pönitz  <poenitz@gmx.net>
4436
4437         * undo_func.C: revert part of yesterday's patch 2
4438
4439 2003-04-30  John Levon  <levon@movementarian.org>
4440
4441         * LColor.C: s/tabular/table/
4442
4443 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4444
4445         * text3.C (dispatch): do not convert iterator -> pointer
4446         * undo_funcs.C (setCursorParUndo): ditto
4447         * text_funcs.C (transposeChars): ditto
4448
4449         * text2.C (setLayout): ws changes only
4450
4451         * text.C (breakParagraph): do not convert iterator -> pointer
4452         (insertChar): ditto
4453         (acceptChange): ditto
4454         (rejectChange): ditto
4455         (changeCase): ditto
4456         (Delete): ditto
4457         (backspace): ditto
4458
4459         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4460         pointer
4461
4462 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4463
4464         * text3.C (gotoInset): YABG (yet another bad getChar)
4465
4466 2003-04-29  André Pönitz  <poenitz@gmx.net>
4467
4468         * paragraph.h: make operator= private unimplemented as long as
4469           it is unusable
4470
4471         * ParagraphList.C: whitespace
4472
4473         * paragraph.[Ch]:
4474         * paragraph_pimpl.[Ch]:
4475         * paragraph_funcs.C:
4476         * CutAndPaste.C:
4477         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
4478
4479         * text2.C:
4480           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4481
4482 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4483
4484         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4485         * paragraph.[Ch] (erase):
4486         * paragraph_pimpl.[Ch] (erase): change return type and value
4487         * text2.C (cutSelection): some rework
4488
4489 2003-04-28  John Levon  <levon@movementarian.org>
4490
4491         * bufferlist.C: changes for unsaved changes dialog
4492
4493 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4494
4495         * bufferlist.C (newFile): set language (messages_) for new
4496         documents also.
4497
4498         * buffer.C (readFile): ws changes only.
4499
4500 2003-04-28  André Pönitz  <poenitz@gmx.net>
4501
4502         * undo_funcs.C:
4503         * lyxfunc.C:
4504         * buffer.[Ch]:
4505         * BufferView_pimpl.C:
4506         * BufferView.C: getParFromID related ParagraphList::iterator changes
4507
4508 2003-04-28  André Pönitz  <poenitz@gmx.net>
4509
4510         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4511           Changes
4512
4513 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4514
4515         * messages.C: remove one more localedir class variable.
4516
4517 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4518
4519         * messages.C (getLocaleDir): singleton generation function
4520         (Pimpl): use it.
4521         (Messages): add a default constructor.
4522
4523         * main.C (main): do not setup localedir here, do not call
4524         gettext_init.
4525
4526         * gettext.C (_): use it.
4527         (gettext_init): delete funciton
4528
4529 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4530
4531         * gettext.C (getLyXMessages): new singleton generating function.
4532
4533         * buffer.C (updateDocLang): adjust
4534
4535         * Makefile.am (messages.o): add target
4536         (main.o): remove target
4537
4538 2003-04-27  John Levon  <levon@movementarian.org>
4539
4540         * bufferlist.C:
4541         * lyx_cb.C:
4542         * lyxfunc.C:
4543         * lyxvc.C: specify cancel button in Alert::prompt
4544
4545 2003-04-26  John Levon  <levon@movementarian.org>
4546
4547         * text3.C:
4548         * lyxfunc.C:
4549         * lfuns.h:
4550         * LyXAction.C: add LFUN_INSET_SETTINGS
4551
4552         * lyxfunc.C: don't enable tabular-feature when there's
4553         just any locking inset
4554
4555 2003-04-26  John Levon  <levon@movementarian.org>
4556
4557         * bufferlist.C: re-add Cancel to buffer close question
4558
4559         * lyxfunc.C: fix import UI a bit
4560
4561 2003-04-25  John Levon  <levon@movementarian.org>
4562
4563         * gettext.C: remove the broken asserts for now
4564
4565 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4566
4567         * messages.C: make case where setlocale cannot comply work better.
4568
4569         * buffer.C (updateDocLang): new function
4570         (changeLanguage): use it
4571         (readFile): use it
4572
4573         * text2.C (setCounter): use B_ a bit.
4574
4575         * lyxlayout.C (Read): be sure to trim the label strings.
4576
4577         * messages.C (Messages): fix typo in comment
4578
4579         * buffer.C (readFile): set message_ after file is loaded.
4580         (makeDocBookFile): remove double return
4581         (changeLanguage): reset message_ upon language change.
4582         (B_): new func, use this to get translated buffer strings.
4583
4584         * main.C: add myself and Jean Marc as authors.
4585
4586 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4587
4588         * messages.[hC]: pimplify Messages, and three different pimpls to be
4589         used in different circumstances.
4590
4591         * gettext.[Ch]: change for use with new message code.
4592
4593 2003-04-24 André Pönitz <poenitz@gmx.net>
4594
4595         * factory.C: support for eqref
4596
4597 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4598
4599         * messages.[Ch]: add missing char
4600
4601         * Makefile.am (lyx_SOURCES): add messages.[Ch]
4602
4603         * messages.[Ch]: New files
4604
4605 2003-04-18  John Levon  <levon@movementarian.org>
4606
4607         * BufferView.h:
4608         * BufferView.C:
4609         * BufferView_pimpl.C:
4610         * lfuns.h:
4611         * LyXAction.C:
4612         * lyxtext.h:
4613         * text2.C: remove layout-copy/paste (bug 778)
4614
4615 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4616
4617         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4618
4619 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4620
4621         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4622         if they succeed. Act accordingly.
4623
4624 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4625
4626         * text2.C (setCharFont): adjust
4627         (setCounter): adjust
4628         (insertStringAsLines): adjust
4629
4630         * text.C (leftMargin): adjust
4631         (setHeightOfRow): adjust
4632
4633         * rowpainter.C (paintFirst): adjust
4634         (paintLast): adjust
4635
4636         * paragraph_funcs.C (depthHook): ParagraphList::iterators
4637         (outerHook): ditto
4638         (isFirstInSequence): ditto
4639         (getEndLabel): ditto
4640         (outerFont): adjust
4641
4642         * paragraph.C (getParLanguage): comment out some hard stuff.
4643
4644         * buffer.C (insertStringAsLines): take a ParagraphList as arg
4645         (sgmlError): ditto
4646         (simpleDocBookOnePar): ditto
4647         (makeDocBookFile): use ParagraphList::iterator
4648
4649         * CutAndPaste.C (pasteSelection): adjust
4650
4651 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4652
4653         * text2.C (getFont): adjust
4654         (getLayoutFont): adjust
4655         (getLabelFont): adjust
4656
4657         * paragraph_funcs.C (TeXOnePar): adjust
4658
4659         * buffer.C (simpleLinuxDocOnePar): adjust
4660         (simpleDocBookOnePar): adjust
4661
4662         * CutAndPaste.C (pasteSelection): adjust
4663
4664         * BufferView.C (getEncoding): adjust
4665
4666         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4667
4668 2003-04-16  John Levon  <levon@movementarian.org>
4669
4670         * lyxfind.C: use parlist stuff for search/changes
4671
4672 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4673
4674         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4675
4676         * text2.C (deleteEmptyParagraphMechanism): adjust
4677
4678         * text2.[Ch] (ownerParagraph): delete func (both of them
4679
4680 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4681
4682         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4683
4684 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4685
4686         * ParagraphList.C: prepare for NO_NEXT
4687
4688 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4689
4690         * text2.C (getFont): adjust
4691         (getLayoutFont): adjust
4692         (getLabelFont): adjust
4693
4694         * paragraph.C (getFont): adjust
4695         (getLabelFont): adjust
4696         (getLayoutFont): adjust
4697
4698         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4699
4700 2003-04-15  John Levon  <levon@movementarian.org>
4701
4702         From Angus Leeming
4703
4704         * lyx_main.C: handle Include in .ui files
4705
4706 2003-04-15  John Levon  <levon@movementarian.org>
4707
4708         * MenuBackend.C: make the doc files length shorter
4709
4710         * ToolbarBackend.h:
4711         * ToolbarBackend.C: handle toolbar placement flags,
4712         Minibuffer
4713
4714 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4715
4716         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4717         adjust
4718
4719         * paragraph_funcs.C (TeXOnePar): adjust
4720
4721         * paragraph.C (getLabelFont): add outerfont arg, adjust
4722         (getLayoutFont): ditto
4723         (simpleTeXOnePar): adjust
4724
4725         * paragraph_pimpl.C (realizeFont): delete func
4726
4727 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
4728
4729         * text2.C (beforeFullRowInset): added a bad getchar check, removed
4730         row argument, constify cur argument.
4731
4732 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4733
4734         * text2.C (getFont): adjust
4735         (getLayoutFont): adjust
4736         (getLabelFont): adjust
4737
4738         * paragraph_funcs.C (TeXOnePar): adjust
4739         (outerFont): new func...
4740         (realizeFont): ...moved out from here, changed this to facilitate
4741         transition
4742
4743         * paragraph.C (getFont): take outerfont as arg, adjust
4744         (simpleTeXOnePar): add outerfont arg, adjust
4745
4746         * buffer.C (simpleLinuxDocOnePar): adjust
4747         (simpleDocBookOnePar): adjust
4748
4749         * CutAndPaste.C (pasteSelection): adjust
4750
4751         * BufferView.C (getEncoding): adjust
4752
4753 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4754
4755         * text2.C (setCharFont): adjust
4756         (setCounter): adjust
4757
4758         * text.C (leftMargin): adjust
4759         (setHeightOfRow): adjust
4760
4761         * rowpainter.C (paintFirst): adjust
4762         (paintLast): adjust
4763
4764         * paragraph_pimpl.C (realizeFont): adjust
4765
4766         * paragraph.C (isFirstInSequence): move from here...
4767         * paragraph_funcs.C (isFirstInSequence): ...to here
4768
4769         * paragraph.C (outerHook): move from here...
4770         * paragraph_funcs.C (outerHook): ...to here
4771
4772         * paragraph.C (depthHook): move from here...
4773         * paragraph_funcs.C (depthHook): ...to here
4774
4775         * paragraph.C (getEndLabel): move from here...
4776         * paragraph_funcs.C (getEndLabel): ...to here
4777
4778         * text2.C (realizeFont): move from here...
4779         * paragraph_funcs.C (realizeFont): ...to here
4780
4781 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4782
4783         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4784
4785 2003-04-14  Angus Leeming  <leeming@lyx.org>
4786
4787         * LColor.[Ch]: scrap LColor mathcursor.
4788
4789 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4790
4791         * lyxlex.[Ch] (text): delete function
4792         * trans.C (Load): adjust
4793         * paragraph_funcs.C (readParToken): adjust
4794
4795 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4796
4797         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4798         vector<char> instead of a char[].
4799
4800         * lyxlex_pimpl.C (getString): adjust
4801         (next): adjust
4802         (lex): use getString
4803         (eatLine): adjust
4804         (nextToken): adjust
4805
4806         * lyxlex.C (text): use pimpl_->getString()
4807         (getBool): ditto
4808         (findToken): ditto
4809
4810 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4811
4812         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4813         (makeFontEntriesLayoutSpecific): temp var for par.size()
4814         (setLayout): temp var for ownerParagraphs().end()
4815         (fullRebreak): temp var for rows().end()
4816         (selectionAsString): temp var for boost::next(startpit), realize
4817         that the while really is a regular for loop.
4818         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4819         setCursor in one place.
4820         (setParagraph): temp vr for ownerParagraphs().end()
4821         (updateCounters): make the while loop a for loop
4822         (cutSelection): temp var for ownerParagraphs().end()
4823         (updateInset): make the do {} while() a regular for loop
4824         (getCursorX): use temp vars
4825         (setCurrentFont): use temp vars
4826         (getColumnNearX): use temp vars
4827
4828 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4829
4830         * text.C (transformChar): use temp var for getChar
4831         (computeBidiTables): use temp var for row->par()
4832         (fill): move temp vars for row->par() and pit->layout() earlier in
4833         the function.
4834         (labelFill): use temp var for row->par()
4835         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4836         asc and desc, realize that pit never changes and that firstpit is
4837         just a duplicate and not needed. Exchange rit->par() with pit in a
4838         lot of places.
4839         (breakAgain): use a temp var for boost::next(rit)
4840         (breakAgainOneRow): ditto
4841         (breakParagraph): use a temp var for rows().begin()
4842         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4843         (cursorRightOneWord): use temp var for cursor.par() and
4844         cursor.pos(), remove usage of tmpcursor.
4845         (cursorLeftOneWord): use temp var for cursor.par() and
4846         cursor.pos() only set cur at end of function.
4847
4848 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4849
4850         * text.C, text2.C: exchange all usage of Paragraph::next with
4851         boost::next(ParagraphList::iterator)
4852
4853         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4854
4855         * text2.C (cursorTop): simplify implementation
4856         (cursorBottom): ditto
4857         (setParagraph): use ParagraphList::iterator
4858         (setCurrentFont): adjust
4859         (getColumnNearX): adjust
4860         (cursorRight): adjust
4861         (cursorLeft): remove usage of Paragraph::previous
4862         (cursorUpParagraph): ditto
4863         (deleteEmptyParagraphMechanism): slight cleanup
4864
4865         * text.C (isBoundary): take a Paragraph const & instead of a
4866         pointer as arg.
4867         (addressBreakPoint): ditto
4868         (leftMargin): remove usage of Paragraph::previous.
4869         (setHeightOfRow): ditto
4870         (cursorLeftOneWord): ditto
4871         (selectNextWordToSpellcheck): ditto
4872         (Delete): ditto
4873         (backspace): ditto
4874         (breakParagraph): remove one usage of Paragraph::next
4875         (redoParagraph): ditto
4876         (acceptChange): ditto
4877         (insertChar): adjust
4878         (rowBreakPoint): adjust
4879
4880         * bufferview_funcs.C (toggleAndShow): adjust
4881
4882 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4883
4884         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4885         methods to access it.
4886         * lyxtext.h:
4887         * text.C: Added updateRowPositions to compute all row positions.
4888         Make top_y and getRowNearY() to use the cached y position
4889
4890 2003-04-11  John Levon  <levon@movementarian.org>
4891
4892         * text.C (rowBreakPoint): reintroduce the labelEnd
4893         checks, code copied from the row fill stuff. Deep voodoo.
4894
4895         * text.C (fill): add a comment and debugging for the
4896         next poor soul.
4897
4898 2003-04-11  John Levon  <levon@movementarian.org>
4899
4900         * text.C: make sure fullrow insets get wrapped to the next line,
4901         even when they're in a manual label
4902
4903 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4904
4905         * text2.C (insertParagraph): make it take ParagraphList::iterator
4906         as arg.
4907         (setLayout): make it return ParagraphList::iterator
4908         (redoParagraphs): ditto
4909         (setCounter): ditto
4910         (checkParagraph): ditto
4911
4912         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4913
4914         * text2.C: adjust several funcs.
4915         (realizeFont): take a ParagraphList::iterator as arg.
4916         (getLayoutFont): ditto
4917         (getLabelFont): ditto
4918         (setCharFont): ditto
4919
4920         * text.C: adjust several funcs.
4921
4922 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4923
4924         * text.C (selectNextWordToSpellcheck): don't accidentally
4925         skip insets
4926
4927 2003-04-10  John Levon  <levon@movementarian.org>
4928
4929         * ToolbarBackend.C (getIcon): special handling for
4930         LFUN_MATH_DELIM
4931
4932 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4933
4934         * text2.C (cursorRight): a getChar assert fixed
4935
4936 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4937
4938         * text2.C (getFont): change to take a ParagraphList::iterator
4939         instead of Paragraph*
4940         Adjust several functions.
4941
4942         * text.C (transformChar): change to take a ParagraphList::iterator
4943         instead of Paragraph*
4944         (singleWidth): ditto
4945         Adjust several functions.
4946
4947         * rowpainter.C: adjust several functions
4948         * rowpainter.h:store a ParagraphList::iterator and not a
4949         Paragraph&.
4950
4951
4952 2003-04-09  John Levon  <levon@movementarian.org>
4953
4954         * lyxfunc.C:
4955         * lfuns.h:
4956         * LyXAction.h:
4957         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4958         and the "help" bits as well
4959
4960 2003-04-09  John Levon  <levon@movementarian.org>
4961
4962         * ToolbarBackend.h:
4963         * ToolbarBackend.C: allow multiple toolbars
4964
4965 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4966
4967         * undo_funcs.C (setCursorParUndo): adjust
4968
4969         * text_funcs.C (transposeChars): adjust
4970
4971         * text3.C (gotoNextInset): adjust
4972         (dispatch): adjust
4973
4974         * text2.C (setLayout): adjust
4975         (changeDepth): adjust
4976         (setFont): adjust
4977         (redoParagraphs): adjust
4978         (selectionAsString): adjust
4979         (setParagraph): adjust
4980         (insertInset): adjust
4981         (cutSelection): adjust
4982         (copySelection): adjust
4983         (pasteSelection): adjust
4984         (insertStringAsLines): adjust
4985         (updateInset): adjust
4986         (setCursor): change to take a ParagraphList::iterator parameter
4987         (setCursorIntern): change to take a ParagraphList::iterator parameter
4988         (setCurrentFont): adjust
4989         (cursorLeft): adjust
4990         (cursorRight): adjust
4991         (deleteEmptyParagraphMechanism): adjust
4992
4993         * text.C (breakParagraph): adjust
4994         (insertChar): adjust
4995         (acceptChange): adjust
4996         (rejectChange): adjust
4997         (selectNextWordToSpellcheck): adjust
4998         (changeCase): adjust
4999         (Delete): adjust
5000         (backspace): adjust
5001
5002         * lyxfind.C (SearchForward): adjust
5003         (SearchBackward): adjust
5004         (nextChange): adjust
5005
5006         * lyxcursor.C (par): adjust
5007
5008         * lyxcursor.h: store a ParagraphList::iterator instead of a
5009         Paragraph*
5010
5011         * lyx_cb.C (getPossibleLabel): adjust
5012
5013         * bufferview_funcs.C (toggleAndShow): adjust
5014
5015         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5016         (dispatch): adjust
5017
5018         * BufferView.C (removeAutoInsets): adjust
5019         (lockedInsetStoreUndo): adjust
5020
5021 2003-04-09  John Levon  <levon@movementarian.org>
5022
5023         * ToolbarBackend.C: try icon without argument
5024         if with argument fails
5025
5026 2003-04-08  John Levon  <levon@movementarian.org>
5027
5028         * ToolbarBackend.h:
5029         * ToolbarBackend.C: add getIcon(), handle tooltip,
5030         and change from "Icon" to "Item".
5031
5032 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5033
5034         * BufferView.C (lockInset): another bad getchar crunched
5035
5036 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5037
5038         * text2.C (changeDepth): do not setUndo on test_only (make undo work
5039         again)
5040
5041 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
5042
5043         * lyxfind.C (searchForward, searchBackwards): bug 782
5044
5045 2003-04-07  John Levon  <levon@movementarian.org>
5046
5047         * paragraph.C: remove dead comment
5048
5049         * text.C: remove troublesome depth-fiddling code
5050         in leftMargin() and rightMargin() (bug 1017)
5051
5052         * text.C: fix breaking of rows in nested lists
5053         (bug 1004)
5054
5055         * text2.C (updateCounters): fix up depth values
5056         (bug 1013)
5057
5058 2003-04-07  John Levon  <levon@movementarian.org>
5059
5060         * BufferView_pimpl.C: clear message when doc finishes resizing,
5061         and after a mouse event
5062
5063         * lyxfunc.C: clear message after exiting inset
5064
5065 2003-04-07  John Levon  <levon@movementarian.org>
5066
5067         * bufferview_funcs.C: show math status not outside
5068         status in the statusbar
5069
5070 2003-04-07  John Levon  <levon@movementarian.org>
5071
5072         * lyxfunc.C: note status changed after a depth change
5073
5074 2003-04-04  Angus Leeming  <leeming@lyx.org>
5075
5076         * LaTeX.h: move AuxInfo operator==, != out of line.
5077         Remove LaTeX virtual destructor; nothing derives from it.
5078         Move operator()() out of public area and rename it startscript().
5079         Change protected for private.
5080
5081 2003-04-04  Angus Leeming  <leeming@lyx.org>
5082
5083         * lyxfunc.C:
5084         * text2.C: remove unneeded #includes.
5085
5086 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5087
5088         * text2.C (dEPM): fix the heigth of the next row
5089
5090 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5091
5092         * text.C: squashed an invalid getChar requester + some ws changes
5093
5094 2003-04-03  John Levon  <levon@movementarian.org>
5095
5096         * bufferview_funcs.h:
5097         * bufferview_funcs.C:
5098         * lyxfunc.C:
5099         * lyxtext.h:
5100         * text2.C: make getStatus work for the env depth lfuns
5101
5102 2003-04-03  John Levon  <levon@movementarian.org>
5103
5104         * bufferview_funcs.h:
5105         * bufferview_funcs.C:
5106         * lyxfunc.C:
5107         * lyxtext.h:
5108         * text2.C: parlistize decDepth(), by merging it with incDepth()
5109
5110 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5111
5112         * lyxrow.h: store a ParagraphList::iterator instead of a
5113         Paragraph* and adjust other class functions to suit.
5114
5115         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5116         above.
5117
5118 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5119
5120         * text2.C (setCursor): do not anchor to cursor row for the time being
5121
5122 2003-04-02  John Levon  <levon@movementarian.org>
5123
5124         * LyXAction.C:
5125         * lfuns.h:
5126         * lyx_main.C:
5127         * lyxtext.h:
5128         * text.C:
5129         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5130
5131 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5132
5133         * paragraph.h: make ParagraphList and ParagraphList::iterator
5134         friends of Paragraph.
5135
5136         * buffer.C (makeLinuxDocFile): move towards ParagraphList
5137
5138         * ParagraphList.C: Use the private next_ and previous_ from
5139         Paragraph.
5140
5141 2003-04-01  John Levon  <levon@movementarian.org>
5142
5143         * ToolbarBackend.h:
5144         * ToolbarBackend.C:
5145         * Makefile.am: rename, remove defaults gunk
5146
5147         * MenuBackend.h:
5148         * MenuBackend.C: remove defaults gunk
5149
5150         * Languages.h:
5151         * Languages.C: remove defaults gunk
5152
5153         * lyx_main.h:
5154         * lyx_main.C: error out if files couldn't be found.
5155
5156 2003-04-02  John Levon  <levon@movementarian.org>
5157
5158         * text2.C: make incDepth() use parlist
5159
5160 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5161
5162         * undo_funcs.C (firstUndoParagraph): adjust
5163
5164         * text3.C (gotoInset): adjust
5165         (dispatch): adjust, and rewrite loop.
5166
5167         * text2.C (init): adjust, and rewrite loop.
5168         (redoParagraphs): adjust
5169         (updateInset): adjust, and rewrite loop.
5170         (deleteEmptyParagraphMechanism): adjust
5171
5172         * tabular.C (LyXTabular): adjust
5173         (SetMultiColumn): adjust
5174         (TeXRow): adjust
5175
5176         * lyxtext.[Ch] (ownerParagraph): delete function
5177         (ownerParagraphs): new function returns a ParagraphList.
5178
5179         * BufferView.C (removeAutoInsets): adjust
5180         (insertErrors): adjust
5181         (setCursorFromRow): adjust
5182
5183 2003-04-01  Angus Leeming  <leeming@lyx.org>
5184
5185         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5186         in the frontends.
5187
5188 2003-04-02  John Levon  <levon@movementarian.org>
5189
5190         * lyxtext.h:
5191         * text.C:
5192         * Makefile.am:
5193         * text_funcs.h:
5194         * text_funcs.C: make transposeChars a free function
5195
5196         * lyxrow_funcs.C: remove wrong comment
5197
5198 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5199
5200         * lyxtext.h: adjust
5201         * rowpainter.C: adjust
5202         * text.C: adjust
5203         * text2.C: adjust
5204         * text3.C: adjust
5205
5206         * lyxrow_funcs. [Ch]: new files
5207
5208         * lyxrow.[Ch]: remove next and previous pointers
5209         (next,previous): remove accessor functions
5210         (isParEnd): move to lyxrow_funcs
5211         (lastPos): move to lyxrow_funcs
5212         (nextRowIsAllInset): move to lyxrow_funcs
5213         (lastPrintablePos): move to lyxrow_funcs
5214         (numberOfSeparators): move to lyxrow_funcs
5215         (numberOfHfills): move to lyxrow_funcs
5216         (numberOfLabelHfills): move to lyxrow_funcs
5217         (hfillExpansion): move to lyxrow_funcs
5218
5219         * lyxfunc.C: adjust
5220
5221         * bufferview_funcs.C (toggleAndShow): adjust
5222
5223         * RowList.h: Remove class RowList from file leave just a
5224         std::list<Row>.
5225
5226         * RowList.C: delete file
5227
5228         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5229         and lyxrow_funcs.h
5230
5231 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5232
5233         * text3.C (cursorPrevious): adjust
5234         (cursorNext): adjust
5235         (dispatch): adjust
5236
5237         * text2.C (redoHeightOfParagraph): adjust
5238         (redoDrawingOfParagraph): adjust
5239         (setCursor): adjust
5240
5241         * text.C (breakParagraph): adjust
5242         (insertChar): adjust
5243         (backspace): adjust
5244
5245         * rowpainter.C (RowPainter): adjust
5246         (leftMargin): simplify and adjust
5247         (most rowpainter functions): adjust.
5248
5249         * rowpainter.h: store the row as RowList::iterator not as Row*
5250
5251         * lyxcursor.C (row): taka RowList::iterator as arg
5252         (irow): ditto
5253
5254         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5255         of Row*.
5256
5257 2003-04-01  Angus Leeming  <leeming@lyx.org>
5258
5259         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5260         stuff like bool Bool.
5261
5262 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5263
5264         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5265         rewrite a loop
5266
5267 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5268
5269         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5270         RowList::iterator.
5271
5272         * lyxtext.h (rows): drop one version and leve a const variant that
5273         returns a RowList::iterator.
5274
5275 2003-03-31  Angus Leeming  <leeming@lyx.org>
5276
5277         * text.C (fill): ensure that the signature is the same as that in the
5278         header file.
5279
5280 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
5281
5282         * text2.C (redoParagraphs): adjust
5283         (updateCounters): adjust
5284         (checkParagraph): adjust
5285         (getColumnNearX): adjust and reformat a bit.
5286
5287         * text.C (top_y): adjust
5288         (workWidth): adjust
5289         (leftMargin): adjust
5290         (prepareToPrint): adjust
5291         (getRow): adjust
5292         (getRowNearY): adjust
5293
5294         * lyxtext.h: make rowlist_ mutable.
5295
5296         * RowList.h: add const_iterator
5297         * RowList.C: adjust for RowList::const_iterator.
5298
5299         * text2.C (getCursorX): make it take a RowList::iterator as arg,
5300         adjust.
5301
5302 2003-03-31  John Levon  <levon@movementarian.org>
5303
5304         * lyxrc.h:
5305         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5306
5307         * lyx_main.C: set default fonts from using lyx_gui funcs
5308
5309         * exporter.C: pdf_mode moved from lyxrc
5310
5311         * lyx_cb.C:
5312         * lyxfunc.C: changes from above
5313
5314 2003-03-31  John Levon  <levon@movementarian.org>
5315
5316         * lyx_main.C: fix to the last fix
5317
5318 2003-03-31  John Levon  <levon@movementarian.org>
5319
5320         * bufferlist.C: "Load original" -> "Load Original"
5321
5322         * converter.C:
5323         * exporter.C:
5324         * importer.C:
5325         * lyx_main.C:
5326         * format.C: more Alert cleanups
5327
5328 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5329
5330         * text2.C (removeParagraph): make it take a RowList::iterator as
5331         arg, adjust.
5332         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5333         (postRowPaint): make it take a RowList::iterator as arg, adjust.
5334
5335         * text.C (anchor_row): make it take a RowList::iterator as arg,
5336         adjust.
5337         (computeBidiTables): make it take a const reference to Row instead
5338         of Row pointer, adjust.
5339         (leftMargin): make it take a RowList::iterator as arg, adjust.
5340         (rowBreakPoint): adjust
5341         (breakAgainOneRow): make it take a RowList::iterator as arg,
5342         adjust.
5343         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5344
5345         * bufferview_funcs.C (toggleAndShow): adjust
5346
5347 2003-03-30  John Levon  <levon@movementarian.org>
5348
5349         * Makefile.am:
5350         * BoostFormat.h:
5351         * boost-inst.C: moved to support
5352
5353         * several files: changes as a result
5354
5355 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5356
5357         * text2.C (LyXText): adjust.
5358         (init): adjust
5359         (removeRow): make it take a RowList::iterator as arg, adjust.
5360         (fullRebreak): adjust
5361         (deleteEmptyParagraphMechanism): adjust
5362         (clearPaint): adjust
5363         (postPaint): adjust
5364
5365         * text.C (top_y): adjust
5366         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5367         (breakAgain): make it take a RowList::iterator as arg, adjust.
5368         (breakParagraph): adjust
5369         (insertChar): adjust
5370         (backspace): adjust
5371
5372         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5373         need_break_row, and refresh_row.
5374
5375         * text3.C (dispatch): adjust
5376
5377         * text2.C (checkParagraph): adjust
5378         (setCursor): adjust
5379         (setCursorFromCoordinates): adjust
5380
5381         * text.C (top_y): adjust
5382         (workWidth): adjust
5383         (getRow): make it return a RowList::iterator, adjust
5384         (getRowNearY): make it return a RowList::iterator, adjust
5385
5386         * text2.C (init): adjust
5387         (insertRow): remove function
5388         (insertParagraph): adjust
5389         (redoParagraphs): adjust
5390         (fullRebreak): adjust
5391         (updateCounters): adjust
5392
5393         * text.C (top_y): rewrite to use RowList iterators.
5394         (top_y): adjust
5395         (setHeightOfRow): rewrite to sue RowList iterators.
5396         (appendParagraph): adjust
5397         (breakAgain): adjust
5398         (breakAgainOneRow): adjust
5399         (breakParagraph): adjust
5400         (getRow): adjust
5401         (getRowNearY): adjust, and remove commented code.
5402
5403         * lyxtext.h (firstRow): delete function
5404         (lastRow): delete function
5405         (rows): new function (const and non-const versions.)
5406         (insertRow): delete function
5407
5408         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5409
5410 2003-03-29  John Levon  <levon@movementarian.org>
5411
5412         * BufferView_pimpl.C: always update scrollbar top
5413         because pasting text when we're anchored could mean we
5414         miss an update altogether
5415
5416 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5417
5418         * text2.C (init): use rowlist_.end() and not 0.
5419         (insertRow): change to take a RowList::iterator as arg, adjust
5420         for this.
5421         (insertParagraph): change to take a RowList::iterator as arg,
5422         adjust for this.
5423         (redoParagraphs): remove some debug msgs.
5424
5425         * text.C (appendParagraph): change to take a RowList::iterator
5426         arg, adjust for this.
5427         (breakAgain): add an assert
5428         (breakAgainOneRow): ditto
5429
5430 2003-03-29  John Levon  <levon@movementarian.org>
5431
5432         * text2.C: do not clear selection after inc/decDepth
5433         (bug 550)
5434
5435 2003-03-29  John Levon  <levon@movementarian.org>
5436
5437         * BufferView.C:
5438         * buffer.C: fix broken strerrors according to Lars
5439
5440 2003-03-29  John Levon  <levon@movementarian.org>
5441
5442         * converters.C: more Alert cleanups
5443
5444 2003-03-29  John Levon  <levon@movementarian.org>
5445
5446         * bufferview_funcs.C: remove pointless Alert
5447
5448         * buffer.C: fix confusing error message when
5449         a template is chmoded 000
5450
5451 2003-03-29  John Levon  <levon@movementarian.org>
5452
5453         * BufferView.C:
5454         * BufferView.h:
5455         * BufferView_pimpl.C: Alert fixes
5456
5457         * Makefile.am:
5458         * tabular.C:
5459         * tabular-old.C: remove unused table compat reading
5460
5461 2003-03-29  John Levon  <levon@movementarian.org>
5462
5463         * BufferView.C:
5464         * buffer.C:
5465         * lyx_cb.h:
5466         * lyx_cb.C: more Alert cleanups
5467
5468         * lyxfunc.C: don't allow chktex if not latex document
5469
5470 2003-03-29  John Levon  <levon@movementarian.org>
5471
5472         * lyx_cb.C:
5473         * BufferView.C:
5474         * buffer.C: warnings pushed down from support/,
5475         kill err_alert
5476
5477 2003-03-29  John Levon  <levon@movementarian.org>
5478
5479         * lyxfunc.C: safety check for C-r (revert)
5480
5481 2003-03-29  John Levon  <levon@movementarian.org>
5482
5483         * bufferlist.h:
5484         * bufferlist.C: several UI fixes using Alert::prompt.
5485         Fix the pointless looping quit code. Fix stupid revert
5486         behaviour (bug 938)
5487
5488         * lyxvc.h:
5489         * lyxvc.C:
5490         * lyx_cb.C: use Alert::prompt
5491
5492         * lyx_main.C: remove a silly question
5493
5494         * lyxfunc.C: remove a couple of silly questions,
5495         use Alert::prompt
5496
5497 2003-03-28  John Levon  <levon@movementarian.org>
5498
5499         * text2.C: fix bug 974 (End on empty par)
5500
5501 2003-03-28  John Levon  <levon@movementarian.org>
5502
5503         * BufferView_pimpl.C:
5504         * LyXAction.C:
5505         * lfuns.h: remove do-nothing math greek lfuns
5506
5507 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5508
5509         * lyxgluelength.h (isValidGlueLength): add default arg on
5510         parameter 2. Remove default arg from friend in class.
5511
5512         * lyxlength.h (isValidLength): add default arg on parameter 2.
5513         Remove default arg from friend in class.
5514
5515         * text2.C (LyXText): adjust, initialize refresh_row.
5516         (init): adjust
5517         (removeRow): adjust
5518         (insertRow): adjust
5519         (insertParagraph): adjst
5520         (redoParagraphs): adjust
5521         (fullRebreak): adjust
5522         (updateCounters): adjust
5523         (deleteEmptyParagraphMechanism): first attempt at fixing a
5524         crashing bug.
5525
5526         * text.C (top_y): adjust
5527         (setHeightOfRow): adjust
5528         (getRow): adjust
5529         (getRowNearY): adjust
5530
5531         * lyxtext.h: include RowList.h
5532         (~LyXText): not needed anymore, deleted.
5533         (firstRow): modify for RowList
5534         (lastRow): new function
5535         Delete firstrow and lastrow class variables, add a Rowlist
5536         rowlist_ class variable.
5537
5538         * lyxrow.C (lastPos): use empty() and not !size() to check if a
5539         paragraph is empty.
5540
5541         * RowList.C (insert): fix case where it == begin().
5542
5543 2003-03-26  Angus Leeming  <leeming@lyx.org>
5544
5545         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5546         the thesaurus dialog.
5547
5548 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5549
5550         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5551
5552         * RowList.[Ch]: new files
5553
5554         * ParagraphList.C (erase): handle the case where it == begin
5555         correctly.
5556
5557 2003-03-25  John Levon  <levon@movementarian.org>
5558
5559         * Makefile.am:
5560         * aspell_local.h:
5561         * aspell.C: add new aspell support
5562
5563         * lyxrc.h:
5564         * lyxrc.C: Make use_pspell be use_spell_lib. Always
5565         have it accessible.
5566
5567 2003-03-25  Angus Leeming  <leeming@lyx.org>
5568
5569         * lfuns.h:
5570         * LyXAction.C (init): new LFUN_INSET_INSERT.
5571
5572         * BufferView_pimpl.C (dispatch): split out part of the
5573         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5574
5575         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5576         LFUN_INSET_APPLY.
5577
5578 2003-03-25  Angus Leeming  <leeming@lyx.org>
5579
5580         * lyxfunc.C (dispatch): changes to the Dialogs interface.
5581
5582 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
5583
5584         * text2.C:
5585         * text3.C: remove useless row->height(0)
5586
5587 2003-03-25  John Levon  <levon@movementarian.org>
5588
5589         * lyxtext.h:
5590         * text2.C:
5591         * text3.C: rename the refreshing stuff to better names
5592
5593 2003-03-24  John Levon  <levon@movementarian.org>
5594
5595         * BufferView_pimpl.h:
5596         * BufferView_pimpl.C: update layout choice on a mouse
5597         press/release
5598
5599 2003-03-23  John Levon  <levon@movementarian.org>
5600
5601         * Makefile.am: fix commandtags.h reference
5602
5603 2003-03-22  John Levon  <levon@movementarian.org>
5604
5605         * BufferView_pimpl.C:
5606         * lyxtext.h:
5607         * rowpainter.C:
5608         * rowpainter.h:
5609         * text.C:
5610         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5611
5612 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
5613
5614         * lyxtext.h:
5615         * text.C: take the rtl methods out of line
5616
5617 2003-03-21 André Pönitz <poenitz@gmx.net>
5618
5619         * metricsinfo.[Ch]: new files containing structures to be passed around
5620         during the two-phase-drawing...
5621
5622 2003-03-21 André Pönitz <poenitz@gmx.net>
5623
5624         * lyxtextclass.C: read 'environment' tag.
5625
5626 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
5627
5628         * text2.C (removeRow): fix bug 964
5629
5630 2003-03-20  John Levon  <levon@movementarian.org>
5631
5632         * rowpainter.C:
5633         * text.C:
5634         * text2.C: paint cleanups. Inset::update() dropped font
5635         parameter
5636
5637 2003-03-19  John Levon  <levon@movementarian.org>
5638
5639         * lyxfunc.C: only fitcursor/markDirty if available()
5640
5641 2003-03-19  John Levon  <levon@movementarian.org>
5642
5643         * commandtags.h: rename to ...
5644
5645         * lfuns.h: ... this, and renumber / cleanup
5646
5647 2003-03-19  John Levon  <levon@movementarian.org>
5648
5649         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5650         fit the cursor after an lfun
5651
5652         * BufferView.h:
5653         * BufferView.C:
5654         * BufferView_pimpl.h:
5655         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5656
5657         * LyXAction.C: layout-character should have ReadOnly
5658
5659         * ParagraphParameters.C:
5660         * buffer.C:
5661         * bufferview_funcs.C:
5662         * lyx_cb.C:
5663         * lyxfind.C:
5664         * lyxtext.h:
5665         * text.C:
5666         * text2.C:
5667         * text3.C:
5668         * undo_funcs.C: changes from above
5669
5670 2003-03-18  John Levon  <levon@movementarian.org>
5671
5672         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5673         remove it from update()
5674
5675         * lyxfunc.C: update layout choice after an lfun
5676
5677         * text3.C: remove extra updateLayoutChoice()s
5678
5679 2003-03-18  John Levon  <levon@movementarian.org>
5680
5681         * text.C: top_y change means full repaint, fix
5682         a drawing bug with cursor movement
5683
5684 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5685
5686         * lyxtext.h:
5687         * text.C:
5688         * text2.C: anchor row on setCursor
5689
5690 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5691
5692         * lyxtext.h: remove almost all mutable keywords
5693         * text.C:
5694         * text2.C:
5695         * text3.C: remove const keywords accordingly
5696
5697 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5698
5699         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5700         anon namespace
5701         (TeXEnvironment): ditto
5702         (TeXOnePar): ditto
5703
5704 2003-03-17  John Levon  <levon@movementarian.org>
5705
5706         * text.C (rowBreakPoint): remove attempt to fix displayed
5707         math insets inside a manual label
5708
5709 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5710
5711         * lyxtext.h: remove BufferView* as first arg from almost all class
5712         functions.
5713         * other files: adjust.
5714
5715 2003-03-17  John Levon  <levon@movementarian.org>
5716
5717         * lyxtext.h:
5718         * undo_funcs.C:
5719         * text2.C: more paint cleanups
5720
5721         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5722
5723         * rowpainter.h:
5724         * rowpainter.C: remove "smart" background painting code
5725
5726 2003-03-16  John Levon  <levon@movementarian.org>
5727
5728         * lyxtext.h:
5729         * text.C:
5730         * text2.C:
5731         * text3.C: add helper functions for setting refresh_row/y
5732
5733 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
5734
5735         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5736         newline inset which *can* get inserted in the pass_thru layouts.
5737         This is primarily for literate documents.
5738
5739 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
5740
5741         * buffer.C: increment LYX_FORMAT to 223
5742
5743 2003-03-14 André Pönitz <poenitz@gmx.net>
5744
5745         * textclass.h: prepare for environment handling, ws changes
5746         * lyxlayout.C: read latexheader and latexfooter tags
5747
5748 2003-03-14  John Levon  <levon@movementarian.org>
5749
5750         * text2.C: rewrite ::status() a bit
5751
5752 2003-03-13  John Levon  <levon@movementarian.org>
5753
5754         * lyxtext.h: add some docs
5755
5756 2003-03-13  John Levon  <levon@movementarian.org>
5757
5758         * lyxtext.h:
5759         * text.C:
5760         * text2.C:
5761         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5762
5763 2003-03-13  John Levon  <levon@movementarian.org>
5764
5765         * text3.C: fix appendix redrawing
5766
5767 2003-03-13  John Levon  <levon@movementarian.org>
5768
5769         * text.C (setHeightOfRow):
5770         * rowpainter.h:
5771         * rowpainter.C: make appendix mark have the text
5772           "Appendix" so the user knows what it is
5773
5774         * LColor.h:
5775         * LColor.C: s/appendixline/appendix/ from above
5776
5777 2003-03-13  John Levon  <levon@movementarian.org>
5778
5779         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5780
5781         * text.C: fix a getChar(pos) bug properly
5782
5783 2003-03-13  Angus Leeming  <leeming@lyx.org>
5784
5785         * commandtags.h:
5786         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5787         Probably only temporary. Let's see how things pan out.
5788
5789         * BufferView.C (unlockInset):
5790         * BufferView_pimpl.C (fitCursor):
5791         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5792
5793         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5794         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5795
5796         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5797         new functions that convert ParagraphParameters to and from a string.
5798
5799         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5800         BufferView::Pimpl's dispatch.
5801         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5802
5803 2003-03-13 André Pönitz <poenitz@gmx.net>
5804
5805         * lyxfunc.C:
5806         * text3.C:
5807         * factory.C: make it aware of InsetEnv
5808
5809 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5810
5811         * text2.C (setCursor): never ask for one past last
5812         (setCursor): add some debugging messages.
5813
5814         * text.C (singleWidth): never ask for one past last
5815         (singleWidth): ditto
5816         (leftMargin): ditto
5817         (rightMargin): ditto
5818         (rowBreakPoint): ditto
5819         (setHeightOfRow): ditto
5820         (prepareToPrint): ditto
5821
5822         * rowpainter.C (paintBackground): never ask for one past last
5823         (paintText): never ask for one past last
5824
5825         * paragraph_pimpl.C (getChar): make the assert stricter, never
5826         allow the one past last pos to be taken
5827
5828         * paragraph.C (getChar): ws changes only
5829
5830         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5831         (numberOfSeparators): ditto
5832         (numberOfHfills): ditto
5833
5834 2003-03-12  John Levon  <levon@movementarian.org>
5835
5836         * author.h:
5837         * author.C:
5838         * bufferparams.h:
5839         * bufferparams.C:
5840         * paragraph_funcs.C: fix per-buffer authorlists
5841
5842 2003-03-12  John Levon  <levon@movementarian.org>
5843
5844         * text.C: fix newline in right address
5845
5846 2003-03-12  Angus Leeming  <leeming@lyx.org>
5847
5848         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5849         duplicate those in LyXFunc::dispatch.
5850
5851         * commandtags.h:
5852         * LyXAction.C:
5853         * ToolbarDefaults.C:
5854         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5855         Add LFUN_FONTFREE_UPDATE.
5856
5857         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5858         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5859
5860         * bufferview_func.[Ch]: several new functions to facilliate
5861         transfer of data to and from the character dialog.
5862
5863 2003-03-12  John Levon  <levon@movementarian.org>
5864
5865         * buffer.C:
5866         * paragraph.h:
5867         * paragraph.C:
5868         * paragraph_funcs.C:
5869         * paragraph_pimpl.C:
5870         * sgml.C:
5871         * tabular.C:
5872         * text.C:
5873         * text3.C: remove META_NEWLINE in favour of an inset
5874
5875         * rowpainter.h:
5876         * rowpainter.C: remove paintNewline (done by inset)
5877
5878 2003-03-12  John Levon  <levon@movementarian.org>
5879
5880         * paragraph_pimpl.C: complain about bad getChar()s
5881         for a while at least
5882
5883 2003-03-12  John Levon  <levon@movementarian.org>
5884
5885         * buffer.h:
5886         * buffer.C: move paragraph read into a separate function,
5887         a little renaming to reflect that.
5888
5889         * bufferparams.h:
5890         * bufferparams.C: remove the author_ids map, not necessary now
5891
5892         * factory.h:
5893         * factory.C: moved Buffer::readInset to here
5894
5895         * paragraph_funcs.h:
5896         * paragraph_funcs.C: readParagraph free function moved from
5897         buffer.C
5898
5899         * tabular.C: name change
5900
5901 2003-03-12  John Levon  <levon@movementarian.org>
5902
5903         * buffer.C:
5904         * ParagraphParameters.C: move par params input to
5905         a read() method
5906
5907         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5908         behave like a normal read from the stream wrt reading
5909         a line vs. a \\token
5910
5911 2003-03-12  John Levon  <levon@movementarian.org>
5912
5913         * paragraph.C:
5914         * ParagraphParameters.h:
5915         * ParagraphParameters.C: move output code to a
5916         ::write() method
5917
5918 2003-03-12  John Levon  <levon@movementarian.org>
5919
5920         * BufferView.C (insertLyXFile):
5921         * buffer.h:
5922         * buffer.C:
5923         * tabular.C: use a parlist iterator for creating the
5924           document.
5925
5926 2003-03-12  John Levon  <levon@movementarian.org>
5927
5928         * buffer.C: make current_change static local not
5929           static file-scope
5930
5931 2003-03-12  John Levon  <levon@movementarian.org>
5932
5933         * buffer.C: fix insertStringAsLines for change tracking
5934
5935 2003-03-12  John Levon  <levon@movementarian.org>
5936
5937         * BufferView.C:
5938         * tabular.C:
5939         * buffer.h:
5940         * buffer.C:
5941         * bufferparams.h:
5942         * bufferparams.C: move author list into params. Rename some
5943           functions. Move the header reading into a separate token
5944           loop. Move the header token reading into BufferParams.
5945
5946 2003-03-12  John Levon  <levon@movementarian.org>
5947
5948         * changes.C: put debug inside lyxerr.debugging() checks
5949
5950 2003-03-11 André Pönitz <poenitz@gmx.net>
5951
5952         * factory.C: make it aware of InsetHFill
5953
5954 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5955
5956         * buffer.C (latexParagraphs): move function from here...
5957         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5958         args.
5959
5960 2003-03-10  Angus Leeming  <leeming@lyx.org>
5961
5962         * LyXAction.C (init): fix bug in poplating array with multiple entries
5963         with the same LFUN (spotted by JMarc).
5964
5965 2003-03-10  John Levon  <levon@movementarian.org>
5966
5967         * text.C:
5968         * text2.C: move getColumnNearX() near its
5969         only call site
5970
5971 2003-03-10  John Levon  <levon@movementarian.org>
5972
5973         * text.C: fix break before a minipage
5974
5975 2003-03-10  John Levon  <levon@movementarian.org>
5976
5977         * text.C: fix the last commit
5978
5979 2003-03-09  John Levon  <levon@movementarian.org>
5980
5981         * lyxtext.h:
5982         * text.C:
5983         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5984         bug 365 (don't break before insets unless needed). Don't
5985         return a value > last under any circumstances.
5986
5987 2003-03-09  Angus Leeming  <leeming@lyx.org>
5988
5989         * BufferView_pimpl.C (trackChanges, dispatch): call
5990         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5991
5992 2003-03-09  Angus Leeming  <leeming@lyx.org>
5993
5994         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5995         than Dialogs::showAboutlyx().
5996
5997 2003-03-09  Angus Leeming  <leeming@lyx.org>
5998
5999         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6000         than Dialogs::showTabularCreate().
6001
6002 2003-03-09  John Levon  <levon@movementarian.org>
6003
6004         * lyxtext.h:
6005         * text.C:
6006         * text2.C: 3rd arg to nextBreakPoint was always the same.
6007           Use references.
6008
6009 2003-03-08  John Levon  <levon@movementarian.org>
6010
6011         * lyxrow.C:
6012         * paragraph.C:
6013         * paragraph.h:
6014         * rowpainter.C:
6015         * text.C:
6016         * text2.C: Remove the "main" bit from the "main body"
6017           notion.
6018
6019 2003-03-08  John Levon  <levon@movementarian.org>
6020
6021         * text.C (leftMargin): The left margin of an empty
6022         manual label paragraph should not include the label width
6023         string length.
6024
6025         * text.C (prepareToPrint): don't attempt to measure hfills
6026         for empty manual label paragraphs - the answer should be 0
6027
6028 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6029
6030         * CutAndPaste.C: remove commented code and reindent.
6031
6032 2003-03-08  John Levon  <levon@movementarian.org>
6033
6034         * lyxfunc.h:
6035         * lyxfunc.C: move reloadBuffer()
6036
6037         * BufferView.h:
6038         * BufferView.C: to here
6039
6040         * lyxvc.C: add comment
6041
6042         * vc-backend.h:
6043         * vc-backend.C: call bv->reload() to avoid
6044           getStatus() check on MENURELOAD
6045
6046 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
6047
6048         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6049         to an old format .dep file.
6050
6051 2003-03-07  Angus Leeming  <leeming@lyx.org>
6052
6053         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6054         when the LFUN_MOUSE_RELEASE should have been handled by
6055         inset->localDispatch.
6056
6057 2003-03-07  Angus Leeming  <leeming@lyx.org>
6058
6059         * BufferView_pimpl.C (dispatch):
6060         * LyXAction.C (init):
6061         * ToolbarDefaults.C (init):
6062         * commandtags.h:
6063         * lyxfunc.C (getStatus):
6064         remove LFUN_INSET_GRAPHICS.
6065
6066         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6067
6068 2003-03-07  Angus Leeming  <leeming@lyx.org>
6069
6070         * commandtags.h:
6071         * LyXAction.C (init):
6072         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6073
6074         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6075
6076         * commandtags.h:
6077         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6078
6079         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6080         localDispatch method LFUN_INSET_DIALOG_UPDATE.
6081
6082 2003-03-07  Angus Leeming  <leeming@lyx.org>
6083
6084         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6085         remove "ert".
6086
6087 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6088
6089         * ParagraphList.C (front): new function
6090         (back): implement
6091
6092 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
6093
6094         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6095         and top_row_offset_. removed var first_y.
6096         * text.C (top_y):
6097         * text2.C (LyXText, removeRow):
6098         * text3.C:
6099         * BufferView_pimpl.C:
6100         use these methods instead of using first_y
6101
6102 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6103
6104         * text2.C (pasteSelection): adjust for checkPastePossible
6105
6106         * CutAndPaste.C: remove Paragraph * buf and replace with
6107         ParagraphList paragraphs.
6108         (DeleteBuffer): delete
6109         (cutSelection): change the tc type to textclass_type
6110         (copySelection): change the tc type to textclass_type
6111         (copySelection): adjust for ParagraphList
6112         (pasteSelection): change the tc type to textclass_type
6113         (pasteSelection): adjust for Paragraphlist
6114         (nrOfParagraphs): simplify for ParagraphList
6115         (checkPastePossible): simplify for ParagraphList
6116         (checkPastePossible): remove unused arg
6117
6118         * ParagraphList.C (insert): handle the case where there are no
6119         paragraphs yet.
6120
6121         * CutAndPaste.h: make CutAndPaste a namespace.
6122
6123         * text3.C (dispatch): adjust
6124
6125         * text.C (breakParagraph): add a ParagraphList as arg
6126
6127         * paragraph_funcs.C (breakParagraph): change to take a
6128         BufferParams and a ParagraphList as args.
6129         (breakParagraphConservative): ditto
6130         (mergeParagraph): ditto
6131         (TeXDeeper): add a ParagraphList arg
6132         (TeXEnvironment): ditto
6133         (TeXOnePar): ditto
6134
6135         * buffer.C (readLyXformat2): adjust
6136         (insertStringAsLines): adjust
6137         (latexParagraphs): adjust
6138
6139         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6140         (cutSelection): adjust
6141         (pasteSelection): adjust
6142
6143         * BufferView_pimpl.C (insertInset): adjust
6144
6145 2003-03-05  Angus Leeming  <leeming@lyx.org>
6146
6147         * commandtags.h:
6148         * LyXAction.C (init):
6149         * BufferView_pimpl.C (dispatch):
6150         * lyxfunc.C (getStatus):
6151         remove LFUN_CHILD_INSERT.
6152
6153         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6154
6155 2003-03-05  Angus Leeming  <leeming@lyx.org>
6156
6157         * commandtags.h:
6158         * LyXAction.C (init):
6159         * src/factory.C (createInset):
6160         * lyxfunc.C (getStatus):
6161         * text3.C (dispatch):
6162         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6163
6164         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6165
6166 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6167
6168         * ParagraphList.C (insert): handle insert right before end()
6169         (erase): fix cases where it can be first or last paragraph.
6170
6171 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6172
6173         * paragraph_funcs.C (TeXEnvironment): remove all usage of
6174         Paragraph::next and Paragraph::previous
6175         (TeXOnePar): ditto
6176
6177         * text.C (breakParagraph): adjust
6178
6179         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6180         BufferParams& as arg.
6181         (breakParagraph): use ParagraphList::insert
6182         (breakParagraphConservative): take a Buffer* instead of a
6183         BufferParams& as arg.
6184         (breakParagraphConservative): use ParagraphList::insert.
6185
6186         * buffer.C (insertStringAsLines): un-const it
6187         (insertStringAsLines): adjust
6188
6189         * ParagraphList.C (insert): new function
6190
6191         * CutAndPaste.C (pasteSelection): adjust
6192
6193         * text.C (backspace): adjust
6194
6195         * tabular.C (SetMultiColumn): adjust
6196
6197         * CutAndPaste.C (cutSelection): adjust
6198         (pasteSelection): adjust
6199
6200         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6201         Buffer const * as arg
6202
6203         * ParagraphList.C (erase): new function
6204         * paragraph_funcs.C (mergeParagraph): use it
6205         (mergeParagraph): make it take a Buffer* instead of a
6206         BufferParams* as arg
6207
6208         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6209         as arg
6210         (breakParagraphConservative): ditto
6211
6212         * paragraph.h: remove the breakParagraph friend
6213
6214         * paragraph.C (eraseIntern): new function
6215         (setChange): new function
6216
6217         * paragraph_funcs.C (mergeParagraph): make it take a
6218         ParagraphList::iterator instead of a Paragraph *, adjust
6219         accordingly.
6220
6221         * paragraph.h: move an #endif so that the change tracking stuff
6222         also works in the NO_NEXT case.
6223
6224 2003-03-04  Angus Leeming  <leeming@lyx.org>
6225
6226         * commandtags.h:
6227         * LyXAction.C: new LFUN_INSET_MODIFY.
6228
6229         * BufferView_pimpl.C (dispatch): if an inset is found to be open
6230         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6231
6232 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6233
6234         * several files: ws changes only
6235
6236         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6237         (TeXEnvironment): ditto
6238         (TeXDeeper): ditto
6239
6240         * buffer.C (makeLaTeXFile): adjust
6241         (latexParagraphs): make it take ParagraphList::iterator as args
6242
6243 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6244
6245         * buffer.C (latexParagraphs): adjust
6246
6247         * paragraph.C (TeXOnePar): move function...
6248         (optArgInset): move function...
6249         (TeXEnvironment): move function...
6250         * paragraph_pimpl.C (TeXDeeper): move function...
6251         * paragraph_funcs.C: ...here
6252
6253         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6254
6255 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6256
6257         * buffer.C (readInset): remove compability code for old Figure and
6258         InsetInfo insets
6259
6260 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6261
6262         * buffer.C: ws changes
6263         (readInset):
6264
6265         * BufferView_pimpl.C: ditto
6266         * author.C: ditto
6267         * buffer.h: ditto
6268         * bufferlist.h: ditto
6269         * changes.h: ditto
6270         * lyxfunc.C: ditto
6271
6272 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
6273
6274         * converter.[Ch]: split into itself +
6275         * graph.[Ch]
6276         * format.[Ch]
6277         * Makefile.am: += graph.[Ch] + format.[Ch]
6278         * MenuBackend.C
6279         * buffer.C
6280         * exporter.C
6281         * importer.C
6282         * lyx_main.C
6283         * lyxfunc.C
6284         * lyxrc.C: added #include "format.h"
6285
6286 2003-02-27  Angus Leeming  <leeming@lyx.org>
6287
6288         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6289           a label.
6290
6291         * factory.C (createInset): add "label" to the factory.
6292
6293         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6294           string and do no more.
6295
6296 2003-02-27  Angus Leeming  <leeming@lyx.org>
6297
6298         * commandtags.h:
6299         * LyXAction.C (init):
6300         * factory.C (createInset):
6301         * BufferView_pimpl.C (dispatch):
6302           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6303
6304         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6305
6306         * lyxfunc.C (dispatch):
6307         * text3.C (dispatch): pass name to params2string.
6308
6309 2003-02-26  Angus Leeming  <leeming@lyx.org>
6310
6311         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6312           blocks together.
6313           Rearrange the ~includes. Strip out the unnecessary ones.
6314
6315         * factory.C (createInset): reformat.
6316           create new insets for the various LFUN_XYZ_APPLY lfuns.
6317
6318 2003-02-26  John Levon  <levon@movementarian.org>
6319
6320         * lyxrow.h:
6321         * lyxrow.C: add isParStart,isParEnd helpers
6322
6323         * paragraph.h: make isInserted/DeletedText take refs
6324
6325         * paragraph_funcs.h:
6326         * paragraph_funcs.C: remove #if 0'd code
6327
6328         * lyxtext.h:
6329         * text3.C:
6330         * text2.C:
6331         * text.C: use lyxrow helpers above.
6332           Move draw and paint routines to RowPainter.
6333           Make several methods use refs not pointers.
6334           Make backgroundColor() const.
6335           Add markChangeInDraw(), isInInset().
6336           Merge changeRegionCase into changeCase.
6337           Make workWidth() shouldn't-happen code into an Assert.
6338
6339         * rowpainter.h:
6340         * rowpainter.C: new class for painting a row.
6341
6342         * vspace.h:
6343         * vspace.C: make inPixels take a ref
6344
6345 2003-02-26  Angus Leeming  <leeming@lyx.org>
6346
6347         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6348         LFUN_REF_APPLY.
6349
6350 2003-02-25  John Levon  <levon@movementarian.org>
6351
6352         * ispell.C: give the forked command a more accurate name
6353
6354 2003-02-22  John Levon  <levon@movementarian.org>
6355
6356         * toc.h:
6357         * toc.C: make TocItem store an id not a Paragraph *
6358           (bug #913)
6359
6360 2003-02-21  Angus Leeming  <leeming@lyx.org>
6361
6362         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6363           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6364           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6365           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6366           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6367           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6368
6369         * BufferView_pimpl.C (dispatch):
6370         * LyXAction.C (init):
6371         * factory.C (createInset):
6372         * lyxfunc.C (getStatus, dispatch):
6373         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6374
6375 2003-02-21  Angus Leeming  <leeming@lyx.org>
6376
6377         * BufferView_pimpl.C (MenuInsertLyXFile):
6378         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6379         * lyxfunc.C (menuNew, open, doImport):
6380           no longer pass a LyXView & to fileDlg.
6381
6382 2003-02-21  Angus Leeming  <leeming@lyx.org>
6383
6384         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6385         * LyXAction.C: change, BIBKEY to BIBITEM.
6386         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6387         Change InsetBibKey to InsetBibitem.
6388         Change BIBKEY_CODE to BIBITEM_CODE.
6389         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6390         * factory.C: replace insetbib.h with insetbibitem.h.
6391         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6392         * paragraph.C: replace insetbib.h with insetbibitem.h.
6393         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6394         Change bibkey() to bibitem().
6395         * text.C: remove insetbib.h.
6396         * text2.C: replace insetbib.h with insetbibitem.h.
6397         change bibkey() to bibitem().
6398         * text3.C: remove insetbib.h.
6399         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6400
6401 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6402
6403         * lyxrc.C (output): enclose user email in quotes (in case there are
6404         several words)
6405
6406 2003-02-18  John Levon  <levon@movementarian.org>
6407
6408         * buffer.h: add std::
6409
6410 2003-02-17  John Levon  <levon@movementarian.org>
6411
6412         * SpellBase.h:
6413         * ispell.h:
6414         * ispell.C:
6415         * pspell.h:
6416         * pspell.C: reworking. Especially in ispell, a large
6417           number of clean ups and bug fixes.
6418
6419         * lyxfunc.C: fix revert to behave sensibly
6420
6421 2003-02-17 André Pönitz <poenitz@gmx.net>
6422
6423         * LyXAction.C:
6424         * commandtags.h: new LFUN_INSERT_BIBKEY
6425
6426         * layout.h:
6427         * lyxlayout.C:
6428         * buffer.C:
6429         * factory.C:
6430         * text.C:
6431         * text2.C:
6432         * text3.C:
6433         * paragraph.[Ch]:
6434         * paragraph_func.C: remove special bibkey handling
6435
6436 2003-02-17  John Levon  <levon@movementarian.org>
6437
6438         * text.C (Delete): fix case where delete at the end of
6439           the very first paragraph would not merge the pars
6440
6441 2003-02-17  John Levon  <levon@movementarian.org>
6442
6443         * lyxrow.C: fix lastPrintablePos()
6444
6445 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6446
6447         * bufferparams.C (writeLaTeX): add a std:here
6448
6449         * buffer.C: and remove a using directive there
6450
6451 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6452
6453         * buffer.C (makeLaTeXFile): move the code that generates the
6454           preamble...
6455
6456         * bufferparams.C (writeLaTeX): ... in this new method
6457
6458         * LaTeXFeatures.C (getEncodingSet): make const
6459           (getLanguages): make const
6460
6461         * MenuBackend.C (binding): returns the binding associated to this
6462           action
6463           (add): sets the status of each item by calling getStatus. Adds
6464           some intelligence.
6465           (read): add support for OptSubMenu
6466           (expand): remove extra separator at the end of expanded menu
6467
6468 2003-02-15  John Levon  <levon@movementarian.org>
6469
6470         * BufferView.C:
6471         * BufferView_pimpl.C:
6472         * bufferlist.h:
6473         * bufferlist.C: remove pointless BufferStorage bloat. Remove
6474           inset code that had no actual effect. Remove unneeded status
6475           code.
6476
6477 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6478
6479         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6480           in preamble
6481
6482 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
6483
6484         * text.C (drawLengthMarker): also draw an arrow marker for
6485           symbolic lengths (medskip...)
6486
6487 2003-02-14  John Levon  <levon@movementarian.org>
6488
6489         * tabular.h:
6490         * tabular.C: better method names
6491
6492 2003-02-14  John Levon  <levon@movementarian.org>
6493
6494         * BufferView_pimpl.C:
6495         * bufferlist.C:
6496         * buffer.C:
6497         * converter.C:
6498         * lyx_cb.C:
6499         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6500           it's a more accurate name. Remove some pointless uses.
6501
6502 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6503
6504         * text2.C (LyXText): change order of initilizers to shut off
6505           warnings
6506
6507 2003-02-14  John Levon  <levon@movementarian.org>
6508
6509         * buffer.C: use ParIterator for getParFromID()
6510
6511         * paragraph.h:
6512         * paragraph.C:
6513         * paragraph_pimpl.h:
6514         * paragraph_pimpl.C: remove unused getParFromID()
6515
6516 2003-02-14  John Levon  <levon@movementarian.org>
6517
6518         * buffer.C: remove some very old #if 0'd parse code
6519
6520 2003-02-13  John Levon  <levon@movementarian.org>
6521
6522         * text.h:
6523         * text.C:
6524         * text2.C: move hfillExpansion(), numberOfSeparators(),
6525           rowLast(), rowLastPrintable(), numberofHfills(),
6526           numberOfLabelHfills() ...
6527
6528         * lyxrow.h:
6529         * lyxrow.C: ... to member functions here.
6530
6531         * paragraph.h:
6532         * paragraph.C:
6533         * lyxtext.h:
6534         * text.C: remove LyXText::beginningOfMainBody(), and call
6535           p->beginningOfMainBody() directly. Move the check for
6536           LABEL_MANUAL into the latter.
6537
6538         * text.h:
6539         * text.C:
6540         * text2.C:
6541         * vspace.C:
6542         * BufferView.h:
6543         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6544
6545         * text.h:
6546         * text.C:
6547         * text2.C:
6548         * text3.C:
6549         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6550           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6551
6552 2003-02-13  John Levon  <levon@movementarian.org>
6553
6554         * CutAndPaste.C: remove debug
6555
6556 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6557
6558         * paragraph.C (asString): remove two unused variables
6559
6560         * lyxtextclass.C (readTitleType):
6561           (Read):
6562           (LyXTextClass): handle new members titletype_ and titlename_
6563
6564         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6565
6566 2003-02-09  John Levon  <levon@movementarian.org>
6567
6568         * buffer.h:
6569         * buffer.C: replace hand-coded list with a map for the dep clean
6570
6571 2003-02-08  John Levon  <levon@movementarian.org>
6572
6573         * LaTeX.C: consolidate code into showRunMessage() helper
6574
6575 2003-02-08  John Levon  <levon@movementarian.org>
6576
6577         * lyxfind.C:
6578         * lyxtext.h:
6579         * text2.C:
6580         * BufferView.C: change setSelectionOverString() to setSelectionRange()
6581           and pass the size in explicitly
6582
6583         * BufferView_pimpl.h:
6584         * BufferView_pimpl.C:
6585         * BufferView.h:
6586         * BufferView.C: add getCurrentChange()
6587
6588         * BufferView_pimpl.h:
6589         * BufferView_pimpl.C: handle change lfuns
6590
6591         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6592           for changes. Mark pasted paragraphs as new.
6593
6594         * support/lyxtime.h:
6595         * support/lyxtime.C:
6596         * DepTable.C: abstract time_t as lyx::time_type
6597
6598         * LColor.h:
6599         * LColor.C: add colours for new text, deleted text, changebars
6600
6601         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6602           package use "usenames" option.
6603
6604         * commandtags.h:
6605         * lyxfunc.C:
6606         * LyXAction.C: add change lfuns
6607
6608         * Makefile.am:
6609         * author.h:
6610         * author.C: author handling
6611
6612         * buffer.h:
6613         * buffer.C: add a per-buffer author list, with first entry as
6614           current author. Handle new .lyx tokens for change tracking. Output
6615           author list to .lyx file. Output dvipost stuff to .tex preamble.
6616           Bump lyx format to 222.
6617
6618         * bufferlist.h:
6619         * bufferlist.C: add setCurrentAuthor() to reset current author details
6620           in all buffers.
6621
6622         * bufferparams.h:
6623         * bufferparams.C: add param for tracking
6624
6625         * bufferview_funcs.C: output change info in minibuffer
6626
6627         * Makefile.am:
6628         * changes.h:
6629         * changes.C: add change-tracking structure
6630
6631         * debug.h:
6632         * debug.C: add CHANGES debug flag
6633
6634         * lyxfind.h:
6635         * lyxfind.C: add code for finding the next change piece
6636
6637         * lyxrc.h:
6638         * lyxrc.C: add user_name and user_email
6639
6640         * lyxrow.h:
6641         * lyxrow.C: add a metric for the top of the text line
6642
6643         * lyxtext.h:
6644         * text.C: implement accept/rejectChange()
6645
6646         * lyxtext.h:
6647         * text.C: paint changebars. Paint new/deleted text in the chosen
6648         colours. Strike through deleted text.
6649
6650         * paragraph.h:
6651         * paragraph.C:
6652         * paragraph_pimpl.h:
6653         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6654           in the current change to the insert functions. Rework erase to
6655           mark text as deleted, adding an eraseIntern() and a range-based
6656           erase(). Implement per-paragraph change lookup and
6657           accept/reject.
6658
6659         * paragraph_funcs.C: Fixup paste for change tracking.
6660
6661         * tabular.C: mark added row/columns as new.
6662
6663         * text.C: fix rowLast() to never return -1. Don't allow
6664           spellchecking of deleted text. Track transpose changes. Don't
6665           allow paragraph break or merge where appropriate.
6666
6667         * text2.C: leave cursor at end of selection after a cut.
6668
6669 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6670
6671         * text.C (getLengthMarkerHeight):
6672         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6673         visible on screen too.
6674
6675 2003-02-07  John Levon  <levon@movementarian.org>
6676
6677         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6678
6679 2003-02-05  Angus Leeming  <leeming@lyx.org>
6680
6681         * lyxserver.C (read_ready): revert my patch of 11 September last year
6682         as it sends PC cpu through the roof. Presumably this means that
6683         the lyxserver will no longer run on an Alpha...
6684
6685 2003-01-30  Angus Leeming  <leeming@lyx.org>
6686
6687         * factory.C (createInset): create an InsetCommandParam of type "index"
6688         and use it to 'do the right thing'.
6689
6690         * text2.C (getStringToIndex): ensure that cursor position is always
6691         reset to the reset_cursor position.
6692
6693 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6694
6695         * lyxfunc.C (getStatus): "buffer-export custom" should never be
6696         disabled.
6697
6698 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
6699
6700         * bufferview.C:
6701         * lyxcb.C:
6702         * lyxfunc.C: Output messages with identical spelling, punctuation,
6703         and spaces
6704
6705 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
6706
6707         * MenuBackend.C (expandFormats): List only viewable export formats
6708         in "View" menu
6709
6710         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6711         message
6712
6713         * lyxfunc.C (getStatus): Make sure that formats other than
6714         "fax" can also be disabled
6715
6716 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6717
6718         * text3.C (dispatch): put the lfuns that insert insets in 3
6719         groups, and call doInsertInset with appropriate arguments.
6720         (doInsertInset): new function, that creates an inset and inserts
6721         it according to some boolean parameters.
6722
6723 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6724
6725         * buffer.C (readFile): remember to pass on 'par' when calling
6726         readFile recursively.
6727
6728 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6729
6730         * MenuBackend.C (expandFormats): add "..." to import formats.
6731
6732 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
6733
6734         * paragraph.C (asString): Remove XForms RTL hacks.
6735
6736 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
6737         * buffer.C: fix typo
6738
6739 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6740
6741         * Makefile.am (LIBS): delete var
6742         (lyx_LDADD): add @LIBS@ here instead.
6743
6744 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
6745
6746         * Clarify the meaning of "wheel mouse jump"
6747
6748 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6749
6750         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6751         tabular in a float
6752
6753 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6754
6755         * importer.C (Loaders): do not preallocate 3 elements in the
6756         vector, since one ends up with 6 elements otherwise
6757
6758 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6759
6760         * DepTable.C (write): write the file name as last element of the
6761         .dep file (because it may contain spaces)
6762         (read): read info in the right order
6763
6764 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6765
6766         * paragraph_pimpl.C (simpleTeXBlanks):
6767         (simpleTeXSpecialChars):
6768         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6769
6770         * tabular.C (latex): add some missing case statements. Reindent.
6771
6772         * MenuBackend.C (expandToc): remove unused variable.
6773
6774 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
6775
6776         * LColor.C:
6777         * LaTeX.C:
6778         * LyXAction.C:
6779         * MenuBackend.C:
6780         * buffer.C:
6781         * exporter.C:
6782         * lyxfunc.C:
6783         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6784         and the like.
6785
6786 2003-01-05  John Levon  <levon@movementarian.org>
6787
6788         * BufferView.h:
6789         * BufferView.C: add getEncoding()
6790
6791         * kbsequence.h:
6792         * kbsequence.C: do not store last keypress
6793
6794         * lyxfunc.h:
6795         * lyxfunc.C: store last keypress here instead. Pass encoding
6796           to getISOEncoded()
6797
6798 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6799
6800         * lyx_main.C (init): remove annoying error message when following
6801         symbolic links (bug #780)
6802
6803 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6804
6805         * text.C (insertChar):
6806         * lyxrc.C (getDescription): remove extra spaces
6807
6808 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6809
6810         * lyxrc.C (getDescription): remove extra spaces
6811
6812 2002-12-20  John Levon  <levon@movementarian.org>
6813
6814         * text3.C: hack fix for page up/down across tall rows
6815
6816 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6817
6818         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6819         not been invoked
6820
6821 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6822
6823         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6824         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6825         thesaurus is not compiled in
6826
6827 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
6828
6829         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6830
6831 2002-12-16  Angus Leeming  <leeming@lyx.org>
6832
6833         * lyxrc.[Ch]:
6834         * lyx_main.C (init): remove override_x_deadkeys stuff.
6835
6836 2002-12-12  John Levon  <levon@movementarian.org>
6837
6838         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6839           insert. Only remove shift modifier under strict
6840           circumstances.
6841
6842 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6843
6844         * MenuBackend.C (expandToc): fix crash.
6845
6846 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6847
6848         * MenuBackend.C (expandToc): gettext on float names.
6849
6850 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6851
6852         * lyxlength.[Ch]: set default unit to UNIT_NONE,
6853         implement bool empty() [bug 490]
6854
6855 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6856
6857         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6858
6859 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6860
6861         * several files: ws changes
6862
6863 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6864
6865         * text2.C (setCounter): clean up a bit, use boost.format.
6866         (updateCounters): initialize par upon declaration.
6867
6868         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6869         if the layout exists. We do not just store the layout any more.
6870         (SwitchLayoutsBetweenClasses): use boost.format
6871
6872 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6873
6874         * converter.C (convert): if from and to files are the same, use a
6875         temporary files as intermediary
6876
6877 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6878
6879         * commandtags.h:
6880         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6881
6882 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6883
6884         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6885
6886 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6887
6888         * tabular.C (asciiPrintCell): use string(size, char) instead of
6889         explicit loop.
6890
6891         * sgml.C (openTag): fix order of arguments to string constructor
6892         (closeTag): ditto
6893
6894         * lyxfunc.C (dispatch): use boost.format
6895
6896         * lots of files: change "c" -> 'c'
6897
6898 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6899
6900         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6901
6902 2002-11-25  Angus Leeming  <leeming@lyx.org>
6903
6904         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6905
6906         * lyx_main.C (init): compile fix.
6907
6908 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6909
6910         * lyx_cb.C (start): boost.formatify
6911         do not include <iostream>
6912
6913         * lengthcommon.C: ws only
6914
6915         * boost-inst.C,BoostFormat.h: add more explict instantations
6916
6917 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6918
6919         * lots of files: handle USE_BOOST_FORMAT
6920
6921 2002-11-21  John Levon  <levon@movementarian.org>
6922
6923         * pspell.C: fix compile
6924
6925 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6926
6927         * lyxfunc.C (dispatch): use boost::format
6928         (open): ditto
6929         (doImport): ditto
6930
6931         * lyxfont.C (stateText): use boost::format
6932
6933         * lyx_main.C (LyX): use boost::format
6934         (init): ditto
6935         (queryUserLyXDir): ditto
6936         (readRcFile): ditto
6937         (parse_dbg): ditto
6938         (typedef boost::function): use the recommened syntax.
6939
6940         * importer.C (Import): use boost::format
6941
6942         * debug.C (showLevel): use boost::format
6943
6944         * converter.C (view): use boost::format
6945         (convert): ditto
6946         (move): ditto
6947         (scanLog): ditto
6948
6949         * bufferview_funcs.C (currentState): use boost::format
6950
6951         * bufferlist.C (emergencyWrite): use boost::format
6952
6953         * buffer.C (readLyXformat2): use boost::format
6954         (parseSingleLyXformat2Token): ditto
6955
6956         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6957
6958         * LaTeX.C (run): use boost::format
6959
6960         * Chktex.C (scanLogFile): use boost::format
6961
6962         * BufferView_pimpl.C (savePosition): use boost::format
6963         (restorePosition): ditto
6964         (MenuInsertLyXFile): ditto
6965
6966         * BoostFormat.h: help file for explicit instation.
6967
6968 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6969
6970         * tabular.C (latex): Support for block alignment in fixed width
6971         columns.
6972
6973 2002-11-17  John Levon  <levon@movementarian.org>
6974
6975         * BufferView_pimpl.C:
6976         * lyx_cb.C:
6977         * lyxfunc.C: split filedialog into open/save
6978
6979 2002-11-08  Juergen Vigna  <jug@sad.it>
6980
6981         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6982         by my last patch (hopefully).
6983
6984 2002-11-08  John Levon  <levon@movementarian.org>
6985
6986         * iterators.h:
6987         * iterators.C:
6988         * buffer.h:
6989         * buffer.C:
6990         * paragraph.h:
6991         * paragraph.C:
6992         * toc.h:
6993         * toc.C: ParConstIterator, and use it (from Lars)
6994
6995 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6996
6997         * lyxtextclass.[Ch]: revise and add doxygen comments
6998
6999 2002-11-07  John Levon  <levon@movementarian.org>
7000
7001         * text.C: fix progress value for spellchecker
7002
7003         * toc.C: fix navigate menu for insetwrap inside minipage
7004
7005         * paragraph_funcs.C: added FIXME for suspect code
7006
7007 2002-11-07  John Levon  <levon@movementarian.org>
7008
7009         * BufferView_pimpl.C: fix redrawing of insets
7010           on buffer switch
7011
7012 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7013
7014         * text2.C (updateCounters): fix bug 668
7015
7016 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
7017
7018         * text3.C (dispatch): Do not make the buffer dirty when moving the
7019         cursor.
7020
7021 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7022
7023         * vc-backend.C: STRCONV
7024         (scanMaster): ditto
7025
7026         * text2.C (setCounter): STRCONV
7027
7028         * paragraph.C (asString): STRCONV
7029
7030         * lyxlength.C (asString): STRCONV
7031         (asLatexString): ditto
7032
7033         * lyxgluelength.C (asString): STRCONV
7034         (asLatexString): ditto
7035
7036         * lyxfunc.C (dispatch): STRCONV
7037         (open): ditto
7038
7039         * lyxfont.C (stateText): STRCONV
7040
7041         * importer.C (Import): STRCONV
7042
7043         * counters.C (labelItem): STRCONV
7044         (numberLabel): ditto
7045         (numberLabel): remove unused ostringstream o
7046
7047         * chset.C: STRCONV
7048         (loadFile): ditto
7049
7050         * bufferview_funcs.C (currentState): STRCONV
7051
7052         * buffer.C (readFile): STRCONV
7053         (asciiParagraph): ditto
7054         (makeLaTeXFile): ditto
7055
7056         * Spacing.C (writeEnvirBegin): STRCONV
7057
7058         * LaTeXFeatures.C (getLanguages): STRCONV
7059         (getPackages): ditto
7060         (getMacros): ditto
7061         (getBabelOptions): ditto
7062         (getTClassPreamble): ditto
7063         (getLyXSGMLEntities): ditto
7064         (getIncludedFiles): ditto
7065
7066         * LaTeX.C: STRCONV
7067         (run): ditto
7068         (scanAuxFile): ditto
7069         (deplog): ditto
7070
7071         * LString.h: add the STRCONV macros
7072
7073         * BufferView_pimpl.C (savePosition): STRCONV
7074         (restorePosition): ditto
7075         (MenuInsertLyXFile): ditto
7076
7077         * vc-backend.C (scanMaster): change from submatch[...] to
7078         submatch.str(...)
7079
7080         * funcrequest.C: include config.h
7081
7082         * factory.C: include config.h
7083
7084         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7085
7086         * box.C: include config.h
7087
7088         * LaTeX.C (scanAuxFile): change from submatch[...] to
7089         submatch.str(...)
7090         (deplog): ditto
7091
7092 2002-10-25  Angus Leeming  <leeming@lyx.org>
7093
7094         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7095
7096         * ispell.[Ch] (setError): new method.
7097         * ispell.C (c-tor): move out child process into new class LaunchIspell.
7098         Use setError() insetead of goto END.
7099
7100         * lyx_cb.C (AutoSave): move out child process into new class
7101         AutoSaveBuffer.
7102
7103 2002-10-30  John Levon  <levon@movementarian.org>
7104
7105         * text3.C: make start appendix undoable
7106
7107 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
7108
7109         * lyxlength.C (inPixels): Fix returned value.
7110
7111         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7112         environment.
7113
7114 2002-10-24  Angus Leeming  <leeming@lyx.org>
7115
7116         * lyxgluelength.h: no need to forward declare BufferParams
7117         or BufferView, so don't.
7118
7119 2002-10-21  John Levon  <levon@movementarian.org>
7120
7121         * BufferView.C: menuUndo ->undo, redo
7122
7123         * BufferView.h: document, remove dead, make some methods private
7124
7125         * paragraph_funcs.h:
7126         * paragraph_funcs.C:
7127         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7128
7129         * buffer.h:
7130         * buffer.C:
7131         * sgml.h:
7132         * sgml.C: move sgml open/close tag into sgml.C
7133
7134         * bufferview_funcs.h: unused prototype
7135
7136         * lyxfunc.h:
7137         * lyxfunc.C: remove unused
7138
7139         * lyxtext.h:
7140         * text.C: remove unused
7141
7142 2002-10-21  John Levon  <levon@movementarian.org>
7143
7144         * BufferView.h:
7145         * BufferView.C:
7146         * BufferView_pimpl.h:
7147         * BufferView_pimpl.C: fix mouse wheel handling based on
7148           patch from Darren Freeman
7149
7150 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
7151
7152         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7153
7154 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
7155
7156         * lyxlength.C (inPixels): Fix hanfling of negative length.
7157         Fix LyXLength::MU case.
7158
7159 2002-10-16  John Levon  <levon@movementarian.org>
7160
7161         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7162
7163 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7164
7165         * converter.C (view): add support for $$i (file name) and $$p
7166         (file path) for the viewer command. If $$i is not specified, then
7167         it is appended to the command (for compatibility with old syntax)
7168
7169 2002-10-14  Juergen Vigna  <jug@sad.it>
7170
7171         * undo_funcs.C (textHandleUndo): alter the order in which the
7172         new undopar is added to the LyXText, as we have to set first
7173         the right prev/next and then add it as otherwise the rebuild of
7174         LyXText is not correct. Also reset the cursor to the right paragraph,
7175         with this IMO we could remove the hack in "redoParagraphs()".
7176
7177 2002-10-09  Angus Leeming  <leeming@lyx.org>
7178
7179         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7180         to turn off an optimisation if a new inset is to be inserted.
7181
7182 2002-10-11 André Pönitz <poenitz@gmx.net>
7183
7184         * lyxtext.h: make some functions public to allow access
7185         from inset/lyxtext for handling LFUN_PRIOR/NEXT
7186
7187 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7188
7189         * text3.C (dispatch): when changing layout, avoid an infinite loop
7190         [bug #652]
7191
7192 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7193
7194         * lyxrc.C (read): treat a viewer or converter command of "none" as
7195         if it were empty.
7196
7197         * MenuBackend.C (expandFormats): for an update, also allow the
7198         formats that are not viewable
7199
7200         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7201         script if it is newer than the lyxrc.defaults in user directory
7202
7203 2002-10-07 André Pönitz <poenitz@gmx.net>
7204
7205         * text.C: Vitaly Lipatov's small i18n fix
7206
7207 2002-09-25  Angus Leeming  <leeming@lyx.org>
7208
7209         * ispell.h: doxygen fix.
7210
7211 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
7212
7213         * buffer.h (readFile): Add a new argument to the method, to allow
7214         reading of old-format templates.
7215
7216 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
7217
7218         * toc.C (getTocList): Get TOC from InsetWrap.
7219
7220 2002-09-16  John Levon  <levon@movementarian.org>
7221
7222         * lyxfunc.C: check tabular for cut/copy too
7223
7224 2002-09-12  John Levon  <levon@movementarian.org>
7225
7226         * LyXAction.C: tidy
7227
7228         * factory.h:
7229         * factory.C: add header
7230
7231         * paragraph_funcs.h:
7232         * paragraph_funcs.C: cleanup
7233
7234 2002-09-11  John Levon  <levon@movementarian.org>
7235
7236         * PrinterParams.h: odd/even default to true
7237
7238 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
7239
7240         * PrinterParams.h: update printer parameters for new xforms dialog
7241
7242 2002-09-11  Angus Leeming  <leeming@lyx.org>
7243
7244         * lyxserver.C (read_ready): re-write to make it more transparent
7245         and to make it work in coherent fashion under Tru64 Unix.
7246
7247 2002-09-11  André Pönitz <poenitz@gmx.net>
7248
7249         * commandtags.h:
7250         * LyXAction.C:
7251         * text3.C: implement LFUN_WORDSEL
7252
7253 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7254
7255         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7256         make floatlist_ a boost::shared_ptr<FloatList>
7257
7258         * lyxtextclass.C: include FloatList.h
7259         (LyXTextClass): initialize floatlist_
7260         (TextClassTags): add TC_NOFLOAT
7261         (Read): match "nofloat" to TC_NOFLOAT and use it.
7262         (readFloat): modify call to floatlist_
7263         (floats): ditto
7264         (floats): ditto
7265
7266         * FloatList.[Ch] (FloatList): remove commented out float
7267         initialization.
7268         (erase): new function
7269
7270 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7271
7272         * MenuBackend.C (expandToc): fix crash when there is no document
7273         open
7274
7275 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
7276
7277         * many files: Add insetwrap.
7278
7279 2002-09-09  John Levon  <levon@movementarian.org>
7280
7281         * text2.C: remove confusing and awkward depth wraparound
7282
7283 2002-09-09  John Levon  <levon@movementarian.org>
7284
7285         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7286
7287         * buffer.h:
7288         * buffer.C: remove getIncludeonlyList()
7289
7290         * paragraph.C:
7291         * lyxfunc.C: remove headers
7292
7293 2002-09-09  Juergen Vigna  <jug@sad.it>
7294
7295         * text.C (getColumnNearX): fix form Michael this is most
7296         probably a cut&paste bug.
7297
7298 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7299
7300         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7301
7302         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7303         references, ws changes.
7304
7305         * text2.C (init): update counters after init
7306         (insertParagraph): no need to set counter on idividual paragraphs.
7307         (setCounter): access the counters object in the textclass object
7308         on in the buffer object.
7309         (updateCounters): ditto
7310
7311         * lyxtextclass.C: include counters.h, add variable ctrs_ as
7312         shared_ptr<Counters> to avoid loading counters.h in all
7313         compilation units.
7314         (LyXTextClass): initialize ctrs_
7315         (TextClassTags): add TC_COUNTER, and ...
7316         (Read): use it here.
7317         (CounterTags): new tags
7318         (readCounter): new function
7319         (counters): new funtion
7320         (defaultLayoutName): return a const reference
7321
7322         * counters.C (Counters): remove contructor
7323         (newCounter): remove a couple of unneeded statements.
7324         (newCounter): simplify a bit.
7325         (numberLabel): some small formatting changes.
7326
7327         * buffer.[Ch]: remove all traces of counters, move the Counters
7328         object to the LyXTextClass.
7329
7330 2002-09-06  Alain Castera  <castera@in2p3.fr>
7331
7332         * tabular.C: uses \tabularnewline; uses >{...} construct from array
7333         package to set the horizontal alignment on fixed width columns.
7334
7335         * lyx_sty.C:
7336         * lyx_sty.h: added tabularnewline macro def.
7337
7338         * LaTeXFeatures.C: added NeedTabularnewline macro feature
7339
7340 2002-09-06  John Levon  <levon@movementarian.org>
7341
7342         * LyXAction.C: tooltips for sub/superscript
7343
7344         * MenuBackend.C: a bit more verbose
7345
7346         * lyxfunc.C: tiny clean
7347
7348         * undo_funcs.C: document undo_frozen
7349
7350 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7351
7352         * counters.C (Counters): add missing algorithm counter.
7353
7354         * text2.C (setCounter): lookup the counter with layouts latexname
7355         instead of by section number.
7356         (setCounter): use a hackish way to lookup the correct enum
7357         counter.
7358         a float name->type change
7359         reset enum couners with counter name directly instead of depth value.
7360
7361         * counters.C (Counters): remove the push_backs, change to use the
7362         float type not the float name.
7363         (labelItem): remove unused string, float name->type change
7364
7365         * counters.h: don't include vector, loose the enums and sects vectors
7366
7367 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7368
7369         * lyxtextclass.C (TextClassTags): add TC_FLOAT
7370         (Read): add float->TC_FLOAT to textclassTags
7371         (Read): and handle it in the switch
7372         (readFloat): new function
7373
7374         * FloatList.C (FloatList): comment out the hardcoded float
7375         definitions.
7376
7377         * lyxlayout.h: ws change.
7378
7379 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
7380
7381         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7382
7383 2002-09-03  Angus Leeming  <leeming@lyx.org>
7384
7385         * BufferView_pimpl.h: qualified name is not allowed in member
7386         declaration: WorkArea & Pimpl::workarea() const;
7387
7388         * factory.C: added using std::endl directive.
7389
7390         * text3.C: added using std::find and std::vector directives.
7391
7392 2002-08-29  André Pönitz <poenitz@gmx.net>
7393
7394         * lyxtext.h:
7395         * text2.C: remove unused member number_of_rows
7396
7397         * Makefile.am:
7398         * BufferView2.C: remove file, move contents to...
7399         * BufferView.C: ... here
7400
7401         * BufferView_pimpl.C:
7402         * factory.C: move more inset creation to factory
7403
7404         * vspace.C: avoid direct usage of LyXText, ws changes
7405
7406         * BufferView.[Ch]:
7407                 don't provide direct access to WorkArea, use two simple
7408                 acessors haveSelction() and workHeight() instead
7409
7410
7411 2002-08-29  John Levon  <levon@movementarian.org>
7412
7413         * BufferView_pimpl.C (dispatch): do not continue when
7414           no buffer
7415
7416 2002-08-28  André Pönitz <poenitz@gmx.net>
7417
7418         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7419
7420         * BufferView.h:
7421         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7422
7423 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
7424
7425         * buffer.C: increment LYX_FORMAT to 221
7426
7427         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7428         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7429
7430         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7431
7432         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7433
7434 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7435
7436         * factory.C (createInset): use LyXTextClass::floats
7437
7438         * MenuBackend.C (expandFloatListInsert):
7439         (expandFloatInsert):
7440         (expandToc):
7441
7442         * text2.C (setCounter):
7443
7444         * LaTeXFeatures.C (useFloat):
7445         (getFloatDefinitions):
7446
7447         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7448
7449         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7450         floatlist_, with accessor floats().
7451
7452         * FloatList.h: remove global FloatList
7453
7454 2002-08-26  André Pönitz <poenitz@gmx.net>
7455
7456         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7457
7458         * BufferView.h:
7459         * BufferView2.C:
7460         * BufferView_pimpl.C:
7461         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7462
7463 2002-08-25  John Levon  <levon@movementarian.org>
7464
7465         * LyXAction.C: fix margin note description
7466
7467 2002-08-24  John Levon  <levon@movementarian.org>
7468
7469         * buffer.C:
7470         * bufferlist.C:
7471         * bufferview_funcs.C:
7472         * lyxfont.C:
7473         * undo_funcs.C: cleanups
7474
7475         * lyxfunc.C: disable CUT/COPY when no selection
7476
7477 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
7478
7479         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7480         in "enum UNIT"; e.g. PTW for Percent of TextWidth
7481
7482         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7483         Add backward compatibility to "mono", "gray" and "no".
7484
7485 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
7486
7487         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7488         (and file_format >= 200).
7489
7490 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7491
7492         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7493
7494 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7495
7496         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7497
7498 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
7499
7500         * BufferView_pimpl.C:
7501         * LyXAction.C:
7502         * buffer.C:
7503         * commandtags.h:
7504         * lyxfunc.C:
7505         * paragraph.[Ch]:
7506         * text2.C:
7507         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7508         inset and code to make it  work with the paragraph code. The inset
7509         can be anywhere in the paragraph, but will only do the expected
7510         thing in LaTeX if the layout file contains the parameter line
7511                         OptionalArgs    1
7512         (or more generally, a nonzero value) for that layout.
7513
7514 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7515
7516         * paragraph.h: remove the declaration of undefined counters class
7517         function.
7518
7519 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
7520
7521         * text2.C (setCounter):  fixed enumeration mis-count as reported by
7522         Dr. Richard Hawkins.
7523
7524 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7525
7526         * paragraph_funcs.h: remove some unneeded includes
7527
7528         * text.C (backspace): pasteParagraph now in global scipe
7529
7530         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7531         (pasteSelection): ditto
7532
7533         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7534         * paragraph_funcs.C (pasteParagraph): ... here
7535
7536 2002-08-20  André Pönitz <poenitz@gmx.net>
7537
7538         * commandtags.h: new LFUNs for swapping/copying table row/colums
7539
7540         * LyXAction.C:
7541         * lyxfunc.C: support for new lfuns
7542
7543 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7544
7545         * tabular.C:
7546         * buffer.[Ch]: remove NO_COMPABILITY stuff
7547
7548 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
7549
7550         * boost.C (throw_exception): new file, with helper function for
7551         boost compiled without exceptions.
7552
7553         * paragraph.h:
7554         * lyxlength.C:
7555         * buffer.C:
7556         * ParameterStruct.h:
7557         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7558
7559         * bufferlist.C (emergencyWriteAll): use boost bind
7560
7561         * BufferView_pimpl.C (moveCursorUpdate): remove inline
7562
7563         * text.C: include paragraph_funcs.h
7564         (breakParagraph): breakParagraph is now in global scope
7565
7566         * paragraph_funcs.[Ch]: new files
7567
7568         * paragraph.C (breakParagraph,breakParagraphConservative): move to
7569         global scope
7570
7571         * buffer.C: include paragraph_funcs.h
7572         (insertStringAsLines): breakParagraph is now in global scope
7573
7574         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7575         paragraph_funcs.C
7576
7577         * CutAndPaste.C: include paragraph_funcs.h
7578         (cutSelection): breakParagraphConservative is now in global scope
7579         (pasteSelection): ditto
7580
7581         * buffer.h: declare oprator== and operator!= for
7582         Buffer::inset_iterator
7583
7584         * bufferlist.C (emergencyWrite): don't use fmt(...)
7585
7586         * text3.C: add using std::endl
7587
7588         * BufferView.C (moveCursorUpdate): remove default arg
7589
7590 2002-08-20  André Pönitz <poenitz@gmx.net>
7591
7592         * buffer.[Ch]: move inline functions to .C
7593
7594         * BufferView2.C:
7595         * BufferView_pimpl.C:
7596         * text.C:
7597         * buffer.[Ch]: use improved inset_iterator
7598
7599         * buffer.C:
7600         * paragraph.[Ch]: write one paragraph at a time
7601
7602 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
7603
7604         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7605         style if style is not specified.
7606
7607 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7608
7609         * text2.C (setCounter): when searching for right label for a
7610         caption, make sure to recurse to parent insets (so that a caption
7611         in a minipage in a figure float works) (bug #568)
7612
7613 2002-08-20  André Pönitz <poenitz@gmx.net>
7614
7615         * text3.C: new file for LyXText::dispatch() and helpers
7616
7617         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7618
7619         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7620
7621 2002-08-19  André Pönitz <poenitz@gmx.net>
7622
7623         * lyxtext.h:
7624         * text.C: new LyXText::dispatch()
7625
7626         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7627
7628 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
7629
7630         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7631
7632         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7633         Hebrew text.
7634
7635 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7636
7637         * Makefile.am: use $(variables) instead of @substitutions@
7638
7639 2002-08-15  André Pönitz <poenitz@gmx.net>
7640
7641         * lyxfunc.C:
7642         * BufferView_pimpl.C: streamlining mathed <-> outer world
7643         interaction
7644
7645         * commandtags.h:
7646         * LyXAction.C: remove unused LFUN_MATH
7647
7648 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7649
7650         * paragraph.[Ch]: add some NO_NEXT ifdefs.
7651
7652 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7653
7654         * paragraph.C (Paragraph): reformat a bit
7655         (cutIntoMinibuffer): use builtin InsetList function instad of
7656         doing it manually.
7657         (getInset): ditto
7658
7659         * buffer.C: include boost/bind.hpp, add using std::for_each
7660         (writeFileAscii): use ParagraphList iterators
7661         (validate): use for_each for validate traversal of paragraphs
7662         (getBibkeyList): use ParagraphList iterators
7663         (resizeInsets): use for_each to resizeInsetsLyXText for all
7664         paragraphs.
7665         (getParFromID): use ParagraphList iterators
7666
7667         * BufferView2.C (lockInset): use paragraph list and iterators
7668
7669 2002-08-14  John Levon  <levon@movementarian.org>
7670
7671         * lyxserver.C: remove spurious xforms include
7672
7673 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7674
7675         * lyxfunc.C (getStatus): disable math-extern outside of math mode
7676
7677 2002-08-13  André Pönitz <poenitz@gmx.net>
7678
7679         * LyXAction.[Ch]:
7680         * lyxfunc.C: further cleaning
7681
7682 2002-08-13  André Pönitz <poenitz@gmx.net>
7683
7684         * funcrequest.h: new constructor
7685
7686         * funcrequest.C: move stuff here from .h
7687
7688         * Makefile.am:
7689         * BufferView_pimpl.C:
7690         * LyXAction.C:
7691         * toc.C:
7692         * lyxfunc.C: subsequent changes
7693
7694         * lyxfunc.h: new view() member function
7695
7696         * lyxfunc.C: subsequent changes
7697
7698 2002-08-13  Angus Leeming  <leeming@lyx.org>
7699
7700         * BufferView2.C:
7701         * BufferView_pimpl.C:
7702         * buffer.C:
7703         * converter.C:
7704         * importer.C:
7705         * lyxfunc.C:
7706         * lyxvc.C:
7707         * toc.C:
7708         * vc-backend.C:
7709         changes due to the changed LyXView interface that now returns references
7710         to member variables not pointers.
7711
7712 2002-08-13  Angus Leeming  <leeming@lyx.org>
7713
7714         * WordLangTuple (word, lang_code): return references to strings,
7715         not strings.
7716
7717         * BufferView.h:
7718         * SpellBase.h:
7719         * lyxtext.h: forward-declare WordLangTuple.
7720
7721         * BufferView2.C:
7722         * ispell.C:
7723         * pspell.C:
7724         * text.C: #include "WordLangTuple.h".
7725
7726         * lyxtext.h:
7727         * text.C: (selectNextWordToSpellcheck): constify return type.
7728
7729 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
7730
7731         * buffer.C:
7732         * buffer.h:
7733         * lyxtext.h:
7734         * paragraph.C:
7735         * paragraph_pimpl.h:
7736         * text.C:
7737         * text2.C:
7738         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7739         suggested by Angus.
7740         Made updateCounter always count from start of buffer, and removed
7741         second argument (par).
7742         Reverted floats number display to '#'. Perhaps I'll try again when the
7743         code base is sanitized a bit.
7744
7745 2002-08-12  Angus Leeming  <leeming@lyx.org>
7746
7747         * buffer.[Ch] (getLabelList): constify.
7748
7749 2002-08-07  André Pönitz <poenitz@gmx.net>
7750
7751         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7752
7753         * funcrequest.h: extension to keep mouse (x,y) position
7754
7755 2002-08-12  Juergen Vigna  <jug@sad.it>
7756
7757         * BufferView2.C (insertErrors): forbid undo when inserting error
7758         insets.
7759
7760         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7761
7762 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7763
7764         * ParagraphList.[Ch]: new files
7765
7766         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7767
7768         * BufferView2.C (lockInset): ParagraphList changes
7769         * toc.C: ditto
7770         * text2.C: ditto
7771         * bufferlist.C: ditto
7772         * buffer.h: ditto
7773         * buffer.C: ditto
7774
7775 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7776
7777         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7778         unused class variable counter_,
7779
7780         * paragraph.[Ch] (getFirstCounter): delete unused function
7781
7782         * counters.C: include LAssert.h
7783         (reset): add a new function with no arg, change other version to
7784         not have def. arg and to not allow empty arg.
7785
7786         * text2.C (setCounter): remove empty arg from call to Counters::reset
7787
7788 2002-08-11  John Levon  <levon@movementarian.org>
7789
7790         * Makefile.am: add WordLangTuple.h
7791
7792 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7793
7794         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7795         lyxfunc.C lyxlex_pimpl.C: ws changes only.
7796
7797         * insets/insettext.C: InsetList changes
7798
7799         * graphics/GraphicsSupport.C (operator()): InsetList changes
7800
7801         * toc.C (getTocList): InsetList changes
7802
7803         * paragraph_pimpl.[Ch]: InsetList changes
7804
7805         * paragraph.[Ch]: InsetList changes
7806
7807         * buffer.C (inset_iterator): InsetList changes
7808         (setParagraph): ditto
7809         * buffer.h (inset_iterator): ditto
7810         * iterators.C (operator++): ditto
7811         * iterators.h: ditto
7812
7813         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7814
7815         * InsetList.[Ch]: new files, most InsetList handling moved out of
7816         paragraph.C.
7817
7818         * BufferView2.C (removeAutoInsets): InsetList changes
7819         (lockInset): ditto
7820         (ChangeInsets): ditto
7821
7822 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7823
7824         * paragraph_pimpl.h (empty): new function
7825
7826         * paragraph.[Ch] (empty): new function
7827
7828         * other files: use the new Paragraph::empty function
7829
7830 2002-08-09  John Levon  <levon@movementarian.org>
7831
7832         * lyxtext.h: remove unused refresh_height
7833
7834 2002-08-09  John Levon  <levon@movementarian.org>
7835
7836         * Makefile.am:
7837         * sgml.h:
7838         * sgml.C:
7839         * buffer.C:
7840         * paragraph.h:
7841         * paragraph.C: move sgml char escaping out of paragraph
7842
7843         * paragraph.h:
7844         * paragraph.C: remove id setter
7845
7846         * buffer.C:
7847         * paragraph.C:
7848         * paragraph_pimpl.C: remove dead tex_code_break_column
7849
7850         * bufferview_funcs.C: small cleanup
7851
7852         * lyxfunc.C: remove dead proto
7853
7854         * lyxtext.h: make some stuff private. Remove some dead stuff.
7855
7856         * lyxgluelength.C: make as[LyX]String() readable
7857
7858 2002-08-08  John Levon  <levon@movementarian.org>
7859
7860         * LyXAction.h:
7861         * LyXAction.C:
7862         * MenuBackend.C:
7863         * ToolbarDefaults.C:
7864         * lyxfunc.C:
7865         * lyxrc.C:
7866         * toc.C: lyxaction cleanup
7867
7868 2002-08-08  John Levon  <levon@movementarian.org>
7869
7870         * BufferView2.C: small cleanup
7871
7872         * lyxfind.h:
7873         * lyxfind.C: move unnecessary header into the .C
7874
7875 2002-08-08  John Levon  <levon@movementarian.org>
7876
7877         * funcrequest.h: just tedious nonsense
7878
7879         * lyx_main.h:
7880         * lyx_main.C: cleanups
7881
7882         * buffer.C:
7883         * vspace.C: remove dead header lyx_main.h
7884
7885 2002-08-07  Angus Leeming  <leeming@lyx.org>
7886
7887         * Paragraph.[Ch]:
7888         * paragraph_pimpl.h:
7889         Forward declare class Counters in paragraph.h by moving the ctrs member
7890         variable into Paragraph::Pimpl.
7891         (counters): new method, returning a reference to pimpl_->ctrs.
7892
7893         * text2.C: ensuing changes.
7894
7895 2002-08-07  John Levon  <levon@movementarian.org>
7896
7897         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7898
7899         * BufferView_pimpl.C: announce X selection on double/triple
7900           click
7901
7902         * lyx_main.C: use correct bool in batch dispatch
7903
7904         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7905
7906 2002-08-07  André Pönitz <poenitz@gmx.net>
7907
7908         * funcrequest.h: new class to wrap a kb_action and its argument
7909
7910         * BufferView.[Ch]:
7911         * BufferView_pimpl[Ch]:
7912         * LaTeX.C:
7913         * LyXAction.[Ch]:
7914         * lyxfunc.[Ch]:
7915         * lyxrc.C: subsequent changes
7916
7917
7918 2002-08-07  John Levon  <levon@movementarian.org>
7919
7920         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7921           document options change.
7922
7923 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7924
7925         * counters.[Ch]
7926         * text2.C
7927         * paragraph.[Ch]
7928         * makefile.am: move counters functionality over from
7929         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7930
7931 2002-08-06  John Levon  <levon@movementarian.org>
7932
7933         * WordLangTuple.h: new file for word + language code tuple
7934
7935         * SpellBase.h:
7936         * pspell.h:
7937         * pspell.C:
7938         * ispell.h:
7939         * ispell.C:
7940         * lyxtext.h:
7941         * text.C:
7942         * text2.C:
7943         * BufferView.h:
7944         * BufferView2.C: use WordLangTuple
7945
7946         * layout.h:
7947         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7948
7949 2002-08-06  John Levon  <levon@movementarian.org>
7950
7951         * lyx_main.C: fix cmdline batch handling
7952
7953 2002-08-06  André Pönitz <poenitz@gmx.net>
7954
7955         * lyxrc.C: set default for show_banner to true
7956
7957 2002-08-06  John Levon  <levon@movementarian.org>
7958
7959         * pspell.C: fix a crash, and allow new aspell to work
7960
7961 2002-08-06  John Levon  <levon@movementarian.org>
7962
7963         * lyxfunc.C:
7964         * kbmap.C: small cleanup
7965
7966         * vspace.h:
7967         * vspace.C: add const
7968
7969 2002-08-05  John Levon  <levon@movementarian.org>
7970
7971         * LyXAction.C: back to tabular-insert
7972
7973 2002-08-04  John Levon  <levon@movementarian.org>
7974
7975         * BufferView.h:
7976         * BufferView.C: cosmetic change
7977
7978         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7979
7980         * bufferlist.C:
7981         * buffer.h:
7982         * buffer.C:
7983         * lyxcb.h:
7984         * lyxcb.C:
7985         * lyxserver.C:
7986         * lyxvc.C:
7987         * vc-backend.C:
7988         * BufferView2.C: purge all "Lyx" not "LyX" strings
7989
7990         * lyxcursor.h:
7991         * lyxcursor.C: attempt to add some documentation
7992
7993         * lyxfunc.C:
7994         * commandtags.h:
7995         * LyXAction.C:
7996         * ToolbarDefaults.C:
7997         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7998           merge with LFUN_TABULAR_INSERT
7999
8000         * Makefile.am:
8001         * SpellBase.h:
8002         * ispell.h:
8003         * ispell.C:
8004         * pspell.h:
8005         * pspell.C: split up i/pspell implementations into separate
8006           files, many cleanups
8007
8008         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8009
8010         * text2.C: some cleanup
8011
8012         * lyxfunc.C: don't check for isp_command == "none" any more, it
8013           didn't make any sense
8014
8015 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
8016
8017         * counters.[Ch]
8018         * text2.C
8019         * paragraph.[Ch]
8020         * makefile.am: move counters functionality over
8021         from text2.C/paragraph.[Ch] to counters.[Ch], and
8022         make proper C++.
8023 2002-08-02  John Levon  <levon@movementarian.org>
8024
8025         * buffer.C: s/lyxconvert/lyx2lyx/
8026
8027 2002-08-02  Angus Leeming  <leeming@lyx.org>
8028
8029         * lyxlex.C: revert John's change as it breaks reading of the user
8030         preamble.
8031
8032 2002-08-02  Angus Leeming  <leeming@lyx.org>
8033
8034         * importer.C (Import):
8035         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8036         changes due to LyXView::view() now returning a boost::shared_ptr.
8037
8038 2002-08-02  John Levon  <levon@movementarian.org>
8039
8040         * lyxlex.C: small cleanup
8041
8042 2002-08-02  John Levon  <levon@movementarian.org>
8043
8044         * text2.C (status): small cleanup, no logic change
8045
8046 2002-08-01  John Levon  <levon@movementarian.org>
8047
8048         * buffer.h:
8049         * buffer.C (writeFile): don't output alerts, caller
8050           handles this
8051
8052         * bufferlist.C:
8053         * lyx_cb.C: from above
8054
8055         * lyxfunc.C: allow to open non-existent files
8056
8057 2002-07-31  John Levon  <levon@movementarian.org>
8058
8059         * lyxserver.C: don't let incidental errors get
8060           in the way (errno)
8061
8062 2002-07-30  John Levon  <levon@movementarian.org>
8063
8064         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8065
8066 2002-07-30  John Levon  <levon@movementarian.org>
8067
8068         * lyxserver.h:
8069         * lyxserver.C: remove I/O callback too
8070
8071 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8072
8073         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8074         log.
8075
8076 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8077
8078         * many files: strip,frontStrip -> trim,ltrim,rtrim
8079
8080 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8081
8082         * PrinterParams.h: remove extern containsOnly, and include
8083         support/lstrings.h instead.
8084
8085         * LaTeX.C (scanAuxFile): modify because of strip changes
8086         (deplog): ditto
8087         * buffer.C (makeLaTeXFile): ditto
8088         * bufferparams.C (writeFile): ditt
8089         * lyxfont.C (stateText): ditto
8090         * lyxserver.C (read_ready): ditto
8091         * vc-backend.C (scanMaster): ditto
8092
8093         * BufferView_pimpl.h: ws changes
8094
8095         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8096
8097 2002-07-26  André Pönitz <poenitz@gmx.net>
8098
8099         * kb_sequence.C: remove unnedred usings
8100
8101 2002-07-26  Juergen Vigna  <jug@sad.it>
8102
8103         * lyxfind.C (LyXReplace): we have to check better if the returned
8104         text is not of theLockingInset()->getLockingInset().
8105
8106 2002-07-25  Juergen Vigna  <jug@sad.it>
8107
8108         * lyxfind.C (LyXReplace): don't replace if we don't get the
8109         right LyXText.
8110
8111         * undo_funcs.C (createUndo): remove debugging code.
8112
8113 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
8114
8115         * buffer.C (parseSingleLyXformat2Token): Use default placement
8116         when reading old floats.
8117
8118         * FloatList.C (FloatList): Change the default placement of figure
8119         and tables to "tbp".
8120
8121 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
8122
8123         * MenuBackend.C: using std::max
8124
8125 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8126
8127         * MenuBackend.C (expandToc):
8128         (expandToc2): code moved from xforms menu frontend. It is now
8129         generic and TOCs are transparent to menu frontends.
8130
8131 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8132
8133         * toc.C (getTocList): protect against buf=0
8134
8135         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8136         Menu as first parameter. Now, this calls itself recursively to
8137         expand a whole tree (this will be useful for TOC handling)
8138         (expandFloatInsert): remove 'wide' version of floats
8139
8140         * MenuBackend.h (submenuname): returns the name of the submenu.
8141         (submenu): returns the submenu itself, provided it has been
8142         created by MenuBackend::expand
8143
8144 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8145
8146         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8147         insets which have noFontChange == true. (bug #172)
8148
8149 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8150
8151         * BufferView_pimpl.C: add connection objects and use them...
8152         (Pimpl): here.
8153
8154 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8155
8156         * MenuBackend.C (expandLastfiles):
8157         (expandDocuments):
8158         (expandFormats):
8159         (expandFloatListInsert):
8160         (expandFloatInsert):
8161         (expand): split expand in parts
8162
8163 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8164
8165         * lyx_gui.C: use lyx_gui::exit()
8166
8167 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8168
8169         * LyXAction.C: show the failing pseudo action
8170
8171 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
8172
8173         * buffer.C (readFile): Run the lyxconvert script in order to read
8174         old files.
8175
8176 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8177
8178         * LyXAction.C:
8179         * commandtags.h:
8180         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8181
8182 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8183
8184         * LyXAction.C:
8185         * commandtags.h:
8186         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8187
8188 2002-07-22  Herbert Voss  <voss@lyx.org>
8189
8190         * lengthcommon.C:
8191         * lyxlength.[Ch]: add support for the vertical lengths
8192
8193 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
8194
8195         * toc.[Ch]: std:: fixes
8196
8197 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8198
8199         * lyxrc.C: do not include lyx_main.h
8200
8201         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8202         for layouts
8203
8204         * lyxrc.C:
8205         * encoding.C:
8206         * bufferlist.C:
8207         * BufferView2.C: include "lyxlex.h"
8208
8209         * tabular.h:
8210         * bufferparams.h: do not #include "lyxlex.h"
8211
8212         * lyxtextclasslist.C (Add): remove method
8213         (classlist): renamed to classlist_
8214
8215         * paragraph_pimpl.C:
8216         * paragraph.C:
8217         * text2.C:
8218         * CutAndPaste.C:
8219         * bufferview_funcs.C:
8220         * bufferlist.C:
8221         * text.C:
8222         * LaTeXFeatures.C:
8223         * buffer.C:
8224         * toc.C (getTocList): use BufferParams::getLyXTextClass
8225
8226         * toc.C (getTocList): use InsetFloat::addToToc
8227
8228         * toc.[Ch]: new files, containing helper functions to handle table
8229         of contents
8230
8231         * lyxfunc.C (dispatch): no need to remove spaces around command
8232         given as a string
8233         (getStatus): handle LFUN_SEQUENCE by returning the status of the
8234         first command of the sequence; it is not very clever, but I do not
8235         have a better idea, actually
8236
8237         * LyXAction.C (LookupFunc): make sure to remove space at the
8238         beginning and end of the command
8239
8240 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8241
8242         * MenuBackend.C (getMenubar): new method: return the menubar of
8243         this menu set
8244         (read): treat differently reading of menu and menubar (in
8245         particular, the menubar has no name now)
8246         (Menu::menubar): remove
8247
8248         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8249         saving is finished
8250
8251 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8252
8253         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8254         a bibitem inset in a RTL paragraph.
8255
8256 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
8257
8258         * paragraph_pimpl.C: constify
8259
8260         * BufferView_pimpl.C:
8261         * LaTeX.C:
8262         * lyxfunc.C: fix dispatch in a nicer way
8263
8264 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8265
8266         * lyxfunc.C (dispatch):
8267         * BufferView_pimpl.C:
8268         * BufferView_pimpl.h:
8269         * BufferView.C:
8270         * BufferView.h: rename Dispatch() to dispatch()
8271
8272         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8273
8274         * lyxlayout.C (Read): honor DependsOn tag
8275
8276         * lyxlayout.[Ch] (depends_on): new method
8277
8278         * version.C.in: update lyx_docversion
8279
8280         * LaTeXFeatures.C (getMacros): only define \LyX when needed
8281
8282         * paragraph.C (validate): remove from here...
8283         * paragraph_pimpl.C (validate): ... and move here
8284         (isTextAt): make it const
8285
8286         * buffer.C (getLists): ws cleanup
8287
8288 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8289
8290         * language.C (read): Use iso8859-1 encoding in latex_lang
8291         (this prevents LyX from crashing when using iso10646-1 encoding).
8292
8293 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8294
8295         * text2.C (toggleInset): if cursor is inside an inset, close the
8296         inset and leave cursor _after_ it
8297
8298 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8299
8300         * lyxfunc.C: move minibuffer completion handling out of here
8301
8302 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8303
8304         * BufferView_pimpl.C:
8305         * LaTeX.C: fix dispatch calls
8306
8307 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
8308
8309         * text.C (drawChars): Fix Arabic text rendering.
8310
8311 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
8312
8313         * LyXAction.C:
8314         * commandtags.h:
8315         * lyxfunc.C: remove message-push/pop
8316
8317         * lyxserver.C:
8318         * lyxfunc.h:
8319         * lyxfunc.C: rationalise some code by removing verboseDispatch
8320           in favour of a bool argument to dispatch()
8321
8322 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8323
8324         * lyx_main.C (init): make sure to read symlinks as absolute paths
8325
8326 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8327
8328         * lyxfunc.h:
8329         * lyxfunc.C: no need for commandshortcut to be a member
8330
8331 2002-07-15  André Pönitz <poenitz@gmx.net>
8332
8333         * converter.C: add support for $$s (scripts from lib/scripts dir)
8334         * lyx_main.C: white space
8335
8336 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8337
8338         * bufferlist.C:
8339         * lyxrc.h:
8340         * lyxrc.C: remove second exit confirmation
8341
8342 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8343
8344         * BufferView.h:
8345         * BufferView.C:
8346         * BufferView2.C:
8347         * BufferView_pimpl.h:
8348         * BufferView_pimpl.C:
8349         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8350
8351 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8352
8353         * MenuBackend.C (expand): add numeric shortcuts to document menu
8354
8355         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8356
8357 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8358
8359         * lyxfont.C (setLyXFamily):
8360         (setLyXSeries):
8361         (setLyXShape):
8362         (setLyXSize):
8363         (setLyXMisc):
8364         (lyxRead):
8365         * debug.C (value):
8366         * buffer.C (asciiParagraph): use ascii_lowercase
8367
8368 2002-07-15  Mike Fabian  <mfabian@suse.de>
8369
8370         * lyxlex_pimpl.C (search_kw):
8371         * lyxlex.C (getLongString):
8372         * converter.h (operator<):
8373         * converter.C (operator<):
8374         * buffer.C (parseSingleLyXformat2Token):
8375         (asciiParagraph):
8376         * ToolbarDefaults.C (read):
8377         * MenuBackend.C (checkShortcuts):
8378         (read):
8379         * LColor.C (getFromGUIName):
8380         (getFromLyXName): use the compare_ascii_no_case instead of
8381         compare_no_case, because in turkish, 'i' is not the lowercase
8382         version of 'I', and thus turkish locale breaks parsing of tags.
8383
8384 2002-07-16  Angus Leeming  <leeming@lyx.org>
8385
8386         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8387         now takes a Buffer const & argument.
8388
8389 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
8390
8391         * BufferView.C (resize): check there's a buffer to resize
8392
8393 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
8394
8395         * lyxfunc.C: remove dead code
8396
8397         * lyxserver.h:
8398         * lyxserver.C: use lyx_guii::set_read_callback
8399
8400 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
8401
8402         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8403         an inset in a RTL paragraph.
8404
8405 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8406
8407         * lyxfunc.C: repaint after a font size update
8408
8409 2002-07-15  André Pönitz <poenitz@gmx.net>
8410
8411         * lyxlength.C: inBP should be able to return negative values
8412
8413 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8414
8415         * lyxfunc.C: use lyx_gui::update_fonts()
8416
8417 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8418
8419         * lyxfunc.C: use lyx_gui::update_color()
8420
8421 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8422
8423         * bufferlist.C:
8424         * lyxfunc.h:
8425         * lyxfunc.C:
8426         * lyxrc.h:
8427         * lyxrc.C: remove file->new asks for name option, and let
8428           buffer-new take an argument
8429
8430 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8431
8432         * BufferView_pimpl.C: remove unneeded extra repaint()
8433
8434 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
8435
8436         * LyXAction.C: allow command-sequence with NoBuffer
8437
8438         * lyxfunc.C: don't insist on trailing ';' for command-sequence
8439
8440 2002-07-10  Angus Leeming  <leeming@lyx.org>
8441
8442         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8443
8444 2002-07-09  Angus Leeming  <leeming@lyx.org>
8445
8446         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8447
8448 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8449
8450         * lengthcommon.h: whitespace
8451
8452         * lyxfunc.C: update scrollbar after goto paragraph
8453
8454         * lyxtext.h: factor out page break drawing, and fix it so
8455           page break/added space paints as selected nicely
8456
8457 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8458
8459         * BufferView_pimpl.C: add FIXMEs, clean up a little
8460
8461 2002-07-09  André Pönitz <poenitz@gmx.net>
8462
8463         * lyxfont.[Ch]: support for wasy symbols
8464
8465 2002-07-08  André Pönitz <poenitz@gmx.net>
8466
8467         * BufferView_pimpl.C: apply John's patch for #93.
8468
8469 2002-07-05  Angus Leeming  <leeming@lyx.org>
8470
8471         * BufferView_pimpl.C (buffer): generate previews if desired.
8472
8473         * LColor.h: add "preview" to the color enum.
8474
8475         * LColor.C (LColor): add a corresponding entry to the items array.
8476
8477         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8478         with this buffer.
8479
8480 2002-07-05  Angus Leeming  <leeming@lyx.org>
8481
8482         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8483         The body of the code is now in the method that is passed an ostream &
8484         rather than a file name.
8485         Pass an additional only_preamble parameter, useful for the forthcoming
8486         preview stuff.
8487
8488 2002-07-03  André Pönitz <poenitz@gmx.net>
8489
8490         * lyxfunc.C: simplify getStatus() a bit for math stuff
8491
8492 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8493
8494         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8495
8496 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8497
8498         * text.C (changeRegionCase): do not change case of all the
8499         document when region ends at paragraph end (bug #461)
8500
8501 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8502
8503         * paragraph.C (startTeXParParams):
8504         (endTeXParParams): add \protect when necessary
8505
8506 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8507
8508         * BufferView_pimpl.C (workAreaExpose): remove warning
8509
8510 2002-06-27  Angus Leeming  <leeming@lyx.org>
8511
8512         * Makefile.am: add lyxlayout_ptr_fwd.h.
8513
8514 2002-06-26  André Pönitz <poenitz@gmx.net>
8515
8516         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8517
8518 2002-06-25  Angus Leeming  <leeming@lyx.org>
8519
8520         * lyxfunc.C (dispatch): Comment out the call to
8521         grfx::GCache::changeDisplay. The method no longer exists now that the
8522         pixmap generation part of the graphics loader has been moved into
8523         InsetGraphics.
8524
8525 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8526
8527         * text2.C: layout as layout
8528
8529         * text.C: layout as layout
8530
8531         * tabular.C (OldFormatRead): layout as layout
8532
8533         * paragraph_pimpl.C (TeXDeeper): layout as layout
8534         (realizeFont): layout as layout
8535
8536         * paragraph.C (writeFile): layout as layout
8537         (validate): layout as layout
8538         (getFont): layout as layout
8539         (getLabelFont): layout as layout
8540         (getLayoutFont): layout as layout
8541         (breakParagraph): layout as layout
8542         (stripLeadingSpaces): layout as layout
8543         (getEndLabel): layout as layout
8544         (getMaxDepthAfter): layout as layout
8545         (applyLayout): layout as layout
8546         (TeXOnePar): layout as layout
8547         (simpleTeXOnePar): layout as layout
8548         (TeXEnvironment): layout as layout
8549         (layout): layout as layout
8550         (layout): layout as layout
8551
8552         * lyxtextclass.C (compare_name): new functor to work with
8553         shared_ptr, layout as layout
8554         (Read): layout as layout
8555         (hasLayout): layout as layout
8556         (operator): layout as layout
8557         (delete_layout): layout as layout
8558         (defaultLayout): layout as layout
8559
8560         * lyxlayout_ptr_fwd.h: new file
8561
8562         * lyxlayout.C (Read): layout as layout
8563
8564         * lyx_cb.C (MenuInsertLabel): layout as layout
8565
8566         * bufferlist.C (newFile): layout as layout
8567
8568         * buffer.C (readLyXformat2): layout as layout
8569         (parseSingleLyXformat2Token): layout as layout
8570         (insertStringAsLines): layout as layout
8571         (asciiParagraph): layout as layout
8572         (latexParagraphs): layout as layout
8573         (makeLinuxDocFile): layout as layout
8574         (simpleLinuxDocOnePar): layout as layout
8575         (makeDocBookFile): layout as layout
8576         (simpleDocBookOnePar): layout as layout
8577         (getLists): layout as layout
8578
8579         * LaTeXFeatures.C (getTClassPreamble): layout as layout
8580
8581         * CutAndPaste.C (cutSelection): layout as layout
8582         (pasteSelection): layout as layout
8583         (SwitchLayoutsBetweenClasses): layout as layout
8584
8585         * BufferView_pimpl.C (Dispatch): layout as layout
8586         (smartQuote): layout as layout
8587
8588         * BufferView2.C (unlockInset): layout as layout
8589
8590 2002-06-24  André Pönitz <poenitz@gmx.net>
8591
8592         * lyxfunc.C: fix #487
8593
8594 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8595
8596         * lyxrc.h:
8597         * lyxrc.C:
8598         * lyxfunc.C: remove display_shortcuts, show_banner
8599
8600 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8601
8602         * Buffer_pimpl.C: oops, update on resize
8603
8604 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8605
8606         * buffer.C:
8607         * converter.C:
8608         * exporter.C:
8609         * lyxfunc.C:
8610         * BufferView.h:
8611         * BufferView.C: use repaint()
8612
8613         * BufferView_pimpl.h:
8614         * BufferView_pimpl.C: s/updateScreen()/repaint()/
8615           as it's a clearer description. Remove superfluous
8616           redraws.
8617
8618 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8619
8620         * text.C: fix bug 488. Not ideal, but getting
8621           getWord() to work properly for the insets that
8622           matter is more difficult ...
8623
8624 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8625
8626         * BufferView_pimpl.C:
8627         * LyXAction.C:
8628         * commandtags.h:
8629         * lyxfunc.C: remove the six million index lyxfuncs to just
8630           one, and DTRT (bug 458)
8631
8632 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8633
8634         * BufferView.h:
8635         * BufferView.C:
8636         * BufferView_pimpl.h:
8637         * BufferView_pimpl.C: clean up resize() stuff,
8638           and unnecessary updateScreen()s
8639
8640 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8641
8642         * BufferView.h:
8643         * BufferView.C:
8644         * BufferView_pimpl.h:
8645         * BufferView_pimpl.C:
8646         * lyxfind.h:
8647         * lyxfind.C:
8648         * minibuffer.C: remove focus management of workarea,
8649           not needed. Use screen's greyOut()
8650
8651 2002-06-17  Herbert Voss  <voss@lyx.org>
8652
8653         * converter.C: (convert) do not post a message, when converting
8654         fails, let the calling function decide what to do in this case
8655
8656 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
8657
8658         * lyxfunc.C: tidy up a little
8659
8660 2002-06-16    <alstrup@diku.dk>
8661
8662         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8663         Got rid of FORMS_H_LOCATION include. Now we are
8664         GUII.
8665
8666 2002-06-15  LyX Development team  <lyx@rilke>
8667
8668         * buffer.[Ch] (sgmlOpenTag):
8669         (sgmlCloseTag): Added support for avoiding pernicious mixed
8670         content. Return number of lines written.
8671
8672         (makeLinuxDocFile):
8673         (makeDocBookFile): Fixed calls to sgml*Tag.
8674         Simple white space clean.
8675
8676         (simpleDocBookOnePar): Simple white space clean.
8677
8678         * tabular.[Ch] (docBook): Renamed to docbook and got another
8679         argument to related with the pernicious mixed content.
8680
8681         (docbookRow): Fixed calls for docbook inset method.
8682
8683 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
8684
8685         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8686         so it's X11 independent.
8687
8688         * kb*.[Ch]: ditto.
8689
8690         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8691
8692 2002-06-15  Lyx Development team  <lyx@electronia>
8693
8694         * intl.h: Renamed getTrans to getTransManager.
8695
8696 2002-06-14  Angus Leeming  <leeming@lyx.org>
8697
8698         * Makefile.am: nuke forgotten stl_string_fwd.h.
8699
8700 2002-06-12  Angus Leeming  <leeming@lyx.org>
8701
8702         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8703
8704 2002-06-13  Angus Leeming  <leeming@lyx.org>
8705
8706         * LaTeX.C:
8707         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8708
8709 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
8710
8711         * kbmap.C (getiso): add support for cyrillic and greek
8712
8713 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8714
8715         * BufferView.h:
8716         * BufferView.C:
8717         * BufferView_pimpl.h:
8718         * BufferView_pimpl.C: move bogus scrolling logic
8719           to xforms
8720
8721 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8722
8723         * lyxfunc.C:
8724         * BufferView_pimpl.C: view->resize() change
8725
8726 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8727
8728         * BufferView_pimpl.C: topCursorVisible
8729           prototype change
8730
8731 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8732
8733         * Makefile.am:
8734         * lyx_gui.h:
8735         * lyx_gui.C: move to frontends/
8736
8737         * main.C:
8738         * lyx_main.h:
8739         * lyx_main.C: changes from above
8740
8741 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8742
8743         * intl.C:
8744         * intl.h:
8745         * kbmap.C:
8746         * kbsequence.C:
8747         * lyx_cb.C:
8748         * lyx_main.C: minor tidy
8749
8750 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8751
8752         * BufferView_pimpl.h:
8753         * BufferView_pimpl.C:
8754         * BufferView.h:
8755         * BufferView.C: make painter() const,
8756           remove dead code
8757
8758         * BufferView2.C: use screen() accessor
8759
8760         * lyx_main.h:
8761         * lyx_main.C: some minor cleanup
8762
8763 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8764
8765         * BufferView_pimpl.h:
8766         * BufferView_pimpl.C: remove enter/leaveView,
8767           use workHeight()
8768
8769 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8770
8771         * BufferView.h:
8772         * BufferView.C:
8773         * BufferView2.C:
8774         * BufferView_pimpl.h:
8775         * BufferView_pimpl.C: only construct screen once,
8776           rename
8777
8778         * lyxrc.C: remove pointless comment
8779
8780 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8781
8782         * BufferView.h:
8783         * BufferView.C: remove active() and belowMouse()
8784
8785         * BufferView_pimpl.h:
8786         * BufferView_pimpl.C: use workarea() not workarea_,
8787           and make it use a scoped_ptr instead
8788
8789 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8790
8791         * lyx_gui.C: add debug message on BadWindow
8792
8793 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8794
8795         * sp_spell.C: fdopen is not part of the C++ standard.
8796
8797         * paragraph.C (InsetIterator): use >= instead of ==
8798
8799 2002-06-07  Angus Leeming  <leeming@lyx.org>
8800
8801         Fixes needed to compile with Compaq cxx 6.5.
8802         * BufferView_pimpl.C:
8803         * DepTable.C:
8804         * buffer.C:
8805         * converter.C:
8806         * encoding.C:
8807         * lyx_gui.C:
8808         * lyx_main.C:
8809         * lyxtextclasslist.C:
8810         * minibuffer.C:
8811         * sp_spell.C:
8812         * tabular_funcs.C:
8813         * vc-backend.C:
8814         all c-library variables have been moved into namespace std. Wrap
8815         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8816
8817         * lyxlength.C:
8818         * tabular-old.C:
8819         * tabular.C:
8820         Add a using std::abs declaration.
8821
8822         * kbmap.h (modifier_pair):
8823         * paragraph.h (InsetTable, InsetList):
8824         * lyxfont.h (FontBits):
8825         type definition made public.
8826
8827         * bufferlist.C (emergencyWriteAll): the compiler complains that
8828         there is more than one possible lyx::class_fun template to choose from.
8829         I re-named the void specialisation as lyx::void_class_fun.
8830
8831         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8832
8833         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8834         the compiler is is unable to find tostr in write_attribute.
8835
8836 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8837
8838         * buffer.C (sgmlError): hide #warning
8839
8840 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8841
8842         * xtl/*: get rid of xtl, which is not in use anyway
8843
8844         * LyXAction.C (init):
8845         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8846         were unimplemented xtl experimentation
8847
8848 2002-06-04  André Pönitz <poenitz@gmx.net>
8849
8850         * lyxfunc.C: disable array operation on simple formulae
8851
8852 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
8853
8854         * converter.C: constify a bit
8855
8856 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
8857
8858         * lyx_gui.C: check xforms version correctly
8859
8860 2002-04-30  Herbert Voss  <voss@lyx.org>
8861
8862         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8863         "keep" option
8864
8865 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
8866
8867         * lyxvc.C: fix bug 416 (make sure buffer is saved before
8868           attempt to register it with a VCS)
8869
8870 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8871
8872         * lyx_main.C (init): honor variables LYX_DIR_13x and
8873         LYX_USERDIR_13x
8874
8875 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8876
8877         * buffer.h:
8878         * buffer.C:
8879         * lyx_main.C: fix a crash on bad command line,
8880           and give a useful exit status on error
8881
8882         * lyxfunc.C (doImport): allow -i lyx to work
8883
8884 2002-03-30  André Pönitz <poenitz@gmx.net>
8885
8886         * lyxfunc.C: mathed font changes
8887
8888 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8889
8890         * LaTeX.C:
8891         * importer.h:
8892         * importer.C:
8893         * lyx_sty.h:
8894         * lyx_sty.C:
8895         * lyxlex.C:
8896         * lyxrow.h:
8897         * lyxtext.h:
8898         * paragraph.h:
8899         * paragraph.C:
8900         * texrow.h:
8901         * texrow.C:
8902         * text.C:
8903         * trans_mgr.h: srcdocs, and some minor cleanups
8904
8905 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8906
8907         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8908         call getFont all the time)
8909
8910 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8911
8912         * switch from SigC signals to boost::signals
8913
8914 2002-05-29  André Pönitz <poenitz@gmx.net>
8915
8916         * paragraph_pimpl.C (getChar): don't call size() too often...
8917
8918 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8919
8920         * paragraph_pimpl.C (insertChar): do not try to update tables when
8921         appending (pos == size())
8922
8923         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8924         in order to reduce drastically the number of comparisons needed to
8925         parse a large document
8926
8927 2002-05-29  André Pönitz <poenitz@gmx.net>
8928
8929         * text.C:
8930         * text2.C:
8931         * lyxtextclass.C:
8932         * sp_pspell.h:
8933         * textclasslist.[Ch]:
8934         * sp_ispell.h: whitespace change
8935
8936 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8937
8938         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8939         lyxaction directly now.
8940
8941 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8942
8943         * trans.C:
8944         * lyxfont.C:
8945         * lyxvc.C: remove unused headers
8946
8947 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8948
8949         * Makefile.am:
8950         * buffer.h:
8951         * undostack.h:
8952         * undostack.C:
8953         * undo_funcs.h:
8954         * undo_funcs.C: some cleanups. Use shared_ptr
8955           and a template for the undo stacks.
8956
8957 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8958
8959         * BufferView_pimpl.h:
8960         * BufferView_pimpl.C:
8961         * kbmap.h:
8962         * kbmap.C:
8963         * kbsequence.h:
8964         * kbsequence.C:
8965         * lyxfunc.h:
8966         * lyxfunc.C:
8967         * text2.C: use key_state/mouse_state
8968
8969 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8970
8971         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8972         and LSubstring
8973
8974         * chset.C: change include order
8975         (loadFile): use boost regex and get rid of LRegex and LSubstring
8976
8977         * Makefile.am (BOOST_LIBS): new variable
8978         (lyx_LDADD): use it
8979
8980         * LaTeX.C: change include order.
8981         (scanAuxFile): use boost regex and get rid of LRegex and
8982         LSubstring
8983         (deplog): ditto
8984
8985 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8986
8987         * ColorHandler.h:
8988         * ColorHandler.C:
8989         * FontInfo.h:
8990         * FontInfo.C: moved to frontends/xforms/
8991
8992         * FontLoader.h:
8993         * FontLoader.C: moved into frontends for GUIIzation
8994
8995         * Makefile.am:
8996         * lyx_gui.C:
8997         * lyxfont.C:
8998         * lyxfunc.C: changes from above
8999
9000 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9001
9002         * LColor.C: remove spurious X include
9003
9004         * BufferView_pimpl.C:
9005         * Makefile.am:
9006         * font.h:
9007         * font.C:
9008         * text.C:
9009         * text2.C: move font metrics to frontends/
9010
9011 2002-05-24  Juergen Vigna  <jug@sad.it>
9012
9013         * undo_funcs.C (textHandleUndo): fix the cursor selection after
9014         setting the undo_cursor.
9015
9016         * ParagraphParameters.h: include local includes first.
9017
9018 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9019
9020         * BufferView_pimpl.C:
9021         * BufferView_pimpl.h:
9022         * Makefile.am:
9023         * WorkArea.h:
9024         * WorkArea.C:
9025         * screen.C: move WorkArea into frontends/
9026
9027         * lyxscreen.h:
9028         * screen.C:
9029         * text.C:
9030         * BufferView.C:
9031         * BufferView2.C: move LyXScreen into frontends/
9032
9033         * lyxlookup.h:
9034         * lyxlookup.C:
9035         * lyx_gui.C: move lyxlookup into frontends/xforms/
9036
9037 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9038
9039         * BufferView2.C:
9040         * BufferView_pimpl.C:
9041         * FontLoader.C:
9042         * LyXView.h:
9043         * LyXView.C:
9044         * Makefile.am:
9045         * WorkArea.C:
9046         * XFormsView.h:
9047         * XFormsView.C:
9048         * buffer.C:
9049         * bufferlist.C:
9050         * bufferview_funcs.C:
9051         * converter.C:
9052         * importer.C:
9053         * lyx_cb.C:
9054         * lyx_gui.C:
9055         * lyx_main.C:
9056         * lyx_find.C:
9057         * lyxfunc.C:
9058         * lyxvc.C:
9059         * minibuffer.C:
9060         * text.C:
9061         * text2.C:
9062         * trans.C:
9063         * vc-backend.C: move LyX/XFormsView into frontends/
9064
9065 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9066
9067         * Makefile.am:
9068         * PainterBase.C:
9069         * PainterBase.h:
9070         * Painter.C:
9071         * Painter.h:
9072         * WorkArea.C:
9073         * WorkArea.h:
9074         * screen.C:
9075         * tabular.C:
9076         * text.C:
9077         * text2.C: move Painter to frontends/
9078
9079 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9080
9081         * buffer.C: comment out some some code that depend upon lyx_format
9082         < 220
9083
9084         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9085         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9086
9087         * buffer.h (NO_COMPABILITY): turn off compability
9088
9089         * ColorHandler.C: include scoped_array.hpp
9090
9091         * font.C: Use more specific smart_ptr header.
9092         * Painter.C: ditto
9093         * gettext.C: ditto
9094         * ShareContainer.h: ditto
9095         * lyx_main.h: ditto
9096         * kbmap.h: ditto
9097         * FontInfo.h: ditto
9098         * BufferView_pimpl.h: ditto
9099         * ColorHandler.h: ditto
9100
9101         * kbmap.C (defkey): change call to shared_ptr::reset
9102
9103 2002-05-21  Juergen Vigna  <jug@sad.it>
9104
9105         * buffer.C (insertErtContents): fix to insert ert asis if it is
9106         non empty. Skip it completely if it contains only whitespaces.
9107
9108 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
9109
9110         * BufferView_pimpl.C:
9111         * BufferView2.C: clear selection on paste (bug 393)
9112
9113 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9114
9115         * DepTable.C: include ctime
9116
9117 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
9118
9119         * buffer.C (latexParagraphs): Add new argument (moving_arg).
9120
9121 2002-05-14  Juergen Vigna  <jug@sad.it>
9122
9123         * text.C (breakParagraph): fixed function to honor the keepempty
9124         layout in the right maner and also to permit the right breaking
9125         algorithm on empty or non empyt keepempty paragraphs.
9126
9127         * paragraph.C (breakParagraph): we have to check also if the par
9128         is really empty (!size()) for isempty otherwise we do the wrong
9129         paragraph break.
9130
9131 2002-05-10  Juergen Vigna  <jug@sad.it>
9132
9133         * buffer.[Ch] : The following are only changes to the ert
9134         compatibility read reading old LaTeX layout and font stuff and
9135         convert it to ERTInsets.
9136
9137         * buffer.h: added isErtInset().
9138
9139         * buffer.C (struct ErtComp): add a fromlayout bool to check
9140         if we're inside a LaTeX layout.
9141         (isErtInset): new helper function.
9142         (insertErtContents): look for other ert insets before this one
9143         and insert the contents there, so that we don't have subsequent
9144         ERT insets with nothing between them. This way we create only one
9145         inset with multiple paragraphs. Also check if we don't insert only
9146         spaces ' ' as they are ignored anyway afterwards in the .tex file
9147         so if we have only spaces we will ignore this latex part in the
9148         new file.
9149         (parseSingleLyXformat2Token \\layout): better compatibility when
9150         reading layout-latex stuff.
9151         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9152         language tag.
9153         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9154         stuff after reading the inset only get the information back from
9155         the stack.
9156
9157 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
9158
9159         * buffer.C (makeLaTeXFile): Put language options after loading babel.
9160
9161         * LaTeXFeatures.C (getBabelOptions): New method.
9162
9163 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9164
9165         * BufferView_pimpl.C (Dispatch): work around missing argument for
9166         'layout'
9167
9168 2002-05-08  Juergen Vigna  <jug@sad.it>
9169
9170         * text.C (leftMargin): handle paragraph leftindent.
9171
9172         * paragraph.C (writeFile): write the new \\leftindent tag.
9173         (validate): handle leftindent code.
9174         (TeXEnvironment): handle paragraphleftindent code again.
9175
9176         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9177
9178         * buffer.C (parseSingleLyXformat2Token): added compatibility code
9179         for paragrap_extra indent code and new token \\leftindent.
9180         (latexParagraphs): handle the leftindent as environment.
9181
9182         * ParameterStruct.h: added leftindent support.
9183
9184         * ParagraphParameters.C (leftIndent): added support functions for
9185         the paragraph left indent.
9186
9187         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9188         more appropriate.
9189
9190 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
9191
9192         * paragraph.C (isRightToLeftPar): Return false for a paragraph
9193         inside insetERT.
9194
9195         * text.C (computeBidiTables): No bidi in insetERT.
9196
9197         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9198         in RTL documents.
9199
9200 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9201
9202         * version.C.in: pre 5
9203
9204 2002-05-02  José Matos  <jamatos@fep.up.pt>
9205         * buffer.C (makeDocBookFile): white space changes, add newline to
9206         command styles.
9207         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9208
9209         * tabular.C (docBook): fix typo.
9210
9211 2002-05-03  Juergen Vigna  <jug@sad.it>
9212
9213         * screen.C (drawFromTo): recalculate the rowpointer if we had a
9214         change in LyXText as we can not be sure it was not freed.
9215         (drawOneRow): remove unused code.
9216
9217         * text.C (drawInset): redo the calculation of the need_break_row as
9218         it could have a row which was already freed.
9219         (draw): look at the return value of drawInset and return false if
9220         it also returned false.
9221         (paintRowText): look at the return value of draw and return false if
9222         it also returned false.
9223
9224         * lyxtext.h: added bool return type to drawInset() and draw() so that
9225         if we have a change in the row so that the rowbreak has to be redone
9226         we abort drawing as it will be called again.
9227
9228 2002-05-02  Juergen Vigna  <jug@sad.it>
9229
9230         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9231         a change in the maintext also if we're inside an inset.
9232         (Dispatch): set the cursor again after a break line and after the
9233         screen has been updated as it could be we're in a different row.
9234
9235         * text2.C (fixCursorAfterDelete): check to make sure we don't request
9236         to set the cursor behind the pargraph with > size().
9237         (setCursor): check also for the same paragraph when checking where
9238         to put the cursor if we have a NFR inset.
9239
9240         * buffer.C (parseSingleLyXformat2Token): move the compatibility
9241         parts of layout read further up as it still was in the wrong
9242         position.
9243
9244 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9245
9246         * screen.C (drawFromTo): change sine fullRebreak always return
9247         true.
9248
9249         * buffer.C (parseSingleLyXformat2Token): reindent some
9250
9251         * BufferView_pimpl.C (update): change since fullRebreak always
9252         return true.
9253         (Dispatch): git rid of the last hardcoded "Standard"s.
9254
9255 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9256
9257         * text2.[Ch] (fullRebreak): make it return void now that we always
9258         returned true.
9259
9260 2002-04-30  Juergen Vigna  <jug@sad.it>
9261
9262         * buffer.C (parseSingleLyXformat2Token): reset the font before the
9263         ert compatibility check for "latex" layout.
9264
9265 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
9266
9267         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9268         minipages: use col% instead of p%, and also use the current font.
9269         (makeLaTeXFile): Fix use babel condition.
9270         (parseSingleLyXformat2Token): Correct font when reading old floats.
9271
9272 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
9273
9274         * BufferView_pimpl.C (Dispatch): Check that float type exists when
9275         inserting list of floats.
9276
9277 2002-04-25  Herbert Voss  <voss@lyx.org>
9278
9279         * MenuBackend.C (expand): don't add the graphics extensions to the
9280         export menu
9281
9282 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9283
9284         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9285         non-existing layout, do not complain if it was the default layout
9286         of the original class (bug #342)
9287
9288 2002-04-24  Juergen Vigna  <jug@sad.it>
9289
9290         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9291         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9292
9293 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
9294
9295         * buffer.C (getBibkeyList): If using \bibliography, return the
9296         option field with the reference itself. Enables us to provide natbib
9297         support when using \bibliography.
9298
9299 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
9300
9301         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9302
9303         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9304         natbib is provided by the LaTeX class.
9305
9306 2002-04-23  Juergen Vigna  <jug@sad.it>
9307
9308         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9309         Wakeup functions.
9310
9311         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9312
9313 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9314
9315         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9316
9317         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9318         ensuremath around textordmasculine, textordfeminine and
9319         textdegree.
9320
9321 2002-04-19  Juergen Vigna  <jug@sad.it>
9322
9323         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9324         reinitializing the buffer otherwise row-dimensions may be wrong.
9325         (update): reset also the selection cursors if they do exits otherwise
9326         their x/y positions may be wrong.
9327
9328         * text2.C (cursorDown): don't enter the inset if we came from a row
9329         above and are one row over the inset.
9330
9331         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9332         really leaving an inset.
9333
9334 2002-04-18  Juergen Vigna  <jug@sad.it>
9335
9336         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9337         of the selected paragraph does not have the selected layout also if
9338         the last one had!
9339
9340         * text2.C (setLayout): fixed bug which did not change last selected
9341         paragraph.
9342
9343         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9344         changed the read and substituted \\end_float with \\end_inset!
9345
9346         * BufferView_pimpl.C (cursorPrevious):
9347         (cursorNext): fixed to make it work with rows heigher than the work
9348         area without moving the cursor only the draw of the row.
9349         (workAreaMotionNotify): fix jumping over high rows.
9350
9351 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9352
9353         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9354         Ressler.
9355
9356 2002-04-16  Juergen Vigna  <jug@sad.it>
9357
9358         * text2.C (setCursor): set also the irow().
9359         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9360         (cursorUp):
9361         (cursorDown): support for locking an inset if the x_fix value goes
9362         inside it. That way I can transverse insets too with cursor up/down.
9363
9364         * lyxrow.h: added irow helper function same as other (i) functions.
9365
9366         * BufferView_pimpl.C (cursorPrevious):
9367         (cursorNext): fixed for insets!
9368
9369 2002-04-15  Juergen Vigna  <jug@sad.it>
9370
9371         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9372         position otherwise it is wrong in some cases.
9373
9374         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9375         inside the inset before the call.
9376
9377 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
9378
9379         * buffer.[Ch] (getBibkeyList): make it const.
9380
9381 2002-04-12  Juergen Vigna  <jug@sad.it>
9382
9383         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9384
9385         * text2.C (getCursorX): new helper function
9386         (setCursor): compute also ix_
9387         (setCursorFromCoordinates): set also ix.
9388
9389         * lyxcursor.h: added ix_ and helper functions.
9390
9391         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9392
9393         * buffer.C (insertStringAsLines): dont break paragraph if the this
9394         paragraph is inside an inset which does not permit it!
9395
9396         * text.C (breakParagraph): honor keepempty flag and break the paragraph
9397         also with no chars on this paragraph.
9398         (paintRowText): only paint stuff if it's inside the workarea!
9399
9400         * paragraph.C (breakParagraph): honor keepempty flag and break the
9401         paragraph always below not above.
9402
9403         * BufferView2.C (unlockInset): update the paragraph layout on inset
9404         unlock as we changed paragraph in such a case.
9405
9406         * lyxfind.C (LyXFind): clear the former selection if not found!
9407
9408         * text2.C (insertInset): freeze Undo after setUndo so that it is not
9409         again called in insertChar().
9410
9411         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9412         an inset which uses the whole row!
9413         (rightMargin): ditto.
9414         (insertChar): force a rebreak if we inserted an inset!
9415
9416 2002-03-28  Herbert Voss  <voss@lyx.org>
9417
9418         * lyxlength.[Ch]: add inBP() to get the right PS-point
9419         units (BigPoint). With inPixels we have rounding errors
9420
9421 2002-04-11  Juergen Vigna  <jug@sad.it>
9422
9423         * text2.C (setCursorFromCoordinates): set iy to the right value.
9424         (setCursor): add check if row->previous exists!
9425
9426         * buffer.C (parseSingleLyXformat2Token): reset font after read of
9427         an old float_type as this was the case in the old code!
9428
9429         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9430
9431         * BufferView2.C (showLockedInsetCursor): use iy
9432         (fitLockedInsetCursor): ditto
9433
9434         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9435         locked insets as there we have the right value now.
9436
9437         * lyxcursor.C: added iy_ variable and iy functions to set to the
9438         baseline of cursor-y of the locked inset.
9439
9440         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9441         (setCursor): fixed for insets which need a full row.
9442
9443         * text.C (rowLastPrintable): don't ignore the last space when before
9444         an inset which needs a full row.
9445         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9446         as last character of a row when before a inset which needs a full row.
9447
9448 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9449
9450         * version.C.in: update date
9451
9452         * text2.C (fullRebreak): try to always return true and see what
9453         happens...
9454
9455 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9456
9457         * MenuBackend.C (expand): use Floating::listName
9458
9459         * FloatList.C (FloatList): add listName argument to the built-in
9460         floats
9461
9462         * Floating.[Ch]: add listName member, which is the 'List of XXX'
9463         text associated with the float.
9464
9465 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9466
9467         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9468
9469 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9470
9471         * ShareContainer.h: add a couple of missing typenames.
9472
9473 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
9474
9475         * lyxrc.C (getDescription): use _() correctly rather than N_().
9476
9477 2002-03-28  Herbert Voss  <voss@lyx.org>
9478
9479         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9480         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9481
9482 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9483
9484         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9485         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9486
9487 2002-03-29  Juergen Vigna  <jug@sad.it>
9488
9489         * lyxfunc.C (dispatch): add a missing fitCursor call.
9490
9491         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9492         it was scrolled by a cursor move, so return the bool status.
9493
9494         * BufferView.C (fitCursor): return the bool flag also to the outside
9495         world as this is needed.
9496
9497         * screen.C (toggleToggle): don't subtract the offset if it's positive.
9498
9499         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9500         call the edit() as it is not needed (and wrong) IMO.
9501         (workAreaButtonPress): set the screen_first variable before evt.
9502         unlock the inset as this may change screen_first and then we have
9503         a wrong y position for the click!
9504
9505 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9506
9507         * MenuBackend.C (expand): another translation that I missed
9508
9509 2002-03-28  Juergen Vigna  <jug@sad.it>
9510
9511         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9512
9513         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9514
9515 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9516
9517         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9518
9519         * MenuBackend.C (expand): fix export/view/update when there is no
9520         document open.
9521
9522 2002-03-27  Herbert Voss  <voss@lyx.org>
9523
9524         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9525         and text%
9526
9527 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9528
9529         * bufferview_funcs.C (currentState): only show paragraph number
9530         for is DEVEL_VERSION is set.
9531
9532         * lyxfunc.C (dispatch): put warning in INFO channel
9533
9534         * MenuBackend.C (expand): translate the name of floats
9535
9536         * FloatList.C (FloatList): mark the float names for translation
9537
9538         * converter.C (convert): use LibScriptSearch
9539
9540 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9541
9542         * MenuBackend.C (defaults): fix default menu (we might as well get
9543         rid of it...)
9544
9545 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9546
9547         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9548         directory.
9549
9550 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9551
9552         * lyxvc.C: reorder includes.
9553
9554 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
9555
9556         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9557           properly
9558
9559 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
9560
9561         * CutAndPaste.C: change layouts earlier on paste
9562           to avoid crashing when calling getFont()
9563
9564 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
9565
9566         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9567         irritating #error.
9568
9569 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9570
9571         * WorkArea.C: remove 'Pending' debug message.
9572
9573         * most files: ws cleanup
9574
9575         * buffer.[Ch]: ws changes
9576
9577         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9578
9579 2002-03-21  Juergen Vigna  <jug@sad.it>
9580
9581         * tabular.C (SetMultiColumn): collapse also the contents of the
9582         cells and set the last border right. Added a Buffer const * param.
9583
9584 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9585
9586         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9587         linking or not.
9588
9589 2002-03-19  Juergen Vigna  <jug@sad.it>
9590
9591         * text2.C (clearSelection): reset also xsel_cache.
9592
9593         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9594         where it needs to be called (John tells us to do so too :)
9595         (selectionLost): reset sel_cache.
9596
9597         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9598
9599 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9600
9601         * text2.C (setCursorIntern): put debuging code in INSETS channel
9602
9603 2002-03-19  André Pönitz <poenitz@gmx.net>
9604
9605         * lyxfunc.C: tiny whitespace change
9606
9607 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9608
9609         * ToolbarDefaults.C (init):
9610         * LyXAction.C (init):
9611         * commandtags.h:
9612         * BufferView_pimpl.C (Dispatch):
9613         * lyxfunc.C (dispatch): remove LFUN_DEPTH
9614
9615 2002-03-19  Allan Rae  <rae@lyx.org>
9616
9617         * exporter.C (Export): removeAutoInsets before doing anything else.
9618         While I've just introduced a dependency on BufferView this really is
9619         the best place to clean the buffer otherwise you need to cleanup in
9620         a dozen places before calling export or cleanup in a dozen functions
9621         that export calls.
9622
9623         * converter.C (runLaTeX):
9624         (scanLog): Better handling of removeAutoInsets and screen updates.
9625
9626         * lyxfunc.C (dispatch): small whitespace changes
9627
9628 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9629
9630         * WorkArea.C (C_WorkAreaEvent): return a value.
9631         (event_cb): return 1 if we handled the event, 0 otherwise.
9632
9633         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9634
9635 2002-03-18  Juergen Vigna  <jug@sad.it>
9636
9637         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9638         (GetAdditionalWidth): ditto.
9639         (RightLine): ditto.
9640         (LeftLine): ditto.
9641
9642         * BufferView2.C (copy): use getLyXText() so that we do it inside an
9643         inset if we're there actually (probably not used right now but this
9644         is the direction to go for unifying code).
9645         (paste): disable code to clear the selection.
9646
9647         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9648         inside an InsetText and move the check further up as it is in the
9649         wrong place.
9650
9651         * text2.C (pasteSelection): set a selection over the pasted text.
9652
9653 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
9654
9655         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9656         and libgraphics to build on Cygwin.
9657
9658 2002-03-15  Juergen Vigna  <jug@sad.it>
9659
9660         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9661         inserting an Inset into the paragraph. I know this is not the best
9662         fix but we already use current_view in CutAndPaste so we will remove
9663         all of it's using at the same time.
9664
9665         * buffer.C (sgmlError): deactivated function till it is rewritten in
9666         the right mode, now it can create problems.
9667
9668         * paragraph.C (isLineSeparator): check if getInset returns != 0,
9669         before accessing it.
9670
9671 2002-03-14  Juergen Vigna  <jug@sad.it>
9672
9673         * undo_funcs.C (textHandleUndo): do the right thing when updating
9674         the inset after the undo/redo.
9675
9676         * text2.C (setCursor): just some testcode for #44 not ready yet.
9677
9678         * undo_funcs.C (textHandleUndo): set the next() and previous()
9679         pointers of the paragraph to 0 before deleting otherwise we have
9680         problems with the Paragraph::[destructor].
9681
9682         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9683         on a paragraph insertion.
9684
9685 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9686
9687         * buffer.C (asciiParagraph): use += operator for char append to
9688         string.
9689
9690         * paragraph.C (getFontSettings): compare >= not just >
9691         (highestFontInRange): ditto
9692         (setFont): ditto
9693
9694 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9695
9696         * paragraph.C: change several algorithm to be more appripriate for
9697         the problem domain. This is lookip in FontList and in the InsetList.
9698
9699 2002-03-13  André Pönitz <poenitz@gmx.net>
9700
9701         * commandtags.h:
9702         * LyXAction.C: remove unused LFUN_MATH_MACROARG
9703
9704 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
9705
9706         * commandtags.h:
9707         * LyXAction.C:
9708         * lyxfunc.C:
9709         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9710
9711 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9712
9713         * Painter.C (display): anon helper function, adjust code for this
9714         change.
9715         (pixmap): remove function.
9716
9717         * Painter.h: remove private display variable.
9718
9719         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9720
9721 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
9722
9723         * WorkArea.[Ch]: remove figinset_canvas cruft.
9724
9725 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9726
9727         * lyxtextclass.C (operator): add one item cache optimization.
9728
9729         * bufferlist.h: doxy changes
9730
9731         * bufferlist.C: ws changes
9732
9733         * DepTable.[Ch] (ext_exist): place const in the right spot.
9734
9735         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9736         call resizeInsets.
9737         (workAreaExpose): call resizeInsets when the with BufferView changes.
9738         (Dispatch): adjust for protectedBlank removal
9739         (specialChar): call updateInset if the insert went ok.
9740
9741         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9742         specialChar instead.
9743
9744         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9745
9746         * BufferView.h: doxy change
9747
9748         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9749
9750         * lyxtextclass.C (operator[]): remove non-const version
9751         (defaultLayout): remove non-const version
9752
9753 2002-03-12  Juergen Vigna  <jug@sad.it>
9754
9755         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9756         did resize the LyXText too.
9757
9758         * buffer.C (readLyXformat2): set layout information on newly allocated
9759         paragraphs.
9760
9761         * tabular.C (OldFormatRead): set layout information on the paragraph.
9762
9763 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9764
9765         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9766
9767 2002-03-11  Juergen Vigna  <jug@sad.it>
9768
9769         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9770         plainly wrong.
9771         (resizeCurrentBuffer): force also the insets to resize themselfes.
9772         (moveCursorUpdate): fixed up for InsetText.
9773
9774 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
9775
9776         * commandtags.h:
9777         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9778         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9779         value of Dialogs::tooltipsEnabled().
9780         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9781
9782 2002-03-08  Juergen Vigna  <jug@sad.it>
9783
9784         * BufferView_pimpl.C (updateInset): update inset inside inset also
9785         if it isn't inside theLockingInset().
9786
9787 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9788
9789         * buffer.C (asciiParagraph): redo some of the word and line length
9790         handling.
9791         (getLists): look for Caption instead of caption.
9792
9793 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9794
9795         * buffer.C (Buffer): initialize niceFile to true
9796         (makeLaTeXFile):
9797         (makeLinuxDocFile):
9798         (makeDocBookFile): make sure niceFile is true on exit
9799
9800 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9801
9802         * buffer.C (makeLaTeXFile): escape ~ in \input@path
9803
9804 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
9805
9806         * LyXSendto.C: remove.
9807         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9808         * lyx_gui.C: remove now-redundant comment.
9809         * ColorHandler.h: remove forward declaration of class WorkArea.
9810         * lyxfunc.C: remove #include "WorkArea.h".
9811
9812 2002-03-07  Juergen Vigna  <jug@sad.it>
9813
9814         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9815         got moved away with the DEPM and also set the inset_owner always
9816         right which before could have been omitted.
9817
9818 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9819
9820         * buffer.C (parseSingleLyXformat2Token): use default layout is the
9821         wanted layout is not found.
9822
9823 2002-03-07  Juergen Vigna  <jug@sad.it>
9824
9825         * CutAndPaste.C (cutSelection): another layout settings forgotten.
9826
9827 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9828
9829         * paragraph.C (breakParagraph): use default layout not layout of
9830         prev paragraph.
9831         (Paragraph): clear ParagraphParameters.
9832
9833 2002-03-06  Juergen Vigna  <jug@sad.it>
9834
9835         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9836         otherwise it would not be a valid lenght. Fixed a special case in
9837         the minipage compatibility read where we end the document with a
9838         minipage.
9839
9840         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9841         was set as it could be 0 for InsetTexts first entry.
9842
9843 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9844
9845         * paragraph.C (writeFile): if layout is empty write out
9846         defaultLayoutName().
9847
9848         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9849         file without named layout we set layout to defaultLayoutName().
9850
9851 2002-03-06  Juergen Vigna  <jug@sad.it>
9852
9853         * CutAndPaste.C (copySelection): set layout for new paragraph.
9854
9855         * text.C (prepareToPrint): leave ERT inset left aligned
9856         (leftMargin): don't indent paragraphs inside ERT insets
9857
9858 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9859
9860         * paragraph.C (breakParagraph): dont call clear do the work manually
9861
9862         * paragraph.[Ch] (clear): remove function
9863
9864 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9865
9866         * paragraph.C (Paragraph): dont call clear, the work has already
9867         been done.
9868
9869         * lyxtextclass.C (operator): assert if n is empty
9870
9871         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9872         work manually instead.
9873
9874 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9875
9876         * BufferView_pimpl.C: protect selectionLost against text == 0
9877
9878 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9879
9880         * text.C (breakParagraph): fix a setting layout to '0' problem.
9881
9882 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9883
9884         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9885         final location of file, for the included files, and graphics.
9886
9887 2002-03-05  Juergen Vigna  <jug@sad.it>
9888
9889         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9890
9891 2002-03-04  Juergen Vigna  <jug@sad.it>
9892
9893         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9894
9895         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9896         last column of multicolumn cells.
9897         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9898
9899 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9900
9901         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9902         file if it doesn't go to a temporary file.
9903
9904         * buffer.C (sgmlOpenTag):
9905         (sgmlCloseTag):  remove extra newline insertion.
9906
9907 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9908
9909         * text.C (getRowNearY): comment out debug msg
9910
9911 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9912
9913         * text2.C: first -> first_y
9914
9915         * text.C (getRowNearY): add some attemts at a possible
9916         optimization, not working.
9917
9918         * tabular.[Ch]: add BufferParams to several function so that newly
9919         created paragraph can be initialized to he default layotu for the
9920         buffers textclass.
9921
9922         * tabular-old.C (ReadOld): add buf->params to call of Init
9923
9924         * screen.C: rename text->first to text->first_y
9925
9926         * paragraph.C (breakParagraph): always set layout in the broken
9927         paragraph
9928
9929         * lyxtextclass.C (Read): remove lowercase
9930         (hasLayout): ditto
9931         (operator): ditto
9932         (delete_layout): ditto
9933
9934         * lyxtext.h: rename first -> first_y
9935
9936         * lyxlayout.C (Read): remove lowercase
9937         (name): ditto
9938         (setName): ditto
9939         (obsoleted_by): ditto
9940
9941         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9942
9943         * buffer.C (insertErtContents): add params are to InsetERT
9944         (parseSingleLyXformat2Token): add code to check if a paragraphs
9945         layout really exist.
9946         (parseSingleLyXformat2Token): add params to several inset
9947         constructors
9948         (asciiParagraph): remove lowercase, do the layout comparisons with
9949         no_case
9950
9951         * BufferView_pimpl.C (cursorNext): first -> first_y
9952         (resizeCurrentBuffer): first -> first_y
9953         (updateScrollbar): first -> first_y
9954         (scrollCB): first -> first_y
9955         (workAreaMotionNotify): first -> first_y
9956         (workAreaButtonPress): first -> first_y
9957         (checkInsetHit): first -> first_y
9958         (cursorPrevious): first -> first_y
9959         (cursorNext): first -> first_y
9960         (Dispatch): add buffer_->params to severl inset contructors
9961
9962 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9963
9964         * lyxlayout.C (Read): remove some debug info that I forgot.
9965
9966         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9967         clean up the code slightly.
9968         (makeLinuxDocFile): ditto
9969         (makeDocBookFile): ditto
9970
9971         * text2.C: layout as string
9972
9973         * text.C: layout as string
9974
9975         * paragraph_pimpl.C: layout as string
9976
9977         * paragraph.[Ch]: layout as string
9978
9979         * lyxtextclasslist.[Ch]: layout as string
9980
9981         * lyxtextclass.[Ch]: layout as string
9982
9983         * lyxtext.h: layout as string
9984
9985         * lyxlayout.[Ch]: layout as string
9986
9987         * lyx_cb.C: layout as string
9988
9989         * bufferview_funcs.C: layout as string
9990
9991         * bufferparams.C: layout as string
9992
9993         * buffer.C: layout as string
9994
9995         * LyXView.[Ch]: layout as string
9996
9997         * LaTeXFeatures.[Ch]: layout as string
9998
9999         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10000
10001         * BufferView_pimpl.C: change current_layout to string, remove
10002         lyx::layout_type.
10003         (Dispatch):
10004         (smartQuote):
10005         (insertInset):
10006         (workAreaButtonRelease): layout as string
10007
10008         * BufferView2.C (unlockInset): adjust
10009
10010         * vspace.C (asLatexCommand): use an explict temp variable.
10011
10012 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10013
10014         * Makefile.am: use FRONTEND_*
10015
10016 2002-03-01  Juergen Vigna  <jug@sad.it>
10017
10018         * tabular.C (SetWidthOfMulticolCell): changed to something better
10019         I hope but still work in progress.
10020         (recalculateMulticolumnsOfColumn): renamed function from
10021         recalculateMulticolCells as it is more appropriate now.
10022         (SetWidthOfCell): calculate multicols better.
10023
10024 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10025
10026         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10027
10028         * lyxfunc.C (processKeySym): print sequence also if it is
10029         `deleted' (complete)
10030
10031         * kbsequence.C (print): print sequence even if it is deleted
10032         (complete would be a better word, actually).
10033
10034         * lyxfunc.C (dispatch): print complete options after a prefix key
10035
10036         * vspace.C (asLatexCommand): rewrite in a slightly different form.
10037
10038 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
10039
10040         * text2.C (setCharFont): eliminate setCharFont code duplication.
10041
10042 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10043
10044         * BufferView_pimpl.C (Dispatch): remove bogus handling of
10045         LFUN_TABULAR_FEATURE (bug #177)
10046
10047 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
10048
10049         * Makefile.am: remove figure.h
10050
10051 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
10052
10053         * Bufferview_pimpl.C:
10054         * CutAndPasteC:
10055         * LaTeX.C:
10056         * LyXSendto.C:
10057         * buffer.C:
10058         * bufferlist.C:
10059         * converter.C:
10060         * language.C:
10061         * lyxfunc.C:
10062         * lyxvc.C:
10063         * paragraph.C:
10064         * text.C:
10065         * text2.C: remove #include "lyx_gui_misc.h".
10066
10067         * LaTeX.C: added #include <cstdio>
10068
10069 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10070
10071         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10072         that the paragraph following this one can have.
10073
10074         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10075
10076         * vspace.C (asLatexCommand): fix bogus gcc warning
10077
10078         * Makefile.am (lyx_SOURCES): remove vms_defines.h
10079
10080 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
10081
10082         * text2.C (setLayout): get rid of redundant code
10083
10084 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
10085
10086         * text2.C (incDepth): make sure depth cannot be increased beyond
10087         reasonable values.
10088
10089 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
10090
10091         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10092         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10093
10094         * PainterBase.h (image):
10095         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10096         a LyXImage const *.
10097
10098 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10099
10100         * BufferView.C:
10101         * BufferView.h:
10102         * BufferView_pimpl.C:
10103         * BufferView_pimpl.h:
10104         * LaTeXFeatures.C:
10105         * LyXAction.C:
10106         * LyXView.C:
10107         * Makefile.am:
10108         * UpdateList.h:
10109         * UpdateList.C:
10110         * buffer.C:
10111         * figure.h:
10112         * figureForm.C:
10113         * figureForm.h:
10114         * figure_form.C:
10115         * figure_form.h:
10116         * lyx_cb.C:
10117         * lyx_gui.C:
10118         * lyx_gui_misc.C:
10119         * lyxfunc.C:
10120         * sp_base.h:
10121         * sp_ispell.h:
10122         * sp_pspell.h:
10123         * sp_spell.C: remove fig inset, and the crap house of
10124           cards that follows it
10125
10126 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10127
10128         * Makefile.am:
10129         * lyxserver.C:
10130         * os2_defines.h:
10131         * os2_errortable.h:
10132         * nt_defines.h: move .h into support/
10133
10134         * vms_defines.h: remove
10135
10136         * WorkArea.C: add space in debug output
10137
10138         * text2.C:
10139         * paragraph.C:
10140         * buffer.C: add WITH_WARNINGS
10141
10142         * vc-backend.h:
10143         * vc-backend.C:
10144         * bufferlist.C: s/retrive/retrieve/, add docs
10145
10146         * vspace.h:
10147         * vspace.C:
10148         * kbmap.h:
10149         * lyxlength.h:
10150         * lyxgluelength.h:
10151         * length_common.h:
10152         * chset.h:
10153         * chset.C: add docs
10154
10155         * lyxgui.C: add ID to X error handler
10156
10157         * lyxtestclass.c: fix typo
10158
10159 2002-02-26  Juergen Vigna  <jug@sad.it>
10160
10161         * tabular_funcs.C (write_attribute): changed so that some default
10162         attributes are not written at all.
10163         (getTokenValue): set default values before trying to read the
10164         value so we have the return value always set as default if we don't
10165         find the token we search for.
10166
10167         * tabular.C (Write): write bools as bools not as strings!
10168
10169 2002-02-22  Juergen Vigna  <jug@sad.it>
10170
10171         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10172         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10173
10174         * text.C (leftMargin): don't add an indent for paragraphs inside
10175         tabular cells (fix #208).
10176
10177 2002-02-21  José Matos  <jamatos@fep.up.pt>
10178
10179         * tabular.C (docBook): fixed support for long tables.
10180
10181 2002-02-20  Juergen Vigna  <jug@sad.it>
10182
10183         * text2.C (getFont): get the drawing font of the Inset if this
10184         paragraph is inside an inset (only important for InsetERT for now).
10185
10186         * buffer.C (insertErtContents): use new lanugage params in ERT
10187         constructor.
10188
10189         * CutAndPaste.C: commenting out seemingly uneeded code.
10190
10191 2002-02-19  Allan Rae  <rae@lyx.org>
10192
10193         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10194         Iterators might be simple to use but they also get invalidated.
10195         (removeAutoInsets): renamed saved cursor tracking variables and added
10196         some comments to clarify what everything does.
10197
10198 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
10199
10200         * Chktex.C:
10201         * LaTeX.C:
10202         * LyXSendto.C:
10203         * converter.C:
10204         * lyx_cb.C:
10205         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10206         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10207
10208         * lyxfunc.C:
10209         * vc-backend.h: remove #include "support/syscall.h"
10210
10211         * LaTeX.C:
10212         * LyXSendto.C:
10213         * converter.C: rearrange #includes in Lars' approved fashion.
10214
10215         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10216         forward declare class Timeout in the header file.
10217
10218         * XFormsView.C: changes due to the above.
10219
10220         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10221         similar to LyXView.
10222
10223         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10224         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10225
10226 2002-02-18  José Matos  <jamatos@fep.up.pt>
10227
10228         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10229         insets contents.
10230
10231 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
10232
10233         * a lot of small ws changes
10234         * add a lot of using std::XXX
10235         * use std construcs some places where approp.
10236         * use some exisint stuff from lyxfunctional where approp.
10237         * Make file changes to use partial linking (lets test this now...)
10238
10239 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10240
10241         * Chktex.C:
10242         * buffer.C:
10243         remove #include "support/syscontr.h" as it's redundant. Always has been.
10244
10245         * Chktex.C:
10246         * LaTeX.C:
10247         * LyXSendto.C:
10248         * converter.C:
10249         * lyx_cb.C:
10250         * vc-backend.C:
10251         change Systemcalls::System to Systemcalls::Wait and
10252         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10253         No change of functionality, just reflects the stripped down Systemcalls
10254         class.
10255
10256 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10257
10258         * debug.[Ch]: add a GRAPHICS type to the enum.
10259
10260 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10261
10262         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10263
10264         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10265         there is an inset.
10266
10267 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10268
10269         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10270         match the changes below.
10271
10272         * text2.C (toggleInset): if there is not editable inset at cursor
10273         position, try to see if cursor is _inside_ a collapsable inset
10274         and close it.
10275
10276 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10277
10278         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10279         document menu has a nice checkbox
10280
10281 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10282
10283         * lyxlength.C (asLatexString): change PW to output as percent of
10284         \textwidth.
10285
10286         * lengthcommon.C: change '%' to 't%'
10287
10288         * lyxfunc.C (dispatch): a few comments from Martin
10289
10290 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
10291
10292         * WorkArea.h:
10293         * WorkArea.C:
10294         * BufferView_pimpl.h:
10295         * BufferView_pimpl.C: clear our selection when X tells us we've lost
10296           the X selection.
10297
10298 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10299
10300         * vspace.C (inPixels): fix compiler warning
10301
10302 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10303
10304         * lyxfunc.C (getStatus): fix status message for disabled commands.
10305
10306 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
10307
10308         * BufferView_pimpl.C: fix crash on close buffer
10309         during selection (#227)
10310
10311 2002-01-27  Herbert Voss  <voss@lyx.org>
10312
10313         * buffer.C: link old Figure to new graphic inset
10314
10315 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
10316
10317         * FontLoader.C (getFontinfo): Change the latex font names in order
10318         to match the names of type1inst.
10319
10320 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10321
10322         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10323
10324         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10325         (extchanged): ditto
10326         (ext_exist): ditto
10327         (remove_files_with_extension): ditto
10328         (remove_file): ditto
10329         (write): ditto
10330
10331         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10332         document is smaller than the work area height. Do not initialize
10333         static variables to 0.
10334
10335 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10336
10337         * lyx_gui.C (init): give the toolbar tooltips a normal font.
10338
10339         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10340         LFUN_LAYOUT_PARAGRAPHS.
10341
10342         * tabular.C (GetCellFromInset): new method. Finds an inset in a
10343         tabular. It is possible to provide a possible cell, which will
10344         typically be the actcell from the corresponding insettabular
10345
10346         * lyxfunc.C (getStatus): small cleanup; disable
10347         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10348         true
10349
10350 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10351
10352         * tabular.C (Validate): remove broken optimization (fixes bug #201)
10353
10354         * paragraph.C (startTeXParParams):
10355         (endTeXParParams): new methods. The LaTeX code to
10356         start/end paragraph formatting
10357         (simpleTeXOnePar): call startTeXParParams also when paragraph is
10358         empty (fixes bug #200)
10359
10360         * vspace.C (inPixels): adapt to the change below
10361         (inPixels): [later] more cleanups (remove unused variables)
10362
10363         * lyxlength.C (inPixels): change to use a width and a height as
10364         parameter.
10365
10366 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10367
10368         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10369         Replaced with \paperwidth
10370
10371         * DepTable.C (insert): add std:: qualifier
10372
10373 2002-01-18  Allan Rae  <rae@lyx.org>
10374
10375         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
10376         updated also?
10377
10378         * text.C (drawInset): Turned out I didn't know enough about how
10379         rebreaking worked.  This fixes most of the redraw problems.  I see
10380         an occasional cursor trail when a line is broken now and the cursor
10381         placement can seem out by a few pixels also after a rebreak.
10382
10383 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10384
10385         * buffer.C (parseSingleLyXformat2Token): update because minipage
10386         width is now a LyXLength
10387
10388         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10389
10390         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10391         math insets
10392
10393 2002-01-17  Juergen Vigna  <jug@sad.it>
10394
10395         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10396
10397         * BufferView2.C (lockInset): call edit() so that theLockingInset()
10398         is set correctly and the inset is updated correctly.
10399
10400 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10401
10402         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10403         the beginning of the loop.
10404
10405 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
10406
10407         * lyxrc.C: improve help for use_scalable_fonts
10408
10409 2002-01-17  Allan Rae  <rae@lyx.org>
10410
10411         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10412
10413 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10414
10415         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10416         make sure to set their inset_owner to the right value (bug #171)
10417
10418 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
10419
10420         * DepTable.h
10421         * DepTable.C: Implement mtime checking to reduce time spent doing
10422         CRCs.
10423
10424 2002-01-16  Juergen Vigna  <jug@sad.it>
10425
10426         * tabular.C (GetAdditionalHeight): one of error fixed.
10427
10428         * lyxrc.C (output): small fix in writing use_pspell.
10429
10430 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
10431
10432         * sp_base.h: #include LString.h
10433
10434 2002-01-16  Allan Rae  <rae@lyx.org>
10435
10436         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
10437         Can someone check this please?
10438
10439         * text.C (drawInset): It was possible that p.row would be removed by
10440         breakAgainOneRow upsetting a few other settings.  There may be another
10441         small tweak possible by setting need_break_row = 0 when p.row has been
10442         removed but I don't know enough about the logic here.
10443
10444 2002-01-15  Allan Rae  <rae@lyx.org>
10445
10446         * text.C (insertChar): removed conditional truism.
10447
10448         * BufferView2.C (removeAutoInsets): More tweaks.
10449         cur_par_prev could be a stray pointer.  Check for trailing empty line
10450         in case last line was cur_par and only had an error inset on it.
10451
10452 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10453
10454         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10455         absolute
10456
10457         * vc-backend.C (most methods):
10458         * exporter.C (Export):
10459         * converter.C (convert):
10460         (runLaTeX):
10461         * LyXSendto.C (SendtoApplyCB):
10462         * lyxfunc.C (dispatch):
10463         (menuNew):
10464         (open):
10465         (doImport):
10466         * lyx_cb.C (AutoSave):
10467         (InsertAsciiFile):
10468         * BufferView_pimpl.C (MenuInsertLyXFile):
10469         * buffer.C (runChktex): use Buffer::filePath().
10470
10471         * buffer.h: rename filename to filename_; rename filepath to
10472         filepath_ and make it private
10473         (filePath): new method
10474
10475         * buffer.C (writeFile): use fileName()
10476         (getLatexName):
10477
10478         * lyx_main.C (init): fix starting  of LyX when the binary is a
10479         link from so,ewhere else.
10480
10481         * minibuffer.C: include <cctype> for isprint
10482
10483 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10484
10485         * buffer.C (parseSingleLyXformat2Token): changes associated with the
10486         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10487         name clash with InsetCollapsable's width function.
10488
10489 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10490
10491         * lastfiles.C: include <iterator>
10492
10493 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10494
10495         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10496         std::count.
10497
10498         * buffer.C (makeLaTeXFile): ditto.
10499         Also make loop operation more transparent.
10500
10501 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10502
10503         * ToolbarDefaults.C: remove trailing comma closing namespace.
10504
10505         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10506
10507         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10508         as in WorkArea.
10509
10510         * trans.C (Load): comment out unused variable, allowed.
10511
10512 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10513
10514         * minibuffer.[Ch] (append_char): new method to recieve input from the
10515         drop-down completion browser. If a key was pressed, then recieve this
10516         char and append it to the existing string.
10517         (peek_event): modify the positioning data passed to the completion
10518         browser so that it can be placed above the minibuffer rather than below.
10519 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10520
10521         * LyXAction.C (init): alloe error-next for readonly documents.
10522
10523         * BufferView2.C (ChangeRefsIfUnique): use standard version of
10524         count.
10525
10526 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10527
10528         * bufferlist.C (readFile): create the buffer _after_ checking that
10529         the file exists.
10530
10531         * lyxfunc.C (verboseDispatch): fix handling of arguments
10532
10533         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10534
10535         * lyxrc.C: use string::erase() instead of initializing to "".
10536
10537
10538 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10539
10540         * BufferView_pimpl.h:
10541         * BufferView_pimpl.C:
10542         * WorkArea.h:
10543         * WorkArea.C:
10544         * text2.C: tell X when we have made a selection for copying
10545
10546 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10547
10548         * BufferView_pimpl.C (MenuInsertLyXFile):
10549         * lyxfunc.C (menuNew):
10550         (open):
10551         (doImport): add shortcuts to directory buttons
10552
10553         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10554         open a float)
10555
10556         * lyxfunc.C (setStatusMessage):
10557         (getStatusMessage): new methods
10558         (getStatus):use setStatusMessage instead of setErrorMessage
10559         (dispatch): when function is disabled, set error message here
10560         [instead of in getStatus previously]
10561
10562         * BufferView_pimpl.C (workAreaButtonRelease): update
10563         toolbar/menubar here too.
10564
10565 2002-01-13  Allan Rae  <rae@lyx.org>
10566
10567         * BufferView2.C (removeAutoInsets): finished off earlier fix.
10568         Now seems indestructible.  Remaining task is to audit all other
10569         code affected by deleteEmptyParagraphMechanism.  One small quirk
10570         left is that an empty document with an error in the preamble can
10571         be made to report an error but no error box appears.  I don't know
10572         where it goes.
10573         (removeAutoInsets): Improved comments.
10574
10575 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
10576
10577         * Thesaurus.h:
10578         * Thesaurus.C: update for Aiksaurus 0.14
10579
10580 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10581
10582         * text2.C (firstParagraph): removed member function, all uses
10583         replaces with ownerParagraph
10584         (redoParagraphs): here
10585         (updateInset): here
10586         (toggleAppendix): here
10587         * BufferView2.C (insertErrors): here
10588         (setCursorFromRow): here
10589
10590 2002-01-13  Allan Rae  <rae@lyx.org>
10591
10592         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10593         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10594         There is still a way to segfault this although you may have to do this
10595         multiple times: Have an InsetERT with an unknown command in it.
10596         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10597         <down-arrow>, <Enter> again, View->DVI, BANG!
10598
10599         * text2.C (setCursor):
10600         (deleteEmptyParagraphMechanism):
10601         * lyxtext.h (setCursor):
10602         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10603         Making use of the return value may help fix other bugs.
10604
10605 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10606
10607         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10608
10609         * LyXView.C (updateMenubar): call MenuBar::update here
10610         (updateToolbar): but not here
10611         (showState): do not update toolbar/menubar
10612
10613         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10614         should need to care about that.
10615
10616         * lyxfunc.C (verboseDispatch): simplify a bit
10617         (getStatus): have a version which takes a pseudoaction, and
10618         another which requires a (kb_action,string).
10619
10620         * LyXAction.C (retrieveActionArg): make it work also when action
10621         is not a pseudo-action.
10622         (getActionName): simplify a bit
10623         (helpText):
10624
10625 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10626
10627         * lyxfunc.C (verboseDispatch): new families of methods with
10628         several ways to specify a command and a bool to indicate whether
10629         the command name and shortcut should be displayed in minibuffer
10630         (eventually, we could extend that to a finer bitmask like
10631         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10632         (dispatch): the pristine dispatch command which just, well,
10633         dispatchs! Note it still sets its result to minibuffer; I'm not
10634         sure we want that.
10635
10636         * lyxfunc.h: remove setHintMessage
10637
10638         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10639
10640 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10641
10642         * BufferView_pimpl.C (specialChar): delete new inset if we have
10643         not been able to insert it.
10644
10645         * kbmap.C: revert to using int instead of kb_action, since all we
10646         are dealing with is pseudo-actions.
10647
10648         * LyXAction.C (searchActionArg): change to return int instead of
10649         kb_action, since the result is a pseudoaction.
10650
10651 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
10652
10653         * buffer.C (insertErtContents): Fix (partially) the font bug.
10654
10655 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10656
10657         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10658         as the other one is broken on my machine!
10659
10660 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
10661
10662         * commandtags.h:
10663         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10664
10665 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
10666
10667         * lyxrc.[Ch]: change names and descriptions of popup font variables to
10668         reflect their actual use. Provide compatibility code for older lyxrc
10669         files.
10670
10671         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10672         FL_NORMAL_STYLE.
10673         change names of popup font variables in line with the changes to lyxrc.C
10674
10675 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10676
10677         * buffer.C (asciiParagraph): avoid outputing a word twice after
10678         an inset.
10679
10680         * lyxrc.C (getDescription): document that document_path and
10681         template_path can be empty.
10682
10683 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10684
10685         * LaTeXFeatures.C (getMacros):
10686         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10687
10688         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10689
10690         * LaTeXFeatures.C (useFloat): require "float" here instead of in
10691         getPackages.
10692         (getPackages): rename feature "floats" to "float". Use an array to
10693         iterate over 'simple' features (i.e. just a \usepackage). Add
10694         handling of "amsmath" (renamed from "amsstyle").
10695
10696 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
10697
10698         * LaTeXFeatures.C (require): Prevent duplicate entries in the
10699         features list.
10700
10701 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
10702
10703         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10704         FuncStaus::FuncStatus & FuncStaus::some_method().
10705
10706 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
10707
10708         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10709         of the func_satus stuff. Edited and massaged in various ways by
10710         JMarc.
10711
10712         * lyxfunc.C (getStatus): use FuncStatus
10713
10714 2002-01-08  Juergen Vigna  <jug@sad.it>
10715
10716         * text.C (nextBreakPoint): use function Inset::isChar().
10717
10718         * paragraph.C (TeXOnePar): use function
10719         Inset::forceDefaultParagraphs.
10720
10721         * buffer.C (latexParagraphs): use function
10722         Inset::forceDefaultParagraphs.
10723
10724 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10725
10726         * lyx_gui.C (init): set the style of the menu popups to
10727         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10728
10729 2002-01-07  Juergen Vigna  <jug@sad.it>
10730
10731         * text.C (setHeightOfRow): small fix
10732         (prepareToPrint): don't look at alignment if we don't have the place
10733         for doing it.
10734
10735 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10736
10737         * box.C: New file. Move the Box methods and functions out of box.h,
10738         following Lars' suggestion.
10739
10740 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10741
10742         * box.h: #include "support/LOstream.h", needed for inlined function.
10743
10744         * lyxtextclass.C:
10745         * lyxtextclasslist.C: added some using std declarations.
10746
10747 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
10748
10749         * box.h: make signed dimensions to allow insets wider than
10750           the screen (bug #162)
10751
10752         * BufferView_pimpl.C: add some insetHit debug
10753
10754 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
10755
10756         * vc-backend.C: add FIXME
10757
10758 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10759
10760         * lyxfunc.C (getStatus): enable code for showing math font status
10761         in toolbar/menu.
10762
10763 2002-01-07  Juergen Vigna  <jug@sad.it>
10764
10765         * text.C (nextBreakPoint): removed debug output not needed anymore.
10766
10767 2002-01-06  Juergen Vigna  <jug@sad.it>
10768
10769         * text.C (nextBreakPoint): fixed up this function we had this bug
10770         since ever but now hopefully we break row better.
10771         (insertChar): we have to check if an inset is the next char as it
10772         could now happen that a large inset is causing a break.
10773
10774 2002-01-05  Juergen Vigna  <jug@sad.it>
10775
10776         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10777         if it doesn't like to be drawed.
10778
10779 2002-01-04  Juergen Vigna  <jug@sad.it>
10780
10781         * BufferView2.C (lockInset): forgot to set a cursor.
10782
10783         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10784
10785 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
10786
10787         * FormMathsPanel.C:
10788         * FormMathsPanel.h
10789         * MathsSymbols.C:
10790         * form_maths_panel.C:
10791         * form_maths_panel.h:
10792         * form_maths_panel.fd: implemented sub- and super- buttons in math
10793         panel.
10794
10795         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10796         (or ^ space) to be used as in TeX (req'd by André).
10797
10798         * lyxfunc.C: Allow ^ and _ again to be used both as
10799         super/subscript (mathed) and as themselves (in text).
10800
10801 2002-01-03  Allan Rae  <rae@lyx.org>
10802
10803         * LyXView.C (updateWindowTitle): Setup a short icon title of either
10804         "LyX" or the filename of the current buffer if it has one.  This is a
10805         modified form of John Levon's patch.
10806
10807         * XFormsView.C (setWindowTitle): also set icon title.
10808
10809         * LyXView.h (setWindowTitle): signature changed.
10810         * XFormsView.h (setWindowTitle): ditto.
10811
10812 2002-01-02  Juergen Vigna  <jug@sad.it>
10813
10814         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10815
10816 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10817
10818         * screen.C (topCursorVisible): introduce a temp var for
10819         text->cursor.row(), handle the case where this row is null. (kindo
10820         hachish)
10821
10822         * text2.C (setCursor): add a couple of asserts.
10823
10824         * paragraph.h (inset_iterator): add -> operator
10825
10826         * paragraph.[Ch] (autoDeleteInsets): remove member function
10827
10828         * BufferView2.C (removeAutoInsets): rewrite to handle the old
10829         cursor pos correctly and handle inset deletion by itself.
10830         (insertErrors): move iterator declaration out of for expression
10831
10832         * lyxtextclass.C: add <algorithm>
10833
10834         * Makefile.am: added the new files to sources, removed layout.C
10835
10836         * layout.C: removed file
10837
10838         * layout.h: remove LYX_DUMMY_LAYOUT
10839
10840         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10841         layout.
10842
10843         * lyxlayout.[Ch]:
10844         * lyxtextclass.[Ch]:
10845         * lyxtextclasslist.[Ch]: new files
10846
10847         * include order changes to a lot of files, also changes because of
10848         the six new files.
10849
10850 2001-12-27  Juergen Vigna  <jug@sad.it>
10851
10852         * buffer.C (asciiParagraph): more fixes.
10853
10854         * tabular.C (ascii): make ascii export support export of only the
10855         data separated by a column-delimiter.
10856         (ascii): better support for ascii export.
10857
10858         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10859
10860 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10861
10862         * tabular_funcs.C: use a "using std::getline" instead of the
10863         previous fix from Angus (necessary for cxx + lyxstring)
10864
10865 2001-12-24  Juergen Vigna  <jug@sad.it>
10866
10867         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10868
10869         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10870         problems. First check a minipage also if we have some ert-contents
10871         (not only on par->size(), second set the right depth of the paragraph
10872         on the relink to the root-paragraph-list!
10873
10874         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10875         which then did not anymore update the main paragraphs on undo/redo!
10876
10877 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10878
10879         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10880         code. Support all font-changing funcs (even those which are not in
10881         menu currently). Support for reporting font settings in
10882         mathed (disabled until Andre provides a function on mathed's side).
10883
10884         * func_status.h (toggle): small helper function to set toggle
10885         state on a flag.
10886
10887 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10888
10889         * tabular_funcs.C: getline -> std::getline
10890
10891 2001-12-21  Juergen Vigna  <jug@sad.it>
10892
10893         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10894         accessed and could be 0 (I couldn't generate this but it seems
10895         Michael could!).
10896
10897 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10898
10899         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10900         * tabular_funcs.h: here and include iosfwd
10901
10902 2001-12-20  Juergen Vigna  <jug@sad.it>
10903
10904         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10905         inside inset but undo_par was.
10906
10907 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10908
10909         * Thesaurus.C: always include <config.h> in sources.
10910
10911         * Painter.h:
10912         * lyxlookup.h:
10913         * box.h: do not include <config.h> in header files
10914
10915         * text.C (paintLastRow): remove unused variable
10916
10917         * text.C (transformChar):
10918         (insertChar):
10919         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10920
10921         * Painter.C (text):
10922         * font.C (width): rewrite to use uppercase() instead of
10923         islower/toupper.
10924
10925         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10926
10927 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10928
10929         * lyxfind.C: clean up of find failure position change
10930
10931 2001-12-20  Juergen Vigna  <jug@sad.it>
10932
10933         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10934
10935         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10936         (TeXRow): added to LaTeX a single tabular row.
10937         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10938         (Latex): simplified and finally good LT-h/f support.
10939         (various_functions): just small adaptions for LT-h/f support.
10940
10941         * tabular_funcs.[hC]: added and moved here all not classfunctions
10942         of LyXTabular.
10943
10944 2001-12-19  Juergen Vigna  <jug@sad.it>
10945
10946         * tabular.[Ch]: better support for longtabular options (not finished
10947         yet!)
10948
10949 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10950
10951         * text.C (paintLastRow): use the label font instead of the font of
10952         the last character to compute the size of *_BOX. This makes more
10953         sense and avoids a crash with empty paragraphs.
10954         Use Painter::rectangle to draw EMPTY_BOX.
10955
10956 2001-12-19  Juergen Vigna  <jug@sad.it>
10957
10958         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10959         the paragraphs if the replaced paragraph is not the first one!
10960         Tried to delete not used paragraphs but does not work yet so for
10961         now it's inside #ifdef's and by default off!
10962
10963 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10964
10965         * MenuBackend.C: include "lyx_main.h" instead of declaring
10966         lastfiles (actually was declared as LastFiles* instead of a
10967         scoped_ptr).
10968
10969 2001-12-17  Juergen Vigna  <jug@sad.it>
10970
10971         * tabular.C (AppendColumn): applied John's fix
10972
10973 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10974
10975         * BufferView.h:
10976         * BufferView.C:
10977         * BufferView_pimpl.h:
10978         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10979
10980         * Makefile.am:
10981         * box.h: new start of class for above
10982
10983         * lyxfunc.C: ignore space-only minibuffer dispatches.
10984           Show the command name when it doesn't exist
10985
10986         * minibuffer.C: don't add empty lines to the history
10987
10988         * minibuffer.C: add a space on dropdown completion
10989
10990 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10991
10992         * text.C: fix line above/below drawing in insets
10993
10994 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10995
10996         * lyxlength.C (LyXLength): Initialize private variables.
10997
10998 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10999
11000         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11001         when inserting error insets.
11002
11003 2001-12-13  Juergen Vigna  <jug@sad.it>
11004
11005         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11006         actually sometimes the before-paragraph.
11007         (setUndo): don't clear the redostack if we're not actually undoing!
11008
11009 2001-12-06  Juergen Vigna  <jug@sad.it>
11010
11011         * undo_funcs.C (textHandleUndo): well after John's hint I got here
11012         and fixed redoing of main paragraph, so we can use it now ;)
11013
11014         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11015
11016 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11017
11018         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11019         Juergen's request
11020
11021 2001-12-13  André Pönitz <poenitz@gmx.net>
11022
11023         * undostack.[Ch]:
11024         * undo_func.C: minor cleanup
11025
11026 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11027
11028         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11029         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11030         font in urw-fonts package which is marked as -urw-fontspecific and
11031         does not work (incidentally, changing the encoding in the
11032         fonts.dir of this package to -adobe-fontspecific fixes the
11033         problem).
11034
11035         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11036         is a crash when undoing first paragraph (Juergen, please take a
11037         look). THis does not mean the undo fix is wrong, just that it
11038         uncovers problems.
11039
11040         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11041         the (Paragraph*) version when needed instead of duplicating the
11042         code.
11043
11044         * text.C (workWidth): use Inset::parOwner to find out where the
11045         inset has been inserted. This is a huge performance gain for large
11046         documents with lots of insets. If Inset::parOwner is not set, fall
11047         back on the brute force method
11048
11049         * paragraph_pimpl.C (insertInset):
11050         * paragraph.C (Paragraph):
11051         (cutIntoMinibuffer): set parOwner of insets when
11052         inserting/removing them
11053
11054         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11055
11056 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
11057
11058         * commandtags.h:
11059         * LyXAction.C:
11060         * lyx_main.C:
11061         * lyxfunc.C:
11062         * mathed/formulabase.C:
11063         * mathed/math_cursor.[Ch]:
11064         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11065
11066
11067 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11068
11069         * lyxlength.[Ch] (operator!=): new function
11070
11071 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11072
11073         * text.C (workWidth): use Inset::parOwner to find out where the
11074         inset has been inserted. This is a huge performance gain for large
11075         documents with lots of insets. If Inset::parOwner is not set, fall
11076         back on the brute force method
11077
11078         * paragraph_pimpl.C (insertInset):
11079         * paragraph.C (Paragraph):
11080         (cutIntoMinibuffer): set parOwner of insets when
11081         inserting/removing them
11082
11083         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11084
11085 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11086
11087         * tabular-old.C (getTokenValue):
11088         * tabular.C (getTokenValue):
11089         (write_attribute): new versions for LyXLength
11090         (everywhere): adjust the use of widths
11091
11092         * tabular.h: change the type of widths from string to LyXLength
11093
11094 2001-12-11  Ben Stanley <bds02@uow.edu.au>
11095
11096         * paragraph.C: fixed missing line number count when exporting
11097         Environments to LaTeX file
11098
11099         * buffer.C: added informational message for checking line numbers.
11100
11101 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11102
11103         * text2.C (deleteEmptyParagraphMechanism): if there is only one
11104         paragraph, do the 'double space' part, but not the 'empty
11105         paragraph' one.
11106
11107         * text.C (workWidth): small optimization
11108         (getLengthMarkerHeight): use minimal size for negative lengths.
11109
11110 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
11111
11112         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11113
11114         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11115
11116 2001-12-11  André Pönitz <poenitz@gmx.net>
11117
11118         * FontLoader.C:
11119         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11120
11121 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11122
11123         * text2.C: keep selection on a setFont()
11124
11125 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11126
11127         * lyx_cb.C: another bv->text misuse, from insert label
11128
11129 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11130
11131         * kbsequence.h:
11132         * kbsequence.C: re-instate nmodifier mask
11133
11134 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
11135
11136         * lyx_main.h: make lyxGUI private.
11137
11138 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11139
11140         * lyxfind.C: place the cursor correctly on failed search
11141
11142 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11143
11144         * text.C (getLengthMarkerHeight): for small heights, the arrows
11145         are not always on top/bottom of the text
11146         (drawLengthMarker): smaller arrows; take the left margin in
11147         account; draw also vfills.
11148         (paintFirstRow):
11149         (paintLastRow): remove special code for vfill and standard spaces,
11150         since everything is handled in drawLengthMarker now.
11151
11152 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11153
11154         * buffer.C (insertErtContents): try to handle font and language
11155         interaction a bit better.g
11156
11157         * ColorHandler.C (updateColor): change the hash to cover the whole
11158         LColor enum, ws cleanup
11159         (getGCLinepars): ditto
11160         (getGCLinepars): only lookup in the linecache once.
11161
11162 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
11163
11164         * iterators.C (operator++): Make the iterator more robust
11165
11166         * BufferView2.C (removeAutoInsets): Use paragraph iterators
11167         (John's patch)
11168         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11169
11170 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11171
11172         * lyxtext.h:
11173         * text.C: better added space drawing
11174
11175 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11176
11177         * LyXView.C:
11178         * BufferView2.C: fix layout combo update on inset unlock
11179
11180 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11181
11182         * Makefile.am: don't compile unused files
11183
11184 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11185
11186         * lyxfunc.C:
11187         * commandtags.h:
11188         * LyXAction.C: remove old LFUN_LAYOUTNO
11189
11190 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11191
11192         * paragraph_pimpl.h:
11193         * paragraph_pimpl.C: isTextAt() doesn't need font param
11194
11195 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11196
11197         * lyxlex.h:
11198         * lyxlex.C: little cleanup
11199
11200 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11201
11202         * BufferView_pimpl.C: fix insertAscii for insets
11203
11204 2001-12-05  Juergen Vigna  <jug@sad.it>
11205
11206         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11207         set the right font on the "multi" paragraph paste!
11208
11209 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11210
11211         * trans_decl.h:
11212         * trans_mgr.[Ch]:
11213         * trans.[Ch]:
11214         * lyxgluelength.C:
11215         * lyxlength.C: remove out-commented code.
11216
11217         * BufferView_pimpl:
11218         * CutAndPaste.C:
11219         * DepTable.C:
11220         * buffer.C:
11221         * chset.C:
11222         * lastfiles.C:
11223         * lyxlex.C:
11224         * lyxlex_pimpl.C:
11225         * lyxserver.C:
11226         * screen.C:
11227         * tabular-old.C:
11228         * tabular.C:
11229         * text.C:
11230         * trans_mgr.C:
11231         * vc-backend.C: change "while(" to "while ("
11232
11233         * lyxlength.[Ch]: add zero function to check if length is zero or
11234         not
11235         * lyxgluelength.C: use it
11236
11237 2001-12-05  Allan Rae  <rae@lyx.org>
11238
11239         * lyxlength.C: Attempted a fix for the abs(int) header selection.
11240         Works for 2.95.3, from what I understand of Garst's reports this should
11241         work for other g++ versions.  We're screwed if the abs(int) definition
11242         changed between bugfix releases of gcc.
11243
11244 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11245
11246         * text.C: fix chapter label offset !
11247
11248 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11249
11250         * lyxtext.h:
11251         * text.C: fix hfill at end of line, clean up
11252
11253 2001-12-04  Juergen Vigna  <jug@sad.it>
11254
11255         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11256         that we force an update of the inset and it's owners if neccessary.
11257
11258 2001-12-03  Juergen Vigna  <jug@sad.it>
11259
11260         * text.C (rowLast): simplified code
11261
11262 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11263
11264         * lyxfunc.C: fix show options on timeout
11265
11266 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11267
11268         * screen.C (topCursorVisible): scroll half a page when the cursor
11269         reached top of bottom of screen
11270
11271 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
11272
11273         * minibuffer.C: deactivate on loss of focus
11274
11275 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11276
11277         * vspace.[Ch] (operator!=): add operator.
11278
11279 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
11280
11281         * BufferView_pimpl.C: refuse to open an inset when
11282         there's a selection.
11283
11284 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
11285
11286         * BufferView_pimpl.C: allow to click on RHS of full row insets
11287
11288 2001-11-30  Juergen Vigna  <jug@sad.it>
11289
11290         * tabular.C (LyXTabular): add a same_id to set the same id's in the
11291         insets for undo reasons.
11292
11293 2001-11-28  André Pönitz <poenitz@gmx.net>
11294
11295         * vspace.[Ch]: cosmetical changes
11296
11297 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11298
11299         * LyXAction.h:
11300         * LyXAction.C:
11301         * lyxfunc.h:
11302         * lyxfunc.C:
11303         * kbmap.h:
11304         * kbmap.C:
11305         * lyxrc.C:
11306         * kbsequence.h:
11307         * kbsequence.C: part re-write of old kb code
11308
11309         * Painter.C:
11310         * WorkArea.C: remove Lgb_bug_find_hack
11311
11312 2001-11-30  José Matos <jamatos@fep.up.pt>
11313
11314         * buffer.C (makeDocBookFile): add a comment to point a hack.
11315         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11316         Fixed a double write of labels.
11317
11318 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11319
11320         * LaTeX.C:
11321         * LaTeX.h Fixed bug in LaTeX class where it would not
11322         re-run latex if no depfiles were changed, but the .dvi was removed.
11323
11324 2001-11-28  André Pönitz <poenitz@gmx.net>
11325
11326         * all the files from the change on 2001/11/26:
11327         use lyx::layout_type instead of LyXTextClass::size_type
11328         use lyx::textclass_type instead of LyXTextClassList::size_type
11329
11330 2001-11-29  Juergen Vigna  <jug@sad.it>
11331
11332         * text.C: added support for paragraph::isFreeSpacing()
11333
11334         * buffer.C: same as above
11335
11336         * paragraph.h: inserted isFreeSpacing() function to enable
11337         FreeSpacing inside InsetERT.
11338
11339         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11340         of the paragraph's in the cut/copy buffer to 0!
11341
11342         * text2.C (removeRow): remove the assert as it can!
11343
11344         * lyxtext.h: added helper function firstRow returning firstrow and
11345         made firstrow private again.
11346
11347         * BufferView2.C (lockInset): don't relock if we're already locked!
11348
11349         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11350         the only paragraph.
11351         (removeRow): added Assert::(firstrow)
11352
11353         * debug.C: forgot to add INSETTEXT here.
11354
11355 2001-11-28  Juergen Vigna  <jug@sad.it>
11356
11357         * sp_spell.C (initialize): changed error text to more general
11358         spellchecker command use (not only ispell!)
11359
11360         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11361
11362         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11363
11364 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11365
11366         * vspace.C: initialise lyxgluelength on failure
11367
11368 2001-11-28  Allan Rae  <rae@lyx.org>
11369
11370         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11371         declaration & definition that looks like a function declaration.
11372
11373 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11374
11375         * BufferView2.C (copy):
11376         (copyEnvironment): do not clear the selection when doing a copy.
11377
11378         * text.C (paintFirstRow): compilation fix
11379
11380 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
11381
11382         * tabular.C (Latex): correct line count when writing latex.
11383
11384 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
11385
11386         * paragraph_pimpl.h:
11387         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11388           bug a bit
11389
11390 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11391
11392         * text.C:
11393         * LColor.h:
11394         * LColor.C: change vfillline->added_space
11395
11396         * text.C: add markers and text for added space
11397
11398         * vspace.C: fix comment
11399
11400 2001-11-28  André Pönitz <poenitz@gmx.net>
11401
11402         * paragraph.C: whitespace changes
11403         * all the other files from the change on 2001/11/26:
11404         change *::pos_type into lyx::pos_type
11405
11406 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
11407
11408         * buffer.C (parseSingleLyXformat2Token): Set the language to the
11409         language of the document when inserting error insets.
11410
11411 2001-11-26  André Pönitz <poenitz@gmx.net>
11412
11413         * BufferView_pimpl.[Ch]:
11414         *       CutAndPaste.C:
11415         * buffer.[Ch]:
11416         * lyxcursor.[Ch]:
11417         * lyxfind.C:
11418         * lyxfunc.C:
11419         * lyxrow.[Ch]:
11420         * paragraph.[Ch]:
11421         * paragraph_pimpl.[Ch]:
11422         * sp_spell.C:
11423         * text.C:
11424         * text2.C: reduce header dependencies, introduce type for positions
11425
11426 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11427
11428         * <various>: change to use Alert.h
11429
11430 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
11431
11432         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11433         when encountering an unknown token.
11434         (readLyXformat2): Show an error message if there were unknown tokens.
11435
11436 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
11437
11438         * BufferView2.C:
11439         * BufferView_pimpl.C:
11440         * buffer.C:
11441         * paragraph.h:
11442         * text.C:
11443         * text2.C: use par->isInset()
11444
11445 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11446
11447         * paragraph_pimpl.h:
11448         * paragraph_pimpl.C: cleanup
11449
11450 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11451
11452         * text2.C (removeRow):
11453         * text.C (setHeightOfRow): remove useless (and costly) call to
11454         getRow.
11455
11456 2001-11-20  Allan Rae  <rae@lyx.org>
11457
11458         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11459         Now need Inset*::checkInsertChar() to return true for appropriate
11460         cases so that the characters in the minibuffer will actually be
11461         inserted.
11462
11463 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11464
11465         * text.C: change the order of the includes.
11466         (workWidth): initialize it at once.
11467         (workWidth): make maxw unsigned
11468         (setHeightOfRow): remove unused variable (inset)
11469         (selectSelectedWord): remove unused variable (inset)
11470         (paintRowText): fix drawing of hfill characters, and clean up a bit.
11471
11472 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11473
11474         * lyxserver.C (emergencyCleanup): do not try to close pipes if
11475         server is not running.
11476         (openConnection):
11477         (closeConnection): add debug info when server is disabled.
11478
11479         * ColorHandler.C (getGCForeground): send debug message to GUI
11480         channel.
11481
11482         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11483
11484         * kbmap.C (bind): modify because return conventions of
11485         kb_sequence::parse have changed.
11486
11487         * kbsequence.C (parse): only ignore spaces and not any stupid
11488         control character. This avoids tests like s[i] <= ' ', which are
11489         guaranteed to fail with 8bit characters and signed chars.
11490         Change return code to string::npos when there have been no error
11491         (0 was a bad idea when error is at first character)
11492
11493 2001-11-14  José Matos  <jamatos@fep.up.pt>
11494
11495         * buffer.h:
11496         * buffer.C (simpleDocBookOnePar): removed unused argument.
11497
11498 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11499
11500         * text.C (selectNextWordToSpellcheck): do not test explicitely for
11501         insets which are part of a word. Paragraph::isLetter takes care of
11502         that now. Use Paragraph::isInset to identify insets.
11503         (selectSelectedWord): do not test for hyphenation break.
11504
11505         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11506         that protected spaces are considered as spaces.
11507
11508         * paragraph.C (isLetter): cleanup the code for ispell extras; use
11509         Inset::isLetter.
11510
11511 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
11512
11513         * lyxserver.h:
11514         * lyxserver.C: fix it. and small cleanup.
11515
11516 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11517
11518         * BufferView_pimpl.C: use inline helpers
11519
11520         * LaTeXFeatures.h:
11521         * LaTeXFeatures.C: fix typos
11522
11523         * Spacing.h:
11524         * Spacing.C: move spacing_string into class
11525
11526         * ToolbarDefaults.C: move stuff into namespace anon
11527
11528         * layout.h: update enum
11529
11530         * lyxfunc.C: use better debug
11531
11532         * minibuffer.h: fix typo
11533
11534         * debug.h:
11535         * debug.C:
11536         * WorkArea.C: add and use Debug::WORKAREA
11537
11538         * lyxtext.h:
11539         * text.C:
11540         * text2.C: code re-organisation, inline helpers
11541
11542 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
11543
11544         * Layout.C: replaced a few cases of std::vector.size() == 0 with
11545         std::vector.empty().
11546
11547 2001-11-09  Allan Rae  <rae@lyx.org>
11548
11549         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11550         '\n's after tables.  Tabular and ERT inset work now makes this no
11551         longer necessary.
11552
11553 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11554
11555         * minibuffer.h:
11556         * minibuffer.C: fix crash, improve drop-down completion
11557
11558 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
11559
11560         * lyxserver.h:
11561         * lyxserver.C: invalidate fd's when doing endPipe()
11562
11563 2001-11-08  José Matos  <jamatos@fep.up.pt>
11564
11565         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11566         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11567
11568         * paragraph.h:
11569         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11570
11571 2001-11-07  José Matos  <jamatos@fep.up.pt>
11572
11573         * buffer.h:
11574         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11575         const qualifier.
11576
11577         * buffer.C (sgmlOpenTag):
11578         * buffer.C (sgmlCloseTag): removed debug info.
11579
11580         * buffer.h (sgmlOpenTag):
11581         * buffer.h (sgmlCloseTag): made public.
11582
11583 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11584
11585         * buffer.C (saveParamsAsDefaults):
11586         * lyx_cb.C (MenuLayoutSave): remove
11587
11588         * LyXAction.C (init):
11589         * commandtags.h:
11590         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11591
11592 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11593
11594         * buffer.C (setPaperStuff): removed from here...
11595
11596         * bufferparams.C (setPaperStuff): ... and moved there.
11597
11598 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
11599
11600         * minibuffer.h:
11601         * minibuffer.C:
11602         * XFormsView.C: add support for drop-down completion
11603
11604 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
11605
11606         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11607         commands.
11608
11609 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11610
11611         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11612         disabled.
11613
11614 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
11615
11616         * lyx_main.C: change ref to known bugs
11617
11618 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
11619
11620         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11621         to work around older babel problems.
11622
11623 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11624
11625         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11626
11627 2001-10-24  Juergen Vigna  <jug@sad.it>
11628
11629         * tabular-old.C (ReadOld): below variable changes reflected.
11630
11631         * tabular.[Ch]: added ltType struct for longtable header/footer
11632         defines and changed all instances where they are used. Added
11633         future support for double top/bottom rows.
11634
11635 2001-10-24  José Matos  <jamatos@fep.up.pt>
11636
11637         * buffer.h (docbookHandleCaption):
11638         * buffer.C (docbookHandleCaption): removed unused function.
11639         (makeDocBookFile): moved docbook supported version to v4.1.
11640
11641 2001-10-24  José Matos  <jamatos@fep.up.pt>
11642
11643         * tabular.h:
11644         * tabular.C (docbookRow): new function to export docbook code of a row.
11645         (DocBook): now honors the longtable flags.
11646
11647 2001-10-23  José Matos  <jamatos@fep.up.pt>
11648
11649         * LaTeXFeatures.h:
11650         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11651         of the lyx defined sgml entities used in a docbook/linuxdoc document.
11652
11653         * buffer.C (makeLinuxDocFile):
11654         (makeDocBookFile): reworked the preamble, more clean, and with
11655         support for lyx defined entities. Changed the document declaration
11656         to be more XML friendly.
11657
11658         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11659         if we need to output XML that should be done with a filter.
11660
11661 2001-10-22  Juergen Vigna  <jug@sad.it>
11662
11663         * sp_pspell.h (class PSpell): add alive function needed in the
11664         controller to see if the spellchecker could be started.
11665
11666 2001-10-22  Juergen Vigna  <jug@sad.it>
11667
11668         * buffer.C (insertStringAsLines): modify the font for inserting
11669         chars in certain conditions by calling checkInsertChar(font).
11670
11671 2001-10-19  Juergen Vigna  <jug@sad.it>
11672
11673         * text.C (workWidth): use getRow instead of wrong algorithm.
11674         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11675
11676 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
11677
11678         * lyxserver.h:
11679         * lyxserver.C:
11680         * lyx_main.h:
11681         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11682
11683 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11684
11685         * text.C (workWidth): do not search for the exact row when
11686         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11687         optimization for big documents.
11688
11689 2001-10-18  Juergen Vigna  <jug@sad.it>
11690
11691         * text.C (workWidth): new function with added Inset * parameter.
11692
11693 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11694
11695         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11696
11697         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11698         change return type of getColumnNearX.
11699
11700
11701         * text.C (changeRegionCase): use uppercase/lowercase instead of
11702         toupper/tolower.
11703         (leftMargin):
11704         (rightMargin): simplify code by factoring out the uses of
11705         textclasslist.
11706         (labelFill):
11707         (numberOfHfills):
11708         (setHeightOfRow):
11709         (appendParagraph): use Paragraph::size_type
11710
11711 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11712
11713         * vspace.C (asLatexString): add a missing break
11714
11715 2001-10-15  Herbert Voss  <voss@perce.de>
11716
11717         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11718
11719 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11720
11721         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11722         is not available.
11723
11724 2001-10-10  André Pönitz <poenitz@gmx.net>
11725
11726         * lyxfunc.C: removed greek_kb_flag.
11727
11728 2001-10-10  Herbert Voss  <voss@perce.de>
11729
11730         * lyx_main.C: delete global string help_lyxdir.
11731
11732 2001-10-09  Herbert Voss  <voss@perce.de>
11733
11734         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11735
11736         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11737
11738         * lyx_main.C: added global string help_lyxdir.
11739
11740         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11741
11742 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11743
11744         * lyxrc.C (set_font_norm_type): support iso8859-4
11745
11746 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
11747
11748         * LaTeX.C (deplog): add another regex for MikTeX
11749
11750 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11751
11752         * lyxrc.C (set_font_norm_type): support iso8859-3
11753
11754 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11755
11756         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11757
11758         * LaTeXFeatures.C: remove special case of french and index
11759
11760         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11761         before \begin{document}). This solves several incompatibilities.
11762
11763 2001-10-03  Garst Reese  <reese@isn.net>
11764
11765         * lyx_cb.C: change CheckTex error msg.
11766
11767 2001-10-03  José Matos  <jamatos@fep.up.pt>
11768
11769         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11770
11771 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11772
11773         * .cvsignore: update
11774
11775         * lyx_main.C (commandLineVersionInfo): use new style version info.
11776
11777         * buffer.C (writeFile):
11778         (makeLaTeXFile):
11779         (makeLinuxDocFile):
11780         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11781
11782         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11783
11784         * version.h: update to use stuff in version.C
11785
11786         * version.C.in: new file. Contains version information determined
11787         at compile time. This is a merging of version.h and
11788         version_info.h.in.
11789
11790 2001-10-03  Juergen Vigna  <jug@sad.it>
11791
11792         * BufferView_pimpl.C (update): don't change "dirty" status in
11793         updateInset call.
11794
11795 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
11796
11797         * WorkArea.C (c-tor): re-position version string slightly.
11798
11799 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
11800
11801         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11802         revert to previous code.
11803
11804         WorkArea.[Ch]: (show, destroySplash): methods removed.
11805
11806         WorkArea.C: rework code so that it's an amalgam of the codes before and
11807         after the splash screen was moved to WorkArea.
11808
11809 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11810
11811         * lyxrc.C (read):
11812         * vspace.C (inPixels):
11813         (lyx_advance):
11814         * kbmap.C (bind):
11815         * buffer.C (insertStringAsLines):
11816         (asciiParagraph): fix types to be large enough
11817
11818         * lyxlex_pimpl.h: change member status from short to int
11819
11820         * layout.h: fix type of endlabeltype
11821
11822         * kbmap.C (bind):
11823         * kbsequence.C (parse): change return type to string::size_type
11824
11825         * LaTeX.C (updateBibtexDependencies): comment out unneeded
11826         variable
11827
11828         * Bullet.C (bulletSize):
11829         (bulletEntry): do not use short ints as parameters
11830
11831         * BufferView2.C (insertLyXFile): change a char to an int.
11832
11833         * WorkArea.C (WorkArea): remove unneeded floats in computation
11834
11835 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11836
11837         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11838
11839         * paragraph.C (asString): Do not ignore newline/hfill chars when
11840         copying to the clipboard.
11841
11842 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
11843
11844         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11845         after a multi-line inset.
11846
11847 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
11848
11849         * paragraph.C (validate): Set NeedLyXFootnoteCode
11850
11851 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11852
11853         * lyxfont.C (LyXSizeNames): changed increase-error to increase
11854         and decrease-error to decrease.
11855
11856 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11857
11858         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11859         it more readable (should be equivalent)
11860
11861 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11862
11863         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11864
11865 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11866
11867         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11868         of a cursor (row, etc.) after a character has been deleted
11869         (deleteEmptyParagraphMechanism): call the method above on _all_
11870         cursors held by the LyXText when a double space has been
11871         detected/deleted.
11872
11873 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11874
11875         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11876         pixmap.
11877         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11878
11879         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11880         background. Use greyOut() and the new show() methods to toggle between
11881         the foreground and background. Add code to remove the splash after
11882         its initial showing.
11883
11884         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11885         (create_forms): no longer call Dialogs::showSplash.
11886
11887 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11888
11889         * .cvsignore: add version_info.h
11890
11891 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11892
11893         * version_info.h.in: new file
11894
11895         * Makefile.am: add version_info.h.in
11896
11897         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11898         version_info.h instead of VERSION_INFO
11899
11900 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11901
11902         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11903         The ERT inset now returns string().
11904
11905 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11906
11907         * lyxtext.h, text.C (selectNextWord): renamed as
11908         selectNextWordToSpellcheck.
11909
11910         * text.C (selectNextWordToSpellcheck): Modified to not select
11911         words inside an ERT inset.
11912
11913 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11914
11915         * lyx_cb.C (MenuLayoutSave): change a bit the question
11916
11917         * sp_base.h: include <sys/types.h>
11918
11919 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11920
11921         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11922
11923 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11924
11925         * several files: fix typos in user-visible strings
11926
11927 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11928
11929         * text2.C (pasteSelection): do not set the selection, since it
11930         will be cleared later. Actually, the intent was to fix the way the
11931         selection was set, but I figured rmoving the code was just as good.
11932
11933 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11934
11935         * FontLoader.C (available): Check if font is available without
11936         loading the font.
11937
11938 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11939
11940         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11941
11942 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11943
11944         * lyxrc.[Ch]: added display_graphics variable and associated code.
11945
11946 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11947
11948         * bufferparams.C (hasClassDefaults): new method. Returns true if
11949         the buffer parameters correspond to known class defaults
11950
11951 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11952
11953         * XFormsView.C (show): set minimum size to the main window.
11954
11955 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11956
11957         * text2.C (copySelection):
11958         (cutSelection):
11959         * lyxfind.C (LyXReplace):
11960         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11961         LyXText::selectionAsString.
11962
11963         * paragraph.C (asString): add "label" argument to the second form
11964
11965         * text2.C (selectionAsString): add "label" argument and pass it to
11966         Paragraph::asString.
11967
11968 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11969
11970         * lyx_main.C (commandLineHelp): remove version information
11971
11972 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11973
11974         * lyx_main.C: add -version commandline option
11975
11976 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11977
11978         * paragraph.h: make the optional constructor arg required instead.
11979         some modifications to other files because of this.
11980
11981         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11982
11983         * lyxserver.C (C_LyXComm_callback): make it static
11984
11985         * lyx_main.C (error_handler): make it static
11986
11987         * lyx_gui.C (LyX_XErrHandler): make it static
11988
11989         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11990
11991         * WorkArea.C: make the extern "C" methods static.
11992
11993         * Makefile.am (lyx_LDADD): simplify
11994
11995 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11996
11997         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11998         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11999
12000         * LyXAction.C (init):
12001         * lyxfunc.C (dispatch): associated code removal.
12002
12003 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12004
12005         * lyxfont.h (isSymbolFont): shut off warning
12006
12007         * text.C (setHeightOfRow):
12008         (getVisibleRow): fix crash with empty paragraphs which have a
12009         bottom line
12010
12011 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
12012
12013         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12014         code.
12015
12016 2001-09-04  José Matos  <jamatos@fep.up.pt>
12017         * buffer.C
12018         * buffer.h
12019         * tabular.C (docbook): rename docBook method to docbook.
12020
12021 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12022
12023         * Makefile.am: add dependencies to main.o.
12024
12025 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
12026
12027         * FontLoader.C (available): Return false if !lyxrc.use_gui
12028
12029 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
12030
12031         * FontInfo.C (query):
12032         * converter.C (view):
12033         * importer.C (Import):
12034         * exporter.C (Export): Can not -> cannot.
12035
12036 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
12037
12038         * BufferView_pimpl.C: allow to create index inset even if
12039           string is empty
12040
12041 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12042
12043         * buffer.C (getLists): replace boost::tie code with an explicit pair
12044         as boost::tie can break some compilers.
12045
12046         * iterators.h: Added a std:: declaration to the return type of
12047         ParIterator::size.
12048
12049 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
12050
12051         * lyxrc.C: add help for view_dvi_paper_option, default to safe
12052           case.
12053
12054 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
12055
12056         * iterators.[Ch]: New files. Provide paragraph iterators.
12057
12058         * buffer.C (changeLanguage): Use paragraph iterators.
12059         (isMultiLingual): ditto
12060
12061         * BufferView2.C (ChangeInsets): Use paragraph iterators.
12062
12063 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
12064
12065         * FontLoader.C: Support for cmr font.
12066
12067 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
12068
12069         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12070         (available): New method.
12071
12072         * FontInfo.C (getFontname): Use scalable fonts even when
12073         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12074         found.
12075
12076 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12077
12078         * converter.C (Formats::view): reverted! Incorrect fix.
12079
12080 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12081
12082         * converter.C (Formats::view): only output the -paper option
12083         if the dvi viewer is xdvi, thereby fixing bug #233429.
12084
12085 2001-08-23  Herbert Voss  <voss@perce>
12086
12087         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12088
12089 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
12090
12091         * Spacing.h (Spacing): Set space to Default on in the default
12092         constructor.
12093
12094 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12095
12096         * vc-backend.h (RCS::versionString): add RCS to version
12097         (CVS::versionString): add CVS to version
12098
12099         * vc-backend.C (scanMaster): do not add CVS to version.
12100         (scanMaster): do not add RCS to version
12101
12102         * lyxvc.C (versionString): new method
12103
12104         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12105
12106 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12107
12108         * Spacing.C (set): initialize fval
12109
12110 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
12111
12112         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12113         " or \.
12114
12115 2001-08-16  Juergen Vigna  <jug@sad.it>
12116
12117         * lyxfunc.C (dispatch): implemented the new FINISHED states.
12118
12119 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12120
12121         * BufferView_pimpl.C:
12122         * figureForm.C:
12123         * lyxtext.h:
12124         * text2.C: setParagraph takes linespacing now
12125
12126 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
12127
12128         * LyxAction.C: add internal LFUN_CITATION_INSERT
12129
12130         * LyXView.C: actually apply fix
12131
12132         * bufferlist.C: fix open non-existent file
12133
12134         * lyxfind.C: fix indentation
12135
12136         * lyxfunc.C: remove unneeded assert, fix typo
12137
12138 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12139
12140         * MenuBackend.C: use "Floatname List"
12141
12142 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
12143
12144         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12145         when converting LaTeX layout to insetERT.
12146         Generate a non-collapsed float when reading old float
12147
12148 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12149
12150         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12151         ERT insets.
12152
12153 2001-08-13  Juergen Vigna  <jug@sad.it>
12154
12155         * text.C (fill): return 0 instead of 20 as this seems to be the more
12156         correct value.
12157
12158 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12159
12160         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12161         lyxrc.font_norm.
12162
12163 2001-08-13  Juergen Vigna  <jug@sad.it>
12164
12165         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12166         casesensitive off.
12167         (SearchBackward): comment out the unlocking of the inset_owner this
12168         should not be needed!
12169
12170 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
12171
12172         * Many files: Remove inherit_language, and add latex_language
12173
12174         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12175         collapsible insets.
12176
12177 2001-08-10  Juergen Vigna  <jug@sad.it>
12178
12179         * text.C (prepareToPrint): fixed hfill-width in draw!
12180
12181         * BufferView2.C (selectLastWord): save the selection cursor as this
12182         now is cleared in the function LyXText::clearSelection!
12183
12184 2001-08-08  Juergen Vigna  <jug@sad.it>
12185
12186         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12187         BACKSPACE type functions.
12188
12189         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12190         is only cutted from the document but not put in the cut-buffer, where
12191         still the old stuff should be.
12192
12193         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12194
12195         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12196
12197         * tabular.C (SetWidthOfCell): fixed special case where the width
12198         was not updated!
12199         (LeftLine): handle '|' in align_special.
12200         (RightLine): ditto
12201         (LeftAlreadyDrawed): ditto
12202         (SetWidthOfCell): ditto
12203
12204 2001-08-07  Juergen Vigna  <jug@sad.it>
12205
12206         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12207
12208 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12209
12210         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12211         * lyxlex.[hC]: ditto
12212
12213 2001-08-06  Juergen Vigna  <jug@sad.it>
12214
12215         * text.C (getVisibleRow): fix up row clearing a bit.
12216
12217 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12218
12219         * minibuffer.C: make sure the X server sees the changes in the input.
12220
12221 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12222
12223         * paragraph.C (getFont): split into...
12224         (getLabelFont): this
12225         (getLayoutFont): and this
12226         * paragraph_pimpl.C (realizeFont): calling this
12227
12228         * text2.C (getFont): split into...
12229         (getLayoutFont): this
12230         (getLabelFont): and this
12231         (realizeFont): all three calling this
12232
12233         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12234         files where used.
12235
12236 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12237
12238         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12239
12240 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
12241
12242         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12243         layouts from the Quote inset insertion.
12244
12245 2001-08-03  Juergen Vigna  <jug@sad.it>
12246
12247         * BufferView_pimpl.C (update): do the fitCursor only at the end!
12248
12249         * screen.C (drawFromTo): don't call fitcursor here and do the loop
12250         only if status not is already CHANGED_IN_DRAW (second level).
12251
12252         * text.C (draw): don't set the need_break_row when inside an
12253         InsetText LyXText.
12254
12255 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12256
12257         * buffer.C (parseSingleLyXformat2Token): handle more latex
12258         conversion cases.
12259
12260         * bufferview_funcs.[hC]: change function names to
12261         begin with small char, adjust other files.
12262
12263 2001-08-02  André Pönitz <poenitz@gmx.net>
12264
12265         * lyxfunc.C:
12266         BufferView_pimpl.C: remove broken special code for math-greek
12267
12268 2001-08-02  Juergen Vigna  <jug@sad.it>
12269
12270         * BufferView_pimpl.C (update): redone this function so that we
12271         update the text again if there was a CHANGE_IN_DRAW.
12272
12273         * screen.C (cursorToggle): removed LyXText parameter and recoded.
12274         (drawFromTo): added a new internal bool which is used by draw() and
12275         redraw() function.
12276         (general): some cursor drawing problems fixed.
12277
12278 2001-08-01  Juergen Vigna  <jug@sad.it>
12279
12280         * lyxfind.C (LyXFind): fixed
12281         (SearchForward): ditto
12282         (SearchBackward): ditto
12283
12284         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12285         spurius drawing of the cursor in the main area.
12286
12287         * text2.C (status): small fix which could lead to a segfault!
12288         (clearSelection): remove unneeded BufferView param.
12289
12290 2001-08-01  André Pönitz <poenitz@gmx.net>
12291
12292         * lyxfunc.C: small change due to changed mathed interface
12293
12294 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12295
12296         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12297
12298 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
12299
12300         * lyxfunc.c: fail gracefully if file doesn't exist
12301
12302         * LyXSendto.C:
12303         * buffer.C:
12304         * lyxfunc.C:
12305         * BufferView_pimpl.C: IsDirWriteable() proto changed
12306
12307         * LyXView.C: fix updateWindowTitle() to store the last title
12308
12309 2001-07-31  Juergen Vigna  <jug@sad.it>
12310
12311         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12312         the font (wrong since using of Paragraph::highestFontInRange).
12313
12314         * paragraph.C (highestFontInRange): added a default_size parameter.
12315
12316         * text.C (getVisibleRow): minor clear row changes (still not perfect).
12317         (setHeightOfRow): reformat
12318
12319 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12320
12321         * converter.[hC] + affected files: move to (inital-char)lowercase
12322         function names.
12323
12324         * ParagraphParameters.C (ParagraphParameters): remove commented code
12325
12326         * PainterBase.[Ch]: remove commented code
12327
12328         * LaTeXFeatures.h: add "bool floats" for float.sty
12329
12330         * LaTeXFeatures.C (LaTeXFeatures): init floats
12331         (require): handle float
12332         (getPackages): do it with floats
12333
12334 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12335
12336         * BufferView_pimpl.C (Dispatch): improve handling of
12337         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12338
12339         * commandtags.h: #include lyxfont.h here temporarily to avoid
12340         keybinding bug.
12341
12342         * bufferlist.h: include LString.h here.
12343
12344 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12345
12346         * text2.C (getStringToIndex): new method.
12347
12348 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
12349
12350         * *: Reduced header file dependencies all over.
12351
12352 2001-07-30  Baruch Even  <baruch@lyx.org>
12353
12354         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12355
12356 2001-07-29  Baruch Even  <baruch@lyx.org>
12357
12358         * buffer.C (readInset): Changed GRAPHICS to Graphics.
12359
12360 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12361
12362         * ParameterStruct.h (endif): add a default constructor to make
12363         sure that all variables is initialized.
12364
12365         * ParagraphParameters.C (ParagraphParameters): adjust
12366
12367 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12368
12369         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12370         index; also, check that there is something to index, and that it
12371         does not span over several paragraphs.
12372         (doubleClick): use WHOLE_WORD_STRICT for double click.
12373
12374         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12375
12376         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12377         scheme.
12378
12379 2001-07-26  Baruch Even  <baruch@lyx.org>
12380
12381         * buffer.C (readInset): Changed to call up InsetGraphics when reading
12382         an InsetFig figure, backwards compatible reading of old figure code.
12383
12384 2001-07-27  Juergen Vigna  <jug@sad.it>
12385
12386         * text2.C: font.realize function adaption.
12387
12388         * text.C (draw): add a warnings lyxerr text if needed.
12389
12390         * layout.C: font.realize function adaption.
12391
12392         * language.C: add inherit_language and implement it's handlings
12393
12394         * bufferview_funcs.C (StyleReset): remove language parameter from
12395         font creation (should be language_inherit now).
12396
12397         * bufferparams.C (writeFile): handle ignore_language.
12398
12399         * paragraph.C (getFontSettings): the language has to be resolved
12400         otherwise we have problems in LyXFont!
12401
12402         * lyxfont.C (lyxWriteChanges): added document_language parameter
12403         (update): removed unneeded language parameter
12404
12405         * paragraph.C (validate): fixed wrong output of color-package when
12406         using interface colors for certain fonts in certain environments,
12407         which should not seen as that on the final output.
12408
12409 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
12410
12411         * BufferView_pimpl.C:
12412         * Thesaurus.h:
12413         * Thesaurus.C:
12414         * Makefile.am:
12415         * commandtags.h:
12416         * LyXAction.C: add thesaurus support
12417
12418         * lyxfind.h:
12419         * lyxfind.C: add "once" parameter, for thesaurus, to not
12420           move to the next match
12421
12422 2001-07-26  Juergen Vigna  <jug@sad.it>
12423
12424         * lyxfont.C (realize): honor ignore_language too!
12425         (resolved): ditto.
12426
12427         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12428
12429         * text.C (draw): one place more for ignore_language to not draw
12430         itself!
12431
12432 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
12433
12434         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12435
12436 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12437
12438         * buffer.C (parseSingleLyXformat2Token): a more general fix for
12439         the minipage conversion problem.
12440
12441 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12442
12443         * buffer.C (parseSingleLyXformat2Token): check minipage if we
12444         insert an inset.
12445
12446 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12447
12448         * BufferView.h: don't forward declare WorkArea
12449
12450         * BufferView.C: don't include WorkArea.h
12451
12452 2001-07-25  André Pönitz <poenitz@gmx.net>
12453
12454         * commandtags.h:
12455         * LyXAction.C:
12456         * lyxfunc.C:  new LFUN 'math-space'
12457
12458         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12459
12460 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12461
12462         * text2.C (toggleInset): call open/close
12463
12464 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12465
12466         * lyxfunc.C (dispatch): add debug for the disabled case
12467
12468         * font.C (buttonText): make similar to rectText
12469
12470         * buffer.C (readInset): comment out parsing of insetlist and
12471         insttheorem
12472
12473         * PainterBase.C (rectText): small correction
12474
12475         * BufferView_pimpl.C: comment out insettheorem and insetlist
12476         * LyXAction.C: ditto
12477         * commandtags.h: ditto
12478
12479 2001-07-24  Juergen Vigna  <jug@sad.it>
12480
12481         * text.C (draw): honor the ignore_language.
12482
12483         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12484
12485 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12486
12487         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12488         char inset.
12489
12490 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12491
12492         * lyxtext.h: remove unused (and unimplemented) methods
12493
12494 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12495
12496         * text.C (getVisibleRow): honor background color
12497
12498         * PainterBase.h:
12499         * Painter.h: remove default color argument for fillRectangle
12500
12501         * text.C (backgroundColor): new method
12502
12503 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12504
12505         * text.C (getVisibleRow): adjust
12506
12507         * font.[Ch] (rectText): new method, metrics
12508         (buttonText): new method, metrics
12509
12510         * PainterBase.[hC]: make rectText and buttonText always draw and take
12511         fewer paramteres.
12512
12513 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12514
12515         * ToolbarDefaults.C (read):
12516         * MenuBackend.C (read): allow escaping in all strings
12517
12518         * BufferView_pimpl.C (insertAndEditInset): new method.
12519         (Dispatch): use insertAndEditInset whenever appropriate.
12520
12521         * BufferView_pimpl.C (insertNote): removed
12522
12523         * BufferView_pimpl.C (smartQuote): new method, moved from
12524         BufferView; if an insetquote cannot be inserted, insert a '"'
12525         character instead.
12526
12527         * BufferView2.C: remove insertCorrectQuote();
12528
12529         * lyxfunc.C (getStatus): Add support for all remaingin
12530         inset-insert lfuns.
12531
12532         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12533
12534         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12535         command (necessary to pass " as parameter of self-insert.
12536
12537         * text.C (selectWordWhenUnderCursor):
12538         (selectWord): add word_location parameter
12539         (selectWordWhenUnderCursor): same + remove special code for word
12540         boundary.
12541         (selectNextWord): use kind() to guess type of insetspecialchar,
12542         not latex().
12543
12544         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12545         (insertErtContents): create ert insets as collapsed.
12546         (readInset): better compatibility code for Info inset.
12547
12548 2001-07-20  Juergen Vigna  <jug@sad.it>
12549
12550         * lyxfunc.C (dispatch): use always LyXFind now!
12551
12552         * text2.C (init): add a reinit flag so that the LyXText can be
12553         reinited instead of deleted and reallocated (used in InsetText).
12554
12555         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12556
12557         * text.C: ditto
12558
12559         * text2.C: ditto
12560
12561 2001-07-18  Juergen Vigna  <jug@sad.it>
12562
12563         * text.C (selectNextWord): handle insets inside inset by calling
12564         always the bv->text functions so that we can go up the_locking_inset!
12565
12566         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12567         in strange locations when inside an inset!
12568
12569         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12570         handling to include insets.
12571
12572         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12573
12574 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12575
12576         * LyXAction.C (init):
12577         * commandtags.h:
12578         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12579         LIGATURE_BREAK, since the name is so stupid.
12580
12581 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12582
12583         * buffer.C (readInset): enable reading of new InsetNotes as well as old
12584         InsetInfos.
12585
12586         * FontLoader.C: remove FORMS_H_LOCATION cruft.
12587
12588         * sp_form.[Ch]: remove.
12589
12590         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12591
12592         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12593         InsetInfo.
12594
12595         * src/buffer.C (readInset): ditto.
12596
12597 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12598
12599         * BufferView_pimpl.C (specialChar): new method. Obsoletes
12600         menuSeparator(), endOfSentenceDot(), ldots() and
12601         hyphenationPoint(), which are therefore removed.
12602         (Dispatch): handle LFUN_HYPHENATION_BREAK.
12603
12604         * LyXAction.C (init):
12605         * commandtags.h: add LFUN_HYPHENATION_BREAK.
12606
12607         * paragraph.C (getWord): removed.
12608
12609         * BufferView_pimpl.C (Dispatch): use last word or selection for
12610         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12611
12612         * lyx_main.C (queryUserLyXDir): do not ask before creating
12613         user_dir, except if it has been named explicitely.
12614
12615 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12616
12617         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12618         a document of zero size.
12619
12620 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
12621
12622         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12623         approriately in the c-tor and in require().
12624         (getPackages): output the appropriate LaTeX for natbib support.
12625
12626         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12627         variables "use_natbib" and "use_numerical_citations" when reading the
12628         LyX file.
12629         (readInset): read the various natbib cite commands.
12630         (validate): white-space change.
12631
12632         * bufferparams.[Ch]: new variables "bool use_natbib" and
12633         "bool use_numerical_citations".
12634         (writeFile): output them in the LyX file.
12635
12636 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12637
12638         * lyxfunc.C (getStatus): add support for all the inset insertion
12639         commands.
12640
12641         * text2.C (insertInset):
12642         * paragraph.C (insetAllowed):
12643         * BufferView_pimpl.C (insertInset): update to take in account the
12644         renaming of insertInsetAllowed
12645
12646         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12647
12648         * text2.C (getInset): new method. returns inset at cursor position.
12649
12650         * BufferView_pimpl.C (Dispatch): changes because of this.
12651
12652         * LyXAction.C (init): rename open-stuff to inset-toggle.
12653
12654         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12655
12656         * text2.C (toggleInset): renamed from openStuff; use
12657         Inset::open().
12658
12659 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
12660
12661         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12662
12663         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12664
12665 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
12666
12667         * buffer.C (readLyXformat2): Add filename to the error dialog
12668
12669 2001-07-18  Juergen Vigna  <jug@sad.it>
12670
12671         * tabular.C (GetCellNumber): put an assert here instead of the check!
12672
12673 2001-07-17  Juergen Vigna  <jug@sad.it>
12674
12675         * BufferView_pimpl.C (toggleSelection): adapted too.
12676
12677         * text.C (selectNextWord): adapted for use with insets.
12678         (selectSelectedWord): ditto
12679
12680 2001-07-17  Juergen Vigna  <jug@sad.it>
12681
12682         * sp_spell.C (PSpell): fix initialitation order.
12683
12684 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12685
12686         * paragraph.C: spacing
12687
12688 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
12689
12690         * sp_spell.C: repair language selection for pspell
12691
12692 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12693
12694         * lyxfunc.h: change more methods to begin with lower char.
12695
12696 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
12697
12698         * buffer.C (parseSingleLyXformat2Token): Generate error insets
12699         for unknown layouts.
12700
12701 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12702
12703         * buffer.C (readLyXformat2): Generate an error dialog if there are
12704         unknown layouts.
12705
12706 2001-07-16  Juergen Vigna  <jug@sad.it>
12707
12708         * sp_spell.C: always compile ISpell part.
12709
12710         * lyxrc.C: added use_pspell entry and it's handling.
12711
12712 2001-07-13  Juergen Vigna  <jug@sad.it>
12713
12714         * sp_spell.C: removed double includes.
12715
12716 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
12717
12718         Consistent use of Lsstream.h:
12719         * Lsstream.h: added using std::stringstream for consistencies sake.
12720
12721         * buffer.C: removed using std::stringstream
12722
12723         * lyxfont.C (stateText):
12724         * paragraph.C (asString):
12725         * text.C (selectNextWord, selectSelectedWord):
12726         * text2.C (setCounter):
12727         * vspace.C (asString, asLatexString):
12728         std::ostringstream -> ostringstream.
12729
12730 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12731
12732         * LyXAction.C: add LFUN_HELP_ABOUTLYX
12733         * commandtags.h: add LFUN_HELP_ABOUTLYX
12734         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12735
12736 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12737
12738         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12739         cursorToggle()
12740         * lyx_gui_misc.C: remove spellchecker
12741         * lyxfunc.C: showSpellchecker
12742         * sp_base.h: added
12743         * sp_ispell.h: added
12744         * sp_pspell.h: added
12745         * sp_spell.C: added
12746         * sp_form.[Ch]: removed
12747         * spellchecker.[Ch]: removed
12748
12749 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
12750
12751         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12752         is set.
12753         (simpleTeXSpecialChars): Simply print the input character without
12754         any special translation if pass_thru is set.
12755
12756         * layout.h: Added bool pass_thru to layout class for being able to
12757         implement pass through of a paragraph for Literate Programming.
12758
12759         * layout.C: add LT_PASS_THRU to LayoutTags enum.
12760         * layout.C (LyXLayout): set pass_thru to flase in constructor.
12761         * layout.C (Read): add "passthru" to list of layout tags and add
12762         code to set the pass_thru boolean when it is read.
12763
12764 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12765
12766         * trans_decl.h: remove allowed from KmodInfo
12767
12768         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12769         remove allowed code
12770         (Load): adjust
12771
12772         * paragraph_pimpl.C (erase): use boost::prior
12773
12774         * Painter.C (text): use data() instead of c_str() when length is
12775         also provided.
12776         * WorkArea.C (putClipboard): ditto
12777         * font.h (width): ditto
12778
12779         * BufferView2.C: use it-> instead of (*it). for iterators
12780         * texrow.C: ditto
12781         * paragraph_pimpl.C: ditto
12782         * paragraph.C: ditto
12783         * minibuffer.C: ditto
12784         * language.C: ditto
12785         * kbmap.C: ditto
12786         * encoding.C: ditto
12787         * counters.C: ditto
12788         * converter.C: ditto
12789         * chset.C: ditto
12790         * Variables.C: ditto
12791         * TextCache.C: ditto
12792         * MenuBackend.C: ditto
12793         * LyXAction.C: ditto
12794         * LColor.C: ditto
12795         * FloatList.C: ditto
12796         * DepTable.C: ditto
12797         * ColorHandler.C (LyXColorHandler): ditto
12798
12799 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12800
12801         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12802
12803         * text2.C (openStuff): reintroduce this method (which had been
12804         nuked in NEW_INSETS frenzy).
12805
12806         * lyxfunc.C (Dispatch): when an action has not been handled, use
12807         its name in the error message, not its number.
12808
12809         * paragraph.C (inInset): change method name to begin with lowercase.
12810
12811         * undo_funcs.C:
12812         * text2.C: updates because of this.
12813
12814 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12815
12816         * ToolbarDefaults.C (add): add spaces in error message
12817
12818 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12819
12820         * buffer.C (readLyXformat2): initialize the ert comp. variables.
12821         (readLyXformat2): rename return_par to first_par, use lyxlex's
12822         pushToken and remove the manual push handling.
12823         (parseSingleLyXformat2Token): add another ert comp. variable:
12824         in_tabular, rename return_par to first_par. handle newlines better
12825
12826 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12827
12828         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12829
12830 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12831
12832         * text2.C (getParFromID): removed
12833
12834         * buffer.C (getParFromID): new method moved form lyxtext.
12835         * BufferView2.C (insertErrors): adjust
12836         (setCursorFromRow): adjust
12837         * BufferView_pimpl.C (restorePosition): adjust
12838         * lyxfunc.C (Dispatch): adjust
12839         * undo_funcs.C (textUndo): adjust
12840         (textRedo): adjust
12841         (textHandleUndo): adjust
12842         (textHandleUndo): adjust
12843
12844 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12845
12846         * buffer.C: up' the LYX_FORMAT
12847
12848         * lyxfont.h: turn NO_LATEX on as default
12849
12850         * buffer.C (insertErtContents): new methods of tex style compability.
12851         (parseSingleLyXformat2Token): use it several places.
12852         * tabular.C (OldFormatRead): and here
12853
12854 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12855
12856         * text2.C: remove some commented code.
12857         reindent file.
12858
12859         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12860         * trans.C: changes because of the above.
12861
12862 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
12863
12864         * text2.C (setCounter): Fix counters bug with bibliography layout.
12865
12866 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12867
12868         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12869         own member functions
12870         (simpleTeXSpecialChars): ditto
12871
12872 2001-07-06  Juergen Vigna  <jug@sad.it>
12873
12874         * a lot of files: changed the access to LyXText::status and the
12875         call of undo-functions.
12876
12877         * undo.[Ch]: added a inset_id to the undo informations.
12878
12879         * undo_funcs.[Ch]: added and moved here all undo functions.
12880
12881         * lyxtext.h: give the status enum a weight, made status_ a private
12882         variable and made accessor functions for it, removed the whole bunch
12883         of undo-functions as they are now in their own file, make some
12884         functions publically available. Added function ownerParagraph with
12885         int parameter.
12886
12887         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12888         made InInset() a const function, added getParFromID() function.
12889
12890         * buffer.[Ch]: added const version for inset_iterator functions,
12891         added getInsetFromID() function.
12892
12893         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12894         changed undo functions for new version.
12895
12896 2001-07-05  Juergen Vigna  <jug@sad.it>
12897
12898         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12899         unknow mechanism does not call the proper constructor but only this
12900         one also if I request the other!?
12901
12902 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12903
12904         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12905
12906         * text2.C (LyXText): use initialization lists.
12907
12908         * lyxtext.h (Selection): initialize set_ and mark_
12909         (init): remove method
12910
12911 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12912
12913         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12914
12915 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12916
12917         * screen.[Ch]: change method names to begin with lowercase
12918
12919         * BufferView_pimpl.C (updateScrollbar): simplify further and
12920         hopefully make it a bit faster.
12921
12922 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12923
12924         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12925         calling directly xforms functions.
12926
12927         * Painter.C (Painter):
12928         * lyx_cb.C (MenuWrite):
12929         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12930         fl_display.
12931
12932         * lyx_gui.C: remove bogus guiruntime extern declaration.
12933
12934 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12935
12936         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12937         in NEW_INSETS
12938         (redoDrawingOfParagraph): ditto
12939         (redoParagraphs): ditto
12940         (cutSelection): don't create a object for CutAndPaste use the
12941         static method directly
12942         (pasteSelection): ditto
12943
12944         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12945         LyXview (+ rename)
12946
12947 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12948
12949         * modifications to some other files because of this.
12950
12951         * Makefile.am (lyx_SOURCES): add XFormsView
12952
12953         * XFormsView.[Ch]: new files
12954
12955         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12956         the main window. Move the gui dependent stuff to XFormsView
12957
12958 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12959
12960         * tabular.C (GetCellInset): update cur_cell also in the row/col
12961         version of this function.
12962
12963         * lyxfunc.C: no need to include figure_form.h here.
12964
12965         * FontLoader.h:
12966         * lyxfunc.h:
12967         * lyxscreen.h:
12968         * text2.C:
12969         * lyxvc.C: no need to include forms.h here.
12970
12971 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12972
12973         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12974
12975         * lyxfunc.C (Dispatch):
12976         * Spacing.C (set):
12977         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12978         constructor argument.
12979
12980 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12981
12982         * paragraph.C (Paragraph): dont't clear, and just set layout.
12983         (makeSameLayout): use params's copy contructor.
12984
12985         * ParagraphParameters.[Ch] (makeSame): delete method
12986
12987 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12988
12989         * Variables.[Ch]: fix indentation, rename set to isSet
12990
12991 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12992
12993         * lyxfunc.C (Dispatch): fix typo
12994
12995 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12996
12997         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12998         upper_bound.
12999
13000         * bufferlist.C: include assert.h for emergencyWrite().
13001
13002 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13003
13004         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13005           give up at last (bug #425202) !
13006
13007 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
13008
13009         * lyx_gui_misc.C:
13010         * sp_form.h:
13011         * sp_form.C:
13012         * spellchecker.h:
13013         * spellchecker.C: strip spellchecker options and bring up
13014           preferences tab instead
13015
13016 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13017
13018         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13019         the istringstream constructor
13020
13021 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13022
13023         * paragraph.C (getLayout): fix return value
13024
13025         * paragraph.h: do not declare getLayout as inline.
13026
13027         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13028
13029 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13030
13031         * lyxcursor.h (operator<): new func
13032         (operator>): new func
13033         (operator>=): new func
13034         (operator<=): new func
13035
13036         * text.C (changeCase): use selection.start and selection.end
13037         (changeRegionCase): require from to be <= to. Require par to be a
13038         valid paragraph.
13039
13040         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13041
13042 2001-06-27  Juergen Vigna  <jug@sad.it>
13043
13044         * text.C (cursorLeftOneWord): changed to return the cursor and added
13045         overlay with BufferView * parameter which calls this one.
13046         (getWord): added
13047         (selectWord): use new getWord function.
13048         (changeCase): renamed from changeWordCase as and extended to work
13049         also on selections.
13050
13051         * lyxtext.h: added enum word_location
13052
13053         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13054         changeCase as this operates now also on selections.
13055
13056 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
13057
13058         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13059
13060         * many files: send debug output to Debug::INFO instead of
13061         Debug::ANY.
13062
13063         * converter.C (View):
13064         (Convert):
13065         (Move): send debug output to Debug::FILES instead of console.
13066
13067 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
13068
13069         * lyxfunc.C (getStatus): use func_status
13070
13071         * func_status.h: new header, describing the results of
13072         LyXFunc::getStatus;
13073
13074         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13075         LFUN_MATH_HALIGN.
13076
13077 2001-06-25  The LyX Project  <jug@sad.it>
13078
13079         * buffer.C (sgmlOpenTag):
13080         (sgmlCloseTag):
13081         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
13082
13083 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13084
13085         * text2.C: remove some dead code
13086
13087         * tabular.C (GetCellInset): store the last cell checked (gotten)
13088
13089         * tabular.h: add the helper for the speedup
13090
13091         * lyxtext.h: remove some dead code
13092
13093 2001-06-26  The LyX Project  <Asger>
13094
13095         * paragraph.C: Change export to LaTeX of alignment to
13096         \begin{center} and family for better roundtrip work with reLyX.
13097
13098         * Tune the math drawing a bit.
13099
13100 2001-06-25  The LyX Project  <Asger>
13101
13102         * LColor.C (LColor): New color for math background. New color
13103         for buttons.
13104
13105 2001-06-25  The LyX Project  <jug@sad.it>
13106
13107         * lyxfunc.C (MenuNew): remove extra check for .lyx file
13108
13109         * lyxfunc.C (Open):
13110         * bufferlist.C (newFile): do not restrict to files ending with
13111         .lyx
13112
13113         * BufferView_pimpl.C (MenuInsertLyXFile):
13114
13115 2001-06-24  The LyX Project  <jug@sad.it>
13116
13117         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13118         of compare_no_case
13119
13120 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13121
13122         * lyxtext.h: rename most methods to begin with a small char.
13123         Lots of changes because of this.
13124
13125         * paragraph.C (Paragraph): do not call fitToSize
13126         (erase): call Pimpl::erase
13127         (insertChar): call Pimpl::insertChar
13128         (insertInset): call Pipl::insertInset
13129         (breakParagraph): do not call fitToSize
13130         (breakParagraphConservative): do not call fitToSize
13131         (fitToSize): remove method
13132
13133         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13134
13135 2001-06-24  The LyX Project  <Asger>
13136
13137         * Fix Qt compilation^2
13138
13139 2001-06-24  The LyX Project  <jug@sad.it>
13140
13141         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13142         depthHook(getDepth()-1).
13143
13144         * paragraph.h:
13145         * ParagraphParameters.h:
13146         * ParameterStruct.h: change type of depth to unsigned int ==
13147         depth_type. Many adaptations to other files before of that.
13148
13149 2001-06-24  The LyX Project  <Asger>
13150
13151         * Fix Qt compilation.
13152
13153 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13154
13155         * paragraph.h: renamed several methods to begin with small letter.
13156         several changes to many parts of the code because of this.
13157
13158 2001-06-23  The LyX Project  <jug@sad.it>
13159
13160         * text2.C (InsertStringAsLines): renamed from InsertStringA;
13161         rewritten to discard all double spaces when KeepEmpty is off
13162         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13163         to only handle newlines but not fiddle with spaces and friends.
13164
13165         * lyxfunc.C (MenuNew): when doing 'new from template', use
13166         template_path as default directory
13167
13168 2001-06-23  The LyX Project  <Asger>
13169
13170         * Clean-up of header file includes all over
13171         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13172
13173 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13174
13175         * paragraph.h: renamed from lyxparagraph.h
13176
13177 2001-06-23  Asger  <lyx@violet.home.sad.it>
13178
13179         * Buffer.h: Removed Buffer::resize
13180         * BufferList.h: Removed BufferList::resize
13181         * LyXView.h: Added LyXView::resize. This way, we will only reflow
13182         the document lazily when we change the width, or the font settings.
13183
13184 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13185
13186         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13187
13188 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13189
13190         * buffer.h: remove out of date comment
13191
13192 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13193
13194         * lyxscreen.h:
13195         * screen.C: fix "theoretical" GC leak
13196
13197 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13198
13199         * LaTeX.C (scanAuxFile):
13200         (deplog): remove trailing \r when reading stream (useful under
13201         win32)
13202
13203 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
13204
13205         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13206         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13207         and BufferView::theLockingInset(Inset*), so should use them and not
13208         access bv_->text->the_locking_inset directly.
13209
13210         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13211
13212 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13213
13214         * Makefile.am:
13215         * tex-defs.h: remove old unused file
13216
13217 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
13218
13219         * BufferView_pimpl.C: fix typo, remove minibuffer message
13220           when buffer has loaded
13221
13222 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13223
13224         * lyxfunc.C (Dispatch): use stringstream
13225         (MenuNew): use stringstream
13226         (Open): use stringstream
13227
13228         * importer.C (Import): use stringstream
13229
13230         * bufferview_funcs.C (CurrentState): use stringstream
13231
13232         * LaTeX.C (run): use stringstream
13233
13234         * BufferView_pimpl.C (savePosition): use stringstream
13235         (restorePosition): use stringstream
13236         (MenuInsertLyXFile): use stringstream
13237
13238 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
13239
13240         * BufferView.C:
13241         * Bullet.C:
13242         * ColorHandler.C:
13243         * FontInfo.C:
13244         * FontLoader.C:
13245         * LColor.C:
13246         * LaTeXFeatures.C:
13247         * Painter.C:
13248         * gettext.C:
13249         * lyx_gui_misc.C:
13250         * lyxserver.C:
13251         * vspace.C: removed // -*- C++ -*- as first line.
13252
13253         * lyxfind.h:
13254         * version.h: added // -*- C++ -*- as first line.
13255
13256 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13257
13258         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13259
13260         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13261         of string
13262
13263 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13264
13265         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13266         of floats.
13267
13268 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13269
13270         * gettext.C: include LString.h even when --disable-nls is on.
13271
13272 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
13273
13274         * converter.h (Get): changed argument type from int to
13275         FormatList::size_type to avoid unnecessary conversion.
13276
13277         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13278         before using it.
13279
13280 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13281
13282         * gettext.h: include LString.h even when --disable-nls is on.
13283
13284 2001-06-07  Juergen Vigna  <jug@sad.it>
13285
13286         * text.C (BreakAgain): subst spaces with tabs.
13287
13288         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13289         (resizeInsetsLyXText): set force on resizeLyXText.
13290
13291 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13292
13293         * gettext.h (gettext_init):
13294         (locale_init): use a real definition instead of a macro
13295
13296 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13297
13298         * Bufferview_pimpl.C:
13299         * LColor.h:
13300         * LColor.C: further lcolor tidies
13301
13302 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13303
13304         * BufferView_pimpl.C (updateScrollbar): simplify.
13305
13306         * BufferView2.C: don't include insets/insetinfo.h, change
13307         prototype for insertInset and call the Pimpl version. let
13308         updateInset call Pimpl version.
13309
13310         * BufferView.h: move inset_slept to BufferView::Pimpl, move
13311         gotoInset to BufferView::Pimpl
13312
13313 2001-06-01  Juergen Vigna  <jug@sad.it>
13314
13315         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13316         inside a LockingInset (is the update needed at all?).
13317
13318 2001-05-31  Juergen Vigna  <jug@sad.it>
13319
13320         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13321         here not the old one otherwise how should we compare it afterwards
13322         if it's the same!
13323
13324 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13325
13326         * lyxfont.C:
13327         * tabular.C:
13328         * tabular-old.C:
13329         * FontInfo.C: bring C functions into global namespace when
13330         necessary
13331
13332 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13333
13334         * LString.h: make sure config.h has been loaded before LString.h.
13335
13336         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13337         (one for each char read by EatLine!).
13338
13339         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13340         variables.
13341
13342 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13343
13344         * paragraph.C (BreakParagraph): set the inset_owner in the new par
13345         to the same as the par we break from
13346
13347 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13348
13349         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13350
13351         * MenuBackend.C (expand): also create menu entries for wide
13352         versions of the floats.
13353
13354         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13355
13356         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13357
13358         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13359         frontends/Makefile.am
13360
13361         * text2.C: adjust
13362         * text.C: adjust
13363
13364
13365         * tabular.C (getTokenValue): add std::
13366
13367         * tabular-old.C (getTokenValue): add std::
13368         (getTokenValue): ditto
13369         (getTokenValue): ditto
13370
13371         * screen.C (ToggleSelection): adjust
13372
13373         * lyxtext.h: put selection cursors inside a Selection struct.
13374
13375         * lyxfunc.C (moveCursorUpdate): adjust
13376
13377         * lyxfont.C (latexWriteStartChanges): add std::
13378
13379         * lyxfind.C: adjust
13380
13381         * font.h: delete with(char const *, LyXFont const &)
13382
13383         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13384
13385         * FontInfo.C (getFontname): add std::
13386
13387         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13388         (workAreaButtonPress): adjust
13389         (tripleClick): adjust
13390         (update): adjust
13391         (moveCursorUpdate): adjust
13392         (Dispatch): adjust
13393
13394         * BufferView2.C (gotoInset): adjust
13395
13396 2001-05-30  Juergen Vigna  <jug@sad.it>
13397
13398         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13399         to check pspell I add this as default as I now have new pspell
13400         libraries and they seem to use this.
13401
13402 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13403
13404         * text2.C (CutSelection): make the cursor valid before the call to
13405         ClearSelection.
13406
13407 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13408
13409         * kbsequence.C (parse): de-uglify a bit the parsing code, which
13410         relied on 0 terminated strings and other horrors. Bug found due to
13411         the new assert in lyxstring!
13412
13413         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13414         KP_ keys.
13415
13416 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13417
13418         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13419         to latinkeys.bind.
13420
13421         * lyxfunc.C (processKeySym): change method of getting to the
13422         self-insert char.
13423
13424         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13425         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13426         * BufferView_pimpl.[Ch]: here as private methods.
13427
13428 2001-05-28  Juergen Vigna  <jug@sad.it>
13429
13430         * text.C (SetHeightOfRow): added the update() call again as it is
13431         needed to initialize inset dimensions!
13432
13433 2001-05-16  Juergen Vigna  <jug@sad.it>
13434
13435         * text2.C (SetCharFont): Add new function with BufferView * and
13436         bool toggleall parameters for setting insets internal fonts.
13437         (SetFont): Freeze the undo as we may change fonts in Insets and
13438         all this change should be inside only one Undo!
13439
13440         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13441         setting font's in insets as for them we have the SetFont function!
13442
13443 2001-05-15  Juergen Vigna  <jug@sad.it>
13444
13445         * text2.C (ClearSelection): to be sure we REALLY don't have any
13446         selection anymore!
13447
13448         * tabular.C (TeXCellPreamble): fixed the left border problem for
13449         multicolumn cells.
13450
13451 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
13452
13453         * LaTeX.C (deplog): Make sure that the main .tex file is in the
13454         dependancy file
13455
13456 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13457
13458         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13459         LFUN_BREAKPARAGRAPH.
13460
13461         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13462         help test to "internal only", similar for LFUN_INSERT_URL
13463
13464         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13465         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13466         auto_region_delete and deadkeys.
13467
13468 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
13469
13470         * LColor.h:
13471         * LColor.C: remove some dead entries, tidy a little
13472
13473 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13474
13475         * lyxfunc.C (processKeySym): comment the Escape handling, remove
13476         commented code.
13477         (Dispatch): implement LFUN_ESCAPE
13478
13479         * commandtags.h: add LFUN_ESCAPE
13480
13481         * LyXAction.C (init): add entry for LFUN_ESCAPE
13482
13483         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13484         Remove commented code.
13485         (insertNote): moved here
13486         (open_new_inset): moved here
13487
13488         * BufferView[2].[Ch]: move insertNote and open_new_inset to
13489         BufferView_pimpl
13490
13491 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13492
13493         * kbmap.C (findbinding): clean it up and make it work correctly.
13494
13495         * lyx_main.C (init): do not pass argc and argv as parameters
13496
13497 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
13498
13499         * buffer.C: fix path for OS/2 & Win32
13500
13501         * lyx_gui.C:
13502         * lyx_main:
13503         * lyx_main.C: Added os:: class.
13504
13505         * os2_defines.h: update
13506
13507 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13508
13509         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13510         better by trying again with reduced state.
13511
13512 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13513
13514         * lyxrc.C (read): print error about invalid key sequence only when
13515         debugging (because not all latinX keysyms are known to some X
13516         servers)
13517
13518         * kbsequence.C (getiso): add a few std:: qualifiers
13519         (getiso): comment out extra return statement.
13520
13521 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13522
13523         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13524         handling.
13525         (Dispatch): enhance the accent inset a bit. (not perfect)
13526
13527 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13528
13529         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13530
13531 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13532
13533         * bufferlist.C (emergencyWrite): fix assert() call
13534
13535 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
13536
13537         * text.C (InsertChar): Added trivial patch to only send the "you
13538         can not do multiple spaces this way" message once during a
13539         session.
13540
13541 2001-05-08  Baruch Even  <baruch@lyx.org>
13542
13543         * Makefile.am: Changed order of libraries to get LyX to link properly
13544         with the gnome frontend.
13545
13546 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13547
13548         * LaTeXFeatures.h: add a std:: qualifier
13549
13550 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13551
13552         * paragraph.C (String): use stringstream
13553
13554 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13555
13556         * paragraph.C (writeFile): remove footflag arg
13557
13558         * buffer.C (makeLaTeXFile): use stringstream
13559         (latexParagraphs): remove footnot gurba
13560
13561         * LaTeXFeatures.C (getPackages): use stringstream
13562         (getMacros): likewise
13563         (getTClassPreamble): likewise
13564         (getFloatDefinitions): new method
13565
13566         * paragraph.C (writeFile): reindent
13567         (Erase): reindent
13568
13569         * WorkArea.h: revert the xpos + etc changes.
13570
13571         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13572
13573         * lyxparagraph.[Ch]: add copy constructor, remove Clone
13574
13575         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13576         (pasteSelection): likewise
13577         * text2.C (CreateUndo): likewise
13578
13579 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13580
13581         * minibuffer.C (peek_event): temporarily reduce the functionality
13582         of the minibuffer (to allow args on lfuns)
13583
13584         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13585         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13586
13587         * buffer.C (readInset): add compability reading of old float
13588         lists, add reading of new style float list.
13589         (readInset): avoid reevaluation of inscmd.getCmdName()
13590         (getLists): reindent
13591
13592         * MenuBackend.C (MenuItem): implement parsing of
13593         md_floatlistinsert and md_floatinsert.
13594         (expand::LastFiles): move initalizaton of iterators out of loop,
13595         avoid reevaluation.
13596         (expand::Documents): introduce typdedef vector<string> Strings,
13597         and use it.
13598         (expand::ExportFormats): introduce typedef vector<Format const *>
13599         Formats, and use it.
13600         (expand): implement FloatListInsert and FloatInsert.
13601
13602         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13603         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13604         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13605
13606         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13607         handling.
13608         (Dispatch::LFUN_FLOAT_LIST): implement
13609
13610 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13611
13612         * LaTeX.C (run): Fix problem with --export code.
13613
13614 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13615
13616         * BufferView.[Ch] (workarea): removed.
13617         (getClipboard) new method; wrapper for workarea()->getClipboard()
13618
13619         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13620         bug.
13621
13622         * WorkArea.h (width, height, xpos, ypos): These methods all
13623         returned the dimensions of the work_area sub-area of WorkArea,
13624         resulting in a position error if the WorkArea were resized. Now
13625         return the dimensions of the entire WorkArea.
13626
13627         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13628
13629 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13630
13631         * LaTeX.C (deplog): correct the syntax of regex reg1
13632
13633 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13634
13635         * undo.C: remove !NEW_INSETS cruft
13636
13637 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13638
13639         * text2.C: remove !NEW_INSETS cruft
13640
13641         * text.C: remove !NEW_INSETS cruft
13642
13643         * tabular.C: remove !NEW_INSETS cruft
13644
13645         * spellchecker.C: remove !NEW_INSETS cruft
13646
13647         * lyxtext.h: remove !NEW_INSETS cruft
13648
13649         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13650
13651         * lyxfunc.C: remove !NEW_INSETS cruft
13652
13653         * lyxfind.C: remove !NEW_INSETS cruft
13654
13655         * lyx_cb.C: remove !NEW_INSETS cruft
13656
13657         * figureForm.C: remove  !NEW_INSETS cruft
13658
13659         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13660
13661         * buffer.[Ch]: remove !NEW_INSETS cruft
13662
13663         * ToolbarDefaults.C: remove !NEW_INSETS cruft
13664
13665         * CutAndPaste.C: remove !NEW_INSETS cruft
13666
13667         * BufferView_pimpl.C: remove !NEW_INSETS cruft
13668
13669         * BufferView2.C: remove !NEW_INSETS cruft
13670
13671         * BufferView.h: remove !NEW_INSETS cruft
13672
13673 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13674
13675         * Lsstream.h: include LString.h before the sstream headers to
13676         fix problem with gcc 2.95.3 and lyxstring
13677
13678 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13679
13680         * lyx_main.C: add using directives when needed for C functions
13681         declared in std:: namespace.
13682
13683 2001-04-27  Juergen Vigna  <jug@sad.it>
13684
13685         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13686         (SetHeightOfRow): comment out the update call should not be needed!
13687
13688 2001-04-13  Juergen Vigna  <jug@sad.it>
13689
13690         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13691         (LyXTabular): tried to minimize operator= operations (and realized
13692         hopfully Lars wish).
13693
13694 2001-04-27  Juergen Vigna  <jug@sad.it>
13695
13696         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13697
13698 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13699
13700         * lyxfunc.C (Dispatch): hack to make listof algorithm work
13701
13702         * buffer.C (readInset): hack to make listof algorithm work
13703
13704         * BufferView_pimpl.C: hack to make listof algorithm work
13705
13706 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13707
13708         * LyXAction.C: removed all !NEW_INSETS cruft
13709         (init): moved lfun_item in method
13710
13711         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13712
13713 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13714
13715         * BufferView2.C (theLockingInset): white space.
13716
13717 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13718
13719         * minibuffer.C: include <iostream>
13720
13721         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13722
13723         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13724
13725         * commandtags.h: add LFUN_TRANSPOSE_CHARS
13726
13727         * text.[Ch] (TransposeChars): new method
13728
13729 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13730
13731         * call message directly through LyXView instead of through LyXFunc
13732         * BufferView2.C: adjust
13733         * BufferView_pimpl.C: adjust
13734         * FontLoader.C: adjust
13735         * buffer.C: adjust
13736         * bufferview_funcs.C: adjust
13737         * converter.C: adjust
13738         * figureForm.C: adjust
13739         * importer.C: adjust
13740         * lyx_cb.C: adjust
13741         * lyx_gui_misc.C: adjust
13742         * lyxfunc.C: adjust
13743         * lyxvc.C: adjust
13744         * text2.C: adjust
13745         + more files in subdirs
13746
13747         * lyxparagraph.h (size): move up int file
13748         (GetLayout): ditto
13749
13750         * adjust all uses of Assert to lyx::Assert.
13751
13752         * BufferView2.C (ChangeCitationsIfUnique): adjust for
13753         lyxfunctional in namespace lyx
13754         * layout.C (hasLayout): ditto
13755         (GetLayout): ditto
13756         (GetLayout): ditto
13757         (delete_layout): ditto
13758         (NumberOfClass): ditto
13759         * converter.C (GetFormat): ditto
13760         (GetNumber): ditto
13761         (Add): ditto
13762         (Delete): ditto
13763         (SetViewer): ditto
13764         * bufferlist.C (getFileNames): ditto
13765         (emergencyWriteAll): ditto
13766         (exists): ditto
13767         (getBuffer): ditto
13768         * MenuBackend.C (hasSubmenu): ditto
13769         (hasMenu): ditto
13770         (getMenu): ditto
13771         * BufferView_pimpl.C (getInsetByCode): ditto
13772
13773 2001-04-18  Juergen Vigna  <jug@sad.it>
13774
13775         * vspace.C (asLatexString): fixed the 100% problem.
13776
13777 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13778
13779         * lyxfunc.C (Dispatch):
13780         * minibuffer.C:
13781         * minibuffer.h: add a few std:: qualifiers
13782
13783 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13784
13785         * minibuffer.[Ch]: reimplement so that commands is initiated and
13786         run from lyxfunc, simplified som handling, and made the completion
13787         and history code for complete. wip.
13788
13789         * lyxfunc.C (processKeySym): call message
13790         (miniDispatch): new temporary method
13791         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13792         (LFUN_MESSAGE): implement
13793         (LFUN_MESSAGE_PUSH): implement
13794         (LFUN_MESSAGE_POP): implement
13795         (initMiniBuffer): the initial/defualt minibuffer message.
13796
13797         * lyxfont.[Ch]: inline some more getters
13798
13799         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13800
13801         * lyx_gui_misc.[Ch] (WriteStatus): remove method
13802
13803         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13804         (AutoSave): use LFUN_MESSAGE
13805         (Reconfigure): ditto
13806
13807         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13808
13809         * figureForm.C: use LFUN_MESSAGE
13810
13811         * converter.C (runLaTeX): use LFUN_MESSAGE
13812
13813         * bufferview_funcs.C: use LFUN_MESSAGE
13814         (Melt): ditto
13815         (changeDepth): ditto
13816
13817         * bufferparams.h: use boost::
13818
13819         * bufferlist.h: inherit privately from noncopyable
13820
13821         * bufferlist.C (loadLyXFile): remove some commented code.
13822
13823         * buffer.C (runChktex): use LFUN_MESSAGE
13824
13825         * ShareContainer.h: inherit privately from noncopyable
13826
13827         * ParagraphParameters.[hC] (depth): inline it.
13828
13829         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13830         methods.
13831         (message): new method
13832         (messagePush): ditto
13833         (messagePop): ditto
13834         (show): init minibuffer
13835         (showState): direct call
13836
13837         * LaTeX.[Ch]: inherit privately from noncopyable
13838         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13839         instead of WriteStatus.
13840
13841         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13842
13843         * BufferView_pimpl.C (buffer): don't init minibuffer
13844         (workAreaButtonPress): use LFUN_MESSAGE
13845         (workAreaButtonRelease): ditto
13846         (savePosition): ditto
13847         (restorePosition): ditto
13848         (MenuInsertLyXFile): ditto
13849         (workAreaExpose): don't init minibuffer
13850         (update): remove commented code, simplify
13851
13852         * BufferView2.C (openStuff): use LFUN_MESSAGE
13853         (toggleFloat): ditto
13854         (menuUndo): ditto
13855         (menuRedo): ditto
13856         (copyEnvironment): ditto
13857         (pasteEnvironment): ditto
13858         (copy): ditto
13859         (cut): ditto
13860         (paste): ditto
13861         (gotoInset): ditto
13862         (updateInset): remove some commented code
13863
13864         * lastfiles.h: inherit privately from noncopyable
13865         * layout.h: ditto
13866         * lyx_gui.h: ditto
13867         * lyx_main.h: ditto
13868         * lyxlex.h: ditto
13869         * lyxlex_pimpl.h: ditto
13870
13871         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13872         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13873         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13874
13875         * LyXAction.h: inherit privately from noncopyable, add methods
13876         func_begin, func_end, returning iterators to the func map.
13877
13878         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13879         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13880         (func_begin): new method
13881         (func_end): new method
13882
13883         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13884         and not)
13885         (copySelection): ditto
13886         (pasteSelection): ditto
13887
13888         * BufferView.C: whitespace change
13889         * BufferView.h: inherit privately from noncopyable
13890
13891 2001-04-16  Allan Rae  <rae@lyx.org>
13892
13893         * tabular-old.C (l_getline):
13894         * spellchecker.C (sc_check_word):
13895         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13896         an unrecognised preprocessor directive.  So ensure they're wrapped.
13897
13898 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13899
13900         * src/exporter.C (Export): Give an error message when path to file
13901         contains spaces.
13902
13903 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13904
13905         * LaTeX.C (deplog): Always check that foundfile exists.
13906
13907 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13908
13909         * lyx_main.h:
13910         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13911
13912 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13913
13914         * tabular.[Ch] (getLabelList): implement new method
13915
13916         * minibuffer.h: comment ouf setTiimer
13917
13918         * minibuffer.C (ExecutingCB): constify res
13919         (peek_event): constify s
13920         (Set): constify ntext
13921         (Init): constify nicename
13922
13923         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13924
13925         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13926         (savePosition): use two params to Minibuffer::Set
13927         (restorePosition): ditto
13928
13929 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13930
13931         * lyx_main.C: include language.h
13932
13933         * Makefile.am (lyx_main.o): add language.h
13934
13935 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13936
13937         * exporter.C:
13938         * paragraph.C:
13939         * screen.C:
13940         * tabular.C:
13941         * CutAndPaste.C: include gettext.h
13942
13943         * lyxfont.h: remove old hack with ON and OFF.
13944
13945         * lyxparagraph.h:
13946         * lyxfont.h: do not include language.h...
13947
13948         * BufferView2.C:
13949         * LaTeXFeatures.C:
13950         * Painter.C:
13951         * bufferview_funcs.C:
13952         * font.C:
13953         * lyxfont.C:
13954         * text.C:
13955         * text2.C:
13956         * trans_mgr.C:
13957         * paragraph.C: ... but do it here instead
13958
13959 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13960
13961         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13962
13963         * tabular.C: small reformat
13964
13965         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13966         NEW_INSETS version
13967         (GetChar): ditto
13968         (BreakParagraph): ditto
13969         (SetOnlyLayout): ditto
13970         (SetLayout): ditto
13971
13972         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13973         with one arg less.
13974
13975         * lastfiles.C: removed most using decl, add std:: where needed
13976
13977         * buffer.C: ws changes
13978
13979         * MenuBackend.C (class compare_format): put into anon namespace
13980         (expand): constify label, names, action, action2
13981         (expand):
13982
13983         * text.C (SingleWidth): constify font
13984         (IsBoundary): constify rtl2
13985         (GetVisibleRow): constify ww
13986
13987         * LaTeX.C (deplog): constify logfile
13988
13989         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13990         start_x, end_x
13991         (workAreaExpose): constify widthChange, heightChange
13992
13993         * lyxrow.C (par): moved
13994         (height): moved
13995         (next): moved
13996         * lyxrow.h: as inlines here
13997
13998         * lyxfont.h (shape): moved from lyxfont.C
13999         (emph): moved from lyxfont.C
14000
14001         * lyxfont.C (LyXFont): use initialization list for all
14002         constructors
14003         (shape): move to lyxfont.h as inline
14004         (emph): move to lyxfont.h as inline
14005
14006
14007 2001-04-04  Juergen Vigna  <jug@sad.it>
14008
14009         * vspace.C: had to include stdio.h for use of sscanf
14010
14011 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
14012
14013         * BufferView.h:
14014         * BufferView_pimpl.h: remove xforms cruft. Both classes are
14015         independent of xforms.
14016
14017 2001-04-02  Juergen Vigna  <jug@sad.it>
14018
14019         * spellchecker.C: fixed namespace placing!
14020
14021 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
14022
14023         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14024         the LyXParagraph * is 0.
14025
14026 2001-03-29  Juergen Vigna  <jug@sad.it>
14027
14028         * vspace.C: added support for %, c%, p%, l%.
14029         (stringFromUnit): added helper function.
14030         (asLatexString): changed to give right results for the %-values.
14031
14032         * buffer.C: convert the widthp in a width%.
14033
14034 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
14035
14036         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14037         figureForm.[Ch].
14038
14039         * figureForm.[Ch]: stripped the FD_from_figure manipulation
14040         code out of lux_cb.[Ch], ready for its (imminent?) removal.
14041
14042         * lyx_cb.[Ch]: see above.
14043
14044         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14045         form1.[Ch].
14046
14047         * form1.[Ch]:
14048         * lyx.[Ch]: replaced by figure_form.[Ch].
14049
14050         * lyx_gui.C:
14051         * lyx_gui_misc.C:
14052         * lyxfunc.C: changed headers associated with above changes.
14053
14054 2001-03-27  Juergen Vigna  <jug@sad.it>
14055
14056         * BufferView_pimpl.C: set the temporary cursor right!
14057
14058 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
14059
14060         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14061
14062 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
14063
14064         * LString.h: removed "using std::getline"!
14065
14066         * BufferView_pimpl.C (Dispatch): changes due to changes in
14067         InsetInclude::Params.
14068
14069         * buffer.C (tag_name): removed redundant break statements as they were
14070         producing lots of warnings with my compiler.
14071
14072 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14073
14074         * LString.h: add "using std::getline" when using the real <string>.
14075
14076 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
14077
14078         * buffer.C: removed bitset usage.
14079         PAR_TAG moved to an anonymous name space.
14080         (tag_name): new funtion, also in the anonymous namespace.
14081         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14082         (makeDocBookFile): clean code. Completed transition from string arrays
14083         to string vectors.
14084         (SimpleDocBookOnePar): code clean.
14085
14086 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14087
14088         * tabular.C: add some comments.
14089
14090 2001-03-22  Juergen Vigna  <jug@sad.it>
14091
14092         * buffer.C (parseSingleLyXformat2Token): redone the minipage
14093         compatibility read a bit and fixed bug with minipage in different
14094         depth.
14095
14096 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
14097
14098         * buffer.C (pop_tag): removed.
14099         (push_tag): removed.
14100         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14101         array replaced with vector. Added support for CDATA sections.
14102         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14103         at any nest level.
14104         (makeDocBookFile): XML conformant declaration of CDATA section,
14105         fixed bug related to <emphasis> in the first paragraph char.
14106         (sgmlOpenTag): exclude empty tags.
14107         (sgmlCloseTag): ditto.
14108
14109         * buffer.h (pop_tag): removed.
14110         (push_tag): removed.
14111
14112 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
14113
14114         * language.h (Languages): added size_type and size().
14115
14116 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14117
14118         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14119         response on compability reading of minipages. One probliem is that
14120         the old usage of minipages was «flertydig»
14121
14122         * several files here and in subdirs: don't use static at file
14123         scope use anon namespaces instead.
14124
14125 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
14126
14127         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14128         LaTeX output. This is necessary for Literate document
14129         processing.
14130
14131 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14132
14133         * buffer.C: insert hfill when needed.
14134
14135         * tabular.C (l_getline): use string::erase, small whitespace change.
14136
14137         * BufferView_pimpl.C: try the anon namespace.
14138         * WorkArea.C: ditto
14139
14140 2001-03-16  Juergen Vigna  <jug@sad.it>
14141
14142         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14143         otherwise it won't open options-dialogs.
14144
14145         * buffer.C: honor pextraWidth(p) on converting minipages.
14146
14147         * tabular.C (l_getline): changed the functions to strip trailing \r.
14148
14149 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
14150
14151         * BufferView_pimpl.C:
14152         * minibuffer..C: added "using SigC::slot" declaration.
14153
14154 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14155
14156         * lyxlex_pimpl.h: noncopyable is in namespace boost.
14157
14158         * text2.C: ditto
14159
14160         * text.C: ditto
14161
14162         * paragraph.C: ditto
14163
14164         * lyxtext.h: NO_PEXTRA
14165
14166         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14167
14168         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14169         * ParameterStruct.h: ditto
14170         * ParagraphParameters.h: ditto
14171         * lyxparagraph.h: ditto
14172
14173 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14174
14175         * buffer.C: add compability for minipage alignment.
14176         (latexParagraphs): remove unwanted pextra check.
14177
14178         * several files: remove CXX_WORKING_NAMESPACES
14179
14180         * buffer.C (pop_tag): tie is in namespace boost
14181
14182         * BufferView.h: noncopyable is in namespace boost
14183         * lyxlex.h: ditto
14184         * lyx_main.h: ditto
14185         * lyx_gui.h: ditto
14186         * layout.h: ditto
14187         * lastfiles.h: ditto
14188         * bufferlist.h: ditto
14189         * ShareContainer.h: ditto
14190         * LyXView.h: ditto
14191         * LyXAction.h: ditto
14192         * LaTeX.h: ditto
14193
14194 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14195
14196         * Merging changes from BRANCH_MVC back into HEAD.
14197
14198         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14199
14200 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
14201
14202         * BufferView_pimpl.C: change from intl.C
14203
14204         * combox.h:
14205         * combox.C:
14206         * Makefile.am: move combox.*
14207
14208         * form1.h:
14209         * form1.C:
14210         * lyx_gui.C:
14211         * intl.h:
14212         * intl.C: remove dialog (covered by prefs)
14213
14214 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14215
14216         * lyxfunc.C (Dispatch): removed redundant break statement.
14217
14218 2001-03-14  Juergen Vigna  <jug@sad.it>
14219
14220         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14221
14222 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14223
14224         * buffer.C: add hack to fix compability reading of minipages.
14225
14226 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
14227
14228         * buffer.C (getLists): Cleanup.
14229
14230 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14231
14232         * lyxfont.C (update): don't honor toggleall on font size.
14233
14234 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
14235
14236         * bmtable.c:
14237         * bmtable.h:
14238         * Makefile.am: moved to frontends/xforms/
14239
14240         * lyx_gui_misc.C:
14241         * lyxfunc.C:
14242         * BufferView_pimpl.C: changes for moved mathpanel
14243
14244 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14245
14246         * gettext.h: fix gettext_init() in --disable-nls
14247
14248 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14249
14250         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14251
14252 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
14253
14254         * lyx.C:
14255         * lyx.h: strip external form
14256
14257 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14258
14259         * BufferView_pimpl.C: add comment, destroySplash()
14260
14261 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14262
14263         * BufferView_pimpl.C:
14264         * LyXAction.C:
14265         * buffer.C:
14266         * commandtags.h:
14267         * lyxfunc.C: use re-worked insetinclude
14268
14269 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14270
14271         * buffer.C: add using std::stringstream.
14272
14273         * lyx_cb.C: readd using std::ios.
14274
14275         * buffer.C: add using std::map.
14276
14277         * BufferView_pimpl.C: add using std::vector.
14278
14279         * ShareContainer.h: add std:: to swap.
14280
14281         * buffer.h: add some typedefs
14282         * buffer.C (getLists): use them
14283         (getLists): renamed from getTocList.
14284         add a counter for the different float types and use it in the
14285         generated string.
14286         (getLists): use the same counter for the NEW_INSETS and the "non"
14287         NEW_INSETS
14288
14289         * lyx_cb.h: remove unused items, includes, using etc.
14290
14291         * ShareContainer.h: remove some commented code, add more comments
14292         and "documentation".
14293
14294 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14295
14296         * buffer.C (getTocList): make the list also when NEW_INSETS is
14297         defined.
14298
14299         * buffer.h: remove TocType
14300
14301         * buffer.C (getTocList): change to return a map<string,
14302         vector<TocItem> >, implement for dynamic number of list.
14303
14304         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14305         * text2.C (PasteSelection): adjust
14306         * CutAndPaste.C (pasteSelection): adjust
14307
14308         * FloatList.C (FloatList): update from the new_insets branch.
14309         * Floating.[Ch]: ditto
14310         * LaTeXFeatures.C: ditto
14311         * buffer.C: ditto
14312         * lyxlex_pimpl.C: ditto
14313
14314         * paragraph.C (Last): remove when NEW_INSETS is defined.
14315
14316         * other file: changes because of the above.
14317
14318 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14319
14320         * lyxparagraph.h: rename next to next_, previous to previous_,
14321         make them private for NEW_INSETS. Rename Next() to next(),
14322         Previous() to previous().
14323
14324         * other files: changes because of the above.
14325
14326 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
14327
14328         * BufferView.h:
14329         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14330         problem.
14331
14332 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14333
14334         * main.C (main): pass lyx_localedir to gettext_init().
14335
14336         * gettext.h: remove locale_init and gettext_init macros
14337
14338         * gettext.C (locale_init): new function
14339         (gettext_init): new function
14340
14341         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14342         setlocale().
14343
14344 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
14345
14346         * Moved credits to frontends:
14347         * credits.[Ch]: removed
14348         * credits_form.[Ch]: removed
14349         * lyx_gui_misc.C: remove credits stuff
14350         * Makefile.am:
14351
14352 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14353
14354         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14355
14356         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14357         unneeded destructor.
14358
14359         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14360         a standalone pointer again.
14361
14362         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14363
14364 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
14365
14366         * Makefile.am:
14367         * filedlg.h:
14368         * filedlg.C:
14369         * LyXAction.C:
14370         * ToolbarDefaults.C:
14371         * bufferlist.C:
14372         * commandtags.h:
14373         * form1.C:
14374         * form1.h:
14375         * lyx_cb.C:
14376         * lyx_cb.h:
14377         * lyxfunc.h:
14378         * lyxfunc.C:
14379         * BufferView_pimpl.C: use new file dialog in GUII
14380
14381         * lyx_cb.h:
14382         * lyx_cb.C: remove LayoutsCB to Toolbar
14383
14384 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14385
14386         * ShareContainer.h (get): add std:: qualifier
14387
14388 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14389
14390         * ShareContainer.h: define a proper ShareContainer::value_type
14391         type (and use typename to please compaq cxx)
14392
14393 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14394
14395         * lyxparagraph.h: move serveral local vars to
14396         ParameterStruct/ParagraphParameters., use ShareContainer in
14397         FontTable., make vars in FontTable private and add getter and
14398         setter.
14399
14400         * paragraph.C: changes because of the above.
14401
14402         * lyxfont.h: remove copy constructor and copy assignment. (the
14403         default ones is ok), move number inside FontBits. move inlines to
14404         lyxfont.C
14405
14406         * lyxfont.C: add number to initializaton of statics, move several
14407         inlines here. constify several local vars. some whitespace
14408         cleanup. Dont hide outerscope variables.
14409
14410         * Spacing.h: add two new constructors to match the set methods.
14411
14412         * ShareContainer.h: new file, will perhaps be moved to support
14413
14414         * ParameterStruct.h: new file
14415
14416         * ParagraphParameters.h: new file
14417
14418         * ParagraphParameters.C: new file
14419
14420         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14421         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14422
14423         * BufferView_pimpl.C: ParagraphParameter changes.
14424         * buffer.C: Likewise.
14425         * bufferview_funcs.C: Likewise.
14426         * text.C: Likewise.
14427         * text2.C: Likewise.
14428
14429 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14430
14431         * lyxfind.C (LyXReplace): do not redefine default argument in
14432         implementation.
14433         (IsStringInText): ditto
14434         (SearchForward): ditto
14435         (SearchBackward): ditto
14436
14437 2001-03-06  Juergen Vigna  <jug@sad.it>
14438
14439         * lyxfind.C (IsStringInText): put parentes around expressions.
14440
14441 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
14442
14443         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14444
14445 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
14446
14447         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14448
14449         * stl_string_fwd.h: add comment
14450
14451         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14452
14453         * tabular.h:
14454         * tabular.C: remove unused DocBook methods
14455
14456         * intl.C:
14457         * language.C:
14458         * paragraph.C:
14459         * buffer.C:
14460         killed DO_USE_DEFAULT_LANGUAGE
14461
14462 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14463
14464         * lyx_gui.C: do not include language.h.
14465
14466         * bufferview_funcs.C (ToggleAndShow): do not provide optional
14467         arguments in function implementation.
14468
14469 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14470
14471         * BufferView_pimpl.C: add <ctime>
14472
14473 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14474
14475         * BufferView_pimpl.C: add using std::find_if
14476
14477 2001-02-27  José Matos  <jamatos@fep.up.pt>
14478
14479         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14480         by OnlyPath.
14481
14482 2001-02-11  José Matos  <jamatos@fep.up.pt>
14483
14484         * buffer.C (makeDocBookFile): command styles now have a parameter as
14485         "title" by default.
14486
14487 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
14488
14489         * layout_forms.[Ch]: removed
14490         * lyx_cb.[Ch]: out character
14491         * lyx_gui.C: out character
14492         * lyx_gui_misc.C: out character
14493         * bufferview_funcs.C: : out character,
14494         added toggleall as parameter in ToggleAndShow
14495
14496 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
14497
14498         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14499
14500         * text2.C (SetCurrentFont): Disable number property at boundary.
14501
14502 2001-02-26  Juergen Vigna  <jug@sad.it>
14503
14504         * lyxfunc.C (getStatus): added a string argument override function so
14505         that this is correctly called from LyXFunc::Dispatch if it contains a
14506         do_not_use_argument which is used!
14507         (Dispatch): added check for "custom" export and call appropriate func.
14508
14509 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
14510
14511         * lyxrc.C: Add language_command_local, language_use_babel and
14512         language_global_options.
14513
14514         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14515
14516         * buffer.C (makeLaTeXFile): Use language_use_babel and
14517         language_global_options.
14518
14519 2001-02-23  Juergen Vigna  <jug@sad.it>
14520
14521         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14522         which works with LyXText and putted it inside BufferView. Here now we
14523         only call for that part the BufferView::Dispatch() function.
14524
14525         * BufferView.C (Dispatch): added.
14526
14527         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14528         functions which needs to use a LyXText over from LyXFunc.
14529         (MenuInsertLyXFile): added
14530         (getInsetByCode): added
14531         (moveCursorUpdate): added
14532         (static TEXT): added
14533
14534 2001-02-22  Juergen Vigna  <jug@sad.it>
14535
14536         * BufferView_pimpl.C (update): call a status update to see if LyXText
14537         needs it.
14538
14539 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14540
14541         * vc-backend.C (revert): implement for CVS
14542         (getLog): implement for CVS
14543
14544 2001-02-20  Juergen Vigna  <jug@sad.it>
14545
14546         * text2.C (ClearSelection): added BufferView param for inset_owner call
14547
14548         * lyxfunc.C (TEXT): added this function and use it instead of
14549         directly owner->view()-text of getLyXText().
14550
14551 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
14552
14553         * src/layout_forms.C: out preamble
14554         * src/layout_forms.h: out preamble
14555         * src/lyx_cb.C: out preamble
14556         * src/lyx_cb.h: out preamble
14557         * src/lyx_gui.C: out preamble
14558         * src/lyx_gui_misc.C: out preamble
14559         * src/lyxfunc.C: connect with guii preamble
14560
14561 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
14562
14563         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14564
14565 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
14566
14567         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14568         whether to run bibtex.
14569
14570 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
14571
14572         * Makefile.am (lyx_SOURCES): Remove BackStack.h
14573
14574 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14575
14576         * Makefile.am (lyx_SOURCES): removed bibforms.h
14577
14578         * vspace.h: doxygen
14579
14580         * text.C (GetVisibleRow): make several local vars const
14581
14582         * tabular.C: small cleanup.
14583
14584         * lyxserver.C (callback): use compare instead of strncmp
14585
14586         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14587         inlines to after class or to paragraph.C
14588
14589         * lyxfont.h: remove friend operator!=
14590
14591         * converter.h: move friend bool operator< to non friend and after
14592         class def.
14593
14594         * combox.h: small cleanup
14595
14596         * buffer.h: doxygen, remove unused constructor, move inclas inlies
14597         to inlines after class def.
14598
14599         * buffer.C (pop_tag): use string operations instead of strcmp
14600
14601         * bmtable.c: doxygen, small cleanup
14602
14603         * LaTeX.h: remove friend operator==
14604
14605 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
14606
14607         * screen.C:
14608         * lyxrc.[Ch]:
14609         * lyxfunc.C:
14610         * lyxfont.[Ch]:
14611         * lyx_cb.C:
14612         * intl.[Ch]:
14613         * commandtags.h:
14614         * buffer.C:
14615         * WorkArea.[Ch]:
14616         * LyXAction.C:
14617         * BufferView_pimpl.C:
14618         * BufferView.[Ch]: remove cruft
14619
14620 2001-02-14  Juergen Vigna  <jug@sad.it>
14621
14622         * lyxfunc.C: removed #if 0 unused code
14623
14624         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14625
14626         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14627
14628         * text2.C (SetSelection): added a BufferView * parameter
14629
14630 2001-02-13  Juergen Vigna  <jug@sad.it>
14631
14632         * lyxfunc.C (Dispatch): fixed protected blank problem.
14633         * BufferView2.C (protectedBlank): added LyxText * parameter.
14634
14635         * tabular.C (AppendRow): forgot to set row_info of newly added row.
14636         (AppendColumn): same as above for column_info.
14637
14638         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14639         (moveCursorUpdate): use a LyXText param for support of InsetText.
14640
14641         * BufferView_pimpl.C (doubleClick): added support for InsetText.
14642         (tripleClick): ditto
14643
14644         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14645
14646         * BufferView_pimpl.C (update): added LyXText param to honor insets.
14647
14648         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14649
14650         * text2.C (SetSelection): set correct update status if inset_owner
14651         (ToggleFree): ditto
14652
14653 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
14654
14655         * tabular.C: remove some commented code.
14656
14657 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
14658
14659         * BufferView_pimpl.C: call hideSplash()
14660
14661         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14662
14663         * include_form.h:
14664         * bibforms.h: remove
14665
14666         * lyxfunc.C:
14667         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14668           add LFUN_CHILD_CREATE
14669
14670         * counters.h: fix tiny typo
14671
14672         * lyx_cb.C:
14673         * lyx.h:
14674         * lyx_gui.C:
14675         * lyx.C: move splash to frontends/xforms/
14676
14677         * lyx_gui_misc.C: move Include and Bibform to frontends
14678
14679         * lyxvc.h: clarify comment
14680
14681         * vspace.C: tiny housekeeping
14682
14683 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
14684
14685         * text.C (PrepareToPrint): RTL Fix.
14686
14687         * paragraph.C (GetUChar): New method.
14688         (String):  Use GetUChar.
14689
14690         * buffer.C (asciiParagraph): Use GetUChar.
14691
14692 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
14693
14694         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14695
14696 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
14697
14698         * buffer.h:
14699         * buffer.C: rename to getLogName(), handle
14700           build log / latex log nicely
14701
14702 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14703
14704         * MenuBackend.C:
14705         * MenuBackend.h: remove support for reference menuitem type.
14706
14707 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
14708
14709         * BufferView_pimpl.C: housekeeping
14710         * BufferView_pimpl.h:
14711         * LyXView.h:
14712         * Makefile.am:
14713         * Timeout.C:
14714         * Timeout.h:
14715         * minibuffer.h: move Timeout GUI-I
14716
14717 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
14718
14719         * lyxrc.C (read): Update converters data-structures.
14720
14721 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
14722
14723         * LaTeX.h (operator!=): add operator != for Aux_Info
14724
14725 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
14726
14727         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14728
14729         * LaTeXLog.C: deleted, useful code moved to Buffer
14730
14731         * buffer.h:
14732         * buffer.C: new function getLatexLogName()
14733
14734         * lyx_gui_misc.C:
14735         * lyx_gui.C:
14736         * lyxvc.C:
14737         * lyxvc.h:
14738         * lyxfunc.C: use frontends for LaTeX and VC logs
14739
14740 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14741
14742         * LaTeX.h: yet another std:: that Allan forgot.
14743
14744         * Variables.C (set): renamed from isset(), because this clashes
14745         with some HP-UX macros (grr).
14746
14747 2001-02-06  Allan Rae  <rae@lyx.org>
14748
14749         * LaTeX.h: Another bug fix.  Missing std:: this time.
14750
14751 2001-02-04  Allan Rae  <rae@lyx.org>
14752
14753         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14754         floats problem. I've left it commented out because it's not quite
14755         correct.  It should also test that the current object is a table or
14756         figure inset.  But I haven't gotten around to figuring out how to do
14757         that.  I *think* it'll be something like: "table" == inset.type()
14758
14759         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14760         bool.
14761
14762 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
14763
14764         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14765         all the citation/databases/styles in the auxilary file.
14766         (run): Rerun latex if there was a babel language error.
14767
14768 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
14769
14770         * text.C (Backspace): Preserve the font when changing newline char
14771         with a space.
14772         (BreakParagraph): If the cursor is before a space, delete the space.
14773
14774         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14775
14776 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
14777
14778         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14779         new argument (code).
14780         (ChangeCitationsIfUnique): New method.
14781
14782         * paragraph.C (GetPositionOfInset): Handle bibkey.
14783
14784 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14785
14786         * BufferView_pimpl.h: change type of Position::par_pos to
14787         LyXParagraph::size_type.
14788
14789 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
14790
14791         * BufferView_pimpl.C (savePosition, restorePosition): Write
14792         messages to minibuffer.
14793
14794 2001-01-28  José Matos  <jamatos@fep.up.pt>
14795
14796         * buffer.C (makeDocBookFile): adds support for document language.
14797         A silly restriction on the name of LatexCommand types where removed.
14798         Added support for CDATA sections, allows to chars unescaped, used
14799         among others in code, to avoid escape < and >.
14800
14801 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14802
14803         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14804         saved positions instrad of a stack. Furthermore, a position is
14805         stored using paragraph id/paragraph position.
14806
14807         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14808         Remove LFUN_REF_BACK.
14809
14810 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14811
14812         * converter.C (dvipdfm_options): New method.
14813
14814 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14815
14816         * vspace.C (isValidLength): Fix for empty input string.
14817
14818 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14819
14820         * LyXAction.C (init): change description of LFUN_FIGURE to
14821         "Insert Graphics"
14822
14823 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14824
14825         * LaTeX.C: add using directive
14826
14827 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14828
14829         * MenuBackend.C (expand): Fix the sorting of the formats.
14830
14831 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14832
14833         * lyx_main.C: tiny error message fix
14834
14835 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14836
14837         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14838         calling fl_initialize(). This fixes the problem with ',' as
14839         decimal separator in text files.
14840
14841 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14842
14843         * trans.C (process): Fix the keymap bug.
14844
14845 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
14846
14847         * LaTeX.C (scanAuxFiles): New method. Provides support for
14848         multiple bibliographies (when using the bibtopic/bibunits pacakges).
14849         (scanLogFile) Scan for "run BibTeX" messages.
14850
14851         * buffer.C (makeLaTeXFile): Do not load the ae package when using
14852         OT1 font encoding. Also, load the aecompl package if the ae
14853         package is loaded.
14854
14855         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14856
14857 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14858
14859         * texrow.C (increasePos): turn two error messages into debug
14860         messages.
14861
14862 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
14863
14864         * LaTeX.C (scanAux): Handle the \@input macro.
14865         (runBibTeX): Use scanAux().
14866
14867         * language.C (latex_options_): New field.
14868
14869         * LaTeXFeatures.C (getMacros): Add language macros.
14870
14871         * buffer.C (makeLaTeXFile): Small fix.
14872
14873 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14874
14875         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14876
14877         * text2.C: add a using directive.
14878
14879 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14880
14881         * BufferView2.C:
14882         * lyx_gui_misc.h:
14883         * lyxfr1.C:
14884         * lyxfunc.C: kill LyXBell.
14885
14886 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14887
14888         * text.C (IsBoundary): Remove the error message
14889
14890         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14891
14892         * lyxrc.C (setDefaults): Correct initialization value for
14893         font_norm_type.
14894
14895 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14896
14897         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14898         gotoError().
14899
14900         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14901         and GotoNextNote().
14902
14903         * src/LyXAction.C: Added reference-next.
14904
14905         * text.C (InsertChar): Use contains instead of strchr.
14906
14907         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14908
14909 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14910
14911         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14912         alignment commands (when needed).
14913
14914         * text.C (InsertChar): Add ':' to number separator chars.