]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
fix small error (bug 1533)
[lyx.git] / src / ChangeLog
1
2 2004-03-11  André Pönitz  <poenitz@gmx.net>
3
4         * buffer.[Ch]: use InsetText instead of LyXText as container for 
5         the main lyx text.
6
7         * dociterator.[Ch]: drop the BufferView * member which is not needed
8         anymore after the change to buffer.C
9
10         * paragraph_funcs.C:
11         * text.C:
12         * text2.C:
13         * BufferView.[Ch]:
14         * BufferView_pimpl.[Ch]:
15         * cursor.[Ch]:
16         * cursor_slice.[Ch]: adjust
17
18         * text3.C: fix bug in mathDispatch
19
20 2004-03-08  André Pönitz  <poenitz@gmx.net>
21
22         * undo.[Ch]: use 'StableDocumentIterator' as base for
23         the Undo struct.
24
25 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
26
27         * LaTeXFeatures.C:
28         * bufferparams.[Ch]: add jurabib support and param.
29
30         * LaTeX.C: add FIXME/comment.
31
32 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
33
34         * buffer.C: increment file format to 230.
35
36 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
37
38         * cursor.C (dispatch): avoid infinite loops
39
40 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
41
42         * rowpainter.C (paintSelection): fix x coordinates
43
44 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
45
46         * text.C (rowBreakPoint): fix breaking before displayed insets
47
48 2004-03-01  André Pönitz  <poenitz@gmx.net>
49
50         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
51
52         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
53
54         * Makefile.am:
55         * BufferView.C:
56         * BufferView_pimpl.C:
57         * buffer.C:
58         * lyxfind.C:
59         * lyxfunc.C:
60         * text.C:
61         * text2.C:
62         * text3.C: adjust
63
64 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
65
66         * lyxtext.h:
67         * text.C:
68         * text2.C:
69         * rowpainter.C:
70         * BufferView_pimpl.C: rename textwidth -> maxwidth, 
71         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
72
73 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
74
75         * Bidi.[Ch] (computeTables): const correctness
76         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
77         fill_hfill, fill_label_hfill and x from Row
78         * lyxtext.h: prepareToPrint returns a RowMetrics
79         * rowPainter.C: adjust
80         * text.C (prepareToPrint): use width, not textWidth. adjust
81         (redoParagraphInternal, cursorX): adjust
82         * text2.C (getColumnNearX): adjust
83         (init): put a default value to the top LyXText::width
84
85 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
86
87         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here 
88
89 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
90
91         * lyxtext.h: add FontIterator class 
92
93         * text.C (FontIterator, operator*, operator->, operator++): add
94         (rowBreakPoint, setRowWidth): adjust (fixing a
95         rebreaking bug)
96
97 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
98
99         * BufferView_pimpl.C (workAreaDispatch): allow also
100         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
101
102 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
103
104         * text.C (rowBreakPoint): fix a bug showing with very large insets
105
106 2004-02-25  André Pönitz  <poenitz@gmx.net>
107
108         * text3.C:
109         * cursor.[Ch]: move some mathed specific code to mathed
110
111 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
112
113         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
114         use_tempdir in preferences
115         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
116         tempfile creation
117         * lyx_main.C: ensure that tempdir is valid
118         * lyxlex.h: correct typo
119         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
120         * paragraph.[Ch] (isMultiLingual): make const
121         * cursor.[Ch] (openable): make const
122
123 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
124
125         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
126
127 2004-02-20  André Pönitz  <poenitz@gmx.net>
128
129         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
130
131         * cursor.[Ch]: prepare for localized getStatus()
132
133         * lyxtext.h:
134         * tabular.C:
135         * text.C:
136         * text2.C:
137         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
138
139 2004-02-20  André Pönitz  <poenitz@gmx.net>
140
141         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
142
143 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
144
145         * text2.C (setCursorFromCoordinates): switch to absolute coords
146         (cursorUp): adjust
147         (cursorDown): adjust
148         * text3.C (dispatch): adjust
149
150 2004-02-16  André Pönitz  <poenitz@gmx.net>
151
152         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
153           insets/ChangeLog)
154
155         * cursor_slice.[Ch]: remove unneeded acessor function
156
157         * lyxtext.h: rename rtl() to isRTL()
158
159         * rowpainter.C:
160         * tabular.C:
161         * text.C:
162         * text2.C:
163         * text3.C: adjust
164
165 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
166
167         * rowpainter.C (paintSelection): coord fix
168
169 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
170
171         * Spacing.C: compile fix
172
173 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
174
175         * cursor.C (dispatch): restore current_ before returning
176
177 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
178
179         * text2.C (cursorUp, cursorDown): fix coords
180         (moveUp): fix crash
181
182 2004-02-12  André Pönitz  <poenitz@gmx.net>
183
184         * lyxtext.h:
185         * text.C:
186         * text2.C:
187         * text3.C: add LCursor & parameter to most cursor movement functions
188           remove usage of LyXText::cursorRow() and cursorPar()
189
190         * cursor.[Ch]: add textRow() needed members
191
192         * BufferView.C:
193         * BufferView_pimpl.C:
194         * paragraph.[Ch]:
195         * BufferView.C:
196         * BufferView_pimpl.C: adjust
197
198 2004-02-11  André Pönitz  <poenitz@gmx.net>
199
200         * lyxfunc.C:
201         * BufferView.[Ch]:
202         * BufferView_pimpl.C: shift undo/redo handling
203
204         * cursor.[Ch]: fix mathed crash
205
206         * lyxfind.C:
207         * lyxtext.h: move selectionAsText to LCursor
208
209         * output_latex.C:
210         * paragraph.C:
211         * text.C:
212         * text2.C:
213         * text3.C: adjust
214
215         * rowpainter.C: fix excessive drawing
216
217 2004-02-06  André Pönitz  <poenitz@gmx.net>
218
219         * BufferView.[Ch]:
220         * BufferView_pimpl.[Ch]:
221         * text3.C: move some text specific LFUN handling
222
223 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
224
225         * text3.C (checkInsetHit): adjust coords
226         * text2.C (getColumnNearX): adjust coords
227         (edit): adjust coords
228         * text.C (getRowNearY): add two asserts
229
230 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
231
232         * converter.C:
233         * format.C: add using std::distance to compile on gcc 2.95/stlport
234
235 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
236
237         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
238
239 2004-02-04  André Pönitz  <poenitz@gmx.net>
240
241         * BufferView.[Ch] (insertInset):
242         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value 
243
244         * text2.C:
245         * text3.C: adjust
246
247 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
248
249         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch 
250         on the default clause of the switch
251         * lyxfunc.C (dispatch): call BufferView::dispatch if the event 
252         wasn't catched by LCursor::dispatch
253
254 2004-02-03  André Pönitz  <poenitz@gmx.net>
255
256         * BufferView.C:
257         * cursor.[Ch]: some additional asserts
258
259         * undo.[Ch]: remove LyXText dependency in interface
260
261         * lyxfunc.C: adjust
262
263         * lyxtext.h (firstPar, lastPar): remove dead functions 
264
265         * text.C:
266         * text2.C:
267         * text3.C:
268         * paragraph.[Ch]: adjust
269
270 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
271
272         * lyxfind.C (find): fix argument order in call to ::find
273
274 2004-02-02  André Pönitz  <poenitz@gmx.net>
275
276         * cursor.[Ch]: remove direct access to anchor
277
278         * text.C: remove findText() hack
279
280 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
281
282         * iterators.[Ch] (lockPath): remove in favour of...
283         * BufferView.[Ch] (setCursor): this addition
284         * BufferView.C (putSelectionAt): adjust
285         * undo.C (performUndoOrRedo): adjust
286         * lyxfunc.C (dispatch): adjust
287
288 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
289
290         * iterators.C (lockPath): add a missing slice
291         * undo.C (performUndoOrRedo): remove redundant positioning code
292
293 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
294
295         * vc-backend.C (scanMaster): ";" -> ';'
296
297 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
298
299         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
300         std::binary_function
301
302         * lyxtextclass.C (compare_name): rename to...
303         (LayoutNamesEqual): ...this
304
305         * lyxlex_pimpl.C (compare_tags): inherit from
306         std::binary_function, put back into anon namespace
307
308         * lyxfind.C (MatchString): inherig from std::binary_function
309         (findChange): use empty() istead of !size()
310
311         * format.C (FormatNamesEqual): new functor
312         (getFormat): use it
313         (getNumber): use it
314         (add): use it
315         (erase): use it
316         (setViewer): use it
317
318         * converter.C (compare_Converter): rename to...
319         (ConverterEqual): ...this, and fixup a bit.
320         (getConverter): use it, and make function const
321         (getNumber): use it, and make function const
322         (add): use it
323         (erase): use it:
324
325         * bufferlist.C: add using boost::bind
326
327         * MenuBackend.C (MenuNamesEqual): new functor
328         (hasMenu): use it, and make function const
329         (hasSubmenu): use nested bind to get rid of compare_memfun.
330
331 2004-01-30  André Pönitz  <poenitz@gmx.net>
332
333         * BufferView_pimpl.C:
334         * cursor.C:
335         * cursor.h:
336         * cursor_slice.[Ch]:
337         * lyxfunc.C:
338         * lyxtext.h:
339         * paragraph_funcs.C:
340         * paragraph_funcs.h:
341         * rowpainter.C:
342         * text.C:
343         * text2.C:
344         * text3.C: move some of the edit(x,y) handling to the insets
345         some coordinate changes.
346
347 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
348
349         * text.C: add using statements for std::advance and std::distance
350
351         * paragraph.C: add using statement for std::distance
352
353         * lyxfind.C: add using statement for std::advance
354
355         * cursor.C (region): remove std:: from swap
356         (openable): use nucleus in stead of operator->
357
358         * BufferView.C: add using statements for std::distance and std::swap
359
360 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
361
362         * iterators.C: Remove the pimple, move the needed structures to
363         the header file. Create accessor for the positions stack.
364         (asPosIterator): remove function
365
366         * PosIterator.C (PosIterator): move constructors to top of file
367         (PosIterator): reimplement the constructor taking a ParIterator in
368         terms of setFrom.
369         (setFrom): new function
370         (operator!=): inline it
371
372 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
373
374         * lyxfind.C (replaceAll): use std::advance
375
376         * iterators.h: inherit from std::iterator.
377
378         * PosIterator.C (advance, distance): remove
379         * PosIterator.h: interit from std::iterator.
380
381 2004-01-26  André Pönitz  <poenitz@gmx.net>
382
383         * BufferView.[Ch]:
384         * BufferView_pimpl.[Ch]:
385         * InsetList.[Ch]:
386         * PosIterator.[Ch]:
387         * buffer.h:
388         * bufferview_funcs.C:
389         * cursor.[Ch]:
390         * cursor_slice.h:
391         * factory.[Ch]:
392         * iterators.[Ch]:
393         * lyxfind.C:
394         * lyxfunc.C:
395         * lyxtext.h:
396         * output_docbook.C:
397         * output_latex.C:
398         * output_linuxdoc.C:
399         * output_plaintext.C:
400         * paragraph.[Ch]:
401         * paragraph_funcs.[Ch]:
402         * paragraph_pimpl.[Ch]:
403         * rowpainter.C:
404         * tabular.C:
405         * tabular.h:
406         * text.C:
407         * text2.C:
408         * text3.C: more IU:  dumps most of the rest of the mathcursor
409     implementation into cursor.[Ch]; "globalize" a bit of it.
410
411 2004-01-25  Angus Leeming  <leeming@lyx.org>
412
413         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
414
415 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
416
417         * LaTeXFeatures.h: add nice_ and nice() const
418         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
419
420 2004-01-20  André Pönitz  <poenitz@gmx.net>
421
422         * BufferView.[Ch]:
423         * BufferView_pimpl.C:
424         * PosIterator.C:
425         * bufferview_funcs.C:
426         * cursor.[Ch]:
427         * cursor_slice.[Ch]:
428         * factory.C:
429         * iterators.C:
430         * lyx_cb.C:
431         * lyxfind.C:
432         * lyxfunc.C:
433         * lyxtext.h:
434         * rowpainter.C:
435         * text.C:
436         * text2.C:
437         * text3.C:
438         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
439           LCursor and mathcursor parts to LCursor and InsetBase.
440
441 2004-01-15  André Pönitz  <poenitz@gmx.net>
442
443         * cursor_slice.[Ch]: add a few covienience functions
444
445         * funcrequest.[Ch]: remove BufferView * member
446
447         * BufferView_pimpl.C:
448         * cursor.C:
449         * factory.[Ch]:
450         * lyxfind.[Ch]:
451         * lyxfunc.C:
452         * lyxtext.h:
453         * text3.C:
454         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
455
456 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
457
458         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
459         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
460
461 2004-01-13  André Pönitz  <poenitz@gmx.net>
462
463         * textcursor.[Ch]:
464         * lyxtext.h: hide cursor and selection anchor behind accessor function
465
466         * BufferView.C:
467         * BufferView_pimpl.[Ch]:
468         * PosIterator.C:
469         * bufferview_funcs.C:
470         * cursor.h:
471         * lyxfind.C:
472         * lyxfunc.C:
473         * text.C:
474         * text2.C:
475         * text3.C:
476         * undo.C: adjust
477
478         * cursor.h:
479         * cursor_slice.[Ch]: some integer type changes for inset unification
480
481         * lyxcursor.[hC]: remove, it's CursorSlice now.
482
483         * Makefile.am:
484         * BufferView_pimpl.[Ch]:
485         * bufferview_funcs.C:
486         * cursor_slice.C:
487         * lyxtext.h:
488         * text.C:
489         * text2.C:
490         * text3.C:
491         * textcursor.[Ch]: adjust
492
493 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
494
495         * text2.C (undoSpan): add and use
496         * text.C (breakParagraph): use undoSpan (fix bug 578)
497         * lyxtext.h: adjust
498
499 2004-01-08  Angus Leeming  <leeming@lyx.org>
500
501         * BufferView_pimpl.C (MenuInsertLyXFile):
502         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
503         * lyxfunc.C (menuNew, open, doImport):
504         FileFilterList change to the FileDialog open and save functions.
505
506 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
507
508         * ShareContainer.h: make isEqual and isUnique adaptable
509
510         * CutAndPaste.C: make resetOwnerAndChanges adaptable
511
512 2004-01-07  Angus Leeming  <leeming@lyx.org>
513
514         * LyXAction.C:
515         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
516
517         * BufferView_pimpl.C (dispatch): act on these LFUNs.
518
519         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
520         functions replacing find, replace and replaceAll.
521
522         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
523         LFUN_WORDFIND(FORWARD|BACKWARD).
524
525 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
526
527         * text.C (breakParagraph): remove an outdated #warning
528
529 2004-01-07  André Pönitz  <poenitz@gmx.net>
530
531         * lyxfind.C: somewhat clearer logic
532
533         * text.C: prevent crash in cursorX on unitialized row cache
534
535 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
536
537         * lyxcursor.[Ch] (operator>): add
538         * textcursor.C (selStart, selEnd): use std::min and std::max
539
540 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
541
542         * Chktex.C: include boost/format.hpp
543
544 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
545
546         * InsetList.C: replace functor MathcIt with adaptable functor
547         InsetTablePosLess
548         (insetIterator): modify accordingly
549
550         * BranchList.h: move the BranchNamesEqual functor here from...
551         * BranchList.C: ... to here
552
553         * BranchList.C: new BranchListEqual fuctor, use it. Remove
554         SameName and match.
555         (add): replace a finding loop with std::find_if.
556
557 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
558
559         * output_docbook.C: moving LatexParam functionality into
560         .layout files
561
562 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
563
564         * buffer.C: increment format to 229.
565
566 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
567
568         * LaTeXFeatures.C:
569         * lyx_sty.[Ch]: remove minipageindent_def
570
571         * LyXAction.C:
572         * factory.C:
573         * lfuns.h:
574         * lyxfunc.C:
575         * text3.C: remove LFUN_INSET_MINIPAGE
576
577 2003-12-28  Angus Leeming  <leeming@lyx.org>
578
579         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
580
581 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
582
583         * text2.C (setParagraph): fix off-by-one crash
584
585 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
586
587         * output_docbook.C: header stuff for AGU
588
589 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
590
591         * text2.C (redoCursor): remove
592         * text.C:
593         * text3.C:
594         * BufferView_pimpl.C: remove calls to redoCursor and
595         setCursor(cursor.par(), cursor.pos()) all around
596
597 2003-12-15  Angus Leeming  <leeming@lyx.org>
598
599         * buffer.C: up the format to 228.
600
601 2003-12-15  André Pönitz  <poenitz@gmx.net>
602
603         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
604         slices
605
606         * Makefile.am:
607
608         * BufferView_pimpl.C:
609         * cursor.[Ch]:
610         * lyxcursor.[Ch]:
611         * rowpainter.[Ch]:
612         * lyxtext.h:
613         * text.C:
614         * text2.C:
615         * text3.C: adjust
616
617 2003-12-15  Angus Leeming  <leeming@lyx.org>
618
619         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
620         than getFromGUIName to manipulate the color.
621
622 2003-12-14  Angus Leeming  <leeming@lyx.org>
623
624         * BranchList.[Ch]: minimize the API.
625         (Branch::getBranch, getColor): now return a 'const &'.
626         (Branch::setSelected) now returns a bool set to true if the
627         selection status changes.
628         (BranchList::clear, size, getColor, setColor, setSelected,
629         allBranches, allSelected, separator): removed.
630         (BranchList::find): new functions, returning the Branch with
631         the given name.
632         (BranchList::add, remove): return a bool indicating that
633         the operation was successful.
634
635         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
636         new InsetBranch::isBranchSlected member function.
637
638         * LColor.[Ch]: mimimize the API.
639         (fill): renamed as addColor and made private.
640         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
641         versions of these functions taking a string arg have been removed.
642
643         * bufferparams.C (readToken):
644         * lyxfunc.C (dispatch):
645         * lyxrc.C (read): changes due to the altered BranchList and
646         LColor APIs.
647
648         * factory.C (createInset, readInset): changes due to altered
649         InsetBranch c-tor.
650
651 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
652
653         * factory.C:
654         * lyxfunc.C: remove insetminipage. "minipage-insert"
655         now produces a frameless minipage box inset.
656
657 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
658
659         * textcursor.[Ch] (selStart,selEnd): add new methods
660         remove selection::start, end, use LyXCursor::operator<
661         * lyxcursor.[Ch] (operator<): add
662         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
663         * BufferView.[Ch] (unsetXSel): add
664         * text2.C (clearSelection): use unsetXSel,adjust
665         * text.C: adjust
666         * text3.C: adjust
667         * rowpainter.C: adjust
668         * bufferview_funcs.C (put_selection_at): adjust
669
670 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
671
672         * BufferView_pimpl.C: small coord. correction
673
674 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
675
676         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
677         dragging over the splash screen.
678
679 2003-12-11  Angus Leeming  <leeming@lyx.org>
680
681         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
682         as it is now handled in LyXText::dispatch.
683
684         * text3.C (doInsertInset): remove a level of nesting.
685
686 2003-12-11  Angus Leeming  <leeming@lyx.org>
687
688         * factory.C (createInset): changes due to the changed interface to
689         InsetCommandMailer::string2params.
690
691 2003-12-10  Angus Leeming  <leeming@lyx.org>
692
693         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
694         'dialog-show-new-inset <inset name>'
695
696 2003-12-10  Angus Leeming  <leeming@lyx.org>
697
698         * buffer.C: up the format to 227.
699
700         * factory.C: the box inset is now identified simply by 'Box'.
701
702 2003-12-10  Angus Leeming  <leeming@lyx.org>
703
704         * buffer.C: up the format to 226.
705
706         * factory.C: the note inset is now identified simply by 'Note'.
707
708 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
709
710         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
711         when a pit is enough. Standarize a couple of loops.
712
713 2003-12-05  Angus Leeming  <leeming@lyx.org>
714
715         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
716         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
717         data to the re-worked "log" dialog.
718
719 2003-12-03  André Pönitz  <poenitz@gmx.net>
720
721         * PosIterator.C:
722         * iterators.C:
723         * lyxtext.h:
724         * output_latex.C:
725         * paragraph_funcs.C:
726         * text.C:
727         * text2.C: use Inset::getText instead of Inset::getParagraph
728
729 2003-12-03  André Pönitz  <poenitz@gmx.net>
730
731         * buffer.[Ch]:
732         * lyxtext.h:
733         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
734         InsetText::read() as LyXText::read()
735
736 2003-12-02  Angus Leeming  <leeming@lyx.org>
737
738         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
739         type. Add a comment in the implementation that the function uses
740         the stream's bad() function rather than fail() as the std::streams
741         would do.
742
743 2003-12-02  André Pönitz  <poenitz@gmx.net>
744
745         * lyxlex.[Ch]: make interface more similar to std::stream
746
747         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
748
749 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
750
751         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
752
753 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
754
755         * vspace.[Ch]: remove VSpace::NONE
756
757 2003-12-01  André Pönitz  <poenitz@gmx.net>
758
759         * buffer.[Ch]:
760         * lyxtext.h: move ParagraphList member to LyXText
761         rename LyXText::ownerParagraphs to LyXText::paragraph
762
763         * CutAndPaste.C:
764         * bufferview_funcs.C:
765         * iterators.[Ch]:
766         * lyx_cb.C:
767         * paragraph.C:
768         * rowpainter.C:
769         * tabular.C:
770         * text.C:
771         * text2.C:
772         * text3.C: adjust
773
774         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
775
776         * undo.C: fix cursor positioning
777
778 2003-12-01  John Levon  <levon@movementarian.org>
779
780         * BufferView_pimpl.C: fix a crash on exit with
781         a buffer open
782
783 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
784
785         * BranchList.C: fix setSelected() method.
786
787 2003-11-28  André Pönitz  <poenitz@gmx.net>
788
789         * ParagraphParameters.[Ch]:
790         * ParameterStruct.h: remove space above/below from Paragraph to
791          InsetVSpace
792
793         * BufferView_pimpl.C:
794         * factory.C:
795         * lyxfunc.C:
796         * lyxtext.h:
797         * output_latex.C:
798         * paragraph.C:
799         * paragraph_funcs.C:
800         * rowpainter.[Ch]:
801         * text.C:
802         * text2.C:
803         * text3.C: adjust
804
805 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
806
807         * factory.C: Syntax change for CharStyles
808
809 2003-11-28  André Pönitz  <poenitz@gmx.net>
810
811         * BufferView.[Ch]:
812         * BufferView.[Ch]:
813         * buffer.[Ch]:
814         * buffer.[Ch]: move LyXText member
815
816 2003-11-28  André Pönitz  <poenitz@gmx.net>
817
818         * BufferView.[Ch]: make LyXText * text a private member
819
820         * BufferView_pimpl.C:
821         * cursor.C:
822         * iterators.C:
823         * lyx_cb.C:
824         * lyxfind.C:
825         * lyxtext.h:
826         * rowpainter.[Ch]:
827         * text.C:
828         * text2.C:
829         * undo.C: adjust
830
831         * output_plaintext.C: cleanup
832
833 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
834
835         * buffer.C:
836         * lyxtextclass.[Ch]: parametrize SGML document header
837
838 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
839
840         * converter.[Ch]:
841         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
842         getFlavor().
843
844 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
845
846         * text2.C (setFont): rework using PosIterator (no more recursive)
847         (setCharFont): no more needed
848         (setLayout): no more selection cursors fiddling (done by redoCursor)
849         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
850         destroy remaining ones)
851
852 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
853
854         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
855         * lyxtext.h: ditto
856         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
857         selection cursors
858         * lyxfunc.C: adjust
859         * text3.C: adjust + re-allow multi par depth changes
860         * textcursor.C: simplify a bit
861
862 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
863
864         * src/buffer.C:
865         * src/lyxlayout.C:
866         * src/lyxlayout.h:
867         * src/lyxtext.h:
868         * src/output_docbook.C:
869         * src/output_latex.C:
870         * src/paragraph.C:
871         * src/paragraph.h:
872         * src/sgml.C:
873         * src/sgml.h:
874         * src/text2.C: Introducing a number of tags parametrizing various
875         XML formats that we may want to support
876
877 2003-11-25  André Pönitz  <poenitz@gmx.net>
878
879         * InsetList.[Ch] (begein, end): inline as suggested by profiler
880
881         * lyxtext.h (leftMargin/rightMargin): simplify interface
882
883         * rowpainter.C:
884         * text.C:
885         * text2.C:
886         * text3.C: adjust
887
888 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
889
890         * lyxfunc.C (dispatch): propogate the bibtex databases from the
891         master file to any child files. Fixes bug 546.
892
893 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
894
895         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
896
897 2003-11-24  André Pönitz  <poenitz@gmx.net>
898
899         * rowpainter.C: simplification
900
901         * text2.C (updateCounters): remove call to redoParagraph on
902         changed labels as this is far too expensive.
903
904 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
905
906         * converter.C (convert): fix a crash: this function gets
907         called with buffer == 0 from importer code.
908
909 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
910
911         * text3.C (cursorPrevious): make sure that we do not compare
912         iterators form different containers.
913         (cursorNext): ditto
914
915         * rowpainter.C (paintSelection): make sure that we do not compare
916         iterators from different containers.
917
918         * text3.C (dispatch): [PRIOR] make sure that we do not compare
919         iterators from different ParagraphList containers.
920         [NEXT] ditto
921
922         * text2.C (LyXText): change order of initialization slightly
923         (operator=): new function. copy all variables except cache_par_
924         (moveUp): make sure that we do not compare iterators from
925         different ParagraphList constainers.
926         (moveDown): ditto
927
928         * text.C (firstPar): new function
929         (lastPar): new function
930         (endPar): new function
931
932         * lyxtext.h: move things around and group public functions, public
933         variables, private functions, private variables
934
935 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
936
937         * factory.C: change call to InsetERT constructor to avoid
938         additional invocation of method status
939         * text2.C (toggleInset): remove redundant update() call
940         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
941         instead of a Bufferview pointer
942
943 2003-11-21  André Pönitz  <poenitz@gmx.net>
944
945         * rowpainter.C: simplification
946
947 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
948
949         * text3.C (dispatch): make possible to extend a word/row selection
950         with the mouse
951
952 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
953
954         * lyxtext.h: x0_,y0_ -> xo_,yo_
955         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
956         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
957         * rowpainter.C (paintRows): paint full paragraphs
958
959 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
960
961         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
962         screen coordinates)
963
964 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
965
966         * lyxtext.h: add x0_, y0_
967         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
968         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
969
970 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
971
972         * text2.C (setCursorIntern): move the x_target update here *
973         * text3.C: change some bv() to true/false in calls to
974         cursorUp/Down/Right/Left
975         * cursor.C: use helper function.
976
977 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
978
979         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
980         * paragraph_funcs.[Ch]: correct comment
981         * rowpainter.C: do not paint selections away from bv->cursor()
982         Fix a long standing selection painting bug.
983         * text3.C: generalize mouse-selection code to LyXTexts other that
984         top one
985         * textcursor.C: do not use y coords if we can use par offsets
986
987 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
988
989         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
990         cursor position after e.g. inset insert)
991
992 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
993
994         * lyxfind.C (replace): adjust to locking removal + some
995         code simplification
996
997 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
998
999         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1000         of the path
1001
1002 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
1003
1004         * lyxlayout.[Ch]:
1005         * output_docbook.C: XML sanitation: new layout
1006         parameters InnerTag and CommandDepth
1007
1008 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
1009
1010         * BufferView_pimpl.C:
1011         * factory.C:
1012         * text3.C: Fix the insertion and modification of button-style
1013         insets
1014
1015 2003-11-13  André Pönitz  <poenitz@gmx.net>
1016
1017         * InsetList.[Ch]: remove deleteLyXText
1018
1019         * paragraph.[Ch]: cache beginOfBody position
1020
1021         * Bidi.C:
1022         * text.C:
1023         * text2.C:
1024         * text3.C: remove superfluous update() calls
1025
1026         * vspace.C: cleanup
1027
1028 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
1029
1030         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1031         * BufferView.C (fitLockedInsetCursor): remove
1032         * cursor.[Ch] (getDim): add
1033         * text.C (getRowNearY): add faster version
1034         * text3.C: remove some update calls
1035
1036 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
1037
1038         * LaTeXFeatures.C:
1039         * LyXAction.C:
1040         * MenuBackend.C:
1041         * MenuBackend.h:
1042         * dispatchresult.h:
1043         * factory.C:
1044         * lfuns.h:
1045         * lyxfunc.C:
1046         * lyxtextclass.C:
1047         * lyxtextclass.h:
1048         * text3.C: The Character Style /XML short element patch.
1049
1050 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
1051
1052         * text3.C:
1053         * factory.C: Small step to solving 'unable to insert some insets'
1054         problem
1055
1056 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1057
1058         * cursor.[Ch] (updatePos): new function for updating the y
1059         position of the tip inset
1060         * bufferview_funcs.C (put_selection_at):
1061         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1062
1063 2003-11-11  André Pönitz  <poenitz@gmx.net>
1064
1065         * text.C: remove big comment on invalid Paragraph pointers as it is
1066         not valid anymore
1067
1068 2003-11-11  André Pönitz  <poenitz@gmx.net>
1069
1070         * text_funcs.[Ch]: merge with ...
1071
1072         * text.C: ... this
1073
1074         * lyxtext.h:
1075         * text2.C:
1076         * text3.C: adjust
1077
1078         * Makefile.am: remove text_funcs.[Ch]
1079
1080 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
1081
1082         * cursor.C (getPos): return absolute cached y coord
1083
1084         * BufferView_pimpl.C (fitCursor): new simplistic code
1085         (workAreaDispatch): add a fitCursor call
1086
1087 2003-11-10  André Pönitz  <poenitz@gmx.net>
1088
1089         * BufferView.[Ch]:
1090         * BufferView_pimpl.[Ch]: merge update() and updateInset()
1091
1092 2003-11-10  André Pönitz  <poenitz@gmx.net>
1093
1094         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1095         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1096         indicate that the cursor needs to leave an inset
1097
1098         * lyxtext.h: remove inset locking
1099
1100         * cursor.[Ch]: re-implement functionality provided by inset locking
1101
1102         * BufferView.[Ch]:
1103         * BufferView_pimpl.[Ch]:
1104         * LyXAction.C:
1105         * bufferview_funcs.[Ch]:
1106         * factory.C:
1107         * funcrequest.[Ch]:
1108         * iterators.C:
1109         * lyx_cb.C:
1110         * lyxfind.C:
1111         * lyxfunc.C:
1112         * text.C:
1113         * text2.C:
1114         * text3.C:
1115         * undo.C: adjust
1116
1117 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
1118
1119         * PosIterator.[Ch]: replace the stack with a vector, add inset
1120         accesor
1121         * iterators.[C]: adjust
1122
1123 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1124
1125         * lyxfind.C (replaceAll): mark the buffer dirty if something was
1126         replaced
1127         * paragraph_funcs.C (readParToken): put the correct id in the
1128         error item, not the id of the top paragraph
1129
1130 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1131
1132         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1133         * bufferview_funcs.C (put_selection_at): use the above
1134
1135 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1136
1137         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1138
1139 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1140
1141         * output_linuxdoc.h:
1142         * output_plaintext.h:
1143         * output.h:
1144         * output_docbook.h: add #include statements
1145
1146 2003-11-05  José Matos  <jamatos@lyx.org>
1147
1148         * output_docbook.[Ch]:
1149         * output_latex.[Ch]:
1150         * output_linuxdoc.[Ch]:
1151         * output_plaintext.[Ch]: New files for output formats.
1152         * output.[Ch]: New file for helper functions.
1153
1154         * buffer.[Ch]:
1155         * paragraph_funcs.[Ch]: output functions moved to new files.
1156
1157         * outputparams.h: rename of latexrunparams.h
1158
1159         * LaTeX.[Ch]:
1160         * buffer.[Ch]:
1161         * bufferlist.[Ch]:
1162         * converter.[Ch]:
1163         * exporter.C:
1164         * paragraph.[Ch]:
1165         * paragraph_funcs.[Ch]:
1166         * paragraph_pimpl.[Ch]:
1167         * tabular.[Ch]: rename ascii to plaintext
1168         and LatexRunParams to OutputParams.
1169
1170 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1171
1172         * iterators.[Ch] (text): require bv argument
1173         * undo.C (recordUndo):
1174         * lyxfunc.C (dispatch):
1175         * bufferview_funcs.C (put_selection_at): adjust
1176
1177 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
1178
1179         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1180
1181 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1182
1183         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1184         nestings
1185
1186 2003-11-04  André Pönitz  <poenitz@gmx.net>
1187
1188         * cursor.[Ch]: restructure
1189
1190         * BufferView.[Ch]:
1191         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1192
1193         * iterators.[Ch] (asCursor): remove
1194
1195         * lfuns.h: remove LFUN_INSET_EDIT
1196
1197         * lyxfunc.C:
1198         * tabular.C:
1199         * text.C:
1200         * text2.C:
1201         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1202
1203 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1204
1205         * lyxfind.[Ch]: complete overhaul
1206         * BufferView_pimpl.C:
1207         * lyxfunc.C: adjust
1208         * paragraph.[Ch] (insert): add
1209
1210 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1211
1212         * BufferView.[Ch]:
1213         * lyxtext.h:
1214         * text.C: remove dead spellcheck code
1215
1216 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1217
1218         * dispatchresult.h: add a val setter
1219
1220         * cursor.C (dispatch): use a tempvar for data_[i]
1221
1222 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1223
1224         * PosIterator.[Ch]: compile fix
1225
1226 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1227
1228         * text.C (cursorPar): deactivate the cursor cache
1229
1230 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1231
1232         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1233
1234 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1235
1236         * text3.C (dispatch): adjust for new DisptchResult semantics.
1237
1238         * lyxfunc.C (dispatch): handle update when return from
1239         Cursor::dispatch, adjust for new DispatchResult semantics.
1240
1241         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1242         DispatchResult(true) mean to not update. Add class functions for
1243         setting dispatched and update, as well as reading.
1244
1245         * cursor.C (dispatch): don't handle update here
1246
1247 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1248
1249         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1250         * trans_mgr.C: adjust
1251
1252         * paragraph_funcs.C (readParToken): exception safety
1253
1254         * lyxvc.h: store the vcs pointer in a scoped_ptr
1255         * lyxvc.C: adjust
1256
1257         * lyxsocket.C (serverCallback): exception safety
1258
1259         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1260
1261         * ispell.C (clone): make it return a auto_ptr
1262
1263         * factory.C (createInset): exception safety
1264         (readInset): exception safety
1265
1266         * bufferlist.C (newBuffer): exception safety
1267
1268         * Thesaurus.C (Thesaurus): use initialization for aik_
1269
1270         * MenuBackend.C (expandToc): exception safety.
1271
1272 2003-11-03  André Pönitz  <poenitz@gmx.net>
1273
1274         * buffer.C:
1275         * buffer.h:
1276         * bufferview_funcs.C: remove getInsetFromId()
1277
1278         * lyxcursor.[Ch]:
1279         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1280
1281         * lyxfunc.C:
1282         * text2.C:
1283         * text3.C: adjust
1284
1285 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1286
1287         * PosIterator.C (distance, advance): new
1288         * bufferview_funcs.[Ch] (put_selection_at): new
1289         * iterators.[Ch] (lockPath): new
1290
1291 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
1292
1293         * iterators.[Ch] (asPosIterator): added
1294         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1295         * PosIterator.[Ch]: added
1296
1297 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1298
1299         * text3.C:
1300         * lyxfunc.C:
1301         * cursor.C (dispatch):
1302         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1303
1304         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1305         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1306         contructor, add a class function dispatched. Remove operator>=
1307
1308 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1309
1310         * debug.C: only use the default constructor for debugstream
1311         (lyxerr) here.
1312
1313         * main.C (main): include debug.h and setup the lyxerr streambuf
1314         here.
1315
1316 2003-10-31  José Matos  <jamatos@lyx.org>
1317
1318         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1319
1320         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1321         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1322         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1323         * paragraph_pimpl.C (simpleTeXSpecialC):
1324         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1325         add LatexRunParams argument.
1326
1327         * exporter.C (Export): change call accordingly.
1328
1329         * latexrunparams.h: add new member to take care of the other backends.
1330 2003-10-30  José Matos  <jamatos@lyx.org>
1331
1332         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1333         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1334         factorise code for paragraph output.
1335         * buffer.[Ch]:
1336         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1337         move functions.
1338
1339 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1340
1341         * text3.C (dispatch):
1342         * lyxfunc.C (dispatch):
1343         * cursor.C (dispatch):
1344         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1345
1346         * dispatchresult.h: make the dispatch_result_t ctor explicit
1347
1348 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
1349
1350         * sgml.[Ch]:
1351         * buffer.C: small refactoring of docbook stuff
1352
1353 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1354
1355         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1356         meaning.
1357
1358 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1359
1360         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1361         operator dispatch_result_t, and operators for == != and >=
1362
1363         * cursor.C (dispatch): adjust for operator dispatch_result_t
1364         removal. comment out call to update
1365
1366         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1367
1368 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1369
1370         * text3.C:
1371         * text2.C:
1372         * text.C:
1373         * lyxtext.h:
1374         * lyxfunc.C:
1375         * cursor.C:
1376         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1377         (dispatch):
1378
1379         * dispatchresult.h: new file, DispatchResult broken out of
1380         insets/insetbase.h
1381
1382         * Makefile.am (lyx_SOURCES): add dispatchresult.h
1383
1384 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1385
1386         * text.C (rowBreakPoint): put a hack inside #if 0
1387
1388 2003-10-28  André Pönitz  <poenitz@gmx.net>
1389
1390         * lyxtext.h:
1391         * metricsinfo.C:
1392         * paragraph_funcs.C:
1393         * rowpainter.C:
1394         * text.C:
1395         * text2.C: general cleanup (lots of small stuff)
1396
1397 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1398
1399         * text2.C (cursorEnd): simple fix to the "end key goes to one
1400         before the end on last row" bug
1401
1402 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1403
1404         * text.C (backspace): fix the "zombie characters"
1405
1406 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1407
1408         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1409
1410 2003-10-27  André Pönitz  <poenitz@gmx.net>
1411
1412         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1413
1414         * factory.C: handle new InsetPagebreak, InsetLine
1415
1416         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1417         and move handling into new InsetPagebreak, InsetLine
1418
1419         * BufferView_pimpl.C:
1420         * LyXAction.C:
1421         * ParagraphParameters.C:
1422         * ParameterStruct.h:
1423         * lyxfunc.C:
1424         * lyxtext.h:
1425         * paragraph.C:
1426         * paragraph.h:
1427         * paragraph_funcs.C:
1428         * paragraph_pimpl.C:
1429         * rowpainter.C:
1430         * text.C:
1431         * text2.C:
1432         * text3.C: adjust
1433
1434 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1435
1436         * text.C:
1437         * lyxrow_funcs.[Ch]:
1438         * Bidi.C:
1439         * paragraph.C:
1440         * lyxtext.h:
1441         * rowpainter.C:
1442         * text2.C:
1443         * text3.C: remove lastPos uses in favour of Row::endpos
1444
1445 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1446
1447         * undo.C (performUndoOrRedo): fix two crashes by setting a
1448         cursor by hand and reordering some calls. Use bv->lockInset instead
1449         of inset->edit because the latter loses cursor information
1450
1451 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
1452
1453         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1454         by Martin
1455         (rowBreakPoint): fix width. change point to point + 1.
1456         Add a missing check.
1457
1458 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
1459
1460         * MenuBackend.C:
1461         * lyxfunc.C: fix (at least partly) the problems
1462         with the Nav menu and headers inside branch insets
1463         reported by Kayvan
1464
1465 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
1466
1467         * paragraph.C (getChar): add strong asserts
1468
1469         * lyxrow_funcs.C (lastPos): remove hideous hack
1470
1471         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1472         (fill): adjust to that (avoid an infinite loop)
1473
1474 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1475
1476         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1477
1478 2003-10-23  André Pönitz  <poenitz@gmx.net>
1479
1480         * RowList_fwd.h: change list<> to vector<> to gain speed
1481         after suggestion from Alfredo
1482
1483 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1484
1485         * lyxtext.h: move the bidi stuff from here...
1486         * text.C: and here
1487         * text2.C: and here
1488         * Bidi.[Ch]: ... to here
1489
1490 2003-10-23  André Pönitz  <poenitz@gmx.net>
1491
1492         * lyxtext.h:
1493         * text.C (isLastRow, isFirstRow): new functions
1494
1495         * paragraph.h: new width cache member
1496
1497         * rowpainter.C: replace RowList::iterator with Row & where possible
1498
1499         * lyxfunc.C: replace several view()->text with a single call
1500
1501         * toc.C: fix 'unused' warning
1502
1503 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1504
1505         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1506         when woring with stream::pos_type
1507         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1508
1509 2003-10-22  André Pönitz  <poenitz@gmx.net>
1510
1511         * lyxtext.h:
1512         * text.C: use Row & instead of RowList::iterator
1513
1514         * lyxrow.h: rename end() to endpos()
1515
1516         * rowpainter.C:
1517         * text.C:
1518         * text2.C: adjust
1519
1520 2003-10-22  Angus Leeming  <leeming@lyx.org>
1521
1522         * buffer.[Ch] (fully_loaded): new member function, returning true
1523         only when the file has been loaded fully.
1524         Used to prevent the premature generation of previews and by the
1525         citation inset to prevent computation of the natbib-style label.
1526
1527         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1528         templates are all set up.
1529
1530         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1531
1532 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
1533
1534         * text.C: fixed an "oops" in the "is a bit silly"
1535         bug fix
1536
1537 2003-10-21  André Pönitz  <poenitz@gmx.net>
1538
1539         * FuncStatus.[Ch]: small stuff, whitespace
1540
1541         * lyxfont.[Ch]: operator<<() for debug reasons
1542
1543         * lyxfunc.C:
1544         * lyxrow_funcs.C:
1545         * lyxtext.h: whitespace, spelling
1546
1547         * paragraph.C: naming of variables
1548
1549         * text.C:
1550         * text2.C: small stuff
1551
1552
1553 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
1554
1555         * text.C: (1) finish off the inset display() work;
1556         (2) fix the "is a bit silly" bug (accessing char
1557         past end of par).
1558
1559 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
1560
1561         * text.C: re-introduce display() for insets, fixing the
1562         various bugs (stretch of line above, math inset
1563         positioning, ...)
1564
1565 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1566
1567         * text.C (rightMargin): remove spurious semicolon
1568
1569         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1570         1415)
1571
1572 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
1573
1574         * text3.C: fix one crash due to wrong cursor def
1575
1576 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1577
1578         * vc-backend.C (scanMaster): make the regex static
1579
1580         * LaTeX.C (scanAuxFile): make the regexs static
1581
1582         * text3.C (doInsertInset, dispatch, dispatch):
1583         * text2.C (cursorUp, cursorDown):
1584         * text.C (selectNextWordToSpellcheck):
1585         * BufferView_pimpl.C (dispatch):
1586         * lyxfunc.C (dispatch):  localDispatch -> dispatch
1587
1588 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1589
1590         * lyxsocket.C: include <cerrno>
1591
1592 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1593
1594         * lyxfunc.C (dispatch): remove textcache stuff
1595
1596         * bufferlist.C (release): remove textcache stuff
1597         (closeAll): ditto
1598
1599         * TextCache.C: delete file
1600         * TextCache.h: delete file
1601
1602         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1603
1604         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1605         delete of the bv_->text.
1606         (resizeCurrentBuffer): remove texcache stuff
1607         (workAreaResize): ditto
1608
1609 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1610
1611         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1612         action.
1613
1614 2003-10-16  André Pönitz  <poenitz@gmx.net>
1615
1616         * lyxrow.[Ch]:
1617         * paragraph.h:
1618         * rowpainter.C:
1619         * text.C:
1620         * text2.C:
1621         * text3.C: speed up by storing y positions per paragraph plus per-row
1622         offset instead of having a 'full' y position in the row.
1623
1624 2003-10-15  André Pönitz  <poenitz@gmx.net>
1625
1626         * iterators.[Ch]:
1627         * iterators.[Ch]:
1628         * undo.[Ch]: make undo aware of inner insets
1629
1630 2003-10-14  Angus Leeming  <leeming@lyx.org>
1631
1632         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1633         static member functions LyX::ref() and LyX::cref.
1634         (lastfiles): new accessor functions for the new lastfiles_ member var.
1635         (addLyXView, views_): add a new LyXView to the list of views_.
1636         (updateInset): loop over all LyXViews to call their own updateInset
1637         member function, returning a pointer to the Buffer owning the inset.
1638
1639         * BufferView_pimpl.C (loadLyXFile):
1640         * MenuBackend.C (expandLastfiles):
1641         * bufferlist.C (MenuWrite, QuitLyX):
1642         lastfiles is no longer a global variable.
1643         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1644
1645         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1646         static function. Access through LyX::cref().emergencyCleanup().
1647
1648 2003-10-14  André Pönitz  <poenitz@gmx.net>
1649
1650         * iterators.[Ch]: new direct access to innermost LyXText and Inset
1651
1652         * undo.[Ch]: restoring part of 'undo in insets'
1653
1654         * Makefile.am:
1655         * undo_funcs.[Ch]: merge with undo.[Ch]
1656
1657         * tabular.C: small cleansing stuff
1658
1659 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
1660
1661         * paragraph_funcs.C (readParToken): report unknown insets as error
1662         boxes. Use the outer paragraph as location (also for unknown
1663         tokens).
1664
1665         * factory.C (readInset): do not abort on reading an unknown inset.
1666         Eat it and return 0.
1667
1668 2003-10-13  Angus Leeming  <leeming@lyx.org>
1669
1670         * lyx_main.C (LyX): remove call to setDisplayTranslator().
1671
1672         * lyxrc.C: displayTranslator is now a function,
1673         declared in GraphicsTypes.h.
1674
1675 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1676
1677         * format.C: new placeholder $$a to pass the socket address.
1678
1679         * bufferlist.[Ch]: new function getBufferFromTmp.
1680
1681         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1682           files in the temporary dir.
1683
1684 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1685
1686         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1687
1688         * Makefile.am: add lyxsocket.[Ch].
1689
1690         * lyx_main.C (error_handler): handle SIGPIPE.
1691
1692 2003-10-13  André Pönitz  <poenitz@gmx.net>
1693
1694         * BufferView_pimpl.C:
1695         * lyxtext.h:
1696         * text.C:
1697         * text2.C:
1698         * text3.C:
1699         * undo_funcs.[Ch]: use paroffset_type instead of
1700           ParagraphList::iterators to prevent multiple conversion
1701           (and get a more robust interface)
1702
1703 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1704
1705         * lyxfunc.C (dispatch): RESULT -> dispatch_result
1706         * lyxtext.h: ditto
1707         * text3.C (dispatch): ditto
1708
1709 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1710
1711         * LaTeX.C (handleFoundFile): move the static to smaller scope,
1712         move the onlyfile, use onlyfile instead of foundfile in a couple
1713         of places.
1714
1715         * DepTable.C (update): flush the error stream a bit more
1716
1717 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1718
1719         * lyxserver.C (callback): adjust
1720
1721         * lyxfunc.C (getStatus): add a missing brace in commented code
1722         (ensureBufferClean): reindent
1723         (dispatch): delete version taking a string
1724
1725 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1726
1727         * LaTeX.C (deplog): move found file handlig from here...
1728         (handleFoundFile): .. to new function here.
1729         (deplog): make sure to discover several files mentioned on the
1730         same log line.
1731
1732 2003-10-10  André Pönitz  <poenitz@gmx.net>
1733
1734         * lyxfunc.C:
1735         * lyxtext.h:
1736         * tabular.C:
1737         * text.C:
1738         * text2.C:
1739         * text3.C: fix some of the tabular crashes
1740
1741 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1742
1743         * MenuBackend.C (binding): put debug message into Debug::KBMAP
1744
1745         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1746
1747 2003-10-09  André Pönitz  <poenitz@gmx.net>
1748
1749         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1750
1751         * BufferView.C:
1752         * BufferView_pimpl.C:
1753         * bufferview_funcs.C:
1754         * lyx_cb.C:
1755         * lyxcursor.C:
1756         * lyxfind.C:
1757         * lyxfunc.C:
1758         * lyxtext.h:
1759         * text.C:
1760         * text2.C:
1761         * text3.C:
1762         * text_funcs.[Ch]:
1763         * textcursor.[Ch]:
1764         * undo_funcs.C: adjust
1765
1766 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1767
1768         * text2.C (incrementItemDepth): new function, use a backtracking
1769         algorithm to discover the correct item depth.
1770         (resetEnumCounterIfNeeded): new function, use a backtracking
1771         algorithm to discover if counter reset is needed.
1772         (setCounter): use them. Simplify a bit. Add different labels for
1773         different item depths for itemize.
1774
1775         * paragraph.C (Paragraph): remove initialization of enumdepth
1776         (operator=): ditto
1777
1778         * paragraph.h: get rid of enumdepth, and use itemdepth both for
1779         enumerate and itemize. Change the type of itemdepth to signed char.
1780
1781 2003-10-08  André Pönitz  <poenitz@gmx.net>
1782
1783         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1784           thing assignable.
1785         * text.C:
1786         * text2.C: adjust
1787
1788         * tabular.[Ch]: fix crash after 'row-insert'
1789
1790 2003-10-08  Angus Leeming  <leeming@lyx.org>
1791
1792         Fix doxygen warnings.
1793
1794         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1795         Remove CutAndPaste:: prefix from header file declaration.
1796
1797         * LColor.h (fill): remove LColor:: prefix from declaration.
1798
1799         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1800         use lyx::depth_type rather than Paragraph::depth_type so that
1801         header file and .C file match.
1802
1803         * converter.h (intToFormat): remove Converters:: prefix from declaration.
1804
1805         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1806         * aspell.C: \file aspell_local.C -> \file aspell.C
1807         * gettext.C: \file gettext.C -> \file src/gettext.C
1808         * gettext.h: \file gettext.h -> \file src/gettext.h
1809         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1810         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1811         * text.C: \file text.C -> \file src/text.C
1812
1813         * toc.C: move comment so that doxygen is not confused.
1814
1815 2003-10-07  Angus Leeming  <leeming@lyx.org>
1816
1817         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1818
1819 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1820
1821         * aspell.C:
1822         * aspell_local.h: add forgotten std::string's.
1823
1824 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1825
1826         * LaTeXFeatures.C:
1827         * LyXAction.C:
1828         * factory.C:
1829         * lfuns.h:
1830         * lyxfunc.C:
1831         * text3.C: The Box patch. Fancybox support, minipage, parbox
1832
1833 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1834
1835         * CutAndPaste.h:
1836         * DepTable.h:
1837         * FloatList.h:
1838         * LaTeXFeatures.h:
1839         * ParagraphParameters.h:
1840         * TextCache.h:
1841         * Thesaurus.h:
1842         * bufferlist.h:
1843         * exporter.h:
1844         * importer.h:
1845         * lastfiles.h:
1846         * lyxfind.h:
1847         * lyxfont.h:
1848         * lyxlex.h:
1849         * lyxtextclasslist.h:
1850         * messages.h:
1851         * paragraph.h:
1852         * paragraph_pimpl.C:
1853         * textcursor.h: add <string> and other small fixes to make Lars'
1854         std::string patch compile with STLport.
1855
1856 2003-10-06  Angus Leeming  <leeming@lyx.org>
1857
1858         * LColor.h: Add missing #include <string>.
1859
1860 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1861
1862         * All most all file in all subdirs: Make <string> be the prefered
1863         way of getting to std::string, add using declarations.
1864
1865 2003-10-06  André Pönitz  <poenitz@gmx.net>
1866
1867         * metricsinfo.C: initialize LyXFont before changing attribute.
1868         (fixes the 'math in \emph is upright' bug)
1869
1870 2003-10-06  André Pönitz  <poenitz@gmx.net>
1871
1872         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1873
1874 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1875
1876         * graph.C:
1877         * paragraph_pimpl.C: Small fixes to build using STLport
1878
1879 2003-10-02  André Pönitz  <poenitz@gmx.net>
1880
1881         * lyxfunc.C:
1882         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1883
1884 2003-10-01  André Pönitz  <poenitz@gmx.net>
1885
1886         * factory.C: assert early
1887
1888 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1889
1890         * lyx_main.C: remove the global debug object
1891
1892         * debug.h: adjust for new debugstream
1893
1894         * debug.C: adjust for new debugstream and keep the global debug
1895         object here.
1896
1897 2003-09-22  Angus Leeming  <leeming@lyx.org>
1898
1899         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1900         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1901         an incomplete class LyXFont.
1902
1903 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1904
1905         * factory.C: bug fix in branches
1906
1907 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1908
1909         * lyxfunc.C (processKeySym): adjust
1910         (dispatch): adjust
1911         (dispatch): change arg name from ev to func, adjust
1912         (sendDispatchMessage): ditto
1913
1914         * lyx_main.C (defaultKeyBindings): adjust keybindings
1915         (deadKeyBindings): ditto
1916
1917         * kbsequence.C (addkey): return a FuncRequest
1918
1919         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1920
1921         * kbmap.C (bind): take a FuncRequest as arg, adjust
1922         (read): adjust
1923         (lookup): adjust
1924         (defkey): change to take a FuncRequest as arg, adjust
1925         (findbinding): take a FuncRequest as arg, adjust.
1926
1927         * funcrequest.h (operator=): added
1928
1929         * funcrequest.C (FuncRequest): default kb_action changed from
1930         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1931
1932         * buffer.C (dispatch): simplify
1933         (dispatch): adjust to take a FuncRequest as arg, adjust
1934
1935         * boost.C (assertion_failed): change assertion message slightly
1936
1937         * ToolbarBackend.C (read): simplify
1938
1939         * MenuBackend.C (binding): adjust call to findbinding, add a
1940         message if no binding is found.
1941         (read): simplify
1942         (expandToc): correct by adding a empty FuncRequest
1943
1944         * LyXAction.C: include <boost/assert.hpp>
1945         (isPseudoAction): delete function
1946         (LookupFunc): change name to...
1947         (lookupFunc): this. change return type to FuncRequest.
1948         (getActionName): take kb_action as arg, simplify
1949         (funcHasFlag): add an assert, simplify.
1950
1951 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1952
1953         * toc.C (action): return a FuncRequest, simplify
1954
1955         * lyxfunc.C (processKeySym): adjust
1956         (getStatus): delete version that takes an int.
1957         (getStatus): adjust
1958         (dispatch): delete version that takes action as int
1959         (dispatch): adjust
1960         (sendDispatchMessage): simplify and adjust
1961
1962         * funcrequest.C (getArg): take unsigned int as arg
1963
1964         * ToolbarBackend.C (read): adjust
1965         (add): delete version that takes func as a string.
1966         (getIton): take a FuncRequest as arg
1967
1968         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1969         action.
1970
1971         * MenuBackend.C (MenuItem): add a new construct that only takes a
1972         Kind, simplify the constructor use for submenus.
1973         (add): adjust
1974         (expandLastfiles): adjust
1975         (expandDocuments): adjust
1976         (expandFormats): adjust
1977         (expandFloatListInsert): adjust
1978         (expandFloatInsert): adjust
1979         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1980
1981         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1982         Remove class variables lyx_pseudo_map and lyx_arg_map
1983
1984         * LyXAction.C (searchActionArg): delete function
1985         (getPseudoAction): delete function
1986         (retrieveActionArg): delete function
1987         (LookupFunc): make it return kb_action, simplify.
1988         (getActionName): simplify
1989
1990         * factory.C (createInset): fix new bug
1991
1992 2003-09-19  Angus Leeming  <leeming@lyx.org>
1993
1994         * CutAndPaste.C (pasteSelection): remove fudge used to set the
1995         masterFilename_ parameter in the include inset.
1996
1997         * factory.C (createInset): changes due to the changes to InsetInclude.
1998
1999 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2000
2001         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2002
2003 2003-09-18  Angus Leeming  <leeming@lyx.org>
2004
2005         * buffer.C:
2006         * BufferView.C: pass the buffer when calling Inset::getLabelList,
2007         Inset::fillWithBibKeys.
2008         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2009
2010 2003-09-18  Angus Leeming  <leeming@lyx.org>
2011
2012         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2013         variables.
2014         (ctor): pass and store a 'Buffer const &'
2015         (buffer): new member function.
2016
2017         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2018         '*this' to the LaTeXFeatures ctor.
2019
2020 2003-09-18  Angus Leeming  <leeming@lyx.org>
2021
2022         * LColor.h:
2023         * lyxfont.C:
2024         * lyxfont.h:
2025         * lyxtext.h:
2026         * text.C: rename EnumLColor as LColor_color.
2027
2028 2003-09-18  Angus Leeming  <leeming@lyx.org>
2029
2030         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2031         remove #include "insets/insetbase.h" from cursor.h.
2032
2033 2003-09-18  Angus Leeming  <leeming@lyx.org>
2034
2035         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2036         InsetOld_code to remove #include "inset.h".
2037
2038         * iterators.C: add #include "insets/inset.h"
2039
2040 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
2041
2042         * BufferView.C: remove more locking stuff that apparently doesn't
2043         do anything sensible.
2044
2045 2003-09-16  André Pönitz  <poenitz@gmx.net>
2046
2047         * paragraph.[Ch]:
2048         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2049           performance boost.
2050
2051 2003-09-16  Angus Leeming  <leeming@lyx.org>
2052
2053         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2054
2055         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2056         arg/return type.
2057
2058         * paragraph.h: remove #include "lyxfont.h". Forward declare
2059         LyXFont_size.
2060
2061 2003-09-16  Angus Leeming  <leeming@lyx.org>
2062
2063         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2064         of support/textutils.h.
2065         (isWord): move the contents of support/textutils.h's IsWordChar here.
2066
2067         * buffer.C:
2068         * lyxfind.C:
2069         * rowpainter.C:
2070         * text.C:
2071         * text2.C: add #include "paragraph.h".
2072
2073         * rowpainter.C:
2074         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2075
2076 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2077
2078         * main.C:
2079         * lyx_main.C:
2080         * lyx_cb.C:
2081         * buffer.C:
2082         * LaTeX.C: use namespace alias for lyx::support::os
2083
2084 2003-09-16  Angus Leeming  <leeming@lyx.org>
2085
2086         * bufferparams.C:
2087         * bufferview_funcs.C:
2088         * factory.C:
2089         * lyxfunc.C:
2090         * paragraph_pimpl.C:
2091         * rowpainter.C:
2092         * text.C: add #include "LColor.h".
2093
2094 2003-09-16  Angus Leeming  <leeming@lyx.org>
2095
2096         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2097         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2098         return LyXFont &.
2099         Store the FontBits::color variable as an int rather than as an
2100         LColor::colorso that we can move LColor.h out of the lyxfont.h header
2101         file.
2102
2103         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2104         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2105         string calls together.
2106
2107         * lyxrc.C: add #include "LColor.h".
2108
2109 2003-09-15  Angus Leeming  <leeming@lyx.org>
2110
2111         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2112         a cow_ptr.
2113
2114 2003-09-15  Angus Leeming  <leeming@lyx.org>
2115
2116         * LColor.h: add an EnumLColor wrapper for LColor::color.
2117
2118         * lyxfont.[Ch] (color, setColor, realColor):
2119         * lyxtext.h, text.C (backgroundColor):
2120         pass EnumLColor args to/from the functions, rather than LColor::color
2121         ones.
2122
2123         * lyxfont.h:
2124         * lyxtext.h: forward declare EnumLColor.
2125
2126         * lyx_main.C: add #include "LColor.h".
2127
2128 2003-09-15  Angus Leeming  <leeming@lyx.org>
2129
2130         * .cvsignore: add lyx-gtk.
2131
2132 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2133
2134         * Chktex.C
2135         * LaTeX.C
2136         * LaTeXFeatures.C
2137         * ParagraphParameters.C
2138         * Spacing.C
2139         * buffer.C
2140         * bufferparams.C
2141         * bufferview_funcs.C
2142         * chset.C
2143         * counters.C
2144         * funcrequest.C
2145         * lyxfont.C
2146         * lyxgluelength.C
2147         * lyxlength.C
2148         * paragraph.C
2149         * paragraph_funcs.C
2150         * text3.C
2151         * vc-backend.C: remove usage of STRCONV
2152
2153 2003-09-15  Angus Leeming  <leeming@lyx.org>
2154
2155         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2156         explicitly define the color passed to the painter.
2157
2158 2003-09-15  Angus Leeming  <leeming@lyx.org>
2159
2160         * bufferparams.C (BufferParams): reorder member initializers to avoid
2161         compiler warning.
2162
2163 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
2164
2165         * CutAndPaste.C (pasteSelection): remove an outdated #warning
2166         * text.C (updateRowPositions): remove an unusual nop
2167
2168 2003-09-12  André Pönitz  <poenitz@gmx.net>
2169
2170         * BufferView_pimpl.C:
2171         * Bullet.C:
2172         * layout.h:
2173         * lyxfunc.C:
2174         * lyxlayout.[Ch]:
2175         * lyxtextclass.C:
2176         * rowpainter.C:
2177         * text.C:
2178         * text2.C:
2179         * Counters.[Ch]: finish the 'automatic counters' job
2180
2181 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2182
2183         * aspell.C: include <boost/assert.cpp> (compile fix)
2184
2185 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
2186
2187         * boost.C (assertion_failed): use lyx::support::abort instead of
2188         assert.
2189
2190 2003-09-10  Angus Leeming  <leeming@lyx.org>
2191
2192         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2193         with their _fwd progeny.
2194
2195 2003-09-09  Angus Leeming  <leeming@lyx.org>
2196
2197         134 files throughtout the source tree: replace 'using namespace abc;'
2198         directives with the appropriate 'using abc::xyz;' declarations.
2199
2200 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2201
2202         * boost.C (emergencyCleanup): moved here from LAssert.c
2203         (assertion_failed): new function, called by BOOST_ASSERT
2204
2205         * several files: change Assert to BOOST_ASSERT
2206
2207 2003-09-09  Angus Leeming  <leeming@lyx.org>
2208
2209         * buffer.[Ch]: Add an Impl class and move Buffer's member
2210         variables into it. As a result move several header files out of
2211         buffer.h.
2212
2213         Add header files to lots of .C files all over the tree as a result.
2214
2215 2003-09-09  Angus Leeming  <leeming@lyx.org>
2216
2217         * buffer.[Ch]: make Buffer's member variables private. Add
2218         accessor functions.
2219
2220         Lots of changes all over the tree as a result.
2221
2222 2003-09-08  Angus Leeming  <leeming@lyx.org>
2223
2224         * graph.C: #include <config.h>.
2225
2226 2003-09-08  Angus Leeming  <leeming@lyx.org>
2227
2228         * BranchList.C:
2229         * BufferView.C:
2230         * BufferView_pimpl.C:
2231         * CutAndPaste.C:
2232         * DepTable.C:
2233         * LaTeX.C:
2234         * LaTeXFeatures.C:
2235         * LyXAction.C:
2236         * MenuBackend.C:
2237         * TextCache.C:
2238         * aspell.C:
2239         * buffer.C:
2240         * bufferlist.C:
2241         * changes.C:
2242         * chset.C:
2243         * converter.C:
2244         * counters.C:
2245         * debug.C:
2246         * graph.C:
2247         * ispell.C:
2248         * lyx_cb.C:
2249         * lyxfind.C:
2250         * lyxfunc.C:
2251         * lyxlex_pimpl.C:
2252         * lyxrc.C:
2253         * lyxrow.C:
2254         * paragraph.C:
2255         * rowpainter.C:
2256         * texrow.C:
2257         * text.C:
2258         * text2.C:
2259         * toc.C: remove redundant using directives.
2260
2261 2003-09-07  Angus Leeming  <leeming@lyx.org>
2262
2263         * LaTeXFeatures.h: remove #include "support/types.h".
2264         * ToolbarBackend.h: remove #include <algorithm>.
2265         * changes.h: remove #include <ctime>.
2266         * debug.h: remove #include <iosfwd>.
2267         * graph.h: remove #include "support/std_string.h".
2268         * lyx_main.h: remove #include <csignal>.
2269         * lyxlex_pimpl.h: remove #include <fstream>.
2270         * sgml.h: remove #include <algorithm>, <utility>.
2271         * toc.h: remove #include "support/std_ostream.h".
2272         Add #include <iosfwd>.
2273
2274 2003-09-07  Angus Leeming  <leeming@lyx.org>
2275
2276         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2277
2278         * converter.h: forward declare LatexRunParams.
2279         * encoding.h: remove #include "lyxrc.h".
2280         * lyxtext.h: remove #include "LColor.h".
2281         * lyxtextclass.h: remove #include "support/types.h".
2282         * trans.h: remove #include "tex-accent.h".
2283         * trans_mgr.h: remove #include "tex-accent.h".
2284         * insets/inset.h: remove #include "support/types.h", <vector>.
2285         * insets/insetcollapsable.h: remove #include "LColor.h".
2286         * insets/insetinclude.h: remove #include "dimension.h".
2287         * insets/insetlatexaccent.h: remove #include "dimension.h".
2288         * insets/insetoptarg.h:: remove #include "insettext.h".
2289         * insets/insettext.h: remove #include "dimension.h",
2290         <boost/shared_ptr.hpp>
2291
2292         * insets/renderers.h: add #include "dimension.h".
2293         * insets/updatableinset.h: add #include "support/types.h".
2294
2295         * many .C files: Associated changes.
2296
2297 2003-09-06  Angus Leeming  <leeming@lyx.org>
2298
2299         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2300         one, inside testInvariant.
2301
2302         * PrinterParams.C: new file.
2303         * PrinterParams.[Ch]: move the function bodies out of line.
2304
2305 2003-09-06  Angus Leeming  <leeming@lyx.org>
2306
2307         * ParagraphParameters.h: forward declare ParameterStruct rather than
2308         including its header file.
2309         (depth): moved out-of-line.
2310
2311 2003-09-06  Angus Leeming  <leeming@lyx.org>
2312
2313         * BufferView_pimpl.h:
2314         * kbmap.h:
2315         * kbsequence.h:
2316         * lyxfunc.h: forward declare LyXKeySym rather than
2317         #include "frontends/LyXKeySym.h".
2318
2319         * BufferView_pimpl.C:
2320         * kbmap.C:
2321         * kbsequence.C:
2322         * lyxfunc.C: associated changes.
2323
2324 2003-09-06  Angus Leeming  <leeming@lyx.org>
2325
2326         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2327         As a result, can remove the #include "insets/inset.h" from BufferView.h
2328
2329 2003-09-06  Angus Leeming  <leeming@lyx.org>
2330
2331         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2332         As a result, can remove the #include "insets/inset.h" from BufferView.h
2333
2334 2003-09-06  Angus Leeming  <leeming@lyx.org>
2335
2336         * buffer_funcs.C:
2337         * buffer.h:
2338         * bufferlist.C:
2339         * BufferView.C:
2340         * bufferview_funcs.C:
2341         * BufferView_pimpl.C:
2342         * CutAndPaste.C:
2343         * lyx_cb.C:
2344         * lyxfunc.C:
2345         * paragraph.h:
2346         * ParagraphParameters.C:
2347         * tabular.C:
2348         * text3.C:
2349         * toc.C:
2350         * undo_funcs.C:
2351         * frontends/controllers/ControlDocument.C:
2352         * insets/insetcaption.C: rearrange the #includes into some sort of
2353         coherent order.
2354
2355         * buffer.h: remove #includes ErrorList.h, undo.h
2356
2357 2003-09-06  Angus Leeming  <leeming@lyx.org>
2358
2359         * support/types.h: add a 'depth_type' typedef, used to store the
2360         nesting depth of a paragraph.
2361
2362         * paragraph.h:
2363         * ParameterStruct.h: use this lyx::depth_type typedef rather than
2364         defining explicitly.
2365
2366         * buffer.h:
2367         * paragraph_funcs.h:
2368         * ParagraphParameters.h:
2369         * sgml.h: use lyx::depth_type rather than Paragraph or
2370         ParameterStruct's depth_type.
2371
2372         * buffer.h
2373         * paragraph_funcs.h: no need to #include paragraph.h anymore.
2374
2375         * BufferView.C:
2376         * BufferView_pimpl.C:
2377         * CutAndPaste.C:
2378         * ParagraphParameters.C:
2379         * buffer_funcs.C:
2380         * bufferlist.C:
2381         * bufferview_funcs.C:
2382         * lyx_cb.C:
2383         * lyxfunc.C:
2384         * tabular.C:
2385         * text3.C:
2386         * toc.C:
2387         * undo_funcs.C:
2388         * frontends/LyXView.C:
2389         * frontends/controllers/ControlDocument.C:
2390         * frontends/controllers/ControlErrorList.C:
2391         * insets/insetbibitem.C:
2392         * insets/insetbranch.C:
2393         * insets/insetcaption.C:
2394         * insets/insetcollapsable.C:
2395         * insets/insetenv.C:
2396         * insets/insetert.C:
2397         * insets/insetfloat.C:
2398         * insets/insetfoot.C:
2399         * insets/insetfootlike.C:
2400         * insets/insetnewline.C:
2401         * insets/insetquotes.C:
2402         * insets/insettabular.C:
2403         * insets/insettext.C:
2404         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2405
2406         * frontends/controllers/ControlChanges.C: #include "changes.h".
2407
2408 2003-09-06  Angus Leeming  <leeming@lyx.org>
2409
2410         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2411         than #including paragraph.h.
2412
2413         * ParagraphList.h:
2414         * RowList.h: deleted. Superfluous.
2415
2416         * CutAndPaste.h:
2417         * iterators.h:
2418         * lyxcursor.h:
2419         * lyxtext.h:
2420         * text_funcs.h:
2421         * undo.h:
2422         * undo_funcs.h:
2423         * insets/inset.h:
2424         * insets/insettext.h: use ParagraphList_fwd.h rather than
2425         ParagraphList.h.
2426
2427         * paragraph.h: don't forward declare ParagraphList.
2428
2429         * buffer.h:
2430         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2431         rather than ParagraphList.h. paragraph.h is still needed for the
2432         Paragraph::depth_type parameters.
2433
2434         * textcursor.h: enable it to compile stand-alone in light of the
2435         above changes.
2436
2437         * bufferview_funcs.C:
2438         * iterators.C:
2439         * lyxfunc.C:
2440         * lyxrow_funcs.C:
2441         * paragraph.C:
2442         * rowpainter.C:
2443         * text.C:
2444         * text2.C:
2445         * text3.C:
2446         * text_funcs.C:
2447         * textcursor.C:
2448         * undo.C:
2449         * frontends/controllers/ControlParagraph.C:
2450         * frontends/controllers/ControlTabular.C:
2451         * insets/insetmarginal.C:
2452         * insets/insetminipage.C:
2453         * insets/insetnote.C:
2454         * insets/insetoptarg.C: add header files needed to compile again.
2455
2456 2003-09-06  Angus Leeming  <leeming@lyx.org>
2457
2458         * RowList_fwd.h: new file, forward-declaring Row rather than
2459         #including lyxrow.h.
2460
2461         * lyxrow_funcs.h:
2462         * lyxtext.h:
2463         * paragraph.h:
2464         * insets/insettext.h: use it instead of RowList.h
2465
2466         * bufferview_funcs.C:
2467         * lyxfunc.C:
2468         * lyxrow_funcs.C:
2469         * paragraph.C:
2470         * rowpainter.C:
2471         * text.C:
2472         * text2.C:
2473         * text3.C: #include "RowList.h".
2474
2475 2003-09-05  Angus Leeming  <leeming@lyx.org>
2476
2477         * factory.C (createInset):
2478         * vspace.C (c-tor): replace sscanf call with an istringstream.
2479         * ispell.C: re-add missing HP/UX headers.
2480         * lyxserver.C: re-add missing  os2 headers.
2481
2482 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
2483
2484         * BranchList.C:
2485         * graph.C:
2486         * ispell.C:
2487         * lastfiles.C:
2488         * lyx_cb.C:
2489         * lyxserver.C:
2490         * texrow.C:
2491         * text3.C: re-add missing system headers, needed for 2.95.2.
2492
2493 2003-09-05  Angus Leeming  <leeming@lyx.org>
2494
2495         Changes most place everywhere due to the removal of using directives
2496         from support/std_sstream.h.
2497
2498 2003-09-05  Angus Leeming  <leeming@lyx.org>
2499
2500         Replace LString.h with support/std_string.h,
2501         Lsstream.h with support/std_sstream.h,
2502         support/LIstream.h with support/std_istream.h,
2503         support/LOstream.h with support/std_ostream.h.
2504
2505         Changes resulting throughout the tree.
2506
2507 2003-09-05  Angus Leeming  <leeming@lyx.org>
2508
2509         * sgml.h: ensure that the header file can be compiled stand-alone.
2510         * *.C: strip out redundant #includes. (320 in total.)
2511
2512 2003-09-04  Angus Leeming  <leeming@lyx.org>
2513
2514         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2515         here (from getPackages).
2516
2517         * debug.[Ch]: add a new EXTERNAL tag.
2518
2519 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2520
2521         * text2.C (cursorEnd): simplify
2522         (setCursor): adjust
2523         (getColumnNearX): adjust
2524
2525         * text.C (computeBidiTables): adjust
2526         (fill): adjust
2527
2528         * rowpainter.C (paintChars): adjust
2529         (paintSelection): adjust
2530         (paintChangeBar): adjust
2531         (paintText): adjust
2532
2533         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2534         lastPos instead.
2535         (numberOfSeparators): adjust
2536
2537 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2538
2539         * LyXAction.C:
2540         * box.[Ch]:
2541         * lfuns.h:
2542         * lyxfunc.C:
2543         * text3.C: Restricts the mouse click functionality
2544         of insets like bibtex, include, toc and floatlist to the visible
2545         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2546         up the dialogs. Cursor has to be in front of the inset (i.e.
2547         start of row) for this to function.
2548
2549 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2550
2551         * bufferview_funcs.C (currentState): output row information
2552
2553 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2554
2555         * bufferview_funcs.C (currentState): output paragraph position
2556
2557 2003-09-04  Angus Leeming  <leeming@lyx.org>
2558
2559         * FloatList.h: move out #include "Floating.h".
2560         * LaTeX.h: move out #include "DepTable.h".
2561         * LyXAction.h: move out #include "funcrequest.h".
2562         * buffer.h: move out #include "author.h", "iterators.h".
2563         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2564         * lyx_main.h: move out #include "errorlist.h".
2565         * lyxfunc.h: move out #include "FuncStatus.h".
2566         * lyxtext: move out #include "lyxcursor.h".
2567         * paragraph_pimpl.h: move out #include "counters.h".
2568
2569 2003-09-03  Angus Leeming  <leeming@lyx.org>
2570
2571         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2572         preamble_snippets list, enabling us to add snippets to the preamble
2573         only if the snippet was not there already.
2574
2575 2003-09-04  Angus Leeming  <leeming@lyx.org>
2576
2577         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2578
2579 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2580
2581         * lyxfunc.C (dispatch): if fitCursor did something be sure to
2582         update
2583
2584 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2585
2586         * BranchList.C: point fix, earlier forgotten
2587
2588 2003-09-02  Angus Leeming  <leeming@lyx.org>
2589
2590         * box.C (contains): renamed from 'contained' after a fantastic
2591         amount of hot air.
2592
2593 2003-09-02  John Levon  <levon@movementarian.org>
2594
2595         * BufferView.C:
2596         * lyxcursor.h:
2597         * lyxcursor.C:
2598         * lyxfunc.C:
2599         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2600
2601 2003-09-02  John Levon  <levon@movementarian.org>
2602
2603         * text2.C: simplification of cursorEnd(), including partial
2604         fix for bug 1376
2605
2606 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2607
2608         * buffer.C (readFile): add a space
2609
2610 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
2611
2612         * BufferView_pimpl.C (update): remove bogus fitCursor() call
2613
2614 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2615
2616         * buffer.C (readFile): new function, take a filename and a
2617         ParagraphList::iterator
2618         (readFile): adjust
2619         (readFile): adjust, make it private. don't use setStream, make
2620         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2621         always contain the filename.
2622
2623         * BufferView.C (insertLyXFile): simplify and make it work for
2624         gzipped files.
2625
2626 2003-08-30  John Levon  <levon@movementarian.org>
2627
2628         * Makefile.am: fix dist (from Kayvan)
2629
2630 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2631
2632         * most files: change to use const Buffer refs
2633
2634 2003-08-27  André Pönitz  <poenitz@gmx.net>
2635
2636         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2637         on top of ownerPar().
2638
2639 2003-08-27  John Levon  <levon@movementarian.org>
2640
2641         * funcrequest.C: properly initialise POD members
2642
2643 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2644
2645         * lyxtext.h (top_y): move top_y from here
2646         * text.C:
2647         * text2.C:
2648         * text3.C:
2649         * BufferView.[Ch]:
2650         * BufferView_pimpl.[Ch]: to here
2651         * frontends/screen.C:
2652         * insets/insettabular.C:
2653         * insets/insettext.C: adjust
2654         * rowpainter.[Ch] (paintRows): remove LyXText & argument
2655
2656 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2657
2658         * BufferView.[Ch]:
2659         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2660
2661 2003-08-26  André Pönitz  <poenitz@gmx.net>
2662
2663         * paragraph_func.[Ch] (outerPar): new function
2664
2665         * paragraph.C:
2666         * paragraph_funcs.C:
2667         * paragraph_funcs.h:
2668         * paragraph_pimpl.C:
2669         * text2.C: remove Inset::par_owner
2670
2671 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
2672
2673         * lyxrow_funcs.C:
2674         * lyxtext.h:
2675         * text.C:
2676         * text2.C: eliminates the needFullRow/display() stuff
2677         altogether, putting the logic in metrics/draw in the insets.
2678
2679 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
2680
2681         * text2.C (redoParagraphInternal, redoParagraphs):
2682         * text.C (redoParagraph): add a call to updateRowPositions at the
2683         end of each 'metrics-like' call. Remove all others.
2684         (getRow): remove the 'y-computing' version.
2685         (getRowNearY): do not compute nor return the real y. Solve the
2686         'y < 0' problem and simplify.
2687
2688 2003-08-22  Angus Leeming  <leeming@lyx.org>
2689
2690         * *.[Ch]: clean-up of licence and author blurbs.
2691         Also move config.h out of a few .h files and into a few .C files.
2692
2693 2003-08-22  André Pönitz  <poenitz@gmx.net>
2694
2695         * lyxrow.[Ch]: add x_ and *fill_ members
2696
2697         * lyxtext.h:
2698         * text.C:
2699         * rowpainter.C:
2700         * text2.C: adjust/remove prepareToPrint() calls
2701
2702 2003-08-22  André Pönitz  <poenitz@gmx.net>
2703
2704         * lyxrow.[Ch]: add  end_ member
2705
2706         * lyxrow_funcs.C: use LyXRow::end_
2707
2708         * lyxtext.h (singleWidth): add LyXFont parameter
2709
2710         * rowpainter.C:
2711         * text2.C: adjust LyXText::singleWidth() calls
2712
2713         * text.C (redoParagraph): simplify row breaking logic
2714
2715
2716 2003-08-19  André Pönitz  <poenitz@gmx.net>
2717
2718         * funcrequest.C: initialize button_ member
2719
2720         * text3.C:
2721         * rowpainter.[Ch]: interface consolidation
2722
2723 2003-08-18  André Pönitz  <poenitz@gmx.net>
2724
2725         * BufferView.C:
2726         * BufferView_pimpl.C:
2727         * lyxfind.C:
2728         * paragraph_funcs.C:
2729         * rowpainter.C:
2730         * text3.C: remove LyXScreen::draw() and fitCursor calls
2731
2732         * BranchList.h: remove spurious semicolons
2733
2734         * MenuBackend.C: fix branchlist related crash
2735
2736 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
2737
2738         * BranchList.[Ch]:
2739         * InsetList.[Ch]:
2740         * LColor.[Ch]:
2741         * LyXAction.C:
2742         * Makefile.am:
2743         * MenuBackend.[Ch]:
2744         * bufferparams.[Ch]:
2745         * factory.C:
2746         * lfuns.h:
2747         * lyxfunc.C:
2748         * text3.C: implements the 'branch inset'
2749         idea. This allows the output of various versions of a document
2750         from a single source version, selectively outputing or suppressing
2751         output of parts of the text.
2752         This implementation contains a 'branch list editor' in a separate
2753         tab of the document settings dialog. Branches are user definable
2754         and have a "display colour" to distinguish them on-screen.
2755
2756         ColorHandler was somewhat cleaned up.
2757         (1) make possible a dynamically growing LColor list by allowing
2758         the graphic context cache to grow along (vector);
2759         (2) eliminate an IMHO unnecessary step in colour allocation.
2760
2761 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
2762
2763         * BufferView_pimpl.C: compile fix
2764
2765 2003-08-15  André Pönitz  <poenitz@gmx.net>
2766
2767         * rowpainter.C: remove extra metrics calls
2768
2769         * lyxtext.h: merge the two constructors into a single one,
2770           pass reference to owner's par list
2771
2772         * BufferView_pimpl.C:
2773         * text.C:
2774         * text2.C: adjust
2775
2776 2003-08-15  André Pönitz  <poenitz@gmx.net>
2777
2778         * lyxrow_funcs.[Ch]:
2779         * lyxtext.h:
2780         * paragraph.h:
2781         * paragraph_funcs.C:
2782         * rowpainter.C:
2783         * text.C:
2784         * text2.C:
2785         * text3.C:
2786         * text_funcs.C: split LyXText::rowlist_ into individual
2787         Paragraph::rows_ chunks
2788
2789         * BufferView.[Ch]:
2790         * BufferView_pimpl.[Ch]:
2791         * lyxfind.C:
2792         * lyxtext.h:
2793         * text3.C: remove toggleSelection()
2794
2795 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
2796
2797         * bufferlist.C: beautify two alerts (shorter text of buttons)
2798         * buffer.C: Remove redundant ' ' from message
2799         * tabular.h:
2800         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2801         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2802         rename VALIGN_CENTER to VALIGN_MIDDLE
2803
2804 2003-08-11  André Pönitz  <poenitz@gmx.net>
2805
2806         * lyxtext.h (getPar):
2807         * text.C: new function
2808
2809 2003-08-11  André Pönitz  <poenitz@gmx.net>
2810
2811         * Makefile.am:
2812         * tracer.[Ch]: remove unneeded files
2813
2814         * InsetList.[Ch]: remove resizeInsetsLyXText()
2815
2816         * lyxtext.h:
2817         * text.C:
2818         * text2.C:
2819         * text3.C: merge insertParagraphs() and appendParagraph()
2820         remove breakAgain(), update()
2821
2822         * BufferView_pimpl.[Ch]:
2823         * bufferview_funcs.[Ch]:
2824         * lyxfunc.C:
2825         * paragraph.[Ch]:
2826         * rowpainter.C:
2827         * tabular.C: adjust after text & InsetList changes.
2828
2829 2003-08-08  André Pönitz  <poenitz@gmx.net>
2830
2831         * text.C (insertChar, backspace): replace rowlist fiddling
2832         with rebreak of full par
2833
2834         * lyxtext.h:
2835         * text.C (breakAgainOneRow, redoHeightOfParagraph,
2836         checkParagraph, updateInset): removed
2837
2838 2003-08-07  André Pönitz  <poenitz@gmx.net>
2839
2840         * paragraph.C:
2841         * text3.C: merge some LFUN handlers, remove dead code
2842
2843 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2844
2845         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2846
2847 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
2848
2849         * text2.C (DEPM): fix part of bug 1255 and 1256
2850
2851 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2852
2853         * BufferView_pimpl.C (workAreaDispatch): change to use
2854         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2855         that are no mouse related.
2856
2857 2003-08-05  André Pönitz  <poenitz@gmx.net>
2858
2859         * BufferView.[Ch]:
2860         * BufferView_pimpl.[Ch]:
2861         * bufferview_funcs.C:
2862         * text2.C:
2863         * text3.C: rip out "deep update"
2864
2865         * textcursor.[Ch] (last_sel_cursor): remove unused member
2866
2867 2003-08-04  André Pönitz  <poenitz@gmx.net>
2868
2869         * BufferView.[Ch]:
2870         * BufferView_pimpl.[Ch]:
2871         * ParagraphParameters.C:
2872         * bufferview_funcs.C:
2873         * lyx_cb.C:
2874         * lyxfind.C:
2875         * lyxfunc.C:
2876         * text.C:
2877         * text2.C:
2878         * text3.C: replace "complicated" BufferView::update(...) calls with
2879         simpler ones.
2880
2881         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2882
2883 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2884
2885         * Makefile.am (lyx_SOURCES): add paper.h
2886
2887 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2888
2889         * Makefile.am: move things around so that both lyx-qt and
2890         lyx-xforms can be built (according to --with-frontend). Then lyx
2891         is a symbolic link to lyx-[firstfrontend]
2892
2893 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2894
2895         * Always use std::endl with lyxerr
2896
2897 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2898
2899         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2900
2901 2003-08-01  André Pönitz  <poenitz@gmx.net>
2902
2903         * BufferView.[Ch]:
2904         * BufferView_pimpl.[Ch]:
2905         * lyxfunc.C:
2906         * text3.C: merge BufferView::repaint() and BufferView::update()
2907
2908 2003-08-01  José Matos  <jamatos@lyx.org>
2909
2910         * buffer.[Ch]: file_format is no longer a buffer data element.
2911
2912 2003-08-01  André Pönitz  <poenitz@gmx.net>
2913
2914         * BufferView.C:
2915         * lyxtext.h:
2916         * text.C:
2917         * text2.C: make redoParagraph more independent of current cursor
2918
2919         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2920         * text.C:
2921         * text2.C: remove unneeded members
2922
2923 2003-07-30  André Pönitz  <poenitz@gmx.net>
2924
2925         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2926
2927         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2928           create a single function...
2929
2930         * paragraph_funcs.C (moveItem): ... here.
2931
2932         * text.C:
2933           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2934
2935 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2936
2937         * LColor.[Ch]: Add comment and greyedout logical colors.
2938
2939 2003-07-30  André Pönitz  <poenitz@gmx.net>
2940
2941         * tabular.C: don't use Assert too heavily. This crashes where it
2942           shouldn't
2943
2944 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2945
2946         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2947         is disabled (bug 1232)
2948
2949 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2950
2951         * factory.C: limited 'arg' scope
2952
2953 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2954
2955         * factory.C: fixed Note submenu issues
2956
2957 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2958
2959         * factory.C: submenu for Note/Comment/Greyedout
2960
2961 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2962
2963         * lyx_main.C (LyX):
2964         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2965
2966 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2967
2968         * LaTeXFeatures.C:
2969         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2970         greyedout. Patch provided by Jürgen Spitzmüller.
2971
2972 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2973
2974         * kbmap.C (read): fix error message when reading bind files
2975
2976 2003-07-29  Angus Leeming  <leeming@lyx.org>
2977
2978         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2979         certainly does not do what it purports to do. I am doing it, and
2980         us, a favour by killing it.
2981
2982 2003-07-28  José Matos  <jamatos@lyx.org>
2983
2984         * buffer.C (readBody, do_writeFile):
2985         * paragraph.C(readParagraph): \end_document replaces \the_end.
2986
2987 2003-07-29  André Pönitz  <poenitz@gmx.net>
2988
2989         * BufferView.[Ch]:
2990         * BufferView_pimpl.[Ch]:
2991         * lyxfunc.C:
2992         * text2.C:
2993         * text3.C:
2994         * textcursor.[Ch]: remove toggleToggle & Co
2995
2996 2003-07-28  José Matos  <jamatos@fep.up.pt>
2997
2998         * buffer.C (readParagraph):
2999         * params_func (readParToken, readParagraph):
3000         * paragraph.C (write): \layout -> \begin_layout.
3001
3002 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3003
3004         * lyxlex_pimpl.C (setFile): clean up slightly.
3005
3006         * bufferparams.h: add compressed var
3007
3008         * buffer_funcs.C (readFile): adjust for LyXLex change
3009         (newFile): ditto + simplify
3010
3011         * buffer.C (writeFile): handle writing of compressed files
3012
3013         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3014         Check if the file is compressed and set a bufferparm if so.
3015
3016         * Makefile.am (lyx_LDADD): remove explicit -lz
3017
3018 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3019
3020         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3021         makeDocBookFile): put the real LyX version in the first line of
3022         the file
3023
3024         * version.h:
3025         * version.C.in: remove lyx_docversion
3026
3027         * tabular.C (write_attribute): add a template-based version to
3028         write enums properly
3029
3030 2003-07-28  André Pönitz  <poenitz@gmx.net>
3031
3032         * lyxtext.h:
3033         * text.C:
3034         * text2.C:
3035         * text3.C: use doubles again for x-coordinates. They are needed.
3036
3037 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3038
3039         * messages.C (getLocaleDir): use lyx_localedir()
3040
3041         * lyxlex_pimpl.C (setFile): compress stuff
3042
3043         * buffer.C (writeFile): add some compression stuff
3044         (do_writeFile): new func, dont call expliti close... will this
3045         breake anything?
3046
3047         * Makefile.am (lyx_LDADD): add -lz
3048
3049 2003-07-28  José Matos  <jamatos@fep.up.pt>
3050
3051         * buffer.C: increment file format.
3052         * paragraph_funcs (readParagraph, readParToken):
3053         * paragraph.C (readParagraph): add \end_layout.
3054
3055 2003-07-27  Angus Leeming  <leeming@lyx.org>
3056
3057         * Makefile.am: remove special casing for configure-time setting of
3058         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3059
3060         * lyx_main.C (init): remove all Jean-Marc's magic setting of
3061         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3062
3063 2003-07-26  André Pönitz  <poenitz@gmx.net>
3064
3065         * paragraph_func.[Ch]:
3066         * paragraph.C (realizeFont): inline it whereever it is used
3067
3068         * rowpainter.C:
3069         * text.C:
3070         * text2.C:
3071         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3072
3073
3074 2003-07-26  André Pönitz  <poenitz@gmx.net>
3075
3076         *       lyxtext.h:
3077         * text.C:
3078         * text2.C: get rid of LyXText::need_break_row
3079
3080 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3081
3082         * toc.[Ch]: put namespace toc inside namespace lyx
3083
3084         * MenuBackend.C (expandToc2): adjust for lyx::toc
3085         (expandToc): ditto
3086
3087         * lyxfunc.C (dispatch): adjust for lyx::find
3088
3089         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3090         lyx::find instead. Reorganize a bit.
3091         (LyXReplace): rename to replace
3092         (LyXFind): rename to find
3093
3094         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3095         (dispatch): ditto
3096
3097 2003-07-26  André Pönitz  <poenitz@gmx.net>
3098
3099         * text.C (setHeightOfRow): restrict scope of temporary variable
3100
3101         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
3102           code (never has been used?)
3103
3104 2003-07-27  Asger Alstrup  <alstrup@local>
3105
3106         * text.C (fill): Optimise algorithm to exploit that we can reuse
3107         the LyXFont for many characters.
3108         (setHeightOfRow): Same thing.
3109         (rowBreakPoint): Same thing.
3110
3111 2003-07-26  Asger Alstrup  <alstrup@local>
3112
3113         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3114
3115         * text.C (singleWidth): Spurious font copying in hot-spot
3116         singleWidth avoided. Reorder tests for arabic for efficiency.
3117
3118         * text.C (fill): handle empty paragraphs better.
3119
3120 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3121
3122         * ispell.C:
3123         * encoding.h: add includes
3124
3125         * lyxrc.C: remove reading of bind files
3126
3127         * lyx_main.C (init): setup bindings and menus only if we have a
3128         gui.
3129
3130         * kbmap.C (read): new method. Do the actual reading of bind
3131         files.
3132
3133         * converter.C (dvipdfm_options):
3134         * bufferparams.C:
3135         * lyxrc.C (read):
3136         (output): adapt PAPER_* enums.
3137
3138         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3139
3140         * bufferparams.h: remove paper-related enums from there
3141
3142         * paper.h: New file. A trivial header file to hold paper-related
3143         enums. It should later expand to contain many paper-related
3144         horrors access.
3145
3146         * lyxrc.C: declare extern displayTranslator
3147
3148 2003-07-27  José Matos  <jamatos@fep.up.pt>
3149
3150         * tabular.[Ch] (linuxdoc): add support for tables and figures
3151         (linuxdoc).
3152
3153 2003-07-27  José Matos  <jamatos@fep.up.pt>
3154
3155         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3156         consistency in both functions.
3157         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3158
3159 2003-07-26  Asger Alstrup  <alstrup@local>
3160
3161         * rowpainter.C (paintRows): Change algorithm to work directly on
3162         the insets rather than asking every character in the document
3163         whether its an inset.
3164
3165 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
3166
3167         * buffer.C (openFileWrite): factorize some code
3168
3169 2003-07-26  Angus Leeming  <leeming@lyx.org>
3170
3171         * lyx_cb.C:
3172         * lyx_main.[Ch]: replace occurances of system_tempdir with
3173         os::getTmpDir().
3174
3175 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3176
3177         * rename Inset to InsetOld
3178
3179 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
3180
3181         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3182         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3183         which I think is a bit clearer. EDIT is gone, since it was
3184         premature optimisation, and broken for mathed anyway.
3185         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3186         with cursor positioning in insets as well (math insets still do not
3187         work, but that's a different story anyway.) It mysteriously
3188         crashes sometimes with undo in the first paragraph, but I'm fairly
3189         confident that this is a compiler bug.
3190
3191 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3192
3193         * paragraph.C (Paragraph): adjust for new clone return type
3194         (operator==): ditto
3195         (copyIntoMinibuffer): ditto
3196
3197 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
3198
3199         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3200         by not having a special case, and always doing a full rebreak of
3201         the document after undo.
3202
3203 2003-07-23  Angus Leeming  <leeming@lyx.org>
3204
3205         * factory.C (createInset): InsetExternal::setParams now takes a
3206         Buffer const * arg.
3207
3208 2003-07-23  Angus Leeming  <leeming@lyx.org>
3209
3210         * factory.C (createInset): changed interface to the external and
3211         graphics mailers' string2params functions.
3212
3213 2003-07-23  Angus Leeming  <leeming@lyx.org>
3214
3215         * factory.C (createInset): pass a
3216         Buffer const * parameter to InsetExternalMailer's string2params.
3217
3218 2003-07-22  John Levon  <levon@movementarian.org>
3219
3220         * Thesaurus.h: include the right aiksaurus header
3221
3222 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3223
3224         * MenuBackend.C (expand): check menu shortcuts unconditionally
3225
3226 2003-07-21  Angus Leeming  <leeming@lyx.org>
3227
3228         * factory.C (createInset): pass a
3229         buffer_path parameter to InsetGraphicsMailer's string2params.
3230
3231 2003-07-21  Angus Leeming  <leeming@lyx.org>
3232
3233         * BufferView_pimpl.C (buffer):
3234         * buffer.C (d-tor):
3235         * lyx_main.C (LyX):
3236         * lyxfunc.C (dispatch):
3237         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3238         rather than the grfx shortcut.
3239
3240 2003-07-21  André Pönitz  <poenitz@gmx.net>
3241
3242         * rowpainter.C: remove unused variables
3243
3244         * tabular_funcs.C:
3245         * tabular_funcs.h: move to tabular.C
3246         * Makefile.am: adjust
3247
3248         * tabular.[Ch]: basic optical cleaning
3249
3250         * author.h: pass references, not values
3251
3252 2003-07-18  André Pönitz  <poenitz@gmx.net>
3253
3254         * lyxtext.h:
3255         * metricsinfo.C:
3256         * metricsinfo.h:
3257         * rowpainter.C:
3258         * text.C:
3259         * text2.C:
3260         * text3.C: two-phase drawing for InsetText and InsetTabular
3261         some float -> int changes.
3262
3263 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3264
3265         * lyx_main.C: fix the fix
3266
3267 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3268
3269         * lyx_main.C: fix a crash in batch mode if no files specified
3270         * converter.C: ws
3271
3272 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
3273
3274         * format.[Ch] (papersize): moved to BufferParams
3275         * converter.[Ch] (dvips_options): moved to BufferParams
3276         (dvipdfm_options): moved to anon namespace
3277         * bufferparams.[Ch]: added above functions.
3278
3279 2003-07-17  André Pönitz  <poenitz@gmx.net>
3280
3281         * lyxtext.h:
3282         * rowpainter.C:
3283         * text2.C: don't call inset->update() anymore
3284
3285         * metricsinfo.[Ch]: add convenience constructor
3286
3287 2003-07-16  André Pönitz  <poenitz@gmx.net>
3288
3289         * lyxcursor.[Ch]:
3290         * lyxfunc.[Ch]:
3291         * text.C:
3292         * text2.C: replace the LyXCursor::irow_ member with
3293          on-demand computation of the value
3294
3295 2003-07-16  John Levon  <levon@movementarian.org>
3296
3297         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3298
3299 2003-07-15  André Pönitz  <poenitz@gmx.net>
3300
3301         * text.C:
3302         * text2.C: remove no more needed refresh_row
3303
3304 2003-07-15  André Pönitz  <poenitz@gmx.net>
3305
3306         * lyxtext.h:
3307         * rowpainter.C:
3308         * text2.C:
3309         * text3.C: refresh_status tristate -> need_update bool
3310
3311 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
3312
3313         * lyxtext.h (init): remove reinit argument (act as if always true)
3314         * text2.C: adjust to that
3315
3316 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3317
3318         * bufferview_funcs.[Ch]: introduce function replaceSelection()
3319         * text3.C: use it to delete selections in some cases
3320         (bugs 441, 673, 702, 954).
3321
3322 2003-07-14  André Pönitz  <poenitz@gmx.net>
3323
3324         * rowpainter.[Ch]: reduce interface
3325
3326 2003-07-14  André Pönitz  <poenitz@gmx.net>
3327
3328         * BufferView_pimpl.C:
3329         * text2.C: adjust after removing unused BufferView * argument
3330
3331 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
3332
3333         * text2.C (init): fix a crash fired on resize
3334
3335 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
3336
3337         * buffer.[Ch]: added new closing signal
3338         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3339         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3340         BufferView::Pimpl via the closing the signal
3341
3342 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
3343
3344         * buffer.[Ch]: take out all bv-related from buffer
3345         * BufferView.C:
3346         * BufferView_pimpl.[Ch]: connect to new signals
3347         * CutAndPaste.C: removed useless asserts
3348         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3349         * lyxvc.[Ch]:
3350         * vc-backend.[Ch]:
3351         * lyxfunc.C: moved view-related funciontality from vc here
3352         * paragraph.C: removed outdated comments
3353         * text.C: ws
3354
3355 2003-07-10  André Pönitz  <poenitz@gmx.net>
3356
3357         * BufferView_pimpl.C:
3358         * tabular.h:
3359         * tabular_funcs.C:
3360         * text.C:
3361         * text2.C: remove InsetText::InnerCache, clean up consequences
3362
3363 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
3364
3365         * ispell.C: fix two typos in error messages
3366
3367 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
3368
3369         * Extend Note inset to other forms of annotation like Comment
3370         and Greyedout. Right button click gives dialog.
3371
3372         Files modified or added (+):
3373
3374         * insetnote.[Ch]
3375         * FormNote.[Ch]      +
3376         * ControlNote.[Ch]   +
3377         * form_note.fd       +
3378         * Makefile.am in frontends/xforms, frontends/xforms/forms,
3379         frontends/controllers
3380         * xforms/Dialogs.C
3381         * factory.C
3382
3383 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3384
3385         * aspell.C: add missing namespace lyx::support
3386
3387 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
3388
3389         * BufferView.[Ch] (newFile): Add
3390         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3391         * LaTeX.[Ch] (message): added this signal and use it
3392         * buffer.[Ch] (busy, message): added these signals and use them
3393         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3394         * converter.C:
3395         * exporter.C:
3396         * format.C:
3397         * importer.C: use buffer signals instead of direct bv calling
3398         * lyx_cb.[Ch] (ShowMessage): removed
3399         * lyx_main.C:
3400         * lyxfunc.C:
3401         * paragraph_funcs.C:
3402         * text2.C: use buffer signals
3403
3404 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3405
3406         * introduce namespace lyx::graphics
3407
3408 2003-07-02  André Pönitz  <poenitz@gmx.net>
3409
3410         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3411
3412 2003-07-01  André Pönitz  <poenitz@gmx.net>
3413
3414         * text.C:
3415         * text2.C:
3416         * text3.C:
3417         * text_funcs.[Ch]:
3418         * textcursor.h:
3419         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3420           text*.C to text_func.C
3421
3422 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3423
3424         * introduce namespace lyx::support
3425
3426 2003-06-30  André Pönitz  <poenitz@gmx.net>
3427
3428         * Chktex.C:
3429         * funcrequest.C:
3430         * lyxtext.h:
3431         * text.C: re-enable --with-included-string
3432
3433 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3434
3435         * textcursor.C: add <config.h>
3436
3437         * text.C (getWord): remove const from word_location arg
3438
3439         * lyxvc.C (getLogFile): fix const type order
3440
3441         * lyxtext.h: remove const from word_location arg, add arg name
3442
3443         * lyxlayout.h: currect type on labeltype.
3444
3445         * importer.C: correct \file
3446
3447         * converter.C (intToFormat): use std:: on ret val, ws changes
3448
3449         * bufferlist.h: correct \file
3450
3451         * buffer.C (makeLinuxDocFile): fix const type order
3452         (makeDocBookFile): ditto
3453         (fillWithBibKeys): use std:: on stdlib args.
3454
3455         * CutAndPaste.C: fix authors.
3456         (availableSelections): use std:: on return vector
3457
3458 2003-06-27  André Pönitz  <poenitz@gmx.net>
3459
3460         * BufferView_pimpl.C:
3461         * bufferview_funcs.C:
3462         * lyxcursor.C:
3463         * lyxcursor.h:
3464         * lyxfunc.C:
3465         * lyxtext.h:
3466         * rowpainter.C:
3467         * text.C:
3468         * text2.C:
3469         * text3.C: remove LyXCursor::row_ member
3470
3471         * lyxtext.h:
3472         * text.C: rename fullRebreak() to partialRebreak() and implement
3473           a fullRebreak() that really bereks fully
3474
3475         * textcursor.h: new struct for cursor-related data
3476
3477 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
3478
3479         * lyx_main.C (LyX): get full path of document loaded on the
3480         command line
3481
3482 2003-06-26  André Pönitz  <poenitz@gmx.net>
3483
3484         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3485           remove unused/broken operator>,<,>=.
3486
3487         *       text.C: remove only use of broken operator<= in an Assert().
3488
3489 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3490
3491         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3492         moved errorlist_.clear to showErrorList
3493
3494 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3495
3496         * converter.C (scanLog, runLaTeX):
3497         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3498         move the bv->showErrorList call to the callers
3499         * lyxfunc.C: i.e. here...
3500         * text2.C: and here
3501         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3502         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3503         namespace, the second to...
3504         * buffer_funcs (BufferFormat, parseErrors): added
3505         * errorlist.C (ErrorList(TeXErrors const &)): removed
3506
3507 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3508
3509         * ToolbarBackend.C (getIcon): complain when icon cannot be found
3510
3511 2003-06-24  "Garst R. Reese" <reese@isn.net>
3512
3513         * debug.C: fix typo
3514
3515 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3516
3517         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3518
3519         * version.C.in: change docversion to 1.4
3520
3521 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
3522
3523         * buffer.C: fix a bug just introduced
3524
3525 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
3526
3527         * buffer.[Ch]: added the parseError signal and use it, removed
3528         sgmlError
3529         * BufferView.[Ch] (addError): moved to ...
3530         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3531         to the Buffer::parseError signal to catch (guess what) parse errors
3532         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3533
3534 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
3535
3536         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3537         ability to create a buffer and to return an existing one from
3538         the list. Moved these functions to...
3539         * buffer_funcs.[Ch]: added
3540         * BufferView.[Ch] (loadLyXFile): added
3541         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3542         job removed from bufferlist::loadLyXFile.
3543         * buffer.C (setReadOnly): make it work without view
3544         (i.e added an if (users))
3545
3546 2003-06-19  Angus Leeming  <leeming@lyx.org>
3547
3548         * lfuns.h:
3549         * LyXAction.C (init):
3550         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3551         with LFUN_DIALOG_SHOW <name> <data>.
3552
3553 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3554
3555         * CutAndPaste.C (availableSelections): small compilation fix for
3556         ancient (gcc 2.9x) compilers
3557
3558 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3559
3560         * text3.C (cursorNext): add tmp var
3561
3562         * text2.C (updateCounters): for function calling out of for clause
3563         (replaceSelectionWithString): ditto
3564         (insertStringAsParagraphs): ditto
3565         (getColumnNearX): add tmp var
3566         (setCursorFromCoordinates): add tmp var
3567         (cursorDownParagraph): add tmp var
3568         (deleteEmptyParagraphMechanism): add tmp var
3569
3570         * text.C (insertChar): add tmp var
3571
3572         * rowpainter.C (paintDepthBar): add tmp var
3573
3574         * CutAndPaste.C (availableSelections): potentially check all
3575         paragraphs in a cut to fill the shown strings.
3576
3577 2003-06-18  André Pönitz  <poenitz@gmx.net>
3578
3579         * kbmap.[Ch]: use vector<> instead of list<>
3580
3581 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
3582
3583         * text3.C (dispatch): handle arg to LFUN_PASTE, call
3584         pasteSelection with index
3585
3586         * text2.C (pasteSelection): modify, call pasteSelection with index
3587
3588         * paragraph.C (asString): reimplement version with no interval to
3589         call the one with interval.
3590
3591         * lyxtext.h: add index arg to pasteSelection
3592
3593         * MenuBackend.C (MenuItem): handle PasteRecent
3594         (Menu::read::Menutags): add md_pasterecent
3595         (read): handle it
3596         (expandPasteRecent): new function
3597         (expand): use it
3598
3599         * MenuBackend.h: add PasteRecent to MenuItem::Kind
3600
3601         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3602         the limited stack
3603         (availableSelections): new function
3604
3605 2003-06-17  Angus Leeming  <leeming@lyx.org>
3606
3607         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3608
3609 2003-06-17  Angus Leeming  <leeming@lyx.org>
3610
3611         * lfuns.h:
3612         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3613
3614         * lyxfunc.C (dispatch): invoke it.
3615
3616 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3617
3618         * iterators.C (operator++, ParPosition): reintroduce some
3619         const_cast for the benefit of older compilers.
3620
3621 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3622
3623         * text3.C (dispatch): do not modify clipboard when doing
3624         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3625         LFUN_DELETE_SKIP on a selection selection
3626
3627 2003-06-16  André Pönitz  <poenitz@gmx.net>
3628
3629         * BufferView.C:
3630         * buffer.C:
3631         * buffer.h:
3632         * paragraph.C:
3633         * tabular.[Ch]: IU of clone() and getLabelList();
3634
3635 2003-06-13  André Pönitz  <poenitz@gmx.net>
3636
3637         * tabular.h: compactification
3638
3639 2003-06-12  André Pönitz  <poenitz@gmx.net>
3640
3641         * tabular.C:
3642         * tabular.h:
3643         * tabular_funcs.h: some renaming plus whitespace
3644
3645 2003-06-12  André Pönitz  <poenitz@gmx.net>
3646
3647         * BufferView.C:
3648         * BufferView_pimpl.C:
3649         * CutAndPaste.C:
3650         * buffer.C:
3651         * iterators.[Ch]:
3652         * lyxfunc.C:
3653         * text.C:
3654         * toc.C: Return a Paragraph & for ParIterator::operator*()
3655
3656 2003-06-11  John Levon  <levon@movementarian.org>
3657
3658         * lyx_main.C:
3659         * ToolbarBackend.h:
3660         * ToolbarBackend.C: add "Toolbars" section and
3661         put the flags there
3662
3663 2003-06-10  Angus Leeming  <leeming@lyx.org>
3664
3665         * lfuns.h:
3666         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3667
3668         * lyxfunc.C (dispatch): invoke it.
3669
3670 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3671
3672         * main.C: protect <ios> with HAVE_IOS
3673         (main): protect sync_with_stdio with HAVE_IOS
3674
3675 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
3676
3677         * text2.C (cutSelection): adjust
3678         (pasteSelection): adjust
3679
3680         * messages.C: handle get of empty string
3681
3682         * main.C (main): use sync_with_stdio(false)
3683
3684         * lyxfunc.C (dispatch): adjust
3685
3686         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3687         (WriteAs): remove unneeded BufferView arg.
3688
3689         * bufferparams.h: use correct types on papersize, papersize2 and
3690         paperpackage.
3691
3692         * bufferparams.C (readToken): adjust for type
3693         (writeLaTeX): add missing cases to switch.
3694
3695         * bufferlist.C (quitWriteBuffer): adjust
3696         (close): adjust
3697
3698         * buffer.C (asciiParagraph): remove some commented code.
3699
3700         * CutAndPaste.C: remove current_view extern variable.
3701         (cutSelection): add BufferParams arg.
3702         (eraseSelection): add BufferParams arg.
3703         (pasteSelection): add Buffer const & arg
3704
3705 2003-06-07  John Levon  <levon@movementarian.org>
3706
3707         * buffer.C:
3708         * paragraph_funcs.C:
3709         * paragraph_pimpl.C:
3710         * text.C:
3711         * text2.C:
3712         * paragraph.h:
3713         * paragraph.C: allow InsetERT to freely space lines,
3714         and some consolidation of code
3715
3716 2003-06-06  José Matos  <jamatos@fep.up.pt>
3717
3718         * buffer.C (makeDocBookFile): fix bug #821
3719
3720 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
3721
3722         * BufferView_pimpl.C (dispatch): use Dialogs::visible
3723
3724 2003-06-04  Angus Leeming  <leeming@lyx.org>
3725
3726         * buffer.C: bump format to 224.
3727
3728 2003-06-05  André Pönitz  <poenitz@gmx.net>
3729
3730         * text2.C (redoParagraphs): remove two const_cast<>
3731
3732 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3733
3734         * ParagraphList.h: remove last remnants of NO_STD_LIST
3735
3736 2003-06-03  Angus Leeming  <leeming@lyx.org>
3737
3738         * factory.C (createInset): small change to the way InsetExternal's params
3739         are set.
3740
3741 2003-06-04  André Pönitz  <poenitz@gmx.net>
3742
3743         * buffer.h: use Undo directly instead of shared_ptr<Undo>
3744
3745         * paragraph_pimpl.h:
3746         * paragraph.[Ch]: some Inset -> UpdatableInset changes
3747
3748         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3749
3750         * undo_funcs.C: make some simple cases of undo work again
3751
3752 2003-06-03  John Levon  <levon@movementarian.org>
3753
3754         * ispell.C: HPUX doesn't have sys/select.h
3755         (from Albert Chin)
3756
3757 2003-06-03  John Levon  <levon@movementarian.org>
3758
3759         * CutAndPaste.C: update tabular and include inset
3760         buffer references
3761
3762         * buffer.h:
3763         * paragraph.h:
3764         * paragraph.C: remove owningBuffer(), don't pass Buffer
3765         to clone()
3766
3767         * factory.C: insetGraphicsParams changed
3768
3769 2003-06-02  John Levon  <levon@movementarian.org>
3770
3771         * LyXAction.C:
3772         * factory.C:
3773         * lfuns.h:
3774         * lyxfunc.C:
3775         * text3.C: remove insetparent
3776
3777 2003-06-02  John Levon  <levon@movementarian.org>
3778
3779         * buffer.h:
3780         * buffer.C: fix inset_iterator.end(), move out of line
3781         (bug 1149)
3782
3783 2003-06-01  John Levon  <levon@movementarian.org>
3784
3785         * text3.C: use a proper cut/paste when doing inset
3786         insert (from Jürgen Spitzmüller)
3787
3788 2003-06-01  John Levon  <levon@movementarian.org>
3789
3790         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3791
3792 2003-05-30  André Pönitz  <poenitz@gmx.net>
3793
3794         * rowpainter.C: unify second drawing phase
3795
3796 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3797
3798         * trans_mgr.C: remove one case of current_view
3799
3800         * text2.C (cursorBottom): delete NO_STD_LIST stuff
3801
3802         * paragraph_funcs.h: remove paragraph.h include
3803
3804         * paragraph.h: delete NO_STD_LIST stuff
3805
3806         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3807
3808         * buffer.h: remove paragraph.h include
3809
3810         * ParagraphList.C: delete file
3811
3812         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3813
3814         * toc.C (getTocList): adjust
3815
3816         * paragraph_pimpl.C (validate): adjust
3817
3818         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3819
3820         * paragraph.C (Paragraph): adjust
3821         (getPositionOfInset): use const_iterator, adjust
3822         (bibitem): use const_iterator, adjust
3823         (setInsetOwner): adjust
3824
3825         * iterators.C (operator++): adjust
3826
3827         * InsetList.[Ch]: Replace selfmade iterator with standard
3828         vector::iterator also introduce const_iterator. Remove getPos,
3829         getInset and setInset from InsetTable. Adjust accordingly.
3830
3831         * BufferView.C (lockInset): adjust
3832         (ChangeInsets): adjust
3833
3834         * tabular.[Ch]: delete commented same_id functions
3835
3836 2003-05-28  John Levon  <levon@movementarian.org>
3837
3838         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3839
3840 2003-05-28  André Pönitz  <poenitz@gmx.net>
3841
3842         * metricsinfo.[Ch]: remove 'fullredraw' member
3843
3844 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3845
3846         * lyxtextclass.C (operator): remove caching.
3847
3848 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3849
3850         * text3.C: adjust
3851
3852         * text2.C (cursorBottom): adjust
3853         (setCounter): use ParagraphList::find, adjust
3854
3855         * text.C (workWidth): use ParagraphList::find, adjust
3856
3857         * lyxcursor.C (LyXCursor): adjust
3858
3859         * buffer.C (inset_iterator): adjust
3860
3861         * ParagraphList.h: make iterator(value_type) private, make
3862         ParagraphList a friend of iterator.
3863
3864         * ParagraphList.C (find): new function
3865
3866         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3867
3868 2003-05-27  André Pönitz  <poenitz@gmx.net>
3869
3870         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3871
3872 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3873
3874         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3875
3876 2003-05-26  John Levon  <levon@movementarian.org>
3877
3878         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3879
3880 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3881
3882         * remove same_id from function signatures, adjust.
3883
3884 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3885
3886         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3887
3888         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3889
3890         * paragraph.C (Paragraph): get rid of same_ids parameter
3891
3892         * ParagraphList.C (insert): adjust
3893         (push_back): adjust
3894
3895 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3896
3897         * paragraph_funcs.C (breakParagraph): adjust
3898         (breakParagraphConservative): adjust
3899
3900         * buffer.C (readParagraph): adjust
3901
3902         * ParagraphList.C (insert): take a reference instead of a pointer
3903         (insert): adjust
3904
3905         * paragraph.[Ch] (id): new function
3906
3907         * bufferlist.C (newFile): adjust
3908
3909         * ParagraphList.C (ParagraphList): adjust
3910         (assign): adjust
3911         (push_back): take a reference instead of a pointer.
3912
3913         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3914
3915         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3916         instead.
3917
3918         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3919         set else use old code.
3920
3921         * ParagraphList.C: remove all NO_NEXT code and only compile this
3922         code of NO_STD_LIST is set.
3923
3924 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3925
3926         * BufferView_pimpl.C:
3927         * TextCache.C:
3928         * TextCache.h:
3929         * bufferlist.C:
3930         * errorlist.h:
3931         * format.C:
3932         * format.h:
3933         * graph.C:
3934         * lyxfunc.C:
3935         * lyxrc.C:
3936         * graphics/GraphicsConverter.C:
3937         * graphics/PreviewLoader.C: header adjustment
3938
3939 2003-05-23  Angus Leeming  <leeming@lyx.org>
3940
3941         * LaTeXFeatures.[Ch] (useBabel): new method.
3942         * bufferparams.C (writeLaTeX): use it.
3943
3944 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3945
3946         * ParagraphList.h (set): remove unused function.
3947
3948 2003-05-23  André Pönitz  <poenitz@gmx.net>
3949
3950         * BufferView.C:
3951         * BufferView_pimpl.C:
3952         * buffer.C:
3953         * buffer.h:
3954         * lyxfunc.C:
3955         * undo_funcs.C: setUndo reworked
3956
3957         * iterators.[Ch]: add access to topmost ParagraphList
3958
3959         * lyxtext.[Ch] (workWidth): add a const
3960
3961 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3962
3963         * texrow.[Ch] (increasePos): remove function
3964         * exporter.C (export): removed unused var and outdated comment
3965
3966 2003-05-23  Angus Leeming  <leeming@lyx.org>
3967
3968         * latexrunparams.h: rename fragile as moving_arg.
3969         * paragraph.C (simpleTeXOnePar): ditto.
3970         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3971
3972 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3973
3974         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3975         (createUndo): ditto
3976         (textUndoOrRedo): comment out a currently unused var.
3977
3978         * paragraph.h (NO_NEXT): enable NO_NEXT
3979
3980         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3981
3982         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3983
3984         * exporter.C (Export): adjust for removeAutoInsets removal.
3985
3986         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3987
3988         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3989
3990         * BufferView.[Ch] (removeAutoInsets): delete function
3991
3992 2003-05-22  Angus Leeming  <leeming@lyx.org>
3993
3994         * latexrunparams.h: add a free_spacing variable.
3995
3996         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3997         to pass moving_arg, as the data is stored in runparams.fragile.
3998
3999         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4000         to Inset::latexOptional or to simpleTeXOnePar.
4001
4002         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4003         free_spacing arg to Inset::latexOptional.
4004
4005         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4006         free_spacing arg.
4007
4008 2003-05-22  Angus Leeming  <leeming@lyx.org>
4009
4010         * latexrunparams.h: add fragile and use_babel variables.
4011
4012         * bufferparams.[Ch] (writeLaTeX): return use_babel.
4013         * buffer.C (makeLaTeXFile): store this returned value in
4014         runparams.use_babel, thus passing it to the inset::latex methods.
4015
4016         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4017         simpleTeXSpecialChars as it is now stored in runparams.fragile.
4018
4019         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4020         longer has a fragile arg, as it is stored in runparams.fragile.
4021
4022         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4023         moving_arg parameter as the data is stored in runparams.fragile.
4024
4025         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4026         a fragile parameter as the data is stored in runparams.fragile.
4027
4028 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4029
4030         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4031
4032 2003-05-22  Angus Leeming  <leeming@lyx.org>
4033
4034         * latexrunparams.h: add a 'bool nice' which defaults to false.
4035
4036         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4037         now encapsulated within runparams.
4038
4039         * bufferlist.C (updateIncludedTeXfiles):
4040         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4041
4042 2003-05-22  Angus Leeming  <leeming@lyx.org>
4043
4044         * latexrunparams.h: new file containing struct LatexRunParams.
4045         * Makefile.am: add new file.
4046
4047         * LaTeX.[Ch] (c-tor, run):
4048         * buffer.[Ch] (makeLaTeXFile):
4049         * bufferlist.[Ch] (updateIncludedTeXfiles):
4050         * converter.C (convert, scanLog):
4051         * converter.[Ch] (runLaTeX):
4052         * exporter.C (Export):
4053         * paragraph.[Ch] (simpleTeXOnePar):
4054         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4055         * paragraph_funcs.[Ch] (latexParagraphs):
4056         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4057         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4058         pass around a LatexRunParams parameter.
4059
4060 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4061
4062         * paragraph.[Ch]: remove unused constructor
4063
4064         * ParagraphList.C (erase): new function, taking two iterators
4065
4066 2003-05-22  André Pönitz  <poenitz@gmx.net>
4067
4068         * undo_funcs.C: remove duplicated code
4069
4070         * iterator.[Ch]: operator=
4071
4072 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4073
4074         * tabular.C (SetMultiColumn): ws changes
4075
4076         * rowpainter.C (paintFirst): get rid of a ->previous
4077
4078         * lyx_cb.C (getPossibleLabel): parlist simplification
4079
4080         * BufferView.C (ChangeInsets): simplify slightly.
4081
4082 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4083
4084         * LyXAction.C: new lfun space-insert, kill protected-space-insert
4085         * lfuns.h: new LFUN_SPACE
4086         * lyxfunc.C: protected space has a new lfun
4087         * paragraph_funcs.C: read new space insets
4088         * text3.C:
4089         * factory.C: handle new space insets
4090
4091 2003-05-22  André Pönitz  <poenitz@gmx.net>
4092
4093         * BufferView.C:
4094         * BufferView_pimpl.C:
4095         * buffer.[Ch]:
4096         * lyxfunc.C:
4097         * undo_funcs.C: return a ParIterator from getParFromID.
4098
4099         * iterators.[Ch]: add two const's
4100
4101 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4102
4103         * toc.C (getTocList): adjust
4104
4105         * iterators.[Ch]: rework for parlist
4106
4107         * buffer.C (par_iterator_begin): adjust
4108         (par_iterator_end): adjust
4109
4110         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4111
4112         * BufferView.C (removeAutoInsets): adjust
4113         (ChangeInsets): adjust
4114
4115 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
4116
4117         * text.C (top_y): fix bug 1110
4118
4119 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
4120
4121         * errorlist.[Ch]: added
4122         * buffer.C:
4123         * BufferView.[Ch]:
4124         * BufferView_pimpl.C:
4125         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4126         instead
4127
4128 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4129
4130         * Makefile.am: ensure that lyx is relinked upon changes to the
4131         various "convenience" libs.
4132
4133 2003-05-20  Angus Leeming  <leeming@lyx.org>
4134
4135         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4136         files are compiled in alphabetical order again.
4137
4138         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4139
4140 2003-05-19  Angus Leeming  <leeming@lyx.org>
4141
4142         * gettext.[Ch]: remove "char const * _(char const *)".
4143
4144 2003-05-19  André Pönitz  <poenitz@gmx.net>
4145
4146         * dimension.[Ch]: promote from mathed/dimension.[Ch]
4147
4148         * Makefile.am:
4149         * BufferView.C:
4150         * DepTable.h:
4151         * LaTeXFeatures.C:
4152         * buffer.C:
4153         * lyxfont.C:
4154         * lyxlex.h:
4155         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4156
4157 2003-05-19  André Pönitz  <poenitz@gmx.net>
4158
4159         * buffer.C:
4160         * lyxlayout.[Ch]:
4161         * lyxtextclass.[Ch]:
4162         * paragraph.C:
4163         * paragraph_funcs.[Ch]:
4164         * text2.C:
4165         * text3.C: more insetenv work
4166
4167 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
4168
4169         * ParagraphParameters.C (params2string): small bug fixed
4170
4171 2003-05-16  André Pönitz  <poenitz@gmx.net>
4172
4173         * debug.C:
4174         * bufferview_funcs.C: patch from Kornel Benko to prevent
4175           crash when _(...) is called twice in a statement
4176
4177 2003-05-16  André Pönitz  <poenitz@gmx.net>
4178
4179         * BufferView.C:
4180         * lyxfunc.C:
4181         * text.C:
4182         * text2.C:
4183         * text3.C:
4184         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4185
4186 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
4187
4188         * lyx_main.C (init): remove spurious static_cast
4189
4190 2003-05-14  André Pönitz  <poenitz@gmx.net>
4191
4192         * BufferView.C: fix format string
4193
4194 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
4195
4196         * BufferView.[Ch] (insertErrors): removed
4197         * BufferView.[Ch] (showErrorList): added
4198         * buffer.C (runChkTeX):
4199         * converter.C (scanLog): call showErrorList instead of inserterrors
4200
4201 2003-05-13  André Pönitz  <poenitz@gmx.net>
4202
4203         * BufferView_pimpl.C:
4204         * buffer.C:
4205         * bufferview_func.C:
4206         * MenuBackend.C:
4207         * lyxfunc.C:
4208         * lyxrc.C:
4209         * tex-accent.C:
4210         * text3.C:
4211         * toc.C:
4212         * tabular_funcs.h: tostr() from its own header
4213
4214         * ParagraphParameters.C:
4215         * ToolbarBackend.C:
4216         * bufferparams.C:
4217         * format.C:
4218         * lyxlex_pimpl.C:
4219         * text3.C: STRCONV()
4220
4221 2003-05-12  André Pönitz  <poenitz@gmx.net>
4222
4223         * BufferView.C:
4224         * BufferView_pimpl.C:
4225         * CutAndPaste.C:
4226         * LaTeX.C:
4227         * LaTeXFeatures.C:
4228         * ParagraphParameters.C:
4229         * buffer.C:
4230         * bufferlist.C:
4231         * bufferparams.C:
4232         * bufferview_funcs.C:
4233         * converter.C:
4234         * counters.C:
4235         * debug.C:
4236         * exporter.C:
4237         * format.C:
4238         * importer.C:
4239         * lyx_cb.C:
4240         * lyx_main.C:
4241         * lyxfont.C:
4242         * lyxfunc.C:
4243         * lyxvc.C:
4244         * paragraph.C:
4245         * paragraph_funcs.C:
4246         * tabular.C:
4247         * tabular_funcs.C:
4248         * text2.C:
4249         * text3.C:  boost::format -> bformat  all over the place
4250
4251
4252 2003-05-09  André Pönitz  <poenitz@gmx.net>
4253
4254         * LColor.[Ch]: Pimpl the #include <map> away
4255
4256 2003-05-09  John Levon  <levon@movementarian.org>
4257
4258         * bufferlist.C: never remove emergency saves
4259
4260 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4261
4262         * Makefile.am: better lib building
4263
4264 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4265
4266         * texrow.[Ch]: remove dependency on Paragraph and just store a id
4267         instead.
4268         * paragraph_pimpl.C (simpleTeXBlanks): adjust
4269         (simpleTeXSpecialChars): adjust
4270         (simpleTeXSpecialChars): adjust
4271         * paragraph.C (simpleTeXOnePar): adjust
4272         * buffer.C (makeLaTeXFile): adjust
4273
4274         * Makefile.am (BOOST_LIBS): allow boost as system lib.
4275
4276         * text2.C (changeDepth): parlist cleanup
4277         (getColumnNearX): ditto
4278
4279         * rowpainter.C (getLabelFont): parlist cleanup
4280
4281         * bufferlist.C (newFile): parlist cleanup
4282
4283         * CutAndPaste.C (eraseSelection): parlist cleanup
4284
4285         * BufferView_pimpl.C (trackChanges): parlist cleanup
4286         (dispatch): ditto
4287
4288         * BufferView.C (lockInset): parlist cleanup.
4289         (ChangeInsets): ditto
4290
4291 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4292
4293         * CutAndPaste.h: Update file header.
4294
4295         * CutAndPaste.C: Update file header.
4296         Store the parts cut out of the Document in a limited_stack.
4297         (copySelection): adjust
4298         (pasteSelection): new function, takes the index in the limited stack.
4299         (nrOfParagraphs): adjust
4300         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4301         simplify error inset insertion.
4302         (checkPastePossible): adjust
4303
4304 2003-05-06  John Levon  <levon@movementarian.org>
4305
4306         * text2.C: don't cast wrap inset to float
4307
4308 2003-05-05  André Pönitz  <poenitz@gmx.net>
4309
4310         * iterator.C:
4311         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4312
4313         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4314           few naked Paragraph *.
4315
4316 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
4317
4318         * bufferparams.C: Output warning if a document with missing
4319         TeX document class is loaded
4320         * exporter.C: Disable TeX exports if the document class is missing
4321         * lyxtextclass.C:
4322         * lyxtextclass.h:
4323         * lyxtextclasslist.C: Handle new textclass.lst format; new method
4324         isTeXClassAvailable()
4325
4326 2003-05-03  John Levon  <levon@movementarian.org>
4327
4328         * BufferView.h:
4329         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4330         explicit cursor show/hide
4331
4332         * BufferView_pimpl.h:
4333         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4334         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4335
4336         * lyxfunc.C: hide cursor before dispatching.
4337
4338         * lyx_cb.C:
4339         * lyxfind.C:
4340         * text.C:
4341         * text3.C: remove explicit cursor hides
4342
4343 2003-05-02  André Pönitz  <poenitz@gmx.net>
4344
4345         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4346
4347         * undo_funcs.C:
4348         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4349           linked lists
4350
4351         * text2.C: tiny whitespace
4352
4353 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4354
4355         * undo_funcs.C: almost only ws changes.
4356
4357         * ParagraphList.C (splice): just return if pl is empty.
4358
4359 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4360
4361         * ParagraphList.C (splice): new function.
4362
4363         * CutAndPaste.C (pasteSelection): use it
4364
4365 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4366
4367         * CutAndPaste.C (pasteSelection): remove the last next and
4368         previous from this file.
4369
4370 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4371
4372         * CutAndPaste.C (pasteSelection): more clean up, user proper
4373         ParagraphList functions for pasteing.
4374
4375         * ParagraphList.C (insert): new function, three arg insert
4376
4377 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4378
4379         * ParagraphList.C (insert): new function, three arg insert
4380
4381         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4382         not on paragraphs.
4383
4384 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4385
4386         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4387
4388 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4389
4390         * CutAndPaste.C (pasteSelection): remove some unneeded code.
4391
4392 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4393
4394         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4395         (copySelection): clean up a bit.
4396         (pasteSelection): use make_pair
4397
4398         * ParagraphList.C (ParagraphList): implement copy constructor
4399         (operator=): implement, base on copy constructor.
4400         (assign): new func
4401
4402         * paragraph.C (erase): return a bool
4403
4404         * paragraph_pimpl.C (erasePos): remove function, move contents...
4405         (erase): ... here. Return a bool.
4406         (erase): call erase instead of erasePos.
4407
4408 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
4409
4410         * ParagraphList.h: define PitPosPair
4411         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4412         ParagraphList, fix a bug on pasting multiple pars
4413         * text2.C: change interface to C&P
4414
4415 2003-04-30  André Pönitz  <poenitz@gmx.net>
4416
4417         * undo_func.C: revert part of yesterday's patch 2
4418
4419 2003-04-30  John Levon  <levon@movementarian.org>
4420
4421         * LColor.C: s/tabular/table/
4422
4423 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4424
4425         * text3.C (dispatch): do not convert iterator -> pointer
4426         * undo_funcs.C (setCursorParUndo): ditto
4427         * text_funcs.C (transposeChars): ditto
4428
4429         * text2.C (setLayout): ws changes only
4430
4431         * text.C (breakParagraph): do not convert iterator -> pointer
4432         (insertChar): ditto
4433         (acceptChange): ditto
4434         (rejectChange): ditto
4435         (changeCase): ditto
4436         (Delete): ditto
4437         (backspace): ditto
4438
4439         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4440         pointer
4441
4442 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4443
4444         * text3.C (gotoInset): YABG (yet another bad getChar)
4445
4446 2003-04-29  André Pönitz  <poenitz@gmx.net>
4447
4448         * paragraph.h: make operator= private unimplemented as long as
4449           it is unusable
4450
4451         * ParagraphList.C: whitespace
4452
4453         * paragraph.[Ch]:
4454         * paragraph_pimpl.[Ch]:
4455         * paragraph_funcs.C:
4456         * CutAndPaste.C:
4457         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
4458
4459         * text2.C:
4460           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4461
4462 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4463
4464         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4465         * paragraph.[Ch] (erase):
4466         * paragraph_pimpl.[Ch] (erase): change return type and value
4467         * text2.C (cutSelection): some rework
4468
4469 2003-04-28  John Levon  <levon@movementarian.org>
4470
4471         * bufferlist.C: changes for unsaved changes dialog
4472
4473 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4474
4475         * bufferlist.C (newFile): set language (messages_) for new
4476         documents also.
4477
4478         * buffer.C (readFile): ws changes only.
4479
4480 2003-04-28  André Pönitz  <poenitz@gmx.net>
4481
4482         * undo_funcs.C:
4483         * lyxfunc.C:
4484         * buffer.[Ch]:
4485         * BufferView_pimpl.C:
4486         * BufferView.C: getParFromID related ParagraphList::iterator changes
4487
4488 2003-04-28  André Pönitz  <poenitz@gmx.net>
4489
4490         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4491           Changes
4492
4493 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4494
4495         * messages.C: remove one more localedir class variable.
4496
4497 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4498
4499         * messages.C (getLocaleDir): singleton generation function
4500         (Pimpl): use it.
4501         (Messages): add a default constructor.
4502
4503         * main.C (main): do not setup localedir here, do not call
4504         gettext_init.
4505
4506         * gettext.C (_): use it.
4507         (gettext_init): delete funciton
4508
4509 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4510
4511         * gettext.C (getLyXMessages): new singleton generating function.
4512
4513         * buffer.C (updateDocLang): adjust
4514
4515         * Makefile.am (messages.o): add target
4516         (main.o): remove target
4517
4518 2003-04-27  John Levon  <levon@movementarian.org>
4519
4520         * bufferlist.C:
4521         * lyx_cb.C:
4522         * lyxfunc.C:
4523         * lyxvc.C: specify cancel button in Alert::prompt
4524
4525 2003-04-26  John Levon  <levon@movementarian.org>
4526
4527         * text3.C:
4528         * lyxfunc.C:
4529         * lfuns.h:
4530         * LyXAction.C: add LFUN_INSET_SETTINGS
4531
4532         * lyxfunc.C: don't enable tabular-feature when there's
4533         just any locking inset
4534
4535 2003-04-26  John Levon  <levon@movementarian.org>
4536
4537         * bufferlist.C: re-add Cancel to buffer close question
4538
4539         * lyxfunc.C: fix import UI a bit
4540
4541 2003-04-25  John Levon  <levon@movementarian.org>
4542
4543         * gettext.C: remove the broken asserts for now
4544
4545 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4546
4547         * messages.C: make case where setlocale cannot comply work better.
4548
4549         * buffer.C (updateDocLang): new function
4550         (changeLanguage): use it
4551         (readFile): use it
4552
4553         * text2.C (setCounter): use B_ a bit.
4554
4555         * lyxlayout.C (Read): be sure to trim the label strings.
4556
4557         * messages.C (Messages): fix typo in comment
4558
4559         * buffer.C (readFile): set message_ after file is loaded.
4560         (makeDocBookFile): remove double return
4561         (changeLanguage): reset message_ upon language change.
4562         (B_): new func, use this to get translated buffer strings.
4563
4564         * main.C: add myself and Jean Marc as authors.
4565
4566 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4567
4568         * messages.[hC]: pimplify Messages, and three different pimpls to be
4569         used in different circumstances.
4570
4571         * gettext.[Ch]: change for use with new message code.
4572
4573 2003-04-24 André Pönitz <poenitz@gmx.net>
4574
4575         * factory.C: support for eqref
4576
4577 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4578
4579         * messages.[Ch]: add missing char
4580
4581         * Makefile.am (lyx_SOURCES): add messages.[Ch]
4582
4583         * messages.[Ch]: New files
4584
4585 2003-04-18  John Levon  <levon@movementarian.org>
4586
4587         * BufferView.h:
4588         * BufferView.C:
4589         * BufferView_pimpl.C:
4590         * lfuns.h:
4591         * LyXAction.C:
4592         * lyxtext.h:
4593         * text2.C: remove layout-copy/paste (bug 778)
4594
4595 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4596
4597         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4598
4599 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4600
4601         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4602         if they succeed. Act accordingly.
4603
4604 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4605
4606         * text2.C (setCharFont): adjust
4607         (setCounter): adjust
4608         (insertStringAsLines): adjust
4609
4610         * text.C (leftMargin): adjust
4611         (setHeightOfRow): adjust
4612
4613         * rowpainter.C (paintFirst): adjust
4614         (paintLast): adjust
4615
4616         * paragraph_funcs.C (depthHook): ParagraphList::iterators
4617         (outerHook): ditto
4618         (isFirstInSequence): ditto
4619         (getEndLabel): ditto
4620         (outerFont): adjust
4621
4622         * paragraph.C (getParLanguage): comment out some hard stuff.
4623
4624         * buffer.C (insertStringAsLines): take a ParagraphList as arg
4625         (sgmlError): ditto
4626         (simpleDocBookOnePar): ditto
4627         (makeDocBookFile): use ParagraphList::iterator
4628
4629         * CutAndPaste.C (pasteSelection): adjust
4630
4631 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4632
4633         * text2.C (getFont): adjust
4634         (getLayoutFont): adjust
4635         (getLabelFont): adjust
4636
4637         * paragraph_funcs.C (TeXOnePar): adjust
4638
4639         * buffer.C (simpleLinuxDocOnePar): adjust
4640         (simpleDocBookOnePar): adjust
4641
4642         * CutAndPaste.C (pasteSelection): adjust
4643
4644         * BufferView.C (getEncoding): adjust
4645
4646         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4647
4648 2003-04-16  John Levon  <levon@movementarian.org>
4649
4650         * lyxfind.C: use parlist stuff for search/changes
4651
4652 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4653
4654         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4655
4656         * text2.C (deleteEmptyParagraphMechanism): adjust
4657
4658         * text2.[Ch] (ownerParagraph): delete func (both of them
4659
4660 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4661
4662         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4663
4664 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4665
4666         * ParagraphList.C: prepare for NO_NEXT
4667
4668 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4669
4670         * text2.C (getFont): adjust
4671         (getLayoutFont): adjust
4672         (getLabelFont): adjust
4673
4674         * paragraph.C (getFont): adjust
4675         (getLabelFont): adjust
4676         (getLayoutFont): adjust
4677
4678         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4679
4680 2003-04-15  John Levon  <levon@movementarian.org>
4681
4682         From Angus Leeming
4683
4684         * lyx_main.C: handle Include in .ui files
4685
4686 2003-04-15  John Levon  <levon@movementarian.org>
4687
4688         * MenuBackend.C: make the doc files length shorter
4689
4690         * ToolbarBackend.h:
4691         * ToolbarBackend.C: handle toolbar placement flags,
4692         Minibuffer
4693
4694 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4695
4696         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4697         adjust
4698
4699         * paragraph_funcs.C (TeXOnePar): adjust
4700
4701         * paragraph.C (getLabelFont): add outerfont arg, adjust
4702         (getLayoutFont): ditto
4703         (simpleTeXOnePar): adjust
4704
4705         * paragraph_pimpl.C (realizeFont): delete func
4706
4707 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
4708
4709         * text2.C (beforeFullRowInset): added a bad getchar check, removed
4710         row argument, constify cur argument.
4711
4712 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4713
4714         * text2.C (getFont): adjust
4715         (getLayoutFont): adjust
4716         (getLabelFont): adjust
4717
4718         * paragraph_funcs.C (TeXOnePar): adjust
4719         (outerFont): new func...
4720         (realizeFont): ...moved out from here, changed this to facilitate
4721         transition
4722
4723         * paragraph.C (getFont): take outerfont as arg, adjust
4724         (simpleTeXOnePar): add outerfont arg, adjust
4725
4726         * buffer.C (simpleLinuxDocOnePar): adjust
4727         (simpleDocBookOnePar): adjust
4728
4729         * CutAndPaste.C (pasteSelection): adjust
4730
4731         * BufferView.C (getEncoding): adjust
4732
4733 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4734
4735         * text2.C (setCharFont): adjust
4736         (setCounter): adjust
4737
4738         * text.C (leftMargin): adjust
4739         (setHeightOfRow): adjust
4740
4741         * rowpainter.C (paintFirst): adjust
4742         (paintLast): adjust
4743
4744         * paragraph_pimpl.C (realizeFont): adjust
4745
4746         * paragraph.C (isFirstInSequence): move from here...
4747         * paragraph_funcs.C (isFirstInSequence): ...to here
4748
4749         * paragraph.C (outerHook): move from here...
4750         * paragraph_funcs.C (outerHook): ...to here
4751
4752         * paragraph.C (depthHook): move from here...
4753         * paragraph_funcs.C (depthHook): ...to here
4754
4755         * paragraph.C (getEndLabel): move from here...
4756         * paragraph_funcs.C (getEndLabel): ...to here
4757
4758         * text2.C (realizeFont): move from here...
4759         * paragraph_funcs.C (realizeFont): ...to here
4760
4761 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4762
4763         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4764
4765 2003-04-14  Angus Leeming  <leeming@lyx.org>
4766
4767         * LColor.[Ch]: scrap LColor mathcursor.
4768
4769 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4770
4771         * lyxlex.[Ch] (text): delete function
4772         * trans.C (Load): adjust
4773         * paragraph_funcs.C (readParToken): adjust
4774
4775 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4776
4777         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4778         vector<char> instead of a char[].
4779
4780         * lyxlex_pimpl.C (getString): adjust
4781         (next): adjust
4782         (lex): use getString
4783         (eatLine): adjust
4784         (nextToken): adjust
4785
4786         * lyxlex.C (text): use pimpl_->getString()
4787         (getBool): ditto
4788         (findToken): ditto
4789
4790 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4791
4792         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4793         (makeFontEntriesLayoutSpecific): temp var for par.size()
4794         (setLayout): temp var for ownerParagraphs().end()
4795         (fullRebreak): temp var for rows().end()
4796         (selectionAsString): temp var for boost::next(startpit), realize
4797         that the while really is a regular for loop.
4798         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4799         setCursor in one place.
4800         (setParagraph): temp vr for ownerParagraphs().end()
4801         (updateCounters): make the while loop a for loop
4802         (cutSelection): temp var for ownerParagraphs().end()
4803         (updateInset): make the do {} while() a regular for loop
4804         (getCursorX): use temp vars
4805         (setCurrentFont): use temp vars
4806         (getColumnNearX): use temp vars
4807
4808 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4809
4810         * text.C (transformChar): use temp var for getChar
4811         (computeBidiTables): use temp var for row->par()
4812         (fill): move temp vars for row->par() and pit->layout() earlier in
4813         the function.
4814         (labelFill): use temp var for row->par()
4815         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4816         asc and desc, realize that pit never changes and that firstpit is
4817         just a duplicate and not needed. Exchange rit->par() with pit in a
4818         lot of places.
4819         (breakAgain): use a temp var for boost::next(rit)
4820         (breakAgainOneRow): ditto
4821         (breakParagraph): use a temp var for rows().begin()
4822         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4823         (cursorRightOneWord): use temp var for cursor.par() and
4824         cursor.pos(), remove usage of tmpcursor.
4825         (cursorLeftOneWord): use temp var for cursor.par() and
4826         cursor.pos() only set cur at end of function.
4827
4828 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4829
4830         * text.C, text2.C: exchange all usage of Paragraph::next with
4831         boost::next(ParagraphList::iterator)
4832
4833         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4834
4835         * text2.C (cursorTop): simplify implementation
4836         (cursorBottom): ditto
4837         (setParagraph): use ParagraphList::iterator
4838         (setCurrentFont): adjust
4839         (getColumnNearX): adjust
4840         (cursorRight): adjust
4841         (cursorLeft): remove usage of Paragraph::previous
4842         (cursorUpParagraph): ditto
4843         (deleteEmptyParagraphMechanism): slight cleanup
4844
4845         * text.C (isBoundary): take a Paragraph const & instead of a
4846         pointer as arg.
4847         (addressBreakPoint): ditto
4848         (leftMargin): remove usage of Paragraph::previous.
4849         (setHeightOfRow): ditto
4850         (cursorLeftOneWord): ditto
4851         (selectNextWordToSpellcheck): ditto
4852         (Delete): ditto
4853         (backspace): ditto
4854         (breakParagraph): remove one usage of Paragraph::next
4855         (redoParagraph): ditto
4856         (acceptChange): ditto
4857         (insertChar): adjust
4858         (rowBreakPoint): adjust
4859
4860         * bufferview_funcs.C (toggleAndShow): adjust
4861
4862 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4863
4864         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4865         methods to access it.
4866         * lyxtext.h:
4867         * text.C: Added updateRowPositions to compute all row positions.
4868         Make top_y and getRowNearY() to use the cached y position
4869
4870 2003-04-11  John Levon  <levon@movementarian.org>
4871
4872         * text.C (rowBreakPoint): reintroduce the labelEnd
4873         checks, code copied from the row fill stuff. Deep voodoo.
4874
4875         * text.C (fill): add a comment and debugging for the
4876         next poor soul.
4877
4878 2003-04-11  John Levon  <levon@movementarian.org>
4879
4880         * text.C: make sure fullrow insets get wrapped to the next line,
4881         even when they're in a manual label
4882
4883 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4884
4885         * text2.C (insertParagraph): make it take ParagraphList::iterator
4886         as arg.
4887         (setLayout): make it return ParagraphList::iterator
4888         (redoParagraphs): ditto
4889         (setCounter): ditto
4890         (checkParagraph): ditto
4891
4892         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4893
4894         * text2.C: adjust several funcs.
4895         (realizeFont): take a ParagraphList::iterator as arg.
4896         (getLayoutFont): ditto
4897         (getLabelFont): ditto
4898         (setCharFont): ditto
4899
4900         * text.C: adjust several funcs.
4901
4902 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4903
4904         * text.C (selectNextWordToSpellcheck): don't accidentally
4905         skip insets
4906
4907 2003-04-10  John Levon  <levon@movementarian.org>
4908
4909         * ToolbarBackend.C (getIcon): special handling for
4910         LFUN_MATH_DELIM
4911
4912 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4913
4914         * text2.C (cursorRight): a getChar assert fixed
4915
4916 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4917
4918         * text2.C (getFont): change to take a ParagraphList::iterator
4919         instead of Paragraph*
4920         Adjust several functions.
4921
4922         * text.C (transformChar): change to take a ParagraphList::iterator
4923         instead of Paragraph*
4924         (singleWidth): ditto
4925         Adjust several functions.
4926
4927         * rowpainter.C: adjust several functions
4928         * rowpainter.h:store a ParagraphList::iterator and not a
4929         Paragraph&.
4930
4931
4932 2003-04-09  John Levon  <levon@movementarian.org>
4933
4934         * lyxfunc.C:
4935         * lfuns.h:
4936         * LyXAction.h:
4937         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4938         and the "help" bits as well
4939
4940 2003-04-09  John Levon  <levon@movementarian.org>
4941
4942         * ToolbarBackend.h:
4943         * ToolbarBackend.C: allow multiple toolbars
4944
4945 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4946
4947         * undo_funcs.C (setCursorParUndo): adjust
4948
4949         * text_funcs.C (transposeChars): adjust
4950
4951         * text3.C (gotoNextInset): adjust
4952         (dispatch): adjust
4953
4954         * text2.C (setLayout): adjust
4955         (changeDepth): adjust
4956         (setFont): adjust
4957         (redoParagraphs): adjust
4958         (selectionAsString): adjust
4959         (setParagraph): adjust
4960         (insertInset): adjust
4961         (cutSelection): adjust
4962         (copySelection): adjust
4963         (pasteSelection): adjust
4964         (insertStringAsLines): adjust
4965         (updateInset): adjust
4966         (setCursor): change to take a ParagraphList::iterator parameter
4967         (setCursorIntern): change to take a ParagraphList::iterator parameter
4968         (setCurrentFont): adjust
4969         (cursorLeft): adjust
4970         (cursorRight): adjust
4971         (deleteEmptyParagraphMechanism): adjust
4972
4973         * text.C (breakParagraph): adjust
4974         (insertChar): adjust
4975         (acceptChange): adjust
4976         (rejectChange): adjust
4977         (selectNextWordToSpellcheck): adjust
4978         (changeCase): adjust
4979         (Delete): adjust
4980         (backspace): adjust
4981
4982         * lyxfind.C (SearchForward): adjust
4983         (SearchBackward): adjust
4984         (nextChange): adjust
4985
4986         * lyxcursor.C (par): adjust
4987
4988         * lyxcursor.h: store a ParagraphList::iterator instead of a
4989         Paragraph*
4990
4991         * lyx_cb.C (getPossibleLabel): adjust
4992
4993         * bufferview_funcs.C (toggleAndShow): adjust
4994
4995         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4996         (dispatch): adjust
4997
4998         * BufferView.C (removeAutoInsets): adjust
4999         (lockedInsetStoreUndo): adjust
5000
5001 2003-04-09  John Levon  <levon@movementarian.org>
5002
5003         * ToolbarBackend.C: try icon without argument
5004         if with argument fails
5005
5006 2003-04-08  John Levon  <levon@movementarian.org>
5007
5008         * ToolbarBackend.h:
5009         * ToolbarBackend.C: add getIcon(), handle tooltip,
5010         and change from "Icon" to "Item".
5011
5012 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5013
5014         * BufferView.C (lockInset): another bad getchar crunched
5015
5016 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5017
5018         * text2.C (changeDepth): do not setUndo on test_only (make undo work
5019         again)
5020
5021 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
5022
5023         * lyxfind.C (searchForward, searchBackwards): bug 782
5024
5025 2003-04-07  John Levon  <levon@movementarian.org>
5026
5027         * paragraph.C: remove dead comment
5028
5029         * text.C: remove troublesome depth-fiddling code
5030         in leftMargin() and rightMargin() (bug 1017)
5031
5032         * text.C: fix breaking of rows in nested lists
5033         (bug 1004)
5034
5035         * text2.C (updateCounters): fix up depth values
5036         (bug 1013)
5037
5038 2003-04-07  John Levon  <levon@movementarian.org>
5039
5040         * BufferView_pimpl.C: clear message when doc finishes resizing,
5041         and after a mouse event
5042
5043         * lyxfunc.C: clear message after exiting inset
5044
5045 2003-04-07  John Levon  <levon@movementarian.org>
5046
5047         * bufferview_funcs.C: show math status not outside
5048         status in the statusbar
5049
5050 2003-04-07  John Levon  <levon@movementarian.org>
5051
5052         * lyxfunc.C: note status changed after a depth change
5053
5054 2003-04-04  Angus Leeming  <leeming@lyx.org>
5055
5056         * LaTeX.h: move AuxInfo operator==, != out of line.
5057         Remove LaTeX virtual destructor; nothing derives from it.
5058         Move operator()() out of public area and rename it startscript().
5059         Change protected for private.
5060
5061 2003-04-04  Angus Leeming  <leeming@lyx.org>
5062
5063         * lyxfunc.C:
5064         * text2.C: remove unneeded #includes.
5065
5066 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5067
5068         * text2.C (dEPM): fix the heigth of the next row
5069
5070 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5071
5072         * text.C: squashed an invalid getChar requester + some ws changes
5073
5074 2003-04-03  John Levon  <levon@movementarian.org>
5075
5076         * bufferview_funcs.h:
5077         * bufferview_funcs.C:
5078         * lyxfunc.C:
5079         * lyxtext.h:
5080         * text2.C: make getStatus work for the env depth lfuns
5081
5082 2003-04-03  John Levon  <levon@movementarian.org>
5083
5084         * bufferview_funcs.h:
5085         * bufferview_funcs.C:
5086         * lyxfunc.C:
5087         * lyxtext.h:
5088         * text2.C: parlistize decDepth(), by merging it with incDepth()
5089
5090 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5091
5092         * lyxrow.h: store a ParagraphList::iterator instead of a
5093         Paragraph* and adjust other class functions to suit.
5094
5095         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5096         above.
5097
5098 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5099
5100         * text2.C (setCursor): do not anchor to cursor row for the time being
5101
5102 2003-04-02  John Levon  <levon@movementarian.org>
5103
5104         * LyXAction.C:
5105         * lfuns.h:
5106         * lyx_main.C:
5107         * lyxtext.h:
5108         * text.C:
5109         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5110
5111 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5112
5113         * paragraph.h: make ParagraphList and ParagraphList::iterator
5114         friends of Paragraph.
5115
5116         * buffer.C (makeLinuxDocFile): move towards ParagraphList
5117
5118         * ParagraphList.C: Use the private next_ and previous_ from
5119         Paragraph.
5120
5121 2003-04-01  John Levon  <levon@movementarian.org>
5122
5123         * ToolbarBackend.h:
5124         * ToolbarBackend.C:
5125         * Makefile.am: rename, remove defaults gunk
5126
5127         * MenuBackend.h:
5128         * MenuBackend.C: remove defaults gunk
5129
5130         * Languages.h:
5131         * Languages.C: remove defaults gunk
5132
5133         * lyx_main.h:
5134         * lyx_main.C: error out if files couldn't be found.
5135
5136 2003-04-02  John Levon  <levon@movementarian.org>
5137
5138         * text2.C: make incDepth() use parlist
5139
5140 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5141
5142         * undo_funcs.C (firstUndoParagraph): adjust
5143
5144         * text3.C (gotoInset): adjust
5145         (dispatch): adjust, and rewrite loop.
5146
5147         * text2.C (init): adjust, and rewrite loop.
5148         (redoParagraphs): adjust
5149         (updateInset): adjust, and rewrite loop.
5150         (deleteEmptyParagraphMechanism): adjust
5151
5152         * tabular.C (LyXTabular): adjust
5153         (SetMultiColumn): adjust
5154         (TeXRow): adjust
5155
5156         * lyxtext.[Ch] (ownerParagraph): delete function
5157         (ownerParagraphs): new function returns a ParagraphList.
5158
5159         * BufferView.C (removeAutoInsets): adjust
5160         (insertErrors): adjust
5161         (setCursorFromRow): adjust
5162
5163 2003-04-01  Angus Leeming  <leeming@lyx.org>
5164
5165         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5166         in the frontends.
5167
5168 2003-04-02  John Levon  <levon@movementarian.org>
5169
5170         * lyxtext.h:
5171         * text.C:
5172         * Makefile.am:
5173         * text_funcs.h:
5174         * text_funcs.C: make transposeChars a free function
5175
5176         * lyxrow_funcs.C: remove wrong comment
5177
5178 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5179
5180         * lyxtext.h: adjust
5181         * rowpainter.C: adjust
5182         * text.C: adjust
5183         * text2.C: adjust
5184         * text3.C: adjust
5185
5186         * lyxrow_funcs. [Ch]: new files
5187
5188         * lyxrow.[Ch]: remove next and previous pointers
5189         (next,previous): remove accessor functions
5190         (isParEnd): move to lyxrow_funcs
5191         (lastPos): move to lyxrow_funcs
5192         (nextRowIsAllInset): move to lyxrow_funcs
5193         (lastPrintablePos): move to lyxrow_funcs
5194         (numberOfSeparators): move to lyxrow_funcs
5195         (numberOfHfills): move to lyxrow_funcs
5196         (numberOfLabelHfills): move to lyxrow_funcs
5197         (hfillExpansion): move to lyxrow_funcs
5198
5199         * lyxfunc.C: adjust
5200
5201         * bufferview_funcs.C (toggleAndShow): adjust
5202
5203         * RowList.h: Remove class RowList from file leave just a
5204         std::list<Row>.
5205
5206         * RowList.C: delete file
5207
5208         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5209         and lyxrow_funcs.h
5210
5211 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5212
5213         * text3.C (cursorPrevious): adjust
5214         (cursorNext): adjust
5215         (dispatch): adjust
5216
5217         * text2.C (redoHeightOfParagraph): adjust
5218         (redoDrawingOfParagraph): adjust
5219         (setCursor): adjust
5220
5221         * text.C (breakParagraph): adjust
5222         (insertChar): adjust
5223         (backspace): adjust
5224
5225         * rowpainter.C (RowPainter): adjust
5226         (leftMargin): simplify and adjust
5227         (most rowpainter functions): adjust.
5228
5229         * rowpainter.h: store the row as RowList::iterator not as Row*
5230
5231         * lyxcursor.C (row): taka RowList::iterator as arg
5232         (irow): ditto
5233
5234         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5235         of Row*.
5236
5237 2003-04-01  Angus Leeming  <leeming@lyx.org>
5238
5239         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5240         stuff like bool Bool.
5241
5242 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5243
5244         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5245         rewrite a loop
5246
5247 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5248
5249         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5250         RowList::iterator.
5251
5252         * lyxtext.h (rows): drop one version and leve a const variant that
5253         returns a RowList::iterator.
5254
5255 2003-03-31  Angus Leeming  <leeming@lyx.org>
5256
5257         * text.C (fill): ensure that the signature is the same as that in the
5258         header file.
5259
5260 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
5261
5262         * text2.C (redoParagraphs): adjust
5263         (updateCounters): adjust
5264         (checkParagraph): adjust
5265         (getColumnNearX): adjust and reformat a bit.
5266
5267         * text.C (top_y): adjust
5268         (workWidth): adjust
5269         (leftMargin): adjust
5270         (prepareToPrint): adjust
5271         (getRow): adjust
5272         (getRowNearY): adjust
5273
5274         * lyxtext.h: make rowlist_ mutable.
5275
5276         * RowList.h: add const_iterator
5277         * RowList.C: adjust for RowList::const_iterator.
5278
5279         * text2.C (getCursorX): make it take a RowList::iterator as arg,
5280         adjust.
5281
5282 2003-03-31  John Levon  <levon@movementarian.org>
5283
5284         * lyxrc.h:
5285         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5286
5287         * lyx_main.C: set default fonts from using lyx_gui funcs
5288
5289         * exporter.C: pdf_mode moved from lyxrc
5290
5291         * lyx_cb.C:
5292         * lyxfunc.C: changes from above
5293
5294 2003-03-31  John Levon  <levon@movementarian.org>
5295
5296         * lyx_main.C: fix to the last fix
5297
5298 2003-03-31  John Levon  <levon@movementarian.org>
5299
5300         * bufferlist.C: "Load original" -> "Load Original"
5301
5302         * converter.C:
5303         * exporter.C:
5304         * importer.C:
5305         * lyx_main.C:
5306         * format.C: more Alert cleanups
5307
5308 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5309
5310         * text2.C (removeParagraph): make it take a RowList::iterator as
5311         arg, adjust.
5312         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5313         (postRowPaint): make it take a RowList::iterator as arg, adjust.
5314
5315         * text.C (anchor_row): make it take a RowList::iterator as arg,
5316         adjust.
5317         (computeBidiTables): make it take a const reference to Row instead
5318         of Row pointer, adjust.
5319         (leftMargin): make it take a RowList::iterator as arg, adjust.
5320         (rowBreakPoint): adjust
5321         (breakAgainOneRow): make it take a RowList::iterator as arg,
5322         adjust.
5323         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5324
5325         * bufferview_funcs.C (toggleAndShow): adjust
5326
5327 2003-03-30  John Levon  <levon@movementarian.org>
5328
5329         * Makefile.am:
5330         * BoostFormat.h:
5331         * boost-inst.C: moved to support
5332
5333         * several files: changes as a result
5334
5335 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5336
5337         * text2.C (LyXText): adjust.
5338         (init): adjust
5339         (removeRow): make it take a RowList::iterator as arg, adjust.
5340         (fullRebreak): adjust
5341         (deleteEmptyParagraphMechanism): adjust
5342         (clearPaint): adjust
5343         (postPaint): adjust
5344
5345         * text.C (top_y): adjust
5346         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5347         (breakAgain): make it take a RowList::iterator as arg, adjust.
5348         (breakParagraph): adjust
5349         (insertChar): adjust
5350         (backspace): adjust
5351
5352         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5353         need_break_row, and refresh_row.
5354
5355         * text3.C (dispatch): adjust
5356
5357         * text2.C (checkParagraph): adjust
5358         (setCursor): adjust
5359         (setCursorFromCoordinates): adjust
5360
5361         * text.C (top_y): adjust
5362         (workWidth): adjust
5363         (getRow): make it return a RowList::iterator, adjust
5364         (getRowNearY): make it return a RowList::iterator, adjust
5365
5366         * text2.C (init): adjust
5367         (insertRow): remove function
5368         (insertParagraph): adjust
5369         (redoParagraphs): adjust
5370         (fullRebreak): adjust
5371         (updateCounters): adjust
5372
5373         * text.C (top_y): rewrite to use RowList iterators.
5374         (top_y): adjust
5375         (setHeightOfRow): rewrite to sue RowList iterators.
5376         (appendParagraph): adjust
5377         (breakAgain): adjust
5378         (breakAgainOneRow): adjust
5379         (breakParagraph): adjust
5380         (getRow): adjust
5381         (getRowNearY): adjust, and remove commented code.
5382
5383         * lyxtext.h (firstRow): delete function
5384         (lastRow): delete function
5385         (rows): new function (const and non-const versions.)
5386         (insertRow): delete function
5387
5388         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5389
5390 2003-03-29  John Levon  <levon@movementarian.org>
5391
5392         * BufferView_pimpl.C: always update scrollbar top
5393         because pasting text when we're anchored could mean we
5394         miss an update altogether
5395
5396 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5397
5398         * text2.C (init): use rowlist_.end() and not 0.
5399         (insertRow): change to take a RowList::iterator as arg, adjust
5400         for this.
5401         (insertParagraph): change to take a RowList::iterator as arg,
5402         adjust for this.
5403         (redoParagraphs): remove some debug msgs.
5404
5405         * text.C (appendParagraph): change to take a RowList::iterator
5406         arg, adjust for this.
5407         (breakAgain): add an assert
5408         (breakAgainOneRow): ditto
5409
5410 2003-03-29  John Levon  <levon@movementarian.org>
5411
5412         * text2.C: do not clear selection after inc/decDepth
5413         (bug 550)
5414
5415 2003-03-29  John Levon  <levon@movementarian.org>
5416
5417         * BufferView.C:
5418         * buffer.C: fix broken strerrors according to Lars
5419
5420 2003-03-29  John Levon  <levon@movementarian.org>
5421
5422         * converters.C: more Alert cleanups
5423
5424 2003-03-29  John Levon  <levon@movementarian.org>
5425
5426         * bufferview_funcs.C: remove pointless Alert
5427
5428         * buffer.C: fix confusing error message when
5429         a template is chmoded 000
5430
5431 2003-03-29  John Levon  <levon@movementarian.org>
5432
5433         * BufferView.C:
5434         * BufferView.h:
5435         * BufferView_pimpl.C: Alert fixes
5436
5437         * Makefile.am:
5438         * tabular.C:
5439         * tabular-old.C: remove unused table compat reading
5440
5441 2003-03-29  John Levon  <levon@movementarian.org>
5442
5443         * BufferView.C:
5444         * buffer.C:
5445         * lyx_cb.h:
5446         * lyx_cb.C: more Alert cleanups
5447
5448         * lyxfunc.C: don't allow chktex if not latex document
5449
5450 2003-03-29  John Levon  <levon@movementarian.org>
5451
5452         * lyx_cb.C:
5453         * BufferView.C:
5454         * buffer.C: warnings pushed down from support/,
5455         kill err_alert
5456
5457 2003-03-29  John Levon  <levon@movementarian.org>
5458
5459         * lyxfunc.C: safety check for C-r (revert)
5460
5461 2003-03-29  John Levon  <levon@movementarian.org>
5462
5463         * bufferlist.h:
5464         * bufferlist.C: several UI fixes using Alert::prompt.
5465         Fix the pointless looping quit code. Fix stupid revert
5466         behaviour (bug 938)
5467
5468         * lyxvc.h:
5469         * lyxvc.C:
5470         * lyx_cb.C: use Alert::prompt
5471
5472         * lyx_main.C: remove a silly question
5473
5474         * lyxfunc.C: remove a couple of silly questions,
5475         use Alert::prompt
5476
5477 2003-03-28  John Levon  <levon@movementarian.org>
5478
5479         * text2.C: fix bug 974 (End on empty par)
5480
5481 2003-03-28  John Levon  <levon@movementarian.org>
5482
5483         * BufferView_pimpl.C:
5484         * LyXAction.C:
5485         * lfuns.h: remove do-nothing math greek lfuns
5486
5487 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5488
5489         * lyxgluelength.h (isValidGlueLength): add default arg on
5490         parameter 2. Remove default arg from friend in class.
5491
5492         * lyxlength.h (isValidLength): add default arg on parameter 2.
5493         Remove default arg from friend in class.
5494
5495         * text2.C (LyXText): adjust, initialize refresh_row.
5496         (init): adjust
5497         (removeRow): adjust
5498         (insertRow): adjust
5499         (insertParagraph): adjst
5500         (redoParagraphs): adjust
5501         (fullRebreak): adjust
5502         (updateCounters): adjust
5503         (deleteEmptyParagraphMechanism): first attempt at fixing a
5504         crashing bug.
5505
5506         * text.C (top_y): adjust
5507         (setHeightOfRow): adjust
5508         (getRow): adjust
5509         (getRowNearY): adjust
5510
5511         * lyxtext.h: include RowList.h
5512         (~LyXText): not needed anymore, deleted.
5513         (firstRow): modify for RowList
5514         (lastRow): new function
5515         Delete firstrow and lastrow class variables, add a Rowlist
5516         rowlist_ class variable.
5517
5518         * lyxrow.C (lastPos): use empty() and not !size() to check if a
5519         paragraph is empty.
5520
5521         * RowList.C (insert): fix case where it == begin().
5522
5523 2003-03-26  Angus Leeming  <leeming@lyx.org>
5524
5525         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5526         the thesaurus dialog.
5527
5528 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5529
5530         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5531
5532         * RowList.[Ch]: new files
5533
5534         * ParagraphList.C (erase): handle the case where it == begin
5535         correctly.
5536
5537 2003-03-25  John Levon  <levon@movementarian.org>
5538
5539         * Makefile.am:
5540         * aspell_local.h:
5541         * aspell.C: add new aspell support
5542
5543         * lyxrc.h:
5544         * lyxrc.C: Make use_pspell be use_spell_lib. Always
5545         have it accessible.
5546
5547 2003-03-25  Angus Leeming  <leeming@lyx.org>
5548
5549         * lfuns.h:
5550         * LyXAction.C (init): new LFUN_INSET_INSERT.
5551
5552         * BufferView_pimpl.C (dispatch): split out part of the
5553         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5554
5555         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5556         LFUN_INSET_APPLY.
5557
5558 2003-03-25  Angus Leeming  <leeming@lyx.org>
5559
5560         * lyxfunc.C (dispatch): changes to the Dialogs interface.
5561
5562 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
5563
5564         * text2.C:
5565         * text3.C: remove useless row->height(0)
5566
5567 2003-03-25  John Levon  <levon@movementarian.org>
5568
5569         * lyxtext.h:
5570         * text2.C:
5571         * text3.C: rename the refreshing stuff to better names
5572
5573 2003-03-24  John Levon  <levon@movementarian.org>
5574
5575         * BufferView_pimpl.h:
5576         * BufferView_pimpl.C: update layout choice on a mouse
5577         press/release
5578
5579 2003-03-23  John Levon  <levon@movementarian.org>
5580
5581         * Makefile.am: fix commandtags.h reference
5582
5583 2003-03-22  John Levon  <levon@movementarian.org>
5584
5585         * BufferView_pimpl.C:
5586         * lyxtext.h:
5587         * rowpainter.C:
5588         * rowpainter.h:
5589         * text.C:
5590         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5591
5592 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
5593
5594         * lyxtext.h:
5595         * text.C: take the rtl methods out of line
5596
5597 2003-03-21 André Pönitz <poenitz@gmx.net>
5598
5599         * metricsinfo.[Ch]: new files containing structures to be passed around
5600         during the two-phase-drawing...
5601
5602 2003-03-21 André Pönitz <poenitz@gmx.net>
5603
5604         * lyxtextclass.C: read 'environment' tag.
5605
5606 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
5607
5608         * text2.C (removeRow): fix bug 964
5609
5610 2003-03-20  John Levon  <levon@movementarian.org>
5611
5612         * rowpainter.C:
5613         * text.C:
5614         * text2.C: paint cleanups. Inset::update() dropped font
5615         parameter
5616
5617 2003-03-19  John Levon  <levon@movementarian.org>
5618
5619         * lyxfunc.C: only fitcursor/markDirty if available()
5620
5621 2003-03-19  John Levon  <levon@movementarian.org>
5622
5623         * commandtags.h: rename to ...
5624
5625         * lfuns.h: ... this, and renumber / cleanup
5626
5627 2003-03-19  John Levon  <levon@movementarian.org>
5628
5629         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5630         fit the cursor after an lfun
5631
5632         * BufferView.h:
5633         * BufferView.C:
5634         * BufferView_pimpl.h:
5635         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5636
5637         * LyXAction.C: layout-character should have ReadOnly
5638
5639         * ParagraphParameters.C:
5640         * buffer.C:
5641         * bufferview_funcs.C:
5642         * lyx_cb.C:
5643         * lyxfind.C:
5644         * lyxtext.h:
5645         * text.C:
5646         * text2.C:
5647         * text3.C:
5648         * undo_funcs.C: changes from above
5649
5650 2003-03-18  John Levon  <levon@movementarian.org>
5651
5652         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5653         remove it from update()
5654
5655         * lyxfunc.C: update layout choice after an lfun
5656
5657         * text3.C: remove extra updateLayoutChoice()s
5658
5659 2003-03-18  John Levon  <levon@movementarian.org>
5660
5661         * text.C: top_y change means full repaint, fix
5662         a drawing bug with cursor movement
5663
5664 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5665
5666         * lyxtext.h:
5667         * text.C:
5668         * text2.C: anchor row on setCursor
5669
5670 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5671
5672         * lyxtext.h: remove almost all mutable keywords
5673         * text.C:
5674         * text2.C:
5675         * text3.C: remove const keywords accordingly
5676
5677 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5678
5679         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5680         anon namespace
5681         (TeXEnvironment): ditto
5682         (TeXOnePar): ditto
5683
5684 2003-03-17  John Levon  <levon@movementarian.org>
5685
5686         * text.C (rowBreakPoint): remove attempt to fix displayed
5687         math insets inside a manual label
5688
5689 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5690
5691         * lyxtext.h: remove BufferView* as first arg from almost all class
5692         functions.
5693         * other files: adjust.
5694
5695 2003-03-17  John Levon  <levon@movementarian.org>
5696
5697         * lyxtext.h:
5698         * undo_funcs.C:
5699         * text2.C: more paint cleanups
5700
5701         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5702
5703         * rowpainter.h:
5704         * rowpainter.C: remove "smart" background painting code
5705
5706 2003-03-16  John Levon  <levon@movementarian.org>
5707
5708         * lyxtext.h:
5709         * text.C:
5710         * text2.C:
5711         * text3.C: add helper functions for setting refresh_row/y
5712
5713 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
5714
5715         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5716         newline inset which *can* get inserted in the pass_thru layouts.
5717         This is primarily for literate documents.
5718
5719 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
5720
5721         * buffer.C: increment LYX_FORMAT to 223
5722
5723 2003-03-14 André Pönitz <poenitz@gmx.net>
5724
5725         * textclass.h: prepare for environment handling, ws changes
5726         * lyxlayout.C: read latexheader and latexfooter tags
5727
5728 2003-03-14  John Levon  <levon@movementarian.org>
5729
5730         * text2.C: rewrite ::status() a bit
5731
5732 2003-03-13  John Levon  <levon@movementarian.org>
5733
5734         * lyxtext.h: add some docs
5735
5736 2003-03-13  John Levon  <levon@movementarian.org>
5737
5738         * lyxtext.h:
5739         * text.C:
5740         * text2.C:
5741         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5742
5743 2003-03-13  John Levon  <levon@movementarian.org>
5744
5745         * text3.C: fix appendix redrawing
5746
5747 2003-03-13  John Levon  <levon@movementarian.org>
5748
5749         * text.C (setHeightOfRow):
5750         * rowpainter.h:
5751         * rowpainter.C: make appendix mark have the text
5752           "Appendix" so the user knows what it is
5753
5754         * LColor.h:
5755         * LColor.C: s/appendixline/appendix/ from above
5756
5757 2003-03-13  John Levon  <levon@movementarian.org>
5758
5759         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5760
5761         * text.C: fix a getChar(pos) bug properly
5762
5763 2003-03-13  Angus Leeming  <leeming@lyx.org>
5764
5765         * commandtags.h:
5766         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5767         Probably only temporary. Let's see how things pan out.
5768
5769         * BufferView.C (unlockInset):
5770         * BufferView_pimpl.C (fitCursor):
5771         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5772
5773         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5774         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5775
5776         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5777         new functions that convert ParagraphParameters to and from a string.
5778
5779         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5780         BufferView::Pimpl's dispatch.
5781         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5782
5783 2003-03-13 André Pönitz <poenitz@gmx.net>
5784
5785         * lyxfunc.C:
5786         * text3.C:
5787         * factory.C: make it aware of InsetEnv
5788
5789 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5790
5791         * text2.C (setCursor): never ask for one past last
5792         (setCursor): add some debugging messages.
5793
5794         * text.C (singleWidth): never ask for one past last
5795         (singleWidth): ditto
5796         (leftMargin): ditto
5797         (rightMargin): ditto
5798         (rowBreakPoint): ditto
5799         (setHeightOfRow): ditto
5800         (prepareToPrint): ditto
5801
5802         * rowpainter.C (paintBackground): never ask for one past last
5803         (paintText): never ask for one past last
5804
5805         * paragraph_pimpl.C (getChar): make the assert stricter, never
5806         allow the one past last pos to be taken
5807
5808         * paragraph.C (getChar): ws changes only
5809
5810         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5811         (numberOfSeparators): ditto
5812         (numberOfHfills): ditto
5813
5814 2003-03-12  John Levon  <levon@movementarian.org>
5815
5816         * author.h:
5817         * author.C:
5818         * bufferparams.h:
5819         * bufferparams.C:
5820         * paragraph_funcs.C: fix per-buffer authorlists
5821
5822 2003-03-12  John Levon  <levon@movementarian.org>
5823
5824         * text.C: fix newline in right address
5825
5826 2003-03-12  Angus Leeming  <leeming@lyx.org>
5827
5828         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5829         duplicate those in LyXFunc::dispatch.
5830
5831         * commandtags.h:
5832         * LyXAction.C:
5833         * ToolbarDefaults.C:
5834         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5835         Add LFUN_FONTFREE_UPDATE.
5836
5837         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5838         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5839
5840         * bufferview_func.[Ch]: several new functions to facilliate
5841         transfer of data to and from the character dialog.
5842
5843 2003-03-12  John Levon  <levon@movementarian.org>
5844
5845         * buffer.C:
5846         * paragraph.h:
5847         * paragraph.C:
5848         * paragraph_funcs.C:
5849         * paragraph_pimpl.C:
5850         * sgml.C:
5851         * tabular.C:
5852         * text.C:
5853         * text3.C: remove META_NEWLINE in favour of an inset
5854
5855         * rowpainter.h:
5856         * rowpainter.C: remove paintNewline (done by inset)
5857
5858 2003-03-12  John Levon  <levon@movementarian.org>
5859
5860         * paragraph_pimpl.C: complain about bad getChar()s
5861         for a while at least
5862
5863 2003-03-12  John Levon  <levon@movementarian.org>
5864
5865         * buffer.h:
5866         * buffer.C: move paragraph read into a separate function,
5867         a little renaming to reflect that.
5868
5869         * bufferparams.h:
5870         * bufferparams.C: remove the author_ids map, not necessary now
5871
5872         * factory.h:
5873         * factory.C: moved Buffer::readInset to here
5874
5875         * paragraph_funcs.h:
5876         * paragraph_funcs.C: readParagraph free function moved from
5877         buffer.C
5878
5879         * tabular.C: name change
5880
5881 2003-03-12  John Levon  <levon@movementarian.org>
5882
5883         * buffer.C:
5884         * ParagraphParameters.C: move par params input to
5885         a read() method
5886
5887         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5888         behave like a normal read from the stream wrt reading
5889         a line vs. a \\token
5890
5891 2003-03-12  John Levon  <levon@movementarian.org>
5892
5893         * paragraph.C:
5894         * ParagraphParameters.h:
5895         * ParagraphParameters.C: move output code to a
5896         ::write() method
5897
5898 2003-03-12  John Levon  <levon@movementarian.org>
5899
5900         * BufferView.C (insertLyXFile):
5901         * buffer.h:
5902         * buffer.C:
5903         * tabular.C: use a parlist iterator for creating the
5904           document.
5905
5906 2003-03-12  John Levon  <levon@movementarian.org>
5907
5908         * buffer.C: make current_change static local not
5909           static file-scope
5910
5911 2003-03-12  John Levon  <levon@movementarian.org>
5912
5913         * buffer.C: fix insertStringAsLines for change tracking
5914
5915 2003-03-12  John Levon  <levon@movementarian.org>
5916
5917         * BufferView.C:
5918         * tabular.C:
5919         * buffer.h:
5920         * buffer.C:
5921         * bufferparams.h:
5922         * bufferparams.C: move author list into params. Rename some
5923           functions. Move the header reading into a separate token
5924           loop. Move the header token reading into BufferParams.
5925
5926 2003-03-12  John Levon  <levon@movementarian.org>
5927
5928         * changes.C: put debug inside lyxerr.debugging() checks
5929
5930 2003-03-11 André Pönitz <poenitz@gmx.net>
5931
5932         * factory.C: make it aware of InsetHFill
5933
5934 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5935
5936         * buffer.C (latexParagraphs): move function from here...
5937         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5938         args.
5939
5940 2003-03-10  Angus Leeming  <leeming@lyx.org>
5941
5942         * LyXAction.C (init): fix bug in poplating array with multiple entries
5943         with the same LFUN (spotted by JMarc).
5944
5945 2003-03-10  John Levon  <levon@movementarian.org>
5946
5947         * text.C:
5948         * text2.C: move getColumnNearX() near its
5949         only call site
5950
5951 2003-03-10  John Levon  <levon@movementarian.org>
5952
5953         * text.C: fix break before a minipage
5954
5955 2003-03-10  John Levon  <levon@movementarian.org>
5956
5957         * text.C: fix the last commit
5958
5959 2003-03-09  John Levon  <levon@movementarian.org>
5960
5961         * lyxtext.h:
5962         * text.C:
5963         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5964         bug 365 (don't break before insets unless needed). Don't
5965         return a value > last under any circumstances.
5966
5967 2003-03-09  Angus Leeming  <leeming@lyx.org>
5968
5969         * BufferView_pimpl.C (trackChanges, dispatch): call
5970         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5971
5972 2003-03-09  Angus Leeming  <leeming@lyx.org>
5973
5974         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5975         than Dialogs::showAboutlyx().
5976
5977 2003-03-09  Angus Leeming  <leeming@lyx.org>
5978
5979         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5980         than Dialogs::showTabularCreate().
5981
5982 2003-03-09  John Levon  <levon@movementarian.org>
5983
5984         * lyxtext.h:
5985         * text.C:
5986         * text2.C: 3rd arg to nextBreakPoint was always the same.
5987           Use references.
5988
5989 2003-03-08  John Levon  <levon@movementarian.org>
5990
5991         * lyxrow.C:
5992         * paragraph.C:
5993         * paragraph.h:
5994         * rowpainter.C:
5995         * text.C:
5996         * text2.C: Remove the "main" bit from the "main body"
5997           notion.
5998
5999 2003-03-08  John Levon  <levon@movementarian.org>
6000
6001         * text.C (leftMargin): The left margin of an empty
6002         manual label paragraph should not include the label width
6003         string length.
6004
6005         * text.C (prepareToPrint): don't attempt to measure hfills
6006         for empty manual label paragraphs - the answer should be 0
6007
6008 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6009
6010         * CutAndPaste.C: remove commented code and reindent.
6011
6012 2003-03-08  John Levon  <levon@movementarian.org>
6013
6014         * lyxfunc.h:
6015         * lyxfunc.C: move reloadBuffer()
6016
6017         * BufferView.h:
6018         * BufferView.C: to here
6019
6020         * lyxvc.C: add comment
6021
6022         * vc-backend.h:
6023         * vc-backend.C: call bv->reload() to avoid
6024           getStatus() check on MENURELOAD
6025
6026 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
6027
6028         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6029         to an old format .dep file.
6030
6031 2003-03-07  Angus Leeming  <leeming@lyx.org>
6032
6033         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6034         when the LFUN_MOUSE_RELEASE should have been handled by
6035         inset->localDispatch.
6036
6037 2003-03-07  Angus Leeming  <leeming@lyx.org>
6038
6039         * BufferView_pimpl.C (dispatch):
6040         * LyXAction.C (init):
6041         * ToolbarDefaults.C (init):
6042         * commandtags.h:
6043         * lyxfunc.C (getStatus):
6044         remove LFUN_INSET_GRAPHICS.
6045
6046         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6047
6048 2003-03-07  Angus Leeming  <leeming@lyx.org>
6049
6050         * commandtags.h:
6051         * LyXAction.C (init):
6052         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6053
6054         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6055
6056         * commandtags.h:
6057         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6058
6059         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6060         localDispatch method LFUN_INSET_DIALOG_UPDATE.
6061
6062 2003-03-07  Angus Leeming  <leeming@lyx.org>
6063
6064         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6065         remove "ert".
6066
6067 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6068
6069         * ParagraphList.C (front): new function
6070         (back): implement
6071
6072 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
6073
6074         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6075         and top_row_offset_. removed var first_y.
6076         * text.C (top_y):
6077         * text2.C (LyXText, removeRow):
6078         * text3.C:
6079         * BufferView_pimpl.C:
6080         use these methods instead of using first_y
6081
6082 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6083
6084         * text2.C (pasteSelection): adjust for checkPastePossible
6085
6086         * CutAndPaste.C: remove Paragraph * buf and replace with
6087         ParagraphList paragraphs.
6088         (DeleteBuffer): delete
6089         (cutSelection): change the tc type to textclass_type
6090         (copySelection): change the tc type to textclass_type
6091         (copySelection): adjust for ParagraphList
6092         (pasteSelection): change the tc type to textclass_type
6093         (pasteSelection): adjust for Paragraphlist
6094         (nrOfParagraphs): simplify for ParagraphList
6095         (checkPastePossible): simplify for ParagraphList
6096         (checkPastePossible): remove unused arg
6097
6098         * ParagraphList.C (insert): handle the case where there are no
6099         paragraphs yet.
6100
6101         * CutAndPaste.h: make CutAndPaste a namespace.
6102
6103         * text3.C (dispatch): adjust
6104
6105         * text.C (breakParagraph): add a ParagraphList as arg
6106
6107         * paragraph_funcs.C (breakParagraph): change to take a
6108         BufferParams and a ParagraphList as args.
6109         (breakParagraphConservative): ditto
6110         (mergeParagraph): ditto
6111         (TeXDeeper): add a ParagraphList arg
6112         (TeXEnvironment): ditto
6113         (TeXOnePar): ditto
6114
6115         * buffer.C (readLyXformat2): adjust
6116         (insertStringAsLines): adjust
6117         (latexParagraphs): adjust
6118
6119         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6120         (cutSelection): adjust
6121         (pasteSelection): adjust
6122
6123         * BufferView_pimpl.C (insertInset): adjust
6124
6125 2003-03-05  Angus Leeming  <leeming@lyx.org>
6126
6127         * commandtags.h:
6128         * LyXAction.C (init):
6129         * BufferView_pimpl.C (dispatch):
6130         * lyxfunc.C (getStatus):
6131         remove LFUN_CHILD_INSERT.
6132
6133         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6134
6135 2003-03-05  Angus Leeming  <leeming@lyx.org>
6136
6137         * commandtags.h:
6138         * LyXAction.C (init):
6139         * src/factory.C (createInset):
6140         * lyxfunc.C (getStatus):
6141         * text3.C (dispatch):
6142         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6143
6144         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6145
6146 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6147
6148         * ParagraphList.C (insert): handle insert right before end()
6149         (erase): fix cases where it can be first or last paragraph.
6150
6151 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6152
6153         * paragraph_funcs.C (TeXEnvironment): remove all usage of
6154         Paragraph::next and Paragraph::previous
6155         (TeXOnePar): ditto
6156
6157         * text.C (breakParagraph): adjust
6158
6159         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6160         BufferParams& as arg.
6161         (breakParagraph): use ParagraphList::insert
6162         (breakParagraphConservative): take a Buffer* instead of a
6163         BufferParams& as arg.
6164         (breakParagraphConservative): use ParagraphList::insert.
6165
6166         * buffer.C (insertStringAsLines): un-const it
6167         (insertStringAsLines): adjust
6168
6169         * ParagraphList.C (insert): new function
6170
6171         * CutAndPaste.C (pasteSelection): adjust
6172
6173         * text.C (backspace): adjust
6174
6175         * tabular.C (SetMultiColumn): adjust
6176
6177         * CutAndPaste.C (cutSelection): adjust
6178         (pasteSelection): adjust
6179
6180         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6181         Buffer const * as arg
6182
6183         * ParagraphList.C (erase): new function
6184         * paragraph_funcs.C (mergeParagraph): use it
6185         (mergeParagraph): make it take a Buffer* instead of a
6186         BufferParams* as arg
6187
6188         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6189         as arg
6190         (breakParagraphConservative): ditto
6191
6192         * paragraph.h: remove the breakParagraph friend
6193
6194         * paragraph.C (eraseIntern): new function
6195         (setChange): new function
6196
6197         * paragraph_funcs.C (mergeParagraph): make it take a
6198         ParagraphList::iterator instead of a Paragraph *, adjust
6199         accordingly.
6200
6201         * paragraph.h: move an #endif so that the change tracking stuff
6202         also works in the NO_NEXT case.
6203
6204 2003-03-04  Angus Leeming  <leeming@lyx.org>
6205
6206         * commandtags.h:
6207         * LyXAction.C: new LFUN_INSET_MODIFY.
6208
6209         * BufferView_pimpl.C (dispatch): if an inset is found to be open
6210         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6211
6212 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6213
6214         * several files: ws changes only
6215
6216         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6217         (TeXEnvironment): ditto
6218         (TeXDeeper): ditto
6219
6220         * buffer.C (makeLaTeXFile): adjust
6221         (latexParagraphs): make it take ParagraphList::iterator as args
6222
6223 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6224
6225         * buffer.C (latexParagraphs): adjust
6226
6227         * paragraph.C (TeXOnePar): move function...
6228         (optArgInset): move function...
6229         (TeXEnvironment): move function...
6230         * paragraph_pimpl.C (TeXDeeper): move function...
6231         * paragraph_funcs.C: ...here
6232
6233         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6234
6235 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6236
6237         * buffer.C (readInset): remove compability code for old Figure and
6238         InsetInfo insets
6239
6240 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6241
6242         * buffer.C: ws changes
6243         (readInset):
6244
6245         * BufferView_pimpl.C: ditto
6246         * author.C: ditto
6247         * buffer.h: ditto
6248         * bufferlist.h: ditto
6249         * changes.h: ditto
6250         * lyxfunc.C: ditto
6251
6252 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
6253
6254         * converter.[Ch]: split into itself +
6255         * graph.[Ch]
6256         * format.[Ch]
6257         * Makefile.am: += graph.[Ch] + format.[Ch]
6258         * MenuBackend.C
6259         * buffer.C
6260         * exporter.C
6261         * importer.C
6262         * lyx_main.C
6263         * lyxfunc.C
6264         * lyxrc.C: added #include "format.h"
6265
6266 2003-02-27  Angus Leeming  <leeming@lyx.org>
6267
6268         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6269           a label.
6270
6271         * factory.C (createInset): add "label" to the factory.
6272
6273         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6274           string and do no more.
6275
6276 2003-02-27  Angus Leeming  <leeming@lyx.org>
6277
6278         * commandtags.h:
6279         * LyXAction.C (init):
6280         * factory.C (createInset):
6281         * BufferView_pimpl.C (dispatch):
6282           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6283
6284         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6285
6286         * lyxfunc.C (dispatch):
6287         * text3.C (dispatch): pass name to params2string.
6288
6289 2003-02-26  Angus Leeming  <leeming@lyx.org>
6290
6291         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6292           blocks together.
6293           Rearrange the ~includes. Strip out the unnecessary ones.
6294
6295         * factory.C (createInset): reformat.
6296           create new insets for the various LFUN_XYZ_APPLY lfuns.
6297
6298 2003-02-26  John Levon  <levon@movementarian.org>
6299
6300         * lyxrow.h:
6301         * lyxrow.C: add isParStart,isParEnd helpers
6302
6303         * paragraph.h: make isInserted/DeletedText take refs
6304
6305         * paragraph_funcs.h:
6306         * paragraph_funcs.C: remove #if 0'd code
6307
6308         * lyxtext.h:
6309         * text3.C:
6310         * text2.C:
6311         * text.C: use lyxrow helpers above.
6312           Move draw and paint routines to RowPainter.
6313           Make several methods use refs not pointers.
6314           Make backgroundColor() const.
6315           Add markChangeInDraw(), isInInset().
6316           Merge changeRegionCase into changeCase.
6317           Make workWidth() shouldn't-happen code into an Assert.
6318
6319         * rowpainter.h:
6320         * rowpainter.C: new class for painting a row.
6321
6322         * vspace.h:
6323         * vspace.C: make inPixels take a ref
6324
6325 2003-02-26  Angus Leeming  <leeming@lyx.org>
6326
6327         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6328         LFUN_REF_APPLY.
6329
6330 2003-02-25  John Levon  <levon@movementarian.org>
6331
6332         * ispell.C: give the forked command a more accurate name
6333
6334 2003-02-22  John Levon  <levon@movementarian.org>
6335
6336         * toc.h:
6337         * toc.C: make TocItem store an id not a Paragraph *
6338           (bug #913)
6339
6340 2003-02-21  Angus Leeming  <leeming@lyx.org>
6341
6342         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6343           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6344           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6345           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6346           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6347           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6348
6349         * BufferView_pimpl.C (dispatch):
6350         * LyXAction.C (init):
6351         * factory.C (createInset):
6352         * lyxfunc.C (getStatus, dispatch):
6353         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6354
6355 2003-02-21  Angus Leeming  <leeming@lyx.org>
6356
6357         * BufferView_pimpl.C (MenuInsertLyXFile):
6358         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6359         * lyxfunc.C (menuNew, open, doImport):
6360           no longer pass a LyXView & to fileDlg.
6361
6362 2003-02-21  Angus Leeming  <leeming@lyx.org>
6363
6364         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6365         * LyXAction.C: change, BIBKEY to BIBITEM.
6366         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6367         Change InsetBibKey to InsetBibitem.
6368         Change BIBKEY_CODE to BIBITEM_CODE.
6369         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6370         * factory.C: replace insetbib.h with insetbibitem.h.
6371         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6372         * paragraph.C: replace insetbib.h with insetbibitem.h.
6373         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6374         Change bibkey() to bibitem().
6375         * text.C: remove insetbib.h.
6376         * text2.C: replace insetbib.h with insetbibitem.h.
6377         change bibkey() to bibitem().
6378         * text3.C: remove insetbib.h.
6379         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6380
6381 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6382
6383         * lyxrc.C (output): enclose user email in quotes (in case there are
6384         several words)
6385
6386 2003-02-18  John Levon  <levon@movementarian.org>
6387
6388         * buffer.h: add std::
6389
6390 2003-02-17  John Levon  <levon@movementarian.org>
6391
6392         * SpellBase.h:
6393         * ispell.h:
6394         * ispell.C:
6395         * pspell.h:
6396         * pspell.C: reworking. Especially in ispell, a large
6397           number of clean ups and bug fixes.
6398
6399         * lyxfunc.C: fix revert to behave sensibly
6400
6401 2003-02-17 André Pönitz <poenitz@gmx.net>
6402
6403         * LyXAction.C:
6404         * commandtags.h: new LFUN_INSERT_BIBKEY
6405
6406         * layout.h:
6407         * lyxlayout.C:
6408         * buffer.C:
6409         * factory.C:
6410         * text.C:
6411         * text2.C:
6412         * text3.C:
6413         * paragraph.[Ch]:
6414         * paragraph_func.C: remove special bibkey handling
6415
6416 2003-02-17  John Levon  <levon@movementarian.org>
6417
6418         * text.C (Delete): fix case where delete at the end of
6419           the very first paragraph would not merge the pars
6420
6421 2003-02-17  John Levon  <levon@movementarian.org>
6422
6423         * lyxrow.C: fix lastPrintablePos()
6424
6425 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6426
6427         * bufferparams.C (writeLaTeX): add a std:here
6428
6429         * buffer.C: and remove a using directive there
6430
6431 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6432
6433         * buffer.C (makeLaTeXFile): move the code that generates the
6434           preamble...
6435
6436         * bufferparams.C (writeLaTeX): ... in this new method
6437
6438         * LaTeXFeatures.C (getEncodingSet): make const
6439           (getLanguages): make const
6440
6441         * MenuBackend.C (binding): returns the binding associated to this
6442           action
6443           (add): sets the status of each item by calling getStatus. Adds
6444           some intelligence.
6445           (read): add support for OptSubMenu
6446           (expand): remove extra separator at the end of expanded menu
6447
6448 2003-02-15  John Levon  <levon@movementarian.org>
6449
6450         * BufferView.C:
6451         * BufferView_pimpl.C:
6452         * bufferlist.h:
6453         * bufferlist.C: remove pointless BufferStorage bloat. Remove
6454           inset code that had no actual effect. Remove unneeded status
6455           code.
6456
6457 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6458
6459         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6460           in preamble
6461
6462 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
6463
6464         * text.C (drawLengthMarker): also draw an arrow marker for
6465           symbolic lengths (medskip...)
6466
6467 2003-02-14  John Levon  <levon@movementarian.org>
6468
6469         * tabular.h:
6470         * tabular.C: better method names
6471
6472 2003-02-14  John Levon  <levon@movementarian.org>
6473
6474         * BufferView_pimpl.C:
6475         * bufferlist.C:
6476         * buffer.C:
6477         * converter.C:
6478         * lyx_cb.C:
6479         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6480           it's a more accurate name. Remove some pointless uses.
6481
6482 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6483
6484         * text2.C (LyXText): change order of initilizers to shut off
6485           warnings
6486
6487 2003-02-14  John Levon  <levon@movementarian.org>
6488
6489         * buffer.C: use ParIterator for getParFromID()
6490
6491         * paragraph.h:
6492         * paragraph.C:
6493         * paragraph_pimpl.h:
6494         * paragraph_pimpl.C: remove unused getParFromID()
6495
6496 2003-02-14  John Levon  <levon@movementarian.org>
6497
6498         * buffer.C: remove some very old #if 0'd parse code
6499
6500 2003-02-13  John Levon  <levon@movementarian.org>
6501
6502         * text.h:
6503         * text.C:
6504         * text2.C: move hfillExpansion(), numberOfSeparators(),
6505           rowLast(), rowLastPrintable(), numberofHfills(),
6506           numberOfLabelHfills() ...
6507
6508         * lyxrow.h:
6509         * lyxrow.C: ... to member functions here.
6510
6511         * paragraph.h:
6512         * paragraph.C:
6513         * lyxtext.h:
6514         * text.C: remove LyXText::beginningOfMainBody(), and call
6515           p->beginningOfMainBody() directly. Move the check for
6516           LABEL_MANUAL into the latter.
6517
6518         * text.h:
6519         * text.C:
6520         * text2.C:
6521         * vspace.C:
6522         * BufferView.h:
6523         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6524
6525         * text.h:
6526         * text.C:
6527         * text2.C:
6528         * text3.C:
6529         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6530           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6531
6532 2003-02-13  John Levon  <levon@movementarian.org>
6533
6534         * CutAndPaste.C: remove debug
6535
6536 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6537
6538         * paragraph.C (asString): remove two unused variables
6539
6540         * lyxtextclass.C (readTitleType):
6541           (Read):
6542           (LyXTextClass): handle new members titletype_ and titlename_
6543
6544         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6545
6546 2003-02-09  John Levon  <levon@movementarian.org>
6547
6548         * buffer.h:
6549         * buffer.C: replace hand-coded list with a map for the dep clean
6550
6551 2003-02-08  John Levon  <levon@movementarian.org>
6552
6553         * LaTeX.C: consolidate code into showRunMessage() helper
6554
6555 2003-02-08  John Levon  <levon@movementarian.org>
6556
6557         * lyxfind.C:
6558         * lyxtext.h:
6559         * text2.C:
6560         * BufferView.C: change setSelectionOverString() to setSelectionRange()
6561           and pass the size in explicitly
6562
6563         * BufferView_pimpl.h:
6564         * BufferView_pimpl.C:
6565         * BufferView.h:
6566         * BufferView.C: add getCurrentChange()
6567
6568         * BufferView_pimpl.h:
6569         * BufferView_pimpl.C: handle change lfuns
6570
6571         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6572           for changes. Mark pasted paragraphs as new.
6573
6574         * support/lyxtime.h:
6575         * support/lyxtime.C:
6576         * DepTable.C: abstract time_t as lyx::time_type
6577
6578         * LColor.h:
6579         * LColor.C: add colours for new text, deleted text, changebars
6580
6581         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6582           package use "usenames" option.
6583
6584         * commandtags.h:
6585         * lyxfunc.C:
6586         * LyXAction.C: add change lfuns
6587
6588         * Makefile.am:
6589         * author.h:
6590         * author.C: author handling
6591
6592         * buffer.h:
6593         * buffer.C: add a per-buffer author list, with first entry as
6594           current author. Handle new .lyx tokens for change tracking. Output
6595           author list to .lyx file. Output dvipost stuff to .tex preamble.
6596           Bump lyx format to 222.
6597
6598         * bufferlist.h:
6599         * bufferlist.C: add setCurrentAuthor() to reset current author details
6600           in all buffers.
6601
6602         * bufferparams.h:
6603         * bufferparams.C: add param for tracking
6604
6605         * bufferview_funcs.C: output change info in minibuffer
6606
6607         * Makefile.am:
6608         * changes.h:
6609         * changes.C: add change-tracking structure
6610
6611         * debug.h:
6612         * debug.C: add CHANGES debug flag
6613
6614         * lyxfind.h:
6615         * lyxfind.C: add code for finding the next change piece
6616
6617         * lyxrc.h:
6618         * lyxrc.C: add user_name and user_email
6619
6620         * lyxrow.h:
6621         * lyxrow.C: add a metric for the top of the text line
6622
6623         * lyxtext.h:
6624         * text.C: implement accept/rejectChange()
6625
6626         * lyxtext.h:
6627         * text.C: paint changebars. Paint new/deleted text in the chosen
6628         colours. Strike through deleted text.
6629
6630         * paragraph.h:
6631         * paragraph.C:
6632         * paragraph_pimpl.h:
6633         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6634           in the current change to the insert functions. Rework erase to
6635           mark text as deleted, adding an eraseIntern() and a range-based
6636           erase(). Implement per-paragraph change lookup and
6637           accept/reject.
6638
6639         * paragraph_funcs.C: Fixup paste for change tracking.
6640
6641         * tabular.C: mark added row/columns as new.
6642
6643         * text.C: fix rowLast() to never return -1. Don't allow
6644           spellchecking of deleted text. Track transpose changes. Don't
6645           allow paragraph break or merge where appropriate.
6646
6647         * text2.C: leave cursor at end of selection after a cut.
6648
6649 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6650
6651         * text.C (getLengthMarkerHeight):
6652         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6653         visible on screen too.
6654
6655 2003-02-07  John Levon  <levon@movementarian.org>
6656
6657         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6658
6659 2003-02-05  Angus Leeming  <leeming@lyx.org>
6660
6661         * lyxserver.C (read_ready): revert my patch of 11 September last year
6662         as it sends PC cpu through the roof. Presumably this means that
6663         the lyxserver will no longer run on an Alpha...
6664
6665 2003-01-30  Angus Leeming  <leeming@lyx.org>
6666
6667         * factory.C (createInset): create an InsetCommandParam of type "index"
6668         and use it to 'do the right thing'.
6669
6670         * text2.C (getStringToIndex): ensure that cursor position is always
6671         reset to the reset_cursor position.
6672
6673 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6674
6675         * lyxfunc.C (getStatus): "buffer-export custom" should never be
6676         disabled.
6677
6678 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
6679
6680         * bufferview.C:
6681         * lyxcb.C:
6682         * lyxfunc.C: Output messages with identical spelling, punctuation,
6683         and spaces
6684
6685 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
6686
6687         * MenuBackend.C (expandFormats): List only viewable export formats
6688         in "View" menu
6689
6690         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6691         message
6692
6693         * lyxfunc.C (getStatus): Make sure that formats other than
6694         "fax" can also be disabled
6695
6696 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6697
6698         * text3.C (dispatch): put the lfuns that insert insets in 3
6699         groups, and call doInsertInset with appropriate arguments.
6700         (doInsertInset): new function, that creates an inset and inserts
6701         it according to some boolean parameters.
6702
6703 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6704
6705         * buffer.C (readFile): remember to pass on 'par' when calling
6706         readFile recursively.
6707
6708 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6709
6710         * MenuBackend.C (expandFormats): add "..." to import formats.
6711
6712 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
6713
6714         * paragraph.C (asString): Remove XForms RTL hacks.
6715
6716 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
6717         * buffer.C: fix typo
6718
6719 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6720
6721         * Makefile.am (LIBS): delete var
6722         (lyx_LDADD): add @LIBS@ here instead.
6723
6724 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
6725
6726         * Clarify the meaning of "wheel mouse jump"
6727
6728 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6729
6730         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6731         tabular in a float
6732
6733 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6734
6735         * importer.C (Loaders): do not preallocate 3 elements in the
6736         vector, since one ends up with 6 elements otherwise
6737
6738 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6739
6740         * DepTable.C (write): write the file name as last element of the
6741         .dep file (because it may contain spaces)
6742         (read): read info in the right order
6743
6744 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6745
6746         * paragraph_pimpl.C (simpleTeXBlanks):
6747         (simpleTeXSpecialChars):
6748         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6749
6750         * tabular.C (latex): add some missing case statements. Reindent.
6751
6752         * MenuBackend.C (expandToc): remove unused variable.
6753
6754 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
6755
6756         * LColor.C:
6757         * LaTeX.C:
6758         * LyXAction.C:
6759         * MenuBackend.C:
6760         * buffer.C:
6761         * exporter.C:
6762         * lyxfunc.C:
6763         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6764         and the like.
6765
6766 2003-01-05  John Levon  <levon@movementarian.org>
6767
6768         * BufferView.h:
6769         * BufferView.C: add getEncoding()
6770
6771         * kbsequence.h:
6772         * kbsequence.C: do not store last keypress
6773
6774         * lyxfunc.h:
6775         * lyxfunc.C: store last keypress here instead. Pass encoding
6776           to getISOEncoded()
6777
6778 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6779
6780         * lyx_main.C (init): remove annoying error message when following
6781         symbolic links (bug #780)
6782
6783 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6784
6785         * text.C (insertChar):
6786         * lyxrc.C (getDescription): remove extra spaces
6787
6788 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6789
6790         * lyxrc.C (getDescription): remove extra spaces
6791
6792 2002-12-20  John Levon  <levon@movementarian.org>
6793
6794         * text3.C: hack fix for page up/down across tall rows
6795
6796 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6797
6798         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6799         not been invoked
6800
6801 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6802
6803         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6804         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6805         thesaurus is not compiled in
6806
6807 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
6808
6809         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6810
6811 2002-12-16  Angus Leeming  <leeming@lyx.org>
6812
6813         * lyxrc.[Ch]:
6814         * lyx_main.C (init): remove override_x_deadkeys stuff.
6815
6816 2002-12-12  John Levon  <levon@movementarian.org>
6817
6818         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6819           insert. Only remove shift modifier under strict
6820           circumstances.
6821
6822 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6823
6824         * MenuBackend.C (expandToc): fix crash.
6825
6826 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6827
6828         * MenuBackend.C (expandToc): gettext on float names.
6829
6830 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6831
6832         * lyxlength.[Ch]: set default unit to UNIT_NONE,
6833         implement bool empty() [bug 490]
6834
6835 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6836
6837         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6838
6839 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6840
6841         * several files: ws changes
6842
6843 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6844
6845         * text2.C (setCounter): clean up a bit, use boost.format.
6846         (updateCounters): initialize par upon declaration.
6847
6848         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6849         if the layout exists. We do not just store the layout any more.
6850         (SwitchLayoutsBetweenClasses): use boost.format
6851
6852 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6853
6854         * converter.C (convert): if from and to files are the same, use a
6855         temporary files as intermediary
6856
6857 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6858
6859         * commandtags.h:
6860         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6861
6862 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6863
6864         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6865
6866 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6867
6868         * tabular.C (asciiPrintCell): use string(size, char) instead of
6869         explicit loop.
6870
6871         * sgml.C (openTag): fix order of arguments to string constructor
6872         (closeTag): ditto
6873
6874         * lyxfunc.C (dispatch): use boost.format
6875
6876         * lots of files: change "c" -> 'c'
6877
6878 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6879
6880         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6881
6882 2002-11-25  Angus Leeming  <leeming@lyx.org>
6883
6884         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6885
6886         * lyx_main.C (init): compile fix.
6887
6888 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6889
6890         * lyx_cb.C (start): boost.formatify
6891         do not include <iostream>
6892
6893         * lengthcommon.C: ws only
6894
6895         * boost-inst.C,BoostFormat.h: add more explict instantations
6896
6897 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6898
6899         * lots of files: handle USE_BOOST_FORMAT
6900
6901 2002-11-21  John Levon  <levon@movementarian.org>
6902
6903         * pspell.C: fix compile
6904
6905 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6906
6907         * lyxfunc.C (dispatch): use boost::format
6908         (open): ditto
6909         (doImport): ditto
6910
6911         * lyxfont.C (stateText): use boost::format
6912
6913         * lyx_main.C (LyX): use boost::format
6914         (init): ditto
6915         (queryUserLyXDir): ditto
6916         (readRcFile): ditto
6917         (parse_dbg): ditto
6918         (typedef boost::function): use the recommened syntax.
6919
6920         * importer.C (Import): use boost::format
6921
6922         * debug.C (showLevel): use boost::format
6923
6924         * converter.C (view): use boost::format
6925         (convert): ditto
6926         (move): ditto
6927         (scanLog): ditto
6928
6929         * bufferview_funcs.C (currentState): use boost::format
6930
6931         * bufferlist.C (emergencyWrite): use boost::format
6932
6933         * buffer.C (readLyXformat2): use boost::format
6934         (parseSingleLyXformat2Token): ditto
6935
6936         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6937
6938         * LaTeX.C (run): use boost::format
6939
6940         * Chktex.C (scanLogFile): use boost::format
6941
6942         * BufferView_pimpl.C (savePosition): use boost::format
6943         (restorePosition): ditto
6944         (MenuInsertLyXFile): ditto
6945
6946         * BoostFormat.h: help file for explicit instation.
6947
6948 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6949
6950         * tabular.C (latex): Support for block alignment in fixed width
6951         columns.
6952
6953 2002-11-17  John Levon  <levon@movementarian.org>
6954
6955         * BufferView_pimpl.C:
6956         * lyx_cb.C:
6957         * lyxfunc.C: split filedialog into open/save
6958
6959 2002-11-08  Juergen Vigna  <jug@sad.it>
6960
6961         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6962         by my last patch (hopefully).
6963
6964 2002-11-08  John Levon  <levon@movementarian.org>
6965
6966         * iterators.h:
6967         * iterators.C:
6968         * buffer.h:
6969         * buffer.C:
6970         * paragraph.h:
6971         * paragraph.C:
6972         * toc.h:
6973         * toc.C: ParConstIterator, and use it (from Lars)
6974
6975 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6976
6977         * lyxtextclass.[Ch]: revise and add doxygen comments
6978
6979 2002-11-07  John Levon  <levon@movementarian.org>
6980
6981         * text.C: fix progress value for spellchecker
6982
6983         * toc.C: fix navigate menu for insetwrap inside minipage
6984
6985         * paragraph_funcs.C: added FIXME for suspect code
6986
6987 2002-11-07  John Levon  <levon@movementarian.org>
6988
6989         * BufferView_pimpl.C: fix redrawing of insets
6990           on buffer switch
6991
6992 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6993
6994         * text2.C (updateCounters): fix bug 668
6995
6996 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
6997
6998         * text3.C (dispatch): Do not make the buffer dirty when moving the
6999         cursor.
7000
7001 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7002
7003         * vc-backend.C: STRCONV
7004         (scanMaster): ditto
7005
7006         * text2.C (setCounter): STRCONV
7007
7008         * paragraph.C (asString): STRCONV
7009
7010         * lyxlength.C (asString): STRCONV
7011         (asLatexString): ditto
7012
7013         * lyxgluelength.C (asString): STRCONV
7014         (asLatexString): ditto
7015
7016         * lyxfunc.C (dispatch): STRCONV
7017         (open): ditto
7018
7019         * lyxfont.C (stateText): STRCONV
7020
7021         * importer.C (Import): STRCONV
7022
7023         * counters.C (labelItem): STRCONV
7024         (numberLabel): ditto
7025         (numberLabel): remove unused ostringstream o
7026
7027         * chset.C: STRCONV
7028         (loadFile): ditto
7029
7030         * bufferview_funcs.C (currentState): STRCONV
7031
7032         * buffer.C (readFile): STRCONV
7033         (asciiParagraph): ditto
7034         (makeLaTeXFile): ditto
7035
7036         * Spacing.C (writeEnvirBegin): STRCONV
7037
7038         * LaTeXFeatures.C (getLanguages): STRCONV
7039         (getPackages): ditto
7040         (getMacros): ditto
7041         (getBabelOptions): ditto
7042         (getTClassPreamble): ditto
7043         (getLyXSGMLEntities): ditto
7044         (getIncludedFiles): ditto
7045
7046         * LaTeX.C: STRCONV
7047         (run): ditto
7048         (scanAuxFile): ditto
7049         (deplog): ditto
7050
7051         * LString.h: add the STRCONV macros
7052
7053         * BufferView_pimpl.C (savePosition): STRCONV
7054         (restorePosition): ditto
7055         (MenuInsertLyXFile): ditto
7056
7057         * vc-backend.C (scanMaster): change from submatch[...] to
7058         submatch.str(...)
7059
7060         * funcrequest.C: include config.h
7061
7062         * factory.C: include config.h
7063
7064         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7065
7066         * box.C: include config.h
7067
7068         * LaTeX.C (scanAuxFile): change from submatch[...] to
7069         submatch.str(...)
7070         (deplog): ditto
7071
7072 2002-10-25  Angus Leeming  <leeming@lyx.org>
7073
7074         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7075
7076         * ispell.[Ch] (setError): new method.
7077         * ispell.C (c-tor): move out child process into new class LaunchIspell.
7078         Use setError() insetead of goto END.
7079
7080         * lyx_cb.C (AutoSave): move out child process into new class
7081         AutoSaveBuffer.
7082
7083 2002-10-30  John Levon  <levon@movementarian.org>
7084
7085         * text3.C: make start appendix undoable
7086
7087 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
7088
7089         * lyxlength.C (inPixels): Fix returned value.
7090
7091         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7092         environment.
7093
7094 2002-10-24  Angus Leeming  <leeming@lyx.org>
7095
7096         * lyxgluelength.h: no need to forward declare BufferParams
7097         or BufferView, so don't.
7098
7099 2002-10-21  John Levon  <levon@movementarian.org>
7100
7101         * BufferView.C: menuUndo ->undo, redo
7102
7103         * BufferView.h: document, remove dead, make some methods private
7104
7105         * paragraph_funcs.h:
7106         * paragraph_funcs.C:
7107         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7108
7109         * buffer.h:
7110         * buffer.C:
7111         * sgml.h:
7112         * sgml.C: move sgml open/close tag into sgml.C
7113
7114         * bufferview_funcs.h: unused prototype
7115
7116         * lyxfunc.h:
7117         * lyxfunc.C: remove unused
7118
7119         * lyxtext.h:
7120         * text.C: remove unused
7121
7122 2002-10-21  John Levon  <levon@movementarian.org>
7123
7124         * BufferView.h:
7125         * BufferView.C:
7126         * BufferView_pimpl.h:
7127         * BufferView_pimpl.C: fix mouse wheel handling based on
7128           patch from Darren Freeman
7129
7130 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
7131
7132         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7133
7134 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
7135
7136         * lyxlength.C (inPixels): Fix hanfling of negative length.
7137         Fix LyXLength::MU case.
7138
7139 2002-10-16  John Levon  <levon@movementarian.org>
7140
7141         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7142
7143 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7144
7145         * converter.C (view): add support for $$i (file name) and $$p
7146         (file path) for the viewer command. If $$i is not specified, then
7147         it is appended to the command (for compatibility with old syntax)
7148
7149 2002-10-14  Juergen Vigna  <jug@sad.it>
7150
7151         * undo_funcs.C (textHandleUndo): alter the order in which the
7152         new undopar is added to the LyXText, as we have to set first
7153         the right prev/next and then add it as otherwise the rebuild of
7154         LyXText is not correct. Also reset the cursor to the right paragraph,
7155         with this IMO we could remove the hack in "redoParagraphs()".
7156
7157 2002-10-09  Angus Leeming  <leeming@lyx.org>
7158
7159         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7160         to turn off an optimisation if a new inset is to be inserted.
7161
7162 2002-10-11 André Pönitz <poenitz@gmx.net>
7163
7164         * lyxtext.h: make some functions public to allow access
7165         from inset/lyxtext for handling LFUN_PRIOR/NEXT
7166
7167 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7168
7169         * text3.C (dispatch): when changing layout, avoid an infinite loop
7170         [bug #652]
7171
7172 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7173
7174         * lyxrc.C (read): treat a viewer or converter command of "none" as
7175         if it were empty.
7176
7177         * MenuBackend.C (expandFormats): for an update, also allow the
7178         formats that are not viewable
7179
7180         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7181         script if it is newer than the lyxrc.defaults in user directory
7182
7183 2002-10-07 André Pönitz <poenitz@gmx.net>
7184
7185         * text.C: Vitaly Lipatov's small i18n fix
7186
7187 2002-09-25  Angus Leeming  <leeming@lyx.org>
7188
7189         * ispell.h: doxygen fix.
7190
7191 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
7192
7193         * buffer.h (readFile): Add a new argument to the method, to allow
7194         reading of old-format templates.
7195
7196 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
7197
7198         * toc.C (getTocList): Get TOC from InsetWrap.
7199
7200 2002-09-16  John Levon  <levon@movementarian.org>
7201
7202         * lyxfunc.C: check tabular for cut/copy too
7203
7204 2002-09-12  John Levon  <levon@movementarian.org>
7205
7206         * LyXAction.C: tidy
7207
7208         * factory.h:
7209         * factory.C: add header
7210
7211         * paragraph_funcs.h:
7212         * paragraph_funcs.C: cleanup
7213
7214 2002-09-11  John Levon  <levon@movementarian.org>
7215
7216         * PrinterParams.h: odd/even default to true
7217
7218 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
7219
7220         * PrinterParams.h: update printer parameters for new xforms dialog
7221
7222 2002-09-11  Angus Leeming  <leeming@lyx.org>
7223
7224         * lyxserver.C (read_ready): re-write to make it more transparent
7225         and to make it work in coherent fashion under Tru64 Unix.
7226
7227 2002-09-11  André Pönitz <poenitz@gmx.net>
7228
7229         * commandtags.h:
7230         * LyXAction.C:
7231         * text3.C: implement LFUN_WORDSEL
7232
7233 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7234
7235         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7236         make floatlist_ a boost::shared_ptr<FloatList>
7237
7238         * lyxtextclass.C: include FloatList.h
7239         (LyXTextClass): initialize floatlist_
7240         (TextClassTags): add TC_NOFLOAT
7241         (Read): match "nofloat" to TC_NOFLOAT and use it.
7242         (readFloat): modify call to floatlist_
7243         (floats): ditto
7244         (floats): ditto
7245
7246         * FloatList.[Ch] (FloatList): remove commented out float
7247         initialization.
7248         (erase): new function
7249
7250 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7251
7252         * MenuBackend.C (expandToc): fix crash when there is no document
7253         open
7254
7255 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
7256
7257         * many files: Add insetwrap.
7258
7259 2002-09-09  John Levon  <levon@movementarian.org>
7260
7261         * text2.C: remove confusing and awkward depth wraparound
7262
7263 2002-09-09  John Levon  <levon@movementarian.org>
7264
7265         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7266
7267         * buffer.h:
7268         * buffer.C: remove getIncludeonlyList()
7269
7270         * paragraph.C:
7271         * lyxfunc.C: remove headers
7272
7273 2002-09-09  Juergen Vigna  <jug@sad.it>
7274
7275         * text.C (getColumnNearX): fix form Michael this is most
7276         probably a cut&paste bug.
7277
7278 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7279
7280         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7281
7282         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7283         references, ws changes.
7284
7285         * text2.C (init): update counters after init
7286         (insertParagraph): no need to set counter on idividual paragraphs.
7287         (setCounter): access the counters object in the textclass object
7288         on in the buffer object.
7289         (updateCounters): ditto
7290
7291         * lyxtextclass.C: include counters.h, add variable ctrs_ as
7292         shared_ptr<Counters> to avoid loading counters.h in all
7293         compilation units.
7294         (LyXTextClass): initialize ctrs_
7295         (TextClassTags): add TC_COUNTER, and ...
7296         (Read): use it here.
7297         (CounterTags): new tags
7298         (readCounter): new function
7299         (counters): new funtion
7300         (defaultLayoutName): return a const reference
7301
7302         * counters.C (Counters): remove contructor
7303         (newCounter): remove a couple of unneeded statements.
7304         (newCounter): simplify a bit.
7305         (numberLabel): some small formatting changes.
7306
7307         * buffer.[Ch]: remove all traces of counters, move the Counters
7308         object to the LyXTextClass.
7309
7310 2002-09-06  Alain Castera  <castera@in2p3.fr>
7311
7312         * tabular.C: uses \tabularnewline; uses >{...} construct from array
7313         package to set the horizontal alignment on fixed width columns.
7314
7315         * lyx_sty.C:
7316         * lyx_sty.h: added tabularnewline macro def.
7317
7318         * LaTeXFeatures.C: added NeedTabularnewline macro feature
7319
7320 2002-09-06  John Levon  <levon@movementarian.org>
7321
7322         * LyXAction.C: tooltips for sub/superscript
7323
7324         * MenuBackend.C: a bit more verbose
7325
7326         * lyxfunc.C: tiny clean
7327
7328         * undo_funcs.C: document undo_frozen
7329
7330 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7331
7332         * counters.C (Counters): add missing algorithm counter.
7333
7334         * text2.C (setCounter): lookup the counter with layouts latexname
7335         instead of by section number.
7336         (setCounter): use a hackish way to lookup the correct enum
7337         counter.
7338         a float name->type change
7339         reset enum couners with counter name directly instead of depth value.
7340
7341         * counters.C (Counters): remove the push_backs, change to use the
7342         float type not the float name.
7343         (labelItem): remove unused string, float name->type change
7344
7345         * counters.h: don't include vector, loose the enums and sects vectors
7346
7347 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7348
7349         * lyxtextclass.C (TextClassTags): add TC_FLOAT
7350         (Read): add float->TC_FLOAT to textclassTags
7351         (Read): and handle it in the switch
7352         (readFloat): new function
7353
7354         * FloatList.C (FloatList): comment out the hardcoded float
7355         definitions.
7356
7357         * lyxlayout.h: ws change.
7358
7359 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
7360
7361         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7362
7363 2002-09-03  Angus Leeming  <leeming@lyx.org>
7364
7365         * BufferView_pimpl.h: qualified name is not allowed in member
7366         declaration: WorkArea & Pimpl::workarea() const;
7367
7368         * factory.C: added using std::endl directive.
7369
7370         * text3.C: added using std::find and std::vector directives.
7371
7372 2002-08-29  André Pönitz <poenitz@gmx.net>
7373
7374         * lyxtext.h:
7375         * text2.C: remove unused member number_of_rows
7376
7377         * Makefile.am:
7378         * BufferView2.C: remove file, move contents to...
7379         * BufferView.C: ... here
7380
7381         * BufferView_pimpl.C:
7382         * factory.C: move more inset creation to factory
7383
7384         * vspace.C: avoid direct usage of LyXText, ws changes
7385
7386         * BufferView.[Ch]:
7387                 don't provide direct access to WorkArea, use two simple
7388                 acessors haveSelction() and workHeight() instead
7389
7390
7391 2002-08-29  John Levon  <levon@movementarian.org>
7392
7393         * BufferView_pimpl.C (dispatch): do not continue when
7394           no buffer
7395
7396 2002-08-28  André Pönitz <poenitz@gmx.net>
7397
7398         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7399
7400         * BufferView.h:
7401         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7402
7403 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
7404
7405         * buffer.C: increment LYX_FORMAT to 221
7406
7407         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7408         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7409
7410         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7411
7412         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7413
7414 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7415
7416         * factory.C (createInset): use LyXTextClass::floats
7417
7418         * MenuBackend.C (expandFloatListInsert):
7419         (expandFloatInsert):
7420         (expandToc):
7421
7422         * text2.C (setCounter):
7423
7424         * LaTeXFeatures.C (useFloat):
7425         (getFloatDefinitions):
7426
7427         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7428
7429         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7430         floatlist_, with accessor floats().
7431
7432         * FloatList.h: remove global FloatList
7433
7434 2002-08-26  André Pönitz <poenitz@gmx.net>
7435
7436         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7437
7438         * BufferView.h:
7439         * BufferView2.C:
7440         * BufferView_pimpl.C:
7441         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7442
7443 2002-08-25  John Levon  <levon@movementarian.org>
7444
7445         * LyXAction.C: fix margin note description
7446
7447 2002-08-24  John Levon  <levon@movementarian.org>
7448
7449         * buffer.C:
7450         * bufferlist.C:
7451         * bufferview_funcs.C:
7452         * lyxfont.C:
7453         * undo_funcs.C: cleanups
7454
7455         * lyxfunc.C: disable CUT/COPY when no selection
7456
7457 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
7458
7459         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7460         in "enum UNIT"; e.g. PTW for Percent of TextWidth
7461
7462         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7463         Add backward compatibility to "mono", "gray" and "no".
7464
7465 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
7466
7467         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7468         (and file_format >= 200).
7469
7470 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7471
7472         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7473
7474 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7475
7476         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7477
7478 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
7479
7480         * BufferView_pimpl.C:
7481         * LyXAction.C:
7482         * buffer.C:
7483         * commandtags.h:
7484         * lyxfunc.C:
7485         * paragraph.[Ch]:
7486         * text2.C:
7487         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7488         inset and code to make it  work with the paragraph code. The inset
7489         can be anywhere in the paragraph, but will only do the expected
7490         thing in LaTeX if the layout file contains the parameter line
7491                         OptionalArgs    1
7492         (or more generally, a nonzero value) for that layout.
7493
7494 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7495
7496         * paragraph.h: remove the declaration of undefined counters class
7497         function.
7498
7499 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
7500
7501         * text2.C (setCounter):  fixed enumeration mis-count as reported by
7502         Dr. Richard Hawkins.
7503
7504 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7505
7506         * paragraph_funcs.h: remove some unneeded includes
7507
7508         * text.C (backspace): pasteParagraph now in global scipe
7509
7510         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7511         (pasteSelection): ditto
7512
7513         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7514         * paragraph_funcs.C (pasteParagraph): ... here
7515
7516 2002-08-20  André Pönitz <poenitz@gmx.net>
7517
7518         * commandtags.h: new LFUNs for swapping/copying table row/colums
7519
7520         * LyXAction.C:
7521         * lyxfunc.C: support for new lfuns
7522
7523 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7524
7525         * tabular.C:
7526         * buffer.[Ch]: remove NO_COMPABILITY stuff
7527
7528 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
7529
7530         * boost.C (throw_exception): new file, with helper function for
7531         boost compiled without exceptions.
7532
7533         * paragraph.h:
7534         * lyxlength.C:
7535         * buffer.C:
7536         * ParameterStruct.h:
7537         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7538
7539         * bufferlist.C (emergencyWriteAll): use boost bind
7540
7541         * BufferView_pimpl.C (moveCursorUpdate): remove inline
7542
7543         * text.C: include paragraph_funcs.h
7544         (breakParagraph): breakParagraph is now in global scope
7545
7546         * paragraph_funcs.[Ch]: new files
7547
7548         * paragraph.C (breakParagraph,breakParagraphConservative): move to
7549         global scope
7550
7551         * buffer.C: include paragraph_funcs.h
7552         (insertStringAsLines): breakParagraph is now in global scope
7553
7554         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7555         paragraph_funcs.C
7556
7557         * CutAndPaste.C: include paragraph_funcs.h
7558         (cutSelection): breakParagraphConservative is now in global scope
7559         (pasteSelection): ditto
7560
7561         * buffer.h: declare oprator== and operator!= for
7562         Buffer::inset_iterator
7563
7564         * bufferlist.C (emergencyWrite): don't use fmt(...)
7565
7566         * text3.C: add using std::endl
7567
7568         * BufferView.C (moveCursorUpdate): remove default arg
7569
7570 2002-08-20  André Pönitz <poenitz@gmx.net>
7571
7572         * buffer.[Ch]: move inline functions to .C
7573
7574         * BufferView2.C:
7575         * BufferView_pimpl.C:
7576         * text.C:
7577         * buffer.[Ch]: use improved inset_iterator
7578
7579         * buffer.C:
7580         * paragraph.[Ch]: write one paragraph at a time
7581
7582 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
7583
7584         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7585         style if style is not specified.
7586
7587 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7588
7589         * text2.C (setCounter): when searching for right label for a
7590         caption, make sure to recurse to parent insets (so that a caption
7591         in a minipage in a figure float works) (bug #568)
7592
7593 2002-08-20  André Pönitz <poenitz@gmx.net>
7594
7595         * text3.C: new file for LyXText::dispatch() and helpers
7596
7597         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7598
7599         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7600
7601 2002-08-19  André Pönitz <poenitz@gmx.net>
7602
7603         * lyxtext.h:
7604         * text.C: new LyXText::dispatch()
7605
7606         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7607
7608 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
7609
7610         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7611
7612         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7613         Hebrew text.
7614
7615 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7616
7617         * Makefile.am: use $(variables) instead of @substitutions@
7618
7619 2002-08-15  André Pönitz <poenitz@gmx.net>
7620
7621         * lyxfunc.C:
7622         * BufferView_pimpl.C: streamlining mathed <-> outer world
7623         interaction
7624
7625         * commandtags.h:
7626         * LyXAction.C: remove unused LFUN_MATH
7627
7628 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7629
7630         * paragraph.[Ch]: add some NO_NEXT ifdefs.
7631
7632 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7633
7634         * paragraph.C (Paragraph): reformat a bit
7635         (cutIntoMinibuffer): use builtin InsetList function instad of
7636         doing it manually.
7637         (getInset): ditto
7638
7639         * buffer.C: include boost/bind.hpp, add using std::for_each
7640         (writeFileAscii): use ParagraphList iterators
7641         (validate): use for_each for validate traversal of paragraphs
7642         (getBibkeyList): use ParagraphList iterators
7643         (resizeInsets): use for_each to resizeInsetsLyXText for all
7644         paragraphs.
7645         (getParFromID): use ParagraphList iterators
7646
7647         * BufferView2.C (lockInset): use paragraph list and iterators
7648
7649 2002-08-14  John Levon  <levon@movementarian.org>
7650
7651         * lyxserver.C: remove spurious xforms include
7652
7653 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7654
7655         * lyxfunc.C (getStatus): disable math-extern outside of math mode
7656
7657 2002-08-13  André Pönitz <poenitz@gmx.net>
7658
7659         * LyXAction.[Ch]:
7660         * lyxfunc.C: further cleaning
7661
7662 2002-08-13  André Pönitz <poenitz@gmx.net>
7663
7664         * funcrequest.h: new constructor
7665
7666         * funcrequest.C: move stuff here from .h
7667
7668         * Makefile.am:
7669         * BufferView_pimpl.C:
7670         * LyXAction.C:
7671         * toc.C:
7672         * lyxfunc.C: subsequent changes
7673
7674         * lyxfunc.h: new view() member function
7675
7676         * lyxfunc.C: subsequent changes
7677
7678 2002-08-13  Angus Leeming  <leeming@lyx.org>
7679
7680         * BufferView2.C:
7681         * BufferView_pimpl.C:
7682         * buffer.C:
7683         * converter.C:
7684         * importer.C:
7685         * lyxfunc.C:
7686         * lyxvc.C:
7687         * toc.C:
7688         * vc-backend.C:
7689         changes due to the changed LyXView interface that now returns references
7690         to member variables not pointers.
7691
7692 2002-08-13  Angus Leeming  <leeming@lyx.org>
7693
7694         * WordLangTuple (word, lang_code): return references to strings,
7695         not strings.
7696
7697         * BufferView.h:
7698         * SpellBase.h:
7699         * lyxtext.h: forward-declare WordLangTuple.
7700
7701         * BufferView2.C:
7702         * ispell.C:
7703         * pspell.C:
7704         * text.C: #include "WordLangTuple.h".
7705
7706         * lyxtext.h:
7707         * text.C: (selectNextWordToSpellcheck): constify return type.
7708
7709 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
7710
7711         * buffer.C:
7712         * buffer.h:
7713         * lyxtext.h:
7714         * paragraph.C:
7715         * paragraph_pimpl.h:
7716         * text.C:
7717         * text2.C:
7718         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7719         suggested by Angus.
7720         Made updateCounter always count from start of buffer, and removed
7721         second argument (par).
7722         Reverted floats number display to '#'. Perhaps I'll try again when the
7723         code base is sanitized a bit.
7724
7725 2002-08-12  Angus Leeming  <leeming@lyx.org>
7726
7727         * buffer.[Ch] (getLabelList): constify.
7728
7729 2002-08-07  André Pönitz <poenitz@gmx.net>
7730
7731         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7732
7733         * funcrequest.h: extension to keep mouse (x,y) position
7734
7735 2002-08-12  Juergen Vigna  <jug@sad.it>
7736
7737         * BufferView2.C (insertErrors): forbid undo when inserting error
7738         insets.
7739
7740         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7741
7742 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7743
7744         * ParagraphList.[Ch]: new files
7745
7746         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7747
7748         * BufferView2.C (lockInset): ParagraphList changes
7749         * toc.C: ditto
7750         * text2.C: ditto
7751         * bufferlist.C: ditto
7752         * buffer.h: ditto
7753         * buffer.C: ditto
7754
7755 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7756
7757         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7758         unused class variable counter_,
7759
7760         * paragraph.[Ch] (getFirstCounter): delete unused function
7761
7762         * counters.C: include LAssert.h
7763         (reset): add a new function with no arg, change other version to
7764         not have def. arg and to not allow empty arg.
7765
7766         * text2.C (setCounter): remove empty arg from call to Counters::reset
7767
7768 2002-08-11  John Levon  <levon@movementarian.org>
7769
7770         * Makefile.am: add WordLangTuple.h
7771
7772 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7773
7774         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7775         lyxfunc.C lyxlex_pimpl.C: ws changes only.
7776
7777         * insets/insettext.C: InsetList changes
7778
7779         * graphics/GraphicsSupport.C (operator()): InsetList changes
7780
7781         * toc.C (getTocList): InsetList changes
7782
7783         * paragraph_pimpl.[Ch]: InsetList changes
7784
7785         * paragraph.[Ch]: InsetList changes
7786
7787         * buffer.C (inset_iterator): InsetList changes
7788         (setParagraph): ditto
7789         * buffer.h (inset_iterator): ditto
7790         * iterators.C (operator++): ditto
7791         * iterators.h: ditto
7792
7793         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7794
7795         * InsetList.[Ch]: new files, most InsetList handling moved out of
7796         paragraph.C.
7797
7798         * BufferView2.C (removeAutoInsets): InsetList changes
7799         (lockInset): ditto
7800         (ChangeInsets): ditto
7801
7802 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7803
7804         * paragraph_pimpl.h (empty): new function
7805
7806         * paragraph.[Ch] (empty): new function
7807
7808         * other files: use the new Paragraph::empty function
7809
7810 2002-08-09  John Levon  <levon@movementarian.org>
7811
7812         * lyxtext.h: remove unused refresh_height
7813
7814 2002-08-09  John Levon  <levon@movementarian.org>
7815
7816         * Makefile.am:
7817         * sgml.h:
7818         * sgml.C:
7819         * buffer.C:
7820         * paragraph.h:
7821         * paragraph.C: move sgml char escaping out of paragraph
7822
7823         * paragraph.h:
7824         * paragraph.C: remove id setter
7825
7826         * buffer.C:
7827         * paragraph.C:
7828         * paragraph_pimpl.C: remove dead tex_code_break_column
7829
7830         * bufferview_funcs.C: small cleanup
7831
7832         * lyxfunc.C: remove dead proto
7833
7834         * lyxtext.h: make some stuff private. Remove some dead stuff.
7835
7836         * lyxgluelength.C: make as[LyX]String() readable
7837
7838 2002-08-08  John Levon  <levon@movementarian.org>
7839
7840         * LyXAction.h:
7841         * LyXAction.C:
7842         * MenuBackend.C:
7843         * ToolbarDefaults.C:
7844         * lyxfunc.C:
7845         * lyxrc.C:
7846         * toc.C: lyxaction cleanup
7847
7848 2002-08-08  John Levon  <levon@movementarian.org>
7849
7850         * BufferView2.C: small cleanup
7851
7852         * lyxfind.h:
7853         * lyxfind.C: move unnecessary header into the .C
7854
7855 2002-08-08  John Levon  <levon@movementarian.org>
7856
7857         * funcrequest.h: just tedious nonsense
7858
7859         * lyx_main.h:
7860         * lyx_main.C: cleanups
7861
7862         * buffer.C:
7863         * vspace.C: remove dead header lyx_main.h
7864
7865 2002-08-07  Angus Leeming  <leeming@lyx.org>
7866
7867         * Paragraph.[Ch]:
7868         * paragraph_pimpl.h:
7869         Forward declare class Counters in paragraph.h by moving the ctrs member
7870         variable into Paragraph::Pimpl.
7871         (counters): new method, returning a reference to pimpl_->ctrs.
7872
7873         * text2.C: ensuing changes.
7874
7875 2002-08-07  John Levon  <levon@movementarian.org>
7876
7877         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7878
7879         * BufferView_pimpl.C: announce X selection on double/triple
7880           click
7881
7882         * lyx_main.C: use correct bool in batch dispatch
7883
7884         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7885
7886 2002-08-07  André Pönitz <poenitz@gmx.net>
7887
7888         * funcrequest.h: new class to wrap a kb_action and its argument
7889
7890         * BufferView.[Ch]:
7891         * BufferView_pimpl[Ch]:
7892         * LaTeX.C:
7893         * LyXAction.[Ch]:
7894         * lyxfunc.[Ch]:
7895         * lyxrc.C: subsequent changes
7896
7897
7898 2002-08-07  John Levon  <levon@movementarian.org>
7899
7900         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7901           document options change.
7902
7903 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7904
7905         * counters.[Ch]
7906         * text2.C
7907         * paragraph.[Ch]
7908         * makefile.am: move counters functionality over from
7909         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7910
7911 2002-08-06  John Levon  <levon@movementarian.org>
7912
7913         * WordLangTuple.h: new file for word + language code tuple
7914
7915         * SpellBase.h:
7916         * pspell.h:
7917         * pspell.C:
7918         * ispell.h:
7919         * ispell.C:
7920         * lyxtext.h:
7921         * text.C:
7922         * text2.C:
7923         * BufferView.h:
7924         * BufferView2.C: use WordLangTuple
7925
7926         * layout.h:
7927         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7928
7929 2002-08-06  John Levon  <levon@movementarian.org>
7930
7931         * lyx_main.C: fix cmdline batch handling
7932
7933 2002-08-06  André Pönitz <poenitz@gmx.net>
7934
7935         * lyxrc.C: set default for show_banner to true
7936
7937 2002-08-06  John Levon  <levon@movementarian.org>
7938
7939         * pspell.C: fix a crash, and allow new aspell to work
7940
7941 2002-08-06  John Levon  <levon@movementarian.org>
7942
7943         * lyxfunc.C:
7944         * kbmap.C: small cleanup
7945
7946         * vspace.h:
7947         * vspace.C: add const
7948
7949 2002-08-05  John Levon  <levon@movementarian.org>
7950
7951         * LyXAction.C: back to tabular-insert
7952
7953 2002-08-04  John Levon  <levon@movementarian.org>
7954
7955         * BufferView.h:
7956         * BufferView.C: cosmetic change
7957
7958         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7959
7960         * bufferlist.C:
7961         * buffer.h:
7962         * buffer.C:
7963         * lyxcb.h:
7964         * lyxcb.C:
7965         * lyxserver.C:
7966         * lyxvc.C:
7967         * vc-backend.C:
7968         * BufferView2.C: purge all "Lyx" not "LyX" strings
7969
7970         * lyxcursor.h:
7971         * lyxcursor.C: attempt to add some documentation
7972
7973         * lyxfunc.C:
7974         * commandtags.h:
7975         * LyXAction.C:
7976         * ToolbarDefaults.C:
7977         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7978           merge with LFUN_TABULAR_INSERT
7979
7980         * Makefile.am:
7981         * SpellBase.h:
7982         * ispell.h:
7983         * ispell.C:
7984         * pspell.h:
7985         * pspell.C: split up i/pspell implementations into separate
7986           files, many cleanups
7987
7988         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7989
7990         * text2.C: some cleanup
7991
7992         * lyxfunc.C: don't check for isp_command == "none" any more, it
7993           didn't make any sense
7994
7995 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
7996
7997         * counters.[Ch]
7998         * text2.C
7999         * paragraph.[Ch]
8000         * makefile.am: move counters functionality over
8001         from text2.C/paragraph.[Ch] to counters.[Ch], and
8002         make proper C++.
8003 2002-08-02  John Levon  <levon@movementarian.org>
8004
8005         * buffer.C: s/lyxconvert/lyx2lyx/
8006
8007 2002-08-02  Angus Leeming  <leeming@lyx.org>
8008
8009         * lyxlex.C: revert John's change as it breaks reading of the user
8010         preamble.
8011
8012 2002-08-02  Angus Leeming  <leeming@lyx.org>
8013
8014         * importer.C (Import):
8015         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8016         changes due to LyXView::view() now returning a boost::shared_ptr.
8017
8018 2002-08-02  John Levon  <levon@movementarian.org>
8019
8020         * lyxlex.C: small cleanup
8021
8022 2002-08-02  John Levon  <levon@movementarian.org>
8023
8024         * text2.C (status): small cleanup, no logic change
8025
8026 2002-08-01  John Levon  <levon@movementarian.org>
8027
8028         * buffer.h:
8029         * buffer.C (writeFile): don't output alerts, caller
8030           handles this
8031
8032         * bufferlist.C:
8033         * lyx_cb.C: from above
8034
8035         * lyxfunc.C: allow to open non-existent files
8036
8037 2002-07-31  John Levon  <levon@movementarian.org>
8038
8039         * lyxserver.C: don't let incidental errors get
8040           in the way (errno)
8041
8042 2002-07-30  John Levon  <levon@movementarian.org>
8043
8044         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8045
8046 2002-07-30  John Levon  <levon@movementarian.org>
8047
8048         * lyxserver.h:
8049         * lyxserver.C: remove I/O callback too
8050
8051 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8052
8053         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8054         log.
8055
8056 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8057
8058         * many files: strip,frontStrip -> trim,ltrim,rtrim
8059
8060 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8061
8062         * PrinterParams.h: remove extern containsOnly, and include
8063         support/lstrings.h instead.
8064
8065         * LaTeX.C (scanAuxFile): modify because of strip changes
8066         (deplog): ditto
8067         * buffer.C (makeLaTeXFile): ditto
8068         * bufferparams.C (writeFile): ditt
8069         * lyxfont.C (stateText): ditto
8070         * lyxserver.C (read_ready): ditto
8071         * vc-backend.C (scanMaster): ditto
8072
8073         * BufferView_pimpl.h: ws changes
8074
8075         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8076
8077 2002-07-26  André Pönitz <poenitz@gmx.net>
8078
8079         * kb_sequence.C: remove unnedred usings
8080
8081 2002-07-26  Juergen Vigna  <jug@sad.it>
8082
8083         * lyxfind.C (LyXReplace): we have to check better if the returned
8084         text is not of theLockingInset()->getLockingInset().
8085
8086 2002-07-25  Juergen Vigna  <jug@sad.it>
8087
8088         * lyxfind.C (LyXReplace): don't replace if we don't get the
8089         right LyXText.
8090
8091         * undo_funcs.C (createUndo): remove debugging code.
8092
8093 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
8094
8095         * buffer.C (parseSingleLyXformat2Token): Use default placement
8096         when reading old floats.
8097
8098         * FloatList.C (FloatList): Change the default placement of figure
8099         and tables to "tbp".
8100
8101 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
8102
8103         * MenuBackend.C: using std::max
8104
8105 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8106
8107         * MenuBackend.C (expandToc):
8108         (expandToc2): code moved from xforms menu frontend. It is now
8109         generic and TOCs are transparent to menu frontends.
8110
8111 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8112
8113         * toc.C (getTocList): protect against buf=0
8114
8115         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8116         Menu as first parameter. Now, this calls itself recursively to
8117         expand a whole tree (this will be useful for TOC handling)
8118         (expandFloatInsert): remove 'wide' version of floats
8119
8120         * MenuBackend.h (submenuname): returns the name of the submenu.
8121         (submenu): returns the submenu itself, provided it has been
8122         created by MenuBackend::expand
8123
8124 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8125
8126         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8127         insets which have noFontChange == true. (bug #172)
8128
8129 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8130
8131         * BufferView_pimpl.C: add connection objects and use them...
8132         (Pimpl): here.
8133
8134 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8135
8136         * MenuBackend.C (expandLastfiles):
8137         (expandDocuments):
8138         (expandFormats):
8139         (expandFloatListInsert):
8140         (expandFloatInsert):
8141         (expand): split expand in parts
8142
8143 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8144
8145         * lyx_gui.C: use lyx_gui::exit()
8146
8147 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8148
8149         * LyXAction.C: show the failing pseudo action
8150
8151 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
8152
8153         * buffer.C (readFile): Run the lyxconvert script in order to read
8154         old files.
8155
8156 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8157
8158         * LyXAction.C:
8159         * commandtags.h:
8160         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8161
8162 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8163
8164         * LyXAction.C:
8165         * commandtags.h:
8166         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8167
8168 2002-07-22  Herbert Voss  <voss@lyx.org>
8169
8170         * lengthcommon.C:
8171         * lyxlength.[Ch]: add support for the vertical lengths
8172
8173 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
8174
8175         * toc.[Ch]: std:: fixes
8176
8177 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8178
8179         * lyxrc.C: do not include lyx_main.h
8180
8181         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8182         for layouts
8183
8184         * lyxrc.C:
8185         * encoding.C:
8186         * bufferlist.C:
8187         * BufferView2.C: include "lyxlex.h"
8188
8189         * tabular.h:
8190         * bufferparams.h: do not #include "lyxlex.h"
8191
8192         * lyxtextclasslist.C (Add): remove method
8193         (classlist): renamed to classlist_
8194
8195         * paragraph_pimpl.C:
8196         * paragraph.C:
8197         * text2.C:
8198         * CutAndPaste.C:
8199         * bufferview_funcs.C:
8200         * bufferlist.C:
8201         * text.C:
8202         * LaTeXFeatures.C:
8203         * buffer.C:
8204         * toc.C (getTocList): use BufferParams::getLyXTextClass
8205
8206         * toc.C (getTocList): use InsetFloat::addToToc
8207
8208         * toc.[Ch]: new files, containing helper functions to handle table
8209         of contents
8210
8211         * lyxfunc.C (dispatch): no need to remove spaces around command
8212         given as a string
8213         (getStatus): handle LFUN_SEQUENCE by returning the status of the
8214         first command of the sequence; it is not very clever, but I do not
8215         have a better idea, actually
8216
8217         * LyXAction.C (LookupFunc): make sure to remove space at the
8218         beginning and end of the command
8219
8220 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8221
8222         * MenuBackend.C (getMenubar): new method: return the menubar of
8223         this menu set
8224         (read): treat differently reading of menu and menubar (in
8225         particular, the menubar has no name now)
8226         (Menu::menubar): remove
8227
8228         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8229         saving is finished
8230
8231 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8232
8233         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8234         a bibitem inset in a RTL paragraph.
8235
8236 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
8237
8238         * paragraph_pimpl.C: constify
8239
8240         * BufferView_pimpl.C:
8241         * LaTeX.C:
8242         * lyxfunc.C: fix dispatch in a nicer way
8243
8244 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8245
8246         * lyxfunc.C (dispatch):
8247         * BufferView_pimpl.C:
8248         * BufferView_pimpl.h:
8249         * BufferView.C:
8250         * BufferView.h: rename Dispatch() to dispatch()
8251
8252         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8253
8254         * lyxlayout.C (Read): honor DependsOn tag
8255
8256         * lyxlayout.[Ch] (depends_on): new method
8257
8258         * version.C.in: update lyx_docversion
8259
8260         * LaTeXFeatures.C (getMacros): only define \LyX when needed
8261
8262         * paragraph.C (validate): remove from here...
8263         * paragraph_pimpl.C (validate): ... and move here
8264         (isTextAt): make it const
8265
8266         * buffer.C (getLists): ws cleanup
8267
8268 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8269
8270         * language.C (read): Use iso8859-1 encoding in latex_lang
8271         (this prevents LyX from crashing when using iso10646-1 encoding).
8272
8273 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8274
8275         * text2.C (toggleInset): if cursor is inside an inset, close the
8276         inset and leave cursor _after_ it
8277
8278 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8279
8280         * lyxfunc.C: move minibuffer completion handling out of here
8281
8282 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8283
8284         * BufferView_pimpl.C:
8285         * LaTeX.C: fix dispatch calls
8286
8287 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
8288
8289         * text.C (drawChars): Fix Arabic text rendering.
8290
8291 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
8292
8293         * LyXAction.C:
8294         * commandtags.h:
8295         * lyxfunc.C: remove message-push/pop
8296
8297         * lyxserver.C:
8298         * lyxfunc.h:
8299         * lyxfunc.C: rationalise some code by removing verboseDispatch
8300           in favour of a bool argument to dispatch()
8301
8302 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8303
8304         * lyx_main.C (init): make sure to read symlinks as absolute paths
8305
8306 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8307
8308         * lyxfunc.h:
8309         * lyxfunc.C: no need for commandshortcut to be a member
8310
8311 2002-07-15  André Pönitz <poenitz@gmx.net>
8312
8313         * converter.C: add support for $$s (scripts from lib/scripts dir)
8314         * lyx_main.C: white space
8315
8316 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8317
8318         * bufferlist.C:
8319         * lyxrc.h:
8320         * lyxrc.C: remove second exit confirmation
8321
8322 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8323
8324         * BufferView.h:
8325         * BufferView.C:
8326         * BufferView2.C:
8327         * BufferView_pimpl.h:
8328         * BufferView_pimpl.C:
8329         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8330
8331 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8332
8333         * MenuBackend.C (expand): add numeric shortcuts to document menu
8334
8335         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8336
8337 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8338
8339         * lyxfont.C (setLyXFamily):
8340         (setLyXSeries):
8341         (setLyXShape):
8342         (setLyXSize):
8343         (setLyXMisc):
8344         (lyxRead):
8345         * debug.C (value):
8346         * buffer.C (asciiParagraph): use ascii_lowercase
8347
8348 2002-07-15  Mike Fabian  <mfabian@suse.de>
8349
8350         * lyxlex_pimpl.C (search_kw):
8351         * lyxlex.C (getLongString):
8352         * converter.h (operator<):
8353         * converter.C (operator<):
8354         * buffer.C (parseSingleLyXformat2Token):
8355         (asciiParagraph):
8356         * ToolbarDefaults.C (read):
8357         * MenuBackend.C (checkShortcuts):
8358         (read):
8359         * LColor.C (getFromGUIName):
8360         (getFromLyXName): use the compare_ascii_no_case instead of
8361         compare_no_case, because in turkish, 'i' is not the lowercase
8362         version of 'I', and thus turkish locale breaks parsing of tags.
8363
8364 2002-07-16  Angus Leeming  <leeming@lyx.org>
8365
8366         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8367         now takes a Buffer const & argument.
8368
8369 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
8370
8371         * BufferView.C (resize): check there's a buffer to resize
8372
8373 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
8374
8375         * lyxfunc.C: remove dead code
8376
8377         * lyxserver.h:
8378         * lyxserver.C: use lyx_guii::set_read_callback
8379
8380 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
8381
8382         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8383         an inset in a RTL paragraph.
8384
8385 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8386
8387         * lyxfunc.C: repaint after a font size update
8388
8389 2002-07-15  André Pönitz <poenitz@gmx.net>
8390
8391         * lyxlength.C: inBP should be able to return negative values
8392
8393 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8394
8395         * lyxfunc.C: use lyx_gui::update_fonts()
8396
8397 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8398
8399         * lyxfunc.C: use lyx_gui::update_color()
8400
8401 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8402
8403         * bufferlist.C:
8404         * lyxfunc.h:
8405         * lyxfunc.C:
8406         * lyxrc.h:
8407         * lyxrc.C: remove file->new asks for name option, and let
8408           buffer-new take an argument
8409
8410 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8411
8412         * BufferView_pimpl.C: remove unneeded extra repaint()
8413
8414 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
8415
8416         * LyXAction.C: allow command-sequence with NoBuffer
8417
8418         * lyxfunc.C: don't insist on trailing ';' for command-sequence
8419
8420 2002-07-10  Angus Leeming  <leeming@lyx.org>
8421
8422         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8423
8424 2002-07-09  Angus Leeming  <leeming@lyx.org>
8425
8426         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8427
8428 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8429
8430         * lengthcommon.h: whitespace
8431
8432         * lyxfunc.C: update scrollbar after goto paragraph
8433
8434         * lyxtext.h: factor out page break drawing, and fix it so
8435           page break/added space paints as selected nicely
8436
8437 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8438
8439         * BufferView_pimpl.C: add FIXMEs, clean up a little
8440
8441 2002-07-09  André Pönitz <poenitz@gmx.net>
8442
8443         * lyxfont.[Ch]: support for wasy symbols
8444
8445 2002-07-08  André Pönitz <poenitz@gmx.net>
8446
8447         * BufferView_pimpl.C: apply John's patch for #93.
8448
8449 2002-07-05  Angus Leeming  <leeming@lyx.org>
8450
8451         * BufferView_pimpl.C (buffer): generate previews if desired.
8452
8453         * LColor.h: add "preview" to the color enum.
8454
8455         * LColor.C (LColor): add a corresponding entry to the items array.
8456
8457         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8458         with this buffer.
8459
8460 2002-07-05  Angus Leeming  <leeming@lyx.org>
8461
8462         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8463         The body of the code is now in the method that is passed an ostream &
8464         rather than a file name.
8465         Pass an additional only_preamble parameter, useful for the forthcoming
8466         preview stuff.
8467
8468 2002-07-03  André Pönitz <poenitz@gmx.net>
8469
8470         * lyxfunc.C: simplify getStatus() a bit for math stuff
8471
8472 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8473
8474         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8475
8476 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8477
8478         * text.C (changeRegionCase): do not change case of all the
8479         document when region ends at paragraph end (bug #461)
8480
8481 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8482
8483         * paragraph.C (startTeXParParams):
8484         (endTeXParParams): add \protect when necessary
8485
8486 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8487
8488         * BufferView_pimpl.C (workAreaExpose): remove warning
8489
8490 2002-06-27  Angus Leeming  <leeming@lyx.org>
8491
8492         * Makefile.am: add lyxlayout_ptr_fwd.h.
8493
8494 2002-06-26  André Pönitz <poenitz@gmx.net>
8495
8496         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8497
8498 2002-06-25  Angus Leeming  <leeming@lyx.org>
8499
8500         * lyxfunc.C (dispatch): Comment out the call to
8501         grfx::GCache::changeDisplay. The method no longer exists now that the
8502         pixmap generation part of the graphics loader has been moved into
8503         InsetGraphics.
8504
8505 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8506
8507         * text2.C: layout as layout
8508
8509         * text.C: layout as layout
8510
8511         * tabular.C (OldFormatRead): layout as layout
8512
8513         * paragraph_pimpl.C (TeXDeeper): layout as layout
8514         (realizeFont): layout as layout
8515
8516         * paragraph.C (writeFile): layout as layout
8517         (validate): layout as layout
8518         (getFont): layout as layout
8519         (getLabelFont): layout as layout
8520         (getLayoutFont): layout as layout
8521         (breakParagraph): layout as layout
8522         (stripLeadingSpaces): layout as layout
8523         (getEndLabel): layout as layout
8524         (getMaxDepthAfter): layout as layout
8525         (applyLayout): layout as layout
8526         (TeXOnePar): layout as layout
8527         (simpleTeXOnePar): layout as layout
8528         (TeXEnvironment): layout as layout
8529         (layout): layout as layout
8530         (layout): layout as layout
8531
8532         * lyxtextclass.C (compare_name): new functor to work with
8533         shared_ptr, layout as layout
8534         (Read): layout as layout
8535         (hasLayout): layout as layout
8536         (operator): layout as layout
8537         (delete_layout): layout as layout
8538         (defaultLayout): layout as layout
8539
8540         * lyxlayout_ptr_fwd.h: new file
8541
8542         * lyxlayout.C (Read): layout as layout
8543
8544         * lyx_cb.C (MenuInsertLabel): layout as layout
8545
8546         * bufferlist.C (newFile): layout as layout
8547
8548         * buffer.C (readLyXformat2): layout as layout
8549         (parseSingleLyXformat2Token): layout as layout
8550         (insertStringAsLines): layout as layout
8551         (asciiParagraph): layout as layout
8552         (latexParagraphs): layout as layout
8553         (makeLinuxDocFile): layout as layout
8554         (simpleLinuxDocOnePar): layout as layout
8555         (makeDocBookFile): layout as layout
8556         (simpleDocBookOnePar): layout as layout
8557         (getLists): layout as layout
8558
8559         * LaTeXFeatures.C (getTClassPreamble): layout as layout
8560
8561         * CutAndPaste.C (cutSelection): layout as layout
8562         (pasteSelection): layout as layout
8563         (SwitchLayoutsBetweenClasses): layout as layout
8564
8565         * BufferView_pimpl.C (Dispatch): layout as layout
8566         (smartQuote): layout as layout
8567
8568         * BufferView2.C (unlockInset): layout as layout
8569
8570 2002-06-24  André Pönitz <poenitz@gmx.net>
8571
8572         * lyxfunc.C: fix #487
8573
8574 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8575
8576         * lyxrc.h:
8577         * lyxrc.C:
8578         * lyxfunc.C: remove display_shortcuts, show_banner
8579
8580 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8581
8582         * Buffer_pimpl.C: oops, update on resize
8583
8584 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8585
8586         * buffer.C:
8587         * converter.C:
8588         * exporter.C:
8589         * lyxfunc.C:
8590         * BufferView.h:
8591         * BufferView.C: use repaint()
8592
8593         * BufferView_pimpl.h:
8594         * BufferView_pimpl.C: s/updateScreen()/repaint()/
8595           as it's a clearer description. Remove superfluous
8596           redraws.
8597
8598 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8599
8600         * text.C: fix bug 488. Not ideal, but getting
8601           getWord() to work properly for the insets that
8602           matter is more difficult ...
8603
8604 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8605
8606         * BufferView_pimpl.C:
8607         * LyXAction.C:
8608         * commandtags.h:
8609         * lyxfunc.C: remove the six million index lyxfuncs to just
8610           one, and DTRT (bug 458)
8611
8612 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8613
8614         * BufferView.h:
8615         * BufferView.C:
8616         * BufferView_pimpl.h:
8617         * BufferView_pimpl.C: clean up resize() stuff,
8618           and unnecessary updateScreen()s
8619
8620 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8621
8622         * BufferView.h:
8623         * BufferView.C:
8624         * BufferView_pimpl.h:
8625         * BufferView_pimpl.C:
8626         * lyxfind.h:
8627         * lyxfind.C:
8628         * minibuffer.C: remove focus management of workarea,
8629           not needed. Use screen's greyOut()
8630
8631 2002-06-17  Herbert Voss  <voss@lyx.org>
8632
8633         * converter.C: (convert) do not post a message, when converting
8634         fails, let the calling function decide what to do in this case
8635
8636 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
8637
8638         * lyxfunc.C: tidy up a little
8639
8640 2002-06-16    <alstrup@diku.dk>
8641
8642         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8643         Got rid of FORMS_H_LOCATION include. Now we are
8644         GUII.
8645
8646 2002-06-15  LyX Development team  <lyx@rilke>
8647
8648         * buffer.[Ch] (sgmlOpenTag):
8649         (sgmlCloseTag): Added support for avoiding pernicious mixed
8650         content. Return number of lines written.
8651
8652         (makeLinuxDocFile):
8653         (makeDocBookFile): Fixed calls to sgml*Tag.
8654         Simple white space clean.
8655
8656         (simpleDocBookOnePar): Simple white space clean.
8657
8658         * tabular.[Ch] (docBook): Renamed to docbook and got another
8659         argument to related with the pernicious mixed content.
8660
8661         (docbookRow): Fixed calls for docbook inset method.
8662
8663 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
8664
8665         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8666         so it's X11 independent.
8667
8668         * kb*.[Ch]: ditto.
8669
8670         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8671
8672 2002-06-15  Lyx Development team  <lyx@electronia>
8673
8674         * intl.h: Renamed getTrans to getTransManager.
8675
8676 2002-06-14  Angus Leeming  <leeming@lyx.org>
8677
8678         * Makefile.am: nuke forgotten stl_string_fwd.h.
8679
8680 2002-06-12  Angus Leeming  <leeming@lyx.org>
8681
8682         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8683
8684 2002-06-13  Angus Leeming  <leeming@lyx.org>
8685
8686         * LaTeX.C:
8687         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8688
8689 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
8690
8691         * kbmap.C (getiso): add support for cyrillic and greek
8692
8693 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8694
8695         * BufferView.h:
8696         * BufferView.C:
8697         * BufferView_pimpl.h:
8698         * BufferView_pimpl.C: move bogus scrolling logic
8699           to xforms
8700
8701 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8702
8703         * lyxfunc.C:
8704         * BufferView_pimpl.C: view->resize() change
8705
8706 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8707
8708         * BufferView_pimpl.C: topCursorVisible
8709           prototype change
8710
8711 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8712
8713         * Makefile.am:
8714         * lyx_gui.h:
8715         * lyx_gui.C: move to frontends/
8716
8717         * main.C:
8718         * lyx_main.h:
8719         * lyx_main.C: changes from above
8720
8721 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8722
8723         * intl.C:
8724         * intl.h:
8725         * kbmap.C:
8726         * kbsequence.C:
8727         * lyx_cb.C:
8728         * lyx_main.C: minor tidy
8729
8730 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8731
8732         * BufferView_pimpl.h:
8733         * BufferView_pimpl.C:
8734         * BufferView.h:
8735         * BufferView.C: make painter() const,
8736           remove dead code
8737
8738         * BufferView2.C: use screen() accessor
8739
8740         * lyx_main.h:
8741         * lyx_main.C: some minor cleanup
8742
8743 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8744
8745         * BufferView_pimpl.h:
8746         * BufferView_pimpl.C: remove enter/leaveView,
8747           use workHeight()
8748
8749 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8750
8751         * BufferView.h:
8752         * BufferView.C:
8753         * BufferView2.C:
8754         * BufferView_pimpl.h:
8755         * BufferView_pimpl.C: only construct screen once,
8756           rename
8757
8758         * lyxrc.C: remove pointless comment
8759
8760 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8761
8762         * BufferView.h:
8763         * BufferView.C: remove active() and belowMouse()
8764
8765         * BufferView_pimpl.h:
8766         * BufferView_pimpl.C: use workarea() not workarea_,
8767           and make it use a scoped_ptr instead
8768
8769 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8770
8771         * lyx_gui.C: add debug message on BadWindow
8772
8773 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8774
8775         * sp_spell.C: fdopen is not part of the C++ standard.
8776
8777         * paragraph.C (InsetIterator): use >= instead of ==
8778
8779 2002-06-07  Angus Leeming  <leeming@lyx.org>
8780
8781         Fixes needed to compile with Compaq cxx 6.5.
8782         * BufferView_pimpl.C:
8783         * DepTable.C:
8784         * buffer.C:
8785         * converter.C:
8786         * encoding.C:
8787         * lyx_gui.C:
8788         * lyx_main.C:
8789         * lyxtextclasslist.C:
8790         * minibuffer.C:
8791         * sp_spell.C:
8792         * tabular_funcs.C:
8793         * vc-backend.C:
8794         all c-library variables have been moved into namespace std. Wrap
8795         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8796
8797         * lyxlength.C:
8798         * tabular-old.C:
8799         * tabular.C:
8800         Add a using std::abs declaration.
8801
8802         * kbmap.h (modifier_pair):
8803         * paragraph.h (InsetTable, InsetList):
8804         * lyxfont.h (FontBits):
8805         type definition made public.
8806
8807         * bufferlist.C (emergencyWriteAll): the compiler complains that
8808         there is more than one possible lyx::class_fun template to choose from.
8809         I re-named the void specialisation as lyx::void_class_fun.
8810
8811         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8812
8813         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8814         the compiler is is unable to find tostr in write_attribute.
8815
8816 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8817
8818         * buffer.C (sgmlError): hide #warning
8819
8820 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8821
8822         * xtl/*: get rid of xtl, which is not in use anyway
8823
8824         * LyXAction.C (init):
8825         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8826         were unimplemented xtl experimentation
8827
8828 2002-06-04  André Pönitz <poenitz@gmx.net>
8829
8830         * lyxfunc.C: disable array operation on simple formulae
8831
8832 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
8833
8834         * converter.C: constify a bit
8835
8836 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
8837
8838         * lyx_gui.C: check xforms version correctly
8839
8840 2002-04-30  Herbert Voss  <voss@lyx.org>
8841
8842         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8843         "keep" option
8844
8845 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
8846
8847         * lyxvc.C: fix bug 416 (make sure buffer is saved before
8848           attempt to register it with a VCS)
8849
8850 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8851
8852         * lyx_main.C (init): honor variables LYX_DIR_13x and
8853         LYX_USERDIR_13x
8854
8855 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8856
8857         * buffer.h:
8858         * buffer.C:
8859         * lyx_main.C: fix a crash on bad command line,
8860           and give a useful exit status on error
8861
8862         * lyxfunc.C (doImport): allow -i lyx to work
8863
8864 2002-03-30  André Pönitz <poenitz@gmx.net>
8865
8866         * lyxfunc.C: mathed font changes
8867
8868 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8869
8870         * LaTeX.C:
8871         * importer.h:
8872         * importer.C:
8873         * lyx_sty.h:
8874         * lyx_sty.C:
8875         * lyxlex.C:
8876         * lyxrow.h:
8877         * lyxtext.h:
8878         * paragraph.h:
8879         * paragraph.C:
8880         * texrow.h:
8881         * texrow.C:
8882         * text.C:
8883         * trans_mgr.h: srcdocs, and some minor cleanups
8884
8885 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8886
8887         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8888         call getFont all the time)
8889
8890 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8891
8892         * switch from SigC signals to boost::signals
8893
8894 2002-05-29  André Pönitz <poenitz@gmx.net>
8895
8896         * paragraph_pimpl.C (getChar): don't call size() too often...
8897
8898 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8899
8900         * paragraph_pimpl.C (insertChar): do not try to update tables when
8901         appending (pos == size())
8902
8903         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8904         in order to reduce drastically the number of comparisons needed to
8905         parse a large document
8906
8907 2002-05-29  André Pönitz <poenitz@gmx.net>
8908
8909         * text.C:
8910         * text2.C:
8911         * lyxtextclass.C:
8912         * sp_pspell.h:
8913         * textclasslist.[Ch]:
8914         * sp_ispell.h: whitespace change
8915
8916 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8917
8918         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8919         lyxaction directly now.
8920
8921 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8922
8923         * trans.C:
8924         * lyxfont.C:
8925         * lyxvc.C: remove unused headers
8926
8927 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8928
8929         * Makefile.am:
8930         * buffer.h:
8931         * undostack.h:
8932         * undostack.C:
8933         * undo_funcs.h:
8934         * undo_funcs.C: some cleanups. Use shared_ptr
8935           and a template for the undo stacks.
8936
8937 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8938
8939         * BufferView_pimpl.h:
8940         * BufferView_pimpl.C:
8941         * kbmap.h:
8942         * kbmap.C:
8943         * kbsequence.h:
8944         * kbsequence.C:
8945         * lyxfunc.h:
8946         * lyxfunc.C:
8947         * text2.C: use key_state/mouse_state
8948
8949 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8950
8951         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8952         and LSubstring
8953
8954         * chset.C: change include order
8955         (loadFile): use boost regex and get rid of LRegex and LSubstring
8956
8957         * Makefile.am (BOOST_LIBS): new variable
8958         (lyx_LDADD): use it
8959
8960         * LaTeX.C: change include order.
8961         (scanAuxFile): use boost regex and get rid of LRegex and
8962         LSubstring
8963         (deplog): ditto
8964
8965 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8966
8967         * ColorHandler.h:
8968         * ColorHandler.C:
8969         * FontInfo.h:
8970         * FontInfo.C: moved to frontends/xforms/
8971
8972         * FontLoader.h:
8973         * FontLoader.C: moved into frontends for GUIIzation
8974
8975         * Makefile.am:
8976         * lyx_gui.C:
8977         * lyxfont.C:
8978         * lyxfunc.C: changes from above
8979
8980 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8981
8982         * LColor.C: remove spurious X include
8983
8984         * BufferView_pimpl.C:
8985         * Makefile.am:
8986         * font.h:
8987         * font.C:
8988         * text.C:
8989         * text2.C: move font metrics to frontends/
8990
8991 2002-05-24  Juergen Vigna  <jug@sad.it>
8992
8993         * undo_funcs.C (textHandleUndo): fix the cursor selection after
8994         setting the undo_cursor.
8995
8996         * ParagraphParameters.h: include local includes first.
8997
8998 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8999
9000         * BufferView_pimpl.C:
9001         * BufferView_pimpl.h:
9002         * Makefile.am:
9003         * WorkArea.h:
9004         * WorkArea.C:
9005         * screen.C: move WorkArea into frontends/
9006
9007         * lyxscreen.h:
9008         * screen.C:
9009         * text.C:
9010         * BufferView.C:
9011         * BufferView2.C: move LyXScreen into frontends/
9012
9013         * lyxlookup.h:
9014         * lyxlookup.C:
9015         * lyx_gui.C: move lyxlookup into frontends/xforms/
9016
9017 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9018
9019         * BufferView2.C:
9020         * BufferView_pimpl.C:
9021         * FontLoader.C:
9022         * LyXView.h:
9023         * LyXView.C:
9024         * Makefile.am:
9025         * WorkArea.C:
9026         * XFormsView.h:
9027         * XFormsView.C:
9028         * buffer.C:
9029         * bufferlist.C:
9030         * bufferview_funcs.C:
9031         * converter.C:
9032         * importer.C:
9033         * lyx_cb.C:
9034         * lyx_gui.C:
9035         * lyx_main.C:
9036         * lyx_find.C:
9037         * lyxfunc.C:
9038         * lyxvc.C:
9039         * minibuffer.C:
9040         * text.C:
9041         * text2.C:
9042         * trans.C:
9043         * vc-backend.C: move LyX/XFormsView into frontends/
9044
9045 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9046
9047         * Makefile.am:
9048         * PainterBase.C:
9049         * PainterBase.h:
9050         * Painter.C:
9051         * Painter.h:
9052         * WorkArea.C:
9053         * WorkArea.h:
9054         * screen.C:
9055         * tabular.C:
9056         * text.C:
9057         * text2.C: move Painter to frontends/
9058
9059 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9060
9061         * buffer.C: comment out some some code that depend upon lyx_format
9062         < 220
9063
9064         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9065         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9066
9067         * buffer.h (NO_COMPABILITY): turn off compability
9068
9069         * ColorHandler.C: include scoped_array.hpp
9070
9071         * font.C: Use more specific smart_ptr header.
9072         * Painter.C: ditto
9073         * gettext.C: ditto
9074         * ShareContainer.h: ditto
9075         * lyx_main.h: ditto
9076         * kbmap.h: ditto
9077         * FontInfo.h: ditto
9078         * BufferView_pimpl.h: ditto
9079         * ColorHandler.h: ditto
9080
9081         * kbmap.C (defkey): change call to shared_ptr::reset
9082
9083 2002-05-21  Juergen Vigna  <jug@sad.it>
9084
9085         * buffer.C (insertErtContents): fix to insert ert asis if it is
9086         non empty. Skip it completely if it contains only whitespaces.
9087
9088 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
9089
9090         * BufferView_pimpl.C:
9091         * BufferView2.C: clear selection on paste (bug 393)
9092
9093 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9094
9095         * DepTable.C: include ctime
9096
9097 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
9098
9099         * buffer.C (latexParagraphs): Add new argument (moving_arg).
9100
9101 2002-05-14  Juergen Vigna  <jug@sad.it>
9102
9103         * text.C (breakParagraph): fixed function to honor the keepempty
9104         layout in the right maner and also to permit the right breaking
9105         algorithm on empty or non empyt keepempty paragraphs.
9106
9107         * paragraph.C (breakParagraph): we have to check also if the par
9108         is really empty (!size()) for isempty otherwise we do the wrong
9109         paragraph break.
9110
9111 2002-05-10  Juergen Vigna  <jug@sad.it>
9112
9113         * buffer.[Ch] : The following are only changes to the ert
9114         compatibility read reading old LaTeX layout and font stuff and
9115         convert it to ERTInsets.
9116
9117         * buffer.h: added isErtInset().
9118
9119         * buffer.C (struct ErtComp): add a fromlayout bool to check
9120         if we're inside a LaTeX layout.
9121         (isErtInset): new helper function.
9122         (insertErtContents): look for other ert insets before this one
9123         and insert the contents there, so that we don't have subsequent
9124         ERT insets with nothing between them. This way we create only one
9125         inset with multiple paragraphs. Also check if we don't insert only
9126         spaces ' ' as they are ignored anyway afterwards in the .tex file
9127         so if we have only spaces we will ignore this latex part in the
9128         new file.
9129         (parseSingleLyXformat2Token \\layout): better compatibility when
9130         reading layout-latex stuff.
9131         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9132         language tag.
9133         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9134         stuff after reading the inset only get the information back from
9135         the stack.
9136
9137 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
9138
9139         * buffer.C (makeLaTeXFile): Put language options after loading babel.
9140
9141         * LaTeXFeatures.C (getBabelOptions): New method.
9142
9143 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9144
9145         * BufferView_pimpl.C (Dispatch): work around missing argument for
9146         'layout'
9147
9148 2002-05-08  Juergen Vigna  <jug@sad.it>
9149
9150         * text.C (leftMargin): handle paragraph leftindent.
9151
9152         * paragraph.C (writeFile): write the new \\leftindent tag.
9153         (validate): handle leftindent code.
9154         (TeXEnvironment): handle paragraphleftindent code again.
9155
9156         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9157
9158         * buffer.C (parseSingleLyXformat2Token): added compatibility code
9159         for paragrap_extra indent code and new token \\leftindent.
9160         (latexParagraphs): handle the leftindent as environment.
9161
9162         * ParameterStruct.h: added leftindent support.
9163
9164         * ParagraphParameters.C (leftIndent): added support functions for
9165         the paragraph left indent.
9166
9167         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9168         more appropriate.
9169
9170 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
9171
9172         * paragraph.C (isRightToLeftPar): Return false for a paragraph
9173         inside insetERT.
9174
9175         * text.C (computeBidiTables): No bidi in insetERT.
9176
9177         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9178         in RTL documents.
9179
9180 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9181
9182         * version.C.in: pre 5
9183
9184 2002-05-02  José Matos  <jamatos@fep.up.pt>
9185         * buffer.C (makeDocBookFile): white space changes, add newline to
9186         command styles.
9187         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9188
9189         * tabular.C (docBook): fix typo.
9190
9191 2002-05-03  Juergen Vigna  <jug@sad.it>
9192
9193         * screen.C (drawFromTo): recalculate the rowpointer if we had a
9194         change in LyXText as we can not be sure it was not freed.
9195         (drawOneRow): remove unused code.
9196
9197         * text.C (drawInset): redo the calculation of the need_break_row as
9198         it could have a row which was already freed.
9199         (draw): look at the return value of drawInset and return false if
9200         it also returned false.
9201         (paintRowText): look at the return value of draw and return false if
9202         it also returned false.
9203
9204         * lyxtext.h: added bool return type to drawInset() and draw() so that
9205         if we have a change in the row so that the rowbreak has to be redone
9206         we abort drawing as it will be called again.
9207
9208 2002-05-02  Juergen Vigna  <jug@sad.it>
9209
9210         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9211         a change in the maintext also if we're inside an inset.
9212         (Dispatch): set the cursor again after a break line and after the
9213         screen has been updated as it could be we're in a different row.
9214
9215         * text2.C (fixCursorAfterDelete): check to make sure we don't request
9216         to set the cursor behind the pargraph with > size().
9217         (setCursor): check also for the same paragraph when checking where
9218         to put the cursor if we have a NFR inset.
9219
9220         * buffer.C (parseSingleLyXformat2Token): move the compatibility
9221         parts of layout read further up as it still was in the wrong
9222         position.
9223
9224 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9225
9226         * screen.C (drawFromTo): change sine fullRebreak always return
9227         true.
9228
9229         * buffer.C (parseSingleLyXformat2Token): reindent some
9230
9231         * BufferView_pimpl.C (update): change since fullRebreak always
9232         return true.
9233         (Dispatch): git rid of the last hardcoded "Standard"s.
9234
9235 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9236
9237         * text2.[Ch] (fullRebreak): make it return void now that we always
9238         returned true.
9239
9240 2002-04-30  Juergen Vigna  <jug@sad.it>
9241
9242         * buffer.C (parseSingleLyXformat2Token): reset the font before the
9243         ert compatibility check for "latex" layout.
9244
9245 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
9246
9247         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9248         minipages: use col% instead of p%, and also use the current font.
9249         (makeLaTeXFile): Fix use babel condition.
9250         (parseSingleLyXformat2Token): Correct font when reading old floats.
9251
9252 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
9253
9254         * BufferView_pimpl.C (Dispatch): Check that float type exists when
9255         inserting list of floats.
9256
9257 2002-04-25  Herbert Voss  <voss@lyx.org>
9258
9259         * MenuBackend.C (expand): don't add the graphics extensions to the
9260         export menu
9261
9262 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9263
9264         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9265         non-existing layout, do not complain if it was the default layout
9266         of the original class (bug #342)
9267
9268 2002-04-24  Juergen Vigna  <jug@sad.it>
9269
9270         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9271         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9272
9273 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
9274
9275         * buffer.C (getBibkeyList): If using \bibliography, return the
9276         option field with the reference itself. Enables us to provide natbib
9277         support when using \bibliography.
9278
9279 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
9280
9281         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9282
9283         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9284         natbib is provided by the LaTeX class.
9285
9286 2002-04-23  Juergen Vigna  <jug@sad.it>
9287
9288         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9289         Wakeup functions.
9290
9291         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9292
9293 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9294
9295         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9296
9297         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9298         ensuremath around textordmasculine, textordfeminine and
9299         textdegree.
9300
9301 2002-04-19  Juergen Vigna  <jug@sad.it>
9302
9303         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9304         reinitializing the buffer otherwise row-dimensions may be wrong.
9305         (update): reset also the selection cursors if they do exits otherwise
9306         their x/y positions may be wrong.
9307
9308         * text2.C (cursorDown): don't enter the inset if we came from a row
9309         above and are one row over the inset.
9310
9311         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9312         really leaving an inset.
9313
9314 2002-04-18  Juergen Vigna  <jug@sad.it>
9315
9316         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9317         of the selected paragraph does not have the selected layout also if
9318         the last one had!
9319
9320         * text2.C (setLayout): fixed bug which did not change last selected
9321         paragraph.
9322
9323         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9324         changed the read and substituted \\end_float with \\end_inset!
9325
9326         * BufferView_pimpl.C (cursorPrevious):
9327         (cursorNext): fixed to make it work with rows heigher than the work
9328         area without moving the cursor only the draw of the row.
9329         (workAreaMotionNotify): fix jumping over high rows.
9330
9331 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9332
9333         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9334         Ressler.
9335
9336 2002-04-16  Juergen Vigna  <jug@sad.it>
9337
9338         * text2.C (setCursor): set also the irow().
9339         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9340         (cursorUp):
9341         (cursorDown): support for locking an inset if the x_fix value goes
9342         inside it. That way I can transverse insets too with cursor up/down.
9343
9344         * lyxrow.h: added irow helper function same as other (i) functions.
9345
9346         * BufferView_pimpl.C (cursorPrevious):
9347         (cursorNext): fixed for insets!
9348
9349 2002-04-15  Juergen Vigna  <jug@sad.it>
9350
9351         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9352         position otherwise it is wrong in some cases.
9353
9354         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9355         inside the inset before the call.
9356
9357 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
9358
9359         * buffer.[Ch] (getBibkeyList): make it const.
9360
9361 2002-04-12  Juergen Vigna  <jug@sad.it>
9362
9363         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9364
9365         * text2.C (getCursorX): new helper function
9366         (setCursor): compute also ix_
9367         (setCursorFromCoordinates): set also ix.
9368
9369         * lyxcursor.h: added ix_ and helper functions.
9370
9371         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9372
9373         * buffer.C (insertStringAsLines): dont break paragraph if the this
9374         paragraph is inside an inset which does not permit it!
9375
9376         * text.C (breakParagraph): honor keepempty flag and break the paragraph
9377         also with no chars on this paragraph.
9378         (paintRowText): only paint stuff if it's inside the workarea!
9379
9380         * paragraph.C (breakParagraph): honor keepempty flag and break the
9381         paragraph always below not above.
9382
9383         * BufferView2.C (unlockInset): update the paragraph layout on inset
9384         unlock as we changed paragraph in such a case.
9385
9386         * lyxfind.C (LyXFind): clear the former selection if not found!
9387
9388         * text2.C (insertInset): freeze Undo after setUndo so that it is not
9389         again called in insertChar().
9390
9391         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9392         an inset which uses the whole row!
9393         (rightMargin): ditto.
9394         (insertChar): force a rebreak if we inserted an inset!
9395
9396 2002-03-28  Herbert Voss  <voss@lyx.org>
9397
9398         * lyxlength.[Ch]: add inBP() to get the right PS-point
9399         units (BigPoint). With inPixels we have rounding errors
9400
9401 2002-04-11  Juergen Vigna  <jug@sad.it>
9402
9403         * text2.C (setCursorFromCoordinates): set iy to the right value.
9404         (setCursor): add check if row->previous exists!
9405
9406         * buffer.C (parseSingleLyXformat2Token): reset font after read of
9407         an old float_type as this was the case in the old code!
9408
9409         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9410
9411         * BufferView2.C (showLockedInsetCursor): use iy
9412         (fitLockedInsetCursor): ditto
9413
9414         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9415         locked insets as there we have the right value now.
9416
9417         * lyxcursor.C: added iy_ variable and iy functions to set to the
9418         baseline of cursor-y of the locked inset.
9419
9420         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9421         (setCursor): fixed for insets which need a full row.
9422
9423         * text.C (rowLastPrintable): don't ignore the last space when before
9424         an inset which needs a full row.
9425         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9426         as last character of a row when before a inset which needs a full row.
9427
9428 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9429
9430         * version.C.in: update date
9431
9432         * text2.C (fullRebreak): try to always return true and see what
9433         happens...
9434
9435 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9436
9437         * MenuBackend.C (expand): use Floating::listName
9438
9439         * FloatList.C (FloatList): add listName argument to the built-in
9440         floats
9441
9442         * Floating.[Ch]: add listName member, which is the 'List of XXX'
9443         text associated with the float.
9444
9445 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9446
9447         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9448
9449 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9450
9451         * ShareContainer.h: add a couple of missing typenames.
9452
9453 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
9454
9455         * lyxrc.C (getDescription): use _() correctly rather than N_().
9456
9457 2002-03-28  Herbert Voss  <voss@lyx.org>
9458
9459         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9460         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9461
9462 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9463
9464         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9465         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9466
9467 2002-03-29  Juergen Vigna  <jug@sad.it>
9468
9469         * lyxfunc.C (dispatch): add a missing fitCursor call.
9470
9471         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9472         it was scrolled by a cursor move, so return the bool status.
9473
9474         * BufferView.C (fitCursor): return the bool flag also to the outside
9475         world as this is needed.
9476
9477         * screen.C (toggleToggle): don't subtract the offset if it's positive.
9478
9479         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9480         call the edit() as it is not needed (and wrong) IMO.
9481         (workAreaButtonPress): set the screen_first variable before evt.
9482         unlock the inset as this may change screen_first and then we have
9483         a wrong y position for the click!
9484
9485 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9486
9487         * MenuBackend.C (expand): another translation that I missed
9488
9489 2002-03-28  Juergen Vigna  <jug@sad.it>
9490
9491         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9492
9493         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9494
9495 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9496
9497         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9498
9499         * MenuBackend.C (expand): fix export/view/update when there is no
9500         document open.
9501
9502 2002-03-27  Herbert Voss  <voss@lyx.org>
9503
9504         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9505         and text%
9506
9507 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9508
9509         * bufferview_funcs.C (currentState): only show paragraph number
9510         for is DEVEL_VERSION is set.
9511
9512         * lyxfunc.C (dispatch): put warning in INFO channel
9513
9514         * MenuBackend.C (expand): translate the name of floats
9515
9516         * FloatList.C (FloatList): mark the float names for translation
9517
9518         * converter.C (convert): use LibScriptSearch
9519
9520 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9521
9522         * MenuBackend.C (defaults): fix default menu (we might as well get
9523         rid of it...)
9524
9525 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9526
9527         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9528         directory.
9529
9530 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9531
9532         * lyxvc.C: reorder includes.
9533
9534 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
9535
9536         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9537           properly
9538
9539 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
9540
9541         * CutAndPaste.C: change layouts earlier on paste
9542           to avoid crashing when calling getFont()
9543
9544 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
9545
9546         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9547         irritating #error.
9548
9549 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9550
9551         * WorkArea.C: remove 'Pending' debug message.
9552
9553         * most files: ws cleanup
9554
9555         * buffer.[Ch]: ws changes
9556
9557         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9558
9559 2002-03-21  Juergen Vigna  <jug@sad.it>
9560
9561         * tabular.C (SetMultiColumn): collapse also the contents of the
9562         cells and set the last border right. Added a Buffer const * param.
9563
9564 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9565
9566         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9567         linking or not.
9568
9569 2002-03-19  Juergen Vigna  <jug@sad.it>
9570
9571         * text2.C (clearSelection): reset also xsel_cache.
9572
9573         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9574         where it needs to be called (John tells us to do so too :)
9575         (selectionLost): reset sel_cache.
9576
9577         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9578
9579 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9580
9581         * text2.C (setCursorIntern): put debuging code in INSETS channel
9582
9583 2002-03-19  André Pönitz <poenitz@gmx.net>
9584
9585         * lyxfunc.C: tiny whitespace change
9586
9587 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9588
9589         * ToolbarDefaults.C (init):
9590         * LyXAction.C (init):
9591         * commandtags.h:
9592         * BufferView_pimpl.C (Dispatch):
9593         * lyxfunc.C (dispatch): remove LFUN_DEPTH
9594
9595 2002-03-19  Allan Rae  <rae@lyx.org>
9596
9597         * exporter.C (Export): removeAutoInsets before doing anything else.
9598         While I've just introduced a dependency on BufferView this really is
9599         the best place to clean the buffer otherwise you need to cleanup in
9600         a dozen places before calling export or cleanup in a dozen functions
9601         that export calls.
9602
9603         * converter.C (runLaTeX):
9604         (scanLog): Better handling of removeAutoInsets and screen updates.
9605
9606         * lyxfunc.C (dispatch): small whitespace changes
9607
9608 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9609
9610         * WorkArea.C (C_WorkAreaEvent): return a value.
9611         (event_cb): return 1 if we handled the event, 0 otherwise.
9612
9613         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9614
9615 2002-03-18  Juergen Vigna  <jug@sad.it>
9616
9617         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9618         (GetAdditionalWidth): ditto.
9619         (RightLine): ditto.
9620         (LeftLine): ditto.
9621
9622         * BufferView2.C (copy): use getLyXText() so that we do it inside an
9623         inset if we're there actually (probably not used right now but this
9624         is the direction to go for unifying code).
9625         (paste): disable code to clear the selection.
9626
9627         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9628         inside an InsetText and move the check further up as it is in the
9629         wrong place.
9630
9631         * text2.C (pasteSelection): set a selection over the pasted text.
9632
9633 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
9634
9635         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9636         and libgraphics to build on Cygwin.
9637
9638 2002-03-15  Juergen Vigna  <jug@sad.it>
9639
9640         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9641         inserting an Inset into the paragraph. I know this is not the best
9642         fix but we already use current_view in CutAndPaste so we will remove
9643         all of it's using at the same time.
9644
9645         * buffer.C (sgmlError): deactivated function till it is rewritten in
9646         the right mode, now it can create problems.
9647
9648         * paragraph.C (isLineSeparator): check if getInset returns != 0,
9649         before accessing it.
9650
9651 2002-03-14  Juergen Vigna  <jug@sad.it>
9652
9653         * undo_funcs.C (textHandleUndo): do the right thing when updating
9654         the inset after the undo/redo.
9655
9656         * text2.C (setCursor): just some testcode for #44 not ready yet.
9657
9658         * undo_funcs.C (textHandleUndo): set the next() and previous()
9659         pointers of the paragraph to 0 before deleting otherwise we have
9660         problems with the Paragraph::[destructor].
9661
9662         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9663         on a paragraph insertion.
9664
9665 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9666
9667         * buffer.C (asciiParagraph): use += operator for char append to
9668         string.
9669
9670         * paragraph.C (getFontSettings): compare >= not just >
9671         (highestFontInRange): ditto
9672         (setFont): ditto
9673
9674 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9675
9676         * paragraph.C: change several algorithm to be more appripriate for
9677         the problem domain. This is lookip in FontList and in the InsetList.
9678
9679 2002-03-13  André Pönitz <poenitz@gmx.net>
9680
9681         * commandtags.h:
9682         * LyXAction.C: remove unused LFUN_MATH_MACROARG
9683
9684 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
9685
9686         * commandtags.h:
9687         * LyXAction.C:
9688         * lyxfunc.C:
9689         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9690
9691 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9692
9693         * Painter.C (display): anon helper function, adjust code for this
9694         change.
9695         (pixmap): remove function.
9696
9697         * Painter.h: remove private display variable.
9698
9699         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9700
9701 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
9702
9703         * WorkArea.[Ch]: remove figinset_canvas cruft.
9704
9705 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9706
9707         * lyxtextclass.C (operator): add one item cache optimization.
9708
9709         * bufferlist.h: doxy changes
9710
9711         * bufferlist.C: ws changes
9712
9713         * DepTable.[Ch] (ext_exist): place const in the right spot.
9714
9715         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9716         call resizeInsets.
9717         (workAreaExpose): call resizeInsets when the with BufferView changes.
9718         (Dispatch): adjust for protectedBlank removal
9719         (specialChar): call updateInset if the insert went ok.
9720
9721         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9722         specialChar instead.
9723
9724         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9725
9726         * BufferView.h: doxy change
9727
9728         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9729
9730         * lyxtextclass.C (operator[]): remove non-const version
9731         (defaultLayout): remove non-const version
9732
9733 2002-03-12  Juergen Vigna  <jug@sad.it>
9734
9735         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9736         did resize the LyXText too.
9737
9738         * buffer.C (readLyXformat2): set layout information on newly allocated
9739         paragraphs.
9740
9741         * tabular.C (OldFormatRead): set layout information on the paragraph.
9742
9743 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9744
9745         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9746
9747 2002-03-11  Juergen Vigna  <jug@sad.it>
9748
9749         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9750         plainly wrong.
9751         (resizeCurrentBuffer): force also the insets to resize themselfes.
9752         (moveCursorUpdate): fixed up for InsetText.
9753
9754 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
9755
9756         * commandtags.h:
9757         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9758         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9759         value of Dialogs::tooltipsEnabled().
9760         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9761
9762 2002-03-08  Juergen Vigna  <jug@sad.it>
9763
9764         * BufferView_pimpl.C (updateInset): update inset inside inset also
9765         if it isn't inside theLockingInset().
9766
9767 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9768
9769         * buffer.C (asciiParagraph): redo some of the word and line length
9770         handling.
9771         (getLists): look for Caption instead of caption.
9772
9773 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9774
9775         * buffer.C (Buffer): initialize niceFile to true
9776         (makeLaTeXFile):
9777         (makeLinuxDocFile):
9778         (makeDocBookFile): make sure niceFile is true on exit
9779
9780 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9781
9782         * buffer.C (makeLaTeXFile): escape ~ in \input@path
9783
9784 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
9785
9786         * LyXSendto.C: remove.
9787         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9788         * lyx_gui.C: remove now-redundant comment.
9789         * ColorHandler.h: remove forward declaration of class WorkArea.
9790         * lyxfunc.C: remove #include "WorkArea.h".
9791
9792 2002-03-07  Juergen Vigna  <jug@sad.it>
9793
9794         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9795         got moved away with the DEPM and also set the inset_owner always
9796         right which before could have been omitted.
9797
9798 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9799
9800         * buffer.C (parseSingleLyXformat2Token): use default layout is the
9801         wanted layout is not found.
9802
9803 2002-03-07  Juergen Vigna  <jug@sad.it>
9804
9805         * CutAndPaste.C (cutSelection): another layout settings forgotten.
9806
9807 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9808
9809         * paragraph.C (breakParagraph): use default layout not layout of
9810         prev paragraph.
9811         (Paragraph): clear ParagraphParameters.
9812
9813 2002-03-06  Juergen Vigna  <jug@sad.it>
9814
9815         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9816         otherwise it would not be a valid lenght. Fixed a special case in
9817         the minipage compatibility read where we end the document with a
9818         minipage.
9819
9820         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9821         was set as it could be 0 for InsetTexts first entry.
9822
9823 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9824
9825         * paragraph.C (writeFile): if layout is empty write out
9826         defaultLayoutName().
9827
9828         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9829         file without named layout we set layout to defaultLayoutName().
9830
9831 2002-03-06  Juergen Vigna  <jug@sad.it>
9832
9833         * CutAndPaste.C (copySelection): set layout for new paragraph.
9834
9835         * text.C (prepareToPrint): leave ERT inset left aligned
9836         (leftMargin): don't indent paragraphs inside ERT insets
9837
9838 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9839
9840         * paragraph.C (breakParagraph): dont call clear do the work manually
9841
9842         * paragraph.[Ch] (clear): remove function
9843
9844 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9845
9846         * paragraph.C (Paragraph): dont call clear, the work has already
9847         been done.
9848
9849         * lyxtextclass.C (operator): assert if n is empty
9850
9851         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9852         work manually instead.
9853
9854 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9855
9856         * BufferView_pimpl.C: protect selectionLost against text == 0
9857
9858 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9859
9860         * text.C (breakParagraph): fix a setting layout to '0' problem.
9861
9862 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9863
9864         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9865         final location of file, for the included files, and graphics.
9866
9867 2002-03-05  Juergen Vigna  <jug@sad.it>
9868
9869         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9870
9871 2002-03-04  Juergen Vigna  <jug@sad.it>
9872
9873         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9874
9875         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9876         last column of multicolumn cells.
9877         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9878
9879 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9880
9881         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9882         file if it doesn't go to a temporary file.
9883
9884         * buffer.C (sgmlOpenTag):
9885         (sgmlCloseTag):  remove extra newline insertion.
9886
9887 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9888
9889         * text.C (getRowNearY): comment out debug msg
9890
9891 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9892
9893         * text2.C: first -> first_y
9894
9895         * text.C (getRowNearY): add some attemts at a possible
9896         optimization, not working.
9897
9898         * tabular.[Ch]: add BufferParams to several function so that newly
9899         created paragraph can be initialized to he default layotu for the
9900         buffers textclass.
9901
9902         * tabular-old.C (ReadOld): add buf->params to call of Init
9903
9904         * screen.C: rename text->first to text->first_y
9905
9906         * paragraph.C (breakParagraph): always set layout in the broken
9907         paragraph
9908
9909         * lyxtextclass.C (Read): remove lowercase
9910         (hasLayout): ditto
9911         (operator): ditto
9912         (delete_layout): ditto
9913
9914         * lyxtext.h: rename first -> first_y
9915
9916         * lyxlayout.C (Read): remove lowercase
9917         (name): ditto
9918         (setName): ditto
9919         (obsoleted_by): ditto
9920
9921         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9922
9923         * buffer.C (insertErtContents): add params are to InsetERT
9924         (parseSingleLyXformat2Token): add code to check if a paragraphs
9925         layout really exist.
9926         (parseSingleLyXformat2Token): add params to several inset
9927         constructors
9928         (asciiParagraph): remove lowercase, do the layout comparisons with
9929         no_case
9930
9931         * BufferView_pimpl.C (cursorNext): first -> first_y
9932         (resizeCurrentBuffer): first -> first_y
9933         (updateScrollbar): first -> first_y
9934         (scrollCB): first -> first_y
9935         (workAreaMotionNotify): first -> first_y
9936         (workAreaButtonPress): first -> first_y
9937         (checkInsetHit): first -> first_y
9938         (cursorPrevious): first -> first_y
9939         (cursorNext): first -> first_y
9940         (Dispatch): add buffer_->params to severl inset contructors
9941
9942 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9943
9944         * lyxlayout.C (Read): remove some debug info that I forgot.
9945
9946         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9947         clean up the code slightly.
9948         (makeLinuxDocFile): ditto
9949         (makeDocBookFile): ditto
9950
9951         * text2.C: layout as string
9952
9953         * text.C: layout as string
9954
9955         * paragraph_pimpl.C: layout as string
9956
9957         * paragraph.[Ch]: layout as string
9958
9959         * lyxtextclasslist.[Ch]: layout as string
9960
9961         * lyxtextclass.[Ch]: layout as string
9962
9963         * lyxtext.h: layout as string
9964
9965         * lyxlayout.[Ch]: layout as string
9966
9967         * lyx_cb.C: layout as string
9968
9969         * bufferview_funcs.C: layout as string
9970
9971         * bufferparams.C: layout as string
9972
9973         * buffer.C: layout as string
9974
9975         * LyXView.[Ch]: layout as string
9976
9977         * LaTeXFeatures.[Ch]: layout as string
9978
9979         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9980
9981         * BufferView_pimpl.C: change current_layout to string, remove
9982         lyx::layout_type.
9983         (Dispatch):
9984         (smartQuote):
9985         (insertInset):
9986         (workAreaButtonRelease): layout as string
9987
9988         * BufferView2.C (unlockInset): adjust
9989
9990         * vspace.C (asLatexCommand): use an explict temp variable.
9991
9992 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9993
9994         * Makefile.am: use FRONTEND_*
9995
9996 2002-03-01  Juergen Vigna  <jug@sad.it>
9997
9998         * tabular.C (SetWidthOfMulticolCell): changed to something better
9999         I hope but still work in progress.
10000         (recalculateMulticolumnsOfColumn): renamed function from
10001         recalculateMulticolCells as it is more appropriate now.
10002         (SetWidthOfCell): calculate multicols better.
10003
10004 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10005
10006         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10007
10008         * lyxfunc.C (processKeySym): print sequence also if it is
10009         `deleted' (complete)
10010
10011         * kbsequence.C (print): print sequence even if it is deleted
10012         (complete would be a better word, actually).
10013
10014         * lyxfunc.C (dispatch): print complete options after a prefix key
10015
10016         * vspace.C (asLatexCommand): rewrite in a slightly different form.
10017
10018 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
10019
10020         * text2.C (setCharFont): eliminate setCharFont code duplication.
10021
10022 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10023
10024         * BufferView_pimpl.C (Dispatch): remove bogus handling of
10025         LFUN_TABULAR_FEATURE (bug #177)
10026
10027 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
10028
10029         * Makefile.am: remove figure.h
10030
10031 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
10032
10033         * Bufferview_pimpl.C:
10034         * CutAndPasteC:
10035         * LaTeX.C:
10036         * LyXSendto.C:
10037         * buffer.C:
10038         * bufferlist.C:
10039         * converter.C:
10040         * language.C:
10041         * lyxfunc.C:
10042         * lyxvc.C:
10043         * paragraph.C:
10044         * text.C:
10045         * text2.C: remove #include "lyx_gui_misc.h".
10046
10047         * LaTeX.C: added #include <cstdio>
10048
10049 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10050
10051         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10052         that the paragraph following this one can have.
10053
10054         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10055
10056         * vspace.C (asLatexCommand): fix bogus gcc warning
10057
10058         * Makefile.am (lyx_SOURCES): remove vms_defines.h
10059
10060 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
10061
10062         * text2.C (setLayout): get rid of redundant code
10063
10064 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
10065
10066         * text2.C (incDepth): make sure depth cannot be increased beyond
10067         reasonable values.
10068
10069 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
10070
10071         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10072         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10073
10074         * PainterBase.h (image):
10075         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10076         a LyXImage const *.
10077
10078 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10079
10080         * BufferView.C:
10081         * BufferView.h:
10082         * BufferView_pimpl.C:
10083         * BufferView_pimpl.h:
10084         * LaTeXFeatures.C:
10085         * LyXAction.C:
10086         * LyXView.C:
10087         * Makefile.am:
10088         * UpdateList.h:
10089         * UpdateList.C:
10090         * buffer.C:
10091         * figure.h:
10092         * figureForm.C:
10093         * figureForm.h:
10094         * figure_form.C:
10095         * figure_form.h:
10096         * lyx_cb.C:
10097         * lyx_gui.C:
10098         * lyx_gui_misc.C:
10099         * lyxfunc.C:
10100         * sp_base.h:
10101         * sp_ispell.h:
10102         * sp_pspell.h:
10103         * sp_spell.C: remove fig inset, and the crap house of
10104           cards that follows it
10105
10106 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10107
10108         * Makefile.am:
10109         * lyxserver.C:
10110         * os2_defines.h:
10111         * os2_errortable.h:
10112         * nt_defines.h: move .h into support/
10113
10114         * vms_defines.h: remove
10115
10116         * WorkArea.C: add space in debug output
10117
10118         * text2.C:
10119         * paragraph.C:
10120         * buffer.C: add WITH_WARNINGS
10121
10122         * vc-backend.h:
10123         * vc-backend.C:
10124         * bufferlist.C: s/retrive/retrieve/, add docs
10125
10126         * vspace.h:
10127         * vspace.C:
10128         * kbmap.h:
10129         * lyxlength.h:
10130         * lyxgluelength.h:
10131         * length_common.h:
10132         * chset.h:
10133         * chset.C: add docs
10134
10135         * lyxgui.C: add ID to X error handler
10136
10137         * lyxtestclass.c: fix typo
10138
10139 2002-02-26  Juergen Vigna  <jug@sad.it>
10140
10141         * tabular_funcs.C (write_attribute): changed so that some default
10142         attributes are not written at all.
10143         (getTokenValue): set default values before trying to read the
10144         value so we have the return value always set as default if we don't
10145         find the token we search for.
10146
10147         * tabular.C (Write): write bools as bools not as strings!
10148
10149 2002-02-22  Juergen Vigna  <jug@sad.it>
10150
10151         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10152         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10153
10154         * text.C (leftMargin): don't add an indent for paragraphs inside
10155         tabular cells (fix #208).
10156
10157 2002-02-21  José Matos  <jamatos@fep.up.pt>
10158
10159         * tabular.C (docBook): fixed support for long tables.
10160
10161 2002-02-20  Juergen Vigna  <jug@sad.it>
10162
10163         * text2.C (getFont): get the drawing font of the Inset if this
10164         paragraph is inside an inset (only important for InsetERT for now).
10165
10166         * buffer.C (insertErtContents): use new lanugage params in ERT
10167         constructor.
10168
10169         * CutAndPaste.C: commenting out seemingly uneeded code.
10170
10171 2002-02-19  Allan Rae  <rae@lyx.org>
10172
10173         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10174         Iterators might be simple to use but they also get invalidated.
10175         (removeAutoInsets): renamed saved cursor tracking variables and added
10176         some comments to clarify what everything does.
10177
10178 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
10179
10180         * Chktex.C:
10181         * LaTeX.C:
10182         * LyXSendto.C:
10183         * converter.C:
10184         * lyx_cb.C:
10185         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10186         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10187
10188         * lyxfunc.C:
10189         * vc-backend.h: remove #include "support/syscall.h"
10190
10191         * LaTeX.C:
10192         * LyXSendto.C:
10193         * converter.C: rearrange #includes in Lars' approved fashion.
10194
10195         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10196         forward declare class Timeout in the header file.
10197
10198         * XFormsView.C: changes due to the above.
10199
10200         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10201         similar to LyXView.
10202
10203         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10204         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10205
10206 2002-02-18  José Matos  <jamatos@fep.up.pt>
10207
10208         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10209         insets contents.
10210
10211 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
10212
10213         * a lot of small ws changes
10214         * add a lot of using std::XXX
10215         * use std construcs some places where approp.
10216         * use some exisint stuff from lyxfunctional where approp.
10217         * Make file changes to use partial linking (lets test this now...)
10218
10219 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10220
10221         * Chktex.C:
10222         * buffer.C:
10223         remove #include "support/syscontr.h" as it's redundant. Always has been.
10224
10225         * Chktex.C:
10226         * LaTeX.C:
10227         * LyXSendto.C:
10228         * converter.C:
10229         * lyx_cb.C:
10230         * vc-backend.C:
10231         change Systemcalls::System to Systemcalls::Wait and
10232         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10233         No change of functionality, just reflects the stripped down Systemcalls
10234         class.
10235
10236 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10237
10238         * debug.[Ch]: add a GRAPHICS type to the enum.
10239
10240 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10241
10242         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10243
10244         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10245         there is an inset.
10246
10247 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10248
10249         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10250         match the changes below.
10251
10252         * text2.C (toggleInset): if there is not editable inset at cursor
10253         position, try to see if cursor is _inside_ a collapsable inset
10254         and close it.
10255
10256 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10257
10258         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10259         document menu has a nice checkbox
10260
10261 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10262
10263         * lyxlength.C (asLatexString): change PW to output as percent of
10264         \textwidth.
10265
10266         * lengthcommon.C: change '%' to 't%'
10267
10268         * lyxfunc.C (dispatch): a few comments from Martin
10269
10270 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
10271
10272         * WorkArea.h:
10273         * WorkArea.C:
10274         * BufferView_pimpl.h:
10275         * BufferView_pimpl.C: clear our selection when X tells us we've lost
10276           the X selection.
10277
10278 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10279
10280         * vspace.C (inPixels): fix compiler warning
10281
10282 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10283
10284         * lyxfunc.C (getStatus): fix status message for disabled commands.
10285
10286 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
10287
10288         * BufferView_pimpl.C: fix crash on close buffer
10289         during selection (#227)
10290
10291 2002-01-27  Herbert Voss  <voss@lyx.org>
10292
10293         * buffer.C: link old Figure to new graphic inset
10294
10295 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
10296
10297         * FontLoader.C (getFontinfo): Change the latex font names in order
10298         to match the names of type1inst.
10299
10300 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10301
10302         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10303
10304         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10305         (extchanged): ditto
10306         (ext_exist): ditto
10307         (remove_files_with_extension): ditto
10308         (remove_file): ditto
10309         (write): ditto
10310
10311         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10312         document is smaller than the work area height. Do not initialize
10313         static variables to 0.
10314
10315 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10316
10317         * lyx_gui.C (init): give the toolbar tooltips a normal font.
10318
10319         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10320         LFUN_LAYOUT_PARAGRAPHS.
10321
10322         * tabular.C (GetCellFromInset): new method. Finds an inset in a
10323         tabular. It is possible to provide a possible cell, which will
10324         typically be the actcell from the corresponding insettabular
10325
10326         * lyxfunc.C (getStatus): small cleanup; disable
10327         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10328         true
10329
10330 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10331
10332         * tabular.C (Validate): remove broken optimization (fixes bug #201)
10333
10334         * paragraph.C (startTeXParParams):
10335         (endTeXParParams): new methods. The LaTeX code to
10336         start/end paragraph formatting
10337         (simpleTeXOnePar): call startTeXParParams also when paragraph is
10338         empty (fixes bug #200)
10339
10340         * vspace.C (inPixels): adapt to the change below
10341         (inPixels): [later] more cleanups (remove unused variables)
10342
10343         * lyxlength.C (inPixels): change to use a width and a height as
10344         parameter.
10345
10346 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10347
10348         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10349         Replaced with \paperwidth
10350
10351         * DepTable.C (insert): add std:: qualifier
10352
10353 2002-01-18  Allan Rae  <rae@lyx.org>
10354
10355         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
10356         updated also?
10357
10358         * text.C (drawInset): Turned out I didn't know enough about how
10359         rebreaking worked.  This fixes most of the redraw problems.  I see
10360         an occasional cursor trail when a line is broken now and the cursor
10361         placement can seem out by a few pixels also after a rebreak.
10362
10363 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10364
10365         * buffer.C (parseSingleLyXformat2Token): update because minipage
10366         width is now a LyXLength
10367
10368         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10369
10370         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10371         math insets
10372
10373 2002-01-17  Juergen Vigna  <jug@sad.it>
10374
10375         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10376
10377         * BufferView2.C (lockInset): call edit() so that theLockingInset()
10378         is set correctly and the inset is updated correctly.
10379
10380 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10381
10382         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10383         the beginning of the loop.
10384
10385 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
10386
10387         * lyxrc.C: improve help for use_scalable_fonts
10388
10389 2002-01-17  Allan Rae  <rae@lyx.org>
10390
10391         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10392
10393 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10394
10395         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10396         make sure to set their inset_owner to the right value (bug #171)
10397
10398 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
10399
10400         * DepTable.h
10401         * DepTable.C: Implement mtime checking to reduce time spent doing
10402         CRCs.
10403
10404 2002-01-16  Juergen Vigna  <jug@sad.it>
10405
10406         * tabular.C (GetAdditionalHeight): one of error fixed.
10407
10408         * lyxrc.C (output): small fix in writing use_pspell.
10409
10410 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
10411
10412         * sp_base.h: #include LString.h
10413
10414 2002-01-16  Allan Rae  <rae@lyx.org>
10415
10416         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
10417         Can someone check this please?
10418
10419         * text.C (drawInset): It was possible that p.row would be removed by
10420         breakAgainOneRow upsetting a few other settings.  There may be another
10421         small tweak possible by setting need_break_row = 0 when p.row has been
10422         removed but I don't know enough about the logic here.
10423
10424 2002-01-15  Allan Rae  <rae@lyx.org>
10425
10426         * text.C (insertChar): removed conditional truism.
10427
10428         * BufferView2.C (removeAutoInsets): More tweaks.
10429         cur_par_prev could be a stray pointer.  Check for trailing empty line
10430         in case last line was cur_par and only had an error inset on it.
10431
10432 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10433
10434         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10435         absolute
10436
10437         * vc-backend.C (most methods):
10438         * exporter.C (Export):
10439         * converter.C (convert):
10440         (runLaTeX):
10441         * LyXSendto.C (SendtoApplyCB):
10442         * lyxfunc.C (dispatch):
10443         (menuNew):
10444         (open):
10445         (doImport):
10446         * lyx_cb.C (AutoSave):
10447         (InsertAsciiFile):
10448         * BufferView_pimpl.C (MenuInsertLyXFile):
10449         * buffer.C (runChktex): use Buffer::filePath().
10450
10451         * buffer.h: rename filename to filename_; rename filepath to
10452         filepath_ and make it private
10453         (filePath): new method
10454
10455         * buffer.C (writeFile): use fileName()
10456         (getLatexName):
10457
10458         * lyx_main.C (init): fix starting  of LyX when the binary is a
10459         link from so,ewhere else.
10460
10461         * minibuffer.C: include <cctype> for isprint
10462
10463 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10464
10465         * buffer.C (parseSingleLyXformat2Token): changes associated with the
10466         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10467         name clash with InsetCollapsable's width function.
10468
10469 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10470
10471         * lastfiles.C: include <iterator>
10472
10473 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10474
10475         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10476         std::count.
10477
10478         * buffer.C (makeLaTeXFile): ditto.
10479         Also make loop operation more transparent.
10480
10481 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10482
10483         * ToolbarDefaults.C: remove trailing comma closing namespace.
10484
10485         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10486
10487         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10488         as in WorkArea.
10489
10490         * trans.C (Load): comment out unused variable, allowed.
10491
10492 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10493
10494         * minibuffer.[Ch] (append_char): new method to recieve input from the
10495         drop-down completion browser. If a key was pressed, then recieve this
10496         char and append it to the existing string.
10497         (peek_event): modify the positioning data passed to the completion
10498         browser so that it can be placed above the minibuffer rather than below.
10499 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10500
10501         * LyXAction.C (init): alloe error-next for readonly documents.
10502
10503         * BufferView2.C (ChangeRefsIfUnique): use standard version of
10504         count.
10505
10506 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10507
10508         * bufferlist.C (readFile): create the buffer _after_ checking that
10509         the file exists.
10510
10511         * lyxfunc.C (verboseDispatch): fix handling of arguments
10512
10513         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10514
10515         * lyxrc.C: use string::erase() instead of initializing to "".
10516
10517
10518 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10519
10520         * BufferView_pimpl.h:
10521         * BufferView_pimpl.C:
10522         * WorkArea.h:
10523         * WorkArea.C:
10524         * text2.C: tell X when we have made a selection for copying
10525
10526 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10527
10528         * BufferView_pimpl.C (MenuInsertLyXFile):
10529         * lyxfunc.C (menuNew):
10530         (open):
10531         (doImport): add shortcuts to directory buttons
10532
10533         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10534         open a float)
10535
10536         * lyxfunc.C (setStatusMessage):
10537         (getStatusMessage): new methods
10538         (getStatus):use setStatusMessage instead of setErrorMessage
10539         (dispatch): when function is disabled, set error message here
10540         [instead of in getStatus previously]
10541
10542         * BufferView_pimpl.C (workAreaButtonRelease): update
10543         toolbar/menubar here too.
10544
10545 2002-01-13  Allan Rae  <rae@lyx.org>
10546
10547         * BufferView2.C (removeAutoInsets): finished off earlier fix.
10548         Now seems indestructible.  Remaining task is to audit all other
10549         code affected by deleteEmptyParagraphMechanism.  One small quirk
10550         left is that an empty document with an error in the preamble can
10551         be made to report an error but no error box appears.  I don't know
10552         where it goes.
10553         (removeAutoInsets): Improved comments.
10554
10555 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
10556
10557         * Thesaurus.h:
10558         * Thesaurus.C: update for Aiksaurus 0.14
10559
10560 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10561
10562         * text2.C (firstParagraph): removed member function, all uses
10563         replaces with ownerParagraph
10564         (redoParagraphs): here
10565         (updateInset): here
10566         (toggleAppendix): here
10567         * BufferView2.C (insertErrors): here
10568         (setCursorFromRow): here
10569
10570 2002-01-13  Allan Rae  <rae@lyx.org>
10571
10572         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10573         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10574         There is still a way to segfault this although you may have to do this
10575         multiple times: Have an InsetERT with an unknown command in it.
10576         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10577         <down-arrow>, <Enter> again, View->DVI, BANG!
10578
10579         * text2.C (setCursor):
10580         (deleteEmptyParagraphMechanism):
10581         * lyxtext.h (setCursor):
10582         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10583         Making use of the return value may help fix other bugs.
10584
10585 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10586
10587         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10588
10589         * LyXView.C (updateMenubar): call MenuBar::update here
10590         (updateToolbar): but not here
10591         (showState): do not update toolbar/menubar
10592
10593         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10594         should need to care about that.
10595
10596         * lyxfunc.C (verboseDispatch): simplify a bit
10597         (getStatus): have a version which takes a pseudoaction, and
10598         another which requires a (kb_action,string).
10599
10600         * LyXAction.C (retrieveActionArg): make it work also when action
10601         is not a pseudo-action.
10602         (getActionName): simplify a bit
10603         (helpText):
10604
10605 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10606
10607         * lyxfunc.C (verboseDispatch): new families of methods with
10608         several ways to specify a command and a bool to indicate whether
10609         the command name and shortcut should be displayed in minibuffer
10610         (eventually, we could extend that to a finer bitmask like
10611         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10612         (dispatch): the pristine dispatch command which just, well,
10613         dispatchs! Note it still sets its result to minibuffer; I'm not
10614         sure we want that.
10615
10616         * lyxfunc.h: remove setHintMessage
10617
10618         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10619
10620 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10621
10622         * BufferView_pimpl.C (specialChar): delete new inset if we have
10623         not been able to insert it.
10624
10625         * kbmap.C: revert to using int instead of kb_action, since all we
10626         are dealing with is pseudo-actions.
10627
10628         * LyXAction.C (searchActionArg): change to return int instead of
10629         kb_action, since the result is a pseudoaction.
10630
10631 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
10632
10633         * buffer.C (insertErtContents): Fix (partially) the font bug.
10634
10635 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10636
10637         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10638         as the other one is broken on my machine!
10639
10640 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
10641
10642         * commandtags.h:
10643         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10644
10645 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
10646
10647         * lyxrc.[Ch]: change names and descriptions of popup font variables to
10648         reflect their actual use. Provide compatibility code for older lyxrc
10649         files.
10650
10651         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10652         FL_NORMAL_STYLE.
10653         change names of popup font variables in line with the changes to lyxrc.C
10654
10655 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10656
10657         * buffer.C (asciiParagraph): avoid outputing a word twice after
10658         an inset.
10659
10660         * lyxrc.C (getDescription): document that document_path and
10661         template_path can be empty.
10662
10663 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10664
10665         * LaTeXFeatures.C (getMacros):
10666         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10667
10668         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10669
10670         * LaTeXFeatures.C (useFloat): require "float" here instead of in
10671         getPackages.
10672         (getPackages): rename feature "floats" to "float". Use an array to
10673         iterate over 'simple' features (i.e. just a \usepackage). Add
10674         handling of "amsmath" (renamed from "amsstyle").
10675
10676 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
10677
10678         * LaTeXFeatures.C (require): Prevent duplicate entries in the
10679         features list.
10680
10681 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
10682
10683         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10684         FuncStaus::FuncStatus & FuncStaus::some_method().
10685
10686 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
10687
10688         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10689         of the func_satus stuff. Edited and massaged in various ways by
10690         JMarc.
10691
10692         * lyxfunc.C (getStatus): use FuncStatus
10693
10694 2002-01-08  Juergen Vigna  <jug@sad.it>
10695
10696         * text.C (nextBreakPoint): use function Inset::isChar().
10697
10698         * paragraph.C (TeXOnePar): use function
10699         Inset::forceDefaultParagraphs.
10700
10701         * buffer.C (latexParagraphs): use function
10702         Inset::forceDefaultParagraphs.
10703
10704 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10705
10706         * lyx_gui.C (init): set the style of the menu popups to
10707         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10708
10709 2002-01-07  Juergen Vigna  <jug@sad.it>
10710
10711         * text.C (setHeightOfRow): small fix
10712         (prepareToPrint): don't look at alignment if we don't have the place
10713         for doing it.
10714
10715 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10716
10717         * box.C: New file. Move the Box methods and functions out of box.h,
10718         following Lars' suggestion.
10719
10720 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10721
10722         * box.h: #include "support/LOstream.h", needed for inlined function.
10723
10724         * lyxtextclass.C:
10725         * lyxtextclasslist.C: added some using std declarations.
10726
10727 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
10728
10729         * box.h: make signed dimensions to allow insets wider than
10730           the screen (bug #162)
10731
10732         * BufferView_pimpl.C: add some insetHit debug
10733
10734 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
10735
10736         * vc-backend.C: add FIXME
10737
10738 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10739
10740         * lyxfunc.C (getStatus): enable code for showing math font status
10741         in toolbar/menu.
10742
10743 2002-01-07  Juergen Vigna  <jug@sad.it>
10744
10745         * text.C (nextBreakPoint): removed debug output not needed anymore.
10746
10747 2002-01-06  Juergen Vigna  <jug@sad.it>
10748
10749         * text.C (nextBreakPoint): fixed up this function we had this bug
10750         since ever but now hopefully we break row better.
10751         (insertChar): we have to check if an inset is the next char as it
10752         could now happen that a large inset is causing a break.
10753
10754 2002-01-05  Juergen Vigna  <jug@sad.it>
10755
10756         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10757         if it doesn't like to be drawed.
10758
10759 2002-01-04  Juergen Vigna  <jug@sad.it>
10760
10761         * BufferView2.C (lockInset): forgot to set a cursor.
10762
10763         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10764
10765 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
10766
10767         * FormMathsPanel.C:
10768         * FormMathsPanel.h
10769         * MathsSymbols.C:
10770         * form_maths_panel.C:
10771         * form_maths_panel.h:
10772         * form_maths_panel.fd: implemented sub- and super- buttons in math
10773         panel.
10774
10775         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10776         (or ^ space) to be used as in TeX (req'd by André).
10777
10778         * lyxfunc.C: Allow ^ and _ again to be used both as
10779         super/subscript (mathed) and as themselves (in text).
10780
10781 2002-01-03  Allan Rae  <rae@lyx.org>
10782
10783         * LyXView.C (updateWindowTitle): Setup a short icon title of either
10784         "LyX" or the filename of the current buffer if it has one.  This is a
10785         modified form of John Levon's patch.
10786
10787         * XFormsView.C (setWindowTitle): also set icon title.
10788
10789         * LyXView.h (setWindowTitle): signature changed.
10790         * XFormsView.h (setWindowTitle): ditto.
10791
10792 2002-01-02  Juergen Vigna  <jug@sad.it>
10793
10794         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10795
10796 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10797
10798         * screen.C (topCursorVisible): introduce a temp var for
10799         text->cursor.row(), handle the case where this row is null. (kindo
10800         hachish)
10801
10802         * text2.C (setCursor): add a couple of asserts.
10803
10804         * paragraph.h (inset_iterator): add -> operator
10805
10806         * paragraph.[Ch] (autoDeleteInsets): remove member function
10807
10808         * BufferView2.C (removeAutoInsets): rewrite to handle the old
10809         cursor pos correctly and handle inset deletion by itself.
10810         (insertErrors): move iterator declaration out of for expression
10811
10812         * lyxtextclass.C: add <algorithm>
10813
10814         * Makefile.am: added the new files to sources, removed layout.C
10815
10816         * layout.C: removed file
10817
10818         * layout.h: remove LYX_DUMMY_LAYOUT
10819
10820         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10821         layout.
10822
10823         * lyxlayout.[Ch]:
10824         * lyxtextclass.[Ch]:
10825         * lyxtextclasslist.[Ch]: new files
10826
10827         * include order changes to a lot of files, also changes because of
10828         the six new files.
10829
10830 2001-12-27  Juergen Vigna  <jug@sad.it>
10831
10832         * buffer.C (asciiParagraph): more fixes.
10833
10834         * tabular.C (ascii): make ascii export support export of only the
10835         data separated by a column-delimiter.
10836         (ascii): better support for ascii export.
10837
10838         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10839
10840 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10841
10842         * tabular_funcs.C: use a "using std::getline" instead of the
10843         previous fix from Angus (necessary for cxx + lyxstring)
10844
10845 2001-12-24  Juergen Vigna  <jug@sad.it>
10846
10847         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10848
10849         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10850         problems. First check a minipage also if we have some ert-contents
10851         (not only on par->size(), second set the right depth of the paragraph
10852         on the relink to the root-paragraph-list!
10853
10854         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10855         which then did not anymore update the main paragraphs on undo/redo!
10856
10857 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10858
10859         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10860         code. Support all font-changing funcs (even those which are not in
10861         menu currently). Support for reporting font settings in
10862         mathed (disabled until Andre provides a function on mathed's side).
10863
10864         * func_status.h (toggle): small helper function to set toggle
10865         state on a flag.
10866
10867 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10868
10869         * tabular_funcs.C: getline -> std::getline
10870
10871 2001-12-21  Juergen Vigna  <jug@sad.it>
10872
10873         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10874         accessed and could be 0 (I couldn't generate this but it seems
10875         Michael could!).
10876
10877 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10878
10879         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10880         * tabular_funcs.h: here and include iosfwd
10881
10882 2001-12-20  Juergen Vigna  <jug@sad.it>
10883
10884         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10885         inside inset but undo_par was.
10886
10887 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10888
10889         * Thesaurus.C: always include <config.h> in sources.
10890
10891         * Painter.h:
10892         * lyxlookup.h:
10893         * box.h: do not include <config.h> in header files
10894
10895         * text.C (paintLastRow): remove unused variable
10896
10897         * text.C (transformChar):
10898         (insertChar):
10899         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10900
10901         * Painter.C (text):
10902         * font.C (width): rewrite to use uppercase() instead of
10903         islower/toupper.
10904
10905         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10906
10907 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10908
10909         * lyxfind.C: clean up of find failure position change
10910
10911 2001-12-20  Juergen Vigna  <jug@sad.it>
10912
10913         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10914
10915         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10916         (TeXRow): added to LaTeX a single tabular row.
10917         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10918         (Latex): simplified and finally good LT-h/f support.
10919         (various_functions): just small adaptions for LT-h/f support.
10920
10921         * tabular_funcs.[hC]: added and moved here all not classfunctions
10922         of LyXTabular.
10923
10924 2001-12-19  Juergen Vigna  <jug@sad.it>
10925
10926         * tabular.[Ch]: better support for longtabular options (not finished
10927         yet!)
10928
10929 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10930
10931         * text.C (paintLastRow): use the label font instead of the font of
10932         the last character to compute the size of *_BOX. This makes more
10933         sense and avoids a crash with empty paragraphs.
10934         Use Painter::rectangle to draw EMPTY_BOX.
10935
10936 2001-12-19  Juergen Vigna  <jug@sad.it>
10937
10938         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10939         the paragraphs if the replaced paragraph is not the first one!
10940         Tried to delete not used paragraphs but does not work yet so for
10941         now it's inside #ifdef's and by default off!
10942
10943 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10944
10945         * MenuBackend.C: include "lyx_main.h" instead of declaring
10946         lastfiles (actually was declared as LastFiles* instead of a
10947         scoped_ptr).
10948
10949 2001-12-17  Juergen Vigna  <jug@sad.it>
10950
10951         * tabular.C (AppendColumn): applied John's fix
10952
10953 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10954
10955         * BufferView.h:
10956         * BufferView.C:
10957         * BufferView_pimpl.h:
10958         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10959
10960         * Makefile.am:
10961         * box.h: new start of class for above
10962
10963         * lyxfunc.C: ignore space-only minibuffer dispatches.
10964           Show the command name when it doesn't exist
10965
10966         * minibuffer.C: don't add empty lines to the history
10967
10968         * minibuffer.C: add a space on dropdown completion
10969
10970 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10971
10972         * text.C: fix line above/below drawing in insets
10973
10974 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10975
10976         * lyxlength.C (LyXLength): Initialize private variables.
10977
10978 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10979
10980         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10981         when inserting error insets.
10982
10983 2001-12-13  Juergen Vigna  <jug@sad.it>
10984
10985         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10986         actually sometimes the before-paragraph.
10987         (setUndo): don't clear the redostack if we're not actually undoing!
10988
10989 2001-12-06  Juergen Vigna  <jug@sad.it>
10990
10991         * undo_funcs.C (textHandleUndo): well after John's hint I got here
10992         and fixed redoing of main paragraph, so we can use it now ;)
10993
10994         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10995
10996 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10997
10998         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10999         Juergen's request
11000
11001 2001-12-13  André Pönitz <poenitz@gmx.net>
11002
11003         * undostack.[Ch]:
11004         * undo_func.C: minor cleanup
11005
11006 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11007
11008         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11009         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11010         font in urw-fonts package which is marked as -urw-fontspecific and
11011         does not work (incidentally, changing the encoding in the
11012         fonts.dir of this package to -adobe-fontspecific fixes the
11013         problem).
11014
11015         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11016         is a crash when undoing first paragraph (Juergen, please take a
11017         look). THis does not mean the undo fix is wrong, just that it
11018         uncovers problems.
11019
11020         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11021         the (Paragraph*) version when needed instead of duplicating the
11022         code.
11023
11024         * text.C (workWidth): use Inset::parOwner to find out where the
11025         inset has been inserted. This is a huge performance gain for large
11026         documents with lots of insets. If Inset::parOwner is not set, fall
11027         back on the brute force method
11028
11029         * paragraph_pimpl.C (insertInset):
11030         * paragraph.C (Paragraph):
11031         (cutIntoMinibuffer): set parOwner of insets when
11032         inserting/removing them
11033
11034         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11035
11036 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
11037
11038         * commandtags.h:
11039         * LyXAction.C:
11040         * lyx_main.C:
11041         * lyxfunc.C:
11042         * mathed/formulabase.C:
11043         * mathed/math_cursor.[Ch]:
11044         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11045
11046
11047 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11048
11049         * lyxlength.[Ch] (operator!=): new function
11050
11051 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11052
11053         * text.C (workWidth): use Inset::parOwner to find out where the
11054         inset has been inserted. This is a huge performance gain for large
11055         documents with lots of insets. If Inset::parOwner is not set, fall
11056         back on the brute force method
11057
11058         * paragraph_pimpl.C (insertInset):
11059         * paragraph.C (Paragraph):
11060         (cutIntoMinibuffer): set parOwner of insets when
11061         inserting/removing them
11062
11063         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11064
11065 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11066
11067         * tabular-old.C (getTokenValue):
11068         * tabular.C (getTokenValue):
11069         (write_attribute): new versions for LyXLength
11070         (everywhere): adjust the use of widths
11071
11072         * tabular.h: change the type of widths from string to LyXLength
11073
11074 2001-12-11  Ben Stanley <bds02@uow.edu.au>
11075
11076         * paragraph.C: fixed missing line number count when exporting
11077         Environments to LaTeX file
11078
11079         * buffer.C: added informational message for checking line numbers.
11080
11081 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11082
11083         * text2.C (deleteEmptyParagraphMechanism): if there is only one
11084         paragraph, do the 'double space' part, but not the 'empty
11085         paragraph' one.
11086
11087         * text.C (workWidth): small optimization
11088         (getLengthMarkerHeight): use minimal size for negative lengths.
11089
11090 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
11091
11092         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11093
11094         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11095
11096 2001-12-11  André Pönitz <poenitz@gmx.net>
11097
11098         * FontLoader.C:
11099         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11100
11101 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11102
11103         * text2.C: keep selection on a setFont()
11104
11105 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11106
11107         * lyx_cb.C: another bv->text misuse, from insert label
11108
11109 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11110
11111         * kbsequence.h:
11112         * kbsequence.C: re-instate nmodifier mask
11113
11114 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
11115
11116         * lyx_main.h: make lyxGUI private.
11117
11118 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11119
11120         * lyxfind.C: place the cursor correctly on failed search
11121
11122 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11123
11124         * text.C (getLengthMarkerHeight): for small heights, the arrows
11125         are not always on top/bottom of the text
11126         (drawLengthMarker): smaller arrows; take the left margin in
11127         account; draw also vfills.
11128         (paintFirstRow):
11129         (paintLastRow): remove special code for vfill and standard spaces,
11130         since everything is handled in drawLengthMarker now.
11131
11132 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11133
11134         * buffer.C (insertErtContents): try to handle font and language
11135         interaction a bit better.g
11136
11137         * ColorHandler.C (updateColor): change the hash to cover the whole
11138         LColor enum, ws cleanup
11139         (getGCLinepars): ditto
11140         (getGCLinepars): only lookup in the linecache once.
11141
11142 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
11143
11144         * iterators.C (operator++): Make the iterator more robust
11145
11146         * BufferView2.C (removeAutoInsets): Use paragraph iterators
11147         (John's patch)
11148         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11149
11150 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11151
11152         * lyxtext.h:
11153         * text.C: better added space drawing
11154
11155 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11156
11157         * LyXView.C:
11158         * BufferView2.C: fix layout combo update on inset unlock
11159
11160 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11161
11162         * Makefile.am: don't compile unused files
11163
11164 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11165
11166         * lyxfunc.C:
11167         * commandtags.h:
11168         * LyXAction.C: remove old LFUN_LAYOUTNO
11169
11170 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11171
11172         * paragraph_pimpl.h:
11173         * paragraph_pimpl.C: isTextAt() doesn't need font param
11174
11175 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11176
11177         * lyxlex.h:
11178         * lyxlex.C: little cleanup
11179
11180 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11181
11182         * BufferView_pimpl.C: fix insertAscii for insets
11183
11184 2001-12-05  Juergen Vigna  <jug@sad.it>
11185
11186         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11187         set the right font on the "multi" paragraph paste!
11188
11189 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11190
11191         * trans_decl.h:
11192         * trans_mgr.[Ch]:
11193         * trans.[Ch]:
11194         * lyxgluelength.C:
11195         * lyxlength.C: remove out-commented code.
11196
11197         * BufferView_pimpl:
11198         * CutAndPaste.C:
11199         * DepTable.C:
11200         * buffer.C:
11201         * chset.C:
11202         * lastfiles.C:
11203         * lyxlex.C:
11204         * lyxlex_pimpl.C:
11205         * lyxserver.C:
11206         * screen.C:
11207         * tabular-old.C:
11208         * tabular.C:
11209         * text.C:
11210         * trans_mgr.C:
11211         * vc-backend.C: change "while(" to "while ("
11212
11213         * lyxlength.[Ch]: add zero function to check if length is zero or
11214         not
11215         * lyxgluelength.C: use it
11216
11217 2001-12-05  Allan Rae  <rae@lyx.org>
11218
11219         * lyxlength.C: Attempted a fix for the abs(int) header selection.
11220         Works for 2.95.3, from what I understand of Garst's reports this should
11221         work for other g++ versions.  We're screwed if the abs(int) definition
11222         changed between bugfix releases of gcc.
11223
11224 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11225
11226         * text.C: fix chapter label offset !
11227
11228 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11229
11230         * lyxtext.h:
11231         * text.C: fix hfill at end of line, clean up
11232
11233 2001-12-04  Juergen Vigna  <jug@sad.it>
11234
11235         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11236         that we force an update of the inset and it's owners if neccessary.
11237
11238 2001-12-03  Juergen Vigna  <jug@sad.it>
11239
11240         * text.C (rowLast): simplified code
11241
11242 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11243
11244         * lyxfunc.C: fix show options on timeout
11245
11246 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11247
11248         * screen.C (topCursorVisible): scroll half a page when the cursor
11249         reached top of bottom of screen
11250
11251 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
11252
11253         * minibuffer.C: deactivate on loss of focus
11254
11255 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11256
11257         * vspace.[Ch] (operator!=): add operator.
11258
11259 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
11260
11261         * BufferView_pimpl.C: refuse to open an inset when
11262         there's a selection.
11263
11264 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
11265
11266         * BufferView_pimpl.C: allow to click on RHS of full row insets
11267
11268 2001-11-30  Juergen Vigna  <jug@sad.it>
11269
11270         * tabular.C (LyXTabular): add a same_id to set the same id's in the
11271         insets for undo reasons.
11272
11273 2001-11-28  André Pönitz <poenitz@gmx.net>
11274
11275         * vspace.[Ch]: cosmetical changes
11276
11277 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11278
11279         * LyXAction.h:
11280         * LyXAction.C:
11281         * lyxfunc.h:
11282         * lyxfunc.C:
11283         * kbmap.h:
11284         * kbmap.C:
11285         * lyxrc.C:
11286         * kbsequence.h:
11287         * kbsequence.C: part re-write of old kb code
11288
11289         * Painter.C:
11290         * WorkArea.C: remove Lgb_bug_find_hack
11291
11292 2001-11-30  José Matos <jamatos@fep.up.pt>
11293
11294         * buffer.C (makeDocBookFile): add a comment to point a hack.
11295         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11296         Fixed a double write of labels.
11297
11298 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11299
11300         * LaTeX.C:
11301         * LaTeX.h Fixed bug in LaTeX class where it would not
11302         re-run latex if no depfiles were changed, but the .dvi was removed.
11303
11304 2001-11-28  André Pönitz <poenitz@gmx.net>
11305
11306         * all the files from the change on 2001/11/26:
11307         use lyx::layout_type instead of LyXTextClass::size_type
11308         use lyx::textclass_type instead of LyXTextClassList::size_type
11309
11310 2001-11-29  Juergen Vigna  <jug@sad.it>
11311
11312         * text.C: added support for paragraph::isFreeSpacing()
11313
11314         * buffer.C: same as above
11315
11316         * paragraph.h: inserted isFreeSpacing() function to enable
11317         FreeSpacing inside InsetERT.
11318
11319         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11320         of the paragraph's in the cut/copy buffer to 0!
11321
11322         * text2.C (removeRow): remove the assert as it can!
11323
11324         * lyxtext.h: added helper function firstRow returning firstrow and
11325         made firstrow private again.
11326
11327         * BufferView2.C (lockInset): don't relock if we're already locked!
11328
11329         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11330         the only paragraph.
11331         (removeRow): added Assert::(firstrow)
11332
11333         * debug.C: forgot to add INSETTEXT here.
11334
11335 2001-11-28  Juergen Vigna  <jug@sad.it>
11336
11337         * sp_spell.C (initialize): changed error text to more general
11338         spellchecker command use (not only ispell!)
11339
11340         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11341
11342         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11343
11344 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11345
11346         * vspace.C: initialise lyxgluelength on failure
11347
11348 2001-11-28  Allan Rae  <rae@lyx.org>
11349
11350         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11351         declaration & definition that looks like a function declaration.
11352
11353 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11354
11355         * BufferView2.C (copy):
11356         (copyEnvironment): do not clear the selection when doing a copy.
11357
11358         * text.C (paintFirstRow): compilation fix
11359
11360 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
11361
11362         * tabular.C (Latex): correct line count when writing latex.
11363
11364 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
11365
11366         * paragraph_pimpl.h:
11367         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11368           bug a bit
11369
11370 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11371
11372         * text.C:
11373         * LColor.h:
11374         * LColor.C: change vfillline->added_space
11375
11376         * text.C: add markers and text for added space
11377
11378         * vspace.C: fix comment
11379
11380 2001-11-28  André Pönitz <poenitz@gmx.net>
11381
11382         * paragraph.C: whitespace changes
11383         * all the other files from the change on 2001/11/26:
11384         change *::pos_type into lyx::pos_type
11385
11386 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
11387
11388         * buffer.C (parseSingleLyXformat2Token): Set the language to the
11389         language of the document when inserting error insets.
11390
11391 2001-11-26  André Pönitz <poenitz@gmx.net>
11392
11393         * BufferView_pimpl.[Ch]:
11394         *       CutAndPaste.C:
11395         * buffer.[Ch]:
11396         * lyxcursor.[Ch]:
11397         * lyxfind.C:
11398         * lyxfunc.C:
11399         * lyxrow.[Ch]:
11400         * paragraph.[Ch]:
11401         * paragraph_pimpl.[Ch]:
11402         * sp_spell.C:
11403         * text.C:
11404         * text2.C: reduce header dependencies, introduce type for positions
11405
11406 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11407
11408         * <various>: change to use Alert.h
11409
11410 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
11411
11412         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11413         when encountering an unknown token.
11414         (readLyXformat2): Show an error message if there were unknown tokens.
11415
11416 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
11417
11418         * BufferView2.C:
11419         * BufferView_pimpl.C:
11420         * buffer.C:
11421         * paragraph.h:
11422         * text.C:
11423         * text2.C: use par->isInset()
11424
11425 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11426
11427         * paragraph_pimpl.h:
11428         * paragraph_pimpl.C: cleanup
11429
11430 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11431
11432         * text2.C (removeRow):
11433         * text.C (setHeightOfRow): remove useless (and costly) call to
11434         getRow.
11435
11436 2001-11-20  Allan Rae  <rae@lyx.org>
11437
11438         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11439         Now need Inset*::checkInsertChar() to return true for appropriate
11440         cases so that the characters in the minibuffer will actually be
11441         inserted.
11442
11443 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11444
11445         * text.C: change the order of the includes.
11446         (workWidth): initialize it at once.
11447         (workWidth): make maxw unsigned
11448         (setHeightOfRow): remove unused variable (inset)
11449         (selectSelectedWord): remove unused variable (inset)
11450         (paintRowText): fix drawing of hfill characters, and clean up a bit.
11451
11452 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11453
11454         * lyxserver.C (emergencyCleanup): do not try to close pipes if
11455         server is not running.
11456         (openConnection):
11457         (closeConnection): add debug info when server is disabled.
11458
11459         * ColorHandler.C (getGCForeground): send debug message to GUI
11460         channel.
11461
11462         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11463
11464         * kbmap.C (bind): modify because return conventions of
11465         kb_sequence::parse have changed.
11466
11467         * kbsequence.C (parse): only ignore spaces and not any stupid
11468         control character. This avoids tests like s[i] <= ' ', which are
11469         guaranteed to fail with 8bit characters and signed chars.
11470         Change return code to string::npos when there have been no error
11471         (0 was a bad idea when error is at first character)
11472
11473 2001-11-14  José Matos  <jamatos@fep.up.pt>
11474
11475         * buffer.h:
11476         * buffer.C (simpleDocBookOnePar): removed unused argument.
11477
11478 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11479
11480         * text.C (selectNextWordToSpellcheck): do not test explicitely for
11481         insets which are part of a word. Paragraph::isLetter takes care of
11482         that now. Use Paragraph::isInset to identify insets.
11483         (selectSelectedWord): do not test for hyphenation break.
11484
11485         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11486         that protected spaces are considered as spaces.
11487
11488         * paragraph.C (isLetter): cleanup the code for ispell extras; use
11489         Inset::isLetter.
11490
11491 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
11492
11493         * lyxserver.h:
11494         * lyxserver.C: fix it. and small cleanup.
11495
11496 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11497
11498         * BufferView_pimpl.C: use inline helpers
11499
11500         * LaTeXFeatures.h:
11501         * LaTeXFeatures.C: fix typos
11502
11503         * Spacing.h:
11504         * Spacing.C: move spacing_string into class
11505
11506         * ToolbarDefaults.C: move stuff into namespace anon
11507
11508         * layout.h: update enum
11509
11510         * lyxfunc.C: use better debug
11511
11512         * minibuffer.h: fix typo
11513
11514         * debug.h:
11515         * debug.C:
11516         * WorkArea.C: add and use Debug::WORKAREA
11517
11518         * lyxtext.h:
11519         * text.C:
11520         * text2.C: code re-organisation, inline helpers
11521
11522 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
11523
11524         * Layout.C: replaced a few cases of std::vector.size() == 0 with
11525         std::vector.empty().
11526
11527 2001-11-09  Allan Rae  <rae@lyx.org>
11528
11529         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11530         '\n's after tables.  Tabular and ERT inset work now makes this no
11531         longer necessary.
11532
11533 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11534
11535         * minibuffer.h:
11536         * minibuffer.C: fix crash, improve drop-down completion
11537
11538 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
11539
11540         * lyxserver.h:
11541         * lyxserver.C: invalidate fd's when doing endPipe()
11542
11543 2001-11-08  José Matos  <jamatos@fep.up.pt>
11544
11545         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11546         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11547
11548         * paragraph.h:
11549         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11550
11551 2001-11-07  José Matos  <jamatos@fep.up.pt>
11552
11553         * buffer.h:
11554         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11555         const qualifier.
11556
11557         * buffer.C (sgmlOpenTag):
11558         * buffer.C (sgmlCloseTag): removed debug info.
11559
11560         * buffer.h (sgmlOpenTag):
11561         * buffer.h (sgmlCloseTag): made public.
11562
11563 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11564
11565         * buffer.C (saveParamsAsDefaults):
11566         * lyx_cb.C (MenuLayoutSave): remove
11567
11568         * LyXAction.C (init):
11569         * commandtags.h:
11570         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11571
11572 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11573
11574         * buffer.C (setPaperStuff): removed from here...
11575
11576         * bufferparams.C (setPaperStuff): ... and moved there.
11577
11578 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
11579
11580         * minibuffer.h:
11581         * minibuffer.C:
11582         * XFormsView.C: add support for drop-down completion
11583
11584 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
11585
11586         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11587         commands.
11588
11589 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11590
11591         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11592         disabled.
11593
11594 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
11595
11596         * lyx_main.C: change ref to known bugs
11597
11598 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
11599
11600         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11601         to work around older babel problems.
11602
11603 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11604
11605         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11606
11607 2001-10-24  Juergen Vigna  <jug@sad.it>
11608
11609         * tabular-old.C (ReadOld): below variable changes reflected.
11610
11611         * tabular.[Ch]: added ltType struct for longtable header/footer
11612         defines and changed all instances where they are used. Added
11613         future support for double top/bottom rows.
11614
11615 2001-10-24  José Matos  <jamatos@fep.up.pt>
11616
11617         * buffer.h (docbookHandleCaption):
11618         * buffer.C (docbookHandleCaption): removed unused function.
11619         (makeDocBookFile): moved docbook supported version to v4.1.
11620
11621 2001-10-24  José Matos  <jamatos@fep.up.pt>
11622
11623         * tabular.h:
11624         * tabular.C (docbookRow): new function to export docbook code of a row.
11625         (DocBook): now honors the longtable flags.
11626
11627 2001-10-23  José Matos  <jamatos@fep.up.pt>
11628
11629         * LaTeXFeatures.h:
11630         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11631         of the lyx defined sgml entities used in a docbook/linuxdoc document.
11632
11633         * buffer.C (makeLinuxDocFile):
11634         (makeDocBookFile): reworked the preamble, more clean, and with
11635         support for lyx defined entities. Changed the document declaration
11636         to be more XML friendly.
11637
11638         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11639         if we need to output XML that should be done with a filter.
11640
11641 2001-10-22  Juergen Vigna  <jug@sad.it>
11642
11643         * sp_pspell.h (class PSpell): add alive function needed in the
11644         controller to see if the spellchecker could be started.
11645
11646 2001-10-22  Juergen Vigna  <jug@sad.it>
11647
11648         * buffer.C (insertStringAsLines): modify the font for inserting
11649         chars in certain conditions by calling checkInsertChar(font).
11650
11651 2001-10-19  Juergen Vigna  <jug@sad.it>
11652
11653         * text.C (workWidth): use getRow instead of wrong algorithm.
11654         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11655
11656 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
11657
11658         * lyxserver.h:
11659         * lyxserver.C:
11660         * lyx_main.h:
11661         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11662
11663 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11664
11665         * text.C (workWidth): do not search for the exact row when
11666         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11667         optimization for big documents.
11668
11669 2001-10-18  Juergen Vigna  <jug@sad.it>
11670
11671         * text.C (workWidth): new function with added Inset * parameter.
11672
11673 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11674
11675         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11676
11677         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11678         change return type of getColumnNearX.
11679
11680
11681         * text.C (changeRegionCase): use uppercase/lowercase instead of
11682         toupper/tolower.
11683         (leftMargin):
11684         (rightMargin): simplify code by factoring out the uses of
11685         textclasslist.
11686         (labelFill):
11687         (numberOfHfills):
11688         (setHeightOfRow):
11689         (appendParagraph): use Paragraph::size_type
11690
11691 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11692
11693         * vspace.C (asLatexString): add a missing break
11694
11695 2001-10-15  Herbert Voss  <voss@perce.de>
11696
11697         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11698
11699 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11700
11701         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11702         is not available.
11703
11704 2001-10-10  André Pönitz <poenitz@gmx.net>
11705
11706         * lyxfunc.C: removed greek_kb_flag.
11707
11708 2001-10-10  Herbert Voss  <voss@perce.de>
11709
11710         * lyx_main.C: delete global string help_lyxdir.
11711
11712 2001-10-09  Herbert Voss  <voss@perce.de>
11713
11714         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11715
11716         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11717
11718         * lyx_main.C: added global string help_lyxdir.
11719
11720         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11721
11722 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11723
11724         * lyxrc.C (set_font_norm_type): support iso8859-4
11725
11726 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
11727
11728         * LaTeX.C (deplog): add another regex for MikTeX
11729
11730 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11731
11732         * lyxrc.C (set_font_norm_type): support iso8859-3
11733
11734 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11735
11736         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11737
11738         * LaTeXFeatures.C: remove special case of french and index
11739
11740         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11741         before \begin{document}). This solves several incompatibilities.
11742
11743 2001-10-03  Garst Reese  <reese@isn.net>
11744
11745         * lyx_cb.C: change CheckTex error msg.
11746
11747 2001-10-03  José Matos  <jamatos@fep.up.pt>
11748
11749         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11750
11751 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11752
11753         * .cvsignore: update
11754
11755         * lyx_main.C (commandLineVersionInfo): use new style version info.
11756
11757         * buffer.C (writeFile):
11758         (makeLaTeXFile):
11759         (makeLinuxDocFile):
11760         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11761
11762         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11763
11764         * version.h: update to use stuff in version.C
11765
11766         * version.C.in: new file. Contains version information determined
11767         at compile time. This is a merging of version.h and
11768         version_info.h.in.
11769
11770 2001-10-03  Juergen Vigna  <jug@sad.it>
11771
11772         * BufferView_pimpl.C (update): don't change "dirty" status in
11773         updateInset call.
11774
11775 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
11776
11777         * WorkArea.C (c-tor): re-position version string slightly.
11778
11779 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
11780
11781         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11782         revert to previous code.
11783
11784         WorkArea.[Ch]: (show, destroySplash): methods removed.
11785
11786         WorkArea.C: rework code so that it's an amalgam of the codes before and
11787         after the splash screen was moved to WorkArea.
11788
11789 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11790
11791         * lyxrc.C (read):
11792         * vspace.C (inPixels):
11793         (lyx_advance):
11794         * kbmap.C (bind):
11795         * buffer.C (insertStringAsLines):
11796         (asciiParagraph): fix types to be large enough
11797
11798         * lyxlex_pimpl.h: change member status from short to int
11799
11800         * layout.h: fix type of endlabeltype
11801
11802         * kbmap.C (bind):
11803         * kbsequence.C (parse): change return type to string::size_type
11804
11805         * LaTeX.C (updateBibtexDependencies): comment out unneeded
11806         variable
11807
11808         * Bullet.C (bulletSize):
11809         (bulletEntry): do not use short ints as parameters
11810
11811         * BufferView2.C (insertLyXFile): change a char to an int.
11812
11813         * WorkArea.C (WorkArea): remove unneeded floats in computation
11814
11815 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11816
11817         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11818
11819         * paragraph.C (asString): Do not ignore newline/hfill chars when
11820         copying to the clipboard.
11821
11822 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
11823
11824         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11825         after a multi-line inset.
11826
11827 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
11828
11829         * paragraph.C (validate): Set NeedLyXFootnoteCode
11830
11831 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11832
11833         * lyxfont.C (LyXSizeNames): changed increase-error to increase
11834         and decrease-error to decrease.
11835
11836 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11837
11838         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11839         it more readable (should be equivalent)
11840
11841 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11842
11843         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11844
11845 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11846
11847         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11848         of a cursor (row, etc.) after a character has been deleted
11849         (deleteEmptyParagraphMechanism): call the method above on _all_
11850         cursors held by the LyXText when a double space has been
11851         detected/deleted.
11852
11853 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11854
11855         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11856         pixmap.
11857         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11858
11859         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11860         background. Use greyOut() and the new show() methods to toggle between
11861         the foreground and background. Add code to remove the splash after
11862         its initial showing.
11863
11864         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11865         (create_forms): no longer call Dialogs::showSplash.
11866
11867 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11868
11869         * .cvsignore: add version_info.h
11870
11871 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11872
11873         * version_info.h.in: new file
11874
11875         * Makefile.am: add version_info.h.in
11876
11877         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11878         version_info.h instead of VERSION_INFO
11879
11880 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11881
11882         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11883         The ERT inset now returns string().
11884
11885 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11886
11887         * lyxtext.h, text.C (selectNextWord): renamed as
11888         selectNextWordToSpellcheck.
11889
11890         * text.C (selectNextWordToSpellcheck): Modified to not select
11891         words inside an ERT inset.
11892
11893 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11894
11895         * lyx_cb.C (MenuLayoutSave): change a bit the question
11896
11897         * sp_base.h: include <sys/types.h>
11898
11899 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11900
11901         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11902
11903 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11904
11905         * several files: fix typos in user-visible strings
11906
11907 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11908
11909         * text2.C (pasteSelection): do not set the selection, since it
11910         will be cleared later. Actually, the intent was to fix the way the
11911         selection was set, but I figured rmoving the code was just as good.
11912
11913 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11914
11915         * FontLoader.C (available): Check if font is available without
11916         loading the font.
11917
11918 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11919
11920         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11921
11922 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11923
11924         * lyxrc.[Ch]: added display_graphics variable and associated code.
11925
11926 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11927
11928         * bufferparams.C (hasClassDefaults): new method. Returns true if
11929         the buffer parameters correspond to known class defaults
11930
11931 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11932
11933         * XFormsView.C (show): set minimum size to the main window.
11934
11935 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11936
11937         * text2.C (copySelection):
11938         (cutSelection):
11939         * lyxfind.C (LyXReplace):
11940         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11941         LyXText::selectionAsString.
11942
11943         * paragraph.C (asString): add "label" argument to the second form
11944
11945         * text2.C (selectionAsString): add "label" argument and pass it to
11946         Paragraph::asString.
11947
11948 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11949
11950         * lyx_main.C (commandLineHelp): remove version information
11951
11952 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11953
11954         * lyx_main.C: add -version commandline option
11955
11956 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11957
11958         * paragraph.h: make the optional constructor arg required instead.
11959         some modifications to other files because of this.
11960
11961         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11962
11963         * lyxserver.C (C_LyXComm_callback): make it static
11964
11965         * lyx_main.C (error_handler): make it static
11966
11967         * lyx_gui.C (LyX_XErrHandler): make it static
11968
11969         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11970
11971         * WorkArea.C: make the extern "C" methods static.
11972
11973         * Makefile.am (lyx_LDADD): simplify
11974
11975 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11976
11977         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11978         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11979
11980         * LyXAction.C (init):
11981         * lyxfunc.C (dispatch): associated code removal.
11982
11983 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11984
11985         * lyxfont.h (isSymbolFont): shut off warning
11986
11987         * text.C (setHeightOfRow):
11988         (getVisibleRow): fix crash with empty paragraphs which have a
11989         bottom line
11990
11991 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
11992
11993         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11994         code.
11995
11996 2001-09-04  José Matos  <jamatos@fep.up.pt>
11997         * buffer.C
11998         * buffer.h
11999         * tabular.C (docbook): rename docBook method to docbook.
12000
12001 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12002
12003         * Makefile.am: add dependencies to main.o.
12004
12005 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
12006
12007         * FontLoader.C (available): Return false if !lyxrc.use_gui
12008
12009 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
12010
12011         * FontInfo.C (query):
12012         * converter.C (view):
12013         * importer.C (Import):
12014         * exporter.C (Export): Can not -> cannot.
12015
12016 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
12017
12018         * BufferView_pimpl.C: allow to create index inset even if
12019           string is empty
12020
12021 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12022
12023         * buffer.C (getLists): replace boost::tie code with an explicit pair
12024         as boost::tie can break some compilers.
12025
12026         * iterators.h: Added a std:: declaration to the return type of
12027         ParIterator::size.
12028
12029 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
12030
12031         * lyxrc.C: add help for view_dvi_paper_option, default to safe
12032           case.
12033
12034 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
12035
12036         * iterators.[Ch]: New files. Provide paragraph iterators.
12037
12038         * buffer.C (changeLanguage): Use paragraph iterators.
12039         (isMultiLingual): ditto
12040
12041         * BufferView2.C (ChangeInsets): Use paragraph iterators.
12042
12043 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
12044
12045         * FontLoader.C: Support for cmr font.
12046
12047 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
12048
12049         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12050         (available): New method.
12051
12052         * FontInfo.C (getFontname): Use scalable fonts even when
12053         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12054         found.
12055
12056 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12057
12058         * converter.C (Formats::view): reverted! Incorrect fix.
12059
12060 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12061
12062         * converter.C (Formats::view): only output the -paper option
12063         if the dvi viewer is xdvi, thereby fixing bug #233429.
12064
12065 2001-08-23  Herbert Voss  <voss@perce>
12066
12067         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12068
12069 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
12070
12071         * Spacing.h (Spacing): Set space to Default on in the default
12072         constructor.
12073
12074 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12075
12076         * vc-backend.h (RCS::versionString): add RCS to version
12077         (CVS::versionString): add CVS to version
12078
12079         * vc-backend.C (scanMaster): do not add CVS to version.
12080         (scanMaster): do not add RCS to version
12081
12082         * lyxvc.C (versionString): new method
12083
12084         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12085
12086 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12087
12088         * Spacing.C (set): initialize fval
12089
12090 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
12091
12092         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12093         " or \.
12094
12095 2001-08-16  Juergen Vigna  <jug@sad.it>
12096
12097         * lyxfunc.C (dispatch): implemented the new FINISHED states.
12098
12099 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12100
12101         * BufferView_pimpl.C:
12102         * figureForm.C:
12103         * lyxtext.h:
12104         * text2.C: setParagraph takes linespacing now
12105
12106 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
12107
12108         * LyxAction.C: add internal LFUN_CITATION_INSERT
12109
12110         * LyXView.C: actually apply fix
12111
12112         * bufferlist.C: fix open non-existent file
12113
12114         * lyxfind.C: fix indentation
12115
12116         * lyxfunc.C: remove unneeded assert, fix typo
12117
12118 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12119
12120         * MenuBackend.C: use "Floatname List"
12121
12122 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
12123
12124         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12125         when converting LaTeX layout to insetERT.
12126         Generate a non-collapsed float when reading old float
12127
12128 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12129
12130         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12131         ERT insets.
12132
12133 2001-08-13  Juergen Vigna  <jug@sad.it>
12134
12135         * text.C (fill): return 0 instead of 20 as this seems to be the more
12136         correct value.
12137
12138 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12139
12140         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12141         lyxrc.font_norm.
12142
12143 2001-08-13  Juergen Vigna  <jug@sad.it>
12144
12145         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12146         casesensitive off.
12147         (SearchBackward): comment out the unlocking of the inset_owner this
12148         should not be needed!
12149
12150 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
12151
12152         * Many files: Remove inherit_language, and add latex_language
12153
12154         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12155         collapsible insets.
12156
12157 2001-08-10  Juergen Vigna  <jug@sad.it>
12158
12159         * text.C (prepareToPrint): fixed hfill-width in draw!
12160
12161         * BufferView2.C (selectLastWord): save the selection cursor as this
12162         now is cleared in the function LyXText::clearSelection!
12163
12164 2001-08-08  Juergen Vigna  <jug@sad.it>
12165
12166         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12167         BACKSPACE type functions.
12168
12169         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12170         is only cutted from the document but not put in the cut-buffer, where
12171         still the old stuff should be.
12172
12173         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12174
12175         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12176
12177         * tabular.C (SetWidthOfCell): fixed special case where the width
12178         was not updated!
12179         (LeftLine): handle '|' in align_special.
12180         (RightLine): ditto
12181         (LeftAlreadyDrawed): ditto
12182         (SetWidthOfCell): ditto
12183
12184 2001-08-07  Juergen Vigna  <jug@sad.it>
12185
12186         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12187
12188 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12189
12190         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12191         * lyxlex.[hC]: ditto
12192
12193 2001-08-06  Juergen Vigna  <jug@sad.it>
12194
12195         * text.C (getVisibleRow): fix up row clearing a bit.
12196
12197 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12198
12199         * minibuffer.C: make sure the X server sees the changes in the input.
12200
12201 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12202
12203         * paragraph.C (getFont): split into...
12204         (getLabelFont): this
12205         (getLayoutFont): and this
12206         * paragraph_pimpl.C (realizeFont): calling this
12207
12208         * text2.C (getFont): split into...
12209         (getLayoutFont): this
12210         (getLabelFont): and this
12211         (realizeFont): all three calling this
12212
12213         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12214         files where used.
12215
12216 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12217
12218         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12219
12220 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
12221
12222         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12223         layouts from the Quote inset insertion.
12224
12225 2001-08-03  Juergen Vigna  <jug@sad.it>
12226
12227         * BufferView_pimpl.C (update): do the fitCursor only at the end!
12228
12229         * screen.C (drawFromTo): don't call fitcursor here and do the loop
12230         only if status not is already CHANGED_IN_DRAW (second level).
12231
12232         * text.C (draw): don't set the need_break_row when inside an
12233         InsetText LyXText.
12234
12235 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12236
12237         * buffer.C (parseSingleLyXformat2Token): handle more latex
12238         conversion cases.
12239
12240         * bufferview_funcs.[hC]: change function names to
12241         begin with small char, adjust other files.
12242
12243 2001-08-02  André Pönitz <poenitz@gmx.net>
12244
12245         * lyxfunc.C:
12246         BufferView_pimpl.C: remove broken special code for math-greek
12247
12248 2001-08-02  Juergen Vigna  <jug@sad.it>
12249
12250         * BufferView_pimpl.C (update): redone this function so that we
12251         update the text again if there was a CHANGE_IN_DRAW.
12252
12253         * screen.C (cursorToggle): removed LyXText parameter and recoded.
12254         (drawFromTo): added a new internal bool which is used by draw() and
12255         redraw() function.
12256         (general): some cursor drawing problems fixed.
12257
12258 2001-08-01  Juergen Vigna  <jug@sad.it>
12259
12260         * lyxfind.C (LyXFind): fixed
12261         (SearchForward): ditto
12262         (SearchBackward): ditto
12263
12264         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12265         spurius drawing of the cursor in the main area.
12266
12267         * text2.C (status): small fix which could lead to a segfault!
12268         (clearSelection): remove unneeded BufferView param.
12269
12270 2001-08-01  André Pönitz <poenitz@gmx.net>
12271
12272         * lyxfunc.C: small change due to changed mathed interface
12273
12274 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12275
12276         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12277
12278 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
12279
12280         * lyxfunc.c: fail gracefully if file doesn't exist
12281
12282         * LyXSendto.C:
12283         * buffer.C:
12284         * lyxfunc.C:
12285         * BufferView_pimpl.C: IsDirWriteable() proto changed
12286
12287         * LyXView.C: fix updateWindowTitle() to store the last title
12288
12289 2001-07-31  Juergen Vigna  <jug@sad.it>
12290
12291         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12292         the font (wrong since using of Paragraph::highestFontInRange).
12293
12294         * paragraph.C (highestFontInRange): added a default_size parameter.
12295
12296         * text.C (getVisibleRow): minor clear row changes (still not perfect).
12297         (setHeightOfRow): reformat
12298
12299 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12300
12301         * converter.[hC] + affected files: move to (inital-char)lowercase
12302         function names.
12303
12304         * ParagraphParameters.C (ParagraphParameters): remove commented code
12305
12306         * PainterBase.[Ch]: remove commented code
12307
12308         * LaTeXFeatures.h: add "bool floats" for float.sty
12309
12310         * LaTeXFeatures.C (LaTeXFeatures): init floats
12311         (require): handle float
12312         (getPackages): do it with floats
12313
12314 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12315
12316         * BufferView_pimpl.C (Dispatch): improve handling of
12317         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12318
12319         * commandtags.h: #include lyxfont.h here temporarily to avoid
12320         keybinding bug.
12321
12322         * bufferlist.h: include LString.h here.
12323
12324 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12325
12326         * text2.C (getStringToIndex): new method.
12327
12328 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
12329
12330         * *: Reduced header file dependencies all over.
12331
12332 2001-07-30  Baruch Even  <baruch@lyx.org>
12333
12334         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12335
12336 2001-07-29  Baruch Even  <baruch@lyx.org>
12337
12338         * buffer.C (readInset): Changed GRAPHICS to Graphics.
12339
12340 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12341
12342         * ParameterStruct.h (endif): add a default constructor to make
12343         sure that all variables is initialized.
12344
12345         * ParagraphParameters.C (ParagraphParameters): adjust
12346
12347 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12348
12349         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12350         index; also, check that there is something to index, and that it
12351         does not span over several paragraphs.
12352         (doubleClick): use WHOLE_WORD_STRICT for double click.
12353
12354         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12355
12356         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12357         scheme.
12358
12359 2001-07-26  Baruch Even  <baruch@lyx.org>
12360
12361         * buffer.C (readInset): Changed to call up InsetGraphics when reading
12362         an InsetFig figure, backwards compatible reading of old figure code.
12363
12364 2001-07-27  Juergen Vigna  <jug@sad.it>
12365
12366         * text2.C: font.realize function adaption.
12367
12368         * text.C (draw): add a warnings lyxerr text if needed.
12369
12370         * layout.C: font.realize function adaption.
12371
12372         * language.C: add inherit_language and implement it's handlings
12373
12374         * bufferview_funcs.C (StyleReset): remove language parameter from
12375         font creation (should be language_inherit now).
12376
12377         * bufferparams.C (writeFile): handle ignore_language.
12378
12379         * paragraph.C (getFontSettings): the language has to be resolved
12380         otherwise we have problems in LyXFont!
12381
12382         * lyxfont.C (lyxWriteChanges): added document_language parameter
12383         (update): removed unneeded language parameter
12384
12385         * paragraph.C (validate): fixed wrong output of color-package when
12386         using interface colors for certain fonts in certain environments,
12387         which should not seen as that on the final output.
12388
12389 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
12390
12391         * BufferView_pimpl.C:
12392         * Thesaurus.h:
12393         * Thesaurus.C:
12394         * Makefile.am:
12395         * commandtags.h:
12396         * LyXAction.C: add thesaurus support
12397
12398         * lyxfind.h:
12399         * lyxfind.C: add "once" parameter, for thesaurus, to not
12400           move to the next match
12401
12402 2001-07-26  Juergen Vigna  <jug@sad.it>
12403
12404         * lyxfont.C (realize): honor ignore_language too!
12405         (resolved): ditto.
12406
12407         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12408
12409         * text.C (draw): one place more for ignore_language to not draw
12410         itself!
12411
12412 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
12413
12414         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12415
12416 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12417
12418         * buffer.C (parseSingleLyXformat2Token): a more general fix for
12419         the minipage conversion problem.
12420
12421 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12422
12423         * buffer.C (parseSingleLyXformat2Token): check minipage if we
12424         insert an inset.
12425
12426 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12427
12428         * BufferView.h: don't forward declare WorkArea
12429
12430         * BufferView.C: don't include WorkArea.h
12431
12432 2001-07-25  André Pönitz <poenitz@gmx.net>
12433
12434         * commandtags.h:
12435         * LyXAction.C:
12436         * lyxfunc.C:  new LFUN 'math-space'
12437
12438         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12439
12440 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12441
12442         * text2.C (toggleInset): call open/close
12443
12444 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12445
12446         * lyxfunc.C (dispatch): add debug for the disabled case
12447
12448         * font.C (buttonText): make similar to rectText
12449
12450         * buffer.C (readInset): comment out parsing of insetlist and
12451         insttheorem
12452
12453         * PainterBase.C (rectText): small correction
12454
12455         * BufferView_pimpl.C: comment out insettheorem and insetlist
12456         * LyXAction.C: ditto
12457         * commandtags.h: ditto
12458
12459 2001-07-24  Juergen Vigna  <jug@sad.it>
12460
12461         * text.C (draw): honor the ignore_language.
12462
12463         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12464
12465 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12466
12467         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12468         char inset.
12469
12470 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12471
12472         * lyxtext.h: remove unused (and unimplemented) methods
12473
12474 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12475
12476         * text.C (getVisibleRow): honor background color
12477
12478         * PainterBase.h:
12479         * Painter.h: remove default color argument for fillRectangle
12480
12481         * text.C (backgroundColor): new method
12482
12483 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12484
12485         * text.C (getVisibleRow): adjust
12486
12487         * font.[Ch] (rectText): new method, metrics
12488         (buttonText): new method, metrics
12489
12490         * PainterBase.[hC]: make rectText and buttonText always draw and take
12491         fewer paramteres.
12492
12493 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12494
12495         * ToolbarDefaults.C (read):
12496         * MenuBackend.C (read): allow escaping in all strings
12497
12498         * BufferView_pimpl.C (insertAndEditInset): new method.
12499         (Dispatch): use insertAndEditInset whenever appropriate.
12500
12501         * BufferView_pimpl.C (insertNote): removed
12502
12503         * BufferView_pimpl.C (smartQuote): new method, moved from
12504         BufferView; if an insetquote cannot be inserted, insert a '"'
12505         character instead.
12506
12507         * BufferView2.C: remove insertCorrectQuote();
12508
12509         * lyxfunc.C (getStatus): Add support for all remaingin
12510         inset-insert lfuns.
12511
12512         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12513
12514         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12515         command (necessary to pass " as parameter of self-insert.
12516
12517         * text.C (selectWordWhenUnderCursor):
12518         (selectWord): add word_location parameter
12519         (selectWordWhenUnderCursor): same + remove special code for word
12520         boundary.
12521         (selectNextWord): use kind() to guess type of insetspecialchar,
12522         not latex().
12523
12524         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12525         (insertErtContents): create ert insets as collapsed.
12526         (readInset): better compatibility code for Info inset.
12527
12528 2001-07-20  Juergen Vigna  <jug@sad.it>
12529
12530         * lyxfunc.C (dispatch): use always LyXFind now!
12531
12532         * text2.C (init): add a reinit flag so that the LyXText can be
12533         reinited instead of deleted and reallocated (used in InsetText).
12534
12535         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12536
12537         * text.C: ditto
12538
12539         * text2.C: ditto
12540
12541 2001-07-18  Juergen Vigna  <jug@sad.it>
12542
12543         * text.C (selectNextWord): handle insets inside inset by calling
12544         always the bv->text functions so that we can go up the_locking_inset!
12545
12546         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12547         in strange locations when inside an inset!
12548
12549         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12550         handling to include insets.
12551
12552         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12553
12554 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12555
12556         * LyXAction.C (init):
12557         * commandtags.h:
12558         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12559         LIGATURE_BREAK, since the name is so stupid.
12560
12561 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12562
12563         * buffer.C (readInset): enable reading of new InsetNotes as well as old
12564         InsetInfos.
12565
12566         * FontLoader.C: remove FORMS_H_LOCATION cruft.
12567
12568         * sp_form.[Ch]: remove.
12569
12570         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12571
12572         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12573         InsetInfo.
12574
12575         * src/buffer.C (readInset): ditto.
12576
12577 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12578
12579         * BufferView_pimpl.C (specialChar): new method. Obsoletes
12580         menuSeparator(), endOfSentenceDot(), ldots() and
12581         hyphenationPoint(), which are therefore removed.
12582         (Dispatch): handle LFUN_HYPHENATION_BREAK.
12583
12584         * LyXAction.C (init):
12585         * commandtags.h: add LFUN_HYPHENATION_BREAK.
12586
12587         * paragraph.C (getWord): removed.
12588
12589         * BufferView_pimpl.C (Dispatch): use last word or selection for
12590         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12591
12592         * lyx_main.C (queryUserLyXDir): do not ask before creating
12593         user_dir, except if it has been named explicitely.
12594
12595 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12596
12597         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12598         a document of zero size.
12599
12600 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
12601
12602         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12603         approriately in the c-tor and in require().
12604         (getPackages): output the appropriate LaTeX for natbib support.
12605
12606         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12607         variables "use_natbib" and "use_numerical_citations" when reading the
12608         LyX file.
12609         (readInset): read the various natbib cite commands.
12610         (validate): white-space change.
12611
12612         * bufferparams.[Ch]: new variables "bool use_natbib" and
12613         "bool use_numerical_citations".
12614         (writeFile): output them in the LyX file.
12615
12616 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12617
12618         * lyxfunc.C (getStatus): add support for all the inset insertion
12619         commands.
12620
12621         * text2.C (insertInset):
12622         * paragraph.C (insetAllowed):
12623         * BufferView_pimpl.C (insertInset): update to take in account the
12624         renaming of insertInsetAllowed
12625
12626         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12627
12628         * text2.C (getInset): new method. returns inset at cursor position.
12629
12630         * BufferView_pimpl.C (Dispatch): changes because of this.
12631
12632         * LyXAction.C (init): rename open-stuff to inset-toggle.
12633
12634         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12635
12636         * text2.C (toggleInset): renamed from openStuff; use
12637         Inset::open().
12638
12639 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
12640
12641         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12642
12643         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12644
12645 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
12646
12647         * buffer.C (readLyXformat2): Add filename to the error dialog
12648
12649 2001-07-18  Juergen Vigna  <jug@sad.it>
12650
12651         * tabular.C (GetCellNumber): put an assert here instead of the check!
12652
12653 2001-07-17  Juergen Vigna  <jug@sad.it>
12654
12655         * BufferView_pimpl.C (toggleSelection): adapted too.
12656
12657         * text.C (selectNextWord): adapted for use with insets.
12658         (selectSelectedWord): ditto
12659
12660 2001-07-17  Juergen Vigna  <jug@sad.it>
12661
12662         * sp_spell.C (PSpell): fix initialitation order.
12663
12664 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12665
12666         * paragraph.C: spacing
12667
12668 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
12669
12670         * sp_spell.C: repair language selection for pspell
12671
12672 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12673
12674         * lyxfunc.h: change more methods to begin with lower char.
12675
12676 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
12677
12678         * buffer.C (parseSingleLyXformat2Token): Generate error insets
12679         for unknown layouts.
12680
12681 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12682
12683         * buffer.C (readLyXformat2): Generate an error dialog if there are
12684         unknown layouts.
12685
12686 2001-07-16  Juergen Vigna  <jug@sad.it>
12687
12688         * sp_spell.C: always compile ISpell part.
12689
12690         * lyxrc.C: added use_pspell entry and it's handling.
12691
12692 2001-07-13  Juergen Vigna  <jug@sad.it>
12693
12694         * sp_spell.C: removed double includes.
12695
12696 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
12697
12698         Consistent use of Lsstream.h:
12699         * Lsstream.h: added using std::stringstream for consistencies sake.
12700
12701         * buffer.C: removed using std::stringstream
12702
12703         * lyxfont.C (stateText):
12704         * paragraph.C (asString):
12705         * text.C (selectNextWord, selectSelectedWord):
12706         * text2.C (setCounter):
12707         * vspace.C (asString, asLatexString):
12708         std::ostringstream -> ostringstream.
12709
12710 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12711
12712         * LyXAction.C: add LFUN_HELP_ABOUTLYX
12713         * commandtags.h: add LFUN_HELP_ABOUTLYX
12714         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12715
12716 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12717
12718         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12719         cursorToggle()
12720         * lyx_gui_misc.C: remove spellchecker
12721         * lyxfunc.C: showSpellchecker
12722         * sp_base.h: added
12723         * sp_ispell.h: added
12724         * sp_pspell.h: added
12725         * sp_spell.C: added
12726         * sp_form.[Ch]: removed
12727         * spellchecker.[Ch]: removed
12728
12729 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
12730
12731         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12732         is set.
12733         (simpleTeXSpecialChars): Simply print the input character without
12734         any special translation if pass_thru is set.
12735
12736         * layout.h: Added bool pass_thru to layout class for being able to
12737         implement pass through of a paragraph for Literate Programming.
12738
12739         * layout.C: add LT_PASS_THRU to LayoutTags enum.
12740         * layout.C (LyXLayout): set pass_thru to flase in constructor.
12741         * layout.C (Read): add "passthru" to list of layout tags and add
12742         code to set the pass_thru boolean when it is read.
12743
12744 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12745
12746         * trans_decl.h: remove allowed from KmodInfo
12747
12748         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12749         remove allowed code
12750         (Load): adjust
12751
12752         * paragraph_pimpl.C (erase): use boost::prior
12753
12754         * Painter.C (text): use data() instead of c_str() when length is
12755         also provided.
12756         * WorkArea.C (putClipboard): ditto
12757         * font.h (width): ditto
12758
12759         * BufferView2.C: use it-> instead of (*it). for iterators
12760         * texrow.C: ditto
12761         * paragraph_pimpl.C: ditto
12762         * paragraph.C: ditto
12763         * minibuffer.C: ditto
12764         * language.C: ditto
12765         * kbmap.C: ditto
12766         * encoding.C: ditto
12767         * counters.C: ditto
12768         * converter.C: ditto
12769         * chset.C: ditto
12770         * Variables.C: ditto
12771         * TextCache.C: ditto
12772         * MenuBackend.C: ditto
12773         * LyXAction.C: ditto
12774         * LColor.C: ditto
12775         * FloatList.C: ditto
12776         * DepTable.C: ditto
12777         * ColorHandler.C (LyXColorHandler): ditto
12778
12779 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12780
12781         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12782
12783         * text2.C (openStuff): reintroduce this method (which had been
12784         nuked in NEW_INSETS frenzy).
12785
12786         * lyxfunc.C (Dispatch): when an action has not been handled, use
12787         its name in the error message, not its number.
12788
12789         * paragraph.C (inInset): change method name to begin with lowercase.
12790
12791         * undo_funcs.C:
12792         * text2.C: updates because of this.
12793
12794 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12795
12796         * ToolbarDefaults.C (add): add spaces in error message
12797
12798 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12799
12800         * buffer.C (readLyXformat2): initialize the ert comp. variables.
12801         (readLyXformat2): rename return_par to first_par, use lyxlex's
12802         pushToken and remove the manual push handling.
12803         (parseSingleLyXformat2Token): add another ert comp. variable:
12804         in_tabular, rename return_par to first_par. handle newlines better
12805
12806 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12807
12808         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12809
12810 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12811
12812         * text2.C (getParFromID): removed
12813
12814         * buffer.C (getParFromID): new method moved form lyxtext.
12815         * BufferView2.C (insertErrors): adjust
12816         (setCursorFromRow): adjust
12817         * BufferView_pimpl.C (restorePosition): adjust
12818         * lyxfunc.C (Dispatch): adjust
12819         * undo_funcs.C (textUndo): adjust
12820         (textRedo): adjust
12821         (textHandleUndo): adjust
12822         (textHandleUndo): adjust
12823
12824 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12825
12826         * buffer.C: up' the LYX_FORMAT
12827
12828         * lyxfont.h: turn NO_LATEX on as default
12829
12830         * buffer.C (insertErtContents): new methods of tex style compability.
12831         (parseSingleLyXformat2Token): use it several places.
12832         * tabular.C (OldFormatRead): and here
12833
12834 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12835
12836         * text2.C: remove some commented code.
12837         reindent file.
12838
12839         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12840         * trans.C: changes because of the above.
12841
12842 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
12843
12844         * text2.C (setCounter): Fix counters bug with bibliography layout.
12845
12846 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12847
12848         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12849         own member functions
12850         (simpleTeXSpecialChars): ditto
12851
12852 2001-07-06  Juergen Vigna  <jug@sad.it>
12853
12854         * a lot of files: changed the access to LyXText::status and the
12855         call of undo-functions.
12856
12857         * undo.[Ch]: added a inset_id to the undo informations.
12858
12859         * undo_funcs.[Ch]: added and moved here all undo functions.
12860
12861         * lyxtext.h: give the status enum a weight, made status_ a private
12862         variable and made accessor functions for it, removed the whole bunch
12863         of undo-functions as they are now in their own file, make some
12864         functions publically available. Added function ownerParagraph with
12865         int parameter.
12866
12867         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12868         made InInset() a const function, added getParFromID() function.
12869
12870         * buffer.[Ch]: added const version for inset_iterator functions,
12871         added getInsetFromID() function.
12872
12873         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12874         changed undo functions for new version.
12875
12876 2001-07-05  Juergen Vigna  <jug@sad.it>
12877
12878         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12879         unknow mechanism does not call the proper constructor but only this
12880         one also if I request the other!?
12881
12882 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12883
12884         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12885
12886         * text2.C (LyXText): use initialization lists.
12887
12888         * lyxtext.h (Selection): initialize set_ and mark_
12889         (init): remove method
12890
12891 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12892
12893         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12894
12895 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12896
12897         * screen.[Ch]: change method names to begin with lowercase
12898
12899         * BufferView_pimpl.C (updateScrollbar): simplify further and
12900         hopefully make it a bit faster.
12901
12902 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12903
12904         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12905         calling directly xforms functions.
12906
12907         * Painter.C (Painter):
12908         * lyx_cb.C (MenuWrite):
12909         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12910         fl_display.
12911
12912         * lyx_gui.C: remove bogus guiruntime extern declaration.
12913
12914 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12915
12916         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12917         in NEW_INSETS
12918         (redoDrawingOfParagraph): ditto
12919         (redoParagraphs): ditto
12920         (cutSelection): don't create a object for CutAndPaste use the
12921         static method directly
12922         (pasteSelection): ditto
12923
12924         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12925         LyXview (+ rename)
12926
12927 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12928
12929         * modifications to some other files because of this.
12930
12931         * Makefile.am (lyx_SOURCES): add XFormsView
12932
12933         * XFormsView.[Ch]: new files
12934
12935         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12936         the main window. Move the gui dependent stuff to XFormsView
12937
12938 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12939
12940         * tabular.C (GetCellInset): update cur_cell also in the row/col
12941         version of this function.
12942
12943         * lyxfunc.C: no need to include figure_form.h here.
12944
12945         * FontLoader.h:
12946         * lyxfunc.h:
12947         * lyxscreen.h:
12948         * text2.C:
12949         * lyxvc.C: no need to include forms.h here.
12950
12951 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12952
12953         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12954
12955         * lyxfunc.C (Dispatch):
12956         * Spacing.C (set):
12957         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12958         constructor argument.
12959
12960 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12961
12962         * paragraph.C (Paragraph): dont't clear, and just set layout.
12963         (makeSameLayout): use params's copy contructor.
12964
12965         * ParagraphParameters.[Ch] (makeSame): delete method
12966
12967 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12968
12969         * Variables.[Ch]: fix indentation, rename set to isSet
12970
12971 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12972
12973         * lyxfunc.C (Dispatch): fix typo
12974
12975 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12976
12977         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12978         upper_bound.
12979
12980         * bufferlist.C: include assert.h for emergencyWrite().
12981
12982 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12983
12984         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12985           give up at last (bug #425202) !
12986
12987 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12988
12989         * lyx_gui_misc.C:
12990         * sp_form.h:
12991         * sp_form.C:
12992         * spellchecker.h:
12993         * spellchecker.C: strip spellchecker options and bring up
12994           preferences tab instead
12995
12996 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12997
12998         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12999         the istringstream constructor
13000
13001 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13002
13003         * paragraph.C (getLayout): fix return value
13004
13005         * paragraph.h: do not declare getLayout as inline.
13006
13007         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13008
13009 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13010
13011         * lyxcursor.h (operator<): new func
13012         (operator>): new func
13013         (operator>=): new func
13014         (operator<=): new func
13015
13016         * text.C (changeCase): use selection.start and selection.end
13017         (changeRegionCase): require from to be <= to. Require par to be a
13018         valid paragraph.
13019
13020         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13021
13022 2001-06-27  Juergen Vigna  <jug@sad.it>
13023
13024         * text.C (cursorLeftOneWord): changed to return the cursor and added
13025         overlay with BufferView * parameter which calls this one.
13026         (getWord): added
13027         (selectWord): use new getWord function.
13028         (changeCase): renamed from changeWordCase as and extended to work
13029         also on selections.
13030
13031         * lyxtext.h: added enum word_location
13032
13033         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13034         changeCase as this operates now also on selections.
13035
13036 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
13037
13038         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13039
13040         * many files: send debug output to Debug::INFO instead of
13041         Debug::ANY.
13042
13043         * converter.C (View):
13044         (Convert):
13045         (Move): send debug output to Debug::FILES instead of console.
13046
13047 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
13048
13049         * lyxfunc.C (getStatus): use func_status
13050
13051         * func_status.h: new header, describing the results of
13052         LyXFunc::getStatus;
13053
13054         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13055         LFUN_MATH_HALIGN.
13056
13057 2001-06-25  The LyX Project  <jug@sad.it>
13058
13059         * buffer.C (sgmlOpenTag):
13060         (sgmlCloseTag):
13061         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
13062
13063 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13064
13065         * text2.C: remove some dead code
13066
13067         * tabular.C (GetCellInset): store the last cell checked (gotten)
13068
13069         * tabular.h: add the helper for the speedup
13070
13071         * lyxtext.h: remove some dead code
13072
13073 2001-06-26  The LyX Project  <Asger>
13074
13075         * paragraph.C: Change export to LaTeX of alignment to
13076         \begin{center} and family for better roundtrip work with reLyX.
13077
13078         * Tune the math drawing a bit.
13079
13080 2001-06-25  The LyX Project  <Asger>
13081
13082         * LColor.C (LColor): New color for math background. New color
13083         for buttons.
13084
13085 2001-06-25  The LyX Project  <jug@sad.it>
13086
13087         * lyxfunc.C (MenuNew): remove extra check for .lyx file
13088
13089         * lyxfunc.C (Open):
13090         * bufferlist.C (newFile): do not restrict to files ending with
13091         .lyx
13092
13093         * BufferView_pimpl.C (MenuInsertLyXFile):
13094
13095 2001-06-24  The LyX Project  <jug@sad.it>
13096
13097         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13098         of compare_no_case
13099
13100 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13101
13102         * lyxtext.h: rename most methods to begin with a small char.
13103         Lots of changes because of this.
13104
13105         * paragraph.C (Paragraph): do not call fitToSize
13106         (erase): call Pimpl::erase
13107         (insertChar): call Pimpl::insertChar
13108         (insertInset): call Pipl::insertInset
13109         (breakParagraph): do not call fitToSize
13110         (breakParagraphConservative): do not call fitToSize
13111         (fitToSize): remove method
13112
13113         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13114
13115 2001-06-24  The LyX Project  <Asger>
13116
13117         * Fix Qt compilation^2
13118
13119 2001-06-24  The LyX Project  <jug@sad.it>
13120
13121         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13122         depthHook(getDepth()-1).
13123
13124         * paragraph.h:
13125         * ParagraphParameters.h:
13126         * ParameterStruct.h: change type of depth to unsigned int ==
13127         depth_type. Many adaptations to other files before of that.
13128
13129 2001-06-24  The LyX Project  <Asger>
13130
13131         * Fix Qt compilation.
13132
13133 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13134
13135         * paragraph.h: renamed several methods to begin with small letter.
13136         several changes to many parts of the code because of this.
13137
13138 2001-06-23  The LyX Project  <jug@sad.it>
13139
13140         * text2.C (InsertStringAsLines): renamed from InsertStringA;
13141         rewritten to discard all double spaces when KeepEmpty is off
13142         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13143         to only handle newlines but not fiddle with spaces and friends.
13144
13145         * lyxfunc.C (MenuNew): when doing 'new from template', use
13146         template_path as default directory
13147
13148 2001-06-23  The LyX Project  <Asger>
13149
13150         * Clean-up of header file includes all over
13151         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13152
13153 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13154
13155         * paragraph.h: renamed from lyxparagraph.h
13156
13157 2001-06-23  Asger  <lyx@violet.home.sad.it>
13158
13159         * Buffer.h: Removed Buffer::resize
13160         * BufferList.h: Removed BufferList::resize
13161         * LyXView.h: Added LyXView::resize. This way, we will only reflow
13162         the document lazily when we change the width, or the font settings.
13163
13164 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13165
13166         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13167
13168 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13169
13170         * buffer.h: remove out of date comment
13171
13172 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13173
13174         * lyxscreen.h:
13175         * screen.C: fix "theoretical" GC leak
13176
13177 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13178
13179         * LaTeX.C (scanAuxFile):
13180         (deplog): remove trailing \r when reading stream (useful under
13181         win32)
13182
13183 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
13184
13185         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13186         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13187         and BufferView::theLockingInset(Inset*), so should use them and not
13188         access bv_->text->the_locking_inset directly.
13189
13190         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13191
13192 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13193
13194         * Makefile.am:
13195         * tex-defs.h: remove old unused file
13196
13197 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
13198
13199         * BufferView_pimpl.C: fix typo, remove minibuffer message
13200           when buffer has loaded
13201
13202 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13203
13204         * lyxfunc.C (Dispatch): use stringstream
13205         (MenuNew): use stringstream
13206         (Open): use stringstream
13207
13208         * importer.C (Import): use stringstream
13209
13210         * bufferview_funcs.C (CurrentState): use stringstream
13211
13212         * LaTeX.C (run): use stringstream
13213
13214         * BufferView_pimpl.C (savePosition): use stringstream
13215         (restorePosition): use stringstream
13216         (MenuInsertLyXFile): use stringstream
13217
13218 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
13219
13220         * BufferView.C:
13221         * Bullet.C:
13222         * ColorHandler.C:
13223         * FontInfo.C:
13224         * FontLoader.C:
13225         * LColor.C:
13226         * LaTeXFeatures.C:
13227         * Painter.C:
13228         * gettext.C:
13229         * lyx_gui_misc.C:
13230         * lyxserver.C:
13231         * vspace.C: removed // -*- C++ -*- as first line.
13232
13233         * lyxfind.h:
13234         * version.h: added // -*- C++ -*- as first line.
13235
13236 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13237
13238         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13239
13240         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13241         of string
13242
13243 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13244
13245         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13246         of floats.
13247
13248 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13249
13250         * gettext.C: include LString.h even when --disable-nls is on.
13251
13252 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
13253
13254         * converter.h (Get): changed argument type from int to
13255         FormatList::size_type to avoid unnecessary conversion.
13256
13257         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13258         before using it.
13259
13260 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13261
13262         * gettext.h: include LString.h even when --disable-nls is on.
13263
13264 2001-06-07  Juergen Vigna  <jug@sad.it>
13265
13266         * text.C (BreakAgain): subst spaces with tabs.
13267
13268         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13269         (resizeInsetsLyXText): set force on resizeLyXText.
13270
13271 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13272
13273         * gettext.h (gettext_init):
13274         (locale_init): use a real definition instead of a macro
13275
13276 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13277
13278         * Bufferview_pimpl.C:
13279         * LColor.h:
13280         * LColor.C: further lcolor tidies
13281
13282 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13283
13284         * BufferView_pimpl.C (updateScrollbar): simplify.
13285
13286         * BufferView2.C: don't include insets/insetinfo.h, change
13287         prototype for insertInset and call the Pimpl version. let
13288         updateInset call Pimpl version.
13289
13290         * BufferView.h: move inset_slept to BufferView::Pimpl, move
13291         gotoInset to BufferView::Pimpl
13292
13293 2001-06-01  Juergen Vigna  <jug@sad.it>
13294
13295         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13296         inside a LockingInset (is the update needed at all?).
13297
13298 2001-05-31  Juergen Vigna  <jug@sad.it>
13299
13300         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13301         here not the old one otherwise how should we compare it afterwards
13302         if it's the same!
13303
13304 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13305
13306         * lyxfont.C:
13307         * tabular.C:
13308         * tabular-old.C:
13309         * FontInfo.C: bring C functions into global namespace when
13310         necessary
13311
13312 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13313
13314         * LString.h: make sure config.h has been loaded before LString.h.
13315
13316         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13317         (one for each char read by EatLine!).
13318
13319         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13320         variables.
13321
13322 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13323
13324         * paragraph.C (BreakParagraph): set the inset_owner in the new par
13325         to the same as the par we break from
13326
13327 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13328
13329         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13330
13331         * MenuBackend.C (expand): also create menu entries for wide
13332         versions of the floats.
13333
13334         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13335
13336         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13337
13338         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13339         frontends/Makefile.am
13340
13341         * text2.C: adjust
13342         * text.C: adjust
13343
13344
13345         * tabular.C (getTokenValue): add std::
13346
13347         * tabular-old.C (getTokenValue): add std::
13348         (getTokenValue): ditto
13349         (getTokenValue): ditto
13350
13351         * screen.C (ToggleSelection): adjust
13352
13353         * lyxtext.h: put selection cursors inside a Selection struct.
13354
13355         * lyxfunc.C (moveCursorUpdate): adjust
13356
13357         * lyxfont.C (latexWriteStartChanges): add std::
13358
13359         * lyxfind.C: adjust
13360
13361         * font.h: delete with(char const *, LyXFont const &)
13362
13363         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13364
13365         * FontInfo.C (getFontname): add std::
13366
13367         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13368         (workAreaButtonPress): adjust
13369         (tripleClick): adjust
13370         (update): adjust
13371         (moveCursorUpdate): adjust
13372         (Dispatch): adjust
13373
13374         * BufferView2.C (gotoInset): adjust
13375
13376 2001-05-30  Juergen Vigna  <jug@sad.it>
13377
13378         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13379         to check pspell I add this as default as I now have new pspell
13380         libraries and they seem to use this.
13381
13382 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13383
13384         * text2.C (CutSelection): make the cursor valid before the call to
13385         ClearSelection.
13386
13387 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13388
13389         * kbsequence.C (parse): de-uglify a bit the parsing code, which
13390         relied on 0 terminated strings and other horrors. Bug found due to
13391         the new assert in lyxstring!
13392
13393         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13394         KP_ keys.
13395
13396 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13397
13398         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13399         to latinkeys.bind.
13400
13401         * lyxfunc.C (processKeySym): change method of getting to the
13402         self-insert char.
13403
13404         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13405         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13406         * BufferView_pimpl.[Ch]: here as private methods.
13407
13408 2001-05-28  Juergen Vigna  <jug@sad.it>
13409
13410         * text.C (SetHeightOfRow): added the update() call again as it is
13411         needed to initialize inset dimensions!
13412
13413 2001-05-16  Juergen Vigna  <jug@sad.it>
13414
13415         * text2.C (SetCharFont): Add new function with BufferView * and
13416         bool toggleall parameters for setting insets internal fonts.
13417         (SetFont): Freeze the undo as we may change fonts in Insets and
13418         all this change should be inside only one Undo!
13419
13420         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13421         setting font's in insets as for them we have the SetFont function!
13422
13423 2001-05-15  Juergen Vigna  <jug@sad.it>
13424
13425         * text2.C (ClearSelection): to be sure we REALLY don't have any
13426         selection anymore!
13427
13428         * tabular.C (TeXCellPreamble): fixed the left border problem for
13429         multicolumn cells.
13430
13431 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
13432
13433         * LaTeX.C (deplog): Make sure that the main .tex file is in the
13434         dependancy file
13435
13436 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13437
13438         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13439         LFUN_BREAKPARAGRAPH.
13440
13441         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13442         help test to "internal only", similar for LFUN_INSERT_URL
13443
13444         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13445         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13446         auto_region_delete and deadkeys.
13447
13448 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
13449
13450         * LColor.h:
13451         * LColor.C: remove some dead entries, tidy a little
13452
13453 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13454
13455         * lyxfunc.C (processKeySym): comment the Escape handling, remove
13456         commented code.
13457         (Dispatch): implement LFUN_ESCAPE
13458
13459         * commandtags.h: add LFUN_ESCAPE
13460
13461         * LyXAction.C (init): add entry for LFUN_ESCAPE
13462
13463         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13464         Remove commented code.
13465         (insertNote): moved here
13466         (open_new_inset): moved here
13467
13468         * BufferView[2].[Ch]: move insertNote and open_new_inset to
13469         BufferView_pimpl
13470
13471 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13472
13473         * kbmap.C (findbinding): clean it up and make it work correctly.
13474
13475         * lyx_main.C (init): do not pass argc and argv as parameters
13476
13477 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
13478
13479         * buffer.C: fix path for OS/2 & Win32
13480
13481         * lyx_gui.C:
13482         * lyx_main:
13483         * lyx_main.C: Added os:: class.
13484
13485         * os2_defines.h: update
13486
13487 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13488
13489         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13490         better by trying again with reduced state.
13491
13492 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13493
13494         * lyxrc.C (read): print error about invalid key sequence only when
13495         debugging (because not all latinX keysyms are known to some X
13496         servers)
13497
13498         * kbsequence.C (getiso): add a few std:: qualifiers
13499         (getiso): comment out extra return statement.
13500
13501 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13502
13503         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13504         handling.
13505         (Dispatch): enhance the accent inset a bit. (not perfect)
13506
13507 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13508
13509         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13510
13511 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13512
13513         * bufferlist.C (emergencyWrite): fix assert() call
13514
13515 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
13516
13517         * text.C (InsertChar): Added trivial patch to only send the "you
13518         can not do multiple spaces this way" message once during a
13519         session.
13520
13521 2001-05-08  Baruch Even  <baruch@lyx.org>
13522
13523         * Makefile.am: Changed order of libraries to get LyX to link properly
13524         with the gnome frontend.
13525
13526 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13527
13528         * LaTeXFeatures.h: add a std:: qualifier
13529
13530 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13531
13532         * paragraph.C (String): use stringstream
13533
13534 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13535
13536         * paragraph.C (writeFile): remove footflag arg
13537
13538         * buffer.C (makeLaTeXFile): use stringstream
13539         (latexParagraphs): remove footnot gurba
13540
13541         * LaTeXFeatures.C (getPackages): use stringstream
13542         (getMacros): likewise
13543         (getTClassPreamble): likewise
13544         (getFloatDefinitions): new method
13545
13546         * paragraph.C (writeFile): reindent
13547         (Erase): reindent
13548
13549         * WorkArea.h: revert the xpos + etc changes.
13550
13551         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13552
13553         * lyxparagraph.[Ch]: add copy constructor, remove Clone
13554
13555         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13556         (pasteSelection): likewise
13557         * text2.C (CreateUndo): likewise
13558
13559 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13560
13561         * minibuffer.C (peek_event): temporarily reduce the functionality
13562         of the minibuffer (to allow args on lfuns)
13563
13564         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13565         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13566
13567         * buffer.C (readInset): add compability reading of old float
13568         lists, add reading of new style float list.
13569         (readInset): avoid reevaluation of inscmd.getCmdName()
13570         (getLists): reindent
13571
13572         * MenuBackend.C (MenuItem): implement parsing of
13573         md_floatlistinsert and md_floatinsert.
13574         (expand::LastFiles): move initalizaton of iterators out of loop,
13575         avoid reevaluation.
13576         (expand::Documents): introduce typdedef vector<string> Strings,
13577         and use it.
13578         (expand::ExportFormats): introduce typedef vector<Format const *>
13579         Formats, and use it.
13580         (expand): implement FloatListInsert and FloatInsert.
13581
13582         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13583         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13584         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13585
13586         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13587         handling.
13588         (Dispatch::LFUN_FLOAT_LIST): implement
13589
13590 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13591
13592         * LaTeX.C (run): Fix problem with --export code.
13593
13594 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13595
13596         * BufferView.[Ch] (workarea): removed.
13597         (getClipboard) new method; wrapper for workarea()->getClipboard()
13598
13599         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13600         bug.
13601
13602         * WorkArea.h (width, height, xpos, ypos): These methods all
13603         returned the dimensions of the work_area sub-area of WorkArea,
13604         resulting in a position error if the WorkArea were resized. Now
13605         return the dimensions of the entire WorkArea.
13606
13607         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13608
13609 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13610
13611         * LaTeX.C (deplog): correct the syntax of regex reg1
13612
13613 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13614
13615         * undo.C: remove !NEW_INSETS cruft
13616
13617 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13618
13619         * text2.C: remove !NEW_INSETS cruft
13620
13621         * text.C: remove !NEW_INSETS cruft
13622
13623         * tabular.C: remove !NEW_INSETS cruft
13624
13625         * spellchecker.C: remove !NEW_INSETS cruft
13626
13627         * lyxtext.h: remove !NEW_INSETS cruft
13628
13629         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13630
13631         * lyxfunc.C: remove !NEW_INSETS cruft
13632
13633         * lyxfind.C: remove !NEW_INSETS cruft
13634
13635         * lyx_cb.C: remove !NEW_INSETS cruft
13636
13637         * figureForm.C: remove  !NEW_INSETS cruft
13638
13639         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13640
13641         * buffer.[Ch]: remove !NEW_INSETS cruft
13642
13643         * ToolbarDefaults.C: remove !NEW_INSETS cruft
13644
13645         * CutAndPaste.C: remove !NEW_INSETS cruft
13646
13647         * BufferView_pimpl.C: remove !NEW_INSETS cruft
13648
13649         * BufferView2.C: remove !NEW_INSETS cruft
13650
13651         * BufferView.h: remove !NEW_INSETS cruft
13652
13653 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13654
13655         * Lsstream.h: include LString.h before the sstream headers to
13656         fix problem with gcc 2.95.3 and lyxstring
13657
13658 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13659
13660         * lyx_main.C: add using directives when needed for C functions
13661         declared in std:: namespace.
13662
13663 2001-04-27  Juergen Vigna  <jug@sad.it>
13664
13665         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13666         (SetHeightOfRow): comment out the update call should not be needed!
13667
13668 2001-04-13  Juergen Vigna  <jug@sad.it>
13669
13670         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13671         (LyXTabular): tried to minimize operator= operations (and realized
13672         hopfully Lars wish).
13673
13674 2001-04-27  Juergen Vigna  <jug@sad.it>
13675
13676         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13677
13678 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13679
13680         * lyxfunc.C (Dispatch): hack to make listof algorithm work
13681
13682         * buffer.C (readInset): hack to make listof algorithm work
13683
13684         * BufferView_pimpl.C: hack to make listof algorithm work
13685
13686 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13687
13688         * LyXAction.C: removed all !NEW_INSETS cruft
13689         (init): moved lfun_item in method
13690
13691         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13692
13693 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13694
13695         * BufferView2.C (theLockingInset): white space.
13696
13697 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13698
13699         * minibuffer.C: include <iostream>
13700
13701         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13702
13703         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13704
13705         * commandtags.h: add LFUN_TRANSPOSE_CHARS
13706
13707         * text.[Ch] (TransposeChars): new method
13708
13709 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13710
13711         * call message directly through LyXView instead of through LyXFunc
13712         * BufferView2.C: adjust
13713         * BufferView_pimpl.C: adjust
13714         * FontLoader.C: adjust
13715         * buffer.C: adjust
13716         * bufferview_funcs.C: adjust
13717         * converter.C: adjust
13718         * figureForm.C: adjust
13719         * importer.C: adjust
13720         * lyx_cb.C: adjust
13721         * lyx_gui_misc.C: adjust
13722         * lyxfunc.C: adjust
13723         * lyxvc.C: adjust
13724         * text2.C: adjust
13725         + more files in subdirs
13726
13727         * lyxparagraph.h (size): move up int file
13728         (GetLayout): ditto
13729
13730         * adjust all uses of Assert to lyx::Assert.
13731
13732         * BufferView2.C (ChangeCitationsIfUnique): adjust for
13733         lyxfunctional in namespace lyx
13734         * layout.C (hasLayout): ditto
13735         (GetLayout): ditto
13736         (GetLayout): ditto
13737         (delete_layout): ditto
13738         (NumberOfClass): ditto
13739         * converter.C (GetFormat): ditto
13740         (GetNumber): ditto
13741         (Add): ditto
13742         (Delete): ditto
13743         (SetViewer): ditto
13744         * bufferlist.C (getFileNames): ditto
13745         (emergencyWriteAll): ditto
13746         (exists): ditto
13747         (getBuffer): ditto
13748         * MenuBackend.C (hasSubmenu): ditto
13749         (hasMenu): ditto
13750         (getMenu): ditto
13751         * BufferView_pimpl.C (getInsetByCode): ditto
13752
13753 2001-04-18  Juergen Vigna  <jug@sad.it>
13754
13755         * vspace.C (asLatexString): fixed the 100% problem.
13756
13757 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13758
13759         * lyxfunc.C (Dispatch):
13760         * minibuffer.C:
13761         * minibuffer.h: add a few std:: qualifiers
13762
13763 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13764
13765         * minibuffer.[Ch]: reimplement so that commands is initiated and
13766         run from lyxfunc, simplified som handling, and made the completion
13767         and history code for complete. wip.
13768
13769         * lyxfunc.C (processKeySym): call message
13770         (miniDispatch): new temporary method
13771         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13772         (LFUN_MESSAGE): implement
13773         (LFUN_MESSAGE_PUSH): implement
13774         (LFUN_MESSAGE_POP): implement
13775         (initMiniBuffer): the initial/defualt minibuffer message.
13776
13777         * lyxfont.[Ch]: inline some more getters
13778
13779         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13780
13781         * lyx_gui_misc.[Ch] (WriteStatus): remove method
13782
13783         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13784         (AutoSave): use LFUN_MESSAGE
13785         (Reconfigure): ditto
13786
13787         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13788
13789         * figureForm.C: use LFUN_MESSAGE
13790
13791         * converter.C (runLaTeX): use LFUN_MESSAGE
13792
13793         * bufferview_funcs.C: use LFUN_MESSAGE
13794         (Melt): ditto
13795         (changeDepth): ditto
13796
13797         * bufferparams.h: use boost::
13798
13799         * bufferlist.h: inherit privately from noncopyable
13800
13801         * bufferlist.C (loadLyXFile): remove some commented code.
13802
13803         * buffer.C (runChktex): use LFUN_MESSAGE
13804
13805         * ShareContainer.h: inherit privately from noncopyable
13806
13807         * ParagraphParameters.[hC] (depth): inline it.
13808
13809         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13810         methods.
13811         (message): new method
13812         (messagePush): ditto
13813         (messagePop): ditto
13814         (show): init minibuffer
13815         (showState): direct call
13816
13817         * LaTeX.[Ch]: inherit privately from noncopyable
13818         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13819         instead of WriteStatus.
13820
13821         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13822
13823         * BufferView_pimpl.C (buffer): don't init minibuffer
13824         (workAreaButtonPress): use LFUN_MESSAGE
13825         (workAreaButtonRelease): ditto
13826         (savePosition): ditto
13827         (restorePosition): ditto
13828         (MenuInsertLyXFile): ditto
13829         (workAreaExpose): don't init minibuffer
13830         (update): remove commented code, simplify
13831
13832         * BufferView2.C (openStuff): use LFUN_MESSAGE
13833         (toggleFloat): ditto
13834         (menuUndo): ditto
13835         (menuRedo): ditto
13836         (copyEnvironment): ditto
13837         (pasteEnvironment): ditto
13838         (copy): ditto
13839         (cut): ditto
13840         (paste): ditto
13841         (gotoInset): ditto
13842         (updateInset): remove some commented code
13843
13844         * lastfiles.h: inherit privately from noncopyable
13845         * layout.h: ditto
13846         * lyx_gui.h: ditto
13847         * lyx_main.h: ditto
13848         * lyxlex.h: ditto
13849         * lyxlex_pimpl.h: ditto
13850
13851         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13852         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13853         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13854
13855         * LyXAction.h: inherit privately from noncopyable, add methods
13856         func_begin, func_end, returning iterators to the func map.
13857
13858         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13859         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13860         (func_begin): new method
13861         (func_end): new method
13862
13863         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13864         and not)
13865         (copySelection): ditto
13866         (pasteSelection): ditto
13867
13868         * BufferView.C: whitespace change
13869         * BufferView.h: inherit privately from noncopyable
13870
13871 2001-04-16  Allan Rae  <rae@lyx.org>
13872
13873         * tabular-old.C (l_getline):
13874         * spellchecker.C (sc_check_word):
13875         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13876         an unrecognised preprocessor directive.  So ensure they're wrapped.
13877
13878 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13879
13880         * src/exporter.C (Export): Give an error message when path to file
13881         contains spaces.
13882
13883 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13884
13885         * LaTeX.C (deplog): Always check that foundfile exists.
13886
13887 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13888
13889         * lyx_main.h:
13890         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13891
13892 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13893
13894         * tabular.[Ch] (getLabelList): implement new method
13895
13896         * minibuffer.h: comment ouf setTiimer
13897
13898         * minibuffer.C (ExecutingCB): constify res
13899         (peek_event): constify s
13900         (Set): constify ntext
13901         (Init): constify nicename
13902
13903         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13904
13905         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13906         (savePosition): use two params to Minibuffer::Set
13907         (restorePosition): ditto
13908
13909 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13910
13911         * lyx_main.C: include language.h
13912
13913         * Makefile.am (lyx_main.o): add language.h
13914
13915 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13916
13917         * exporter.C:
13918         * paragraph.C:
13919         * screen.C:
13920         * tabular.C:
13921         * CutAndPaste.C: include gettext.h
13922
13923         * lyxfont.h: remove old hack with ON and OFF.
13924
13925         * lyxparagraph.h:
13926         * lyxfont.h: do not include language.h...
13927
13928         * BufferView2.C:
13929         * LaTeXFeatures.C:
13930         * Painter.C:
13931         * bufferview_funcs.C:
13932         * font.C:
13933         * lyxfont.C:
13934         * text.C:
13935         * text2.C:
13936         * trans_mgr.C:
13937         * paragraph.C: ... but do it here instead
13938
13939 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13940
13941         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13942
13943         * tabular.C: small reformat
13944
13945         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13946         NEW_INSETS version
13947         (GetChar): ditto
13948         (BreakParagraph): ditto
13949         (SetOnlyLayout): ditto
13950         (SetLayout): ditto
13951
13952         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13953         with one arg less.
13954
13955         * lastfiles.C: removed most using decl, add std:: where needed
13956
13957         * buffer.C: ws changes
13958
13959         * MenuBackend.C (class compare_format): put into anon namespace
13960         (expand): constify label, names, action, action2
13961         (expand):
13962
13963         * text.C (SingleWidth): constify font
13964         (IsBoundary): constify rtl2
13965         (GetVisibleRow): constify ww
13966
13967         * LaTeX.C (deplog): constify logfile
13968
13969         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13970         start_x, end_x
13971         (workAreaExpose): constify widthChange, heightChange
13972
13973         * lyxrow.C (par): moved
13974         (height): moved
13975         (next): moved
13976         * lyxrow.h: as inlines here
13977
13978         * lyxfont.h (shape): moved from lyxfont.C
13979         (emph): moved from lyxfont.C
13980
13981         * lyxfont.C (LyXFont): use initialization list for all
13982         constructors
13983         (shape): move to lyxfont.h as inline
13984         (emph): move to lyxfont.h as inline
13985
13986
13987 2001-04-04  Juergen Vigna  <jug@sad.it>
13988
13989         * vspace.C: had to include stdio.h for use of sscanf
13990
13991 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
13992
13993         * BufferView.h:
13994         * BufferView_pimpl.h: remove xforms cruft. Both classes are
13995         independent of xforms.
13996
13997 2001-04-02  Juergen Vigna  <jug@sad.it>
13998
13999         * spellchecker.C: fixed namespace placing!
14000
14001 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
14002
14003         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14004         the LyXParagraph * is 0.
14005
14006 2001-03-29  Juergen Vigna  <jug@sad.it>
14007
14008         * vspace.C: added support for %, c%, p%, l%.
14009         (stringFromUnit): added helper function.
14010         (asLatexString): changed to give right results for the %-values.
14011
14012         * buffer.C: convert the widthp in a width%.
14013
14014 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
14015
14016         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14017         figureForm.[Ch].
14018
14019         * figureForm.[Ch]: stripped the FD_from_figure manipulation
14020         code out of lux_cb.[Ch], ready for its (imminent?) removal.
14021
14022         * lyx_cb.[Ch]: see above.
14023
14024         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14025         form1.[Ch].
14026
14027         * form1.[Ch]:
14028         * lyx.[Ch]: replaced by figure_form.[Ch].
14029
14030         * lyx_gui.C:
14031         * lyx_gui_misc.C:
14032         * lyxfunc.C: changed headers associated with above changes.
14033
14034 2001-03-27  Juergen Vigna  <jug@sad.it>
14035
14036         * BufferView_pimpl.C: set the temporary cursor right!
14037
14038 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
14039
14040         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14041
14042 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
14043
14044         * LString.h: removed "using std::getline"!
14045
14046         * BufferView_pimpl.C (Dispatch): changes due to changes in
14047         InsetInclude::Params.
14048
14049         * buffer.C (tag_name): removed redundant break statements as they were
14050         producing lots of warnings with my compiler.
14051
14052 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14053
14054         * LString.h: add "using std::getline" when using the real <string>.
14055
14056 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
14057
14058         * buffer.C: removed bitset usage.
14059         PAR_TAG moved to an anonymous name space.
14060         (tag_name): new funtion, also in the anonymous namespace.
14061         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14062         (makeDocBookFile): clean code. Completed transition from string arrays
14063         to string vectors.
14064         (SimpleDocBookOnePar): code clean.
14065
14066 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14067
14068         * tabular.C: add some comments.
14069
14070 2001-03-22  Juergen Vigna  <jug@sad.it>
14071
14072         * buffer.C (parseSingleLyXformat2Token): redone the minipage
14073         compatibility read a bit and fixed bug with minipage in different
14074         depth.
14075
14076 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
14077
14078         * buffer.C (pop_tag): removed.
14079         (push_tag): removed.
14080         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14081         array replaced with vector. Added support for CDATA sections.
14082         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14083         at any nest level.
14084         (makeDocBookFile): XML conformant declaration of CDATA section,
14085         fixed bug related to <emphasis> in the first paragraph char.
14086         (sgmlOpenTag): exclude empty tags.
14087         (sgmlCloseTag): ditto.
14088
14089         * buffer.h (pop_tag): removed.
14090         (push_tag): removed.
14091
14092 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
14093
14094         * language.h (Languages): added size_type and size().
14095
14096 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14097
14098         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14099         response on compability reading of minipages. One probliem is that
14100         the old usage of minipages was «flertydig»
14101
14102         * several files here and in subdirs: don't use static at file
14103         scope use anon namespaces instead.
14104
14105 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
14106
14107         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14108         LaTeX output. This is necessary for Literate document
14109         processing.
14110
14111 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14112
14113         * buffer.C: insert hfill when needed.
14114
14115         * tabular.C (l_getline): use string::erase, small whitespace change.
14116
14117         * BufferView_pimpl.C: try the anon namespace.
14118         * WorkArea.C: ditto
14119
14120 2001-03-16  Juergen Vigna  <jug@sad.it>
14121
14122         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14123         otherwise it won't open options-dialogs.
14124
14125         * buffer.C: honor pextraWidth(p) on converting minipages.
14126
14127         * tabular.C (l_getline): changed the functions to strip trailing \r.
14128
14129 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
14130
14131         * BufferView_pimpl.C:
14132         * minibuffer..C: added "using SigC::slot" declaration.
14133
14134 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14135
14136         * lyxlex_pimpl.h: noncopyable is in namespace boost.
14137
14138         * text2.C: ditto
14139
14140         * text.C: ditto
14141
14142         * paragraph.C: ditto
14143
14144         * lyxtext.h: NO_PEXTRA
14145
14146         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14147
14148         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14149         * ParameterStruct.h: ditto
14150         * ParagraphParameters.h: ditto
14151         * lyxparagraph.h: ditto
14152
14153 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14154
14155         * buffer.C: add compability for minipage alignment.
14156         (latexParagraphs): remove unwanted pextra check.
14157
14158         * several files: remove CXX_WORKING_NAMESPACES
14159
14160         * buffer.C (pop_tag): tie is in namespace boost
14161
14162         * BufferView.h: noncopyable is in namespace boost
14163         * lyxlex.h: ditto
14164         * lyx_main.h: ditto
14165         * lyx_gui.h: ditto
14166         * layout.h: ditto
14167         * lastfiles.h: ditto
14168         * bufferlist.h: ditto
14169         * ShareContainer.h: ditto
14170         * LyXView.h: ditto
14171         * LyXAction.h: ditto
14172         * LaTeX.h: ditto
14173
14174 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14175
14176         * Merging changes from BRANCH_MVC back into HEAD.
14177
14178         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14179
14180 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
14181
14182         * BufferView_pimpl.C: change from intl.C
14183
14184         * combox.h:
14185         * combox.C:
14186         * Makefile.am: move combox.*
14187
14188         * form1.h:
14189         * form1.C:
14190         * lyx_gui.C:
14191         * intl.h:
14192         * intl.C: remove dialog (covered by prefs)
14193
14194 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14195
14196         * lyxfunc.C (Dispatch): removed redundant break statement.
14197
14198 2001-03-14  Juergen Vigna  <jug@sad.it>
14199
14200         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14201
14202 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14203
14204         * buffer.C: add hack to fix compability reading of minipages.
14205
14206 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
14207
14208         * buffer.C (getLists): Cleanup.
14209
14210 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14211
14212         * lyxfont.C (update): don't honor toggleall on font size.
14213
14214 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
14215
14216         * bmtable.c:
14217         * bmtable.h:
14218         * Makefile.am: moved to frontends/xforms/
14219
14220         * lyx_gui_misc.C:
14221         * lyxfunc.C:
14222         * BufferView_pimpl.C: changes for moved mathpanel
14223
14224 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14225
14226         * gettext.h: fix gettext_init() in --disable-nls
14227
14228 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14229
14230         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14231
14232 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
14233
14234         * lyx.C:
14235         * lyx.h: strip external form
14236
14237 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14238
14239         * BufferView_pimpl.C: add comment, destroySplash()
14240
14241 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14242
14243         * BufferView_pimpl.C:
14244         * LyXAction.C:
14245         * buffer.C:
14246         * commandtags.h:
14247         * lyxfunc.C: use re-worked insetinclude
14248
14249 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14250
14251         * buffer.C: add using std::stringstream.
14252
14253         * lyx_cb.C: readd using std::ios.
14254
14255         * buffer.C: add using std::map.
14256
14257         * BufferView_pimpl.C: add using std::vector.
14258
14259         * ShareContainer.h: add std:: to swap.
14260
14261         * buffer.h: add some typedefs
14262         * buffer.C (getLists): use them
14263         (getLists): renamed from getTocList.
14264         add a counter for the different float types and use it in the
14265         generated string.
14266         (getLists): use the same counter for the NEW_INSETS and the "non"
14267         NEW_INSETS
14268
14269         * lyx_cb.h: remove unused items, includes, using etc.
14270
14271         * ShareContainer.h: remove some commented code, add more comments
14272         and "documentation".
14273
14274 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14275
14276         * buffer.C (getTocList): make the list also when NEW_INSETS is
14277         defined.
14278
14279         * buffer.h: remove TocType
14280
14281         * buffer.C (getTocList): change to return a map<string,
14282         vector<TocItem> >, implement for dynamic number of list.
14283
14284         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14285         * text2.C (PasteSelection): adjust
14286         * CutAndPaste.C (pasteSelection): adjust
14287
14288         * FloatList.C (FloatList): update from the new_insets branch.
14289         * Floating.[Ch]: ditto
14290         * LaTeXFeatures.C: ditto
14291         * buffer.C: ditto
14292         * lyxlex_pimpl.C: ditto
14293
14294         * paragraph.C (Last): remove when NEW_INSETS is defined.
14295
14296         * other file: changes because of the above.
14297
14298 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14299
14300         * lyxparagraph.h: rename next to next_, previous to previous_,
14301         make them private for NEW_INSETS. Rename Next() to next(),
14302         Previous() to previous().
14303
14304         * other files: changes because of the above.
14305
14306 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
14307
14308         * BufferView.h:
14309         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14310         problem.
14311
14312 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14313
14314         * main.C (main): pass lyx_localedir to gettext_init().
14315
14316         * gettext.h: remove locale_init and gettext_init macros
14317
14318         * gettext.C (locale_init): new function
14319         (gettext_init): new function
14320
14321         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14322         setlocale().
14323
14324 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
14325
14326         * Moved credits to frontends:
14327         * credits.[Ch]: removed
14328         * credits_form.[Ch]: removed
14329         * lyx_gui_misc.C: remove credits stuff
14330         * Makefile.am:
14331
14332 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14333
14334         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14335
14336         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14337         unneeded destructor.
14338
14339         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14340         a standalone pointer again.
14341
14342         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14343
14344 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
14345
14346         * Makefile.am:
14347         * filedlg.h:
14348         * filedlg.C:
14349         * LyXAction.C:
14350         * ToolbarDefaults.C:
14351         * bufferlist.C:
14352         * commandtags.h:
14353         * form1.C:
14354         * form1.h:
14355         * lyx_cb.C:
14356         * lyx_cb.h:
14357         * lyxfunc.h:
14358         * lyxfunc.C:
14359         * BufferView_pimpl.C: use new file dialog in GUII
14360
14361         * lyx_cb.h:
14362         * lyx_cb.C: remove LayoutsCB to Toolbar
14363
14364 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14365
14366         * ShareContainer.h (get): add std:: qualifier
14367
14368 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14369
14370         * ShareContainer.h: define a proper ShareContainer::value_type
14371         type (and use typename to please compaq cxx)
14372
14373 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14374
14375         * lyxparagraph.h: move serveral local vars to
14376         ParameterStruct/ParagraphParameters., use ShareContainer in
14377         FontTable., make vars in FontTable private and add getter and
14378         setter.
14379
14380         * paragraph.C: changes because of the above.
14381
14382         * lyxfont.h: remove copy constructor and copy assignment. (the
14383         default ones is ok), move number inside FontBits. move inlines to
14384         lyxfont.C
14385
14386         * lyxfont.C: add number to initializaton of statics, move several
14387         inlines here. constify several local vars. some whitespace
14388         cleanup. Dont hide outerscope variables.
14389
14390         * Spacing.h: add two new constructors to match the set methods.
14391
14392         * ShareContainer.h: new file, will perhaps be moved to support
14393
14394         * ParameterStruct.h: new file
14395
14396         * ParagraphParameters.h: new file
14397
14398         * ParagraphParameters.C: new file
14399
14400         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14401         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14402
14403         * BufferView_pimpl.C: ParagraphParameter changes.
14404         * buffer.C: Likewise.
14405         * bufferview_funcs.C: Likewise.
14406         * text.C: Likewise.
14407         * text2.C: Likewise.
14408
14409 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14410
14411         * lyxfind.C (LyXReplace): do not redefine default argument in
14412         implementation.
14413         (IsStringInText): ditto
14414         (SearchForward): ditto
14415         (SearchBackward): ditto
14416
14417 2001-03-06  Juergen Vigna  <jug@sad.it>
14418
14419         * lyxfind.C (IsStringInText): put parentes around expressions.
14420
14421 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
14422
14423         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14424
14425 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
14426
14427         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14428
14429         * stl_string_fwd.h: add comment
14430
14431         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14432
14433         * tabular.h:
14434         * tabular.C: remove unused DocBook methods
14435
14436         * intl.C:
14437         * language.C:
14438         * paragraph.C:
14439         * buffer.C:
14440         killed DO_USE_DEFAULT_LANGUAGE
14441
14442 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14443
14444         * lyx_gui.C: do not include language.h.
14445
14446         * bufferview_funcs.C (ToggleAndShow): do not provide optional
14447         arguments in function implementation.
14448
14449 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14450
14451         * BufferView_pimpl.C: add <ctime>
14452
14453 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14454
14455         * BufferView_pimpl.C: add using std::find_if
14456
14457 2001-02-27  José Matos  <jamatos@fep.up.pt>
14458
14459         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14460         by OnlyPath.
14461
14462 2001-02-11  José Matos  <jamatos@fep.up.pt>
14463
14464         * buffer.C (makeDocBookFile): command styles now have a parameter as
14465         "title" by default.
14466
14467 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
14468
14469         * layout_forms.[Ch]: removed
14470         * lyx_cb.[Ch]: out character
14471         * lyx_gui.C: out character
14472         * lyx_gui_misc.C: out character
14473         * bufferview_funcs.C: : out character,
14474         added toggleall as parameter in ToggleAndShow
14475
14476 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
14477
14478         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14479
14480         * text2.C (SetCurrentFont): Disable number property at boundary.
14481
14482 2001-02-26  Juergen Vigna  <jug@sad.it>
14483
14484         * lyxfunc.C (getStatus): added a string argument override function so
14485         that this is correctly called from LyXFunc::Dispatch if it contains a
14486         do_not_use_argument which is used!
14487         (Dispatch): added check for "custom" export and call appropriate func.
14488
14489 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
14490
14491         * lyxrc.C: Add language_command_local, language_use_babel and
14492         language_global_options.
14493
14494         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14495
14496         * buffer.C (makeLaTeXFile): Use language_use_babel and
14497         language_global_options.
14498
14499 2001-02-23  Juergen Vigna  <jug@sad.it>
14500
14501         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14502         which works with LyXText and putted it inside BufferView. Here now we
14503         only call for that part the BufferView::Dispatch() function.
14504
14505         * BufferView.C (Dispatch): added.
14506
14507         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14508         functions which needs to use a LyXText over from LyXFunc.
14509         (MenuInsertLyXFile): added
14510         (getInsetByCode): added
14511         (moveCursorUpdate): added
14512         (static TEXT): added
14513
14514 2001-02-22  Juergen Vigna  <jug@sad.it>
14515
14516         * BufferView_pimpl.C (update): call a status update to see if LyXText
14517         needs it.
14518
14519 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14520
14521         * vc-backend.C (revert): implement for CVS
14522         (getLog): implement for CVS
14523
14524 2001-02-20  Juergen Vigna  <jug@sad.it>
14525
14526         * text2.C (ClearSelection): added BufferView param for inset_owner call
14527
14528         * lyxfunc.C (TEXT): added this function and use it instead of
14529         directly owner->view()-text of getLyXText().
14530
14531 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
14532
14533         * src/layout_forms.C: out preamble
14534         * src/layout_forms.h: out preamble
14535         * src/lyx_cb.C: out preamble
14536         * src/lyx_cb.h: out preamble
14537         * src/lyx_gui.C: out preamble
14538         * src/lyx_gui_misc.C: out preamble
14539         * src/lyxfunc.C: connect with guii preamble
14540
14541 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
14542
14543         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14544
14545 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
14546
14547         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14548         whether to run bibtex.
14549
14550 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
14551
14552         * Makefile.am (lyx_SOURCES): Remove BackStack.h
14553
14554 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14555
14556         * Makefile.am (lyx_SOURCES): removed bibforms.h
14557
14558         * vspace.h: doxygen
14559
14560         * text.C (GetVisibleRow): make several local vars const
14561
14562         * tabular.C: small cleanup.
14563
14564         * lyxserver.C (callback): use compare instead of strncmp
14565
14566         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14567         inlines to after class or to paragraph.C
14568
14569         * lyxfont.h: remove friend operator!=
14570
14571         * converter.h: move friend bool operator< to non friend and after
14572         class def.
14573
14574         * combox.h: small cleanup
14575
14576         * buffer.h: doxygen, remove unused constructor, move inclas inlies
14577         to inlines after class def.
14578
14579         * buffer.C (pop_tag): use string operations instead of strcmp
14580
14581         * bmtable.c: doxygen, small cleanup
14582
14583         * LaTeX.h: remove friend operator==
14584
14585 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
14586
14587         * screen.C:
14588         * lyxrc.[Ch]:
14589         * lyxfunc.C:
14590         * lyxfont.[Ch]:
14591         * lyx_cb.C:
14592         * intl.[Ch]:
14593         * commandtags.h:
14594         * buffer.C:
14595         * WorkArea.[Ch]:
14596         * LyXAction.C:
14597         * BufferView_pimpl.C:
14598         * BufferView.[Ch]: remove cruft
14599
14600 2001-02-14  Juergen Vigna  <jug@sad.it>
14601
14602         * lyxfunc.C: removed #if 0 unused code
14603
14604         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14605
14606         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14607
14608         * text2.C (SetSelection): added a BufferView * parameter
14609
14610 2001-02-13  Juergen Vigna  <jug@sad.it>
14611
14612         * lyxfunc.C (Dispatch): fixed protected blank problem.
14613         * BufferView2.C (protectedBlank): added LyxText * parameter.
14614
14615         * tabular.C (AppendRow): forgot to set row_info of newly added row.
14616         (AppendColumn): same as above for column_info.
14617
14618         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14619         (moveCursorUpdate): use a LyXText param for support of InsetText.
14620
14621         * BufferView_pimpl.C (doubleClick): added support for InsetText.
14622         (tripleClick): ditto
14623
14624         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14625
14626         * BufferView_pimpl.C (update): added LyXText param to honor insets.
14627
14628         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14629
14630         * text2.C (SetSelection): set correct update status if inset_owner
14631         (ToggleFree): ditto
14632
14633 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
14634
14635         * tabular.C: remove some commented code.
14636
14637 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
14638
14639         * BufferView_pimpl.C: call hideSplash()
14640
14641         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14642
14643         * include_form.h:
14644         * bibforms.h: remove
14645
14646         * lyxfunc.C:
14647         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14648           add LFUN_CHILD_CREATE
14649
14650         * counters.h: fix tiny typo
14651
14652         * lyx_cb.C:
14653         * lyx.h:
14654         * lyx_gui.C:
14655         * lyx.C: move splash to frontends/xforms/
14656
14657         * lyx_gui_misc.C: move Include and Bibform to frontends
14658
14659         * lyxvc.h: clarify comment
14660
14661         * vspace.C: tiny housekeeping
14662
14663 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
14664
14665         * text.C (PrepareToPrint): RTL Fix.
14666
14667         * paragraph.C (GetUChar): New method.
14668         (String):  Use GetUChar.
14669
14670         * buffer.C (asciiParagraph): Use GetUChar.
14671
14672 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
14673
14674         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14675
14676 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
14677
14678         * buffer.h:
14679         * buffer.C: rename to getLogName(), handle
14680           build log / latex log nicely
14681
14682 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14683
14684         * MenuBackend.C:
14685         * MenuBackend.h: remove support for reference menuitem type.
14686
14687 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
14688
14689         * BufferView_pimpl.C: housekeeping
14690         * BufferView_pimpl.h:
14691         * LyXView.h:
14692         * Makefile.am:
14693         * Timeout.C:
14694         * Timeout.h:
14695         * minibuffer.h: move Timeout GUI-I
14696
14697 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
14698
14699         * lyxrc.C (read): Update converters data-structures.
14700
14701 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
14702
14703         * LaTeX.h (operator!=): add operator != for Aux_Info
14704
14705 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
14706
14707         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14708
14709         * LaTeXLog.C: deleted, useful code moved to Buffer
14710
14711         * buffer.h:
14712         * buffer.C: new function getLatexLogName()
14713
14714         * lyx_gui_misc.C:
14715         * lyx_gui.C:
14716         * lyxvc.C:
14717         * lyxvc.h:
14718         * lyxfunc.C: use frontends for LaTeX and VC logs
14719
14720 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14721
14722         * LaTeX.h: yet another std:: that Allan forgot.
14723
14724         * Variables.C (set): renamed from isset(), because this clashes
14725         with some HP-UX macros (grr).
14726
14727 2001-02-06  Allan Rae  <rae@lyx.org>
14728
14729         * LaTeX.h: Another bug fix.  Missing std:: this time.
14730
14731 2001-02-04  Allan Rae  <rae@lyx.org>
14732
14733         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14734         floats problem. I've left it commented out because it's not quite
14735         correct.  It should also test that the current object is a table or
14736         figure inset.  But I haven't gotten around to figuring out how to do
14737         that.  I *think* it'll be something like: "table" == inset.type()
14738
14739         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14740         bool.
14741
14742 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
14743
14744         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14745         all the citation/databases/styles in the auxilary file.
14746         (run): Rerun latex if there was a babel language error.
14747
14748 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
14749
14750         * text.C (Backspace): Preserve the font when changing newline char
14751         with a space.
14752         (BreakParagraph): If the cursor is before a space, delete the space.
14753
14754         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14755
14756 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
14757
14758         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14759         new argument (code).
14760         (ChangeCitationsIfUnique): New method.
14761
14762         * paragraph.C (GetPositionOfInset): Handle bibkey.
14763
14764 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14765
14766         * BufferView_pimpl.h: change type of Position::par_pos to
14767         LyXParagraph::size_type.
14768
14769 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
14770
14771         * BufferView_pimpl.C (savePosition, restorePosition): Write
14772         messages to minibuffer.
14773
14774 2001-01-28  José Matos  <jamatos@fep.up.pt>
14775
14776         * buffer.C (makeDocBookFile): adds support for document language.
14777         A silly restriction on the name of LatexCommand types where removed.
14778         Added support for CDATA sections, allows to chars unescaped, used
14779         among others in code, to avoid escape < and >.
14780
14781 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14782
14783         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14784         saved positions instrad of a stack. Furthermore, a position is
14785         stored using paragraph id/paragraph position.
14786
14787         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14788         Remove LFUN_REF_BACK.
14789
14790 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14791
14792         * converter.C (dvipdfm_options): New method.
14793
14794 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14795
14796         * vspace.C (isValidLength): Fix for empty input string.
14797
14798 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14799
14800         * LyXAction.C (init): change description of LFUN_FIGURE to
14801         "Insert Graphics"
14802
14803 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14804
14805         * LaTeX.C: add using directive
14806
14807 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14808
14809         * MenuBackend.C (expand): Fix the sorting of the formats.
14810
14811 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14812
14813         * lyx_main.C: tiny error message fix
14814
14815 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14816
14817         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14818         calling fl_initialize(). This fixes the problem with ',' as
14819         decimal separator in text files.
14820
14821 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14822
14823         * trans.C (process): Fix the keymap bug.
14824
14825 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
14826
14827         * LaTeX.C (scanAuxFiles): New method. Provides support for
14828         multiple bibliographies (when using the bibtopic/bibunits pacakges).
14829         (scanLogFile) Scan for "run BibTeX" messages.
14830
14831         * buffer.C (makeLaTeXFile): Do not load the ae package when using
14832         OT1 font encoding. Also, load the aecompl package if the ae
14833         package is loaded.
14834
14835         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14836
14837 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14838
14839         * texrow.C (increasePos): turn two error messages into debug
14840         messages.
14841
14842 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
14843
14844         * LaTeX.C (scanAux): Handle the \@input macro.
14845         (runBibTeX): Use scanAux().
14846
14847         * language.C (latex_options_): New field.
14848
14849         * LaTeXFeatures.C (getMacros): Add language macros.
14850
14851         * buffer.C (makeLaTeXFile): Small fix.
14852
14853 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14854
14855         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14856
14857         * text2.C: add a using directive.
14858
14859 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14860
14861         * BufferView2.C:
14862         * lyx_gui_misc.h:
14863         * lyxfr1.C:
14864         * lyxfunc.C: kill LyXBell.
14865
14866 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14867
14868         * text.C (IsBoundary): Remove the error message
14869
14870         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14871
14872         * lyxrc.C (setDefaults): Correct initialization value for
14873         font_norm_type.
14874
14875 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14876
14877         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14878         gotoError().
14879
14880         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14881         and GotoNextNote().
14882
14883         * src/LyXAction.C: Added reference-next.
14884
14885         * text.C (InsertChar): Use contains instead of strchr.
14886
14887         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14888
14889 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14890
14891         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14892         alignment commands (when needed).
14893
14894         * text.C (InsertChar): Add ':' to number separator chars.