]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
5d46b4380c582ca5bf507c090677da80d077fcce
[lyx.git] / src / ChangeLog
1
2 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3
4         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
5         bogus "rebuild cursor" code
6
7 2004-03-11  André Pönitz  <poenitz@gmx.net>
8
9         * buffer.[Ch]: use InsetText instead of LyXText as container for 
10         the main lyx text.
11
12         * dociterator.[Ch]: drop the BufferView * member which is not needed
13         anymore after the change to buffer.C
14
15         * paragraph_funcs.C:
16         * text.C:
17         * text2.C:
18         * BufferView.[Ch]:
19         * BufferView_pimpl.[Ch]:
20         * cursor.[Ch]:
21         * cursor_slice.[Ch]: adjust
22
23         * text3.C: fix bug in mathDispatch
24
25 2004-03-08  André Pönitz  <poenitz@gmx.net>
26
27         * undo.[Ch]: use 'StableDocumentIterator' as base for
28         the Undo struct.
29
30 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
31
32         * LaTeXFeatures.C:
33         * bufferparams.[Ch]: add jurabib support and param.
34
35         * LaTeX.C: add FIXME/comment.
36
37 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
38
39         * buffer.C: increment file format to 230.
40
41 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
42
43         * cursor.C (dispatch): avoid infinite loops
44
45 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
46
47         * rowpainter.C (paintSelection): fix x coordinates
48
49 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
50
51         * text.C (rowBreakPoint): fix breaking before displayed insets
52
53 2004-03-01  André Pönitz  <poenitz@gmx.net>
54
55         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
56
57         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
58
59         * Makefile.am:
60         * BufferView.C:
61         * BufferView_pimpl.C:
62         * buffer.C:
63         * lyxfind.C:
64         * lyxfunc.C:
65         * text.C:
66         * text2.C:
67         * text3.C: adjust
68
69 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
70
71         * lyxtext.h:
72         * text.C:
73         * text2.C:
74         * rowpainter.C:
75         * BufferView_pimpl.C: rename textwidth -> maxwidth, 
76         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
77
78 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
79
80         * Bidi.[Ch] (computeTables): const correctness
81         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
82         fill_hfill, fill_label_hfill and x from Row
83         * lyxtext.h: prepareToPrint returns a RowMetrics
84         * rowPainter.C: adjust
85         * text.C (prepareToPrint): use width, not textWidth. adjust
86         (redoParagraphInternal, cursorX): adjust
87         * text2.C (getColumnNearX): adjust
88         (init): put a default value to the top LyXText::width
89
90 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
91
92         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here 
93
94 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
95
96         * lyxtext.h: add FontIterator class 
97
98         * text.C (FontIterator, operator*, operator->, operator++): add
99         (rowBreakPoint, setRowWidth): adjust (fixing a
100         rebreaking bug)
101
102 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
103
104         * BufferView_pimpl.C (workAreaDispatch): allow also
105         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
106
107 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
108
109         * text.C (rowBreakPoint): fix a bug showing with very large insets
110
111 2004-02-25  André Pönitz  <poenitz@gmx.net>
112
113         * text3.C:
114         * cursor.[Ch]: move some mathed specific code to mathed
115
116 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
117
118         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
119         use_tempdir in preferences
120         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
121         tempfile creation
122         * lyx_main.C: ensure that tempdir is valid
123         * lyxlex.h: correct typo
124         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
125         * paragraph.[Ch] (isMultiLingual): make const
126         * cursor.[Ch] (openable): make const
127
128 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
129
130         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
131
132 2004-02-20  André Pönitz  <poenitz@gmx.net>
133
134         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
135
136         * cursor.[Ch]: prepare for localized getStatus()
137
138         * lyxtext.h:
139         * tabular.C:
140         * text.C:
141         * text2.C:
142         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
143
144 2004-02-20  André Pönitz  <poenitz@gmx.net>
145
146         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
147
148 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
149
150         * text2.C (setCursorFromCoordinates): switch to absolute coords
151         (cursorUp): adjust
152         (cursorDown): adjust
153         * text3.C (dispatch): adjust
154
155 2004-02-16  André Pönitz  <poenitz@gmx.net>
156
157         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
158           insets/ChangeLog)
159
160         * cursor_slice.[Ch]: remove unneeded acessor function
161
162         * lyxtext.h: rename rtl() to isRTL()
163
164         * rowpainter.C:
165         * tabular.C:
166         * text.C:
167         * text2.C:
168         * text3.C: adjust
169
170 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
171
172         * rowpainter.C (paintSelection): coord fix
173
174 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
175
176         * Spacing.C: compile fix
177
178 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
179
180         * cursor.C (dispatch): restore current_ before returning
181
182 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
183
184         * text2.C (cursorUp, cursorDown): fix coords
185         (moveUp): fix crash
186
187 2004-02-12  André Pönitz  <poenitz@gmx.net>
188
189         * lyxtext.h:
190         * text.C:
191         * text2.C:
192         * text3.C: add LCursor & parameter to most cursor movement functions
193           remove usage of LyXText::cursorRow() and cursorPar()
194
195         * cursor.[Ch]: add textRow() needed members
196
197         * BufferView.C:
198         * BufferView_pimpl.C:
199         * paragraph.[Ch]:
200         * BufferView.C:
201         * BufferView_pimpl.C: adjust
202
203 2004-02-11  André Pönitz  <poenitz@gmx.net>
204
205         * lyxfunc.C:
206         * BufferView.[Ch]:
207         * BufferView_pimpl.C: shift undo/redo handling
208
209         * cursor.[Ch]: fix mathed crash
210
211         * lyxfind.C:
212         * lyxtext.h: move selectionAsText to LCursor
213
214         * output_latex.C:
215         * paragraph.C:
216         * text.C:
217         * text2.C:
218         * text3.C: adjust
219
220         * rowpainter.C: fix excessive drawing
221
222 2004-02-06  André Pönitz  <poenitz@gmx.net>
223
224         * BufferView.[Ch]:
225         * BufferView_pimpl.[Ch]:
226         * text3.C: move some text specific LFUN handling
227
228 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
229
230         * text3.C (checkInsetHit): adjust coords
231         * text2.C (getColumnNearX): adjust coords
232         (edit): adjust coords
233         * text.C (getRowNearY): add two asserts
234
235 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
236
237         * converter.C:
238         * format.C: add using std::distance to compile on gcc 2.95/stlport
239
240 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
241
242         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
243
244 2004-02-04  André Pönitz  <poenitz@gmx.net>
245
246         * BufferView.[Ch] (insertInset):
247         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value 
248
249         * text2.C:
250         * text3.C: adjust
251
252 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
253
254         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch 
255         on the default clause of the switch
256         * lyxfunc.C (dispatch): call BufferView::dispatch if the event 
257         wasn't catched by LCursor::dispatch
258
259 2004-02-03  André Pönitz  <poenitz@gmx.net>
260
261         * BufferView.C:
262         * cursor.[Ch]: some additional asserts
263
264         * undo.[Ch]: remove LyXText dependency in interface
265
266         * lyxfunc.C: adjust
267
268         * lyxtext.h (firstPar, lastPar): remove dead functions 
269
270         * text.C:
271         * text2.C:
272         * text3.C:
273         * paragraph.[Ch]: adjust
274
275 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
276
277         * lyxfind.C (find): fix argument order in call to ::find
278
279 2004-02-02  André Pönitz  <poenitz@gmx.net>
280
281         * cursor.[Ch]: remove direct access to anchor
282
283         * text.C: remove findText() hack
284
285 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
286
287         * iterators.[Ch] (lockPath): remove in favour of...
288         * BufferView.[Ch] (setCursor): this addition
289         * BufferView.C (putSelectionAt): adjust
290         * undo.C (performUndoOrRedo): adjust
291         * lyxfunc.C (dispatch): adjust
292
293 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
294
295         * iterators.C (lockPath): add a missing slice
296         * undo.C (performUndoOrRedo): remove redundant positioning code
297
298 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
299
300         * vc-backend.C (scanMaster): ";" -> ';'
301
302 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
303
304         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
305         std::binary_function
306
307         * lyxtextclass.C (compare_name): rename to...
308         (LayoutNamesEqual): ...this
309
310         * lyxlex_pimpl.C (compare_tags): inherit from
311         std::binary_function, put back into anon namespace
312
313         * lyxfind.C (MatchString): inherig from std::binary_function
314         (findChange): use empty() istead of !size()
315
316         * format.C (FormatNamesEqual): new functor
317         (getFormat): use it
318         (getNumber): use it
319         (add): use it
320         (erase): use it
321         (setViewer): use it
322
323         * converter.C (compare_Converter): rename to...
324         (ConverterEqual): ...this, and fixup a bit.
325         (getConverter): use it, and make function const
326         (getNumber): use it, and make function const
327         (add): use it
328         (erase): use it:
329
330         * bufferlist.C: add using boost::bind
331
332         * MenuBackend.C (MenuNamesEqual): new functor
333         (hasMenu): use it, and make function const
334         (hasSubmenu): use nested bind to get rid of compare_memfun.
335
336 2004-01-30  André Pönitz  <poenitz@gmx.net>
337
338         * BufferView_pimpl.C:
339         * cursor.C:
340         * cursor.h:
341         * cursor_slice.[Ch]:
342         * lyxfunc.C:
343         * lyxtext.h:
344         * paragraph_funcs.C:
345         * paragraph_funcs.h:
346         * rowpainter.C:
347         * text.C:
348         * text2.C:
349         * text3.C: move some of the edit(x,y) handling to the insets
350         some coordinate changes.
351
352 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
353
354         * text.C: add using statements for std::advance and std::distance
355
356         * paragraph.C: add using statement for std::distance
357
358         * lyxfind.C: add using statement for std::advance
359
360         * cursor.C (region): remove std:: from swap
361         (openable): use nucleus in stead of operator->
362
363         * BufferView.C: add using statements for std::distance and std::swap
364
365 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
366
367         * iterators.C: Remove the pimple, move the needed structures to
368         the header file. Create accessor for the positions stack.
369         (asPosIterator): remove function
370
371         * PosIterator.C (PosIterator): move constructors to top of file
372         (PosIterator): reimplement the constructor taking a ParIterator in
373         terms of setFrom.
374         (setFrom): new function
375         (operator!=): inline it
376
377 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
378
379         * lyxfind.C (replaceAll): use std::advance
380
381         * iterators.h: inherit from std::iterator.
382
383         * PosIterator.C (advance, distance): remove
384         * PosIterator.h: interit from std::iterator.
385
386 2004-01-26  André Pönitz  <poenitz@gmx.net>
387
388         * BufferView.[Ch]:
389         * BufferView_pimpl.[Ch]:
390         * InsetList.[Ch]:
391         * PosIterator.[Ch]:
392         * buffer.h:
393         * bufferview_funcs.C:
394         * cursor.[Ch]:
395         * cursor_slice.h:
396         * factory.[Ch]:
397         * iterators.[Ch]:
398         * lyxfind.C:
399         * lyxfunc.C:
400         * lyxtext.h:
401         * output_docbook.C:
402         * output_latex.C:
403         * output_linuxdoc.C:
404         * output_plaintext.C:
405         * paragraph.[Ch]:
406         * paragraph_funcs.[Ch]:
407         * paragraph_pimpl.[Ch]:
408         * rowpainter.C:
409         * tabular.C:
410         * tabular.h:
411         * text.C:
412         * text2.C:
413         * text3.C: more IU:  dumps most of the rest of the mathcursor
414     implementation into cursor.[Ch]; "globalize" a bit of it.
415
416 2004-01-25  Angus Leeming  <leeming@lyx.org>
417
418         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
419
420 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
421
422         * LaTeXFeatures.h: add nice_ and nice() const
423         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
424
425 2004-01-20  André Pönitz  <poenitz@gmx.net>
426
427         * BufferView.[Ch]:
428         * BufferView_pimpl.C:
429         * PosIterator.C:
430         * bufferview_funcs.C:
431         * cursor.[Ch]:
432         * cursor_slice.[Ch]:
433         * factory.C:
434         * iterators.C:
435         * lyx_cb.C:
436         * lyxfind.C:
437         * lyxfunc.C:
438         * lyxtext.h:
439         * rowpainter.C:
440         * text.C:
441         * text2.C:
442         * text3.C:
443         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
444           LCursor and mathcursor parts to LCursor and InsetBase.
445
446 2004-01-15  André Pönitz  <poenitz@gmx.net>
447
448         * cursor_slice.[Ch]: add a few covienience functions
449
450         * funcrequest.[Ch]: remove BufferView * member
451
452         * BufferView_pimpl.C:
453         * cursor.C:
454         * factory.[Ch]:
455         * lyxfind.[Ch]:
456         * lyxfunc.C:
457         * lyxtext.h:
458         * text3.C:
459         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
460
461 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
462
463         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
464         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
465
466 2004-01-13  André Pönitz  <poenitz@gmx.net>
467
468         * textcursor.[Ch]:
469         * lyxtext.h: hide cursor and selection anchor behind accessor function
470
471         * BufferView.C:
472         * BufferView_pimpl.[Ch]:
473         * PosIterator.C:
474         * bufferview_funcs.C:
475         * cursor.h:
476         * lyxfind.C:
477         * lyxfunc.C:
478         * text.C:
479         * text2.C:
480         * text3.C:
481         * undo.C: adjust
482
483         * cursor.h:
484         * cursor_slice.[Ch]: some integer type changes for inset unification
485
486         * lyxcursor.[hC]: remove, it's CursorSlice now.
487
488         * Makefile.am:
489         * BufferView_pimpl.[Ch]:
490         * bufferview_funcs.C:
491         * cursor_slice.C:
492         * lyxtext.h:
493         * text.C:
494         * text2.C:
495         * text3.C:
496         * textcursor.[Ch]: adjust
497
498 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
499
500         * text2.C (undoSpan): add and use
501         * text.C (breakParagraph): use undoSpan (fix bug 578)
502         * lyxtext.h: adjust
503
504 2004-01-08  Angus Leeming  <leeming@lyx.org>
505
506         * BufferView_pimpl.C (MenuInsertLyXFile):
507         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
508         * lyxfunc.C (menuNew, open, doImport):
509         FileFilterList change to the FileDialog open and save functions.
510
511 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
512
513         * ShareContainer.h: make isEqual and isUnique adaptable
514
515         * CutAndPaste.C: make resetOwnerAndChanges adaptable
516
517 2004-01-07  Angus Leeming  <leeming@lyx.org>
518
519         * LyXAction.C:
520         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
521
522         * BufferView_pimpl.C (dispatch): act on these LFUNs.
523
524         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
525         functions replacing find, replace and replaceAll.
526
527         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
528         LFUN_WORDFIND(FORWARD|BACKWARD).
529
530 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
531
532         * text.C (breakParagraph): remove an outdated #warning
533
534 2004-01-07  André Pönitz  <poenitz@gmx.net>
535
536         * lyxfind.C: somewhat clearer logic
537
538         * text.C: prevent crash in cursorX on unitialized row cache
539
540 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
541
542         * lyxcursor.[Ch] (operator>): add
543         * textcursor.C (selStart, selEnd): use std::min and std::max
544
545 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
546
547         * Chktex.C: include boost/format.hpp
548
549 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
550
551         * InsetList.C: replace functor MathcIt with adaptable functor
552         InsetTablePosLess
553         (insetIterator): modify accordingly
554
555         * BranchList.h: move the BranchNamesEqual functor here from...
556         * BranchList.C: ... to here
557
558         * BranchList.C: new BranchListEqual fuctor, use it. Remove
559         SameName and match.
560         (add): replace a finding loop with std::find_if.
561
562 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
563
564         * output_docbook.C: moving LatexParam functionality into
565         .layout files
566
567 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
568
569         * buffer.C: increment format to 229.
570
571 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
572
573         * LaTeXFeatures.C:
574         * lyx_sty.[Ch]: remove minipageindent_def
575
576         * LyXAction.C:
577         * factory.C:
578         * lfuns.h:
579         * lyxfunc.C:
580         * text3.C: remove LFUN_INSET_MINIPAGE
581
582 2003-12-28  Angus Leeming  <leeming@lyx.org>
583
584         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
585
586 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
587
588         * text2.C (setParagraph): fix off-by-one crash
589
590 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
591
592         * output_docbook.C: header stuff for AGU
593
594 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
595
596         * text2.C (redoCursor): remove
597         * text.C:
598         * text3.C:
599         * BufferView_pimpl.C: remove calls to redoCursor and
600         setCursor(cursor.par(), cursor.pos()) all around
601
602 2003-12-15  Angus Leeming  <leeming@lyx.org>
603
604         * buffer.C: up the format to 228.
605
606 2003-12-15  André Pönitz  <poenitz@gmx.net>
607
608         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
609         slices
610
611         * Makefile.am:
612
613         * BufferView_pimpl.C:
614         * cursor.[Ch]:
615         * lyxcursor.[Ch]:
616         * rowpainter.[Ch]:
617         * lyxtext.h:
618         * text.C:
619         * text2.C:
620         * text3.C: adjust
621
622 2003-12-15  Angus Leeming  <leeming@lyx.org>
623
624         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
625         than getFromGUIName to manipulate the color.
626
627 2003-12-14  Angus Leeming  <leeming@lyx.org>
628
629         * BranchList.[Ch]: minimize the API.
630         (Branch::getBranch, getColor): now return a 'const &'.
631         (Branch::setSelected) now returns a bool set to true if the
632         selection status changes.
633         (BranchList::clear, size, getColor, setColor, setSelected,
634         allBranches, allSelected, separator): removed.
635         (BranchList::find): new functions, returning the Branch with
636         the given name.
637         (BranchList::add, remove): return a bool indicating that
638         the operation was successful.
639
640         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
641         new InsetBranch::isBranchSlected member function.
642
643         * LColor.[Ch]: mimimize the API.
644         (fill): renamed as addColor and made private.
645         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
646         versions of these functions taking a string arg have been removed.
647
648         * bufferparams.C (readToken):
649         * lyxfunc.C (dispatch):
650         * lyxrc.C (read): changes due to the altered BranchList and
651         LColor APIs.
652
653         * factory.C (createInset, readInset): changes due to altered
654         InsetBranch c-tor.
655
656 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
657
658         * factory.C:
659         * lyxfunc.C: remove insetminipage. "minipage-insert"
660         now produces a frameless minipage box inset.
661
662 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
663
664         * textcursor.[Ch] (selStart,selEnd): add new methods
665         remove selection::start, end, use LyXCursor::operator<
666         * lyxcursor.[Ch] (operator<): add
667         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
668         * BufferView.[Ch] (unsetXSel): add
669         * text2.C (clearSelection): use unsetXSel,adjust
670         * text.C: adjust
671         * text3.C: adjust
672         * rowpainter.C: adjust
673         * bufferview_funcs.C (put_selection_at): adjust
674
675 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
676
677         * BufferView_pimpl.C: small coord. correction
678
679 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
680
681         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
682         dragging over the splash screen.
683
684 2003-12-11  Angus Leeming  <leeming@lyx.org>
685
686         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
687         as it is now handled in LyXText::dispatch.
688
689         * text3.C (doInsertInset): remove a level of nesting.
690
691 2003-12-11  Angus Leeming  <leeming@lyx.org>
692
693         * factory.C (createInset): changes due to the changed interface to
694         InsetCommandMailer::string2params.
695
696 2003-12-10  Angus Leeming  <leeming@lyx.org>
697
698         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
699         'dialog-show-new-inset <inset name>'
700
701 2003-12-10  Angus Leeming  <leeming@lyx.org>
702
703         * buffer.C: up the format to 227.
704
705         * factory.C: the box inset is now identified simply by 'Box'.
706
707 2003-12-10  Angus Leeming  <leeming@lyx.org>
708
709         * buffer.C: up the format to 226.
710
711         * factory.C: the note inset is now identified simply by 'Note'.
712
713 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
714
715         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
716         when a pit is enough. Standarize a couple of loops.
717
718 2003-12-05  Angus Leeming  <leeming@lyx.org>
719
720         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
721         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
722         data to the re-worked "log" dialog.
723
724 2003-12-03  André Pönitz  <poenitz@gmx.net>
725
726         * PosIterator.C:
727         * iterators.C:
728         * lyxtext.h:
729         * output_latex.C:
730         * paragraph_funcs.C:
731         * text.C:
732         * text2.C: use Inset::getText instead of Inset::getParagraph
733
734 2003-12-03  André Pönitz  <poenitz@gmx.net>
735
736         * buffer.[Ch]:
737         * lyxtext.h:
738         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
739         InsetText::read() as LyXText::read()
740
741 2003-12-02  Angus Leeming  <leeming@lyx.org>
742
743         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
744         type. Add a comment in the implementation that the function uses
745         the stream's bad() function rather than fail() as the std::streams
746         would do.
747
748 2003-12-02  André Pönitz  <poenitz@gmx.net>
749
750         * lyxlex.[Ch]: make interface more similar to std::stream
751
752         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
753
754 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
755
756         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
757
758 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
759
760         * vspace.[Ch]: remove VSpace::NONE
761
762 2003-12-01  André Pönitz  <poenitz@gmx.net>
763
764         * buffer.[Ch]:
765         * lyxtext.h: move ParagraphList member to LyXText
766         rename LyXText::ownerParagraphs to LyXText::paragraph
767
768         * CutAndPaste.C:
769         * bufferview_funcs.C:
770         * iterators.[Ch]:
771         * lyx_cb.C:
772         * paragraph.C:
773         * rowpainter.C:
774         * tabular.C:
775         * text.C:
776         * text2.C:
777         * text3.C: adjust
778
779         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
780
781         * undo.C: fix cursor positioning
782
783 2003-12-01  John Levon  <levon@movementarian.org>
784
785         * BufferView_pimpl.C: fix a crash on exit with
786         a buffer open
787
788 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
789
790         * BranchList.C: fix setSelected() method.
791
792 2003-11-28  André Pönitz  <poenitz@gmx.net>
793
794         * ParagraphParameters.[Ch]:
795         * ParameterStruct.h: remove space above/below from Paragraph to
796          InsetVSpace
797
798         * BufferView_pimpl.C:
799         * factory.C:
800         * lyxfunc.C:
801         * lyxtext.h:
802         * output_latex.C:
803         * paragraph.C:
804         * paragraph_funcs.C:
805         * rowpainter.[Ch]:
806         * text.C:
807         * text2.C:
808         * text3.C: adjust
809
810 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
811
812         * factory.C: Syntax change for CharStyles
813
814 2003-11-28  André Pönitz  <poenitz@gmx.net>
815
816         * BufferView.[Ch]:
817         * BufferView.[Ch]:
818         * buffer.[Ch]:
819         * buffer.[Ch]: move LyXText member
820
821 2003-11-28  André Pönitz  <poenitz@gmx.net>
822
823         * BufferView.[Ch]: make LyXText * text a private member
824
825         * BufferView_pimpl.C:
826         * cursor.C:
827         * iterators.C:
828         * lyx_cb.C:
829         * lyxfind.C:
830         * lyxtext.h:
831         * rowpainter.[Ch]:
832         * text.C:
833         * text2.C:
834         * undo.C: adjust
835
836         * output_plaintext.C: cleanup
837
838 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
839
840         * buffer.C:
841         * lyxtextclass.[Ch]: parametrize SGML document header
842
843 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
844
845         * converter.[Ch]:
846         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
847         getFlavor().
848
849 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
850
851         * text2.C (setFont): rework using PosIterator (no more recursive)
852         (setCharFont): no more needed
853         (setLayout): no more selection cursors fiddling (done by redoCursor)
854         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
855         destroy remaining ones)
856
857 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
858
859         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
860         * lyxtext.h: ditto
861         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
862         selection cursors
863         * lyxfunc.C: adjust
864         * text3.C: adjust + re-allow multi par depth changes
865         * textcursor.C: simplify a bit
866
867 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
868
869         * src/buffer.C:
870         * src/lyxlayout.C:
871         * src/lyxlayout.h:
872         * src/lyxtext.h:
873         * src/output_docbook.C:
874         * src/output_latex.C:
875         * src/paragraph.C:
876         * src/paragraph.h:
877         * src/sgml.C:
878         * src/sgml.h:
879         * src/text2.C: Introducing a number of tags parametrizing various
880         XML formats that we may want to support
881
882 2003-11-25  André Pönitz  <poenitz@gmx.net>
883
884         * InsetList.[Ch] (begein, end): inline as suggested by profiler
885
886         * lyxtext.h (leftMargin/rightMargin): simplify interface
887
888         * rowpainter.C:
889         * text.C:
890         * text2.C:
891         * text3.C: adjust
892
893 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
894
895         * lyxfunc.C (dispatch): propogate the bibtex databases from the
896         master file to any child files. Fixes bug 546.
897
898 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
899
900         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
901
902 2003-11-24  André Pönitz  <poenitz@gmx.net>
903
904         * rowpainter.C: simplification
905
906         * text2.C (updateCounters): remove call to redoParagraph on
907         changed labels as this is far too expensive.
908
909 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
910
911         * converter.C (convert): fix a crash: this function gets
912         called with buffer == 0 from importer code.
913
914 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
915
916         * text3.C (cursorPrevious): make sure that we do not compare
917         iterators form different containers.
918         (cursorNext): ditto
919
920         * rowpainter.C (paintSelection): make sure that we do not compare
921         iterators from different containers.
922
923         * text3.C (dispatch): [PRIOR] make sure that we do not compare
924         iterators from different ParagraphList containers.
925         [NEXT] ditto
926
927         * text2.C (LyXText): change order of initialization slightly
928         (operator=): new function. copy all variables except cache_par_
929         (moveUp): make sure that we do not compare iterators from
930         different ParagraphList constainers.
931         (moveDown): ditto
932
933         * text.C (firstPar): new function
934         (lastPar): new function
935         (endPar): new function
936
937         * lyxtext.h: move things around and group public functions, public
938         variables, private functions, private variables
939
940 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
941
942         * factory.C: change call to InsetERT constructor to avoid
943         additional invocation of method status
944         * text2.C (toggleInset): remove redundant update() call
945         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
946         instead of a Bufferview pointer
947
948 2003-11-21  André Pönitz  <poenitz@gmx.net>
949
950         * rowpainter.C: simplification
951
952 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
953
954         * text3.C (dispatch): make possible to extend a word/row selection
955         with the mouse
956
957 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
958
959         * lyxtext.h: x0_,y0_ -> xo_,yo_
960         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
961         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
962         * rowpainter.C (paintRows): paint full paragraphs
963
964 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
965
966         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
967         screen coordinates)
968
969 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
970
971         * lyxtext.h: add x0_, y0_
972         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
973         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
974
975 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
976
977         * text2.C (setCursorIntern): move the x_target update here *
978         * text3.C: change some bv() to true/false in calls to
979         cursorUp/Down/Right/Left
980         * cursor.C: use helper function.
981
982 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
983
984         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
985         * paragraph_funcs.[Ch]: correct comment
986         * rowpainter.C: do not paint selections away from bv->cursor()
987         Fix a long standing selection painting bug.
988         * text3.C: generalize mouse-selection code to LyXTexts other that
989         top one
990         * textcursor.C: do not use y coords if we can use par offsets
991
992 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
993
994         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
995         cursor position after e.g. inset insert)
996
997 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
998
999         * lyxfind.C (replace): adjust to locking removal + some
1000         code simplification
1001
1002 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
1003
1004         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1005         of the path
1006
1007 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
1008
1009         * lyxlayout.[Ch]:
1010         * output_docbook.C: XML sanitation: new layout
1011         parameters InnerTag and CommandDepth
1012
1013 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
1014
1015         * BufferView_pimpl.C:
1016         * factory.C:
1017         * text3.C: Fix the insertion and modification of button-style
1018         insets
1019
1020 2003-11-13  André Pönitz  <poenitz@gmx.net>
1021
1022         * InsetList.[Ch]: remove deleteLyXText
1023
1024         * paragraph.[Ch]: cache beginOfBody position
1025
1026         * Bidi.C:
1027         * text.C:
1028         * text2.C:
1029         * text3.C: remove superfluous update() calls
1030
1031         * vspace.C: cleanup
1032
1033 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
1034
1035         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1036         * BufferView.C (fitLockedInsetCursor): remove
1037         * cursor.[Ch] (getDim): add
1038         * text.C (getRowNearY): add faster version
1039         * text3.C: remove some update calls
1040
1041 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
1042
1043         * LaTeXFeatures.C:
1044         * LyXAction.C:
1045         * MenuBackend.C:
1046         * MenuBackend.h:
1047         * dispatchresult.h:
1048         * factory.C:
1049         * lfuns.h:
1050         * lyxfunc.C:
1051         * lyxtextclass.C:
1052         * lyxtextclass.h:
1053         * text3.C: The Character Style /XML short element patch.
1054
1055 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
1056
1057         * text3.C:
1058         * factory.C: Small step to solving 'unable to insert some insets'
1059         problem
1060
1061 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1062
1063         * cursor.[Ch] (updatePos): new function for updating the y
1064         position of the tip inset
1065         * bufferview_funcs.C (put_selection_at):
1066         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1067
1068 2003-11-11  André Pönitz  <poenitz@gmx.net>
1069
1070         * text.C: remove big comment on invalid Paragraph pointers as it is
1071         not valid anymore
1072
1073 2003-11-11  André Pönitz  <poenitz@gmx.net>
1074
1075         * text_funcs.[Ch]: merge with ...
1076
1077         * text.C: ... this
1078
1079         * lyxtext.h:
1080         * text2.C:
1081         * text3.C: adjust
1082
1083         * Makefile.am: remove text_funcs.[Ch]
1084
1085 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
1086
1087         * cursor.C (getPos): return absolute cached y coord
1088
1089         * BufferView_pimpl.C (fitCursor): new simplistic code
1090         (workAreaDispatch): add a fitCursor call
1091
1092 2003-11-10  André Pönitz  <poenitz@gmx.net>
1093
1094         * BufferView.[Ch]:
1095         * BufferView_pimpl.[Ch]: merge update() and updateInset()
1096
1097 2003-11-10  André Pönitz  <poenitz@gmx.net>
1098
1099         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1100         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1101         indicate that the cursor needs to leave an inset
1102
1103         * lyxtext.h: remove inset locking
1104
1105         * cursor.[Ch]: re-implement functionality provided by inset locking
1106
1107         * BufferView.[Ch]:
1108         * BufferView_pimpl.[Ch]:
1109         * LyXAction.C:
1110         * bufferview_funcs.[Ch]:
1111         * factory.C:
1112         * funcrequest.[Ch]:
1113         * iterators.C:
1114         * lyx_cb.C:
1115         * lyxfind.C:
1116         * lyxfunc.C:
1117         * text.C:
1118         * text2.C:
1119         * text3.C:
1120         * undo.C: adjust
1121
1122 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
1123
1124         * PosIterator.[Ch]: replace the stack with a vector, add inset
1125         accesor
1126         * iterators.[C]: adjust
1127
1128 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1129
1130         * lyxfind.C (replaceAll): mark the buffer dirty if something was
1131         replaced
1132         * paragraph_funcs.C (readParToken): put the correct id in the
1133         error item, not the id of the top paragraph
1134
1135 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1136
1137         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1138         * bufferview_funcs.C (put_selection_at): use the above
1139
1140 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1141
1142         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1143
1144 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1145
1146         * output_linuxdoc.h:
1147         * output_plaintext.h:
1148         * output.h:
1149         * output_docbook.h: add #include statements
1150
1151 2003-11-05  José Matos  <jamatos@lyx.org>
1152
1153         * output_docbook.[Ch]:
1154         * output_latex.[Ch]:
1155         * output_linuxdoc.[Ch]:
1156         * output_plaintext.[Ch]: New files for output formats.
1157         * output.[Ch]: New file for helper functions.
1158
1159         * buffer.[Ch]:
1160         * paragraph_funcs.[Ch]: output functions moved to new files.
1161
1162         * outputparams.h: rename of latexrunparams.h
1163
1164         * LaTeX.[Ch]:
1165         * buffer.[Ch]:
1166         * bufferlist.[Ch]:
1167         * converter.[Ch]:
1168         * exporter.C:
1169         * paragraph.[Ch]:
1170         * paragraph_funcs.[Ch]:
1171         * paragraph_pimpl.[Ch]:
1172         * tabular.[Ch]: rename ascii to plaintext
1173         and LatexRunParams to OutputParams.
1174
1175 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1176
1177         * iterators.[Ch] (text): require bv argument
1178         * undo.C (recordUndo):
1179         * lyxfunc.C (dispatch):
1180         * bufferview_funcs.C (put_selection_at): adjust
1181
1182 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
1183
1184         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1185
1186 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1187
1188         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1189         nestings
1190
1191 2003-11-04  André Pönitz  <poenitz@gmx.net>
1192
1193         * cursor.[Ch]: restructure
1194
1195         * BufferView.[Ch]:
1196         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1197
1198         * iterators.[Ch] (asCursor): remove
1199
1200         * lfuns.h: remove LFUN_INSET_EDIT
1201
1202         * lyxfunc.C:
1203         * tabular.C:
1204         * text.C:
1205         * text2.C:
1206         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1207
1208 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1209
1210         * lyxfind.[Ch]: complete overhaul
1211         * BufferView_pimpl.C:
1212         * lyxfunc.C: adjust
1213         * paragraph.[Ch] (insert): add
1214
1215 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1216
1217         * BufferView.[Ch]:
1218         * lyxtext.h:
1219         * text.C: remove dead spellcheck code
1220
1221 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1222
1223         * dispatchresult.h: add a val setter
1224
1225         * cursor.C (dispatch): use a tempvar for data_[i]
1226
1227 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1228
1229         * PosIterator.[Ch]: compile fix
1230
1231 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1232
1233         * text.C (cursorPar): deactivate the cursor cache
1234
1235 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1236
1237         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1238
1239 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1240
1241         * text3.C (dispatch): adjust for new DisptchResult semantics.
1242
1243         * lyxfunc.C (dispatch): handle update when return from
1244         Cursor::dispatch, adjust for new DispatchResult semantics.
1245
1246         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1247         DispatchResult(true) mean to not update. Add class functions for
1248         setting dispatched and update, as well as reading.
1249
1250         * cursor.C (dispatch): don't handle update here
1251
1252 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1253
1254         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1255         * trans_mgr.C: adjust
1256
1257         * paragraph_funcs.C (readParToken): exception safety
1258
1259         * lyxvc.h: store the vcs pointer in a scoped_ptr
1260         * lyxvc.C: adjust
1261
1262         * lyxsocket.C (serverCallback): exception safety
1263
1264         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1265
1266         * ispell.C (clone): make it return a auto_ptr
1267
1268         * factory.C (createInset): exception safety
1269         (readInset): exception safety
1270
1271         * bufferlist.C (newBuffer): exception safety
1272
1273         * Thesaurus.C (Thesaurus): use initialization for aik_
1274
1275         * MenuBackend.C (expandToc): exception safety.
1276
1277 2003-11-03  André Pönitz  <poenitz@gmx.net>
1278
1279         * buffer.C:
1280         * buffer.h:
1281         * bufferview_funcs.C: remove getInsetFromId()
1282
1283         * lyxcursor.[Ch]:
1284         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1285
1286         * lyxfunc.C:
1287         * text2.C:
1288         * text3.C: adjust
1289
1290 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1291
1292         * PosIterator.C (distance, advance): new
1293         * bufferview_funcs.[Ch] (put_selection_at): new
1294         * iterators.[Ch] (lockPath): new
1295
1296 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
1297
1298         * iterators.[Ch] (asPosIterator): added
1299         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1300         * PosIterator.[Ch]: added
1301
1302 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1303
1304         * text3.C:
1305         * lyxfunc.C:
1306         * cursor.C (dispatch):
1307         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1308
1309         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1310         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1311         contructor, add a class function dispatched. Remove operator>=
1312
1313 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1314
1315         * debug.C: only use the default constructor for debugstream
1316         (lyxerr) here.
1317
1318         * main.C (main): include debug.h and setup the lyxerr streambuf
1319         here.
1320
1321 2003-10-31  José Matos  <jamatos@lyx.org>
1322
1323         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1324
1325         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1326         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1327         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1328         * paragraph_pimpl.C (simpleTeXSpecialC):
1329         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1330         add LatexRunParams argument.
1331
1332         * exporter.C (Export): change call accordingly.
1333
1334         * latexrunparams.h: add new member to take care of the other backends.
1335 2003-10-30  José Matos  <jamatos@lyx.org>
1336
1337         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1338         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1339         factorise code for paragraph output.
1340         * buffer.[Ch]:
1341         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1342         move functions.
1343
1344 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1345
1346         * text3.C (dispatch):
1347         * lyxfunc.C (dispatch):
1348         * cursor.C (dispatch):
1349         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1350
1351         * dispatchresult.h: make the dispatch_result_t ctor explicit
1352
1353 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
1354
1355         * sgml.[Ch]:
1356         * buffer.C: small refactoring of docbook stuff
1357
1358 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1359
1360         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1361         meaning.
1362
1363 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1364
1365         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1366         operator dispatch_result_t, and operators for == != and >=
1367
1368         * cursor.C (dispatch): adjust for operator dispatch_result_t
1369         removal. comment out call to update
1370
1371         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1372
1373 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1374
1375         * text3.C:
1376         * text2.C:
1377         * text.C:
1378         * lyxtext.h:
1379         * lyxfunc.C:
1380         * cursor.C:
1381         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1382         (dispatch):
1383
1384         * dispatchresult.h: new file, DispatchResult broken out of
1385         insets/insetbase.h
1386
1387         * Makefile.am (lyx_SOURCES): add dispatchresult.h
1388
1389 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1390
1391         * text.C (rowBreakPoint): put a hack inside #if 0
1392
1393 2003-10-28  André Pönitz  <poenitz@gmx.net>
1394
1395         * lyxtext.h:
1396         * metricsinfo.C:
1397         * paragraph_funcs.C:
1398         * rowpainter.C:
1399         * text.C:
1400         * text2.C: general cleanup (lots of small stuff)
1401
1402 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1403
1404         * text2.C (cursorEnd): simple fix to the "end key goes to one
1405         before the end on last row" bug
1406
1407 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1408
1409         * text.C (backspace): fix the "zombie characters"
1410
1411 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1412
1413         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1414
1415 2003-10-27  André Pönitz  <poenitz@gmx.net>
1416
1417         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1418
1419         * factory.C: handle new InsetPagebreak, InsetLine
1420
1421         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1422         and move handling into new InsetPagebreak, InsetLine
1423
1424         * BufferView_pimpl.C:
1425         * LyXAction.C:
1426         * ParagraphParameters.C:
1427         * ParameterStruct.h:
1428         * lyxfunc.C:
1429         * lyxtext.h:
1430         * paragraph.C:
1431         * paragraph.h:
1432         * paragraph_funcs.C:
1433         * paragraph_pimpl.C:
1434         * rowpainter.C:
1435         * text.C:
1436         * text2.C:
1437         * text3.C: adjust
1438
1439 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1440
1441         * text.C:
1442         * lyxrow_funcs.[Ch]:
1443         * Bidi.C:
1444         * paragraph.C:
1445         * lyxtext.h:
1446         * rowpainter.C:
1447         * text2.C:
1448         * text3.C: remove lastPos uses in favour of Row::endpos
1449
1450 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1451
1452         * undo.C (performUndoOrRedo): fix two crashes by setting a
1453         cursor by hand and reordering some calls. Use bv->lockInset instead
1454         of inset->edit because the latter loses cursor information
1455
1456 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
1457
1458         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1459         by Martin
1460         (rowBreakPoint): fix width. change point to point + 1.
1461         Add a missing check.
1462
1463 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
1464
1465         * MenuBackend.C:
1466         * lyxfunc.C: fix (at least partly) the problems
1467         with the Nav menu and headers inside branch insets
1468         reported by Kayvan
1469
1470 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
1471
1472         * paragraph.C (getChar): add strong asserts
1473
1474         * lyxrow_funcs.C (lastPos): remove hideous hack
1475
1476         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1477         (fill): adjust to that (avoid an infinite loop)
1478
1479 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1480
1481         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1482
1483 2003-10-23  André Pönitz  <poenitz@gmx.net>
1484
1485         * RowList_fwd.h: change list<> to vector<> to gain speed
1486         after suggestion from Alfredo
1487
1488 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1489
1490         * lyxtext.h: move the bidi stuff from here...
1491         * text.C: and here
1492         * text2.C: and here
1493         * Bidi.[Ch]: ... to here
1494
1495 2003-10-23  André Pönitz  <poenitz@gmx.net>
1496
1497         * lyxtext.h:
1498         * text.C (isLastRow, isFirstRow): new functions
1499
1500         * paragraph.h: new width cache member
1501
1502         * rowpainter.C: replace RowList::iterator with Row & where possible
1503
1504         * lyxfunc.C: replace several view()->text with a single call
1505
1506         * toc.C: fix 'unused' warning
1507
1508 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1509
1510         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1511         when woring with stream::pos_type
1512         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1513
1514 2003-10-22  André Pönitz  <poenitz@gmx.net>
1515
1516         * lyxtext.h:
1517         * text.C: use Row & instead of RowList::iterator
1518
1519         * lyxrow.h: rename end() to endpos()
1520
1521         * rowpainter.C:
1522         * text.C:
1523         * text2.C: adjust
1524
1525 2003-10-22  Angus Leeming  <leeming@lyx.org>
1526
1527         * buffer.[Ch] (fully_loaded): new member function, returning true
1528         only when the file has been loaded fully.
1529         Used to prevent the premature generation of previews and by the
1530         citation inset to prevent computation of the natbib-style label.
1531
1532         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1533         templates are all set up.
1534
1535         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1536
1537 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
1538
1539         * text.C: fixed an "oops" in the "is a bit silly"
1540         bug fix
1541
1542 2003-10-21  André Pönitz  <poenitz@gmx.net>
1543
1544         * FuncStatus.[Ch]: small stuff, whitespace
1545
1546         * lyxfont.[Ch]: operator<<() for debug reasons
1547
1548         * lyxfunc.C:
1549         * lyxrow_funcs.C:
1550         * lyxtext.h: whitespace, spelling
1551
1552         * paragraph.C: naming of variables
1553
1554         * text.C:
1555         * text2.C: small stuff
1556
1557
1558 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
1559
1560         * text.C: (1) finish off the inset display() work;
1561         (2) fix the "is a bit silly" bug (accessing char
1562         past end of par).
1563
1564 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
1565
1566         * text.C: re-introduce display() for insets, fixing the
1567         various bugs (stretch of line above, math inset
1568         positioning, ...)
1569
1570 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1571
1572         * text.C (rightMargin): remove spurious semicolon
1573
1574         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1575         1415)
1576
1577 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
1578
1579         * text3.C: fix one crash due to wrong cursor def
1580
1581 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1582
1583         * vc-backend.C (scanMaster): make the regex static
1584
1585         * LaTeX.C (scanAuxFile): make the regexs static
1586
1587         * text3.C (doInsertInset, dispatch, dispatch):
1588         * text2.C (cursorUp, cursorDown):
1589         * text.C (selectNextWordToSpellcheck):
1590         * BufferView_pimpl.C (dispatch):
1591         * lyxfunc.C (dispatch):  localDispatch -> dispatch
1592
1593 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1594
1595         * lyxsocket.C: include <cerrno>
1596
1597 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1598
1599         * lyxfunc.C (dispatch): remove textcache stuff
1600
1601         * bufferlist.C (release): remove textcache stuff
1602         (closeAll): ditto
1603
1604         * TextCache.C: delete file
1605         * TextCache.h: delete file
1606
1607         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1608
1609         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1610         delete of the bv_->text.
1611         (resizeCurrentBuffer): remove texcache stuff
1612         (workAreaResize): ditto
1613
1614 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1615
1616         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1617         action.
1618
1619 2003-10-16  André Pönitz  <poenitz@gmx.net>
1620
1621         * lyxrow.[Ch]:
1622         * paragraph.h:
1623         * rowpainter.C:
1624         * text.C:
1625         * text2.C:
1626         * text3.C: speed up by storing y positions per paragraph plus per-row
1627         offset instead of having a 'full' y position in the row.
1628
1629 2003-10-15  André Pönitz  <poenitz@gmx.net>
1630
1631         * iterators.[Ch]:
1632         * iterators.[Ch]:
1633         * undo.[Ch]: make undo aware of inner insets
1634
1635 2003-10-14  Angus Leeming  <leeming@lyx.org>
1636
1637         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1638         static member functions LyX::ref() and LyX::cref.
1639         (lastfiles): new accessor functions for the new lastfiles_ member var.
1640         (addLyXView, views_): add a new LyXView to the list of views_.
1641         (updateInset): loop over all LyXViews to call their own updateInset
1642         member function, returning a pointer to the Buffer owning the inset.
1643
1644         * BufferView_pimpl.C (loadLyXFile):
1645         * MenuBackend.C (expandLastfiles):
1646         * bufferlist.C (MenuWrite, QuitLyX):
1647         lastfiles is no longer a global variable.
1648         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1649
1650         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1651         static function. Access through LyX::cref().emergencyCleanup().
1652
1653 2003-10-14  André Pönitz  <poenitz@gmx.net>
1654
1655         * iterators.[Ch]: new direct access to innermost LyXText and Inset
1656
1657         * undo.[Ch]: restoring part of 'undo in insets'
1658
1659         * Makefile.am:
1660         * undo_funcs.[Ch]: merge with undo.[Ch]
1661
1662         * tabular.C: small cleansing stuff
1663
1664 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
1665
1666         * paragraph_funcs.C (readParToken): report unknown insets as error
1667         boxes. Use the outer paragraph as location (also for unknown
1668         tokens).
1669
1670         * factory.C (readInset): do not abort on reading an unknown inset.
1671         Eat it and return 0.
1672
1673 2003-10-13  Angus Leeming  <leeming@lyx.org>
1674
1675         * lyx_main.C (LyX): remove call to setDisplayTranslator().
1676
1677         * lyxrc.C: displayTranslator is now a function,
1678         declared in GraphicsTypes.h.
1679
1680 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1681
1682         * format.C: new placeholder $$a to pass the socket address.
1683
1684         * bufferlist.[Ch]: new function getBufferFromTmp.
1685
1686         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
1687           files in the temporary dir.
1688
1689 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
1690
1691         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
1692
1693         * Makefile.am: add lyxsocket.[Ch].
1694
1695         * lyx_main.C (error_handler): handle SIGPIPE.
1696
1697 2003-10-13  André Pönitz  <poenitz@gmx.net>
1698
1699         * BufferView_pimpl.C:
1700         * lyxtext.h:
1701         * text.C:
1702         * text2.C:
1703         * text3.C:
1704         * undo_funcs.[Ch]: use paroffset_type instead of
1705           ParagraphList::iterators to prevent multiple conversion
1706           (and get a more robust interface)
1707
1708 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1709
1710         * lyxfunc.C (dispatch): RESULT -> dispatch_result
1711         * lyxtext.h: ditto
1712         * text3.C (dispatch): ditto
1713
1714 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1715
1716         * LaTeX.C (handleFoundFile): move the static to smaller scope,
1717         move the onlyfile, use onlyfile instead of foundfile in a couple
1718         of places.
1719
1720         * DepTable.C (update): flush the error stream a bit more
1721
1722 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1723
1724         * lyxserver.C (callback): adjust
1725
1726         * lyxfunc.C (getStatus): add a missing brace in commented code
1727         (ensureBufferClean): reindent
1728         (dispatch): delete version taking a string
1729
1730 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1731
1732         * LaTeX.C (deplog): move found file handlig from here...
1733         (handleFoundFile): .. to new function here.
1734         (deplog): make sure to discover several files mentioned on the
1735         same log line.
1736
1737 2003-10-10  André Pönitz  <poenitz@gmx.net>
1738
1739         * lyxfunc.C:
1740         * lyxtext.h:
1741         * tabular.C:
1742         * text.C:
1743         * text2.C:
1744         * text3.C: fix some of the tabular crashes
1745
1746 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1747
1748         * MenuBackend.C (binding): put debug message into Debug::KBMAP
1749
1750         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
1751
1752 2003-10-09  André Pönitz  <poenitz@gmx.net>
1753
1754         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
1755
1756         * BufferView.C:
1757         * BufferView_pimpl.C:
1758         * bufferview_funcs.C:
1759         * lyx_cb.C:
1760         * lyxcursor.C:
1761         * lyxfind.C:
1762         * lyxfunc.C:
1763         * lyxtext.h:
1764         * text.C:
1765         * text2.C:
1766         * text3.C:
1767         * text_funcs.[Ch]:
1768         * textcursor.[Ch]:
1769         * undo_funcs.C: adjust
1770
1771 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1772
1773         * text2.C (incrementItemDepth): new function, use a backtracking
1774         algorithm to discover the correct item depth.
1775         (resetEnumCounterIfNeeded): new function, use a backtracking
1776         algorithm to discover if counter reset is needed.
1777         (setCounter): use them. Simplify a bit. Add different labels for
1778         different item depths for itemize.
1779
1780         * paragraph.C (Paragraph): remove initialization of enumdepth
1781         (operator=): ditto
1782
1783         * paragraph.h: get rid of enumdepth, and use itemdepth both for
1784         enumerate and itemize. Change the type of itemdepth to signed char.
1785
1786 2003-10-08  André Pönitz  <poenitz@gmx.net>
1787
1788         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
1789           thing assignable.
1790         * text.C:
1791         * text2.C: adjust
1792
1793         * tabular.[Ch]: fix crash after 'row-insert'
1794
1795 2003-10-08  Angus Leeming  <leeming@lyx.org>
1796
1797         Fix doxygen warnings.
1798
1799         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1800         Remove CutAndPaste:: prefix from header file declaration.
1801
1802         * LColor.h (fill): remove LColor:: prefix from declaration.
1803
1804         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1805         use lyx::depth_type rather than Paragraph::depth_type so that
1806         header file and .C file match.
1807
1808         * converter.h (intToFormat): remove Converters:: prefix from declaration.
1809
1810         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1811         * aspell.C: \file aspell_local.C -> \file aspell.C
1812         * gettext.C: \file gettext.C -> \file src/gettext.C
1813         * gettext.h: \file gettext.h -> \file src/gettext.h
1814         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1815         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1816         * text.C: \file text.C -> \file src/text.C
1817
1818         * toc.C: move comment so that doxygen is not confused.
1819
1820 2003-10-07  Angus Leeming  <leeming@lyx.org>
1821
1822         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1823
1824 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1825
1826         * aspell.C:
1827         * aspell_local.h: add forgotten std::string's.
1828
1829 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1830
1831         * LaTeXFeatures.C:
1832         * LyXAction.C:
1833         * factory.C:
1834         * lfuns.h:
1835         * lyxfunc.C:
1836         * text3.C: The Box patch. Fancybox support, minipage, parbox
1837
1838 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1839
1840         * CutAndPaste.h:
1841         * DepTable.h:
1842         * FloatList.h:
1843         * LaTeXFeatures.h:
1844         * ParagraphParameters.h:
1845         * TextCache.h:
1846         * Thesaurus.h:
1847         * bufferlist.h:
1848         * exporter.h:
1849         * importer.h:
1850         * lastfiles.h:
1851         * lyxfind.h:
1852         * lyxfont.h:
1853         * lyxlex.h:
1854         * lyxtextclasslist.h:
1855         * messages.h:
1856         * paragraph.h:
1857         * paragraph_pimpl.C:
1858         * textcursor.h: add <string> and other small fixes to make Lars'
1859         std::string patch compile with STLport.
1860
1861 2003-10-06  Angus Leeming  <leeming@lyx.org>
1862
1863         * LColor.h: Add missing #include <string>.
1864
1865 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1866
1867         * All most all file in all subdirs: Make <string> be the prefered
1868         way of getting to std::string, add using declarations.
1869
1870 2003-10-06  André Pönitz  <poenitz@gmx.net>
1871
1872         * metricsinfo.C: initialize LyXFont before changing attribute.
1873         (fixes the 'math in \emph is upright' bug)
1874
1875 2003-10-06  André Pönitz  <poenitz@gmx.net>
1876
1877         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1878
1879 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1880
1881         * graph.C:
1882         * paragraph_pimpl.C: Small fixes to build using STLport
1883
1884 2003-10-02  André Pönitz  <poenitz@gmx.net>
1885
1886         * lyxfunc.C:
1887         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1888
1889 2003-10-01  André Pönitz  <poenitz@gmx.net>
1890
1891         * factory.C: assert early
1892
1893 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1894
1895         * lyx_main.C: remove the global debug object
1896
1897         * debug.h: adjust for new debugstream
1898
1899         * debug.C: adjust for new debugstream and keep the global debug
1900         object here.
1901
1902 2003-09-22  Angus Leeming  <leeming@lyx.org>
1903
1904         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1905         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1906         an incomplete class LyXFont.
1907
1908 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1909
1910         * factory.C: bug fix in branches
1911
1912 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1913
1914         * lyxfunc.C (processKeySym): adjust
1915         (dispatch): adjust
1916         (dispatch): change arg name from ev to func, adjust
1917         (sendDispatchMessage): ditto
1918
1919         * lyx_main.C (defaultKeyBindings): adjust keybindings
1920         (deadKeyBindings): ditto
1921
1922         * kbsequence.C (addkey): return a FuncRequest
1923
1924         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1925
1926         * kbmap.C (bind): take a FuncRequest as arg, adjust
1927         (read): adjust
1928         (lookup): adjust
1929         (defkey): change to take a FuncRequest as arg, adjust
1930         (findbinding): take a FuncRequest as arg, adjust.
1931
1932         * funcrequest.h (operator=): added
1933
1934         * funcrequest.C (FuncRequest): default kb_action changed from
1935         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1936
1937         * buffer.C (dispatch): simplify
1938         (dispatch): adjust to take a FuncRequest as arg, adjust
1939
1940         * boost.C (assertion_failed): change assertion message slightly
1941
1942         * ToolbarBackend.C (read): simplify
1943
1944         * MenuBackend.C (binding): adjust call to findbinding, add a
1945         message if no binding is found.
1946         (read): simplify
1947         (expandToc): correct by adding a empty FuncRequest
1948
1949         * LyXAction.C: include <boost/assert.hpp>
1950         (isPseudoAction): delete function
1951         (LookupFunc): change name to...
1952         (lookupFunc): this. change return type to FuncRequest.
1953         (getActionName): take kb_action as arg, simplify
1954         (funcHasFlag): add an assert, simplify.
1955
1956 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1957
1958         * toc.C (action): return a FuncRequest, simplify
1959
1960         * lyxfunc.C (processKeySym): adjust
1961         (getStatus): delete version that takes an int.
1962         (getStatus): adjust
1963         (dispatch): delete version that takes action as int
1964         (dispatch): adjust
1965         (sendDispatchMessage): simplify and adjust
1966
1967         * funcrequest.C (getArg): take unsigned int as arg
1968
1969         * ToolbarBackend.C (read): adjust
1970         (add): delete version that takes func as a string.
1971         (getIton): take a FuncRequest as arg
1972
1973         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1974         action.
1975
1976         * MenuBackend.C (MenuItem): add a new construct that only takes a
1977         Kind, simplify the constructor use for submenus.
1978         (add): adjust
1979         (expandLastfiles): adjust
1980         (expandDocuments): adjust
1981         (expandFormats): adjust
1982         (expandFloatListInsert): adjust
1983         (expandFloatInsert): adjust
1984         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1985
1986         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1987         Remove class variables lyx_pseudo_map and lyx_arg_map
1988
1989         * LyXAction.C (searchActionArg): delete function
1990         (getPseudoAction): delete function
1991         (retrieveActionArg): delete function
1992         (LookupFunc): make it return kb_action, simplify.
1993         (getActionName): simplify
1994
1995         * factory.C (createInset): fix new bug
1996
1997 2003-09-19  Angus Leeming  <leeming@lyx.org>
1998
1999         * CutAndPaste.C (pasteSelection): remove fudge used to set the
2000         masterFilename_ parameter in the include inset.
2001
2002         * factory.C (createInset): changes due to the changes to InsetInclude.
2003
2004 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2005
2006         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2007
2008 2003-09-18  Angus Leeming  <leeming@lyx.org>
2009
2010         * buffer.C:
2011         * BufferView.C: pass the buffer when calling Inset::getLabelList,
2012         Inset::fillWithBibKeys.
2013         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2014
2015 2003-09-18  Angus Leeming  <leeming@lyx.org>
2016
2017         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2018         variables.
2019         (ctor): pass and store a 'Buffer const &'
2020         (buffer): new member function.
2021
2022         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2023         '*this' to the LaTeXFeatures ctor.
2024
2025 2003-09-18  Angus Leeming  <leeming@lyx.org>
2026
2027         * LColor.h:
2028         * lyxfont.C:
2029         * lyxfont.h:
2030         * lyxtext.h:
2031         * text.C: rename EnumLColor as LColor_color.
2032
2033 2003-09-18  Angus Leeming  <leeming@lyx.org>
2034
2035         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2036         remove #include "insets/insetbase.h" from cursor.h.
2037
2038 2003-09-18  Angus Leeming  <leeming@lyx.org>
2039
2040         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2041         InsetOld_code to remove #include "inset.h".
2042
2043         * iterators.C: add #include "insets/inset.h"
2044
2045 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
2046
2047         * BufferView.C: remove more locking stuff that apparently doesn't
2048         do anything sensible.
2049
2050 2003-09-16  André Pönitz  <poenitz@gmx.net>
2051
2052         * paragraph.[Ch]:
2053         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2054           performance boost.
2055
2056 2003-09-16  Angus Leeming  <leeming@lyx.org>
2057
2058         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2059
2060         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2061         arg/return type.
2062
2063         * paragraph.h: remove #include "lyxfont.h". Forward declare
2064         LyXFont_size.
2065
2066 2003-09-16  Angus Leeming  <leeming@lyx.org>
2067
2068         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2069         of support/textutils.h.
2070         (isWord): move the contents of support/textutils.h's IsWordChar here.
2071
2072         * buffer.C:
2073         * lyxfind.C:
2074         * rowpainter.C:
2075         * text.C:
2076         * text2.C: add #include "paragraph.h".
2077
2078         * rowpainter.C:
2079         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2080
2081 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2082
2083         * main.C:
2084         * lyx_main.C:
2085         * lyx_cb.C:
2086         * buffer.C:
2087         * LaTeX.C: use namespace alias for lyx::support::os
2088
2089 2003-09-16  Angus Leeming  <leeming@lyx.org>
2090
2091         * bufferparams.C:
2092         * bufferview_funcs.C:
2093         * factory.C:
2094         * lyxfunc.C:
2095         * paragraph_pimpl.C:
2096         * rowpainter.C:
2097         * text.C: add #include "LColor.h".
2098
2099 2003-09-16  Angus Leeming  <leeming@lyx.org>
2100
2101         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2102         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2103         return LyXFont &.
2104         Store the FontBits::color variable as an int rather than as an
2105         LColor::colorso that we can move LColor.h out of the lyxfont.h header
2106         file.
2107
2108         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2109         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2110         string calls together.
2111
2112         * lyxrc.C: add #include "LColor.h".
2113
2114 2003-09-15  Angus Leeming  <leeming@lyx.org>
2115
2116         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2117         a cow_ptr.
2118
2119 2003-09-15  Angus Leeming  <leeming@lyx.org>
2120
2121         * LColor.h: add an EnumLColor wrapper for LColor::color.
2122
2123         * lyxfont.[Ch] (color, setColor, realColor):
2124         * lyxtext.h, text.C (backgroundColor):
2125         pass EnumLColor args to/from the functions, rather than LColor::color
2126         ones.
2127
2128         * lyxfont.h:
2129         * lyxtext.h: forward declare EnumLColor.
2130
2131         * lyx_main.C: add #include "LColor.h".
2132
2133 2003-09-15  Angus Leeming  <leeming@lyx.org>
2134
2135         * .cvsignore: add lyx-gtk.
2136
2137 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2138
2139         * Chktex.C
2140         * LaTeX.C
2141         * LaTeXFeatures.C
2142         * ParagraphParameters.C
2143         * Spacing.C
2144         * buffer.C
2145         * bufferparams.C
2146         * bufferview_funcs.C
2147         * chset.C
2148         * counters.C
2149         * funcrequest.C
2150         * lyxfont.C
2151         * lyxgluelength.C
2152         * lyxlength.C
2153         * paragraph.C
2154         * paragraph_funcs.C
2155         * text3.C
2156         * vc-backend.C: remove usage of STRCONV
2157
2158 2003-09-15  Angus Leeming  <leeming@lyx.org>
2159
2160         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2161         explicitly define the color passed to the painter.
2162
2163 2003-09-15  Angus Leeming  <leeming@lyx.org>
2164
2165         * bufferparams.C (BufferParams): reorder member initializers to avoid
2166         compiler warning.
2167
2168 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
2169
2170         * CutAndPaste.C (pasteSelection): remove an outdated #warning
2171         * text.C (updateRowPositions): remove an unusual nop
2172
2173 2003-09-12  André Pönitz  <poenitz@gmx.net>
2174
2175         * BufferView_pimpl.C:
2176         * Bullet.C:
2177         * layout.h:
2178         * lyxfunc.C:
2179         * lyxlayout.[Ch]:
2180         * lyxtextclass.C:
2181         * rowpainter.C:
2182         * text.C:
2183         * text2.C:
2184         * Counters.[Ch]: finish the 'automatic counters' job
2185
2186 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2187
2188         * aspell.C: include <boost/assert.cpp> (compile fix)
2189
2190 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
2191
2192         * boost.C (assertion_failed): use lyx::support::abort instead of
2193         assert.
2194
2195 2003-09-10  Angus Leeming  <leeming@lyx.org>
2196
2197         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2198         with their _fwd progeny.
2199
2200 2003-09-09  Angus Leeming  <leeming@lyx.org>
2201
2202         134 files throughtout the source tree: replace 'using namespace abc;'
2203         directives with the appropriate 'using abc::xyz;' declarations.
2204
2205 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2206
2207         * boost.C (emergencyCleanup): moved here from LAssert.c
2208         (assertion_failed): new function, called by BOOST_ASSERT
2209
2210         * several files: change Assert to BOOST_ASSERT
2211
2212 2003-09-09  Angus Leeming  <leeming@lyx.org>
2213
2214         * buffer.[Ch]: Add an Impl class and move Buffer's member
2215         variables into it. As a result move several header files out of
2216         buffer.h.
2217
2218         Add header files to lots of .C files all over the tree as a result.
2219
2220 2003-09-09  Angus Leeming  <leeming@lyx.org>
2221
2222         * buffer.[Ch]: make Buffer's member variables private. Add
2223         accessor functions.
2224
2225         Lots of changes all over the tree as a result.
2226
2227 2003-09-08  Angus Leeming  <leeming@lyx.org>
2228
2229         * graph.C: #include <config.h>.
2230
2231 2003-09-08  Angus Leeming  <leeming@lyx.org>
2232
2233         * BranchList.C:
2234         * BufferView.C:
2235         * BufferView_pimpl.C:
2236         * CutAndPaste.C:
2237         * DepTable.C:
2238         * LaTeX.C:
2239         * LaTeXFeatures.C:
2240         * LyXAction.C:
2241         * MenuBackend.C:
2242         * TextCache.C:
2243         * aspell.C:
2244         * buffer.C:
2245         * bufferlist.C:
2246         * changes.C:
2247         * chset.C:
2248         * converter.C:
2249         * counters.C:
2250         * debug.C:
2251         * graph.C:
2252         * ispell.C:
2253         * lyx_cb.C:
2254         * lyxfind.C:
2255         * lyxfunc.C:
2256         * lyxlex_pimpl.C:
2257         * lyxrc.C:
2258         * lyxrow.C:
2259         * paragraph.C:
2260         * rowpainter.C:
2261         * texrow.C:
2262         * text.C:
2263         * text2.C:
2264         * toc.C: remove redundant using directives.
2265
2266 2003-09-07  Angus Leeming  <leeming@lyx.org>
2267
2268         * LaTeXFeatures.h: remove #include "support/types.h".
2269         * ToolbarBackend.h: remove #include <algorithm>.
2270         * changes.h: remove #include <ctime>.
2271         * debug.h: remove #include <iosfwd>.
2272         * graph.h: remove #include "support/std_string.h".
2273         * lyx_main.h: remove #include <csignal>.
2274         * lyxlex_pimpl.h: remove #include <fstream>.
2275         * sgml.h: remove #include <algorithm>, <utility>.
2276         * toc.h: remove #include "support/std_ostream.h".
2277         Add #include <iosfwd>.
2278
2279 2003-09-07  Angus Leeming  <leeming@lyx.org>
2280
2281         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2282
2283         * converter.h: forward declare LatexRunParams.
2284         * encoding.h: remove #include "lyxrc.h".
2285         * lyxtext.h: remove #include "LColor.h".
2286         * lyxtextclass.h: remove #include "support/types.h".
2287         * trans.h: remove #include "tex-accent.h".
2288         * trans_mgr.h: remove #include "tex-accent.h".
2289         * insets/inset.h: remove #include "support/types.h", <vector>.
2290         * insets/insetcollapsable.h: remove #include "LColor.h".
2291         * insets/insetinclude.h: remove #include "dimension.h".
2292         * insets/insetlatexaccent.h: remove #include "dimension.h".
2293         * insets/insetoptarg.h:: remove #include "insettext.h".
2294         * insets/insettext.h: remove #include "dimension.h",
2295         <boost/shared_ptr.hpp>
2296
2297         * insets/renderers.h: add #include "dimension.h".
2298         * insets/updatableinset.h: add #include "support/types.h".
2299
2300         * many .C files: Associated changes.
2301
2302 2003-09-06  Angus Leeming  <leeming@lyx.org>
2303
2304         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2305         one, inside testInvariant.
2306
2307         * PrinterParams.C: new file.
2308         * PrinterParams.[Ch]: move the function bodies out of line.
2309
2310 2003-09-06  Angus Leeming  <leeming@lyx.org>
2311
2312         * ParagraphParameters.h: forward declare ParameterStruct rather than
2313         including its header file.
2314         (depth): moved out-of-line.
2315
2316 2003-09-06  Angus Leeming  <leeming@lyx.org>
2317
2318         * BufferView_pimpl.h:
2319         * kbmap.h:
2320         * kbsequence.h:
2321         * lyxfunc.h: forward declare LyXKeySym rather than
2322         #include "frontends/LyXKeySym.h".
2323
2324         * BufferView_pimpl.C:
2325         * kbmap.C:
2326         * kbsequence.C:
2327         * lyxfunc.C: associated changes.
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         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2337         As a result, can remove the #include "insets/inset.h" from BufferView.h
2338
2339 2003-09-06  Angus Leeming  <leeming@lyx.org>
2340
2341         * buffer_funcs.C:
2342         * buffer.h:
2343         * bufferlist.C:
2344         * BufferView.C:
2345         * bufferview_funcs.C:
2346         * BufferView_pimpl.C:
2347         * CutAndPaste.C:
2348         * lyx_cb.C:
2349         * lyxfunc.C:
2350         * paragraph.h:
2351         * ParagraphParameters.C:
2352         * tabular.C:
2353         * text3.C:
2354         * toc.C:
2355         * undo_funcs.C:
2356         * frontends/controllers/ControlDocument.C:
2357         * insets/insetcaption.C: rearrange the #includes into some sort of
2358         coherent order.
2359
2360         * buffer.h: remove #includes ErrorList.h, undo.h
2361
2362 2003-09-06  Angus Leeming  <leeming@lyx.org>
2363
2364         * support/types.h: add a 'depth_type' typedef, used to store the
2365         nesting depth of a paragraph.
2366
2367         * paragraph.h:
2368         * ParameterStruct.h: use this lyx::depth_type typedef rather than
2369         defining explicitly.
2370
2371         * buffer.h:
2372         * paragraph_funcs.h:
2373         * ParagraphParameters.h:
2374         * sgml.h: use lyx::depth_type rather than Paragraph or
2375         ParameterStruct's depth_type.
2376
2377         * buffer.h
2378         * paragraph_funcs.h: no need to #include paragraph.h anymore.
2379
2380         * BufferView.C:
2381         * BufferView_pimpl.C:
2382         * CutAndPaste.C:
2383         * ParagraphParameters.C:
2384         * buffer_funcs.C:
2385         * bufferlist.C:
2386         * bufferview_funcs.C:
2387         * lyx_cb.C:
2388         * lyxfunc.C:
2389         * tabular.C:
2390         * text3.C:
2391         * toc.C:
2392         * undo_funcs.C:
2393         * frontends/LyXView.C:
2394         * frontends/controllers/ControlDocument.C:
2395         * frontends/controllers/ControlErrorList.C:
2396         * insets/insetbibitem.C:
2397         * insets/insetbranch.C:
2398         * insets/insetcaption.C:
2399         * insets/insetcollapsable.C:
2400         * insets/insetenv.C:
2401         * insets/insetert.C:
2402         * insets/insetfloat.C:
2403         * insets/insetfoot.C:
2404         * insets/insetfootlike.C:
2405         * insets/insetnewline.C:
2406         * insets/insetquotes.C:
2407         * insets/insettabular.C:
2408         * insets/insettext.C:
2409         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2410
2411         * frontends/controllers/ControlChanges.C: #include "changes.h".
2412
2413 2003-09-06  Angus Leeming  <leeming@lyx.org>
2414
2415         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2416         than #including paragraph.h.
2417
2418         * ParagraphList.h:
2419         * RowList.h: deleted. Superfluous.
2420
2421         * CutAndPaste.h:
2422         * iterators.h:
2423         * lyxcursor.h:
2424         * lyxtext.h:
2425         * text_funcs.h:
2426         * undo.h:
2427         * undo_funcs.h:
2428         * insets/inset.h:
2429         * insets/insettext.h: use ParagraphList_fwd.h rather than
2430         ParagraphList.h.
2431
2432         * paragraph.h: don't forward declare ParagraphList.
2433
2434         * buffer.h:
2435         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2436         rather than ParagraphList.h. paragraph.h is still needed for the
2437         Paragraph::depth_type parameters.
2438
2439         * textcursor.h: enable it to compile stand-alone in light of the
2440         above changes.
2441
2442         * bufferview_funcs.C:
2443         * iterators.C:
2444         * lyxfunc.C:
2445         * lyxrow_funcs.C:
2446         * paragraph.C:
2447         * rowpainter.C:
2448         * text.C:
2449         * text2.C:
2450         * text3.C:
2451         * text_funcs.C:
2452         * textcursor.C:
2453         * undo.C:
2454         * frontends/controllers/ControlParagraph.C:
2455         * frontends/controllers/ControlTabular.C:
2456         * insets/insetmarginal.C:
2457         * insets/insetminipage.C:
2458         * insets/insetnote.C:
2459         * insets/insetoptarg.C: add header files needed to compile again.
2460
2461 2003-09-06  Angus Leeming  <leeming@lyx.org>
2462
2463         * RowList_fwd.h: new file, forward-declaring Row rather than
2464         #including lyxrow.h.
2465
2466         * lyxrow_funcs.h:
2467         * lyxtext.h:
2468         * paragraph.h:
2469         * insets/insettext.h: use it instead of RowList.h
2470
2471         * bufferview_funcs.C:
2472         * lyxfunc.C:
2473         * lyxrow_funcs.C:
2474         * paragraph.C:
2475         * rowpainter.C:
2476         * text.C:
2477         * text2.C:
2478         * text3.C: #include "RowList.h".
2479
2480 2003-09-05  Angus Leeming  <leeming@lyx.org>
2481
2482         * factory.C (createInset):
2483         * vspace.C (c-tor): replace sscanf call with an istringstream.
2484         * ispell.C: re-add missing HP/UX headers.
2485         * lyxserver.C: re-add missing  os2 headers.
2486
2487 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
2488
2489         * BranchList.C:
2490         * graph.C:
2491         * ispell.C:
2492         * lastfiles.C:
2493         * lyx_cb.C:
2494         * lyxserver.C:
2495         * texrow.C:
2496         * text3.C: re-add missing system headers, needed for 2.95.2.
2497
2498 2003-09-05  Angus Leeming  <leeming@lyx.org>
2499
2500         Changes most place everywhere due to the removal of using directives
2501         from support/std_sstream.h.
2502
2503 2003-09-05  Angus Leeming  <leeming@lyx.org>
2504
2505         Replace LString.h with support/std_string.h,
2506         Lsstream.h with support/std_sstream.h,
2507         support/LIstream.h with support/std_istream.h,
2508         support/LOstream.h with support/std_ostream.h.
2509
2510         Changes resulting throughout the tree.
2511
2512 2003-09-05  Angus Leeming  <leeming@lyx.org>
2513
2514         * sgml.h: ensure that the header file can be compiled stand-alone.
2515         * *.C: strip out redundant #includes. (320 in total.)
2516
2517 2003-09-04  Angus Leeming  <leeming@lyx.org>
2518
2519         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2520         here (from getPackages).
2521
2522         * debug.[Ch]: add a new EXTERNAL tag.
2523
2524 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2525
2526         * text2.C (cursorEnd): simplify
2527         (setCursor): adjust
2528         (getColumnNearX): adjust
2529
2530         * text.C (computeBidiTables): adjust
2531         (fill): adjust
2532
2533         * rowpainter.C (paintChars): adjust
2534         (paintSelection): adjust
2535         (paintChangeBar): adjust
2536         (paintText): adjust
2537
2538         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2539         lastPos instead.
2540         (numberOfSeparators): adjust
2541
2542 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2543
2544         * LyXAction.C:
2545         * box.[Ch]:
2546         * lfuns.h:
2547         * lyxfunc.C:
2548         * text3.C: Restricts the mouse click functionality
2549         of insets like bibtex, include, toc and floatlist to the visible
2550         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2551         up the dialogs. Cursor has to be in front of the inset (i.e.
2552         start of row) for this to function.
2553
2554 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2555
2556         * bufferview_funcs.C (currentState): output row information
2557
2558 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2559
2560         * bufferview_funcs.C (currentState): output paragraph position
2561
2562 2003-09-04  Angus Leeming  <leeming@lyx.org>
2563
2564         * FloatList.h: move out #include "Floating.h".
2565         * LaTeX.h: move out #include "DepTable.h".
2566         * LyXAction.h: move out #include "funcrequest.h".
2567         * buffer.h: move out #include "author.h", "iterators.h".
2568         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2569         * lyx_main.h: move out #include "errorlist.h".
2570         * lyxfunc.h: move out #include "FuncStatus.h".
2571         * lyxtext: move out #include "lyxcursor.h".
2572         * paragraph_pimpl.h: move out #include "counters.h".
2573
2574 2003-09-03  Angus Leeming  <leeming@lyx.org>
2575
2576         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2577         preamble_snippets list, enabling us to add snippets to the preamble
2578         only if the snippet was not there already.
2579
2580 2003-09-04  Angus Leeming  <leeming@lyx.org>
2581
2582         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2583
2584 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2585
2586         * lyxfunc.C (dispatch): if fitCursor did something be sure to
2587         update
2588
2589 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2590
2591         * BranchList.C: point fix, earlier forgotten
2592
2593 2003-09-02  Angus Leeming  <leeming@lyx.org>
2594
2595         * box.C (contains): renamed from 'contained' after a fantastic
2596         amount of hot air.
2597
2598 2003-09-02  John Levon  <levon@movementarian.org>
2599
2600         * BufferView.C:
2601         * lyxcursor.h:
2602         * lyxcursor.C:
2603         * lyxfunc.C:
2604         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2605
2606 2003-09-02  John Levon  <levon@movementarian.org>
2607
2608         * text2.C: simplification of cursorEnd(), including partial
2609         fix for bug 1376
2610
2611 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2612
2613         * buffer.C (readFile): add a space
2614
2615 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
2616
2617         * BufferView_pimpl.C (update): remove bogus fitCursor() call
2618
2619 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2620
2621         * buffer.C (readFile): new function, take a filename and a
2622         ParagraphList::iterator
2623         (readFile): adjust
2624         (readFile): adjust, make it private. don't use setStream, make
2625         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2626         always contain the filename.
2627
2628         * BufferView.C (insertLyXFile): simplify and make it work for
2629         gzipped files.
2630
2631 2003-08-30  John Levon  <levon@movementarian.org>
2632
2633         * Makefile.am: fix dist (from Kayvan)
2634
2635 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2636
2637         * most files: change to use const Buffer refs
2638
2639 2003-08-27  André Pönitz  <poenitz@gmx.net>
2640
2641         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2642         on top of ownerPar().
2643
2644 2003-08-27  John Levon  <levon@movementarian.org>
2645
2646         * funcrequest.C: properly initialise POD members
2647
2648 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2649
2650         * lyxtext.h (top_y): move top_y from here
2651         * text.C:
2652         * text2.C:
2653         * text3.C:
2654         * BufferView.[Ch]:
2655         * BufferView_pimpl.[Ch]: to here
2656         * frontends/screen.C:
2657         * insets/insettabular.C:
2658         * insets/insettext.C: adjust
2659         * rowpainter.[Ch] (paintRows): remove LyXText & argument
2660
2661 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2662
2663         * BufferView.[Ch]:
2664         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2665
2666 2003-08-26  André Pönitz  <poenitz@gmx.net>
2667
2668         * paragraph_func.[Ch] (outerPar): new function
2669
2670         * paragraph.C:
2671         * paragraph_funcs.C:
2672         * paragraph_funcs.h:
2673         * paragraph_pimpl.C:
2674         * text2.C: remove Inset::par_owner
2675
2676 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
2677
2678         * lyxrow_funcs.C:
2679         * lyxtext.h:
2680         * text.C:
2681         * text2.C: eliminates the needFullRow/display() stuff
2682         altogether, putting the logic in metrics/draw in the insets.
2683
2684 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
2685
2686         * text2.C (redoParagraphInternal, redoParagraphs):
2687         * text.C (redoParagraph): add a call to updateRowPositions at the
2688         end of each 'metrics-like' call. Remove all others.
2689         (getRow): remove the 'y-computing' version.
2690         (getRowNearY): do not compute nor return the real y. Solve the
2691         'y < 0' problem and simplify.
2692
2693 2003-08-22  Angus Leeming  <leeming@lyx.org>
2694
2695         * *.[Ch]: clean-up of licence and author blurbs.
2696         Also move config.h out of a few .h files and into a few .C files.
2697
2698 2003-08-22  André Pönitz  <poenitz@gmx.net>
2699
2700         * lyxrow.[Ch]: add x_ and *fill_ members
2701
2702         * lyxtext.h:
2703         * text.C:
2704         * rowpainter.C:
2705         * text2.C: adjust/remove prepareToPrint() calls
2706
2707 2003-08-22  André Pönitz  <poenitz@gmx.net>
2708
2709         * lyxrow.[Ch]: add  end_ member
2710
2711         * lyxrow_funcs.C: use LyXRow::end_
2712
2713         * lyxtext.h (singleWidth): add LyXFont parameter
2714
2715         * rowpainter.C:
2716         * text2.C: adjust LyXText::singleWidth() calls
2717
2718         * text.C (redoParagraph): simplify row breaking logic
2719
2720
2721 2003-08-19  André Pönitz  <poenitz@gmx.net>
2722
2723         * funcrequest.C: initialize button_ member
2724
2725         * text3.C:
2726         * rowpainter.[Ch]: interface consolidation
2727
2728 2003-08-18  André Pönitz  <poenitz@gmx.net>
2729
2730         * BufferView.C:
2731         * BufferView_pimpl.C:
2732         * lyxfind.C:
2733         * paragraph_funcs.C:
2734         * rowpainter.C:
2735         * text3.C: remove LyXScreen::draw() and fitCursor calls
2736
2737         * BranchList.h: remove spurious semicolons
2738
2739         * MenuBackend.C: fix branchlist related crash
2740
2741 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
2742
2743         * BranchList.[Ch]:
2744         * InsetList.[Ch]:
2745         * LColor.[Ch]:
2746         * LyXAction.C:
2747         * Makefile.am:
2748         * MenuBackend.[Ch]:
2749         * bufferparams.[Ch]:
2750         * factory.C:
2751         * lfuns.h:
2752         * lyxfunc.C:
2753         * text3.C: implements the 'branch inset'
2754         idea. This allows the output of various versions of a document
2755         from a single source version, selectively outputing or suppressing
2756         output of parts of the text.
2757         This implementation contains a 'branch list editor' in a separate
2758         tab of the document settings dialog. Branches are user definable
2759         and have a "display colour" to distinguish them on-screen.
2760
2761         ColorHandler was somewhat cleaned up.
2762         (1) make possible a dynamically growing LColor list by allowing
2763         the graphic context cache to grow along (vector);
2764         (2) eliminate an IMHO unnecessary step in colour allocation.
2765
2766 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
2767
2768         * BufferView_pimpl.C: compile fix
2769
2770 2003-08-15  André Pönitz  <poenitz@gmx.net>
2771
2772         * rowpainter.C: remove extra metrics calls
2773
2774         * lyxtext.h: merge the two constructors into a single one,
2775           pass reference to owner's par list
2776
2777         * BufferView_pimpl.C:
2778         * text.C:
2779         * text2.C: adjust
2780
2781 2003-08-15  André Pönitz  <poenitz@gmx.net>
2782
2783         * lyxrow_funcs.[Ch]:
2784         * lyxtext.h:
2785         * paragraph.h:
2786         * paragraph_funcs.C:
2787         * rowpainter.C:
2788         * text.C:
2789         * text2.C:
2790         * text3.C:
2791         * text_funcs.C: split LyXText::rowlist_ into individual
2792         Paragraph::rows_ chunks
2793
2794         * BufferView.[Ch]:
2795         * BufferView_pimpl.[Ch]:
2796         * lyxfind.C:
2797         * lyxtext.h:
2798         * text3.C: remove toggleSelection()
2799
2800 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
2801
2802         * bufferlist.C: beautify two alerts (shorter text of buttons)
2803         * buffer.C: Remove redundant ' ' from message
2804         * tabular.h:
2805         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2806         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2807         rename VALIGN_CENTER to VALIGN_MIDDLE
2808
2809 2003-08-11  André Pönitz  <poenitz@gmx.net>
2810
2811         * lyxtext.h (getPar):
2812         * text.C: new function
2813
2814 2003-08-11  André Pönitz  <poenitz@gmx.net>
2815
2816         * Makefile.am:
2817         * tracer.[Ch]: remove unneeded files
2818
2819         * InsetList.[Ch]: remove resizeInsetsLyXText()
2820
2821         * lyxtext.h:
2822         * text.C:
2823         * text2.C:
2824         * text3.C: merge insertParagraphs() and appendParagraph()
2825         remove breakAgain(), update()
2826
2827         * BufferView_pimpl.[Ch]:
2828         * bufferview_funcs.[Ch]:
2829         * lyxfunc.C:
2830         * paragraph.[Ch]:
2831         * rowpainter.C:
2832         * tabular.C: adjust after text & InsetList changes.
2833
2834 2003-08-08  André Pönitz  <poenitz@gmx.net>
2835
2836         * text.C (insertChar, backspace): replace rowlist fiddling
2837         with rebreak of full par
2838
2839         * lyxtext.h:
2840         * text.C (breakAgainOneRow, redoHeightOfParagraph,
2841         checkParagraph, updateInset): removed
2842
2843 2003-08-07  André Pönitz  <poenitz@gmx.net>
2844
2845         * paragraph.C:
2846         * text3.C: merge some LFUN handlers, remove dead code
2847
2848 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2849
2850         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2851
2852 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
2853
2854         * text2.C (DEPM): fix part of bug 1255 and 1256
2855
2856 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2857
2858         * BufferView_pimpl.C (workAreaDispatch): change to use
2859         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2860         that are no mouse related.
2861
2862 2003-08-05  André Pönitz  <poenitz@gmx.net>
2863
2864         * BufferView.[Ch]:
2865         * BufferView_pimpl.[Ch]:
2866         * bufferview_funcs.C:
2867         * text2.C:
2868         * text3.C: rip out "deep update"
2869
2870         * textcursor.[Ch] (last_sel_cursor): remove unused member
2871
2872 2003-08-04  André Pönitz  <poenitz@gmx.net>
2873
2874         * BufferView.[Ch]:
2875         * BufferView_pimpl.[Ch]:
2876         * ParagraphParameters.C:
2877         * bufferview_funcs.C:
2878         * lyx_cb.C:
2879         * lyxfind.C:
2880         * lyxfunc.C:
2881         * text.C:
2882         * text2.C:
2883         * text3.C: replace "complicated" BufferView::update(...) calls with
2884         simpler ones.
2885
2886         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2887
2888 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2889
2890         * Makefile.am (lyx_SOURCES): add paper.h
2891
2892 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2893
2894         * Makefile.am: move things around so that both lyx-qt and
2895         lyx-xforms can be built (according to --with-frontend). Then lyx
2896         is a symbolic link to lyx-[firstfrontend]
2897
2898 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2899
2900         * Always use std::endl with lyxerr
2901
2902 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2903
2904         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2905
2906 2003-08-01  André Pönitz  <poenitz@gmx.net>
2907
2908         * BufferView.[Ch]:
2909         * BufferView_pimpl.[Ch]:
2910         * lyxfunc.C:
2911         * text3.C: merge BufferView::repaint() and BufferView::update()
2912
2913 2003-08-01  José Matos  <jamatos@lyx.org>
2914
2915         * buffer.[Ch]: file_format is no longer a buffer data element.
2916
2917 2003-08-01  André Pönitz  <poenitz@gmx.net>
2918
2919         * BufferView.C:
2920         * lyxtext.h:
2921         * text.C:
2922         * text2.C: make redoParagraph more independent of current cursor
2923
2924         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2925         * text.C:
2926         * text2.C: remove unneeded members
2927
2928 2003-07-30  André Pönitz  <poenitz@gmx.net>
2929
2930         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2931
2932         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2933           create a single function...
2934
2935         * paragraph_funcs.C (moveItem): ... here.
2936
2937         * text.C:
2938           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2939
2940 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2941
2942         * LColor.[Ch]: Add comment and greyedout logical colors.
2943
2944 2003-07-30  André Pönitz  <poenitz@gmx.net>
2945
2946         * tabular.C: don't use Assert too heavily. This crashes where it
2947           shouldn't
2948
2949 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2950
2951         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2952         is disabled (bug 1232)
2953
2954 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2955
2956         * factory.C: limited 'arg' scope
2957
2958 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2959
2960         * factory.C: fixed Note submenu issues
2961
2962 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2963
2964         * factory.C: submenu for Note/Comment/Greyedout
2965
2966 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2967
2968         * lyx_main.C (LyX):
2969         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2970
2971 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2972
2973         * LaTeXFeatures.C:
2974         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2975         greyedout. Patch provided by Jürgen Spitzmüller.
2976
2977 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2978
2979         * kbmap.C (read): fix error message when reading bind files
2980
2981 2003-07-29  Angus Leeming  <leeming@lyx.org>
2982
2983         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2984         certainly does not do what it purports to do. I am doing it, and
2985         us, a favour by killing it.
2986
2987 2003-07-28  José Matos  <jamatos@lyx.org>
2988
2989         * buffer.C (readBody, do_writeFile):
2990         * paragraph.C(readParagraph): \end_document replaces \the_end.
2991
2992 2003-07-29  André Pönitz  <poenitz@gmx.net>
2993
2994         * BufferView.[Ch]:
2995         * BufferView_pimpl.[Ch]:
2996         * lyxfunc.C:
2997         * text2.C:
2998         * text3.C:
2999         * textcursor.[Ch]: remove toggleToggle & Co
3000
3001 2003-07-28  José Matos  <jamatos@fep.up.pt>
3002
3003         * buffer.C (readParagraph):
3004         * params_func (readParToken, readParagraph):
3005         * paragraph.C (write): \layout -> \begin_layout.
3006
3007 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3008
3009         * lyxlex_pimpl.C (setFile): clean up slightly.
3010
3011         * bufferparams.h: add compressed var
3012
3013         * buffer_funcs.C (readFile): adjust for LyXLex change
3014         (newFile): ditto + simplify
3015
3016         * buffer.C (writeFile): handle writing of compressed files
3017
3018         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3019         Check if the file is compressed and set a bufferparm if so.
3020
3021         * Makefile.am (lyx_LDADD): remove explicit -lz
3022
3023 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3024
3025         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3026         makeDocBookFile): put the real LyX version in the first line of
3027         the file
3028
3029         * version.h:
3030         * version.C.in: remove lyx_docversion
3031
3032         * tabular.C (write_attribute): add a template-based version to
3033         write enums properly
3034
3035 2003-07-28  André Pönitz  <poenitz@gmx.net>
3036
3037         * lyxtext.h:
3038         * text.C:
3039         * text2.C:
3040         * text3.C: use doubles again for x-coordinates. They are needed.
3041
3042 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3043
3044         * messages.C (getLocaleDir): use lyx_localedir()
3045
3046         * lyxlex_pimpl.C (setFile): compress stuff
3047
3048         * buffer.C (writeFile): add some compression stuff
3049         (do_writeFile): new func, dont call expliti close... will this
3050         breake anything?
3051
3052         * Makefile.am (lyx_LDADD): add -lz
3053
3054 2003-07-28  José Matos  <jamatos@fep.up.pt>
3055
3056         * buffer.C: increment file format.
3057         * paragraph_funcs (readParagraph, readParToken):
3058         * paragraph.C (readParagraph): add \end_layout.
3059
3060 2003-07-27  Angus Leeming  <leeming@lyx.org>
3061
3062         * Makefile.am: remove special casing for configure-time setting of
3063         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3064
3065         * lyx_main.C (init): remove all Jean-Marc's magic setting of
3066         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3067
3068 2003-07-26  André Pönitz  <poenitz@gmx.net>
3069
3070         * paragraph_func.[Ch]:
3071         * paragraph.C (realizeFont): inline it whereever it is used
3072
3073         * rowpainter.C:
3074         * text.C:
3075         * text2.C:
3076         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3077
3078
3079 2003-07-26  André Pönitz  <poenitz@gmx.net>
3080
3081         *       lyxtext.h:
3082         * text.C:
3083         * text2.C: get rid of LyXText::need_break_row
3084
3085 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3086
3087         * toc.[Ch]: put namespace toc inside namespace lyx
3088
3089         * MenuBackend.C (expandToc2): adjust for lyx::toc
3090         (expandToc): ditto
3091
3092         * lyxfunc.C (dispatch): adjust for lyx::find
3093
3094         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3095         lyx::find instead. Reorganize a bit.
3096         (LyXReplace): rename to replace
3097         (LyXFind): rename to find
3098
3099         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3100         (dispatch): ditto
3101
3102 2003-07-26  André Pönitz  <poenitz@gmx.net>
3103
3104         * text.C (setHeightOfRow): restrict scope of temporary variable
3105
3106         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
3107           code (never has been used?)
3108
3109 2003-07-27  Asger Alstrup  <alstrup@local>
3110
3111         * text.C (fill): Optimise algorithm to exploit that we can reuse
3112         the LyXFont for many characters.
3113         (setHeightOfRow): Same thing.
3114         (rowBreakPoint): Same thing.
3115
3116 2003-07-26  Asger Alstrup  <alstrup@local>
3117
3118         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3119
3120         * text.C (singleWidth): Spurious font copying in hot-spot
3121         singleWidth avoided. Reorder tests for arabic for efficiency.
3122
3123         * text.C (fill): handle empty paragraphs better.
3124
3125 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3126
3127         * ispell.C:
3128         * encoding.h: add includes
3129
3130         * lyxrc.C: remove reading of bind files
3131
3132         * lyx_main.C (init): setup bindings and menus only if we have a
3133         gui.
3134
3135         * kbmap.C (read): new method. Do the actual reading of bind
3136         files.
3137
3138         * converter.C (dvipdfm_options):
3139         * bufferparams.C:
3140         * lyxrc.C (read):
3141         (output): adapt PAPER_* enums.
3142
3143         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3144
3145         * bufferparams.h: remove paper-related enums from there
3146
3147         * paper.h: New file. A trivial header file to hold paper-related
3148         enums. It should later expand to contain many paper-related
3149         horrors access.
3150
3151         * lyxrc.C: declare extern displayTranslator
3152
3153 2003-07-27  José Matos  <jamatos@fep.up.pt>
3154
3155         * tabular.[Ch] (linuxdoc): add support for tables and figures
3156         (linuxdoc).
3157
3158 2003-07-27  José Matos  <jamatos@fep.up.pt>
3159
3160         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3161         consistency in both functions.
3162         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3163
3164 2003-07-26  Asger Alstrup  <alstrup@local>
3165
3166         * rowpainter.C (paintRows): Change algorithm to work directly on
3167         the insets rather than asking every character in the document
3168         whether its an inset.
3169
3170 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
3171
3172         * buffer.C (openFileWrite): factorize some code
3173
3174 2003-07-26  Angus Leeming  <leeming@lyx.org>
3175
3176         * lyx_cb.C:
3177         * lyx_main.[Ch]: replace occurances of system_tempdir with
3178         os::getTmpDir().
3179
3180 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3181
3182         * rename Inset to InsetOld
3183
3184 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
3185
3186         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3187         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3188         which I think is a bit clearer. EDIT is gone, since it was
3189         premature optimisation, and broken for mathed anyway.
3190         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3191         with cursor positioning in insets as well (math insets still do not
3192         work, but that's a different story anyway.) It mysteriously
3193         crashes sometimes with undo in the first paragraph, but I'm fairly
3194         confident that this is a compiler bug.
3195
3196 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3197
3198         * paragraph.C (Paragraph): adjust for new clone return type
3199         (operator==): ditto
3200         (copyIntoMinibuffer): ditto
3201
3202 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
3203
3204         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3205         by not having a special case, and always doing a full rebreak of
3206         the document after undo.
3207
3208 2003-07-23  Angus Leeming  <leeming@lyx.org>
3209
3210         * factory.C (createInset): InsetExternal::setParams now takes a
3211         Buffer const * arg.
3212
3213 2003-07-23  Angus Leeming  <leeming@lyx.org>
3214
3215         * factory.C (createInset): changed interface to the external and
3216         graphics mailers' string2params functions.
3217
3218 2003-07-23  Angus Leeming  <leeming@lyx.org>
3219
3220         * factory.C (createInset): pass a
3221         Buffer const * parameter to InsetExternalMailer's string2params.
3222
3223 2003-07-22  John Levon  <levon@movementarian.org>
3224
3225         * Thesaurus.h: include the right aiksaurus header
3226
3227 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3228
3229         * MenuBackend.C (expand): check menu shortcuts unconditionally
3230
3231 2003-07-21  Angus Leeming  <leeming@lyx.org>
3232
3233         * factory.C (createInset): pass a
3234         buffer_path parameter to InsetGraphicsMailer's string2params.
3235
3236 2003-07-21  Angus Leeming  <leeming@lyx.org>
3237
3238         * BufferView_pimpl.C (buffer):
3239         * buffer.C (d-tor):
3240         * lyx_main.C (LyX):
3241         * lyxfunc.C (dispatch):
3242         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3243         rather than the grfx shortcut.
3244
3245 2003-07-21  André Pönitz  <poenitz@gmx.net>
3246
3247         * rowpainter.C: remove unused variables
3248
3249         * tabular_funcs.C:
3250         * tabular_funcs.h: move to tabular.C
3251         * Makefile.am: adjust
3252
3253         * tabular.[Ch]: basic optical cleaning
3254
3255         * author.h: pass references, not values
3256
3257 2003-07-18  André Pönitz  <poenitz@gmx.net>
3258
3259         * lyxtext.h:
3260         * metricsinfo.C:
3261         * metricsinfo.h:
3262         * rowpainter.C:
3263         * text.C:
3264         * text2.C:
3265         * text3.C: two-phase drawing for InsetText and InsetTabular
3266         some float -> int changes.
3267
3268 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3269
3270         * lyx_main.C: fix the fix
3271
3272 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3273
3274         * lyx_main.C: fix a crash in batch mode if no files specified
3275         * converter.C: ws
3276
3277 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
3278
3279         * format.[Ch] (papersize): moved to BufferParams
3280         * converter.[Ch] (dvips_options): moved to BufferParams
3281         (dvipdfm_options): moved to anon namespace
3282         * bufferparams.[Ch]: added above functions.
3283
3284 2003-07-17  André Pönitz  <poenitz@gmx.net>
3285
3286         * lyxtext.h:
3287         * rowpainter.C:
3288         * text2.C: don't call inset->update() anymore
3289
3290         * metricsinfo.[Ch]: add convenience constructor
3291
3292 2003-07-16  André Pönitz  <poenitz@gmx.net>
3293
3294         * lyxcursor.[Ch]:
3295         * lyxfunc.[Ch]:
3296         * text.C:
3297         * text2.C: replace the LyXCursor::irow_ member with
3298          on-demand computation of the value
3299
3300 2003-07-16  John Levon  <levon@movementarian.org>
3301
3302         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3303
3304 2003-07-15  André Pönitz  <poenitz@gmx.net>
3305
3306         * text.C:
3307         * text2.C: remove no more needed refresh_row
3308
3309 2003-07-15  André Pönitz  <poenitz@gmx.net>
3310
3311         * lyxtext.h:
3312         * rowpainter.C:
3313         * text2.C:
3314         * text3.C: refresh_status tristate -> need_update bool
3315
3316 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
3317
3318         * lyxtext.h (init): remove reinit argument (act as if always true)
3319         * text2.C: adjust to that
3320
3321 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3322
3323         * bufferview_funcs.[Ch]: introduce function replaceSelection()
3324         * text3.C: use it to delete selections in some cases
3325         (bugs 441, 673, 702, 954).
3326
3327 2003-07-14  André Pönitz  <poenitz@gmx.net>
3328
3329         * rowpainter.[Ch]: reduce interface
3330
3331 2003-07-14  André Pönitz  <poenitz@gmx.net>
3332
3333         * BufferView_pimpl.C:
3334         * text2.C: adjust after removing unused BufferView * argument
3335
3336 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
3337
3338         * text2.C (init): fix a crash fired on resize
3339
3340 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
3341
3342         * buffer.[Ch]: added new closing signal
3343         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3344         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3345         BufferView::Pimpl via the closing the signal
3346
3347 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
3348
3349         * buffer.[Ch]: take out all bv-related from buffer
3350         * BufferView.C:
3351         * BufferView_pimpl.[Ch]: connect to new signals
3352         * CutAndPaste.C: removed useless asserts
3353         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3354         * lyxvc.[Ch]:
3355         * vc-backend.[Ch]:
3356         * lyxfunc.C: moved view-related funciontality from vc here
3357         * paragraph.C: removed outdated comments
3358         * text.C: ws
3359
3360 2003-07-10  André Pönitz  <poenitz@gmx.net>
3361
3362         * BufferView_pimpl.C:
3363         * tabular.h:
3364         * tabular_funcs.C:
3365         * text.C:
3366         * text2.C: remove InsetText::InnerCache, clean up consequences
3367
3368 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
3369
3370         * ispell.C: fix two typos in error messages
3371
3372 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
3373
3374         * Extend Note inset to other forms of annotation like Comment
3375         and Greyedout. Right button click gives dialog.
3376
3377         Files modified or added (+):
3378
3379         * insetnote.[Ch]
3380         * FormNote.[Ch]      +
3381         * ControlNote.[Ch]   +
3382         * form_note.fd       +
3383         * Makefile.am in frontends/xforms, frontends/xforms/forms,
3384         frontends/controllers
3385         * xforms/Dialogs.C
3386         * factory.C
3387
3388 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3389
3390         * aspell.C: add missing namespace lyx::support
3391
3392 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
3393
3394         * BufferView.[Ch] (newFile): Add
3395         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3396         * LaTeX.[Ch] (message): added this signal and use it
3397         * buffer.[Ch] (busy, message): added these signals and use them
3398         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3399         * converter.C:
3400         * exporter.C:
3401         * format.C:
3402         * importer.C: use buffer signals instead of direct bv calling
3403         * lyx_cb.[Ch] (ShowMessage): removed
3404         * lyx_main.C:
3405         * lyxfunc.C:
3406         * paragraph_funcs.C:
3407         * text2.C: use buffer signals
3408
3409 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3410
3411         * introduce namespace lyx::graphics
3412
3413 2003-07-02  André Pönitz  <poenitz@gmx.net>
3414
3415         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3416
3417 2003-07-01  André Pönitz  <poenitz@gmx.net>
3418
3419         * text.C:
3420         * text2.C:
3421         * text3.C:
3422         * text_funcs.[Ch]:
3423         * textcursor.h:
3424         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3425           text*.C to text_func.C
3426
3427 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3428
3429         * introduce namespace lyx::support
3430
3431 2003-06-30  André Pönitz  <poenitz@gmx.net>
3432
3433         * Chktex.C:
3434         * funcrequest.C:
3435         * lyxtext.h:
3436         * text.C: re-enable --with-included-string
3437
3438 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3439
3440         * textcursor.C: add <config.h>
3441
3442         * text.C (getWord): remove const from word_location arg
3443
3444         * lyxvc.C (getLogFile): fix const type order
3445
3446         * lyxtext.h: remove const from word_location arg, add arg name
3447
3448         * lyxlayout.h: currect type on labeltype.
3449
3450         * importer.C: correct \file
3451
3452         * converter.C (intToFormat): use std:: on ret val, ws changes
3453
3454         * bufferlist.h: correct \file
3455
3456         * buffer.C (makeLinuxDocFile): fix const type order
3457         (makeDocBookFile): ditto
3458         (fillWithBibKeys): use std:: on stdlib args.
3459
3460         * CutAndPaste.C: fix authors.
3461         (availableSelections): use std:: on return vector
3462
3463 2003-06-27  André Pönitz  <poenitz@gmx.net>
3464
3465         * BufferView_pimpl.C:
3466         * bufferview_funcs.C:
3467         * lyxcursor.C:
3468         * lyxcursor.h:
3469         * lyxfunc.C:
3470         * lyxtext.h:
3471         * rowpainter.C:
3472         * text.C:
3473         * text2.C:
3474         * text3.C: remove LyXCursor::row_ member
3475
3476         * lyxtext.h:
3477         * text.C: rename fullRebreak() to partialRebreak() and implement
3478           a fullRebreak() that really bereks fully
3479
3480         * textcursor.h: new struct for cursor-related data
3481
3482 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
3483
3484         * lyx_main.C (LyX): get full path of document loaded on the
3485         command line
3486
3487 2003-06-26  André Pönitz  <poenitz@gmx.net>
3488
3489         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3490           remove unused/broken operator>,<,>=.
3491
3492         *       text.C: remove only use of broken operator<= in an Assert().
3493
3494 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3495
3496         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3497         moved errorlist_.clear to showErrorList
3498
3499 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3500
3501         * converter.C (scanLog, runLaTeX):
3502         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3503         move the bv->showErrorList call to the callers
3504         * lyxfunc.C: i.e. here...
3505         * text2.C: and here
3506         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3507         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3508         namespace, the second to...
3509         * buffer_funcs (BufferFormat, parseErrors): added
3510         * errorlist.C (ErrorList(TeXErrors const &)): removed
3511
3512 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3513
3514         * ToolbarBackend.C (getIcon): complain when icon cannot be found
3515
3516 2003-06-24  "Garst R. Reese" <reese@isn.net>
3517
3518         * debug.C: fix typo
3519
3520 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3521
3522         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3523
3524         * version.C.in: change docversion to 1.4
3525
3526 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
3527
3528         * buffer.C: fix a bug just introduced
3529
3530 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
3531
3532         * buffer.[Ch]: added the parseError signal and use it, removed
3533         sgmlError
3534         * BufferView.[Ch] (addError): moved to ...
3535         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3536         to the Buffer::parseError signal to catch (guess what) parse errors
3537         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3538
3539 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
3540
3541         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3542         ability to create a buffer and to return an existing one from
3543         the list. Moved these functions to...
3544         * buffer_funcs.[Ch]: added
3545         * BufferView.[Ch] (loadLyXFile): added
3546         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3547         job removed from bufferlist::loadLyXFile.
3548         * buffer.C (setReadOnly): make it work without view
3549         (i.e added an if (users))
3550
3551 2003-06-19  Angus Leeming  <leeming@lyx.org>
3552
3553         * lfuns.h:
3554         * LyXAction.C (init):
3555         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3556         with LFUN_DIALOG_SHOW <name> <data>.
3557
3558 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3559
3560         * CutAndPaste.C (availableSelections): small compilation fix for
3561         ancient (gcc 2.9x) compilers
3562
3563 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3564
3565         * text3.C (cursorNext): add tmp var
3566
3567         * text2.C (updateCounters): for function calling out of for clause
3568         (replaceSelectionWithString): ditto
3569         (insertStringAsParagraphs): ditto
3570         (getColumnNearX): add tmp var
3571         (setCursorFromCoordinates): add tmp var
3572         (cursorDownParagraph): add tmp var
3573         (deleteEmptyParagraphMechanism): add tmp var
3574
3575         * text.C (insertChar): add tmp var
3576
3577         * rowpainter.C (paintDepthBar): add tmp var
3578
3579         * CutAndPaste.C (availableSelections): potentially check all
3580         paragraphs in a cut to fill the shown strings.
3581
3582 2003-06-18  André Pönitz  <poenitz@gmx.net>
3583
3584         * kbmap.[Ch]: use vector<> instead of list<>
3585
3586 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
3587
3588         * text3.C (dispatch): handle arg to LFUN_PASTE, call
3589         pasteSelection with index
3590
3591         * text2.C (pasteSelection): modify, call pasteSelection with index
3592
3593         * paragraph.C (asString): reimplement version with no interval to
3594         call the one with interval.
3595
3596         * lyxtext.h: add index arg to pasteSelection
3597
3598         * MenuBackend.C (MenuItem): handle PasteRecent
3599         (Menu::read::Menutags): add md_pasterecent
3600         (read): handle it
3601         (expandPasteRecent): new function
3602         (expand): use it
3603
3604         * MenuBackend.h: add PasteRecent to MenuItem::Kind
3605
3606         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3607         the limited stack
3608         (availableSelections): new function
3609
3610 2003-06-17  Angus Leeming  <leeming@lyx.org>
3611
3612         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3613
3614 2003-06-17  Angus Leeming  <leeming@lyx.org>
3615
3616         * lfuns.h:
3617         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3618
3619         * lyxfunc.C (dispatch): invoke it.
3620
3621 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3622
3623         * iterators.C (operator++, ParPosition): reintroduce some
3624         const_cast for the benefit of older compilers.
3625
3626 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3627
3628         * text3.C (dispatch): do not modify clipboard when doing
3629         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3630         LFUN_DELETE_SKIP on a selection selection
3631
3632 2003-06-16  André Pönitz  <poenitz@gmx.net>
3633
3634         * BufferView.C:
3635         * buffer.C:
3636         * buffer.h:
3637         * paragraph.C:
3638         * tabular.[Ch]: IU of clone() and getLabelList();
3639
3640 2003-06-13  André Pönitz  <poenitz@gmx.net>
3641
3642         * tabular.h: compactification
3643
3644 2003-06-12  André Pönitz  <poenitz@gmx.net>
3645
3646         * tabular.C:
3647         * tabular.h:
3648         * tabular_funcs.h: some renaming plus whitespace
3649
3650 2003-06-12  André Pönitz  <poenitz@gmx.net>
3651
3652         * BufferView.C:
3653         * BufferView_pimpl.C:
3654         * CutAndPaste.C:
3655         * buffer.C:
3656         * iterators.[Ch]:
3657         * lyxfunc.C:
3658         * text.C:
3659         * toc.C: Return a Paragraph & for ParIterator::operator*()
3660
3661 2003-06-11  John Levon  <levon@movementarian.org>
3662
3663         * lyx_main.C:
3664         * ToolbarBackend.h:
3665         * ToolbarBackend.C: add "Toolbars" section and
3666         put the flags there
3667
3668 2003-06-10  Angus Leeming  <leeming@lyx.org>
3669
3670         * lfuns.h:
3671         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
3672
3673         * lyxfunc.C (dispatch): invoke it.
3674
3675 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3676
3677         * main.C: protect <ios> with HAVE_IOS
3678         (main): protect sync_with_stdio with HAVE_IOS
3679
3680 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
3681
3682         * text2.C (cutSelection): adjust
3683         (pasteSelection): adjust
3684
3685         * messages.C: handle get of empty string
3686
3687         * main.C (main): use sync_with_stdio(false)
3688
3689         * lyxfunc.C (dispatch): adjust
3690
3691         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
3692         (WriteAs): remove unneeded BufferView arg.
3693
3694         * bufferparams.h: use correct types on papersize, papersize2 and
3695         paperpackage.
3696
3697         * bufferparams.C (readToken): adjust for type
3698         (writeLaTeX): add missing cases to switch.
3699
3700         * bufferlist.C (quitWriteBuffer): adjust
3701         (close): adjust
3702
3703         * buffer.C (asciiParagraph): remove some commented code.
3704
3705         * CutAndPaste.C: remove current_view extern variable.
3706         (cutSelection): add BufferParams arg.
3707         (eraseSelection): add BufferParams arg.
3708         (pasteSelection): add Buffer const & arg
3709
3710 2003-06-07  John Levon  <levon@movementarian.org>
3711
3712         * buffer.C:
3713         * paragraph_funcs.C:
3714         * paragraph_pimpl.C:
3715         * text.C:
3716         * text2.C:
3717         * paragraph.h:
3718         * paragraph.C: allow InsetERT to freely space lines,
3719         and some consolidation of code
3720
3721 2003-06-06  José Matos  <jamatos@fep.up.pt>
3722
3723         * buffer.C (makeDocBookFile): fix bug #821
3724
3725 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
3726
3727         * BufferView_pimpl.C (dispatch): use Dialogs::visible
3728
3729 2003-06-04  Angus Leeming  <leeming@lyx.org>
3730
3731         * buffer.C: bump format to 224.
3732
3733 2003-06-05  André Pönitz  <poenitz@gmx.net>
3734
3735         * text2.C (redoParagraphs): remove two const_cast<>
3736
3737 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3738
3739         * ParagraphList.h: remove last remnants of NO_STD_LIST
3740
3741 2003-06-03  Angus Leeming  <leeming@lyx.org>
3742
3743         * factory.C (createInset): small change to the way InsetExternal's params
3744         are set.
3745
3746 2003-06-04  André Pönitz  <poenitz@gmx.net>
3747
3748         * buffer.h: use Undo directly instead of shared_ptr<Undo>
3749
3750         * paragraph_pimpl.h:
3751         * paragraph.[Ch]: some Inset -> UpdatableInset changes
3752
3753         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
3754
3755         * undo_funcs.C: make some simple cases of undo work again
3756
3757 2003-06-03  John Levon  <levon@movementarian.org>
3758
3759         * ispell.C: HPUX doesn't have sys/select.h
3760         (from Albert Chin)
3761
3762 2003-06-03  John Levon  <levon@movementarian.org>
3763
3764         * CutAndPaste.C: update tabular and include inset
3765         buffer references
3766
3767         * buffer.h:
3768         * paragraph.h:
3769         * paragraph.C: remove owningBuffer(), don't pass Buffer
3770         to clone()
3771
3772         * factory.C: insetGraphicsParams changed
3773
3774 2003-06-02  John Levon  <levon@movementarian.org>
3775
3776         * LyXAction.C:
3777         * factory.C:
3778         * lfuns.h:
3779         * lyxfunc.C:
3780         * text3.C: remove insetparent
3781
3782 2003-06-02  John Levon  <levon@movementarian.org>
3783
3784         * buffer.h:
3785         * buffer.C: fix inset_iterator.end(), move out of line
3786         (bug 1149)
3787
3788 2003-06-01  John Levon  <levon@movementarian.org>
3789
3790         * text3.C: use a proper cut/paste when doing inset
3791         insert (from Jürgen Spitzmüller)
3792
3793 2003-06-01  John Levon  <levon@movementarian.org>
3794
3795         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3796
3797 2003-05-30  André Pönitz  <poenitz@gmx.net>
3798
3799         * rowpainter.C: unify second drawing phase
3800
3801 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3802
3803         * trans_mgr.C: remove one case of current_view
3804
3805         * text2.C (cursorBottom): delete NO_STD_LIST stuff
3806
3807         * paragraph_funcs.h: remove paragraph.h include
3808
3809         * paragraph.h: delete NO_STD_LIST stuff
3810
3811         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3812
3813         * buffer.h: remove paragraph.h include
3814
3815         * ParagraphList.C: delete file
3816
3817         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3818
3819         * toc.C (getTocList): adjust
3820
3821         * paragraph_pimpl.C (validate): adjust
3822
3823         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3824
3825         * paragraph.C (Paragraph): adjust
3826         (getPositionOfInset): use const_iterator, adjust
3827         (bibitem): use const_iterator, adjust
3828         (setInsetOwner): adjust
3829
3830         * iterators.C (operator++): adjust
3831
3832         * InsetList.[Ch]: Replace selfmade iterator with standard
3833         vector::iterator also introduce const_iterator. Remove getPos,
3834         getInset and setInset from InsetTable. Adjust accordingly.
3835
3836         * BufferView.C (lockInset): adjust
3837         (ChangeInsets): adjust
3838
3839         * tabular.[Ch]: delete commented same_id functions
3840
3841 2003-05-28  John Levon  <levon@movementarian.org>
3842
3843         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3844
3845 2003-05-28  André Pönitz  <poenitz@gmx.net>
3846
3847         * metricsinfo.[Ch]: remove 'fullredraw' member
3848
3849 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3850
3851         * lyxtextclass.C (operator): remove caching.
3852
3853 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3854
3855         * text3.C: adjust
3856
3857         * text2.C (cursorBottom): adjust
3858         (setCounter): use ParagraphList::find, adjust
3859
3860         * text.C (workWidth): use ParagraphList::find, adjust
3861
3862         * lyxcursor.C (LyXCursor): adjust
3863
3864         * buffer.C (inset_iterator): adjust
3865
3866         * ParagraphList.h: make iterator(value_type) private, make
3867         ParagraphList a friend of iterator.
3868
3869         * ParagraphList.C (find): new function
3870
3871         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3872
3873 2003-05-27  André Pönitz  <poenitz@gmx.net>
3874
3875         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3876
3877 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3878
3879         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3880
3881 2003-05-26  John Levon  <levon@movementarian.org>
3882
3883         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3884
3885 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3886
3887         * remove same_id from function signatures, adjust.
3888
3889 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3890
3891         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3892
3893         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3894
3895         * paragraph.C (Paragraph): get rid of same_ids parameter
3896
3897         * ParagraphList.C (insert): adjust
3898         (push_back): adjust
3899
3900 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3901
3902         * paragraph_funcs.C (breakParagraph): adjust
3903         (breakParagraphConservative): adjust
3904
3905         * buffer.C (readParagraph): adjust
3906
3907         * ParagraphList.C (insert): take a reference instead of a pointer
3908         (insert): adjust
3909
3910         * paragraph.[Ch] (id): new function
3911
3912         * bufferlist.C (newFile): adjust
3913
3914         * ParagraphList.C (ParagraphList): adjust
3915         (assign): adjust
3916         (push_back): take a reference instead of a pointer.
3917
3918         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3919
3920         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3921         instead.
3922
3923         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3924         set else use old code.
3925
3926         * ParagraphList.C: remove all NO_NEXT code and only compile this
3927         code of NO_STD_LIST is set.
3928
3929 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3930
3931         * BufferView_pimpl.C:
3932         * TextCache.C:
3933         * TextCache.h:
3934         * bufferlist.C:
3935         * errorlist.h:
3936         * format.C:
3937         * format.h:
3938         * graph.C:
3939         * lyxfunc.C:
3940         * lyxrc.C:
3941         * graphics/GraphicsConverter.C:
3942         * graphics/PreviewLoader.C: header adjustment
3943
3944 2003-05-23  Angus Leeming  <leeming@lyx.org>
3945
3946         * LaTeXFeatures.[Ch] (useBabel): new method.
3947         * bufferparams.C (writeLaTeX): use it.
3948
3949 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3950
3951         * ParagraphList.h (set): remove unused function.
3952
3953 2003-05-23  André Pönitz  <poenitz@gmx.net>
3954
3955         * BufferView.C:
3956         * BufferView_pimpl.C:
3957         * buffer.C:
3958         * buffer.h:
3959         * lyxfunc.C:
3960         * undo_funcs.C: setUndo reworked
3961
3962         * iterators.[Ch]: add access to topmost ParagraphList
3963
3964         * lyxtext.[Ch] (workWidth): add a const
3965
3966 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3967
3968         * texrow.[Ch] (increasePos): remove function
3969         * exporter.C (export): removed unused var and outdated comment
3970
3971 2003-05-23  Angus Leeming  <leeming@lyx.org>
3972
3973         * latexrunparams.h: rename fragile as moving_arg.
3974         * paragraph.C (simpleTeXOnePar): ditto.
3975         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3976
3977 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3978
3979         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3980         (createUndo): ditto
3981         (textUndoOrRedo): comment out a currently unused var.
3982
3983         * paragraph.h (NO_NEXT): enable NO_NEXT
3984
3985         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3986
3987         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3988
3989         * exporter.C (Export): adjust for removeAutoInsets removal.
3990
3991         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3992
3993         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3994
3995         * BufferView.[Ch] (removeAutoInsets): delete function
3996
3997 2003-05-22  Angus Leeming  <leeming@lyx.org>
3998
3999         * latexrunparams.h: add a free_spacing variable.
4000
4001         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4002         to pass moving_arg, as the data is stored in runparams.fragile.
4003
4004         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4005         to Inset::latexOptional or to simpleTeXOnePar.
4006
4007         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4008         free_spacing arg to Inset::latexOptional.
4009
4010         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4011         free_spacing arg.
4012
4013 2003-05-22  Angus Leeming  <leeming@lyx.org>
4014
4015         * latexrunparams.h: add fragile and use_babel variables.
4016
4017         * bufferparams.[Ch] (writeLaTeX): return use_babel.
4018         * buffer.C (makeLaTeXFile): store this returned value in
4019         runparams.use_babel, thus passing it to the inset::latex methods.
4020
4021         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4022         simpleTeXSpecialChars as it is now stored in runparams.fragile.
4023
4024         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4025         longer has a fragile arg, as it is stored in runparams.fragile.
4026
4027         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4028         moving_arg parameter as the data is stored in runparams.fragile.
4029
4030         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4031         a fragile parameter as the data is stored in runparams.fragile.
4032
4033 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4034
4035         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4036
4037 2003-05-22  Angus Leeming  <leeming@lyx.org>
4038
4039         * latexrunparams.h: add a 'bool nice' which defaults to false.
4040
4041         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4042         now encapsulated within runparams.
4043
4044         * bufferlist.C (updateIncludedTeXfiles):
4045         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4046
4047 2003-05-22  Angus Leeming  <leeming@lyx.org>
4048
4049         * latexrunparams.h: new file containing struct LatexRunParams.
4050         * Makefile.am: add new file.
4051
4052         * LaTeX.[Ch] (c-tor, run):
4053         * buffer.[Ch] (makeLaTeXFile):
4054         * bufferlist.[Ch] (updateIncludedTeXfiles):
4055         * converter.C (convert, scanLog):
4056         * converter.[Ch] (runLaTeX):
4057         * exporter.C (Export):
4058         * paragraph.[Ch] (simpleTeXOnePar):
4059         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4060         * paragraph_funcs.[Ch] (latexParagraphs):
4061         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4062         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4063         pass around a LatexRunParams parameter.
4064
4065 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4066
4067         * paragraph.[Ch]: remove unused constructor
4068
4069         * ParagraphList.C (erase): new function, taking two iterators
4070
4071 2003-05-22  André Pönitz  <poenitz@gmx.net>
4072
4073         * undo_funcs.C: remove duplicated code
4074
4075         * iterator.[Ch]: operator=
4076
4077 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4078
4079         * tabular.C (SetMultiColumn): ws changes
4080
4081         * rowpainter.C (paintFirst): get rid of a ->previous
4082
4083         * lyx_cb.C (getPossibleLabel): parlist simplification
4084
4085         * BufferView.C (ChangeInsets): simplify slightly.
4086
4087 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4088
4089         * LyXAction.C: new lfun space-insert, kill protected-space-insert
4090         * lfuns.h: new LFUN_SPACE
4091         * lyxfunc.C: protected space has a new lfun
4092         * paragraph_funcs.C: read new space insets
4093         * text3.C:
4094         * factory.C: handle new space insets
4095
4096 2003-05-22  André Pönitz  <poenitz@gmx.net>
4097
4098         * BufferView.C:
4099         * BufferView_pimpl.C:
4100         * buffer.[Ch]:
4101         * lyxfunc.C:
4102         * undo_funcs.C: return a ParIterator from getParFromID.
4103
4104         * iterators.[Ch]: add two const's
4105
4106 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4107
4108         * toc.C (getTocList): adjust
4109
4110         * iterators.[Ch]: rework for parlist
4111
4112         * buffer.C (par_iterator_begin): adjust
4113         (par_iterator_end): adjust
4114
4115         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4116
4117         * BufferView.C (removeAutoInsets): adjust
4118         (ChangeInsets): adjust
4119
4120 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
4121
4122         * text.C (top_y): fix bug 1110
4123
4124 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
4125
4126         * errorlist.[Ch]: added
4127         * buffer.C:
4128         * BufferView.[Ch]:
4129         * BufferView_pimpl.C:
4130         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4131         instead
4132
4133 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4134
4135         * Makefile.am: ensure that lyx is relinked upon changes to the
4136         various "convenience" libs.
4137
4138 2003-05-20  Angus Leeming  <leeming@lyx.org>
4139
4140         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4141         files are compiled in alphabetical order again.
4142
4143         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4144
4145 2003-05-19  Angus Leeming  <leeming@lyx.org>
4146
4147         * gettext.[Ch]: remove "char const * _(char const *)".
4148
4149 2003-05-19  André Pönitz  <poenitz@gmx.net>
4150
4151         * dimension.[Ch]: promote from mathed/dimension.[Ch]
4152
4153         * Makefile.am:
4154         * BufferView.C:
4155         * DepTable.h:
4156         * LaTeXFeatures.C:
4157         * buffer.C:
4158         * lyxfont.C:
4159         * lyxlex.h:
4160         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4161
4162 2003-05-19  André Pönitz  <poenitz@gmx.net>
4163
4164         * buffer.C:
4165         * lyxlayout.[Ch]:
4166         * lyxtextclass.[Ch]:
4167         * paragraph.C:
4168         * paragraph_funcs.[Ch]:
4169         * text2.C:
4170         * text3.C: more insetenv work
4171
4172 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
4173
4174         * ParagraphParameters.C (params2string): small bug fixed
4175
4176 2003-05-16  André Pönitz  <poenitz@gmx.net>
4177
4178         * debug.C:
4179         * bufferview_funcs.C: patch from Kornel Benko to prevent
4180           crash when _(...) is called twice in a statement
4181
4182 2003-05-16  André Pönitz  <poenitz@gmx.net>
4183
4184         * BufferView.C:
4185         * lyxfunc.C:
4186         * text.C:
4187         * text2.C:
4188         * text3.C:
4189         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4190
4191 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
4192
4193         * lyx_main.C (init): remove spurious static_cast
4194
4195 2003-05-14  André Pönitz  <poenitz@gmx.net>
4196
4197         * BufferView.C: fix format string
4198
4199 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
4200
4201         * BufferView.[Ch] (insertErrors): removed
4202         * BufferView.[Ch] (showErrorList): added
4203         * buffer.C (runChkTeX):
4204         * converter.C (scanLog): call showErrorList instead of inserterrors
4205
4206 2003-05-13  André Pönitz  <poenitz@gmx.net>
4207
4208         * BufferView_pimpl.C:
4209         * buffer.C:
4210         * bufferview_func.C:
4211         * MenuBackend.C:
4212         * lyxfunc.C:
4213         * lyxrc.C:
4214         * tex-accent.C:
4215         * text3.C:
4216         * toc.C:
4217         * tabular_funcs.h: tostr() from its own header
4218
4219         * ParagraphParameters.C:
4220         * ToolbarBackend.C:
4221         * bufferparams.C:
4222         * format.C:
4223         * lyxlex_pimpl.C:
4224         * text3.C: STRCONV()
4225
4226 2003-05-12  André Pönitz  <poenitz@gmx.net>
4227
4228         * BufferView.C:
4229         * BufferView_pimpl.C:
4230         * CutAndPaste.C:
4231         * LaTeX.C:
4232         * LaTeXFeatures.C:
4233         * ParagraphParameters.C:
4234         * buffer.C:
4235         * bufferlist.C:
4236         * bufferparams.C:
4237         * bufferview_funcs.C:
4238         * converter.C:
4239         * counters.C:
4240         * debug.C:
4241         * exporter.C:
4242         * format.C:
4243         * importer.C:
4244         * lyx_cb.C:
4245         * lyx_main.C:
4246         * lyxfont.C:
4247         * lyxfunc.C:
4248         * lyxvc.C:
4249         * paragraph.C:
4250         * paragraph_funcs.C:
4251         * tabular.C:
4252         * tabular_funcs.C:
4253         * text2.C:
4254         * text3.C:  boost::format -> bformat  all over the place
4255
4256
4257 2003-05-09  André Pönitz  <poenitz@gmx.net>
4258
4259         * LColor.[Ch]: Pimpl the #include <map> away
4260
4261 2003-05-09  John Levon  <levon@movementarian.org>
4262
4263         * bufferlist.C: never remove emergency saves
4264
4265 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4266
4267         * Makefile.am: better lib building
4268
4269 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4270
4271         * texrow.[Ch]: remove dependency on Paragraph and just store a id
4272         instead.
4273         * paragraph_pimpl.C (simpleTeXBlanks): adjust
4274         (simpleTeXSpecialChars): adjust
4275         (simpleTeXSpecialChars): adjust
4276         * paragraph.C (simpleTeXOnePar): adjust
4277         * buffer.C (makeLaTeXFile): adjust
4278
4279         * Makefile.am (BOOST_LIBS): allow boost as system lib.
4280
4281         * text2.C (changeDepth): parlist cleanup
4282         (getColumnNearX): ditto
4283
4284         * rowpainter.C (getLabelFont): parlist cleanup
4285
4286         * bufferlist.C (newFile): parlist cleanup
4287
4288         * CutAndPaste.C (eraseSelection): parlist cleanup
4289
4290         * BufferView_pimpl.C (trackChanges): parlist cleanup
4291         (dispatch): ditto
4292
4293         * BufferView.C (lockInset): parlist cleanup.
4294         (ChangeInsets): ditto
4295
4296 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4297
4298         * CutAndPaste.h: Update file header.
4299
4300         * CutAndPaste.C: Update file header.
4301         Store the parts cut out of the Document in a limited_stack.
4302         (copySelection): adjust
4303         (pasteSelection): new function, takes the index in the limited stack.
4304         (nrOfParagraphs): adjust
4305         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4306         simplify error inset insertion.
4307         (checkPastePossible): adjust
4308
4309 2003-05-06  John Levon  <levon@movementarian.org>
4310
4311         * text2.C: don't cast wrap inset to float
4312
4313 2003-05-05  André Pönitz  <poenitz@gmx.net>
4314
4315         * iterator.C:
4316         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4317
4318         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4319           few naked Paragraph *.
4320
4321 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
4322
4323         * bufferparams.C: Output warning if a document with missing
4324         TeX document class is loaded
4325         * exporter.C: Disable TeX exports if the document class is missing
4326         * lyxtextclass.C:
4327         * lyxtextclass.h:
4328         * lyxtextclasslist.C: Handle new textclass.lst format; new method
4329         isTeXClassAvailable()
4330
4331 2003-05-03  John Levon  <levon@movementarian.org>
4332
4333         * BufferView.h:
4334         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4335         explicit cursor show/hide
4336
4337         * BufferView_pimpl.h:
4338         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4339         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4340
4341         * lyxfunc.C: hide cursor before dispatching.
4342
4343         * lyx_cb.C:
4344         * lyxfind.C:
4345         * text.C:
4346         * text3.C: remove explicit cursor hides
4347
4348 2003-05-02  André Pönitz  <poenitz@gmx.net>
4349
4350         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4351
4352         * undo_funcs.C:
4353         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4354           linked lists
4355
4356         * text2.C: tiny whitespace
4357
4358 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4359
4360         * undo_funcs.C: almost only ws changes.
4361
4362         * ParagraphList.C (splice): just return if pl is empty.
4363
4364 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4365
4366         * ParagraphList.C (splice): new function.
4367
4368         * CutAndPaste.C (pasteSelection): use it
4369
4370 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4371
4372         * CutAndPaste.C (pasteSelection): remove the last next and
4373         previous from this file.
4374
4375 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4376
4377         * CutAndPaste.C (pasteSelection): more clean up, user proper
4378         ParagraphList functions for pasteing.
4379
4380         * ParagraphList.C (insert): new function, three arg insert
4381
4382 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4383
4384         * ParagraphList.C (insert): new function, three arg insert
4385
4386         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4387         not on paragraphs.
4388
4389 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4390
4391         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4392
4393 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4394
4395         * CutAndPaste.C (pasteSelection): remove some unneeded code.
4396
4397 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4398
4399         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4400         (copySelection): clean up a bit.
4401         (pasteSelection): use make_pair
4402
4403         * ParagraphList.C (ParagraphList): implement copy constructor
4404         (operator=): implement, base on copy constructor.
4405         (assign): new func
4406
4407         * paragraph.C (erase): return a bool
4408
4409         * paragraph_pimpl.C (erasePos): remove function, move contents...
4410         (erase): ... here. Return a bool.
4411         (erase): call erase instead of erasePos.
4412
4413 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
4414
4415         * ParagraphList.h: define PitPosPair
4416         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4417         ParagraphList, fix a bug on pasting multiple pars
4418         * text2.C: change interface to C&P
4419
4420 2003-04-30  André Pönitz  <poenitz@gmx.net>
4421
4422         * undo_func.C: revert part of yesterday's patch 2
4423
4424 2003-04-30  John Levon  <levon@movementarian.org>
4425
4426         * LColor.C: s/tabular/table/
4427
4428 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4429
4430         * text3.C (dispatch): do not convert iterator -> pointer
4431         * undo_funcs.C (setCursorParUndo): ditto
4432         * text_funcs.C (transposeChars): ditto
4433
4434         * text2.C (setLayout): ws changes only
4435
4436         * text.C (breakParagraph): do not convert iterator -> pointer
4437         (insertChar): ditto
4438         (acceptChange): ditto
4439         (rejectChange): ditto
4440         (changeCase): ditto
4441         (Delete): ditto
4442         (backspace): ditto
4443
4444         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4445         pointer
4446
4447 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4448
4449         * text3.C (gotoInset): YABG (yet another bad getChar)
4450
4451 2003-04-29  André Pönitz  <poenitz@gmx.net>
4452
4453         * paragraph.h: make operator= private unimplemented as long as
4454           it is unusable
4455
4456         * ParagraphList.C: whitespace
4457
4458         * paragraph.[Ch]:
4459         * paragraph_pimpl.[Ch]:
4460         * paragraph_funcs.C:
4461         * CutAndPaste.C:
4462         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
4463
4464         * text2.C:
4465           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4466
4467 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4468
4469         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4470         * paragraph.[Ch] (erase):
4471         * paragraph_pimpl.[Ch] (erase): change return type and value
4472         * text2.C (cutSelection): some rework
4473
4474 2003-04-28  John Levon  <levon@movementarian.org>
4475
4476         * bufferlist.C: changes for unsaved changes dialog
4477
4478 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4479
4480         * bufferlist.C (newFile): set language (messages_) for new
4481         documents also.
4482
4483         * buffer.C (readFile): ws changes only.
4484
4485 2003-04-28  André Pönitz  <poenitz@gmx.net>
4486
4487         * undo_funcs.C:
4488         * lyxfunc.C:
4489         * buffer.[Ch]:
4490         * BufferView_pimpl.C:
4491         * BufferView.C: getParFromID related ParagraphList::iterator changes
4492
4493 2003-04-28  André Pönitz  <poenitz@gmx.net>
4494
4495         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4496           Changes
4497
4498 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4499
4500         * messages.C: remove one more localedir class variable.
4501
4502 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4503
4504         * messages.C (getLocaleDir): singleton generation function
4505         (Pimpl): use it.
4506         (Messages): add a default constructor.
4507
4508         * main.C (main): do not setup localedir here, do not call
4509         gettext_init.
4510
4511         * gettext.C (_): use it.
4512         (gettext_init): delete funciton
4513
4514 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4515
4516         * gettext.C (getLyXMessages): new singleton generating function.
4517
4518         * buffer.C (updateDocLang): adjust
4519
4520         * Makefile.am (messages.o): add target
4521         (main.o): remove target
4522
4523 2003-04-27  John Levon  <levon@movementarian.org>
4524
4525         * bufferlist.C:
4526         * lyx_cb.C:
4527         * lyxfunc.C:
4528         * lyxvc.C: specify cancel button in Alert::prompt
4529
4530 2003-04-26  John Levon  <levon@movementarian.org>
4531
4532         * text3.C:
4533         * lyxfunc.C:
4534         * lfuns.h:
4535         * LyXAction.C: add LFUN_INSET_SETTINGS
4536
4537         * lyxfunc.C: don't enable tabular-feature when there's
4538         just any locking inset
4539
4540 2003-04-26  John Levon  <levon@movementarian.org>
4541
4542         * bufferlist.C: re-add Cancel to buffer close question
4543
4544         * lyxfunc.C: fix import UI a bit
4545
4546 2003-04-25  John Levon  <levon@movementarian.org>
4547
4548         * gettext.C: remove the broken asserts for now
4549
4550 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4551
4552         * messages.C: make case where setlocale cannot comply work better.
4553
4554         * buffer.C (updateDocLang): new function
4555         (changeLanguage): use it
4556         (readFile): use it
4557
4558         * text2.C (setCounter): use B_ a bit.
4559
4560         * lyxlayout.C (Read): be sure to trim the label strings.
4561
4562         * messages.C (Messages): fix typo in comment
4563
4564         * buffer.C (readFile): set message_ after file is loaded.
4565         (makeDocBookFile): remove double return
4566         (changeLanguage): reset message_ upon language change.
4567         (B_): new func, use this to get translated buffer strings.
4568
4569         * main.C: add myself and Jean Marc as authors.
4570
4571 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4572
4573         * messages.[hC]: pimplify Messages, and three different pimpls to be
4574         used in different circumstances.
4575
4576         * gettext.[Ch]: change for use with new message code.
4577
4578 2003-04-24 André Pönitz <poenitz@gmx.net>
4579
4580         * factory.C: support for eqref
4581
4582 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4583
4584         * messages.[Ch]: add missing char
4585
4586         * Makefile.am (lyx_SOURCES): add messages.[Ch]
4587
4588         * messages.[Ch]: New files
4589
4590 2003-04-18  John Levon  <levon@movementarian.org>
4591
4592         * BufferView.h:
4593         * BufferView.C:
4594         * BufferView_pimpl.C:
4595         * lfuns.h:
4596         * LyXAction.C:
4597         * lyxtext.h:
4598         * text2.C: remove layout-copy/paste (bug 778)
4599
4600 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4601
4602         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4603
4604 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4605
4606         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4607         if they succeed. Act accordingly.
4608
4609 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4610
4611         * text2.C (setCharFont): adjust
4612         (setCounter): adjust
4613         (insertStringAsLines): adjust
4614
4615         * text.C (leftMargin): adjust
4616         (setHeightOfRow): adjust
4617
4618         * rowpainter.C (paintFirst): adjust
4619         (paintLast): adjust
4620
4621         * paragraph_funcs.C (depthHook): ParagraphList::iterators
4622         (outerHook): ditto
4623         (isFirstInSequence): ditto
4624         (getEndLabel): ditto
4625         (outerFont): adjust
4626
4627         * paragraph.C (getParLanguage): comment out some hard stuff.
4628
4629         * buffer.C (insertStringAsLines): take a ParagraphList as arg
4630         (sgmlError): ditto
4631         (simpleDocBookOnePar): ditto
4632         (makeDocBookFile): use ParagraphList::iterator
4633
4634         * CutAndPaste.C (pasteSelection): adjust
4635
4636 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4637
4638         * text2.C (getFont): adjust
4639         (getLayoutFont): adjust
4640         (getLabelFont): adjust
4641
4642         * paragraph_funcs.C (TeXOnePar): adjust
4643
4644         * buffer.C (simpleLinuxDocOnePar): adjust
4645         (simpleDocBookOnePar): adjust
4646
4647         * CutAndPaste.C (pasteSelection): adjust
4648
4649         * BufferView.C (getEncoding): adjust
4650
4651         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4652
4653 2003-04-16  John Levon  <levon@movementarian.org>
4654
4655         * lyxfind.C: use parlist stuff for search/changes
4656
4657 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4658
4659         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4660
4661         * text2.C (deleteEmptyParagraphMechanism): adjust
4662
4663         * text2.[Ch] (ownerParagraph): delete func (both of them
4664
4665 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4666
4667         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
4668
4669 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4670
4671         * ParagraphList.C: prepare for NO_NEXT
4672
4673 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4674
4675         * text2.C (getFont): adjust
4676         (getLayoutFont): adjust
4677         (getLabelFont): adjust
4678
4679         * paragraph.C (getFont): adjust
4680         (getLabelFont): adjust
4681         (getLayoutFont): adjust
4682
4683         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
4684
4685 2003-04-15  John Levon  <levon@movementarian.org>
4686
4687         From Angus Leeming
4688
4689         * lyx_main.C: handle Include in .ui files
4690
4691 2003-04-15  John Levon  <levon@movementarian.org>
4692
4693         * MenuBackend.C: make the doc files length shorter
4694
4695         * ToolbarBackend.h:
4696         * ToolbarBackend.C: handle toolbar placement flags,
4697         Minibuffer
4698
4699 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4700
4701         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
4702         adjust
4703
4704         * paragraph_funcs.C (TeXOnePar): adjust
4705
4706         * paragraph.C (getLabelFont): add outerfont arg, adjust
4707         (getLayoutFont): ditto
4708         (simpleTeXOnePar): adjust
4709
4710         * paragraph_pimpl.C (realizeFont): delete func
4711
4712 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
4713
4714         * text2.C (beforeFullRowInset): added a bad getchar check, removed
4715         row argument, constify cur argument.
4716
4717 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4718
4719         * text2.C (getFont): adjust
4720         (getLayoutFont): adjust
4721         (getLabelFont): adjust
4722
4723         * paragraph_funcs.C (TeXOnePar): adjust
4724         (outerFont): new func...
4725         (realizeFont): ...moved out from here, changed this to facilitate
4726         transition
4727
4728         * paragraph.C (getFont): take outerfont as arg, adjust
4729         (simpleTeXOnePar): add outerfont arg, adjust
4730
4731         * buffer.C (simpleLinuxDocOnePar): adjust
4732         (simpleDocBookOnePar): adjust
4733
4734         * CutAndPaste.C (pasteSelection): adjust
4735
4736         * BufferView.C (getEncoding): adjust
4737
4738 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4739
4740         * text2.C (setCharFont): adjust
4741         (setCounter): adjust
4742
4743         * text.C (leftMargin): adjust
4744         (setHeightOfRow): adjust
4745
4746         * rowpainter.C (paintFirst): adjust
4747         (paintLast): adjust
4748
4749         * paragraph_pimpl.C (realizeFont): adjust
4750
4751         * paragraph.C (isFirstInSequence): move from here...
4752         * paragraph_funcs.C (isFirstInSequence): ...to here
4753
4754         * paragraph.C (outerHook): move from here...
4755         * paragraph_funcs.C (outerHook): ...to here
4756
4757         * paragraph.C (depthHook): move from here...
4758         * paragraph_funcs.C (depthHook): ...to here
4759
4760         * paragraph.C (getEndLabel): move from here...
4761         * paragraph_funcs.C (getEndLabel): ...to here
4762
4763         * text2.C (realizeFont): move from here...
4764         * paragraph_funcs.C (realizeFont): ...to here
4765
4766 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4767
4768         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
4769
4770 2003-04-14  Angus Leeming  <leeming@lyx.org>
4771
4772         * LColor.[Ch]: scrap LColor mathcursor.
4773
4774 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4775
4776         * lyxlex.[Ch] (text): delete function
4777         * trans.C (Load): adjust
4778         * paragraph_funcs.C (readParToken): adjust
4779
4780 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4781
4782         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
4783         vector<char> instead of a char[].
4784
4785         * lyxlex_pimpl.C (getString): adjust
4786         (next): adjust
4787         (lex): use getString
4788         (eatLine): adjust
4789         (nextToken): adjust
4790
4791         * lyxlex.C (text): use pimpl_->getString()
4792         (getBool): ditto
4793         (findToken): ditto
4794
4795 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4796
4797         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4798         (makeFontEntriesLayoutSpecific): temp var for par.size()
4799         (setLayout): temp var for ownerParagraphs().end()
4800         (fullRebreak): temp var for rows().end()
4801         (selectionAsString): temp var for boost::next(startpit), realize
4802         that the while really is a regular for loop.
4803         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4804         setCursor in one place.
4805         (setParagraph): temp vr for ownerParagraphs().end()
4806         (updateCounters): make the while loop a for loop
4807         (cutSelection): temp var for ownerParagraphs().end()
4808         (updateInset): make the do {} while() a regular for loop
4809         (getCursorX): use temp vars
4810         (setCurrentFont): use temp vars
4811         (getColumnNearX): use temp vars
4812
4813 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4814
4815         * text.C (transformChar): use temp var for getChar
4816         (computeBidiTables): use temp var for row->par()
4817         (fill): move temp vars for row->par() and pit->layout() earlier in
4818         the function.
4819         (labelFill): use temp var for row->par()
4820         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4821         asc and desc, realize that pit never changes and that firstpit is
4822         just a duplicate and not needed. Exchange rit->par() with pit in a
4823         lot of places.
4824         (breakAgain): use a temp var for boost::next(rit)
4825         (breakAgainOneRow): ditto
4826         (breakParagraph): use a temp var for rows().begin()
4827         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4828         (cursorRightOneWord): use temp var for cursor.par() and
4829         cursor.pos(), remove usage of tmpcursor.
4830         (cursorLeftOneWord): use temp var for cursor.par() and
4831         cursor.pos() only set cur at end of function.
4832
4833 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4834
4835         * text.C, text2.C: exchange all usage of Paragraph::next with
4836         boost::next(ParagraphList::iterator)
4837
4838         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4839
4840         * text2.C (cursorTop): simplify implementation
4841         (cursorBottom): ditto
4842         (setParagraph): use ParagraphList::iterator
4843         (setCurrentFont): adjust
4844         (getColumnNearX): adjust
4845         (cursorRight): adjust
4846         (cursorLeft): remove usage of Paragraph::previous
4847         (cursorUpParagraph): ditto
4848         (deleteEmptyParagraphMechanism): slight cleanup
4849
4850         * text.C (isBoundary): take a Paragraph const & instead of a
4851         pointer as arg.
4852         (addressBreakPoint): ditto
4853         (leftMargin): remove usage of Paragraph::previous.
4854         (setHeightOfRow): ditto
4855         (cursorLeftOneWord): ditto
4856         (selectNextWordToSpellcheck): ditto
4857         (Delete): ditto
4858         (backspace): ditto
4859         (breakParagraph): remove one usage of Paragraph::next
4860         (redoParagraph): ditto
4861         (acceptChange): ditto
4862         (insertChar): adjust
4863         (rowBreakPoint): adjust
4864
4865         * bufferview_funcs.C (toggleAndShow): adjust
4866
4867 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4868
4869         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4870         methods to access it.
4871         * lyxtext.h:
4872         * text.C: Added updateRowPositions to compute all row positions.
4873         Make top_y and getRowNearY() to use the cached y position
4874
4875 2003-04-11  John Levon  <levon@movementarian.org>
4876
4877         * text.C (rowBreakPoint): reintroduce the labelEnd
4878         checks, code copied from the row fill stuff. Deep voodoo.
4879
4880         * text.C (fill): add a comment and debugging for the
4881         next poor soul.
4882
4883 2003-04-11  John Levon  <levon@movementarian.org>
4884
4885         * text.C: make sure fullrow insets get wrapped to the next line,
4886         even when they're in a manual label
4887
4888 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4889
4890         * text2.C (insertParagraph): make it take ParagraphList::iterator
4891         as arg.
4892         (setLayout): make it return ParagraphList::iterator
4893         (redoParagraphs): ditto
4894         (setCounter): ditto
4895         (checkParagraph): ditto
4896
4897         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4898
4899         * text2.C: adjust several funcs.
4900         (realizeFont): take a ParagraphList::iterator as arg.
4901         (getLayoutFont): ditto
4902         (getLabelFont): ditto
4903         (setCharFont): ditto
4904
4905         * text.C: adjust several funcs.
4906
4907 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4908
4909         * text.C (selectNextWordToSpellcheck): don't accidentally
4910         skip insets
4911
4912 2003-04-10  John Levon  <levon@movementarian.org>
4913
4914         * ToolbarBackend.C (getIcon): special handling for
4915         LFUN_MATH_DELIM
4916
4917 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4918
4919         * text2.C (cursorRight): a getChar assert fixed
4920
4921 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4922
4923         * text2.C (getFont): change to take a ParagraphList::iterator
4924         instead of Paragraph*
4925         Adjust several functions.
4926
4927         * text.C (transformChar): change to take a ParagraphList::iterator
4928         instead of Paragraph*
4929         (singleWidth): ditto
4930         Adjust several functions.
4931
4932         * rowpainter.C: adjust several functions
4933         * rowpainter.h:store a ParagraphList::iterator and not a
4934         Paragraph&.
4935
4936
4937 2003-04-09  John Levon  <levon@movementarian.org>
4938
4939         * lyxfunc.C:
4940         * lfuns.h:
4941         * LyXAction.h:
4942         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4943         and the "help" bits as well
4944
4945 2003-04-09  John Levon  <levon@movementarian.org>
4946
4947         * ToolbarBackend.h:
4948         * ToolbarBackend.C: allow multiple toolbars
4949
4950 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4951
4952         * undo_funcs.C (setCursorParUndo): adjust
4953
4954         * text_funcs.C (transposeChars): adjust
4955
4956         * text3.C (gotoNextInset): adjust
4957         (dispatch): adjust
4958
4959         * text2.C (setLayout): adjust
4960         (changeDepth): adjust
4961         (setFont): adjust
4962         (redoParagraphs): adjust
4963         (selectionAsString): adjust
4964         (setParagraph): adjust
4965         (insertInset): adjust
4966         (cutSelection): adjust
4967         (copySelection): adjust
4968         (pasteSelection): adjust
4969         (insertStringAsLines): adjust
4970         (updateInset): adjust
4971         (setCursor): change to take a ParagraphList::iterator parameter
4972         (setCursorIntern): change to take a ParagraphList::iterator parameter
4973         (setCurrentFont): adjust
4974         (cursorLeft): adjust
4975         (cursorRight): adjust
4976         (deleteEmptyParagraphMechanism): adjust
4977
4978         * text.C (breakParagraph): adjust
4979         (insertChar): adjust
4980         (acceptChange): adjust
4981         (rejectChange): adjust
4982         (selectNextWordToSpellcheck): adjust
4983         (changeCase): adjust
4984         (Delete): adjust
4985         (backspace): adjust
4986
4987         * lyxfind.C (SearchForward): adjust
4988         (SearchBackward): adjust
4989         (nextChange): adjust
4990
4991         * lyxcursor.C (par): adjust
4992
4993         * lyxcursor.h: store a ParagraphList::iterator instead of a
4994         Paragraph*
4995
4996         * lyx_cb.C (getPossibleLabel): adjust
4997
4998         * bufferview_funcs.C (toggleAndShow): adjust
4999
5000         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5001         (dispatch): adjust
5002
5003         * BufferView.C (removeAutoInsets): adjust
5004         (lockedInsetStoreUndo): adjust
5005
5006 2003-04-09  John Levon  <levon@movementarian.org>
5007
5008         * ToolbarBackend.C: try icon without argument
5009         if with argument fails
5010
5011 2003-04-08  John Levon  <levon@movementarian.org>
5012
5013         * ToolbarBackend.h:
5014         * ToolbarBackend.C: add getIcon(), handle tooltip,
5015         and change from "Icon" to "Item".
5016
5017 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5018
5019         * BufferView.C (lockInset): another bad getchar crunched
5020
5021 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5022
5023         * text2.C (changeDepth): do not setUndo on test_only (make undo work
5024         again)
5025
5026 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
5027
5028         * lyxfind.C (searchForward, searchBackwards): bug 782
5029
5030 2003-04-07  John Levon  <levon@movementarian.org>
5031
5032         * paragraph.C: remove dead comment
5033
5034         * text.C: remove troublesome depth-fiddling code
5035         in leftMargin() and rightMargin() (bug 1017)
5036
5037         * text.C: fix breaking of rows in nested lists
5038         (bug 1004)
5039
5040         * text2.C (updateCounters): fix up depth values
5041         (bug 1013)
5042
5043 2003-04-07  John Levon  <levon@movementarian.org>
5044
5045         * BufferView_pimpl.C: clear message when doc finishes resizing,
5046         and after a mouse event
5047
5048         * lyxfunc.C: clear message after exiting inset
5049
5050 2003-04-07  John Levon  <levon@movementarian.org>
5051
5052         * bufferview_funcs.C: show math status not outside
5053         status in the statusbar
5054
5055 2003-04-07  John Levon  <levon@movementarian.org>
5056
5057         * lyxfunc.C: note status changed after a depth change
5058
5059 2003-04-04  Angus Leeming  <leeming@lyx.org>
5060
5061         * LaTeX.h: move AuxInfo operator==, != out of line.
5062         Remove LaTeX virtual destructor; nothing derives from it.
5063         Move operator()() out of public area and rename it startscript().
5064         Change protected for private.
5065
5066 2003-04-04  Angus Leeming  <leeming@lyx.org>
5067
5068         * lyxfunc.C:
5069         * text2.C: remove unneeded #includes.
5070
5071 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5072
5073         * text2.C (dEPM): fix the heigth of the next row
5074
5075 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5076
5077         * text.C: squashed an invalid getChar requester + some ws changes
5078
5079 2003-04-03  John Levon  <levon@movementarian.org>
5080
5081         * bufferview_funcs.h:
5082         * bufferview_funcs.C:
5083         * lyxfunc.C:
5084         * lyxtext.h:
5085         * text2.C: make getStatus work for the env depth lfuns
5086
5087 2003-04-03  John Levon  <levon@movementarian.org>
5088
5089         * bufferview_funcs.h:
5090         * bufferview_funcs.C:
5091         * lyxfunc.C:
5092         * lyxtext.h:
5093         * text2.C: parlistize decDepth(), by merging it with incDepth()
5094
5095 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5096
5097         * lyxrow.h: store a ParagraphList::iterator instead of a
5098         Paragraph* and adjust other class functions to suit.
5099
5100         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5101         above.
5102
5103 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5104
5105         * text2.C (setCursor): do not anchor to cursor row for the time being
5106
5107 2003-04-02  John Levon  <levon@movementarian.org>
5108
5109         * LyXAction.C:
5110         * lfuns.h:
5111         * lyx_main.C:
5112         * lyxtext.h:
5113         * text.C:
5114         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5115
5116 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5117
5118         * paragraph.h: make ParagraphList and ParagraphList::iterator
5119         friends of Paragraph.
5120
5121         * buffer.C (makeLinuxDocFile): move towards ParagraphList
5122
5123         * ParagraphList.C: Use the private next_ and previous_ from
5124         Paragraph.
5125
5126 2003-04-01  John Levon  <levon@movementarian.org>
5127
5128         * ToolbarBackend.h:
5129         * ToolbarBackend.C:
5130         * Makefile.am: rename, remove defaults gunk
5131
5132         * MenuBackend.h:
5133         * MenuBackend.C: remove defaults gunk
5134
5135         * Languages.h:
5136         * Languages.C: remove defaults gunk
5137
5138         * lyx_main.h:
5139         * lyx_main.C: error out if files couldn't be found.
5140
5141 2003-04-02  John Levon  <levon@movementarian.org>
5142
5143         * text2.C: make incDepth() use parlist
5144
5145 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5146
5147         * undo_funcs.C (firstUndoParagraph): adjust
5148
5149         * text3.C (gotoInset): adjust
5150         (dispatch): adjust, and rewrite loop.
5151
5152         * text2.C (init): adjust, and rewrite loop.
5153         (redoParagraphs): adjust
5154         (updateInset): adjust, and rewrite loop.
5155         (deleteEmptyParagraphMechanism): adjust
5156
5157         * tabular.C (LyXTabular): adjust
5158         (SetMultiColumn): adjust
5159         (TeXRow): adjust
5160
5161         * lyxtext.[Ch] (ownerParagraph): delete function
5162         (ownerParagraphs): new function returns a ParagraphList.
5163
5164         * BufferView.C (removeAutoInsets): adjust
5165         (insertErrors): adjust
5166         (setCursorFromRow): adjust
5167
5168 2003-04-01  Angus Leeming  <leeming@lyx.org>
5169
5170         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5171         in the frontends.
5172
5173 2003-04-02  John Levon  <levon@movementarian.org>
5174
5175         * lyxtext.h:
5176         * text.C:
5177         * Makefile.am:
5178         * text_funcs.h:
5179         * text_funcs.C: make transposeChars a free function
5180
5181         * lyxrow_funcs.C: remove wrong comment
5182
5183 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5184
5185         * lyxtext.h: adjust
5186         * rowpainter.C: adjust
5187         * text.C: adjust
5188         * text2.C: adjust
5189         * text3.C: adjust
5190
5191         * lyxrow_funcs. [Ch]: new files
5192
5193         * lyxrow.[Ch]: remove next and previous pointers
5194         (next,previous): remove accessor functions
5195         (isParEnd): move to lyxrow_funcs
5196         (lastPos): move to lyxrow_funcs
5197         (nextRowIsAllInset): move to lyxrow_funcs
5198         (lastPrintablePos): move to lyxrow_funcs
5199         (numberOfSeparators): move to lyxrow_funcs
5200         (numberOfHfills): move to lyxrow_funcs
5201         (numberOfLabelHfills): move to lyxrow_funcs
5202         (hfillExpansion): move to lyxrow_funcs
5203
5204         * lyxfunc.C: adjust
5205
5206         * bufferview_funcs.C (toggleAndShow): adjust
5207
5208         * RowList.h: Remove class RowList from file leave just a
5209         std::list<Row>.
5210
5211         * RowList.C: delete file
5212
5213         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5214         and lyxrow_funcs.h
5215
5216 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5217
5218         * text3.C (cursorPrevious): adjust
5219         (cursorNext): adjust
5220         (dispatch): adjust
5221
5222         * text2.C (redoHeightOfParagraph): adjust
5223         (redoDrawingOfParagraph): adjust
5224         (setCursor): adjust
5225
5226         * text.C (breakParagraph): adjust
5227         (insertChar): adjust
5228         (backspace): adjust
5229
5230         * rowpainter.C (RowPainter): adjust
5231         (leftMargin): simplify and adjust
5232         (most rowpainter functions): adjust.
5233
5234         * rowpainter.h: store the row as RowList::iterator not as Row*
5235
5236         * lyxcursor.C (row): taka RowList::iterator as arg
5237         (irow): ditto
5238
5239         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5240         of Row*.
5241
5242 2003-04-01  Angus Leeming  <leeming@lyx.org>
5243
5244         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5245         stuff like bool Bool.
5246
5247 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5248
5249         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5250         rewrite a loop
5251
5252 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5253
5254         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5255         RowList::iterator.
5256
5257         * lyxtext.h (rows): drop one version and leve a const variant that
5258         returns a RowList::iterator.
5259
5260 2003-03-31  Angus Leeming  <leeming@lyx.org>
5261
5262         * text.C (fill): ensure that the signature is the same as that in the
5263         header file.
5264
5265 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
5266
5267         * text2.C (redoParagraphs): adjust
5268         (updateCounters): adjust
5269         (checkParagraph): adjust
5270         (getColumnNearX): adjust and reformat a bit.
5271
5272         * text.C (top_y): adjust
5273         (workWidth): adjust
5274         (leftMargin): adjust
5275         (prepareToPrint): adjust
5276         (getRow): adjust
5277         (getRowNearY): adjust
5278
5279         * lyxtext.h: make rowlist_ mutable.
5280
5281         * RowList.h: add const_iterator
5282         * RowList.C: adjust for RowList::const_iterator.
5283
5284         * text2.C (getCursorX): make it take a RowList::iterator as arg,
5285         adjust.
5286
5287 2003-03-31  John Levon  <levon@movementarian.org>
5288
5289         * lyxrc.h:
5290         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5291
5292         * lyx_main.C: set default fonts from using lyx_gui funcs
5293
5294         * exporter.C: pdf_mode moved from lyxrc
5295
5296         * lyx_cb.C:
5297         * lyxfunc.C: changes from above
5298
5299 2003-03-31  John Levon  <levon@movementarian.org>
5300
5301         * lyx_main.C: fix to the last fix
5302
5303 2003-03-31  John Levon  <levon@movementarian.org>
5304
5305         * bufferlist.C: "Load original" -> "Load Original"
5306
5307         * converter.C:
5308         * exporter.C:
5309         * importer.C:
5310         * lyx_main.C:
5311         * format.C: more Alert cleanups
5312
5313 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5314
5315         * text2.C (removeParagraph): make it take a RowList::iterator as
5316         arg, adjust.
5317         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5318         (postRowPaint): make it take a RowList::iterator as arg, adjust.
5319
5320         * text.C (anchor_row): make it take a RowList::iterator as arg,
5321         adjust.
5322         (computeBidiTables): make it take a const reference to Row instead
5323         of Row pointer, adjust.
5324         (leftMargin): make it take a RowList::iterator as arg, adjust.
5325         (rowBreakPoint): adjust
5326         (breakAgainOneRow): make it take a RowList::iterator as arg,
5327         adjust.
5328         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5329
5330         * bufferview_funcs.C (toggleAndShow): adjust
5331
5332 2003-03-30  John Levon  <levon@movementarian.org>
5333
5334         * Makefile.am:
5335         * BoostFormat.h:
5336         * boost-inst.C: moved to support
5337
5338         * several files: changes as a result
5339
5340 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5341
5342         * text2.C (LyXText): adjust.
5343         (init): adjust
5344         (removeRow): make it take a RowList::iterator as arg, adjust.
5345         (fullRebreak): adjust
5346         (deleteEmptyParagraphMechanism): adjust
5347         (clearPaint): adjust
5348         (postPaint): adjust
5349
5350         * text.C (top_y): adjust
5351         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5352         (breakAgain): make it take a RowList::iterator as arg, adjust.
5353         (breakParagraph): adjust
5354         (insertChar): adjust
5355         (backspace): adjust
5356
5357         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5358         need_break_row, and refresh_row.
5359
5360         * text3.C (dispatch): adjust
5361
5362         * text2.C (checkParagraph): adjust
5363         (setCursor): adjust
5364         (setCursorFromCoordinates): adjust
5365
5366         * text.C (top_y): adjust
5367         (workWidth): adjust
5368         (getRow): make it return a RowList::iterator, adjust
5369         (getRowNearY): make it return a RowList::iterator, adjust
5370
5371         * text2.C (init): adjust
5372         (insertRow): remove function
5373         (insertParagraph): adjust
5374         (redoParagraphs): adjust
5375         (fullRebreak): adjust
5376         (updateCounters): adjust
5377
5378         * text.C (top_y): rewrite to use RowList iterators.
5379         (top_y): adjust
5380         (setHeightOfRow): rewrite to sue RowList iterators.
5381         (appendParagraph): adjust
5382         (breakAgain): adjust
5383         (breakAgainOneRow): adjust
5384         (breakParagraph): adjust
5385         (getRow): adjust
5386         (getRowNearY): adjust, and remove commented code.
5387
5388         * lyxtext.h (firstRow): delete function
5389         (lastRow): delete function
5390         (rows): new function (const and non-const versions.)
5391         (insertRow): delete function
5392
5393         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5394
5395 2003-03-29  John Levon  <levon@movementarian.org>
5396
5397         * BufferView_pimpl.C: always update scrollbar top
5398         because pasting text when we're anchored could mean we
5399         miss an update altogether
5400
5401 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5402
5403         * text2.C (init): use rowlist_.end() and not 0.
5404         (insertRow): change to take a RowList::iterator as arg, adjust
5405         for this.
5406         (insertParagraph): change to take a RowList::iterator as arg,
5407         adjust for this.
5408         (redoParagraphs): remove some debug msgs.
5409
5410         * text.C (appendParagraph): change to take a RowList::iterator
5411         arg, adjust for this.
5412         (breakAgain): add an assert
5413         (breakAgainOneRow): ditto
5414
5415 2003-03-29  John Levon  <levon@movementarian.org>
5416
5417         * text2.C: do not clear selection after inc/decDepth
5418         (bug 550)
5419
5420 2003-03-29  John Levon  <levon@movementarian.org>
5421
5422         * BufferView.C:
5423         * buffer.C: fix broken strerrors according to Lars
5424
5425 2003-03-29  John Levon  <levon@movementarian.org>
5426
5427         * converters.C: more Alert cleanups
5428
5429 2003-03-29  John Levon  <levon@movementarian.org>
5430
5431         * bufferview_funcs.C: remove pointless Alert
5432
5433         * buffer.C: fix confusing error message when
5434         a template is chmoded 000
5435
5436 2003-03-29  John Levon  <levon@movementarian.org>
5437
5438         * BufferView.C:
5439         * BufferView.h:
5440         * BufferView_pimpl.C: Alert fixes
5441
5442         * Makefile.am:
5443         * tabular.C:
5444         * tabular-old.C: remove unused table compat reading
5445
5446 2003-03-29  John Levon  <levon@movementarian.org>
5447
5448         * BufferView.C:
5449         * buffer.C:
5450         * lyx_cb.h:
5451         * lyx_cb.C: more Alert cleanups
5452
5453         * lyxfunc.C: don't allow chktex if not latex document
5454
5455 2003-03-29  John Levon  <levon@movementarian.org>
5456
5457         * lyx_cb.C:
5458         * BufferView.C:
5459         * buffer.C: warnings pushed down from support/,
5460         kill err_alert
5461
5462 2003-03-29  John Levon  <levon@movementarian.org>
5463
5464         * lyxfunc.C: safety check for C-r (revert)
5465
5466 2003-03-29  John Levon  <levon@movementarian.org>
5467
5468         * bufferlist.h:
5469         * bufferlist.C: several UI fixes using Alert::prompt.
5470         Fix the pointless looping quit code. Fix stupid revert
5471         behaviour (bug 938)
5472
5473         * lyxvc.h:
5474         * lyxvc.C:
5475         * lyx_cb.C: use Alert::prompt
5476
5477         * lyx_main.C: remove a silly question
5478
5479         * lyxfunc.C: remove a couple of silly questions,
5480         use Alert::prompt
5481
5482 2003-03-28  John Levon  <levon@movementarian.org>
5483
5484         * text2.C: fix bug 974 (End on empty par)
5485
5486 2003-03-28  John Levon  <levon@movementarian.org>
5487
5488         * BufferView_pimpl.C:
5489         * LyXAction.C:
5490         * lfuns.h: remove do-nothing math greek lfuns
5491
5492 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5493
5494         * lyxgluelength.h (isValidGlueLength): add default arg on
5495         parameter 2. Remove default arg from friend in class.
5496
5497         * lyxlength.h (isValidLength): add default arg on parameter 2.
5498         Remove default arg from friend in class.
5499
5500         * text2.C (LyXText): adjust, initialize refresh_row.
5501         (init): adjust
5502         (removeRow): adjust
5503         (insertRow): adjust
5504         (insertParagraph): adjst
5505         (redoParagraphs): adjust
5506         (fullRebreak): adjust
5507         (updateCounters): adjust
5508         (deleteEmptyParagraphMechanism): first attempt at fixing a
5509         crashing bug.
5510
5511         * text.C (top_y): adjust
5512         (setHeightOfRow): adjust
5513         (getRow): adjust
5514         (getRowNearY): adjust
5515
5516         * lyxtext.h: include RowList.h
5517         (~LyXText): not needed anymore, deleted.
5518         (firstRow): modify for RowList
5519         (lastRow): new function
5520         Delete firstrow and lastrow class variables, add a Rowlist
5521         rowlist_ class variable.
5522
5523         * lyxrow.C (lastPos): use empty() and not !size() to check if a
5524         paragraph is empty.
5525
5526         * RowList.C (insert): fix case where it == begin().
5527
5528 2003-03-26  Angus Leeming  <leeming@lyx.org>
5529
5530         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5531         the thesaurus dialog.
5532
5533 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5534
5535         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5536
5537         * RowList.[Ch]: new files
5538
5539         * ParagraphList.C (erase): handle the case where it == begin
5540         correctly.
5541
5542 2003-03-25  John Levon  <levon@movementarian.org>
5543
5544         * Makefile.am:
5545         * aspell_local.h:
5546         * aspell.C: add new aspell support
5547
5548         * lyxrc.h:
5549         * lyxrc.C: Make use_pspell be use_spell_lib. Always
5550         have it accessible.
5551
5552 2003-03-25  Angus Leeming  <leeming@lyx.org>
5553
5554         * lfuns.h:
5555         * LyXAction.C (init): new LFUN_INSET_INSERT.
5556
5557         * BufferView_pimpl.C (dispatch): split out part of the
5558         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5559
5560         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5561         LFUN_INSET_APPLY.
5562
5563 2003-03-25  Angus Leeming  <leeming@lyx.org>
5564
5565         * lyxfunc.C (dispatch): changes to the Dialogs interface.
5566
5567 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
5568
5569         * text2.C:
5570         * text3.C: remove useless row->height(0)
5571
5572 2003-03-25  John Levon  <levon@movementarian.org>
5573
5574         * lyxtext.h:
5575         * text2.C:
5576         * text3.C: rename the refreshing stuff to better names
5577
5578 2003-03-24  John Levon  <levon@movementarian.org>
5579
5580         * BufferView_pimpl.h:
5581         * BufferView_pimpl.C: update layout choice on a mouse
5582         press/release
5583
5584 2003-03-23  John Levon  <levon@movementarian.org>
5585
5586         * Makefile.am: fix commandtags.h reference
5587
5588 2003-03-22  John Levon  <levon@movementarian.org>
5589
5590         * BufferView_pimpl.C:
5591         * lyxtext.h:
5592         * rowpainter.C:
5593         * rowpainter.h:
5594         * text.C:
5595         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5596
5597 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
5598
5599         * lyxtext.h:
5600         * text.C: take the rtl methods out of line
5601
5602 2003-03-21 André Pönitz <poenitz@gmx.net>
5603
5604         * metricsinfo.[Ch]: new files containing structures to be passed around
5605         during the two-phase-drawing...
5606
5607 2003-03-21 André Pönitz <poenitz@gmx.net>
5608
5609         * lyxtextclass.C: read 'environment' tag.
5610
5611 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
5612
5613         * text2.C (removeRow): fix bug 964
5614
5615 2003-03-20  John Levon  <levon@movementarian.org>
5616
5617         * rowpainter.C:
5618         * text.C:
5619         * text2.C: paint cleanups. Inset::update() dropped font
5620         parameter
5621
5622 2003-03-19  John Levon  <levon@movementarian.org>
5623
5624         * lyxfunc.C: only fitcursor/markDirty if available()
5625
5626 2003-03-19  John Levon  <levon@movementarian.org>
5627
5628         * commandtags.h: rename to ...
5629
5630         * lfuns.h: ... this, and renumber / cleanup
5631
5632 2003-03-19  John Levon  <levon@movementarian.org>
5633
5634         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5635         fit the cursor after an lfun
5636
5637         * BufferView.h:
5638         * BufferView.C:
5639         * BufferView_pimpl.h:
5640         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5641
5642         * LyXAction.C: layout-character should have ReadOnly
5643
5644         * ParagraphParameters.C:
5645         * buffer.C:
5646         * bufferview_funcs.C:
5647         * lyx_cb.C:
5648         * lyxfind.C:
5649         * lyxtext.h:
5650         * text.C:
5651         * text2.C:
5652         * text3.C:
5653         * undo_funcs.C: changes from above
5654
5655 2003-03-18  John Levon  <levon@movementarian.org>
5656
5657         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5658         remove it from update()
5659
5660         * lyxfunc.C: update layout choice after an lfun
5661
5662         * text3.C: remove extra updateLayoutChoice()s
5663
5664 2003-03-18  John Levon  <levon@movementarian.org>
5665
5666         * text.C: top_y change means full repaint, fix
5667         a drawing bug with cursor movement
5668
5669 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5670
5671         * lyxtext.h:
5672         * text.C:
5673         * text2.C: anchor row on setCursor
5674
5675 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
5676
5677         * lyxtext.h: remove almost all mutable keywords
5678         * text.C:
5679         * text2.C:
5680         * text3.C: remove const keywords accordingly
5681
5682 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5683
5684         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
5685         anon namespace
5686         (TeXEnvironment): ditto
5687         (TeXOnePar): ditto
5688
5689 2003-03-17  John Levon  <levon@movementarian.org>
5690
5691         * text.C (rowBreakPoint): remove attempt to fix displayed
5692         math insets inside a manual label
5693
5694 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5695
5696         * lyxtext.h: remove BufferView* as first arg from almost all class
5697         functions.
5698         * other files: adjust.
5699
5700 2003-03-17  John Levon  <levon@movementarian.org>
5701
5702         * lyxtext.h:
5703         * undo_funcs.C:
5704         * text2.C: more paint cleanups
5705
5706         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
5707
5708         * rowpainter.h:
5709         * rowpainter.C: remove "smart" background painting code
5710
5711 2003-03-16  John Levon  <levon@movementarian.org>
5712
5713         * lyxtext.h:
5714         * text.C:
5715         * text2.C:
5716         * text3.C: add helper functions for setting refresh_row/y
5717
5718 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
5719
5720         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
5721         newline inset which *can* get inserted in the pass_thru layouts.
5722         This is primarily for literate documents.
5723
5724 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
5725
5726         * buffer.C: increment LYX_FORMAT to 223
5727
5728 2003-03-14 André Pönitz <poenitz@gmx.net>
5729
5730         * textclass.h: prepare for environment handling, ws changes
5731         * lyxlayout.C: read latexheader and latexfooter tags
5732
5733 2003-03-14  John Levon  <levon@movementarian.org>
5734
5735         * text2.C: rewrite ::status() a bit
5736
5737 2003-03-13  John Levon  <levon@movementarian.org>
5738
5739         * lyxtext.h: add some docs
5740
5741 2003-03-13  John Levon  <levon@movementarian.org>
5742
5743         * lyxtext.h:
5744         * text.C:
5745         * text2.C:
5746         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
5747
5748 2003-03-13  John Levon  <levon@movementarian.org>
5749
5750         * text3.C: fix appendix redrawing
5751
5752 2003-03-13  John Levon  <levon@movementarian.org>
5753
5754         * text.C (setHeightOfRow):
5755         * rowpainter.h:
5756         * rowpainter.C: make appendix mark have the text
5757           "Appendix" so the user knows what it is
5758
5759         * LColor.h:
5760         * LColor.C: s/appendixline/appendix/ from above
5761
5762 2003-03-13  John Levon  <levon@movementarian.org>
5763
5764         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
5765
5766         * text.C: fix a getChar(pos) bug properly
5767
5768 2003-03-13  Angus Leeming  <leeming@lyx.org>
5769
5770         * commandtags.h:
5771         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
5772         Probably only temporary. Let's see how things pan out.
5773
5774         * BufferView.C (unlockInset):
5775         * BufferView_pimpl.C (fitCursor):
5776         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
5777
5778         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
5779         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
5780
5781         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
5782         new functions that convert ParagraphParameters to and from a string.
5783
5784         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
5785         BufferView::Pimpl's dispatch.
5786         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
5787
5788 2003-03-13 André Pönitz <poenitz@gmx.net>
5789
5790         * lyxfunc.C:
5791         * text3.C:
5792         * factory.C: make it aware of InsetEnv
5793
5794 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5795
5796         * text2.C (setCursor): never ask for one past last
5797         (setCursor): add some debugging messages.
5798
5799         * text.C (singleWidth): never ask for one past last
5800         (singleWidth): ditto
5801         (leftMargin): ditto
5802         (rightMargin): ditto
5803         (rowBreakPoint): ditto
5804         (setHeightOfRow): ditto
5805         (prepareToPrint): ditto
5806
5807         * rowpainter.C (paintBackground): never ask for one past last
5808         (paintText): never ask for one past last
5809
5810         * paragraph_pimpl.C (getChar): make the assert stricter, never
5811         allow the one past last pos to be taken
5812
5813         * paragraph.C (getChar): ws changes only
5814
5815         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5816         (numberOfSeparators): ditto
5817         (numberOfHfills): ditto
5818
5819 2003-03-12  John Levon  <levon@movementarian.org>
5820
5821         * author.h:
5822         * author.C:
5823         * bufferparams.h:
5824         * bufferparams.C:
5825         * paragraph_funcs.C: fix per-buffer authorlists
5826
5827 2003-03-12  John Levon  <levon@movementarian.org>
5828
5829         * text.C: fix newline in right address
5830
5831 2003-03-12  Angus Leeming  <leeming@lyx.org>
5832
5833         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5834         duplicate those in LyXFunc::dispatch.
5835
5836         * commandtags.h:
5837         * LyXAction.C:
5838         * ToolbarDefaults.C:
5839         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5840         Add LFUN_FONTFREE_UPDATE.
5841
5842         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5843         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5844
5845         * bufferview_func.[Ch]: several new functions to facilliate
5846         transfer of data to and from the character dialog.
5847
5848 2003-03-12  John Levon  <levon@movementarian.org>
5849
5850         * buffer.C:
5851         * paragraph.h:
5852         * paragraph.C:
5853         * paragraph_funcs.C:
5854         * paragraph_pimpl.C:
5855         * sgml.C:
5856         * tabular.C:
5857         * text.C:
5858         * text3.C: remove META_NEWLINE in favour of an inset
5859
5860         * rowpainter.h:
5861         * rowpainter.C: remove paintNewline (done by inset)
5862
5863 2003-03-12  John Levon  <levon@movementarian.org>
5864
5865         * paragraph_pimpl.C: complain about bad getChar()s
5866         for a while at least
5867
5868 2003-03-12  John Levon  <levon@movementarian.org>
5869
5870         * buffer.h:
5871         * buffer.C: move paragraph read into a separate function,
5872         a little renaming to reflect that.
5873
5874         * bufferparams.h:
5875         * bufferparams.C: remove the author_ids map, not necessary now
5876
5877         * factory.h:
5878         * factory.C: moved Buffer::readInset to here
5879
5880         * paragraph_funcs.h:
5881         * paragraph_funcs.C: readParagraph free function moved from
5882         buffer.C
5883
5884         * tabular.C: name change
5885
5886 2003-03-12  John Levon  <levon@movementarian.org>
5887
5888         * buffer.C:
5889         * ParagraphParameters.C: move par params input to
5890         a read() method
5891
5892         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5893         behave like a normal read from the stream wrt reading
5894         a line vs. a \\token
5895
5896 2003-03-12  John Levon  <levon@movementarian.org>
5897
5898         * paragraph.C:
5899         * ParagraphParameters.h:
5900         * ParagraphParameters.C: move output code to a
5901         ::write() method
5902
5903 2003-03-12  John Levon  <levon@movementarian.org>
5904
5905         * BufferView.C (insertLyXFile):
5906         * buffer.h:
5907         * buffer.C:
5908         * tabular.C: use a parlist iterator for creating the
5909           document.
5910
5911 2003-03-12  John Levon  <levon@movementarian.org>
5912
5913         * buffer.C: make current_change static local not
5914           static file-scope
5915
5916 2003-03-12  John Levon  <levon@movementarian.org>
5917
5918         * buffer.C: fix insertStringAsLines for change tracking
5919
5920 2003-03-12  John Levon  <levon@movementarian.org>
5921
5922         * BufferView.C:
5923         * tabular.C:
5924         * buffer.h:
5925         * buffer.C:
5926         * bufferparams.h:
5927         * bufferparams.C: move author list into params. Rename some
5928           functions. Move the header reading into a separate token
5929           loop. Move the header token reading into BufferParams.
5930
5931 2003-03-12  John Levon  <levon@movementarian.org>
5932
5933         * changes.C: put debug inside lyxerr.debugging() checks
5934
5935 2003-03-11 André Pönitz <poenitz@gmx.net>
5936
5937         * factory.C: make it aware of InsetHFill
5938
5939 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5940
5941         * buffer.C (latexParagraphs): move function from here...
5942         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5943         args.
5944
5945 2003-03-10  Angus Leeming  <leeming@lyx.org>
5946
5947         * LyXAction.C (init): fix bug in poplating array with multiple entries
5948         with the same LFUN (spotted by JMarc).
5949
5950 2003-03-10  John Levon  <levon@movementarian.org>
5951
5952         * text.C:
5953         * text2.C: move getColumnNearX() near its
5954         only call site
5955
5956 2003-03-10  John Levon  <levon@movementarian.org>
5957
5958         * text.C: fix break before a minipage
5959
5960 2003-03-10  John Levon  <levon@movementarian.org>
5961
5962         * text.C: fix the last commit
5963
5964 2003-03-09  John Levon  <levon@movementarian.org>
5965
5966         * lyxtext.h:
5967         * text.C:
5968         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5969         bug 365 (don't break before insets unless needed). Don't
5970         return a value > last under any circumstances.
5971
5972 2003-03-09  Angus Leeming  <leeming@lyx.org>
5973
5974         * BufferView_pimpl.C (trackChanges, dispatch): call
5975         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5976
5977 2003-03-09  Angus Leeming  <leeming@lyx.org>
5978
5979         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5980         than Dialogs::showAboutlyx().
5981
5982 2003-03-09  Angus Leeming  <leeming@lyx.org>
5983
5984         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5985         than Dialogs::showTabularCreate().
5986
5987 2003-03-09  John Levon  <levon@movementarian.org>
5988
5989         * lyxtext.h:
5990         * text.C:
5991         * text2.C: 3rd arg to nextBreakPoint was always the same.
5992           Use references.
5993
5994 2003-03-08  John Levon  <levon@movementarian.org>
5995
5996         * lyxrow.C:
5997         * paragraph.C:
5998         * paragraph.h:
5999         * rowpainter.C:
6000         * text.C:
6001         * text2.C: Remove the "main" bit from the "main body"
6002           notion.
6003
6004 2003-03-08  John Levon  <levon@movementarian.org>
6005
6006         * text.C (leftMargin): The left margin of an empty
6007         manual label paragraph should not include the label width
6008         string length.
6009
6010         * text.C (prepareToPrint): don't attempt to measure hfills
6011         for empty manual label paragraphs - the answer should be 0
6012
6013 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6014
6015         * CutAndPaste.C: remove commented code and reindent.
6016
6017 2003-03-08  John Levon  <levon@movementarian.org>
6018
6019         * lyxfunc.h:
6020         * lyxfunc.C: move reloadBuffer()
6021
6022         * BufferView.h:
6023         * BufferView.C: to here
6024
6025         * lyxvc.C: add comment
6026
6027         * vc-backend.h:
6028         * vc-backend.C: call bv->reload() to avoid
6029           getStatus() check on MENURELOAD
6030
6031 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
6032
6033         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6034         to an old format .dep file.
6035
6036 2003-03-07  Angus Leeming  <leeming@lyx.org>
6037
6038         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6039         when the LFUN_MOUSE_RELEASE should have been handled by
6040         inset->localDispatch.
6041
6042 2003-03-07  Angus Leeming  <leeming@lyx.org>
6043
6044         * BufferView_pimpl.C (dispatch):
6045         * LyXAction.C (init):
6046         * ToolbarDefaults.C (init):
6047         * commandtags.h:
6048         * lyxfunc.C (getStatus):
6049         remove LFUN_INSET_GRAPHICS.
6050
6051         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6052
6053 2003-03-07  Angus Leeming  <leeming@lyx.org>
6054
6055         * commandtags.h:
6056         * LyXAction.C (init):
6057         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6058
6059         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6060
6061         * commandtags.h:
6062         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6063
6064         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6065         localDispatch method LFUN_INSET_DIALOG_UPDATE.
6066
6067 2003-03-07  Angus Leeming  <leeming@lyx.org>
6068
6069         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6070         remove "ert".
6071
6072 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6073
6074         * ParagraphList.C (front): new function
6075         (back): implement
6076
6077 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
6078
6079         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6080         and top_row_offset_. removed var first_y.
6081         * text.C (top_y):
6082         * text2.C (LyXText, removeRow):
6083         * text3.C:
6084         * BufferView_pimpl.C:
6085         use these methods instead of using first_y
6086
6087 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6088
6089         * text2.C (pasteSelection): adjust for checkPastePossible
6090
6091         * CutAndPaste.C: remove Paragraph * buf and replace with
6092         ParagraphList paragraphs.
6093         (DeleteBuffer): delete
6094         (cutSelection): change the tc type to textclass_type
6095         (copySelection): change the tc type to textclass_type
6096         (copySelection): adjust for ParagraphList
6097         (pasteSelection): change the tc type to textclass_type
6098         (pasteSelection): adjust for Paragraphlist
6099         (nrOfParagraphs): simplify for ParagraphList
6100         (checkPastePossible): simplify for ParagraphList
6101         (checkPastePossible): remove unused arg
6102
6103         * ParagraphList.C (insert): handle the case where there are no
6104         paragraphs yet.
6105
6106         * CutAndPaste.h: make CutAndPaste a namespace.
6107
6108         * text3.C (dispatch): adjust
6109
6110         * text.C (breakParagraph): add a ParagraphList as arg
6111
6112         * paragraph_funcs.C (breakParagraph): change to take a
6113         BufferParams and a ParagraphList as args.
6114         (breakParagraphConservative): ditto
6115         (mergeParagraph): ditto
6116         (TeXDeeper): add a ParagraphList arg
6117         (TeXEnvironment): ditto
6118         (TeXOnePar): ditto
6119
6120         * buffer.C (readLyXformat2): adjust
6121         (insertStringAsLines): adjust
6122         (latexParagraphs): adjust
6123
6124         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6125         (cutSelection): adjust
6126         (pasteSelection): adjust
6127
6128         * BufferView_pimpl.C (insertInset): adjust
6129
6130 2003-03-05  Angus Leeming  <leeming@lyx.org>
6131
6132         * commandtags.h:
6133         * LyXAction.C (init):
6134         * BufferView_pimpl.C (dispatch):
6135         * lyxfunc.C (getStatus):
6136         remove LFUN_CHILD_INSERT.
6137
6138         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6139
6140 2003-03-05  Angus Leeming  <leeming@lyx.org>
6141
6142         * commandtags.h:
6143         * LyXAction.C (init):
6144         * src/factory.C (createInset):
6145         * lyxfunc.C (getStatus):
6146         * text3.C (dispatch):
6147         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6148
6149         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6150
6151 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6152
6153         * ParagraphList.C (insert): handle insert right before end()
6154         (erase): fix cases where it can be first or last paragraph.
6155
6156 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6157
6158         * paragraph_funcs.C (TeXEnvironment): remove all usage of
6159         Paragraph::next and Paragraph::previous
6160         (TeXOnePar): ditto
6161
6162         * text.C (breakParagraph): adjust
6163
6164         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6165         BufferParams& as arg.
6166         (breakParagraph): use ParagraphList::insert
6167         (breakParagraphConservative): take a Buffer* instead of a
6168         BufferParams& as arg.
6169         (breakParagraphConservative): use ParagraphList::insert.
6170
6171         * buffer.C (insertStringAsLines): un-const it
6172         (insertStringAsLines): adjust
6173
6174         * ParagraphList.C (insert): new function
6175
6176         * CutAndPaste.C (pasteSelection): adjust
6177
6178         * text.C (backspace): adjust
6179
6180         * tabular.C (SetMultiColumn): adjust
6181
6182         * CutAndPaste.C (cutSelection): adjust
6183         (pasteSelection): adjust
6184
6185         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6186         Buffer const * as arg
6187
6188         * ParagraphList.C (erase): new function
6189         * paragraph_funcs.C (mergeParagraph): use it
6190         (mergeParagraph): make it take a Buffer* instead of a
6191         BufferParams* as arg
6192
6193         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6194         as arg
6195         (breakParagraphConservative): ditto
6196
6197         * paragraph.h: remove the breakParagraph friend
6198
6199         * paragraph.C (eraseIntern): new function
6200         (setChange): new function
6201
6202         * paragraph_funcs.C (mergeParagraph): make it take a
6203         ParagraphList::iterator instead of a Paragraph *, adjust
6204         accordingly.
6205
6206         * paragraph.h: move an #endif so that the change tracking stuff
6207         also works in the NO_NEXT case.
6208
6209 2003-03-04  Angus Leeming  <leeming@lyx.org>
6210
6211         * commandtags.h:
6212         * LyXAction.C: new LFUN_INSET_MODIFY.
6213
6214         * BufferView_pimpl.C (dispatch): if an inset is found to be open
6215         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6216
6217 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6218
6219         * several files: ws changes only
6220
6221         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6222         (TeXEnvironment): ditto
6223         (TeXDeeper): ditto
6224
6225         * buffer.C (makeLaTeXFile): adjust
6226         (latexParagraphs): make it take ParagraphList::iterator as args
6227
6228 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6229
6230         * buffer.C (latexParagraphs): adjust
6231
6232         * paragraph.C (TeXOnePar): move function...
6233         (optArgInset): move function...
6234         (TeXEnvironment): move function...
6235         * paragraph_pimpl.C (TeXDeeper): move function...
6236         * paragraph_funcs.C: ...here
6237
6238         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6239
6240 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6241
6242         * buffer.C (readInset): remove compability code for old Figure and
6243         InsetInfo insets
6244
6245 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6246
6247         * buffer.C: ws changes
6248         (readInset):
6249
6250         * BufferView_pimpl.C: ditto
6251         * author.C: ditto
6252         * buffer.h: ditto
6253         * bufferlist.h: ditto
6254         * changes.h: ditto
6255         * lyxfunc.C: ditto
6256
6257 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
6258
6259         * converter.[Ch]: split into itself +
6260         * graph.[Ch]
6261         * format.[Ch]
6262         * Makefile.am: += graph.[Ch] + format.[Ch]
6263         * MenuBackend.C
6264         * buffer.C
6265         * exporter.C
6266         * importer.C
6267         * lyx_main.C
6268         * lyxfunc.C
6269         * lyxrc.C: added #include "format.h"
6270
6271 2003-02-27  Angus Leeming  <leeming@lyx.org>
6272
6273         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6274           a label.
6275
6276         * factory.C (createInset): add "label" to the factory.
6277
6278         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6279           string and do no more.
6280
6281 2003-02-27  Angus Leeming  <leeming@lyx.org>
6282
6283         * commandtags.h:
6284         * LyXAction.C (init):
6285         * factory.C (createInset):
6286         * BufferView_pimpl.C (dispatch):
6287           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6288
6289         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6290
6291         * lyxfunc.C (dispatch):
6292         * text3.C (dispatch): pass name to params2string.
6293
6294 2003-02-26  Angus Leeming  <leeming@lyx.org>
6295
6296         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6297           blocks together.
6298           Rearrange the ~includes. Strip out the unnecessary ones.
6299
6300         * factory.C (createInset): reformat.
6301           create new insets for the various LFUN_XYZ_APPLY lfuns.
6302
6303 2003-02-26  John Levon  <levon@movementarian.org>
6304
6305         * lyxrow.h:
6306         * lyxrow.C: add isParStart,isParEnd helpers
6307
6308         * paragraph.h: make isInserted/DeletedText take refs
6309
6310         * paragraph_funcs.h:
6311         * paragraph_funcs.C: remove #if 0'd code
6312
6313         * lyxtext.h:
6314         * text3.C:
6315         * text2.C:
6316         * text.C: use lyxrow helpers above.
6317           Move draw and paint routines to RowPainter.
6318           Make several methods use refs not pointers.
6319           Make backgroundColor() const.
6320           Add markChangeInDraw(), isInInset().
6321           Merge changeRegionCase into changeCase.
6322           Make workWidth() shouldn't-happen code into an Assert.
6323
6324         * rowpainter.h:
6325         * rowpainter.C: new class for painting a row.
6326
6327         * vspace.h:
6328         * vspace.C: make inPixels take a ref
6329
6330 2003-02-26  Angus Leeming  <leeming@lyx.org>
6331
6332         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6333         LFUN_REF_APPLY.
6334
6335 2003-02-25  John Levon  <levon@movementarian.org>
6336
6337         * ispell.C: give the forked command a more accurate name
6338
6339 2003-02-22  John Levon  <levon@movementarian.org>
6340
6341         * toc.h:
6342         * toc.C: make TocItem store an id not a Paragraph *
6343           (bug #913)
6344
6345 2003-02-21  Angus Leeming  <leeming@lyx.org>
6346
6347         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6348           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6349           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6350           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6351           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6352           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6353
6354         * BufferView_pimpl.C (dispatch):
6355         * LyXAction.C (init):
6356         * factory.C (createInset):
6357         * lyxfunc.C (getStatus, dispatch):
6358         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6359
6360 2003-02-21  Angus Leeming  <leeming@lyx.org>
6361
6362         * BufferView_pimpl.C (MenuInsertLyXFile):
6363         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6364         * lyxfunc.C (menuNew, open, doImport):
6365           no longer pass a LyXView & to fileDlg.
6366
6367 2003-02-21  Angus Leeming  <leeming@lyx.org>
6368
6369         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6370         * LyXAction.C: change, BIBKEY to BIBITEM.
6371         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6372         Change InsetBibKey to InsetBibitem.
6373         Change BIBKEY_CODE to BIBITEM_CODE.
6374         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6375         * factory.C: replace insetbib.h with insetbibitem.h.
6376         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6377         * paragraph.C: replace insetbib.h with insetbibitem.h.
6378         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6379         Change bibkey() to bibitem().
6380         * text.C: remove insetbib.h.
6381         * text2.C: replace insetbib.h with insetbibitem.h.
6382         change bibkey() to bibitem().
6383         * text3.C: remove insetbib.h.
6384         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6385
6386 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6387
6388         * lyxrc.C (output): enclose user email in quotes (in case there are
6389         several words)
6390
6391 2003-02-18  John Levon  <levon@movementarian.org>
6392
6393         * buffer.h: add std::
6394
6395 2003-02-17  John Levon  <levon@movementarian.org>
6396
6397         * SpellBase.h:
6398         * ispell.h:
6399         * ispell.C:
6400         * pspell.h:
6401         * pspell.C: reworking. Especially in ispell, a large
6402           number of clean ups and bug fixes.
6403
6404         * lyxfunc.C: fix revert to behave sensibly
6405
6406 2003-02-17 André Pönitz <poenitz@gmx.net>
6407
6408         * LyXAction.C:
6409         * commandtags.h: new LFUN_INSERT_BIBKEY
6410
6411         * layout.h:
6412         * lyxlayout.C:
6413         * buffer.C:
6414         * factory.C:
6415         * text.C:
6416         * text2.C:
6417         * text3.C:
6418         * paragraph.[Ch]:
6419         * paragraph_func.C: remove special bibkey handling
6420
6421 2003-02-17  John Levon  <levon@movementarian.org>
6422
6423         * text.C (Delete): fix case where delete at the end of
6424           the very first paragraph would not merge the pars
6425
6426 2003-02-17  John Levon  <levon@movementarian.org>
6427
6428         * lyxrow.C: fix lastPrintablePos()
6429
6430 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6431
6432         * bufferparams.C (writeLaTeX): add a std:here
6433
6434         * buffer.C: and remove a using directive there
6435
6436 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6437
6438         * buffer.C (makeLaTeXFile): move the code that generates the
6439           preamble...
6440
6441         * bufferparams.C (writeLaTeX): ... in this new method
6442
6443         * LaTeXFeatures.C (getEncodingSet): make const
6444           (getLanguages): make const
6445
6446         * MenuBackend.C (binding): returns the binding associated to this
6447           action
6448           (add): sets the status of each item by calling getStatus. Adds
6449           some intelligence.
6450           (read): add support for OptSubMenu
6451           (expand): remove extra separator at the end of expanded menu
6452
6453 2003-02-15  John Levon  <levon@movementarian.org>
6454
6455         * BufferView.C:
6456         * BufferView_pimpl.C:
6457         * bufferlist.h:
6458         * bufferlist.C: remove pointless BufferStorage bloat. Remove
6459           inset code that had no actual effect. Remove unneeded status
6460           code.
6461
6462 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6463
6464         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6465           in preamble
6466
6467 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
6468
6469         * text.C (drawLengthMarker): also draw an arrow marker for
6470           symbolic lengths (medskip...)
6471
6472 2003-02-14  John Levon  <levon@movementarian.org>
6473
6474         * tabular.h:
6475         * tabular.C: better method names
6476
6477 2003-02-14  John Levon  <levon@movementarian.org>
6478
6479         * BufferView_pimpl.C:
6480         * bufferlist.C:
6481         * buffer.C:
6482         * converter.C:
6483         * lyx_cb.C:
6484         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6485           it's a more accurate name. Remove some pointless uses.
6486
6487 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6488
6489         * text2.C (LyXText): change order of initilizers to shut off
6490           warnings
6491
6492 2003-02-14  John Levon  <levon@movementarian.org>
6493
6494         * buffer.C: use ParIterator for getParFromID()
6495
6496         * paragraph.h:
6497         * paragraph.C:
6498         * paragraph_pimpl.h:
6499         * paragraph_pimpl.C: remove unused getParFromID()
6500
6501 2003-02-14  John Levon  <levon@movementarian.org>
6502
6503         * buffer.C: remove some very old #if 0'd parse code
6504
6505 2003-02-13  John Levon  <levon@movementarian.org>
6506
6507         * text.h:
6508         * text.C:
6509         * text2.C: move hfillExpansion(), numberOfSeparators(),
6510           rowLast(), rowLastPrintable(), numberofHfills(),
6511           numberOfLabelHfills() ...
6512
6513         * lyxrow.h:
6514         * lyxrow.C: ... to member functions here.
6515
6516         * paragraph.h:
6517         * paragraph.C:
6518         * lyxtext.h:
6519         * text.C: remove LyXText::beginningOfMainBody(), and call
6520           p->beginningOfMainBody() directly. Move the check for
6521           LABEL_MANUAL into the latter.
6522
6523         * text.h:
6524         * text.C:
6525         * text2.C:
6526         * vspace.C:
6527         * BufferView.h:
6528         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6529
6530         * text.h:
6531         * text.C:
6532         * text2.C:
6533         * text3.C:
6534         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6535           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6536
6537 2003-02-13  John Levon  <levon@movementarian.org>
6538
6539         * CutAndPaste.C: remove debug
6540
6541 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6542
6543         * paragraph.C (asString): remove two unused variables
6544
6545         * lyxtextclass.C (readTitleType):
6546           (Read):
6547           (LyXTextClass): handle new members titletype_ and titlename_
6548
6549         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6550
6551 2003-02-09  John Levon  <levon@movementarian.org>
6552
6553         * buffer.h:
6554         * buffer.C: replace hand-coded list with a map for the dep clean
6555
6556 2003-02-08  John Levon  <levon@movementarian.org>
6557
6558         * LaTeX.C: consolidate code into showRunMessage() helper
6559
6560 2003-02-08  John Levon  <levon@movementarian.org>
6561
6562         * lyxfind.C:
6563         * lyxtext.h:
6564         * text2.C:
6565         * BufferView.C: change setSelectionOverString() to setSelectionRange()
6566           and pass the size in explicitly
6567
6568         * BufferView_pimpl.h:
6569         * BufferView_pimpl.C:
6570         * BufferView.h:
6571         * BufferView.C: add getCurrentChange()
6572
6573         * BufferView_pimpl.h:
6574         * BufferView_pimpl.C: handle change lfuns
6575
6576         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6577           for changes. Mark pasted paragraphs as new.
6578
6579         * support/lyxtime.h:
6580         * support/lyxtime.C:
6581         * DepTable.C: abstract time_t as lyx::time_type
6582
6583         * LColor.h:
6584         * LColor.C: add colours for new text, deleted text, changebars
6585
6586         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6587           package use "usenames" option.
6588
6589         * commandtags.h:
6590         * lyxfunc.C:
6591         * LyXAction.C: add change lfuns
6592
6593         * Makefile.am:
6594         * author.h:
6595         * author.C: author handling
6596
6597         * buffer.h:
6598         * buffer.C: add a per-buffer author list, with first entry as
6599           current author. Handle new .lyx tokens for change tracking. Output
6600           author list to .lyx file. Output dvipost stuff to .tex preamble.
6601           Bump lyx format to 222.
6602
6603         * bufferlist.h:
6604         * bufferlist.C: add setCurrentAuthor() to reset current author details
6605           in all buffers.
6606
6607         * bufferparams.h:
6608         * bufferparams.C: add param for tracking
6609
6610         * bufferview_funcs.C: output change info in minibuffer
6611
6612         * Makefile.am:
6613         * changes.h:
6614         * changes.C: add change-tracking structure
6615
6616         * debug.h:
6617         * debug.C: add CHANGES debug flag
6618
6619         * lyxfind.h:
6620         * lyxfind.C: add code for finding the next change piece
6621
6622         * lyxrc.h:
6623         * lyxrc.C: add user_name and user_email
6624
6625         * lyxrow.h:
6626         * lyxrow.C: add a metric for the top of the text line
6627
6628         * lyxtext.h:
6629         * text.C: implement accept/rejectChange()
6630
6631         * lyxtext.h:
6632         * text.C: paint changebars. Paint new/deleted text in the chosen
6633         colours. Strike through deleted text.
6634
6635         * paragraph.h:
6636         * paragraph.C:
6637         * paragraph_pimpl.h:
6638         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6639           in the current change to the insert functions. Rework erase to
6640           mark text as deleted, adding an eraseIntern() and a range-based
6641           erase(). Implement per-paragraph change lookup and
6642           accept/reject.
6643
6644         * paragraph_funcs.C: Fixup paste for change tracking.
6645
6646         * tabular.C: mark added row/columns as new.
6647
6648         * text.C: fix rowLast() to never return -1. Don't allow
6649           spellchecking of deleted text. Track transpose changes. Don't
6650           allow paragraph break or merge where appropriate.
6651
6652         * text2.C: leave cursor at end of selection after a cut.
6653
6654 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6655
6656         * text.C (getLengthMarkerHeight):
6657         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6658         visible on screen too.
6659
6660 2003-02-07  John Levon  <levon@movementarian.org>
6661
6662         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6663
6664 2003-02-05  Angus Leeming  <leeming@lyx.org>
6665
6666         * lyxserver.C (read_ready): revert my patch of 11 September last year
6667         as it sends PC cpu through the roof. Presumably this means that
6668         the lyxserver will no longer run on an Alpha...
6669
6670 2003-01-30  Angus Leeming  <leeming@lyx.org>
6671
6672         * factory.C (createInset): create an InsetCommandParam of type "index"
6673         and use it to 'do the right thing'.
6674
6675         * text2.C (getStringToIndex): ensure that cursor position is always
6676         reset to the reset_cursor position.
6677
6678 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6679
6680         * lyxfunc.C (getStatus): "buffer-export custom" should never be
6681         disabled.
6682
6683 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
6684
6685         * bufferview.C:
6686         * lyxcb.C:
6687         * lyxfunc.C: Output messages with identical spelling, punctuation,
6688         and spaces
6689
6690 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
6691
6692         * MenuBackend.C (expandFormats): List only viewable export formats
6693         in "View" menu
6694
6695         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
6696         message
6697
6698         * lyxfunc.C (getStatus): Make sure that formats other than
6699         "fax" can also be disabled
6700
6701 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6702
6703         * text3.C (dispatch): put the lfuns that insert insets in 3
6704         groups, and call doInsertInset with appropriate arguments.
6705         (doInsertInset): new function, that creates an inset and inserts
6706         it according to some boolean parameters.
6707
6708 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6709
6710         * buffer.C (readFile): remember to pass on 'par' when calling
6711         readFile recursively.
6712
6713 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6714
6715         * MenuBackend.C (expandFormats): add "..." to import formats.
6716
6717 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
6718
6719         * paragraph.C (asString): Remove XForms RTL hacks.
6720
6721 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
6722         * buffer.C: fix typo
6723
6724 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6725
6726         * Makefile.am (LIBS): delete var
6727         (lyx_LDADD): add @LIBS@ here instead.
6728
6729 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
6730
6731         * Clarify the meaning of "wheel mouse jump"
6732
6733 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6734
6735         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
6736         tabular in a float
6737
6738 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6739
6740         * importer.C (Loaders): do not preallocate 3 elements in the
6741         vector, since one ends up with 6 elements otherwise
6742
6743 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6744
6745         * DepTable.C (write): write the file name as last element of the
6746         .dep file (because it may contain spaces)
6747         (read): read info in the right order
6748
6749 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6750
6751         * paragraph_pimpl.C (simpleTeXBlanks):
6752         (simpleTeXSpecialChars):
6753         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
6754
6755         * tabular.C (latex): add some missing case statements. Reindent.
6756
6757         * MenuBackend.C (expandToc): remove unused variable.
6758
6759 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
6760
6761         * LColor.C:
6762         * LaTeX.C:
6763         * LyXAction.C:
6764         * MenuBackend.C:
6765         * buffer.C:
6766         * exporter.C:
6767         * lyxfunc.C:
6768         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
6769         and the like.
6770
6771 2003-01-05  John Levon  <levon@movementarian.org>
6772
6773         * BufferView.h:
6774         * BufferView.C: add getEncoding()
6775
6776         * kbsequence.h:
6777         * kbsequence.C: do not store last keypress
6778
6779         * lyxfunc.h:
6780         * lyxfunc.C: store last keypress here instead. Pass encoding
6781           to getISOEncoded()
6782
6783 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6784
6785         * lyx_main.C (init): remove annoying error message when following
6786         symbolic links (bug #780)
6787
6788 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6789
6790         * text.C (insertChar):
6791         * lyxrc.C (getDescription): remove extra spaces
6792
6793 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6794
6795         * lyxrc.C (getDescription): remove extra spaces
6796
6797 2002-12-20  John Levon  <levon@movementarian.org>
6798
6799         * text3.C: hack fix for page up/down across tall rows
6800
6801 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6802
6803         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6804         not been invoked
6805
6806 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6807
6808         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6809         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6810         thesaurus is not compiled in
6811
6812 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
6813
6814         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6815
6816 2002-12-16  Angus Leeming  <leeming@lyx.org>
6817
6818         * lyxrc.[Ch]:
6819         * lyx_main.C (init): remove override_x_deadkeys stuff.
6820
6821 2002-12-12  John Levon  <levon@movementarian.org>
6822
6823         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6824           insert. Only remove shift modifier under strict
6825           circumstances.
6826
6827 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6828
6829         * MenuBackend.C (expandToc): fix crash.
6830
6831 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6832
6833         * MenuBackend.C (expandToc): gettext on float names.
6834
6835 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6836
6837         * lyxlength.[Ch]: set default unit to UNIT_NONE,
6838         implement bool empty() [bug 490]
6839
6840 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6841
6842         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6843
6844 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6845
6846         * several files: ws changes
6847
6848 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6849
6850         * text2.C (setCounter): clean up a bit, use boost.format.
6851         (updateCounters): initialize par upon declaration.
6852
6853         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6854         if the layout exists. We do not just store the layout any more.
6855         (SwitchLayoutsBetweenClasses): use boost.format
6856
6857 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6858
6859         * converter.C (convert): if from and to files are the same, use a
6860         temporary files as intermediary
6861
6862 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6863
6864         * commandtags.h:
6865         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6866
6867 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6868
6869         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6870
6871 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6872
6873         * tabular.C (asciiPrintCell): use string(size, char) instead of
6874         explicit loop.
6875
6876         * sgml.C (openTag): fix order of arguments to string constructor
6877         (closeTag): ditto
6878
6879         * lyxfunc.C (dispatch): use boost.format
6880
6881         * lots of files: change "c" -> 'c'
6882
6883 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6884
6885         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6886
6887 2002-11-25  Angus Leeming  <leeming@lyx.org>
6888
6889         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6890
6891         * lyx_main.C (init): compile fix.
6892
6893 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6894
6895         * lyx_cb.C (start): boost.formatify
6896         do not include <iostream>
6897
6898         * lengthcommon.C: ws only
6899
6900         * boost-inst.C,BoostFormat.h: add more explict instantations
6901
6902 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6903
6904         * lots of files: handle USE_BOOST_FORMAT
6905
6906 2002-11-21  John Levon  <levon@movementarian.org>
6907
6908         * pspell.C: fix compile
6909
6910 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6911
6912         * lyxfunc.C (dispatch): use boost::format
6913         (open): ditto
6914         (doImport): ditto
6915
6916         * lyxfont.C (stateText): use boost::format
6917
6918         * lyx_main.C (LyX): use boost::format
6919         (init): ditto
6920         (queryUserLyXDir): ditto
6921         (readRcFile): ditto
6922         (parse_dbg): ditto
6923         (typedef boost::function): use the recommened syntax.
6924
6925         * importer.C (Import): use boost::format
6926
6927         * debug.C (showLevel): use boost::format
6928
6929         * converter.C (view): use boost::format
6930         (convert): ditto
6931         (move): ditto
6932         (scanLog): ditto
6933
6934         * bufferview_funcs.C (currentState): use boost::format
6935
6936         * bufferlist.C (emergencyWrite): use boost::format
6937
6938         * buffer.C (readLyXformat2): use boost::format
6939         (parseSingleLyXformat2Token): ditto
6940
6941         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6942
6943         * LaTeX.C (run): use boost::format
6944
6945         * Chktex.C (scanLogFile): use boost::format
6946
6947         * BufferView_pimpl.C (savePosition): use boost::format
6948         (restorePosition): ditto
6949         (MenuInsertLyXFile): ditto
6950
6951         * BoostFormat.h: help file for explicit instation.
6952
6953 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6954
6955         * tabular.C (latex): Support for block alignment in fixed width
6956         columns.
6957
6958 2002-11-17  John Levon  <levon@movementarian.org>
6959
6960         * BufferView_pimpl.C:
6961         * lyx_cb.C:
6962         * lyxfunc.C: split filedialog into open/save
6963
6964 2002-11-08  Juergen Vigna  <jug@sad.it>
6965
6966         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6967         by my last patch (hopefully).
6968
6969 2002-11-08  John Levon  <levon@movementarian.org>
6970
6971         * iterators.h:
6972         * iterators.C:
6973         * buffer.h:
6974         * buffer.C:
6975         * paragraph.h:
6976         * paragraph.C:
6977         * toc.h:
6978         * toc.C: ParConstIterator, and use it (from Lars)
6979
6980 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6981
6982         * lyxtextclass.[Ch]: revise and add doxygen comments
6983
6984 2002-11-07  John Levon  <levon@movementarian.org>
6985
6986         * text.C: fix progress value for spellchecker
6987
6988         * toc.C: fix navigate menu for insetwrap inside minipage
6989
6990         * paragraph_funcs.C: added FIXME for suspect code
6991
6992 2002-11-07  John Levon  <levon@movementarian.org>
6993
6994         * BufferView_pimpl.C: fix redrawing of insets
6995           on buffer switch
6996
6997 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6998
6999         * text2.C (updateCounters): fix bug 668
7000
7001 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
7002
7003         * text3.C (dispatch): Do not make the buffer dirty when moving the
7004         cursor.
7005
7006 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7007
7008         * vc-backend.C: STRCONV
7009         (scanMaster): ditto
7010
7011         * text2.C (setCounter): STRCONV
7012
7013         * paragraph.C (asString): STRCONV
7014
7015         * lyxlength.C (asString): STRCONV
7016         (asLatexString): ditto
7017
7018         * lyxgluelength.C (asString): STRCONV
7019         (asLatexString): ditto
7020
7021         * lyxfunc.C (dispatch): STRCONV
7022         (open): ditto
7023
7024         * lyxfont.C (stateText): STRCONV
7025
7026         * importer.C (Import): STRCONV
7027
7028         * counters.C (labelItem): STRCONV
7029         (numberLabel): ditto
7030         (numberLabel): remove unused ostringstream o
7031
7032         * chset.C: STRCONV
7033         (loadFile): ditto
7034
7035         * bufferview_funcs.C (currentState): STRCONV
7036
7037         * buffer.C (readFile): STRCONV
7038         (asciiParagraph): ditto
7039         (makeLaTeXFile): ditto
7040
7041         * Spacing.C (writeEnvirBegin): STRCONV
7042
7043         * LaTeXFeatures.C (getLanguages): STRCONV
7044         (getPackages): ditto
7045         (getMacros): ditto
7046         (getBabelOptions): ditto
7047         (getTClassPreamble): ditto
7048         (getLyXSGMLEntities): ditto
7049         (getIncludedFiles): ditto
7050
7051         * LaTeX.C: STRCONV
7052         (run): ditto
7053         (scanAuxFile): ditto
7054         (deplog): ditto
7055
7056         * LString.h: add the STRCONV macros
7057
7058         * BufferView_pimpl.C (savePosition): STRCONV
7059         (restorePosition): ditto
7060         (MenuInsertLyXFile): ditto
7061
7062         * vc-backend.C (scanMaster): change from submatch[...] to
7063         submatch.str(...)
7064
7065         * funcrequest.C: include config.h
7066
7067         * factory.C: include config.h
7068
7069         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7070
7071         * box.C: include config.h
7072
7073         * LaTeX.C (scanAuxFile): change from submatch[...] to
7074         submatch.str(...)
7075         (deplog): ditto
7076
7077 2002-10-25  Angus Leeming  <leeming@lyx.org>
7078
7079         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7080
7081         * ispell.[Ch] (setError): new method.
7082         * ispell.C (c-tor): move out child process into new class LaunchIspell.
7083         Use setError() insetead of goto END.
7084
7085         * lyx_cb.C (AutoSave): move out child process into new class
7086         AutoSaveBuffer.
7087
7088 2002-10-30  John Levon  <levon@movementarian.org>
7089
7090         * text3.C: make start appendix undoable
7091
7092 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
7093
7094         * lyxlength.C (inPixels): Fix returned value.
7095
7096         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7097         environment.
7098
7099 2002-10-24  Angus Leeming  <leeming@lyx.org>
7100
7101         * lyxgluelength.h: no need to forward declare BufferParams
7102         or BufferView, so don't.
7103
7104 2002-10-21  John Levon  <levon@movementarian.org>
7105
7106         * BufferView.C: menuUndo ->undo, redo
7107
7108         * BufferView.h: document, remove dead, make some methods private
7109
7110         * paragraph_funcs.h:
7111         * paragraph_funcs.C:
7112         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7113
7114         * buffer.h:
7115         * buffer.C:
7116         * sgml.h:
7117         * sgml.C: move sgml open/close tag into sgml.C
7118
7119         * bufferview_funcs.h: unused prototype
7120
7121         * lyxfunc.h:
7122         * lyxfunc.C: remove unused
7123
7124         * lyxtext.h:
7125         * text.C: remove unused
7126
7127 2002-10-21  John Levon  <levon@movementarian.org>
7128
7129         * BufferView.h:
7130         * BufferView.C:
7131         * BufferView_pimpl.h:
7132         * BufferView_pimpl.C: fix mouse wheel handling based on
7133           patch from Darren Freeman
7134
7135 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
7136
7137         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7138
7139 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
7140
7141         * lyxlength.C (inPixels): Fix hanfling of negative length.
7142         Fix LyXLength::MU case.
7143
7144 2002-10-16  John Levon  <levon@movementarian.org>
7145
7146         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7147
7148 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7149
7150         * converter.C (view): add support for $$i (file name) and $$p
7151         (file path) for the viewer command. If $$i is not specified, then
7152         it is appended to the command (for compatibility with old syntax)
7153
7154 2002-10-14  Juergen Vigna  <jug@sad.it>
7155
7156         * undo_funcs.C (textHandleUndo): alter the order in which the
7157         new undopar is added to the LyXText, as we have to set first
7158         the right prev/next and then add it as otherwise the rebuild of
7159         LyXText is not correct. Also reset the cursor to the right paragraph,
7160         with this IMO we could remove the hack in "redoParagraphs()".
7161
7162 2002-10-09  Angus Leeming  <leeming@lyx.org>
7163
7164         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7165         to turn off an optimisation if a new inset is to be inserted.
7166
7167 2002-10-11 André Pönitz <poenitz@gmx.net>
7168
7169         * lyxtext.h: make some functions public to allow access
7170         from inset/lyxtext for handling LFUN_PRIOR/NEXT
7171
7172 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7173
7174         * text3.C (dispatch): when changing layout, avoid an infinite loop
7175         [bug #652]
7176
7177 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7178
7179         * lyxrc.C (read): treat a viewer or converter command of "none" as
7180         if it were empty.
7181
7182         * MenuBackend.C (expandFormats): for an update, also allow the
7183         formats that are not viewable
7184
7185         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7186         script if it is newer than the lyxrc.defaults in user directory
7187
7188 2002-10-07 André Pönitz <poenitz@gmx.net>
7189
7190         * text.C: Vitaly Lipatov's small i18n fix
7191
7192 2002-09-25  Angus Leeming  <leeming@lyx.org>
7193
7194         * ispell.h: doxygen fix.
7195
7196 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
7197
7198         * buffer.h (readFile): Add a new argument to the method, to allow
7199         reading of old-format templates.
7200
7201 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
7202
7203         * toc.C (getTocList): Get TOC from InsetWrap.
7204
7205 2002-09-16  John Levon  <levon@movementarian.org>
7206
7207         * lyxfunc.C: check tabular for cut/copy too
7208
7209 2002-09-12  John Levon  <levon@movementarian.org>
7210
7211         * LyXAction.C: tidy
7212
7213         * factory.h:
7214         * factory.C: add header
7215
7216         * paragraph_funcs.h:
7217         * paragraph_funcs.C: cleanup
7218
7219 2002-09-11  John Levon  <levon@movementarian.org>
7220
7221         * PrinterParams.h: odd/even default to true
7222
7223 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
7224
7225         * PrinterParams.h: update printer parameters for new xforms dialog
7226
7227 2002-09-11  Angus Leeming  <leeming@lyx.org>
7228
7229         * lyxserver.C (read_ready): re-write to make it more transparent
7230         and to make it work in coherent fashion under Tru64 Unix.
7231
7232 2002-09-11  André Pönitz <poenitz@gmx.net>
7233
7234         * commandtags.h:
7235         * LyXAction.C:
7236         * text3.C: implement LFUN_WORDSEL
7237
7238 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7239
7240         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7241         make floatlist_ a boost::shared_ptr<FloatList>
7242
7243         * lyxtextclass.C: include FloatList.h
7244         (LyXTextClass): initialize floatlist_
7245         (TextClassTags): add TC_NOFLOAT
7246         (Read): match "nofloat" to TC_NOFLOAT and use it.
7247         (readFloat): modify call to floatlist_
7248         (floats): ditto
7249         (floats): ditto
7250
7251         * FloatList.[Ch] (FloatList): remove commented out float
7252         initialization.
7253         (erase): new function
7254
7255 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7256
7257         * MenuBackend.C (expandToc): fix crash when there is no document
7258         open
7259
7260 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
7261
7262         * many files: Add insetwrap.
7263
7264 2002-09-09  John Levon  <levon@movementarian.org>
7265
7266         * text2.C: remove confusing and awkward depth wraparound
7267
7268 2002-09-09  John Levon  <levon@movementarian.org>
7269
7270         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7271
7272         * buffer.h:
7273         * buffer.C: remove getIncludeonlyList()
7274
7275         * paragraph.C:
7276         * lyxfunc.C: remove headers
7277
7278 2002-09-09  Juergen Vigna  <jug@sad.it>
7279
7280         * text.C (getColumnNearX): fix form Michael this is most
7281         probably a cut&paste bug.
7282
7283 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7284
7285         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7286
7287         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7288         references, ws changes.
7289
7290         * text2.C (init): update counters after init
7291         (insertParagraph): no need to set counter on idividual paragraphs.
7292         (setCounter): access the counters object in the textclass object
7293         on in the buffer object.
7294         (updateCounters): ditto
7295
7296         * lyxtextclass.C: include counters.h, add variable ctrs_ as
7297         shared_ptr<Counters> to avoid loading counters.h in all
7298         compilation units.
7299         (LyXTextClass): initialize ctrs_
7300         (TextClassTags): add TC_COUNTER, and ...
7301         (Read): use it here.
7302         (CounterTags): new tags
7303         (readCounter): new function
7304         (counters): new funtion
7305         (defaultLayoutName): return a const reference
7306
7307         * counters.C (Counters): remove contructor
7308         (newCounter): remove a couple of unneeded statements.
7309         (newCounter): simplify a bit.
7310         (numberLabel): some small formatting changes.
7311
7312         * buffer.[Ch]: remove all traces of counters, move the Counters
7313         object to the LyXTextClass.
7314
7315 2002-09-06  Alain Castera  <castera@in2p3.fr>
7316
7317         * tabular.C: uses \tabularnewline; uses >{...} construct from array
7318         package to set the horizontal alignment on fixed width columns.
7319
7320         * lyx_sty.C:
7321         * lyx_sty.h: added tabularnewline macro def.
7322
7323         * LaTeXFeatures.C: added NeedTabularnewline macro feature
7324
7325 2002-09-06  John Levon  <levon@movementarian.org>
7326
7327         * LyXAction.C: tooltips for sub/superscript
7328
7329         * MenuBackend.C: a bit more verbose
7330
7331         * lyxfunc.C: tiny clean
7332
7333         * undo_funcs.C: document undo_frozen
7334
7335 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7336
7337         * counters.C (Counters): add missing algorithm counter.
7338
7339         * text2.C (setCounter): lookup the counter with layouts latexname
7340         instead of by section number.
7341         (setCounter): use a hackish way to lookup the correct enum
7342         counter.
7343         a float name->type change
7344         reset enum couners with counter name directly instead of depth value.
7345
7346         * counters.C (Counters): remove the push_backs, change to use the
7347         float type not the float name.
7348         (labelItem): remove unused string, float name->type change
7349
7350         * counters.h: don't include vector, loose the enums and sects vectors
7351
7352 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7353
7354         * lyxtextclass.C (TextClassTags): add TC_FLOAT
7355         (Read): add float->TC_FLOAT to textclassTags
7356         (Read): and handle it in the switch
7357         (readFloat): new function
7358
7359         * FloatList.C (FloatList): comment out the hardcoded float
7360         definitions.
7361
7362         * lyxlayout.h: ws change.
7363
7364 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
7365
7366         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7367
7368 2002-09-03  Angus Leeming  <leeming@lyx.org>
7369
7370         * BufferView_pimpl.h: qualified name is not allowed in member
7371         declaration: WorkArea & Pimpl::workarea() const;
7372
7373         * factory.C: added using std::endl directive.
7374
7375         * text3.C: added using std::find and std::vector directives.
7376
7377 2002-08-29  André Pönitz <poenitz@gmx.net>
7378
7379         * lyxtext.h:
7380         * text2.C: remove unused member number_of_rows
7381
7382         * Makefile.am:
7383         * BufferView2.C: remove file, move contents to...
7384         * BufferView.C: ... here
7385
7386         * BufferView_pimpl.C:
7387         * factory.C: move more inset creation to factory
7388
7389         * vspace.C: avoid direct usage of LyXText, ws changes
7390
7391         * BufferView.[Ch]:
7392                 don't provide direct access to WorkArea, use two simple
7393                 acessors haveSelction() and workHeight() instead
7394
7395
7396 2002-08-29  John Levon  <levon@movementarian.org>
7397
7398         * BufferView_pimpl.C (dispatch): do not continue when
7399           no buffer
7400
7401 2002-08-28  André Pönitz <poenitz@gmx.net>
7402
7403         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7404
7405         * BufferView.h:
7406         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7407
7408 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
7409
7410         * buffer.C: increment LYX_FORMAT to 221
7411
7412         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7413         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7414
7415         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7416
7417         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7418
7419 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7420
7421         * factory.C (createInset): use LyXTextClass::floats
7422
7423         * MenuBackend.C (expandFloatListInsert):
7424         (expandFloatInsert):
7425         (expandToc):
7426
7427         * text2.C (setCounter):
7428
7429         * LaTeXFeatures.C (useFloat):
7430         (getFloatDefinitions):
7431
7432         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7433
7434         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7435         floatlist_, with accessor floats().
7436
7437         * FloatList.h: remove global FloatList
7438
7439 2002-08-26  André Pönitz <poenitz@gmx.net>
7440
7441         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7442
7443         * BufferView.h:
7444         * BufferView2.C:
7445         * BufferView_pimpl.C:
7446         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7447
7448 2002-08-25  John Levon  <levon@movementarian.org>
7449
7450         * LyXAction.C: fix margin note description
7451
7452 2002-08-24  John Levon  <levon@movementarian.org>
7453
7454         * buffer.C:
7455         * bufferlist.C:
7456         * bufferview_funcs.C:
7457         * lyxfont.C:
7458         * undo_funcs.C: cleanups
7459
7460         * lyxfunc.C: disable CUT/COPY when no selection
7461
7462 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
7463
7464         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7465         in "enum UNIT"; e.g. PTW for Percent of TextWidth
7466
7467         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7468         Add backward compatibility to "mono", "gray" and "no".
7469
7470 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
7471
7472         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7473         (and file_format >= 200).
7474
7475 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7476
7477         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7478
7479 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7480
7481         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7482
7483 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
7484
7485         * BufferView_pimpl.C:
7486         * LyXAction.C:
7487         * buffer.C:
7488         * commandtags.h:
7489         * lyxfunc.C:
7490         * paragraph.[Ch]:
7491         * text2.C:
7492         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7493         inset and code to make it  work with the paragraph code. The inset
7494         can be anywhere in the paragraph, but will only do the expected
7495         thing in LaTeX if the layout file contains the parameter line
7496                         OptionalArgs    1
7497         (or more generally, a nonzero value) for that layout.
7498
7499 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7500
7501         * paragraph.h: remove the declaration of undefined counters class
7502         function.
7503
7504 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
7505
7506         * text2.C (setCounter):  fixed enumeration mis-count as reported by
7507         Dr. Richard Hawkins.
7508
7509 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7510
7511         * paragraph_funcs.h: remove some unneeded includes
7512
7513         * text.C (backspace): pasteParagraph now in global scipe
7514
7515         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7516         (pasteSelection): ditto
7517
7518         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7519         * paragraph_funcs.C (pasteParagraph): ... here
7520
7521 2002-08-20  André Pönitz <poenitz@gmx.net>
7522
7523         * commandtags.h: new LFUNs for swapping/copying table row/colums
7524
7525         * LyXAction.C:
7526         * lyxfunc.C: support for new lfuns
7527
7528 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7529
7530         * tabular.C:
7531         * buffer.[Ch]: remove NO_COMPABILITY stuff
7532
7533 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
7534
7535         * boost.C (throw_exception): new file, with helper function for
7536         boost compiled without exceptions.
7537
7538         * paragraph.h:
7539         * lyxlength.C:
7540         * buffer.C:
7541         * ParameterStruct.h:
7542         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7543
7544         * bufferlist.C (emergencyWriteAll): use boost bind
7545
7546         * BufferView_pimpl.C (moveCursorUpdate): remove inline
7547
7548         * text.C: include paragraph_funcs.h
7549         (breakParagraph): breakParagraph is now in global scope
7550
7551         * paragraph_funcs.[Ch]: new files
7552
7553         * paragraph.C (breakParagraph,breakParagraphConservative): move to
7554         global scope
7555
7556         * buffer.C: include paragraph_funcs.h
7557         (insertStringAsLines): breakParagraph is now in global scope
7558
7559         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7560         paragraph_funcs.C
7561
7562         * CutAndPaste.C: include paragraph_funcs.h
7563         (cutSelection): breakParagraphConservative is now in global scope
7564         (pasteSelection): ditto
7565
7566         * buffer.h: declare oprator== and operator!= for
7567         Buffer::inset_iterator
7568
7569         * bufferlist.C (emergencyWrite): don't use fmt(...)
7570
7571         * text3.C: add using std::endl
7572
7573         * BufferView.C (moveCursorUpdate): remove default arg
7574
7575 2002-08-20  André Pönitz <poenitz@gmx.net>
7576
7577         * buffer.[Ch]: move inline functions to .C
7578
7579         * BufferView2.C:
7580         * BufferView_pimpl.C:
7581         * text.C:
7582         * buffer.[Ch]: use improved inset_iterator
7583
7584         * buffer.C:
7585         * paragraph.[Ch]: write one paragraph at a time
7586
7587 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
7588
7589         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7590         style if style is not specified.
7591
7592 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7593
7594         * text2.C (setCounter): when searching for right label for a
7595         caption, make sure to recurse to parent insets (so that a caption
7596         in a minipage in a figure float works) (bug #568)
7597
7598 2002-08-20  André Pönitz <poenitz@gmx.net>
7599
7600         * text3.C: new file for LyXText::dispatch() and helpers
7601
7602         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7603
7604         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7605
7606 2002-08-19  André Pönitz <poenitz@gmx.net>
7607
7608         * lyxtext.h:
7609         * text.C: new LyXText::dispatch()
7610
7611         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7612
7613 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
7614
7615         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7616
7617         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7618         Hebrew text.
7619
7620 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7621
7622         * Makefile.am: use $(variables) instead of @substitutions@
7623
7624 2002-08-15  André Pönitz <poenitz@gmx.net>
7625
7626         * lyxfunc.C:
7627         * BufferView_pimpl.C: streamlining mathed <-> outer world
7628         interaction
7629
7630         * commandtags.h:
7631         * LyXAction.C: remove unused LFUN_MATH
7632
7633 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7634
7635         * paragraph.[Ch]: add some NO_NEXT ifdefs.
7636
7637 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7638
7639         * paragraph.C (Paragraph): reformat a bit
7640         (cutIntoMinibuffer): use builtin InsetList function instad of
7641         doing it manually.
7642         (getInset): ditto
7643
7644         * buffer.C: include boost/bind.hpp, add using std::for_each
7645         (writeFileAscii): use ParagraphList iterators
7646         (validate): use for_each for validate traversal of paragraphs
7647         (getBibkeyList): use ParagraphList iterators
7648         (resizeInsets): use for_each to resizeInsetsLyXText for all
7649         paragraphs.
7650         (getParFromID): use ParagraphList iterators
7651
7652         * BufferView2.C (lockInset): use paragraph list and iterators
7653
7654 2002-08-14  John Levon  <levon@movementarian.org>
7655
7656         * lyxserver.C: remove spurious xforms include
7657
7658 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7659
7660         * lyxfunc.C (getStatus): disable math-extern outside of math mode
7661
7662 2002-08-13  André Pönitz <poenitz@gmx.net>
7663
7664         * LyXAction.[Ch]:
7665         * lyxfunc.C: further cleaning
7666
7667 2002-08-13  André Pönitz <poenitz@gmx.net>
7668
7669         * funcrequest.h: new constructor
7670
7671         * funcrequest.C: move stuff here from .h
7672
7673         * Makefile.am:
7674         * BufferView_pimpl.C:
7675         * LyXAction.C:
7676         * toc.C:
7677         * lyxfunc.C: subsequent changes
7678
7679         * lyxfunc.h: new view() member function
7680
7681         * lyxfunc.C: subsequent changes
7682
7683 2002-08-13  Angus Leeming  <leeming@lyx.org>
7684
7685         * BufferView2.C:
7686         * BufferView_pimpl.C:
7687         * buffer.C:
7688         * converter.C:
7689         * importer.C:
7690         * lyxfunc.C:
7691         * lyxvc.C:
7692         * toc.C:
7693         * vc-backend.C:
7694         changes due to the changed LyXView interface that now returns references
7695         to member variables not pointers.
7696
7697 2002-08-13  Angus Leeming  <leeming@lyx.org>
7698
7699         * WordLangTuple (word, lang_code): return references to strings,
7700         not strings.
7701
7702         * BufferView.h:
7703         * SpellBase.h:
7704         * lyxtext.h: forward-declare WordLangTuple.
7705
7706         * BufferView2.C:
7707         * ispell.C:
7708         * pspell.C:
7709         * text.C: #include "WordLangTuple.h".
7710
7711         * lyxtext.h:
7712         * text.C: (selectNextWordToSpellcheck): constify return type.
7713
7714 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
7715
7716         * buffer.C:
7717         * buffer.h:
7718         * lyxtext.h:
7719         * paragraph.C:
7720         * paragraph_pimpl.h:
7721         * text.C:
7722         * text2.C:
7723         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
7724         suggested by Angus.
7725         Made updateCounter always count from start of buffer, and removed
7726         second argument (par).
7727         Reverted floats number display to '#'. Perhaps I'll try again when the
7728         code base is sanitized a bit.
7729
7730 2002-08-12  Angus Leeming  <leeming@lyx.org>
7731
7732         * buffer.[Ch] (getLabelList): constify.
7733
7734 2002-08-07  André Pönitz <poenitz@gmx.net>
7735
7736         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
7737
7738         * funcrequest.h: extension to keep mouse (x,y) position
7739
7740 2002-08-12  Juergen Vigna  <jug@sad.it>
7741
7742         * BufferView2.C (insertErrors): forbid undo when inserting error
7743         insets.
7744
7745         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
7746
7747 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7748
7749         * ParagraphList.[Ch]: new files
7750
7751         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
7752
7753         * BufferView2.C (lockInset): ParagraphList changes
7754         * toc.C: ditto
7755         * text2.C: ditto
7756         * bufferlist.C: ditto
7757         * buffer.h: ditto
7758         * buffer.C: ditto
7759
7760 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7761
7762         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
7763         unused class variable counter_,
7764
7765         * paragraph.[Ch] (getFirstCounter): delete unused function
7766
7767         * counters.C: include LAssert.h
7768         (reset): add a new function with no arg, change other version to
7769         not have def. arg and to not allow empty arg.
7770
7771         * text2.C (setCounter): remove empty arg from call to Counters::reset
7772
7773 2002-08-11  John Levon  <levon@movementarian.org>
7774
7775         * Makefile.am: add WordLangTuple.h
7776
7777 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7778
7779         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
7780         lyxfunc.C lyxlex_pimpl.C: ws changes only.
7781
7782         * insets/insettext.C: InsetList changes
7783
7784         * graphics/GraphicsSupport.C (operator()): InsetList changes
7785
7786         * toc.C (getTocList): InsetList changes
7787
7788         * paragraph_pimpl.[Ch]: InsetList changes
7789
7790         * paragraph.[Ch]: InsetList changes
7791
7792         * buffer.C (inset_iterator): InsetList changes
7793         (setParagraph): ditto
7794         * buffer.h (inset_iterator): ditto
7795         * iterators.C (operator++): ditto
7796         * iterators.h: ditto
7797
7798         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7799
7800         * InsetList.[Ch]: new files, most InsetList handling moved out of
7801         paragraph.C.
7802
7803         * BufferView2.C (removeAutoInsets): InsetList changes
7804         (lockInset): ditto
7805         (ChangeInsets): ditto
7806
7807 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7808
7809         * paragraph_pimpl.h (empty): new function
7810
7811         * paragraph.[Ch] (empty): new function
7812
7813         * other files: use the new Paragraph::empty function
7814
7815 2002-08-09  John Levon  <levon@movementarian.org>
7816
7817         * lyxtext.h: remove unused refresh_height
7818
7819 2002-08-09  John Levon  <levon@movementarian.org>
7820
7821         * Makefile.am:
7822         * sgml.h:
7823         * sgml.C:
7824         * buffer.C:
7825         * paragraph.h:
7826         * paragraph.C: move sgml char escaping out of paragraph
7827
7828         * paragraph.h:
7829         * paragraph.C: remove id setter
7830
7831         * buffer.C:
7832         * paragraph.C:
7833         * paragraph_pimpl.C: remove dead tex_code_break_column
7834
7835         * bufferview_funcs.C: small cleanup
7836
7837         * lyxfunc.C: remove dead proto
7838
7839         * lyxtext.h: make some stuff private. Remove some dead stuff.
7840
7841         * lyxgluelength.C: make as[LyX]String() readable
7842
7843 2002-08-08  John Levon  <levon@movementarian.org>
7844
7845         * LyXAction.h:
7846         * LyXAction.C:
7847         * MenuBackend.C:
7848         * ToolbarDefaults.C:
7849         * lyxfunc.C:
7850         * lyxrc.C:
7851         * toc.C: lyxaction cleanup
7852
7853 2002-08-08  John Levon  <levon@movementarian.org>
7854
7855         * BufferView2.C: small cleanup
7856
7857         * lyxfind.h:
7858         * lyxfind.C: move unnecessary header into the .C
7859
7860 2002-08-08  John Levon  <levon@movementarian.org>
7861
7862         * funcrequest.h: just tedious nonsense
7863
7864         * lyx_main.h:
7865         * lyx_main.C: cleanups
7866
7867         * buffer.C:
7868         * vspace.C: remove dead header lyx_main.h
7869
7870 2002-08-07  Angus Leeming  <leeming@lyx.org>
7871
7872         * Paragraph.[Ch]:
7873         * paragraph_pimpl.h:
7874         Forward declare class Counters in paragraph.h by moving the ctrs member
7875         variable into Paragraph::Pimpl.
7876         (counters): new method, returning a reference to pimpl_->ctrs.
7877
7878         * text2.C: ensuing changes.
7879
7880 2002-08-07  John Levon  <levon@movementarian.org>
7881
7882         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7883
7884         * BufferView_pimpl.C: announce X selection on double/triple
7885           click
7886
7887         * lyx_main.C: use correct bool in batch dispatch
7888
7889         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7890
7891 2002-08-07  André Pönitz <poenitz@gmx.net>
7892
7893         * funcrequest.h: new class to wrap a kb_action and its argument
7894
7895         * BufferView.[Ch]:
7896         * BufferView_pimpl[Ch]:
7897         * LaTeX.C:
7898         * LyXAction.[Ch]:
7899         * lyxfunc.[Ch]:
7900         * lyxrc.C: subsequent changes
7901
7902
7903 2002-08-07  John Levon  <levon@movementarian.org>
7904
7905         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7906           document options change.
7907
7908 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7909
7910         * counters.[Ch]
7911         * text2.C
7912         * paragraph.[Ch]
7913         * makefile.am: move counters functionality over from
7914         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7915
7916 2002-08-06  John Levon  <levon@movementarian.org>
7917
7918         * WordLangTuple.h: new file for word + language code tuple
7919
7920         * SpellBase.h:
7921         * pspell.h:
7922         * pspell.C:
7923         * ispell.h:
7924         * ispell.C:
7925         * lyxtext.h:
7926         * text.C:
7927         * text2.C:
7928         * BufferView.h:
7929         * BufferView2.C: use WordLangTuple
7930
7931         * layout.h:
7932         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7933
7934 2002-08-06  John Levon  <levon@movementarian.org>
7935
7936         * lyx_main.C: fix cmdline batch handling
7937
7938 2002-08-06  André Pönitz <poenitz@gmx.net>
7939
7940         * lyxrc.C: set default for show_banner to true
7941
7942 2002-08-06  John Levon  <levon@movementarian.org>
7943
7944         * pspell.C: fix a crash, and allow new aspell to work
7945
7946 2002-08-06  John Levon  <levon@movementarian.org>
7947
7948         * lyxfunc.C:
7949         * kbmap.C: small cleanup
7950
7951         * vspace.h:
7952         * vspace.C: add const
7953
7954 2002-08-05  John Levon  <levon@movementarian.org>
7955
7956         * LyXAction.C: back to tabular-insert
7957
7958 2002-08-04  John Levon  <levon@movementarian.org>
7959
7960         * BufferView.h:
7961         * BufferView.C: cosmetic change
7962
7963         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7964
7965         * bufferlist.C:
7966         * buffer.h:
7967         * buffer.C:
7968         * lyxcb.h:
7969         * lyxcb.C:
7970         * lyxserver.C:
7971         * lyxvc.C:
7972         * vc-backend.C:
7973         * BufferView2.C: purge all "Lyx" not "LyX" strings
7974
7975         * lyxcursor.h:
7976         * lyxcursor.C: attempt to add some documentation
7977
7978         * lyxfunc.C:
7979         * commandtags.h:
7980         * LyXAction.C:
7981         * ToolbarDefaults.C:
7982         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7983           merge with LFUN_TABULAR_INSERT
7984
7985         * Makefile.am:
7986         * SpellBase.h:
7987         * ispell.h:
7988         * ispell.C:
7989         * pspell.h:
7990         * pspell.C: split up i/pspell implementations into separate
7991           files, many cleanups
7992
7993         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7994
7995         * text2.C: some cleanup
7996
7997         * lyxfunc.C: don't check for isp_command == "none" any more, it
7998           didn't make any sense
7999
8000 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
8001
8002         * counters.[Ch]
8003         * text2.C
8004         * paragraph.[Ch]
8005         * makefile.am: move counters functionality over
8006         from text2.C/paragraph.[Ch] to counters.[Ch], and
8007         make proper C++.
8008 2002-08-02  John Levon  <levon@movementarian.org>
8009
8010         * buffer.C: s/lyxconvert/lyx2lyx/
8011
8012 2002-08-02  Angus Leeming  <leeming@lyx.org>
8013
8014         * lyxlex.C: revert John's change as it breaks reading of the user
8015         preamble.
8016
8017 2002-08-02  Angus Leeming  <leeming@lyx.org>
8018
8019         * importer.C (Import):
8020         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8021         changes due to LyXView::view() now returning a boost::shared_ptr.
8022
8023 2002-08-02  John Levon  <levon@movementarian.org>
8024
8025         * lyxlex.C: small cleanup
8026
8027 2002-08-02  John Levon  <levon@movementarian.org>
8028
8029         * text2.C (status): small cleanup, no logic change
8030
8031 2002-08-01  John Levon  <levon@movementarian.org>
8032
8033         * buffer.h:
8034         * buffer.C (writeFile): don't output alerts, caller
8035           handles this
8036
8037         * bufferlist.C:
8038         * lyx_cb.C: from above
8039
8040         * lyxfunc.C: allow to open non-existent files
8041
8042 2002-07-31  John Levon  <levon@movementarian.org>
8043
8044         * lyxserver.C: don't let incidental errors get
8045           in the way (errno)
8046
8047 2002-07-30  John Levon  <levon@movementarian.org>
8048
8049         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8050
8051 2002-07-30  John Levon  <levon@movementarian.org>
8052
8053         * lyxserver.h:
8054         * lyxserver.C: remove I/O callback too
8055
8056 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8057
8058         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8059         log.
8060
8061 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8062
8063         * many files: strip,frontStrip -> trim,ltrim,rtrim
8064
8065 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8066
8067         * PrinterParams.h: remove extern containsOnly, and include
8068         support/lstrings.h instead.
8069
8070         * LaTeX.C (scanAuxFile): modify because of strip changes
8071         (deplog): ditto
8072         * buffer.C (makeLaTeXFile): ditto
8073         * bufferparams.C (writeFile): ditt
8074         * lyxfont.C (stateText): ditto
8075         * lyxserver.C (read_ready): ditto
8076         * vc-backend.C (scanMaster): ditto
8077
8078         * BufferView_pimpl.h: ws changes
8079
8080         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8081
8082 2002-07-26  André Pönitz <poenitz@gmx.net>
8083
8084         * kb_sequence.C: remove unnedred usings
8085
8086 2002-07-26  Juergen Vigna  <jug@sad.it>
8087
8088         * lyxfind.C (LyXReplace): we have to check better if the returned
8089         text is not of theLockingInset()->getLockingInset().
8090
8091 2002-07-25  Juergen Vigna  <jug@sad.it>
8092
8093         * lyxfind.C (LyXReplace): don't replace if we don't get the
8094         right LyXText.
8095
8096         * undo_funcs.C (createUndo): remove debugging code.
8097
8098 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
8099
8100         * buffer.C (parseSingleLyXformat2Token): Use default placement
8101         when reading old floats.
8102
8103         * FloatList.C (FloatList): Change the default placement of figure
8104         and tables to "tbp".
8105
8106 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
8107
8108         * MenuBackend.C: using std::max
8109
8110 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8111
8112         * MenuBackend.C (expandToc):
8113         (expandToc2): code moved from xforms menu frontend. It is now
8114         generic and TOCs are transparent to menu frontends.
8115
8116 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8117
8118         * toc.C (getTocList): protect against buf=0
8119
8120         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8121         Menu as first parameter. Now, this calls itself recursively to
8122         expand a whole tree (this will be useful for TOC handling)
8123         (expandFloatInsert): remove 'wide' version of floats
8124
8125         * MenuBackend.h (submenuname): returns the name of the submenu.
8126         (submenu): returns the submenu itself, provided it has been
8127         created by MenuBackend::expand
8128
8129 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8130
8131         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8132         insets which have noFontChange == true. (bug #172)
8133
8134 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8135
8136         * BufferView_pimpl.C: add connection objects and use them...
8137         (Pimpl): here.
8138
8139 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8140
8141         * MenuBackend.C (expandLastfiles):
8142         (expandDocuments):
8143         (expandFormats):
8144         (expandFloatListInsert):
8145         (expandFloatInsert):
8146         (expand): split expand in parts
8147
8148 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8149
8150         * lyx_gui.C: use lyx_gui::exit()
8151
8152 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8153
8154         * LyXAction.C: show the failing pseudo action
8155
8156 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
8157
8158         * buffer.C (readFile): Run the lyxconvert script in order to read
8159         old files.
8160
8161 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8162
8163         * LyXAction.C:
8164         * commandtags.h:
8165         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8166
8167 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8168
8169         * LyXAction.C:
8170         * commandtags.h:
8171         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8172
8173 2002-07-22  Herbert Voss  <voss@lyx.org>
8174
8175         * lengthcommon.C:
8176         * lyxlength.[Ch]: add support for the vertical lengths
8177
8178 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
8179
8180         * toc.[Ch]: std:: fixes
8181
8182 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8183
8184         * lyxrc.C: do not include lyx_main.h
8185
8186         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8187         for layouts
8188
8189         * lyxrc.C:
8190         * encoding.C:
8191         * bufferlist.C:
8192         * BufferView2.C: include "lyxlex.h"
8193
8194         * tabular.h:
8195         * bufferparams.h: do not #include "lyxlex.h"
8196
8197         * lyxtextclasslist.C (Add): remove method
8198         (classlist): renamed to classlist_
8199
8200         * paragraph_pimpl.C:
8201         * paragraph.C:
8202         * text2.C:
8203         * CutAndPaste.C:
8204         * bufferview_funcs.C:
8205         * bufferlist.C:
8206         * text.C:
8207         * LaTeXFeatures.C:
8208         * buffer.C:
8209         * toc.C (getTocList): use BufferParams::getLyXTextClass
8210
8211         * toc.C (getTocList): use InsetFloat::addToToc
8212
8213         * toc.[Ch]: new files, containing helper functions to handle table
8214         of contents
8215
8216         * lyxfunc.C (dispatch): no need to remove spaces around command
8217         given as a string
8218         (getStatus): handle LFUN_SEQUENCE by returning the status of the
8219         first command of the sequence; it is not very clever, but I do not
8220         have a better idea, actually
8221
8222         * LyXAction.C (LookupFunc): make sure to remove space at the
8223         beginning and end of the command
8224
8225 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8226
8227         * MenuBackend.C (getMenubar): new method: return the menubar of
8228         this menu set
8229         (read): treat differently reading of menu and menubar (in
8230         particular, the menubar has no name now)
8231         (Menu::menubar): remove
8232
8233         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8234         saving is finished
8235
8236 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8237
8238         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8239         a bibitem inset in a RTL paragraph.
8240
8241 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
8242
8243         * paragraph_pimpl.C: constify
8244
8245         * BufferView_pimpl.C:
8246         * LaTeX.C:
8247         * lyxfunc.C: fix dispatch in a nicer way
8248
8249 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8250
8251         * lyxfunc.C (dispatch):
8252         * BufferView_pimpl.C:
8253         * BufferView_pimpl.h:
8254         * BufferView.C:
8255         * BufferView.h: rename Dispatch() to dispatch()
8256
8257         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8258
8259         * lyxlayout.C (Read): honor DependsOn tag
8260
8261         * lyxlayout.[Ch] (depends_on): new method
8262
8263         * version.C.in: update lyx_docversion
8264
8265         * LaTeXFeatures.C (getMacros): only define \LyX when needed
8266
8267         * paragraph.C (validate): remove from here...
8268         * paragraph_pimpl.C (validate): ... and move here
8269         (isTextAt): make it const
8270
8271         * buffer.C (getLists): ws cleanup
8272
8273 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8274
8275         * language.C (read): Use iso8859-1 encoding in latex_lang
8276         (this prevents LyX from crashing when using iso10646-1 encoding).
8277
8278 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8279
8280         * text2.C (toggleInset): if cursor is inside an inset, close the
8281         inset and leave cursor _after_ it
8282
8283 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8284
8285         * lyxfunc.C: move minibuffer completion handling out of here
8286
8287 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8288
8289         * BufferView_pimpl.C:
8290         * LaTeX.C: fix dispatch calls
8291
8292 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
8293
8294         * text.C (drawChars): Fix Arabic text rendering.
8295
8296 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
8297
8298         * LyXAction.C:
8299         * commandtags.h:
8300         * lyxfunc.C: remove message-push/pop
8301
8302         * lyxserver.C:
8303         * lyxfunc.h:
8304         * lyxfunc.C: rationalise some code by removing verboseDispatch
8305           in favour of a bool argument to dispatch()
8306
8307 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8308
8309         * lyx_main.C (init): make sure to read symlinks as absolute paths
8310
8311 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8312
8313         * lyxfunc.h:
8314         * lyxfunc.C: no need for commandshortcut to be a member
8315
8316 2002-07-15  André Pönitz <poenitz@gmx.net>
8317
8318         * converter.C: add support for $$s (scripts from lib/scripts dir)
8319         * lyx_main.C: white space
8320
8321 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8322
8323         * bufferlist.C:
8324         * lyxrc.h:
8325         * lyxrc.C: remove second exit confirmation
8326
8327 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8328
8329         * BufferView.h:
8330         * BufferView.C:
8331         * BufferView2.C:
8332         * BufferView_pimpl.h:
8333         * BufferView_pimpl.C:
8334         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8335
8336 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8337
8338         * MenuBackend.C (expand): add numeric shortcuts to document menu
8339
8340         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8341
8342 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8343
8344         * lyxfont.C (setLyXFamily):
8345         (setLyXSeries):
8346         (setLyXShape):
8347         (setLyXSize):
8348         (setLyXMisc):
8349         (lyxRead):
8350         * debug.C (value):
8351         * buffer.C (asciiParagraph): use ascii_lowercase
8352
8353 2002-07-15  Mike Fabian  <mfabian@suse.de>
8354
8355         * lyxlex_pimpl.C (search_kw):
8356         * lyxlex.C (getLongString):
8357         * converter.h (operator<):
8358         * converter.C (operator<):
8359         * buffer.C (parseSingleLyXformat2Token):
8360         (asciiParagraph):
8361         * ToolbarDefaults.C (read):
8362         * MenuBackend.C (checkShortcuts):
8363         (read):
8364         * LColor.C (getFromGUIName):
8365         (getFromLyXName): use the compare_ascii_no_case instead of
8366         compare_no_case, because in turkish, 'i' is not the lowercase
8367         version of 'I', and thus turkish locale breaks parsing of tags.
8368
8369 2002-07-16  Angus Leeming  <leeming@lyx.org>
8370
8371         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8372         now takes a Buffer const & argument.
8373
8374 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
8375
8376         * BufferView.C (resize): check there's a buffer to resize
8377
8378 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
8379
8380         * lyxfunc.C: remove dead code
8381
8382         * lyxserver.h:
8383         * lyxserver.C: use lyx_guii::set_read_callback
8384
8385 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
8386
8387         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8388         an inset in a RTL paragraph.
8389
8390 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8391
8392         * lyxfunc.C: repaint after a font size update
8393
8394 2002-07-15  André Pönitz <poenitz@gmx.net>
8395
8396         * lyxlength.C: inBP should be able to return negative values
8397
8398 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8399
8400         * lyxfunc.C: use lyx_gui::update_fonts()
8401
8402 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8403
8404         * lyxfunc.C: use lyx_gui::update_color()
8405
8406 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8407
8408         * bufferlist.C:
8409         * lyxfunc.h:
8410         * lyxfunc.C:
8411         * lyxrc.h:
8412         * lyxrc.C: remove file->new asks for name option, and let
8413           buffer-new take an argument
8414
8415 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8416
8417         * BufferView_pimpl.C: remove unneeded extra repaint()
8418
8419 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
8420
8421         * LyXAction.C: allow command-sequence with NoBuffer
8422
8423         * lyxfunc.C: don't insist on trailing ';' for command-sequence
8424
8425 2002-07-10  Angus Leeming  <leeming@lyx.org>
8426
8427         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8428
8429 2002-07-09  Angus Leeming  <leeming@lyx.org>
8430
8431         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8432
8433 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8434
8435         * lengthcommon.h: whitespace
8436
8437         * lyxfunc.C: update scrollbar after goto paragraph
8438
8439         * lyxtext.h: factor out page break drawing, and fix it so
8440           page break/added space paints as selected nicely
8441
8442 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8443
8444         * BufferView_pimpl.C: add FIXMEs, clean up a little
8445
8446 2002-07-09  André Pönitz <poenitz@gmx.net>
8447
8448         * lyxfont.[Ch]: support for wasy symbols
8449
8450 2002-07-08  André Pönitz <poenitz@gmx.net>
8451
8452         * BufferView_pimpl.C: apply John's patch for #93.
8453
8454 2002-07-05  Angus Leeming  <leeming@lyx.org>
8455
8456         * BufferView_pimpl.C (buffer): generate previews if desired.
8457
8458         * LColor.h: add "preview" to the color enum.
8459
8460         * LColor.C (LColor): add a corresponding entry to the items array.
8461
8462         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8463         with this buffer.
8464
8465 2002-07-05  Angus Leeming  <leeming@lyx.org>
8466
8467         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8468         The body of the code is now in the method that is passed an ostream &
8469         rather than a file name.
8470         Pass an additional only_preamble parameter, useful for the forthcoming
8471         preview stuff.
8472
8473 2002-07-03  André Pönitz <poenitz@gmx.net>
8474
8475         * lyxfunc.C: simplify getStatus() a bit for math stuff
8476
8477 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8478
8479         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8480
8481 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8482
8483         * text.C (changeRegionCase): do not change case of all the
8484         document when region ends at paragraph end (bug #461)
8485
8486 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8487
8488         * paragraph.C (startTeXParParams):
8489         (endTeXParParams): add \protect when necessary
8490
8491 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8492
8493         * BufferView_pimpl.C (workAreaExpose): remove warning
8494
8495 2002-06-27  Angus Leeming  <leeming@lyx.org>
8496
8497         * Makefile.am: add lyxlayout_ptr_fwd.h.
8498
8499 2002-06-26  André Pönitz <poenitz@gmx.net>
8500
8501         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8502
8503 2002-06-25  Angus Leeming  <leeming@lyx.org>
8504
8505         * lyxfunc.C (dispatch): Comment out the call to
8506         grfx::GCache::changeDisplay. The method no longer exists now that the
8507         pixmap generation part of the graphics loader has been moved into
8508         InsetGraphics.
8509
8510 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8511
8512         * text2.C: layout as layout
8513
8514         * text.C: layout as layout
8515
8516         * tabular.C (OldFormatRead): layout as layout
8517
8518         * paragraph_pimpl.C (TeXDeeper): layout as layout
8519         (realizeFont): layout as layout
8520
8521         * paragraph.C (writeFile): layout as layout
8522         (validate): layout as layout
8523         (getFont): layout as layout
8524         (getLabelFont): layout as layout
8525         (getLayoutFont): layout as layout
8526         (breakParagraph): layout as layout
8527         (stripLeadingSpaces): layout as layout
8528         (getEndLabel): layout as layout
8529         (getMaxDepthAfter): layout as layout
8530         (applyLayout): layout as layout
8531         (TeXOnePar): layout as layout
8532         (simpleTeXOnePar): layout as layout
8533         (TeXEnvironment): layout as layout
8534         (layout): layout as layout
8535         (layout): layout as layout
8536
8537         * lyxtextclass.C (compare_name): new functor to work with
8538         shared_ptr, layout as layout
8539         (Read): layout as layout
8540         (hasLayout): layout as layout
8541         (operator): layout as layout
8542         (delete_layout): layout as layout
8543         (defaultLayout): layout as layout
8544
8545         * lyxlayout_ptr_fwd.h: new file
8546
8547         * lyxlayout.C (Read): layout as layout
8548
8549         * lyx_cb.C (MenuInsertLabel): layout as layout
8550
8551         * bufferlist.C (newFile): layout as layout
8552
8553         * buffer.C (readLyXformat2): layout as layout
8554         (parseSingleLyXformat2Token): layout as layout
8555         (insertStringAsLines): layout as layout
8556         (asciiParagraph): layout as layout
8557         (latexParagraphs): layout as layout
8558         (makeLinuxDocFile): layout as layout
8559         (simpleLinuxDocOnePar): layout as layout
8560         (makeDocBookFile): layout as layout
8561         (simpleDocBookOnePar): layout as layout
8562         (getLists): layout as layout
8563
8564         * LaTeXFeatures.C (getTClassPreamble): layout as layout
8565
8566         * CutAndPaste.C (cutSelection): layout as layout
8567         (pasteSelection): layout as layout
8568         (SwitchLayoutsBetweenClasses): layout as layout
8569
8570         * BufferView_pimpl.C (Dispatch): layout as layout
8571         (smartQuote): layout as layout
8572
8573         * BufferView2.C (unlockInset): layout as layout
8574
8575 2002-06-24  André Pönitz <poenitz@gmx.net>
8576
8577         * lyxfunc.C: fix #487
8578
8579 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8580
8581         * lyxrc.h:
8582         * lyxrc.C:
8583         * lyxfunc.C: remove display_shortcuts, show_banner
8584
8585 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8586
8587         * Buffer_pimpl.C: oops, update on resize
8588
8589 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8590
8591         * buffer.C:
8592         * converter.C:
8593         * exporter.C:
8594         * lyxfunc.C:
8595         * BufferView.h:
8596         * BufferView.C: use repaint()
8597
8598         * BufferView_pimpl.h:
8599         * BufferView_pimpl.C: s/updateScreen()/repaint()/
8600           as it's a clearer description. Remove superfluous
8601           redraws.
8602
8603 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8604
8605         * text.C: fix bug 488. Not ideal, but getting
8606           getWord() to work properly for the insets that
8607           matter is more difficult ...
8608
8609 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8610
8611         * BufferView_pimpl.C:
8612         * LyXAction.C:
8613         * commandtags.h:
8614         * lyxfunc.C: remove the six million index lyxfuncs to just
8615           one, and DTRT (bug 458)
8616
8617 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8618
8619         * BufferView.h:
8620         * BufferView.C:
8621         * BufferView_pimpl.h:
8622         * BufferView_pimpl.C: clean up resize() stuff,
8623           and unnecessary updateScreen()s
8624
8625 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8626
8627         * BufferView.h:
8628         * BufferView.C:
8629         * BufferView_pimpl.h:
8630         * BufferView_pimpl.C:
8631         * lyxfind.h:
8632         * lyxfind.C:
8633         * minibuffer.C: remove focus management of workarea,
8634           not needed. Use screen's greyOut()
8635
8636 2002-06-17  Herbert Voss  <voss@lyx.org>
8637
8638         * converter.C: (convert) do not post a message, when converting
8639         fails, let the calling function decide what to do in this case
8640
8641 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
8642
8643         * lyxfunc.C: tidy up a little
8644
8645 2002-06-16    <alstrup@diku.dk>
8646
8647         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8648         Got rid of FORMS_H_LOCATION include. Now we are
8649         GUII.
8650
8651 2002-06-15  LyX Development team  <lyx@rilke>
8652
8653         * buffer.[Ch] (sgmlOpenTag):
8654         (sgmlCloseTag): Added support for avoiding pernicious mixed
8655         content. Return number of lines written.
8656
8657         (makeLinuxDocFile):
8658         (makeDocBookFile): Fixed calls to sgml*Tag.
8659         Simple white space clean.
8660
8661         (simpleDocBookOnePar): Simple white space clean.
8662
8663         * tabular.[Ch] (docBook): Renamed to docbook and got another
8664         argument to related with the pernicious mixed content.
8665
8666         (docbookRow): Fixed calls for docbook inset method.
8667
8668 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
8669
8670         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
8671         so it's X11 independent.
8672
8673         * kb*.[Ch]: ditto.
8674
8675         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
8676
8677 2002-06-15  Lyx Development team  <lyx@electronia>
8678
8679         * intl.h: Renamed getTrans to getTransManager.
8680
8681 2002-06-14  Angus Leeming  <leeming@lyx.org>
8682
8683         * Makefile.am: nuke forgotten stl_string_fwd.h.
8684
8685 2002-06-12  Angus Leeming  <leeming@lyx.org>
8686
8687         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
8688
8689 2002-06-13  Angus Leeming  <leeming@lyx.org>
8690
8691         * LaTeX.C:
8692         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
8693
8694 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
8695
8696         * kbmap.C (getiso): add support for cyrillic and greek
8697
8698 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8699
8700         * BufferView.h:
8701         * BufferView.C:
8702         * BufferView_pimpl.h:
8703         * BufferView_pimpl.C: move bogus scrolling logic
8704           to xforms
8705
8706 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8707
8708         * lyxfunc.C:
8709         * BufferView_pimpl.C: view->resize() change
8710
8711 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8712
8713         * BufferView_pimpl.C: topCursorVisible
8714           prototype change
8715
8716 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8717
8718         * Makefile.am:
8719         * lyx_gui.h:
8720         * lyx_gui.C: move to frontends/
8721
8722         * main.C:
8723         * lyx_main.h:
8724         * lyx_main.C: changes from above
8725
8726 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8727
8728         * intl.C:
8729         * intl.h:
8730         * kbmap.C:
8731         * kbsequence.C:
8732         * lyx_cb.C:
8733         * lyx_main.C: minor tidy
8734
8735 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8736
8737         * BufferView_pimpl.h:
8738         * BufferView_pimpl.C:
8739         * BufferView.h:
8740         * BufferView.C: make painter() const,
8741           remove dead code
8742
8743         * BufferView2.C: use screen() accessor
8744
8745         * lyx_main.h:
8746         * lyx_main.C: some minor cleanup
8747
8748 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8749
8750         * BufferView_pimpl.h:
8751         * BufferView_pimpl.C: remove enter/leaveView,
8752           use workHeight()
8753
8754 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
8755
8756         * BufferView.h:
8757         * BufferView.C:
8758         * BufferView2.C:
8759         * BufferView_pimpl.h:
8760         * BufferView_pimpl.C: only construct screen once,
8761           rename
8762
8763         * lyxrc.C: remove pointless comment
8764
8765 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8766
8767         * BufferView.h:
8768         * BufferView.C: remove active() and belowMouse()
8769
8770         * BufferView_pimpl.h:
8771         * BufferView_pimpl.C: use workarea() not workarea_,
8772           and make it use a scoped_ptr instead
8773
8774 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
8775
8776         * lyx_gui.C: add debug message on BadWindow
8777
8778 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8779
8780         * sp_spell.C: fdopen is not part of the C++ standard.
8781
8782         * paragraph.C (InsetIterator): use >= instead of ==
8783
8784 2002-06-07  Angus Leeming  <leeming@lyx.org>
8785
8786         Fixes needed to compile with Compaq cxx 6.5.
8787         * BufferView_pimpl.C:
8788         * DepTable.C:
8789         * buffer.C:
8790         * converter.C:
8791         * encoding.C:
8792         * lyx_gui.C:
8793         * lyx_main.C:
8794         * lyxtextclasslist.C:
8795         * minibuffer.C:
8796         * sp_spell.C:
8797         * tabular_funcs.C:
8798         * vc-backend.C:
8799         all c-library variables have been moved into namespace std. Wrap
8800         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8801
8802         * lyxlength.C:
8803         * tabular-old.C:
8804         * tabular.C:
8805         Add a using std::abs declaration.
8806
8807         * kbmap.h (modifier_pair):
8808         * paragraph.h (InsetTable, InsetList):
8809         * lyxfont.h (FontBits):
8810         type definition made public.
8811
8812         * bufferlist.C (emergencyWriteAll): the compiler complains that
8813         there is more than one possible lyx::class_fun template to choose from.
8814         I re-named the void specialisation as lyx::void_class_fun.
8815
8816         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8817
8818         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8819         the compiler is is unable to find tostr in write_attribute.
8820
8821 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8822
8823         * buffer.C (sgmlError): hide #warning
8824
8825 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8826
8827         * xtl/*: get rid of xtl, which is not in use anyway
8828
8829         * LyXAction.C (init):
8830         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8831         were unimplemented xtl experimentation
8832
8833 2002-06-04  André Pönitz <poenitz@gmx.net>
8834
8835         * lyxfunc.C: disable array operation on simple formulae
8836
8837 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
8838
8839         * converter.C: constify a bit
8840
8841 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
8842
8843         * lyx_gui.C: check xforms version correctly
8844
8845 2002-04-30  Herbert Voss  <voss@lyx.org>
8846
8847         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8848         "keep" option
8849
8850 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
8851
8852         * lyxvc.C: fix bug 416 (make sure buffer is saved before
8853           attempt to register it with a VCS)
8854
8855 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8856
8857         * lyx_main.C (init): honor variables LYX_DIR_13x and
8858         LYX_USERDIR_13x
8859
8860 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8861
8862         * buffer.h:
8863         * buffer.C:
8864         * lyx_main.C: fix a crash on bad command line,
8865           and give a useful exit status on error
8866
8867         * lyxfunc.C (doImport): allow -i lyx to work
8868
8869 2002-03-30  André Pönitz <poenitz@gmx.net>
8870
8871         * lyxfunc.C: mathed font changes
8872
8873 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8874
8875         * LaTeX.C:
8876         * importer.h:
8877         * importer.C:
8878         * lyx_sty.h:
8879         * lyx_sty.C:
8880         * lyxlex.C:
8881         * lyxrow.h:
8882         * lyxtext.h:
8883         * paragraph.h:
8884         * paragraph.C:
8885         * texrow.h:
8886         * texrow.C:
8887         * text.C:
8888         * trans_mgr.h: srcdocs, and some minor cleanups
8889
8890 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8891
8892         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8893         call getFont all the time)
8894
8895 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8896
8897         * switch from SigC signals to boost::signals
8898
8899 2002-05-29  André Pönitz <poenitz@gmx.net>
8900
8901         * paragraph_pimpl.C (getChar): don't call size() too often...
8902
8903 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8904
8905         * paragraph_pimpl.C (insertChar): do not try to update tables when
8906         appending (pos == size())
8907
8908         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8909         in order to reduce drastically the number of comparisons needed to
8910         parse a large document
8911
8912 2002-05-29  André Pönitz <poenitz@gmx.net>
8913
8914         * text.C:
8915         * text2.C:
8916         * lyxtextclass.C:
8917         * sp_pspell.h:
8918         * textclasslist.[Ch]:
8919         * sp_ispell.h: whitespace change
8920
8921 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8922
8923         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8924         lyxaction directly now.
8925
8926 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8927
8928         * trans.C:
8929         * lyxfont.C:
8930         * lyxvc.C: remove unused headers
8931
8932 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8933
8934         * Makefile.am:
8935         * buffer.h:
8936         * undostack.h:
8937         * undostack.C:
8938         * undo_funcs.h:
8939         * undo_funcs.C: some cleanups. Use shared_ptr
8940           and a template for the undo stacks.
8941
8942 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8943
8944         * BufferView_pimpl.h:
8945         * BufferView_pimpl.C:
8946         * kbmap.h:
8947         * kbmap.C:
8948         * kbsequence.h:
8949         * kbsequence.C:
8950         * lyxfunc.h:
8951         * lyxfunc.C:
8952         * text2.C: use key_state/mouse_state
8953
8954 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8955
8956         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8957         and LSubstring
8958
8959         * chset.C: change include order
8960         (loadFile): use boost regex and get rid of LRegex and LSubstring
8961
8962         * Makefile.am (BOOST_LIBS): new variable
8963         (lyx_LDADD): use it
8964
8965         * LaTeX.C: change include order.
8966         (scanAuxFile): use boost regex and get rid of LRegex and
8967         LSubstring
8968         (deplog): ditto
8969
8970 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8971
8972         * ColorHandler.h:
8973         * ColorHandler.C:
8974         * FontInfo.h:
8975         * FontInfo.C: moved to frontends/xforms/
8976
8977         * FontLoader.h:
8978         * FontLoader.C: moved into frontends for GUIIzation
8979
8980         * Makefile.am:
8981         * lyx_gui.C:
8982         * lyxfont.C:
8983         * lyxfunc.C: changes from above
8984
8985 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8986
8987         * LColor.C: remove spurious X include
8988
8989         * BufferView_pimpl.C:
8990         * Makefile.am:
8991         * font.h:
8992         * font.C:
8993         * text.C:
8994         * text2.C: move font metrics to frontends/
8995
8996 2002-05-24  Juergen Vigna  <jug@sad.it>
8997
8998         * undo_funcs.C (textHandleUndo): fix the cursor selection after
8999         setting the undo_cursor.
9000
9001         * ParagraphParameters.h: include local includes first.
9002
9003 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9004
9005         * BufferView_pimpl.C:
9006         * BufferView_pimpl.h:
9007         * Makefile.am:
9008         * WorkArea.h:
9009         * WorkArea.C:
9010         * screen.C: move WorkArea into frontends/
9011
9012         * lyxscreen.h:
9013         * screen.C:
9014         * text.C:
9015         * BufferView.C:
9016         * BufferView2.C: move LyXScreen into frontends/
9017
9018         * lyxlookup.h:
9019         * lyxlookup.C:
9020         * lyx_gui.C: move lyxlookup into frontends/xforms/
9021
9022 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9023
9024         * BufferView2.C:
9025         * BufferView_pimpl.C:
9026         * FontLoader.C:
9027         * LyXView.h:
9028         * LyXView.C:
9029         * Makefile.am:
9030         * WorkArea.C:
9031         * XFormsView.h:
9032         * XFormsView.C:
9033         * buffer.C:
9034         * bufferlist.C:
9035         * bufferview_funcs.C:
9036         * converter.C:
9037         * importer.C:
9038         * lyx_cb.C:
9039         * lyx_gui.C:
9040         * lyx_main.C:
9041         * lyx_find.C:
9042         * lyxfunc.C:
9043         * lyxvc.C:
9044         * minibuffer.C:
9045         * text.C:
9046         * text2.C:
9047         * trans.C:
9048         * vc-backend.C: move LyX/XFormsView into frontends/
9049
9050 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9051
9052         * Makefile.am:
9053         * PainterBase.C:
9054         * PainterBase.h:
9055         * Painter.C:
9056         * Painter.h:
9057         * WorkArea.C:
9058         * WorkArea.h:
9059         * screen.C:
9060         * tabular.C:
9061         * text.C:
9062         * text2.C: move Painter to frontends/
9063
9064 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9065
9066         * buffer.C: comment out some some code that depend upon lyx_format
9067         < 220
9068
9069         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9070         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9071
9072         * buffer.h (NO_COMPABILITY): turn off compability
9073
9074         * ColorHandler.C: include scoped_array.hpp
9075
9076         * font.C: Use more specific smart_ptr header.
9077         * Painter.C: ditto
9078         * gettext.C: ditto
9079         * ShareContainer.h: ditto
9080         * lyx_main.h: ditto
9081         * kbmap.h: ditto
9082         * FontInfo.h: ditto
9083         * BufferView_pimpl.h: ditto
9084         * ColorHandler.h: ditto
9085
9086         * kbmap.C (defkey): change call to shared_ptr::reset
9087
9088 2002-05-21  Juergen Vigna  <jug@sad.it>
9089
9090         * buffer.C (insertErtContents): fix to insert ert asis if it is
9091         non empty. Skip it completely if it contains only whitespaces.
9092
9093 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
9094
9095         * BufferView_pimpl.C:
9096         * BufferView2.C: clear selection on paste (bug 393)
9097
9098 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9099
9100         * DepTable.C: include ctime
9101
9102 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
9103
9104         * buffer.C (latexParagraphs): Add new argument (moving_arg).
9105
9106 2002-05-14  Juergen Vigna  <jug@sad.it>
9107
9108         * text.C (breakParagraph): fixed function to honor the keepempty
9109         layout in the right maner and also to permit the right breaking
9110         algorithm on empty or non empyt keepempty paragraphs.
9111
9112         * paragraph.C (breakParagraph): we have to check also if the par
9113         is really empty (!size()) for isempty otherwise we do the wrong
9114         paragraph break.
9115
9116 2002-05-10  Juergen Vigna  <jug@sad.it>
9117
9118         * buffer.[Ch] : The following are only changes to the ert
9119         compatibility read reading old LaTeX layout and font stuff and
9120         convert it to ERTInsets.
9121
9122         * buffer.h: added isErtInset().
9123
9124         * buffer.C (struct ErtComp): add a fromlayout bool to check
9125         if we're inside a LaTeX layout.
9126         (isErtInset): new helper function.
9127         (insertErtContents): look for other ert insets before this one
9128         and insert the contents there, so that we don't have subsequent
9129         ERT insets with nothing between them. This way we create only one
9130         inset with multiple paragraphs. Also check if we don't insert only
9131         spaces ' ' as they are ignored anyway afterwards in the .tex file
9132         so if we have only spaces we will ignore this latex part in the
9133         new file.
9134         (parseSingleLyXformat2Token \\layout): better compatibility when
9135         reading layout-latex stuff.
9136         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9137         language tag.
9138         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9139         stuff after reading the inset only get the information back from
9140         the stack.
9141
9142 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
9143
9144         * buffer.C (makeLaTeXFile): Put language options after loading babel.
9145
9146         * LaTeXFeatures.C (getBabelOptions): New method.
9147
9148 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9149
9150         * BufferView_pimpl.C (Dispatch): work around missing argument for
9151         'layout'
9152
9153 2002-05-08  Juergen Vigna  <jug@sad.it>
9154
9155         * text.C (leftMargin): handle paragraph leftindent.
9156
9157         * paragraph.C (writeFile): write the new \\leftindent tag.
9158         (validate): handle leftindent code.
9159         (TeXEnvironment): handle paragraphleftindent code again.
9160
9161         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9162
9163         * buffer.C (parseSingleLyXformat2Token): added compatibility code
9164         for paragrap_extra indent code and new token \\leftindent.
9165         (latexParagraphs): handle the leftindent as environment.
9166
9167         * ParameterStruct.h: added leftindent support.
9168
9169         * ParagraphParameters.C (leftIndent): added support functions for
9170         the paragraph left indent.
9171
9172         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9173         more appropriate.
9174
9175 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
9176
9177         * paragraph.C (isRightToLeftPar): Return false for a paragraph
9178         inside insetERT.
9179
9180         * text.C (computeBidiTables): No bidi in insetERT.
9181
9182         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9183         in RTL documents.
9184
9185 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9186
9187         * version.C.in: pre 5
9188
9189 2002-05-02  José Matos  <jamatos@fep.up.pt>
9190         * buffer.C (makeDocBookFile): white space changes, add newline to
9191         command styles.
9192         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9193
9194         * tabular.C (docBook): fix typo.
9195
9196 2002-05-03  Juergen Vigna  <jug@sad.it>
9197
9198         * screen.C (drawFromTo): recalculate the rowpointer if we had a
9199         change in LyXText as we can not be sure it was not freed.
9200         (drawOneRow): remove unused code.
9201
9202         * text.C (drawInset): redo the calculation of the need_break_row as
9203         it could have a row which was already freed.
9204         (draw): look at the return value of drawInset and return false if
9205         it also returned false.
9206         (paintRowText): look at the return value of draw and return false if
9207         it also returned false.
9208
9209         * lyxtext.h: added bool return type to drawInset() and draw() so that
9210         if we have a change in the row so that the rowbreak has to be redone
9211         we abort drawing as it will be called again.
9212
9213 2002-05-02  Juergen Vigna  <jug@sad.it>
9214
9215         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9216         a change in the maintext also if we're inside an inset.
9217         (Dispatch): set the cursor again after a break line and after the
9218         screen has been updated as it could be we're in a different row.
9219
9220         * text2.C (fixCursorAfterDelete): check to make sure we don't request
9221         to set the cursor behind the pargraph with > size().
9222         (setCursor): check also for the same paragraph when checking where
9223         to put the cursor if we have a NFR inset.
9224
9225         * buffer.C (parseSingleLyXformat2Token): move the compatibility
9226         parts of layout read further up as it still was in the wrong
9227         position.
9228
9229 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9230
9231         * screen.C (drawFromTo): change sine fullRebreak always return
9232         true.
9233
9234         * buffer.C (parseSingleLyXformat2Token): reindent some
9235
9236         * BufferView_pimpl.C (update): change since fullRebreak always
9237         return true.
9238         (Dispatch): git rid of the last hardcoded "Standard"s.
9239
9240 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9241
9242         * text2.[Ch] (fullRebreak): make it return void now that we always
9243         returned true.
9244
9245 2002-04-30  Juergen Vigna  <jug@sad.it>
9246
9247         * buffer.C (parseSingleLyXformat2Token): reset the font before the
9248         ert compatibility check for "latex" layout.
9249
9250 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
9251
9252         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9253         minipages: use col% instead of p%, and also use the current font.
9254         (makeLaTeXFile): Fix use babel condition.
9255         (parseSingleLyXformat2Token): Correct font when reading old floats.
9256
9257 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
9258
9259         * BufferView_pimpl.C (Dispatch): Check that float type exists when
9260         inserting list of floats.
9261
9262 2002-04-25  Herbert Voss  <voss@lyx.org>
9263
9264         * MenuBackend.C (expand): don't add the graphics extensions to the
9265         export menu
9266
9267 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9268
9269         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9270         non-existing layout, do not complain if it was the default layout
9271         of the original class (bug #342)
9272
9273 2002-04-24  Juergen Vigna  <jug@sad.it>
9274
9275         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9276         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9277
9278 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
9279
9280         * buffer.C (getBibkeyList): If using \bibliography, return the
9281         option field with the reference itself. Enables us to provide natbib
9282         support when using \bibliography.
9283
9284 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
9285
9286         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9287
9288         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9289         natbib is provided by the LaTeX class.
9290
9291 2002-04-23  Juergen Vigna  <jug@sad.it>
9292
9293         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9294         Wakeup functions.
9295
9296         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9297
9298 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9299
9300         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9301
9302         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9303         ensuremath around textordmasculine, textordfeminine and
9304         textdegree.
9305
9306 2002-04-19  Juergen Vigna  <jug@sad.it>
9307
9308         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9309         reinitializing the buffer otherwise row-dimensions may be wrong.
9310         (update): reset also the selection cursors if they do exits otherwise
9311         their x/y positions may be wrong.
9312
9313         * text2.C (cursorDown): don't enter the inset if we came from a row
9314         above and are one row over the inset.
9315
9316         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9317         really leaving an inset.
9318
9319 2002-04-18  Juergen Vigna  <jug@sad.it>
9320
9321         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9322         of the selected paragraph does not have the selected layout also if
9323         the last one had!
9324
9325         * text2.C (setLayout): fixed bug which did not change last selected
9326         paragraph.
9327
9328         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9329         changed the read and substituted \\end_float with \\end_inset!
9330
9331         * BufferView_pimpl.C (cursorPrevious):
9332         (cursorNext): fixed to make it work with rows heigher than the work
9333         area without moving the cursor only the draw of the row.
9334         (workAreaMotionNotify): fix jumping over high rows.
9335
9336 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9337
9338         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9339         Ressler.
9340
9341 2002-04-16  Juergen Vigna  <jug@sad.it>
9342
9343         * text2.C (setCursor): set also the irow().
9344         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9345         (cursorUp):
9346         (cursorDown): support for locking an inset if the x_fix value goes
9347         inside it. That way I can transverse insets too with cursor up/down.
9348
9349         * lyxrow.h: added irow helper function same as other (i) functions.
9350
9351         * BufferView_pimpl.C (cursorPrevious):
9352         (cursorNext): fixed for insets!
9353
9354 2002-04-15  Juergen Vigna  <jug@sad.it>
9355
9356         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9357         position otherwise it is wrong in some cases.
9358
9359         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9360         inside the inset before the call.
9361
9362 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
9363
9364         * buffer.[Ch] (getBibkeyList): make it const.
9365
9366 2002-04-12  Juergen Vigna  <jug@sad.it>
9367
9368         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9369
9370         * text2.C (getCursorX): new helper function
9371         (setCursor): compute also ix_
9372         (setCursorFromCoordinates): set also ix.
9373
9374         * lyxcursor.h: added ix_ and helper functions.
9375
9376         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9377
9378         * buffer.C (insertStringAsLines): dont break paragraph if the this
9379         paragraph is inside an inset which does not permit it!
9380
9381         * text.C (breakParagraph): honor keepempty flag and break the paragraph
9382         also with no chars on this paragraph.
9383         (paintRowText): only paint stuff if it's inside the workarea!
9384
9385         * paragraph.C (breakParagraph): honor keepempty flag and break the
9386         paragraph always below not above.
9387
9388         * BufferView2.C (unlockInset): update the paragraph layout on inset
9389         unlock as we changed paragraph in such a case.
9390
9391         * lyxfind.C (LyXFind): clear the former selection if not found!
9392
9393         * text2.C (insertInset): freeze Undo after setUndo so that it is not
9394         again called in insertChar().
9395
9396         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9397         an inset which uses the whole row!
9398         (rightMargin): ditto.
9399         (insertChar): force a rebreak if we inserted an inset!
9400
9401 2002-03-28  Herbert Voss  <voss@lyx.org>
9402
9403         * lyxlength.[Ch]: add inBP() to get the right PS-point
9404         units (BigPoint). With inPixels we have rounding errors
9405
9406 2002-04-11  Juergen Vigna  <jug@sad.it>
9407
9408         * text2.C (setCursorFromCoordinates): set iy to the right value.
9409         (setCursor): add check if row->previous exists!
9410
9411         * buffer.C (parseSingleLyXformat2Token): reset font after read of
9412         an old float_type as this was the case in the old code!
9413
9414         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9415
9416         * BufferView2.C (showLockedInsetCursor): use iy
9417         (fitLockedInsetCursor): ditto
9418
9419         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9420         locked insets as there we have the right value now.
9421
9422         * lyxcursor.C: added iy_ variable and iy functions to set to the
9423         baseline of cursor-y of the locked inset.
9424
9425         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9426         (setCursor): fixed for insets which need a full row.
9427
9428         * text.C (rowLastPrintable): don't ignore the last space when before
9429         an inset which needs a full row.
9430         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9431         as last character of a row when before a inset which needs a full row.
9432
9433 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9434
9435         * version.C.in: update date
9436
9437         * text2.C (fullRebreak): try to always return true and see what
9438         happens...
9439
9440 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9441
9442         * MenuBackend.C (expand): use Floating::listName
9443
9444         * FloatList.C (FloatList): add listName argument to the built-in
9445         floats
9446
9447         * Floating.[Ch]: add listName member, which is the 'List of XXX'
9448         text associated with the float.
9449
9450 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9451
9452         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9453
9454 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9455
9456         * ShareContainer.h: add a couple of missing typenames.
9457
9458 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
9459
9460         * lyxrc.C (getDescription): use _() correctly rather than N_().
9461
9462 2002-03-28  Herbert Voss  <voss@lyx.org>
9463
9464         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9465         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9466
9467 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9468
9469         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9470         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9471
9472 2002-03-29  Juergen Vigna  <jug@sad.it>
9473
9474         * lyxfunc.C (dispatch): add a missing fitCursor call.
9475
9476         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9477         it was scrolled by a cursor move, so return the bool status.
9478
9479         * BufferView.C (fitCursor): return the bool flag also to the outside
9480         world as this is needed.
9481
9482         * screen.C (toggleToggle): don't subtract the offset if it's positive.
9483
9484         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9485         call the edit() as it is not needed (and wrong) IMO.
9486         (workAreaButtonPress): set the screen_first variable before evt.
9487         unlock the inset as this may change screen_first and then we have
9488         a wrong y position for the click!
9489
9490 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9491
9492         * MenuBackend.C (expand): another translation that I missed
9493
9494 2002-03-28  Juergen Vigna  <jug@sad.it>
9495
9496         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9497
9498         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9499
9500 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9501
9502         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9503
9504         * MenuBackend.C (expand): fix export/view/update when there is no
9505         document open.
9506
9507 2002-03-27  Herbert Voss  <voss@lyx.org>
9508
9509         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9510         and text%
9511
9512 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9513
9514         * bufferview_funcs.C (currentState): only show paragraph number
9515         for is DEVEL_VERSION is set.
9516
9517         * lyxfunc.C (dispatch): put warning in INFO channel
9518
9519         * MenuBackend.C (expand): translate the name of floats
9520
9521         * FloatList.C (FloatList): mark the float names for translation
9522
9523         * converter.C (convert): use LibScriptSearch
9524
9525 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9526
9527         * MenuBackend.C (defaults): fix default menu (we might as well get
9528         rid of it...)
9529
9530 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9531
9532         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9533         directory.
9534
9535 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9536
9537         * lyxvc.C: reorder includes.
9538
9539 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
9540
9541         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9542           properly
9543
9544 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
9545
9546         * CutAndPaste.C: change layouts earlier on paste
9547           to avoid crashing when calling getFont()
9548
9549 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
9550
9551         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9552         irritating #error.
9553
9554 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9555
9556         * WorkArea.C: remove 'Pending' debug message.
9557
9558         * most files: ws cleanup
9559
9560         * buffer.[Ch]: ws changes
9561
9562         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9563
9564 2002-03-21  Juergen Vigna  <jug@sad.it>
9565
9566         * tabular.C (SetMultiColumn): collapse also the contents of the
9567         cells and set the last border right. Added a Buffer const * param.
9568
9569 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9570
9571         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9572         linking or not.
9573
9574 2002-03-19  Juergen Vigna  <jug@sad.it>
9575
9576         * text2.C (clearSelection): reset also xsel_cache.
9577
9578         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9579         where it needs to be called (John tells us to do so too :)
9580         (selectionLost): reset sel_cache.
9581
9582         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9583
9584 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9585
9586         * text2.C (setCursorIntern): put debuging code in INSETS channel
9587
9588 2002-03-19  André Pönitz <poenitz@gmx.net>
9589
9590         * lyxfunc.C: tiny whitespace change
9591
9592 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9593
9594         * ToolbarDefaults.C (init):
9595         * LyXAction.C (init):
9596         * commandtags.h:
9597         * BufferView_pimpl.C (Dispatch):
9598         * lyxfunc.C (dispatch): remove LFUN_DEPTH
9599
9600 2002-03-19  Allan Rae  <rae@lyx.org>
9601
9602         * exporter.C (Export): removeAutoInsets before doing anything else.
9603         While I've just introduced a dependency on BufferView this really is
9604         the best place to clean the buffer otherwise you need to cleanup in
9605         a dozen places before calling export or cleanup in a dozen functions
9606         that export calls.
9607
9608         * converter.C (runLaTeX):
9609         (scanLog): Better handling of removeAutoInsets and screen updates.
9610
9611         * lyxfunc.C (dispatch): small whitespace changes
9612
9613 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9614
9615         * WorkArea.C (C_WorkAreaEvent): return a value.
9616         (event_cb): return 1 if we handled the event, 0 otherwise.
9617
9618         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9619
9620 2002-03-18  Juergen Vigna  <jug@sad.it>
9621
9622         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9623         (GetAdditionalWidth): ditto.
9624         (RightLine): ditto.
9625         (LeftLine): ditto.
9626
9627         * BufferView2.C (copy): use getLyXText() so that we do it inside an
9628         inset if we're there actually (probably not used right now but this
9629         is the direction to go for unifying code).
9630         (paste): disable code to clear the selection.
9631
9632         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9633         inside an InsetText and move the check further up as it is in the
9634         wrong place.
9635
9636         * text2.C (pasteSelection): set a selection over the pasted text.
9637
9638 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
9639
9640         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9641         and libgraphics to build on Cygwin.
9642
9643 2002-03-15  Juergen Vigna  <jug@sad.it>
9644
9645         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9646         inserting an Inset into the paragraph. I know this is not the best
9647         fix but we already use current_view in CutAndPaste so we will remove
9648         all of it's using at the same time.
9649
9650         * buffer.C (sgmlError): deactivated function till it is rewritten in
9651         the right mode, now it can create problems.
9652
9653         * paragraph.C (isLineSeparator): check if getInset returns != 0,
9654         before accessing it.
9655
9656 2002-03-14  Juergen Vigna  <jug@sad.it>
9657
9658         * undo_funcs.C (textHandleUndo): do the right thing when updating
9659         the inset after the undo/redo.
9660
9661         * text2.C (setCursor): just some testcode for #44 not ready yet.
9662
9663         * undo_funcs.C (textHandleUndo): set the next() and previous()
9664         pointers of the paragraph to 0 before deleting otherwise we have
9665         problems with the Paragraph::[destructor].
9666
9667         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
9668         on a paragraph insertion.
9669
9670 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9671
9672         * buffer.C (asciiParagraph): use += operator for char append to
9673         string.
9674
9675         * paragraph.C (getFontSettings): compare >= not just >
9676         (highestFontInRange): ditto
9677         (setFont): ditto
9678
9679 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9680
9681         * paragraph.C: change several algorithm to be more appripriate for
9682         the problem domain. This is lookip in FontList and in the InsetList.
9683
9684 2002-03-13  André Pönitz <poenitz@gmx.net>
9685
9686         * commandtags.h:
9687         * LyXAction.C: remove unused LFUN_MATH_MACROARG
9688
9689 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
9690
9691         * commandtags.h:
9692         * LyXAction.C:
9693         * lyxfunc.C:
9694         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
9695
9696 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9697
9698         * Painter.C (display): anon helper function, adjust code for this
9699         change.
9700         (pixmap): remove function.
9701
9702         * Painter.h: remove private display variable.
9703
9704         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
9705
9706 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
9707
9708         * WorkArea.[Ch]: remove figinset_canvas cruft.
9709
9710 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9711
9712         * lyxtextclass.C (operator): add one item cache optimization.
9713
9714         * bufferlist.h: doxy changes
9715
9716         * bufferlist.C: ws changes
9717
9718         * DepTable.[Ch] (ext_exist): place const in the right spot.
9719
9720         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
9721         call resizeInsets.
9722         (workAreaExpose): call resizeInsets when the with BufferView changes.
9723         (Dispatch): adjust for protectedBlank removal
9724         (specialChar): call updateInset if the insert went ok.
9725
9726         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
9727         specialChar instead.
9728
9729         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
9730
9731         * BufferView.h: doxy change
9732
9733         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
9734
9735         * lyxtextclass.C (operator[]): remove non-const version
9736         (defaultLayout): remove non-const version
9737
9738 2002-03-12  Juergen Vigna  <jug@sad.it>
9739
9740         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
9741         did resize the LyXText too.
9742
9743         * buffer.C (readLyXformat2): set layout information on newly allocated
9744         paragraphs.
9745
9746         * tabular.C (OldFormatRead): set layout information on the paragraph.
9747
9748 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9749
9750         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
9751
9752 2002-03-11  Juergen Vigna  <jug@sad.it>
9753
9754         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
9755         plainly wrong.
9756         (resizeCurrentBuffer): force also the insets to resize themselfes.
9757         (moveCursorUpdate): fixed up for InsetText.
9758
9759 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
9760
9761         * commandtags.h:
9762         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
9763         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
9764         value of Dialogs::tooltipsEnabled().
9765         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
9766
9767 2002-03-08  Juergen Vigna  <jug@sad.it>
9768
9769         * BufferView_pimpl.C (updateInset): update inset inside inset also
9770         if it isn't inside theLockingInset().
9771
9772 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9773
9774         * buffer.C (asciiParagraph): redo some of the word and line length
9775         handling.
9776         (getLists): look for Caption instead of caption.
9777
9778 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9779
9780         * buffer.C (Buffer): initialize niceFile to true
9781         (makeLaTeXFile):
9782         (makeLinuxDocFile):
9783         (makeDocBookFile): make sure niceFile is true on exit
9784
9785 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9786
9787         * buffer.C (makeLaTeXFile): escape ~ in \input@path
9788
9789 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
9790
9791         * LyXSendto.C: remove.
9792         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9793         * lyx_gui.C: remove now-redundant comment.
9794         * ColorHandler.h: remove forward declaration of class WorkArea.
9795         * lyxfunc.C: remove #include "WorkArea.h".
9796
9797 2002-03-07  Juergen Vigna  <jug@sad.it>
9798
9799         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9800         got moved away with the DEPM and also set the inset_owner always
9801         right which before could have been omitted.
9802
9803 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9804
9805         * buffer.C (parseSingleLyXformat2Token): use default layout is the
9806         wanted layout is not found.
9807
9808 2002-03-07  Juergen Vigna  <jug@sad.it>
9809
9810         * CutAndPaste.C (cutSelection): another layout settings forgotten.
9811
9812 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9813
9814         * paragraph.C (breakParagraph): use default layout not layout of
9815         prev paragraph.
9816         (Paragraph): clear ParagraphParameters.
9817
9818 2002-03-06  Juergen Vigna  <jug@sad.it>
9819
9820         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9821         otherwise it would not be a valid lenght. Fixed a special case in
9822         the minipage compatibility read where we end the document with a
9823         minipage.
9824
9825         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9826         was set as it could be 0 for InsetTexts first entry.
9827
9828 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9829
9830         * paragraph.C (writeFile): if layout is empty write out
9831         defaultLayoutName().
9832
9833         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9834         file without named layout we set layout to defaultLayoutName().
9835
9836 2002-03-06  Juergen Vigna  <jug@sad.it>
9837
9838         * CutAndPaste.C (copySelection): set layout for new paragraph.
9839
9840         * text.C (prepareToPrint): leave ERT inset left aligned
9841         (leftMargin): don't indent paragraphs inside ERT insets
9842
9843 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9844
9845         * paragraph.C (breakParagraph): dont call clear do the work manually
9846
9847         * paragraph.[Ch] (clear): remove function
9848
9849 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9850
9851         * paragraph.C (Paragraph): dont call clear, the work has already
9852         been done.
9853
9854         * lyxtextclass.C (operator): assert if n is empty
9855
9856         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9857         work manually instead.
9858
9859 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9860
9861         * BufferView_pimpl.C: protect selectionLost against text == 0
9862
9863 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9864
9865         * text.C (breakParagraph): fix a setting layout to '0' problem.
9866
9867 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9868
9869         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9870         final location of file, for the included files, and graphics.
9871
9872 2002-03-05  Juergen Vigna  <jug@sad.it>
9873
9874         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9875
9876 2002-03-04  Juergen Vigna  <jug@sad.it>
9877
9878         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9879
9880         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9881         last column of multicolumn cells.
9882         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9883
9884 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9885
9886         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9887         file if it doesn't go to a temporary file.
9888
9889         * buffer.C (sgmlOpenTag):
9890         (sgmlCloseTag):  remove extra newline insertion.
9891
9892 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9893
9894         * text.C (getRowNearY): comment out debug msg
9895
9896 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9897
9898         * text2.C: first -> first_y
9899
9900         * text.C (getRowNearY): add some attemts at a possible
9901         optimization, not working.
9902
9903         * tabular.[Ch]: add BufferParams to several function so that newly
9904         created paragraph can be initialized to he default layotu for the
9905         buffers textclass.
9906
9907         * tabular-old.C (ReadOld): add buf->params to call of Init
9908
9909         * screen.C: rename text->first to text->first_y
9910
9911         * paragraph.C (breakParagraph): always set layout in the broken
9912         paragraph
9913
9914         * lyxtextclass.C (Read): remove lowercase
9915         (hasLayout): ditto
9916         (operator): ditto
9917         (delete_layout): ditto
9918
9919         * lyxtext.h: rename first -> first_y
9920
9921         * lyxlayout.C (Read): remove lowercase
9922         (name): ditto
9923         (setName): ditto
9924         (obsoleted_by): ditto
9925
9926         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9927
9928         * buffer.C (insertErtContents): add params are to InsetERT
9929         (parseSingleLyXformat2Token): add code to check if a paragraphs
9930         layout really exist.
9931         (parseSingleLyXformat2Token): add params to several inset
9932         constructors
9933         (asciiParagraph): remove lowercase, do the layout comparisons with
9934         no_case
9935
9936         * BufferView_pimpl.C (cursorNext): first -> first_y
9937         (resizeCurrentBuffer): first -> first_y
9938         (updateScrollbar): first -> first_y
9939         (scrollCB): first -> first_y
9940         (workAreaMotionNotify): first -> first_y
9941         (workAreaButtonPress): first -> first_y
9942         (checkInsetHit): first -> first_y
9943         (cursorPrevious): first -> first_y
9944         (cursorNext): first -> first_y
9945         (Dispatch): add buffer_->params to severl inset contructors
9946
9947 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9948
9949         * lyxlayout.C (Read): remove some debug info that I forgot.
9950
9951         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9952         clean up the code slightly.
9953         (makeLinuxDocFile): ditto
9954         (makeDocBookFile): ditto
9955
9956         * text2.C: layout as string
9957
9958         * text.C: layout as string
9959
9960         * paragraph_pimpl.C: layout as string
9961
9962         * paragraph.[Ch]: layout as string
9963
9964         * lyxtextclasslist.[Ch]: layout as string
9965
9966         * lyxtextclass.[Ch]: layout as string
9967
9968         * lyxtext.h: layout as string
9969
9970         * lyxlayout.[Ch]: layout as string
9971
9972         * lyx_cb.C: layout as string
9973
9974         * bufferview_funcs.C: layout as string
9975
9976         * bufferparams.C: layout as string
9977
9978         * buffer.C: layout as string
9979
9980         * LyXView.[Ch]: layout as string
9981
9982         * LaTeXFeatures.[Ch]: layout as string
9983
9984         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9985
9986         * BufferView_pimpl.C: change current_layout to string, remove
9987         lyx::layout_type.
9988         (Dispatch):
9989         (smartQuote):
9990         (insertInset):
9991         (workAreaButtonRelease): layout as string
9992
9993         * BufferView2.C (unlockInset): adjust
9994
9995         * vspace.C (asLatexCommand): use an explict temp variable.
9996
9997 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9998
9999         * Makefile.am: use FRONTEND_*
10000
10001 2002-03-01  Juergen Vigna  <jug@sad.it>
10002
10003         * tabular.C (SetWidthOfMulticolCell): changed to something better
10004         I hope but still work in progress.
10005         (recalculateMulticolumnsOfColumn): renamed function from
10006         recalculateMulticolCells as it is more appropriate now.
10007         (SetWidthOfCell): calculate multicols better.
10008
10009 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10010
10011         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10012
10013         * lyxfunc.C (processKeySym): print sequence also if it is
10014         `deleted' (complete)
10015
10016         * kbsequence.C (print): print sequence even if it is deleted
10017         (complete would be a better word, actually).
10018
10019         * lyxfunc.C (dispatch): print complete options after a prefix key
10020
10021         * vspace.C (asLatexCommand): rewrite in a slightly different form.
10022
10023 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
10024
10025         * text2.C (setCharFont): eliminate setCharFont code duplication.
10026
10027 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10028
10029         * BufferView_pimpl.C (Dispatch): remove bogus handling of
10030         LFUN_TABULAR_FEATURE (bug #177)
10031
10032 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
10033
10034         * Makefile.am: remove figure.h
10035
10036 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
10037
10038         * Bufferview_pimpl.C:
10039         * CutAndPasteC:
10040         * LaTeX.C:
10041         * LyXSendto.C:
10042         * buffer.C:
10043         * bufferlist.C:
10044         * converter.C:
10045         * language.C:
10046         * lyxfunc.C:
10047         * lyxvc.C:
10048         * paragraph.C:
10049         * text.C:
10050         * text2.C: remove #include "lyx_gui_misc.h".
10051
10052         * LaTeX.C: added #include <cstdio>
10053
10054 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10055
10056         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10057         that the paragraph following this one can have.
10058
10059         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10060
10061         * vspace.C (asLatexCommand): fix bogus gcc warning
10062
10063         * Makefile.am (lyx_SOURCES): remove vms_defines.h
10064
10065 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
10066
10067         * text2.C (setLayout): get rid of redundant code
10068
10069 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
10070
10071         * text2.C (incDepth): make sure depth cannot be increased beyond
10072         reasonable values.
10073
10074 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
10075
10076         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10077         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10078
10079         * PainterBase.h (image):
10080         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10081         a LyXImage const *.
10082
10083 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10084
10085         * BufferView.C:
10086         * BufferView.h:
10087         * BufferView_pimpl.C:
10088         * BufferView_pimpl.h:
10089         * LaTeXFeatures.C:
10090         * LyXAction.C:
10091         * LyXView.C:
10092         * Makefile.am:
10093         * UpdateList.h:
10094         * UpdateList.C:
10095         * buffer.C:
10096         * figure.h:
10097         * figureForm.C:
10098         * figureForm.h:
10099         * figure_form.C:
10100         * figure_form.h:
10101         * lyx_cb.C:
10102         * lyx_gui.C:
10103         * lyx_gui_misc.C:
10104         * lyxfunc.C:
10105         * sp_base.h:
10106         * sp_ispell.h:
10107         * sp_pspell.h:
10108         * sp_spell.C: remove fig inset, and the crap house of
10109           cards that follows it
10110
10111 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10112
10113         * Makefile.am:
10114         * lyxserver.C:
10115         * os2_defines.h:
10116         * os2_errortable.h:
10117         * nt_defines.h: move .h into support/
10118
10119         * vms_defines.h: remove
10120
10121         * WorkArea.C: add space in debug output
10122
10123         * text2.C:
10124         * paragraph.C:
10125         * buffer.C: add WITH_WARNINGS
10126
10127         * vc-backend.h:
10128         * vc-backend.C:
10129         * bufferlist.C: s/retrive/retrieve/, add docs
10130
10131         * vspace.h:
10132         * vspace.C:
10133         * kbmap.h:
10134         * lyxlength.h:
10135         * lyxgluelength.h:
10136         * length_common.h:
10137         * chset.h:
10138         * chset.C: add docs
10139
10140         * lyxgui.C: add ID to X error handler
10141
10142         * lyxtestclass.c: fix typo
10143
10144 2002-02-26  Juergen Vigna  <jug@sad.it>
10145
10146         * tabular_funcs.C (write_attribute): changed so that some default
10147         attributes are not written at all.
10148         (getTokenValue): set default values before trying to read the
10149         value so we have the return value always set as default if we don't
10150         find the token we search for.
10151
10152         * tabular.C (Write): write bools as bools not as strings!
10153
10154 2002-02-22  Juergen Vigna  <jug@sad.it>
10155
10156         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10157         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10158
10159         * text.C (leftMargin): don't add an indent for paragraphs inside
10160         tabular cells (fix #208).
10161
10162 2002-02-21  José Matos  <jamatos@fep.up.pt>
10163
10164         * tabular.C (docBook): fixed support for long tables.
10165
10166 2002-02-20  Juergen Vigna  <jug@sad.it>
10167
10168         * text2.C (getFont): get the drawing font of the Inset if this
10169         paragraph is inside an inset (only important for InsetERT for now).
10170
10171         * buffer.C (insertErtContents): use new lanugage params in ERT
10172         constructor.
10173
10174         * CutAndPaste.C: commenting out seemingly uneeded code.
10175
10176 2002-02-19  Allan Rae  <rae@lyx.org>
10177
10178         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10179         Iterators might be simple to use but they also get invalidated.
10180         (removeAutoInsets): renamed saved cursor tracking variables and added
10181         some comments to clarify what everything does.
10182
10183 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
10184
10185         * Chktex.C:
10186         * LaTeX.C:
10187         * LyXSendto.C:
10188         * converter.C:
10189         * lyx_cb.C:
10190         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10191         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10192
10193         * lyxfunc.C:
10194         * vc-backend.h: remove #include "support/syscall.h"
10195
10196         * LaTeX.C:
10197         * LyXSendto.C:
10198         * converter.C: rearrange #includes in Lars' approved fashion.
10199
10200         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10201         forward declare class Timeout in the header file.
10202
10203         * XFormsView.C: changes due to the above.
10204
10205         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10206         similar to LyXView.
10207
10208         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10209         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10210
10211 2002-02-18  José Matos  <jamatos@fep.up.pt>
10212
10213         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10214         insets contents.
10215
10216 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
10217
10218         * a lot of small ws changes
10219         * add a lot of using std::XXX
10220         * use std construcs some places where approp.
10221         * use some exisint stuff from lyxfunctional where approp.
10222         * Make file changes to use partial linking (lets test this now...)
10223
10224 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10225
10226         * Chktex.C:
10227         * buffer.C:
10228         remove #include "support/syscontr.h" as it's redundant. Always has been.
10229
10230         * Chktex.C:
10231         * LaTeX.C:
10232         * LyXSendto.C:
10233         * converter.C:
10234         * lyx_cb.C:
10235         * vc-backend.C:
10236         change Systemcalls::System to Systemcalls::Wait and
10237         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10238         No change of functionality, just reflects the stripped down Systemcalls
10239         class.
10240
10241 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10242
10243         * debug.[Ch]: add a GRAPHICS type to the enum.
10244
10245 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10246
10247         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10248
10249         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10250         there is an inset.
10251
10252 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10253
10254         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10255         match the changes below.
10256
10257         * text2.C (toggleInset): if there is not editable inset at cursor
10258         position, try to see if cursor is _inside_ a collapsable inset
10259         and close it.
10260
10261 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10262
10263         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10264         document menu has a nice checkbox
10265
10266 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10267
10268         * lyxlength.C (asLatexString): change PW to output as percent of
10269         \textwidth.
10270
10271         * lengthcommon.C: change '%' to 't%'
10272
10273         * lyxfunc.C (dispatch): a few comments from Martin
10274
10275 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
10276
10277         * WorkArea.h:
10278         * WorkArea.C:
10279         * BufferView_pimpl.h:
10280         * BufferView_pimpl.C: clear our selection when X tells us we've lost
10281           the X selection.
10282
10283 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10284
10285         * vspace.C (inPixels): fix compiler warning
10286
10287 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10288
10289         * lyxfunc.C (getStatus): fix status message for disabled commands.
10290
10291 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
10292
10293         * BufferView_pimpl.C: fix crash on close buffer
10294         during selection (#227)
10295
10296 2002-01-27  Herbert Voss  <voss@lyx.org>
10297
10298         * buffer.C: link old Figure to new graphic inset
10299
10300 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
10301
10302         * FontLoader.C (getFontinfo): Change the latex font names in order
10303         to match the names of type1inst.
10304
10305 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10306
10307         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10308
10309         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10310         (extchanged): ditto
10311         (ext_exist): ditto
10312         (remove_files_with_extension): ditto
10313         (remove_file): ditto
10314         (write): ditto
10315
10316         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10317         document is smaller than the work area height. Do not initialize
10318         static variables to 0.
10319
10320 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10321
10322         * lyx_gui.C (init): give the toolbar tooltips a normal font.
10323
10324         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10325         LFUN_LAYOUT_PARAGRAPHS.
10326
10327         * tabular.C (GetCellFromInset): new method. Finds an inset in a
10328         tabular. It is possible to provide a possible cell, which will
10329         typically be the actcell from the corresponding insettabular
10330
10331         * lyxfunc.C (getStatus): small cleanup; disable
10332         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10333         true
10334
10335 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10336
10337         * tabular.C (Validate): remove broken optimization (fixes bug #201)
10338
10339         * paragraph.C (startTeXParParams):
10340         (endTeXParParams): new methods. The LaTeX code to
10341         start/end paragraph formatting
10342         (simpleTeXOnePar): call startTeXParParams also when paragraph is
10343         empty (fixes bug #200)
10344
10345         * vspace.C (inPixels): adapt to the change below
10346         (inPixels): [later] more cleanups (remove unused variables)
10347
10348         * lyxlength.C (inPixels): change to use a width and a height as
10349         parameter.
10350
10351 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10352
10353         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10354         Replaced with \paperwidth
10355
10356         * DepTable.C (insert): add std:: qualifier
10357
10358 2002-01-18  Allan Rae  <rae@lyx.org>
10359
10360         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
10361         updated also?
10362
10363         * text.C (drawInset): Turned out I didn't know enough about how
10364         rebreaking worked.  This fixes most of the redraw problems.  I see
10365         an occasional cursor trail when a line is broken now and the cursor
10366         placement can seem out by a few pixels also after a rebreak.
10367
10368 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10369
10370         * buffer.C (parseSingleLyXformat2Token): update because minipage
10371         width is now a LyXLength
10372
10373         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10374
10375         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10376         math insets
10377
10378 2002-01-17  Juergen Vigna  <jug@sad.it>
10379
10380         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10381
10382         * BufferView2.C (lockInset): call edit() so that theLockingInset()
10383         is set correctly and the inset is updated correctly.
10384
10385 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10386
10387         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10388         the beginning of the loop.
10389
10390 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
10391
10392         * lyxrc.C: improve help for use_scalable_fonts
10393
10394 2002-01-17  Allan Rae  <rae@lyx.org>
10395
10396         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10397
10398 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10399
10400         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10401         make sure to set their inset_owner to the right value (bug #171)
10402
10403 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
10404
10405         * DepTable.h
10406         * DepTable.C: Implement mtime checking to reduce time spent doing
10407         CRCs.
10408
10409 2002-01-16  Juergen Vigna  <jug@sad.it>
10410
10411         * tabular.C (GetAdditionalHeight): one of error fixed.
10412
10413         * lyxrc.C (output): small fix in writing use_pspell.
10414
10415 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
10416
10417         * sp_base.h: #include LString.h
10418
10419 2002-01-16  Allan Rae  <rae@lyx.org>
10420
10421         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
10422         Can someone check this please?
10423
10424         * text.C (drawInset): It was possible that p.row would be removed by
10425         breakAgainOneRow upsetting a few other settings.  There may be another
10426         small tweak possible by setting need_break_row = 0 when p.row has been
10427         removed but I don't know enough about the logic here.
10428
10429 2002-01-15  Allan Rae  <rae@lyx.org>
10430
10431         * text.C (insertChar): removed conditional truism.
10432
10433         * BufferView2.C (removeAutoInsets): More tweaks.
10434         cur_par_prev could be a stray pointer.  Check for trailing empty line
10435         in case last line was cur_par and only had an error inset on it.
10436
10437 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10438
10439         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10440         absolute
10441
10442         * vc-backend.C (most methods):
10443         * exporter.C (Export):
10444         * converter.C (convert):
10445         (runLaTeX):
10446         * LyXSendto.C (SendtoApplyCB):
10447         * lyxfunc.C (dispatch):
10448         (menuNew):
10449         (open):
10450         (doImport):
10451         * lyx_cb.C (AutoSave):
10452         (InsertAsciiFile):
10453         * BufferView_pimpl.C (MenuInsertLyXFile):
10454         * buffer.C (runChktex): use Buffer::filePath().
10455
10456         * buffer.h: rename filename to filename_; rename filepath to
10457         filepath_ and make it private
10458         (filePath): new method
10459
10460         * buffer.C (writeFile): use fileName()
10461         (getLatexName):
10462
10463         * lyx_main.C (init): fix starting  of LyX when the binary is a
10464         link from so,ewhere else.
10465
10466         * minibuffer.C: include <cctype> for isprint
10467
10468 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10469
10470         * buffer.C (parseSingleLyXformat2Token): changes associated with the
10471         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10472         name clash with InsetCollapsable's width function.
10473
10474 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10475
10476         * lastfiles.C: include <iterator>
10477
10478 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10479
10480         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10481         std::count.
10482
10483         * buffer.C (makeLaTeXFile): ditto.
10484         Also make loop operation more transparent.
10485
10486 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10487
10488         * ToolbarDefaults.C: remove trailing comma closing namespace.
10489
10490         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10491
10492         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10493         as in WorkArea.
10494
10495         * trans.C (Load): comment out unused variable, allowed.
10496
10497 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10498
10499         * minibuffer.[Ch] (append_char): new method to recieve input from the
10500         drop-down completion browser. If a key was pressed, then recieve this
10501         char and append it to the existing string.
10502         (peek_event): modify the positioning data passed to the completion
10503         browser so that it can be placed above the minibuffer rather than below.
10504 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10505
10506         * LyXAction.C (init): alloe error-next for readonly documents.
10507
10508         * BufferView2.C (ChangeRefsIfUnique): use standard version of
10509         count.
10510
10511 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10512
10513         * bufferlist.C (readFile): create the buffer _after_ checking that
10514         the file exists.
10515
10516         * lyxfunc.C (verboseDispatch): fix handling of arguments
10517
10518         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10519
10520         * lyxrc.C: use string::erase() instead of initializing to "".
10521
10522
10523 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10524
10525         * BufferView_pimpl.h:
10526         * BufferView_pimpl.C:
10527         * WorkArea.h:
10528         * WorkArea.C:
10529         * text2.C: tell X when we have made a selection for copying
10530
10531 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10532
10533         * BufferView_pimpl.C (MenuInsertLyXFile):
10534         * lyxfunc.C (menuNew):
10535         (open):
10536         (doImport): add shortcuts to directory buttons
10537
10538         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10539         open a float)
10540
10541         * lyxfunc.C (setStatusMessage):
10542         (getStatusMessage): new methods
10543         (getStatus):use setStatusMessage instead of setErrorMessage
10544         (dispatch): when function is disabled, set error message here
10545         [instead of in getStatus previously]
10546
10547         * BufferView_pimpl.C (workAreaButtonRelease): update
10548         toolbar/menubar here too.
10549
10550 2002-01-13  Allan Rae  <rae@lyx.org>
10551
10552         * BufferView2.C (removeAutoInsets): finished off earlier fix.
10553         Now seems indestructible.  Remaining task is to audit all other
10554         code affected by deleteEmptyParagraphMechanism.  One small quirk
10555         left is that an empty document with an error in the preamble can
10556         be made to report an error but no error box appears.  I don't know
10557         where it goes.
10558         (removeAutoInsets): Improved comments.
10559
10560 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
10561
10562         * Thesaurus.h:
10563         * Thesaurus.C: update for Aiksaurus 0.14
10564
10565 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10566
10567         * text2.C (firstParagraph): removed member function, all uses
10568         replaces with ownerParagraph
10569         (redoParagraphs): here
10570         (updateInset): here
10571         (toggleAppendix): here
10572         * BufferView2.C (insertErrors): here
10573         (setCursorFromRow): here
10574
10575 2002-01-13  Allan Rae  <rae@lyx.org>
10576
10577         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10578         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10579         There is still a way to segfault this although you may have to do this
10580         multiple times: Have an InsetERT with an unknown command in it.
10581         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10582         <down-arrow>, <Enter> again, View->DVI, BANG!
10583
10584         * text2.C (setCursor):
10585         (deleteEmptyParagraphMechanism):
10586         * lyxtext.h (setCursor):
10587         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10588         Making use of the return value may help fix other bugs.
10589
10590 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10591
10592         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10593
10594         * LyXView.C (updateMenubar): call MenuBar::update here
10595         (updateToolbar): but not here
10596         (showState): do not update toolbar/menubar
10597
10598         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10599         should need to care about that.
10600
10601         * lyxfunc.C (verboseDispatch): simplify a bit
10602         (getStatus): have a version which takes a pseudoaction, and
10603         another which requires a (kb_action,string).
10604
10605         * LyXAction.C (retrieveActionArg): make it work also when action
10606         is not a pseudo-action.
10607         (getActionName): simplify a bit
10608         (helpText):
10609
10610 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10611
10612         * lyxfunc.C (verboseDispatch): new families of methods with
10613         several ways to specify a command and a bool to indicate whether
10614         the command name and shortcut should be displayed in minibuffer
10615         (eventually, we could extend that to a finer bitmask like
10616         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10617         (dispatch): the pristine dispatch command which just, well,
10618         dispatchs! Note it still sets its result to minibuffer; I'm not
10619         sure we want that.
10620
10621         * lyxfunc.h: remove setHintMessage
10622
10623         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10624
10625 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10626
10627         * BufferView_pimpl.C (specialChar): delete new inset if we have
10628         not been able to insert it.
10629
10630         * kbmap.C: revert to using int instead of kb_action, since all we
10631         are dealing with is pseudo-actions.
10632
10633         * LyXAction.C (searchActionArg): change to return int instead of
10634         kb_action, since the result is a pseudoaction.
10635
10636 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
10637
10638         * buffer.C (insertErtContents): Fix (partially) the font bug.
10639
10640 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10641
10642         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10643         as the other one is broken on my machine!
10644
10645 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
10646
10647         * commandtags.h:
10648         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10649
10650 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
10651
10652         * lyxrc.[Ch]: change names and descriptions of popup font variables to
10653         reflect their actual use. Provide compatibility code for older lyxrc
10654         files.
10655
10656         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10657         FL_NORMAL_STYLE.
10658         change names of popup font variables in line with the changes to lyxrc.C
10659
10660 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10661
10662         * buffer.C (asciiParagraph): avoid outputing a word twice after
10663         an inset.
10664
10665         * lyxrc.C (getDescription): document that document_path and
10666         template_path can be empty.
10667
10668 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10669
10670         * LaTeXFeatures.C (getMacros):
10671         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
10672
10673         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
10674
10675         * LaTeXFeatures.C (useFloat): require "float" here instead of in
10676         getPackages.
10677         (getPackages): rename feature "floats" to "float". Use an array to
10678         iterate over 'simple' features (i.e. just a \usepackage). Add
10679         handling of "amsmath" (renamed from "amsstyle").
10680
10681 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
10682
10683         * LaTeXFeatures.C (require): Prevent duplicate entries in the
10684         features list.
10685
10686 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
10687
10688         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
10689         FuncStaus::FuncStatus & FuncStaus::some_method().
10690
10691 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
10692
10693         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
10694         of the func_satus stuff. Edited and massaged in various ways by
10695         JMarc.
10696
10697         * lyxfunc.C (getStatus): use FuncStatus
10698
10699 2002-01-08  Juergen Vigna  <jug@sad.it>
10700
10701         * text.C (nextBreakPoint): use function Inset::isChar().
10702
10703         * paragraph.C (TeXOnePar): use function
10704         Inset::forceDefaultParagraphs.
10705
10706         * buffer.C (latexParagraphs): use function
10707         Inset::forceDefaultParagraphs.
10708
10709 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10710
10711         * lyx_gui.C (init): set the style of the menu popups to
10712         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
10713
10714 2002-01-07  Juergen Vigna  <jug@sad.it>
10715
10716         * text.C (setHeightOfRow): small fix
10717         (prepareToPrint): don't look at alignment if we don't have the place
10718         for doing it.
10719
10720 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10721
10722         * box.C: New file. Move the Box methods and functions out of box.h,
10723         following Lars' suggestion.
10724
10725 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
10726
10727         * box.h: #include "support/LOstream.h", needed for inlined function.
10728
10729         * lyxtextclass.C:
10730         * lyxtextclasslist.C: added some using std declarations.
10731
10732 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
10733
10734         * box.h: make signed dimensions to allow insets wider than
10735           the screen (bug #162)
10736
10737         * BufferView_pimpl.C: add some insetHit debug
10738
10739 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
10740
10741         * vc-backend.C: add FIXME
10742
10743 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10744
10745         * lyxfunc.C (getStatus): enable code for showing math font status
10746         in toolbar/menu.
10747
10748 2002-01-07  Juergen Vigna  <jug@sad.it>
10749
10750         * text.C (nextBreakPoint): removed debug output not needed anymore.
10751
10752 2002-01-06  Juergen Vigna  <jug@sad.it>
10753
10754         * text.C (nextBreakPoint): fixed up this function we had this bug
10755         since ever but now hopefully we break row better.
10756         (insertChar): we have to check if an inset is the next char as it
10757         could now happen that a large inset is causing a break.
10758
10759 2002-01-05  Juergen Vigna  <jug@sad.it>
10760
10761         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
10762         if it doesn't like to be drawed.
10763
10764 2002-01-04  Juergen Vigna  <jug@sad.it>
10765
10766         * BufferView2.C (lockInset): forgot to set a cursor.
10767
10768         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
10769
10770 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
10771
10772         * FormMathsPanel.C:
10773         * FormMathsPanel.h
10774         * MathsSymbols.C:
10775         * form_maths_panel.C:
10776         * form_maths_panel.h:
10777         * form_maths_panel.fd: implemented sub- and super- buttons in math
10778         panel.
10779
10780         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
10781         (or ^ space) to be used as in TeX (req'd by André).
10782
10783         * lyxfunc.C: Allow ^ and _ again to be used both as
10784         super/subscript (mathed) and as themselves (in text).
10785
10786 2002-01-03  Allan Rae  <rae@lyx.org>
10787
10788         * LyXView.C (updateWindowTitle): Setup a short icon title of either
10789         "LyX" or the filename of the current buffer if it has one.  This is a
10790         modified form of John Levon's patch.
10791
10792         * XFormsView.C (setWindowTitle): also set icon title.
10793
10794         * LyXView.h (setWindowTitle): signature changed.
10795         * XFormsView.h (setWindowTitle): ditto.
10796
10797 2002-01-02  Juergen Vigna  <jug@sad.it>
10798
10799         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10800
10801 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10802
10803         * screen.C (topCursorVisible): introduce a temp var for
10804         text->cursor.row(), handle the case where this row is null. (kindo
10805         hachish)
10806
10807         * text2.C (setCursor): add a couple of asserts.
10808
10809         * paragraph.h (inset_iterator): add -> operator
10810
10811         * paragraph.[Ch] (autoDeleteInsets): remove member function
10812
10813         * BufferView2.C (removeAutoInsets): rewrite to handle the old
10814         cursor pos correctly and handle inset deletion by itself.
10815         (insertErrors): move iterator declaration out of for expression
10816
10817         * lyxtextclass.C: add <algorithm>
10818
10819         * Makefile.am: added the new files to sources, removed layout.C
10820
10821         * layout.C: removed file
10822
10823         * layout.h: remove LYX_DUMMY_LAYOUT
10824
10825         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10826         layout.
10827
10828         * lyxlayout.[Ch]:
10829         * lyxtextclass.[Ch]:
10830         * lyxtextclasslist.[Ch]: new files
10831
10832         * include order changes to a lot of files, also changes because of
10833         the six new files.
10834
10835 2001-12-27  Juergen Vigna  <jug@sad.it>
10836
10837         * buffer.C (asciiParagraph): more fixes.
10838
10839         * tabular.C (ascii): make ascii export support export of only the
10840         data separated by a column-delimiter.
10841         (ascii): better support for ascii export.
10842
10843         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10844
10845 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10846
10847         * tabular_funcs.C: use a "using std::getline" instead of the
10848         previous fix from Angus (necessary for cxx + lyxstring)
10849
10850 2001-12-24  Juergen Vigna  <jug@sad.it>
10851
10852         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10853
10854         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10855         problems. First check a minipage also if we have some ert-contents
10856         (not only on par->size(), second set the right depth of the paragraph
10857         on the relink to the root-paragraph-list!
10858
10859         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10860         which then did not anymore update the main paragraphs on undo/redo!
10861
10862 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10863
10864         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10865         code. Support all font-changing funcs (even those which are not in
10866         menu currently). Support for reporting font settings in
10867         mathed (disabled until Andre provides a function on mathed's side).
10868
10869         * func_status.h (toggle): small helper function to set toggle
10870         state on a flag.
10871
10872 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10873
10874         * tabular_funcs.C: getline -> std::getline
10875
10876 2001-12-21  Juergen Vigna  <jug@sad.it>
10877
10878         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10879         accessed and could be 0 (I couldn't generate this but it seems
10880         Michael could!).
10881
10882 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10883
10884         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10885         * tabular_funcs.h: here and include iosfwd
10886
10887 2001-12-20  Juergen Vigna  <jug@sad.it>
10888
10889         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10890         inside inset but undo_par was.
10891
10892 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10893
10894         * Thesaurus.C: always include <config.h> in sources.
10895
10896         * Painter.h:
10897         * lyxlookup.h:
10898         * box.h: do not include <config.h> in header files
10899
10900         * text.C (paintLastRow): remove unused variable
10901
10902         * text.C (transformChar):
10903         (insertChar):
10904         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10905
10906         * Painter.C (text):
10907         * font.C (width): rewrite to use uppercase() instead of
10908         islower/toupper.
10909
10910         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10911
10912 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10913
10914         * lyxfind.C: clean up of find failure position change
10915
10916 2001-12-20  Juergen Vigna  <jug@sad.it>
10917
10918         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10919
10920         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10921         (TeXRow): added to LaTeX a single tabular row.
10922         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10923         (Latex): simplified and finally good LT-h/f support.
10924         (various_functions): just small adaptions for LT-h/f support.
10925
10926         * tabular_funcs.[hC]: added and moved here all not classfunctions
10927         of LyXTabular.
10928
10929 2001-12-19  Juergen Vigna  <jug@sad.it>
10930
10931         * tabular.[Ch]: better support for longtabular options (not finished
10932         yet!)
10933
10934 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10935
10936         * text.C (paintLastRow): use the label font instead of the font of
10937         the last character to compute the size of *_BOX. This makes more
10938         sense and avoids a crash with empty paragraphs.
10939         Use Painter::rectangle to draw EMPTY_BOX.
10940
10941 2001-12-19  Juergen Vigna  <jug@sad.it>
10942
10943         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10944         the paragraphs if the replaced paragraph is not the first one!
10945         Tried to delete not used paragraphs but does not work yet so for
10946         now it's inside #ifdef's and by default off!
10947
10948 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10949
10950         * MenuBackend.C: include "lyx_main.h" instead of declaring
10951         lastfiles (actually was declared as LastFiles* instead of a
10952         scoped_ptr).
10953
10954 2001-12-17  Juergen Vigna  <jug@sad.it>
10955
10956         * tabular.C (AppendColumn): applied John's fix
10957
10958 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10959
10960         * BufferView.h:
10961         * BufferView.C:
10962         * BufferView_pimpl.h:
10963         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10964
10965         * Makefile.am:
10966         * box.h: new start of class for above
10967
10968         * lyxfunc.C: ignore space-only minibuffer dispatches.
10969           Show the command name when it doesn't exist
10970
10971         * minibuffer.C: don't add empty lines to the history
10972
10973         * minibuffer.C: add a space on dropdown completion
10974
10975 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10976
10977         * text.C: fix line above/below drawing in insets
10978
10979 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10980
10981         * lyxlength.C (LyXLength): Initialize private variables.
10982
10983 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10984
10985         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10986         when inserting error insets.
10987
10988 2001-12-13  Juergen Vigna  <jug@sad.it>
10989
10990         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10991         actually sometimes the before-paragraph.
10992         (setUndo): don't clear the redostack if we're not actually undoing!
10993
10994 2001-12-06  Juergen Vigna  <jug@sad.it>
10995
10996         * undo_funcs.C (textHandleUndo): well after John's hint I got here
10997         and fixed redoing of main paragraph, so we can use it now ;)
10998
10999         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11000
11001 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11002
11003         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11004         Juergen's request
11005
11006 2001-12-13  André Pönitz <poenitz@gmx.net>
11007
11008         * undostack.[Ch]:
11009         * undo_func.C: minor cleanup
11010
11011 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11012
11013         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11014         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11015         font in urw-fonts package which is marked as -urw-fontspecific and
11016         does not work (incidentally, changing the encoding in the
11017         fonts.dir of this package to -adobe-fontspecific fixes the
11018         problem).
11019
11020         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11021         is a crash when undoing first paragraph (Juergen, please take a
11022         look). THis does not mean the undo fix is wrong, just that it
11023         uncovers problems.
11024
11025         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11026         the (Paragraph*) version when needed instead of duplicating the
11027         code.
11028
11029         * text.C (workWidth): use Inset::parOwner to find out where the
11030         inset has been inserted. This is a huge performance gain for large
11031         documents with lots of insets. If Inset::parOwner is not set, fall
11032         back on the brute force method
11033
11034         * paragraph_pimpl.C (insertInset):
11035         * paragraph.C (Paragraph):
11036         (cutIntoMinibuffer): set parOwner of insets when
11037         inserting/removing them
11038
11039         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11040
11041 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
11042
11043         * commandtags.h:
11044         * LyXAction.C:
11045         * lyx_main.C:
11046         * lyxfunc.C:
11047         * mathed/formulabase.C:
11048         * mathed/math_cursor.[Ch]:
11049         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11050
11051
11052 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11053
11054         * lyxlength.[Ch] (operator!=): new function
11055
11056 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11057
11058         * text.C (workWidth): use Inset::parOwner to find out where the
11059         inset has been inserted. This is a huge performance gain for large
11060         documents with lots of insets. If Inset::parOwner is not set, fall
11061         back on the brute force method
11062
11063         * paragraph_pimpl.C (insertInset):
11064         * paragraph.C (Paragraph):
11065         (cutIntoMinibuffer): set parOwner of insets when
11066         inserting/removing them
11067
11068         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11069
11070 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11071
11072         * tabular-old.C (getTokenValue):
11073         * tabular.C (getTokenValue):
11074         (write_attribute): new versions for LyXLength
11075         (everywhere): adjust the use of widths
11076
11077         * tabular.h: change the type of widths from string to LyXLength
11078
11079 2001-12-11  Ben Stanley <bds02@uow.edu.au>
11080
11081         * paragraph.C: fixed missing line number count when exporting
11082         Environments to LaTeX file
11083
11084         * buffer.C: added informational message for checking line numbers.
11085
11086 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11087
11088         * text2.C (deleteEmptyParagraphMechanism): if there is only one
11089         paragraph, do the 'double space' part, but not the 'empty
11090         paragraph' one.
11091
11092         * text.C (workWidth): small optimization
11093         (getLengthMarkerHeight): use minimal size for negative lengths.
11094
11095 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
11096
11097         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11098
11099         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11100
11101 2001-12-11  André Pönitz <poenitz@gmx.net>
11102
11103         * FontLoader.C:
11104         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11105
11106 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11107
11108         * text2.C: keep selection on a setFont()
11109
11110 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11111
11112         * lyx_cb.C: another bv->text misuse, from insert label
11113
11114 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11115
11116         * kbsequence.h:
11117         * kbsequence.C: re-instate nmodifier mask
11118
11119 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
11120
11121         * lyx_main.h: make lyxGUI private.
11122
11123 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11124
11125         * lyxfind.C: place the cursor correctly on failed search
11126
11127 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11128
11129         * text.C (getLengthMarkerHeight): for small heights, the arrows
11130         are not always on top/bottom of the text
11131         (drawLengthMarker): smaller arrows; take the left margin in
11132         account; draw also vfills.
11133         (paintFirstRow):
11134         (paintLastRow): remove special code for vfill and standard spaces,
11135         since everything is handled in drawLengthMarker now.
11136
11137 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11138
11139         * buffer.C (insertErtContents): try to handle font and language
11140         interaction a bit better.g
11141
11142         * ColorHandler.C (updateColor): change the hash to cover the whole
11143         LColor enum, ws cleanup
11144         (getGCLinepars): ditto
11145         (getGCLinepars): only lookup in the linecache once.
11146
11147 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
11148
11149         * iterators.C (operator++): Make the iterator more robust
11150
11151         * BufferView2.C (removeAutoInsets): Use paragraph iterators
11152         (John's patch)
11153         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11154
11155 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11156
11157         * lyxtext.h:
11158         * text.C: better added space drawing
11159
11160 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11161
11162         * LyXView.C:
11163         * BufferView2.C: fix layout combo update on inset unlock
11164
11165 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11166
11167         * Makefile.am: don't compile unused files
11168
11169 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11170
11171         * lyxfunc.C:
11172         * commandtags.h:
11173         * LyXAction.C: remove old LFUN_LAYOUTNO
11174
11175 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11176
11177         * paragraph_pimpl.h:
11178         * paragraph_pimpl.C: isTextAt() doesn't need font param
11179
11180 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11181
11182         * lyxlex.h:
11183         * lyxlex.C: little cleanup
11184
11185 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11186
11187         * BufferView_pimpl.C: fix insertAscii for insets
11188
11189 2001-12-05  Juergen Vigna  <jug@sad.it>
11190
11191         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11192         set the right font on the "multi" paragraph paste!
11193
11194 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11195
11196         * trans_decl.h:
11197         * trans_mgr.[Ch]:
11198         * trans.[Ch]:
11199         * lyxgluelength.C:
11200         * lyxlength.C: remove out-commented code.
11201
11202         * BufferView_pimpl:
11203         * CutAndPaste.C:
11204         * DepTable.C:
11205         * buffer.C:
11206         * chset.C:
11207         * lastfiles.C:
11208         * lyxlex.C:
11209         * lyxlex_pimpl.C:
11210         * lyxserver.C:
11211         * screen.C:
11212         * tabular-old.C:
11213         * tabular.C:
11214         * text.C:
11215         * trans_mgr.C:
11216         * vc-backend.C: change "while(" to "while ("
11217
11218         * lyxlength.[Ch]: add zero function to check if length is zero or
11219         not
11220         * lyxgluelength.C: use it
11221
11222 2001-12-05  Allan Rae  <rae@lyx.org>
11223
11224         * lyxlength.C: Attempted a fix for the abs(int) header selection.
11225         Works for 2.95.3, from what I understand of Garst's reports this should
11226         work for other g++ versions.  We're screwed if the abs(int) definition
11227         changed between bugfix releases of gcc.
11228
11229 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11230
11231         * text.C: fix chapter label offset !
11232
11233 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11234
11235         * lyxtext.h:
11236         * text.C: fix hfill at end of line, clean up
11237
11238 2001-12-04  Juergen Vigna  <jug@sad.it>
11239
11240         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11241         that we force an update of the inset and it's owners if neccessary.
11242
11243 2001-12-03  Juergen Vigna  <jug@sad.it>
11244
11245         * text.C (rowLast): simplified code
11246
11247 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11248
11249         * lyxfunc.C: fix show options on timeout
11250
11251 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11252
11253         * screen.C (topCursorVisible): scroll half a page when the cursor
11254         reached top of bottom of screen
11255
11256 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
11257
11258         * minibuffer.C: deactivate on loss of focus
11259
11260 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11261
11262         * vspace.[Ch] (operator!=): add operator.
11263
11264 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
11265
11266         * BufferView_pimpl.C: refuse to open an inset when
11267         there's a selection.
11268
11269 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
11270
11271         * BufferView_pimpl.C: allow to click on RHS of full row insets
11272
11273 2001-11-30  Juergen Vigna  <jug@sad.it>
11274
11275         * tabular.C (LyXTabular): add a same_id to set the same id's in the
11276         insets for undo reasons.
11277
11278 2001-11-28  André Pönitz <poenitz@gmx.net>
11279
11280         * vspace.[Ch]: cosmetical changes
11281
11282 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11283
11284         * LyXAction.h:
11285         * LyXAction.C:
11286         * lyxfunc.h:
11287         * lyxfunc.C:
11288         * kbmap.h:
11289         * kbmap.C:
11290         * lyxrc.C:
11291         * kbsequence.h:
11292         * kbsequence.C: part re-write of old kb code
11293
11294         * Painter.C:
11295         * WorkArea.C: remove Lgb_bug_find_hack
11296
11297 2001-11-30  José Matos <jamatos@fep.up.pt>
11298
11299         * buffer.C (makeDocBookFile): add a comment to point a hack.
11300         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11301         Fixed a double write of labels.
11302
11303 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11304
11305         * LaTeX.C:
11306         * LaTeX.h Fixed bug in LaTeX class where it would not
11307         re-run latex if no depfiles were changed, but the .dvi was removed.
11308
11309 2001-11-28  André Pönitz <poenitz@gmx.net>
11310
11311         * all the files from the change on 2001/11/26:
11312         use lyx::layout_type instead of LyXTextClass::size_type
11313         use lyx::textclass_type instead of LyXTextClassList::size_type
11314
11315 2001-11-29  Juergen Vigna  <jug@sad.it>
11316
11317         * text.C: added support for paragraph::isFreeSpacing()
11318
11319         * buffer.C: same as above
11320
11321         * paragraph.h: inserted isFreeSpacing() function to enable
11322         FreeSpacing inside InsetERT.
11323
11324         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11325         of the paragraph's in the cut/copy buffer to 0!
11326
11327         * text2.C (removeRow): remove the assert as it can!
11328
11329         * lyxtext.h: added helper function firstRow returning firstrow and
11330         made firstrow private again.
11331
11332         * BufferView2.C (lockInset): don't relock if we're already locked!
11333
11334         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11335         the only paragraph.
11336         (removeRow): added Assert::(firstrow)
11337
11338         * debug.C: forgot to add INSETTEXT here.
11339
11340 2001-11-28  Juergen Vigna  <jug@sad.it>
11341
11342         * sp_spell.C (initialize): changed error text to more general
11343         spellchecker command use (not only ispell!)
11344
11345         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11346
11347         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11348
11349 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11350
11351         * vspace.C: initialise lyxgluelength on failure
11352
11353 2001-11-28  Allan Rae  <rae@lyx.org>
11354
11355         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11356         declaration & definition that looks like a function declaration.
11357
11358 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11359
11360         * BufferView2.C (copy):
11361         (copyEnvironment): do not clear the selection when doing a copy.
11362
11363         * text.C (paintFirstRow): compilation fix
11364
11365 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
11366
11367         * tabular.C (Latex): correct line count when writing latex.
11368
11369 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
11370
11371         * paragraph_pimpl.h:
11372         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11373           bug a bit
11374
11375 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11376
11377         * text.C:
11378         * LColor.h:
11379         * LColor.C: change vfillline->added_space
11380
11381         * text.C: add markers and text for added space
11382
11383         * vspace.C: fix comment
11384
11385 2001-11-28  André Pönitz <poenitz@gmx.net>
11386
11387         * paragraph.C: whitespace changes
11388         * all the other files from the change on 2001/11/26:
11389         change *::pos_type into lyx::pos_type
11390
11391 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
11392
11393         * buffer.C (parseSingleLyXformat2Token): Set the language to the
11394         language of the document when inserting error insets.
11395
11396 2001-11-26  André Pönitz <poenitz@gmx.net>
11397
11398         * BufferView_pimpl.[Ch]:
11399         *       CutAndPaste.C:
11400         * buffer.[Ch]:
11401         * lyxcursor.[Ch]:
11402         * lyxfind.C:
11403         * lyxfunc.C:
11404         * lyxrow.[Ch]:
11405         * paragraph.[Ch]:
11406         * paragraph_pimpl.[Ch]:
11407         * sp_spell.C:
11408         * text.C:
11409         * text2.C: reduce header dependencies, introduce type for positions
11410
11411 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11412
11413         * <various>: change to use Alert.h
11414
11415 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
11416
11417         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11418         when encountering an unknown token.
11419         (readLyXformat2): Show an error message if there were unknown tokens.
11420
11421 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
11422
11423         * BufferView2.C:
11424         * BufferView_pimpl.C:
11425         * buffer.C:
11426         * paragraph.h:
11427         * text.C:
11428         * text2.C: use par->isInset()
11429
11430 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11431
11432         * paragraph_pimpl.h:
11433         * paragraph_pimpl.C: cleanup
11434
11435 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11436
11437         * text2.C (removeRow):
11438         * text.C (setHeightOfRow): remove useless (and costly) call to
11439         getRow.
11440
11441 2001-11-20  Allan Rae  <rae@lyx.org>
11442
11443         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11444         Now need Inset*::checkInsertChar() to return true for appropriate
11445         cases so that the characters in the minibuffer will actually be
11446         inserted.
11447
11448 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11449
11450         * text.C: change the order of the includes.
11451         (workWidth): initialize it at once.
11452         (workWidth): make maxw unsigned
11453         (setHeightOfRow): remove unused variable (inset)
11454         (selectSelectedWord): remove unused variable (inset)
11455         (paintRowText): fix drawing of hfill characters, and clean up a bit.
11456
11457 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11458
11459         * lyxserver.C (emergencyCleanup): do not try to close pipes if
11460         server is not running.
11461         (openConnection):
11462         (closeConnection): add debug info when server is disabled.
11463
11464         * ColorHandler.C (getGCForeground): send debug message to GUI
11465         channel.
11466
11467         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11468
11469         * kbmap.C (bind): modify because return conventions of
11470         kb_sequence::parse have changed.
11471
11472         * kbsequence.C (parse): only ignore spaces and not any stupid
11473         control character. This avoids tests like s[i] <= ' ', which are
11474         guaranteed to fail with 8bit characters and signed chars.
11475         Change return code to string::npos when there have been no error
11476         (0 was a bad idea when error is at first character)
11477
11478 2001-11-14  José Matos  <jamatos@fep.up.pt>
11479
11480         * buffer.h:
11481         * buffer.C (simpleDocBookOnePar): removed unused argument.
11482
11483 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11484
11485         * text.C (selectNextWordToSpellcheck): do not test explicitely for
11486         insets which are part of a word. Paragraph::isLetter takes care of
11487         that now. Use Paragraph::isInset to identify insets.
11488         (selectSelectedWord): do not test for hyphenation break.
11489
11490         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11491         that protected spaces are considered as spaces.
11492
11493         * paragraph.C (isLetter): cleanup the code for ispell extras; use
11494         Inset::isLetter.
11495
11496 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
11497
11498         * lyxserver.h:
11499         * lyxserver.C: fix it. and small cleanup.
11500
11501 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11502
11503         * BufferView_pimpl.C: use inline helpers
11504
11505         * LaTeXFeatures.h:
11506         * LaTeXFeatures.C: fix typos
11507
11508         * Spacing.h:
11509         * Spacing.C: move spacing_string into class
11510
11511         * ToolbarDefaults.C: move stuff into namespace anon
11512
11513         * layout.h: update enum
11514
11515         * lyxfunc.C: use better debug
11516
11517         * minibuffer.h: fix typo
11518
11519         * debug.h:
11520         * debug.C:
11521         * WorkArea.C: add and use Debug::WORKAREA
11522
11523         * lyxtext.h:
11524         * text.C:
11525         * text2.C: code re-organisation, inline helpers
11526
11527 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
11528
11529         * Layout.C: replaced a few cases of std::vector.size() == 0 with
11530         std::vector.empty().
11531
11532 2001-11-09  Allan Rae  <rae@lyx.org>
11533
11534         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11535         '\n's after tables.  Tabular and ERT inset work now makes this no
11536         longer necessary.
11537
11538 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11539
11540         * minibuffer.h:
11541         * minibuffer.C: fix crash, improve drop-down completion
11542
11543 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
11544
11545         * lyxserver.h:
11546         * lyxserver.C: invalidate fd's when doing endPipe()
11547
11548 2001-11-08  José Matos  <jamatos@fep.up.pt>
11549
11550         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11551         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11552
11553         * paragraph.h:
11554         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11555
11556 2001-11-07  José Matos  <jamatos@fep.up.pt>
11557
11558         * buffer.h:
11559         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11560         const qualifier.
11561
11562         * buffer.C (sgmlOpenTag):
11563         * buffer.C (sgmlCloseTag): removed debug info.
11564
11565         * buffer.h (sgmlOpenTag):
11566         * buffer.h (sgmlCloseTag): made public.
11567
11568 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11569
11570         * buffer.C (saveParamsAsDefaults):
11571         * lyx_cb.C (MenuLayoutSave): remove
11572
11573         * LyXAction.C (init):
11574         * commandtags.h:
11575         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11576
11577 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11578
11579         * buffer.C (setPaperStuff): removed from here...
11580
11581         * bufferparams.C (setPaperStuff): ... and moved there.
11582
11583 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
11584
11585         * minibuffer.h:
11586         * minibuffer.C:
11587         * XFormsView.C: add support for drop-down completion
11588
11589 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
11590
11591         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11592         commands.
11593
11594 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11595
11596         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11597         disabled.
11598
11599 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
11600
11601         * lyx_main.C: change ref to known bugs
11602
11603 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
11604
11605         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11606         to work around older babel problems.
11607
11608 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11609
11610         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11611
11612 2001-10-24  Juergen Vigna  <jug@sad.it>
11613
11614         * tabular-old.C (ReadOld): below variable changes reflected.
11615
11616         * tabular.[Ch]: added ltType struct for longtable header/footer
11617         defines and changed all instances where they are used. Added
11618         future support for double top/bottom rows.
11619
11620 2001-10-24  José Matos  <jamatos@fep.up.pt>
11621
11622         * buffer.h (docbookHandleCaption):
11623         * buffer.C (docbookHandleCaption): removed unused function.
11624         (makeDocBookFile): moved docbook supported version to v4.1.
11625
11626 2001-10-24  José Matos  <jamatos@fep.up.pt>
11627
11628         * tabular.h:
11629         * tabular.C (docbookRow): new function to export docbook code of a row.
11630         (DocBook): now honors the longtable flags.
11631
11632 2001-10-23  José Matos  <jamatos@fep.up.pt>
11633
11634         * LaTeXFeatures.h:
11635         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11636         of the lyx defined sgml entities used in a docbook/linuxdoc document.
11637
11638         * buffer.C (makeLinuxDocFile):
11639         (makeDocBookFile): reworked the preamble, more clean, and with
11640         support for lyx defined entities. Changed the document declaration
11641         to be more XML friendly.
11642
11643         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11644         if we need to output XML that should be done with a filter.
11645
11646 2001-10-22  Juergen Vigna  <jug@sad.it>
11647
11648         * sp_pspell.h (class PSpell): add alive function needed in the
11649         controller to see if the spellchecker could be started.
11650
11651 2001-10-22  Juergen Vigna  <jug@sad.it>
11652
11653         * buffer.C (insertStringAsLines): modify the font for inserting
11654         chars in certain conditions by calling checkInsertChar(font).
11655
11656 2001-10-19  Juergen Vigna  <jug@sad.it>
11657
11658         * text.C (workWidth): use getRow instead of wrong algorithm.
11659         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11660
11661 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
11662
11663         * lyxserver.h:
11664         * lyxserver.C:
11665         * lyx_main.h:
11666         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
11667
11668 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11669
11670         * text.C (workWidth): do not search for the exact row when
11671         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
11672         optimization for big documents.
11673
11674 2001-10-18  Juergen Vigna  <jug@sad.it>
11675
11676         * text.C (workWidth): new function with added Inset * parameter.
11677
11678 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11679
11680         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
11681
11682         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
11683         change return type of getColumnNearX.
11684
11685
11686         * text.C (changeRegionCase): use uppercase/lowercase instead of
11687         toupper/tolower.
11688         (leftMargin):
11689         (rightMargin): simplify code by factoring out the uses of
11690         textclasslist.
11691         (labelFill):
11692         (numberOfHfills):
11693         (setHeightOfRow):
11694         (appendParagraph): use Paragraph::size_type
11695
11696 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11697
11698         * vspace.C (asLatexString): add a missing break
11699
11700 2001-10-15  Herbert Voss  <voss@perce.de>
11701
11702         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
11703
11704 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11705
11706         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
11707         is not available.
11708
11709 2001-10-10  André Pönitz <poenitz@gmx.net>
11710
11711         * lyxfunc.C: removed greek_kb_flag.
11712
11713 2001-10-10  Herbert Voss  <voss@perce.de>
11714
11715         * lyx_main.C: delete global string help_lyxdir.
11716
11717 2001-10-09  Herbert Voss  <voss@perce.de>
11718
11719         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
11720
11721         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
11722
11723         * lyx_main.C: added global string help_lyxdir.
11724
11725         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
11726
11727 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11728
11729         * lyxrc.C (set_font_norm_type): support iso8859-4
11730
11731 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
11732
11733         * LaTeX.C (deplog): add another regex for MikTeX
11734
11735 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11736
11737         * lyxrc.C (set_font_norm_type): support iso8859-3
11738
11739 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11740
11741         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
11742
11743         * LaTeXFeatures.C: remove special case of french and index
11744
11745         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
11746         before \begin{document}). This solves several incompatibilities.
11747
11748 2001-10-03  Garst Reese  <reese@isn.net>
11749
11750         * lyx_cb.C: change CheckTex error msg.
11751
11752 2001-10-03  José Matos  <jamatos@fep.up.pt>
11753
11754         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
11755
11756 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11757
11758         * .cvsignore: update
11759
11760         * lyx_main.C (commandLineVersionInfo): use new style version info.
11761
11762         * buffer.C (writeFile):
11763         (makeLaTeXFile):
11764         (makeLinuxDocFile):
11765         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
11766
11767         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
11768
11769         * version.h: update to use stuff in version.C
11770
11771         * version.C.in: new file. Contains version information determined
11772         at compile time. This is a merging of version.h and
11773         version_info.h.in.
11774
11775 2001-10-03  Juergen Vigna  <jug@sad.it>
11776
11777         * BufferView_pimpl.C (update): don't change "dirty" status in
11778         updateInset call.
11779
11780 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
11781
11782         * WorkArea.C (c-tor): re-position version string slightly.
11783
11784 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
11785
11786         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
11787         revert to previous code.
11788
11789         WorkArea.[Ch]: (show, destroySplash): methods removed.
11790
11791         WorkArea.C: rework code so that it's an amalgam of the codes before and
11792         after the splash screen was moved to WorkArea.
11793
11794 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11795
11796         * lyxrc.C (read):
11797         * vspace.C (inPixels):
11798         (lyx_advance):
11799         * kbmap.C (bind):
11800         * buffer.C (insertStringAsLines):
11801         (asciiParagraph): fix types to be large enough
11802
11803         * lyxlex_pimpl.h: change member status from short to int
11804
11805         * layout.h: fix type of endlabeltype
11806
11807         * kbmap.C (bind):
11808         * kbsequence.C (parse): change return type to string::size_type
11809
11810         * LaTeX.C (updateBibtexDependencies): comment out unneeded
11811         variable
11812
11813         * Bullet.C (bulletSize):
11814         (bulletEntry): do not use short ints as parameters
11815
11816         * BufferView2.C (insertLyXFile): change a char to an int.
11817
11818         * WorkArea.C (WorkArea): remove unneeded floats in computation
11819
11820 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11821
11822         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11823
11824         * paragraph.C (asString): Do not ignore newline/hfill chars when
11825         copying to the clipboard.
11826
11827 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
11828
11829         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11830         after a multi-line inset.
11831
11832 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
11833
11834         * paragraph.C (validate): Set NeedLyXFootnoteCode
11835
11836 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11837
11838         * lyxfont.C (LyXSizeNames): changed increase-error to increase
11839         and decrease-error to decrease.
11840
11841 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11842
11843         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11844         it more readable (should be equivalent)
11845
11846 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11847
11848         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11849
11850 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11851
11852         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11853         of a cursor (row, etc.) after a character has been deleted
11854         (deleteEmptyParagraphMechanism): call the method above on _all_
11855         cursors held by the LyXText when a double space has been
11856         detected/deleted.
11857
11858 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11859
11860         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11861         pixmap.
11862         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11863
11864         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11865         background. Use greyOut() and the new show() methods to toggle between
11866         the foreground and background. Add code to remove the splash after
11867         its initial showing.
11868
11869         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11870         (create_forms): no longer call Dialogs::showSplash.
11871
11872 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11873
11874         * .cvsignore: add version_info.h
11875
11876 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11877
11878         * version_info.h.in: new file
11879
11880         * Makefile.am: add version_info.h.in
11881
11882         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11883         version_info.h instead of VERSION_INFO
11884
11885 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11886
11887         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11888         The ERT inset now returns string().
11889
11890 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11891
11892         * lyxtext.h, text.C (selectNextWord): renamed as
11893         selectNextWordToSpellcheck.
11894
11895         * text.C (selectNextWordToSpellcheck): Modified to not select
11896         words inside an ERT inset.
11897
11898 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11899
11900         * lyx_cb.C (MenuLayoutSave): change a bit the question
11901
11902         * sp_base.h: include <sys/types.h>
11903
11904 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11905
11906         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11907
11908 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11909
11910         * several files: fix typos in user-visible strings
11911
11912 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11913
11914         * text2.C (pasteSelection): do not set the selection, since it
11915         will be cleared later. Actually, the intent was to fix the way the
11916         selection was set, but I figured rmoving the code was just as good.
11917
11918 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11919
11920         * FontLoader.C (available): Check if font is available without
11921         loading the font.
11922
11923 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11924
11925         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11926
11927 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11928
11929         * lyxrc.[Ch]: added display_graphics variable and associated code.
11930
11931 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11932
11933         * bufferparams.C (hasClassDefaults): new method. Returns true if
11934         the buffer parameters correspond to known class defaults
11935
11936 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11937
11938         * XFormsView.C (show): set minimum size to the main window.
11939
11940 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11941
11942         * text2.C (copySelection):
11943         (cutSelection):
11944         * lyxfind.C (LyXReplace):
11945         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11946         LyXText::selectionAsString.
11947
11948         * paragraph.C (asString): add "label" argument to the second form
11949
11950         * text2.C (selectionAsString): add "label" argument and pass it to
11951         Paragraph::asString.
11952
11953 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11954
11955         * lyx_main.C (commandLineHelp): remove version information
11956
11957 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11958
11959         * lyx_main.C: add -version commandline option
11960
11961 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11962
11963         * paragraph.h: make the optional constructor arg required instead.
11964         some modifications to other files because of this.
11965
11966         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11967
11968         * lyxserver.C (C_LyXComm_callback): make it static
11969
11970         * lyx_main.C (error_handler): make it static
11971
11972         * lyx_gui.C (LyX_XErrHandler): make it static
11973
11974         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11975
11976         * WorkArea.C: make the extern "C" methods static.
11977
11978         * Makefile.am (lyx_LDADD): simplify
11979
11980 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11981
11982         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11983         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11984
11985         * LyXAction.C (init):
11986         * lyxfunc.C (dispatch): associated code removal.
11987
11988 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11989
11990         * lyxfont.h (isSymbolFont): shut off warning
11991
11992         * text.C (setHeightOfRow):
11993         (getVisibleRow): fix crash with empty paragraphs which have a
11994         bottom line
11995
11996 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
11997
11998         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11999         code.
12000
12001 2001-09-04  José Matos  <jamatos@fep.up.pt>
12002         * buffer.C
12003         * buffer.h
12004         * tabular.C (docbook): rename docBook method to docbook.
12005
12006 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12007
12008         * Makefile.am: add dependencies to main.o.
12009
12010 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
12011
12012         * FontLoader.C (available): Return false if !lyxrc.use_gui
12013
12014 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
12015
12016         * FontInfo.C (query):
12017         * converter.C (view):
12018         * importer.C (Import):
12019         * exporter.C (Export): Can not -> cannot.
12020
12021 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
12022
12023         * BufferView_pimpl.C: allow to create index inset even if
12024           string is empty
12025
12026 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12027
12028         * buffer.C (getLists): replace boost::tie code with an explicit pair
12029         as boost::tie can break some compilers.
12030
12031         * iterators.h: Added a std:: declaration to the return type of
12032         ParIterator::size.
12033
12034 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
12035
12036         * lyxrc.C: add help for view_dvi_paper_option, default to safe
12037           case.
12038
12039 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
12040
12041         * iterators.[Ch]: New files. Provide paragraph iterators.
12042
12043         * buffer.C (changeLanguage): Use paragraph iterators.
12044         (isMultiLingual): ditto
12045
12046         * BufferView2.C (ChangeInsets): Use paragraph iterators.
12047
12048 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
12049
12050         * FontLoader.C: Support for cmr font.
12051
12052 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
12053
12054         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12055         (available): New method.
12056
12057         * FontInfo.C (getFontname): Use scalable fonts even when
12058         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12059         found.
12060
12061 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12062
12063         * converter.C (Formats::view): reverted! Incorrect fix.
12064
12065 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12066
12067         * converter.C (Formats::view): only output the -paper option
12068         if the dvi viewer is xdvi, thereby fixing bug #233429.
12069
12070 2001-08-23  Herbert Voss  <voss@perce>
12071
12072         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12073
12074 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
12075
12076         * Spacing.h (Spacing): Set space to Default on in the default
12077         constructor.
12078
12079 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12080
12081         * vc-backend.h (RCS::versionString): add RCS to version
12082         (CVS::versionString): add CVS to version
12083
12084         * vc-backend.C (scanMaster): do not add CVS to version.
12085         (scanMaster): do not add RCS to version
12086
12087         * lyxvc.C (versionString): new method
12088
12089         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12090
12091 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12092
12093         * Spacing.C (set): initialize fval
12094
12095 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
12096
12097         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12098         " or \.
12099
12100 2001-08-16  Juergen Vigna  <jug@sad.it>
12101
12102         * lyxfunc.C (dispatch): implemented the new FINISHED states.
12103
12104 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12105
12106         * BufferView_pimpl.C:
12107         * figureForm.C:
12108         * lyxtext.h:
12109         * text2.C: setParagraph takes linespacing now
12110
12111 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
12112
12113         * LyxAction.C: add internal LFUN_CITATION_INSERT
12114
12115         * LyXView.C: actually apply fix
12116
12117         * bufferlist.C: fix open non-existent file
12118
12119         * lyxfind.C: fix indentation
12120
12121         * lyxfunc.C: remove unneeded assert, fix typo
12122
12123 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12124
12125         * MenuBackend.C: use "Floatname List"
12126
12127 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
12128
12129         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12130         when converting LaTeX layout to insetERT.
12131         Generate a non-collapsed float when reading old float
12132
12133 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12134
12135         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12136         ERT insets.
12137
12138 2001-08-13  Juergen Vigna  <jug@sad.it>
12139
12140         * text.C (fill): return 0 instead of 20 as this seems to be the more
12141         correct value.
12142
12143 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12144
12145         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12146         lyxrc.font_norm.
12147
12148 2001-08-13  Juergen Vigna  <jug@sad.it>
12149
12150         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12151         casesensitive off.
12152         (SearchBackward): comment out the unlocking of the inset_owner this
12153         should not be needed!
12154
12155 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
12156
12157         * Many files: Remove inherit_language, and add latex_language
12158
12159         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12160         collapsible insets.
12161
12162 2001-08-10  Juergen Vigna  <jug@sad.it>
12163
12164         * text.C (prepareToPrint): fixed hfill-width in draw!
12165
12166         * BufferView2.C (selectLastWord): save the selection cursor as this
12167         now is cleared in the function LyXText::clearSelection!
12168
12169 2001-08-08  Juergen Vigna  <jug@sad.it>
12170
12171         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12172         BACKSPACE type functions.
12173
12174         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12175         is only cutted from the document but not put in the cut-buffer, where
12176         still the old stuff should be.
12177
12178         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12179
12180         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12181
12182         * tabular.C (SetWidthOfCell): fixed special case where the width
12183         was not updated!
12184         (LeftLine): handle '|' in align_special.
12185         (RightLine): ditto
12186         (LeftAlreadyDrawed): ditto
12187         (SetWidthOfCell): ditto
12188
12189 2001-08-07  Juergen Vigna  <jug@sad.it>
12190
12191         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12192
12193 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12194
12195         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12196         * lyxlex.[hC]: ditto
12197
12198 2001-08-06  Juergen Vigna  <jug@sad.it>
12199
12200         * text.C (getVisibleRow): fix up row clearing a bit.
12201
12202 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12203
12204         * minibuffer.C: make sure the X server sees the changes in the input.
12205
12206 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12207
12208         * paragraph.C (getFont): split into...
12209         (getLabelFont): this
12210         (getLayoutFont): and this
12211         * paragraph_pimpl.C (realizeFont): calling this
12212
12213         * text2.C (getFont): split into...
12214         (getLayoutFont): this
12215         (getLabelFont): and this
12216         (realizeFont): all three calling this
12217
12218         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12219         files where used.
12220
12221 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12222
12223         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12224
12225 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
12226
12227         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12228         layouts from the Quote inset insertion.
12229
12230 2001-08-03  Juergen Vigna  <jug@sad.it>
12231
12232         * BufferView_pimpl.C (update): do the fitCursor only at the end!
12233
12234         * screen.C (drawFromTo): don't call fitcursor here and do the loop
12235         only if status not is already CHANGED_IN_DRAW (second level).
12236
12237         * text.C (draw): don't set the need_break_row when inside an
12238         InsetText LyXText.
12239
12240 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12241
12242         * buffer.C (parseSingleLyXformat2Token): handle more latex
12243         conversion cases.
12244
12245         * bufferview_funcs.[hC]: change function names to
12246         begin with small char, adjust other files.
12247
12248 2001-08-02  André Pönitz <poenitz@gmx.net>
12249
12250         * lyxfunc.C:
12251         BufferView_pimpl.C: remove broken special code for math-greek
12252
12253 2001-08-02  Juergen Vigna  <jug@sad.it>
12254
12255         * BufferView_pimpl.C (update): redone this function so that we
12256         update the text again if there was a CHANGE_IN_DRAW.
12257
12258         * screen.C (cursorToggle): removed LyXText parameter and recoded.
12259         (drawFromTo): added a new internal bool which is used by draw() and
12260         redraw() function.
12261         (general): some cursor drawing problems fixed.
12262
12263 2001-08-01  Juergen Vigna  <jug@sad.it>
12264
12265         * lyxfind.C (LyXFind): fixed
12266         (SearchForward): ditto
12267         (SearchBackward): ditto
12268
12269         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12270         spurius drawing of the cursor in the main area.
12271
12272         * text2.C (status): small fix which could lead to a segfault!
12273         (clearSelection): remove unneeded BufferView param.
12274
12275 2001-08-01  André Pönitz <poenitz@gmx.net>
12276
12277         * lyxfunc.C: small change due to changed mathed interface
12278
12279 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12280
12281         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12282
12283 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
12284
12285         * lyxfunc.c: fail gracefully if file doesn't exist
12286
12287         * LyXSendto.C:
12288         * buffer.C:
12289         * lyxfunc.C:
12290         * BufferView_pimpl.C: IsDirWriteable() proto changed
12291
12292         * LyXView.C: fix updateWindowTitle() to store the last title
12293
12294 2001-07-31  Juergen Vigna  <jug@sad.it>
12295
12296         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12297         the font (wrong since using of Paragraph::highestFontInRange).
12298
12299         * paragraph.C (highestFontInRange): added a default_size parameter.
12300
12301         * text.C (getVisibleRow): minor clear row changes (still not perfect).
12302         (setHeightOfRow): reformat
12303
12304 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12305
12306         * converter.[hC] + affected files: move to (inital-char)lowercase
12307         function names.
12308
12309         * ParagraphParameters.C (ParagraphParameters): remove commented code
12310
12311         * PainterBase.[Ch]: remove commented code
12312
12313         * LaTeXFeatures.h: add "bool floats" for float.sty
12314
12315         * LaTeXFeatures.C (LaTeXFeatures): init floats
12316         (require): handle float
12317         (getPackages): do it with floats
12318
12319 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12320
12321         * BufferView_pimpl.C (Dispatch): improve handling of
12322         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12323
12324         * commandtags.h: #include lyxfont.h here temporarily to avoid
12325         keybinding bug.
12326
12327         * bufferlist.h: include LString.h here.
12328
12329 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12330
12331         * text2.C (getStringToIndex): new method.
12332
12333 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
12334
12335         * *: Reduced header file dependencies all over.
12336
12337 2001-07-30  Baruch Even  <baruch@lyx.org>
12338
12339         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12340
12341 2001-07-29  Baruch Even  <baruch@lyx.org>
12342
12343         * buffer.C (readInset): Changed GRAPHICS to Graphics.
12344
12345 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12346
12347         * ParameterStruct.h (endif): add a default constructor to make
12348         sure that all variables is initialized.
12349
12350         * ParagraphParameters.C (ParagraphParameters): adjust
12351
12352 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12353
12354         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12355         index; also, check that there is something to index, and that it
12356         does not span over several paragraphs.
12357         (doubleClick): use WHOLE_WORD_STRICT for double click.
12358
12359         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12360
12361         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12362         scheme.
12363
12364 2001-07-26  Baruch Even  <baruch@lyx.org>
12365
12366         * buffer.C (readInset): Changed to call up InsetGraphics when reading
12367         an InsetFig figure, backwards compatible reading of old figure code.
12368
12369 2001-07-27  Juergen Vigna  <jug@sad.it>
12370
12371         * text2.C: font.realize function adaption.
12372
12373         * text.C (draw): add a warnings lyxerr text if needed.
12374
12375         * layout.C: font.realize function adaption.
12376
12377         * language.C: add inherit_language and implement it's handlings
12378
12379         * bufferview_funcs.C (StyleReset): remove language parameter from
12380         font creation (should be language_inherit now).
12381
12382         * bufferparams.C (writeFile): handle ignore_language.
12383
12384         * paragraph.C (getFontSettings): the language has to be resolved
12385         otherwise we have problems in LyXFont!
12386
12387         * lyxfont.C (lyxWriteChanges): added document_language parameter
12388         (update): removed unneeded language parameter
12389
12390         * paragraph.C (validate): fixed wrong output of color-package when
12391         using interface colors for certain fonts in certain environments,
12392         which should not seen as that on the final output.
12393
12394 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
12395
12396         * BufferView_pimpl.C:
12397         * Thesaurus.h:
12398         * Thesaurus.C:
12399         * Makefile.am:
12400         * commandtags.h:
12401         * LyXAction.C: add thesaurus support
12402
12403         * lyxfind.h:
12404         * lyxfind.C: add "once" parameter, for thesaurus, to not
12405           move to the next match
12406
12407 2001-07-26  Juergen Vigna  <jug@sad.it>
12408
12409         * lyxfont.C (realize): honor ignore_language too!
12410         (resolved): ditto.
12411
12412         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12413
12414         * text.C (draw): one place more for ignore_language to not draw
12415         itself!
12416
12417 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
12418
12419         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12420
12421 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12422
12423         * buffer.C (parseSingleLyXformat2Token): a more general fix for
12424         the minipage conversion problem.
12425
12426 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12427
12428         * buffer.C (parseSingleLyXformat2Token): check minipage if we
12429         insert an inset.
12430
12431 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12432
12433         * BufferView.h: don't forward declare WorkArea
12434
12435         * BufferView.C: don't include WorkArea.h
12436
12437 2001-07-25  André Pönitz <poenitz@gmx.net>
12438
12439         * commandtags.h:
12440         * LyXAction.C:
12441         * lyxfunc.C:  new LFUN 'math-space'
12442
12443         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12444
12445 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12446
12447         * text2.C (toggleInset): call open/close
12448
12449 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12450
12451         * lyxfunc.C (dispatch): add debug for the disabled case
12452
12453         * font.C (buttonText): make similar to rectText
12454
12455         * buffer.C (readInset): comment out parsing of insetlist and
12456         insttheorem
12457
12458         * PainterBase.C (rectText): small correction
12459
12460         * BufferView_pimpl.C: comment out insettheorem and insetlist
12461         * LyXAction.C: ditto
12462         * commandtags.h: ditto
12463
12464 2001-07-24  Juergen Vigna  <jug@sad.it>
12465
12466         * text.C (draw): honor the ignore_language.
12467
12468         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12469
12470 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12471
12472         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12473         char inset.
12474
12475 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12476
12477         * lyxtext.h: remove unused (and unimplemented) methods
12478
12479 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12480
12481         * text.C (getVisibleRow): honor background color
12482
12483         * PainterBase.h:
12484         * Painter.h: remove default color argument for fillRectangle
12485
12486         * text.C (backgroundColor): new method
12487
12488 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12489
12490         * text.C (getVisibleRow): adjust
12491
12492         * font.[Ch] (rectText): new method, metrics
12493         (buttonText): new method, metrics
12494
12495         * PainterBase.[hC]: make rectText and buttonText always draw and take
12496         fewer paramteres.
12497
12498 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12499
12500         * ToolbarDefaults.C (read):
12501         * MenuBackend.C (read): allow escaping in all strings
12502
12503         * BufferView_pimpl.C (insertAndEditInset): new method.
12504         (Dispatch): use insertAndEditInset whenever appropriate.
12505
12506         * BufferView_pimpl.C (insertNote): removed
12507
12508         * BufferView_pimpl.C (smartQuote): new method, moved from
12509         BufferView; if an insetquote cannot be inserted, insert a '"'
12510         character instead.
12511
12512         * BufferView2.C: remove insertCorrectQuote();
12513
12514         * lyxfunc.C (getStatus): Add support for all remaingin
12515         inset-insert lfuns.
12516
12517         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12518
12519         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12520         command (necessary to pass " as parameter of self-insert.
12521
12522         * text.C (selectWordWhenUnderCursor):
12523         (selectWord): add word_location parameter
12524         (selectWordWhenUnderCursor): same + remove special code for word
12525         boundary.
12526         (selectNextWord): use kind() to guess type of insetspecialchar,
12527         not latex().
12528
12529         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12530         (insertErtContents): create ert insets as collapsed.
12531         (readInset): better compatibility code for Info inset.
12532
12533 2001-07-20  Juergen Vigna  <jug@sad.it>
12534
12535         * lyxfunc.C (dispatch): use always LyXFind now!
12536
12537         * text2.C (init): add a reinit flag so that the LyXText can be
12538         reinited instead of deleted and reallocated (used in InsetText).
12539
12540         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12541
12542         * text.C: ditto
12543
12544         * text2.C: ditto
12545
12546 2001-07-18  Juergen Vigna  <jug@sad.it>
12547
12548         * text.C (selectNextWord): handle insets inside inset by calling
12549         always the bv->text functions so that we can go up the_locking_inset!
12550
12551         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12552         in strange locations when inside an inset!
12553
12554         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12555         handling to include insets.
12556
12557         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12558
12559 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12560
12561         * LyXAction.C (init):
12562         * commandtags.h:
12563         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12564         LIGATURE_BREAK, since the name is so stupid.
12565
12566 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12567
12568         * buffer.C (readInset): enable reading of new InsetNotes as well as old
12569         InsetInfos.
12570
12571         * FontLoader.C: remove FORMS_H_LOCATION cruft.
12572
12573         * sp_form.[Ch]: remove.
12574
12575         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12576
12577         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12578         InsetInfo.
12579
12580         * src/buffer.C (readInset): ditto.
12581
12582 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12583
12584         * BufferView_pimpl.C (specialChar): new method. Obsoletes
12585         menuSeparator(), endOfSentenceDot(), ldots() and
12586         hyphenationPoint(), which are therefore removed.
12587         (Dispatch): handle LFUN_HYPHENATION_BREAK.
12588
12589         * LyXAction.C (init):
12590         * commandtags.h: add LFUN_HYPHENATION_BREAK.
12591
12592         * paragraph.C (getWord): removed.
12593
12594         * BufferView_pimpl.C (Dispatch): use last word or selection for
12595         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12596
12597         * lyx_main.C (queryUserLyXDir): do not ask before creating
12598         user_dir, except if it has been named explicitely.
12599
12600 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12601
12602         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12603         a document of zero size.
12604
12605 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
12606
12607         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12608         approriately in the c-tor and in require().
12609         (getPackages): output the appropriate LaTeX for natbib support.
12610
12611         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12612         variables "use_natbib" and "use_numerical_citations" when reading the
12613         LyX file.
12614         (readInset): read the various natbib cite commands.
12615         (validate): white-space change.
12616
12617         * bufferparams.[Ch]: new variables "bool use_natbib" and
12618         "bool use_numerical_citations".
12619         (writeFile): output them in the LyX file.
12620
12621 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12622
12623         * lyxfunc.C (getStatus): add support for all the inset insertion
12624         commands.
12625
12626         * text2.C (insertInset):
12627         * paragraph.C (insetAllowed):
12628         * BufferView_pimpl.C (insertInset): update to take in account the
12629         renaming of insertInsetAllowed
12630
12631         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12632
12633         * text2.C (getInset): new method. returns inset at cursor position.
12634
12635         * BufferView_pimpl.C (Dispatch): changes because of this.
12636
12637         * LyXAction.C (init): rename open-stuff to inset-toggle.
12638
12639         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12640
12641         * text2.C (toggleInset): renamed from openStuff; use
12642         Inset::open().
12643
12644 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
12645
12646         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12647
12648         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12649
12650 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
12651
12652         * buffer.C (readLyXformat2): Add filename to the error dialog
12653
12654 2001-07-18  Juergen Vigna  <jug@sad.it>
12655
12656         * tabular.C (GetCellNumber): put an assert here instead of the check!
12657
12658 2001-07-17  Juergen Vigna  <jug@sad.it>
12659
12660         * BufferView_pimpl.C (toggleSelection): adapted too.
12661
12662         * text.C (selectNextWord): adapted for use with insets.
12663         (selectSelectedWord): ditto
12664
12665 2001-07-17  Juergen Vigna  <jug@sad.it>
12666
12667         * sp_spell.C (PSpell): fix initialitation order.
12668
12669 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12670
12671         * paragraph.C: spacing
12672
12673 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
12674
12675         * sp_spell.C: repair language selection for pspell
12676
12677 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12678
12679         * lyxfunc.h: change more methods to begin with lower char.
12680
12681 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
12682
12683         * buffer.C (parseSingleLyXformat2Token): Generate error insets
12684         for unknown layouts.
12685
12686 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12687
12688         * buffer.C (readLyXformat2): Generate an error dialog if there are
12689         unknown layouts.
12690
12691 2001-07-16  Juergen Vigna  <jug@sad.it>
12692
12693         * sp_spell.C: always compile ISpell part.
12694
12695         * lyxrc.C: added use_pspell entry and it's handling.
12696
12697 2001-07-13  Juergen Vigna  <jug@sad.it>
12698
12699         * sp_spell.C: removed double includes.
12700
12701 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
12702
12703         Consistent use of Lsstream.h:
12704         * Lsstream.h: added using std::stringstream for consistencies sake.
12705
12706         * buffer.C: removed using std::stringstream
12707
12708         * lyxfont.C (stateText):
12709         * paragraph.C (asString):
12710         * text.C (selectNextWord, selectSelectedWord):
12711         * text2.C (setCounter):
12712         * vspace.C (asString, asLatexString):
12713         std::ostringstream -> ostringstream.
12714
12715 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12716
12717         * LyXAction.C: add LFUN_HELP_ABOUTLYX
12718         * commandtags.h: add LFUN_HELP_ABOUTLYX
12719         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
12720
12721 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
12722
12723         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
12724         cursorToggle()
12725         * lyx_gui_misc.C: remove spellchecker
12726         * lyxfunc.C: showSpellchecker
12727         * sp_base.h: added
12728         * sp_ispell.h: added
12729         * sp_pspell.h: added
12730         * sp_spell.C: added
12731         * sp_form.[Ch]: removed
12732         * spellchecker.[Ch]: removed
12733
12734 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
12735
12736         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
12737         is set.
12738         (simpleTeXSpecialChars): Simply print the input character without
12739         any special translation if pass_thru is set.
12740
12741         * layout.h: Added bool pass_thru to layout class for being able to
12742         implement pass through of a paragraph for Literate Programming.
12743
12744         * layout.C: add LT_PASS_THRU to LayoutTags enum.
12745         * layout.C (LyXLayout): set pass_thru to flase in constructor.
12746         * layout.C (Read): add "passthru" to list of layout tags and add
12747         code to set the pass_thru boolean when it is read.
12748
12749 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12750
12751         * trans_decl.h: remove allowed from KmodInfo
12752
12753         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
12754         remove allowed code
12755         (Load): adjust
12756
12757         * paragraph_pimpl.C (erase): use boost::prior
12758
12759         * Painter.C (text): use data() instead of c_str() when length is
12760         also provided.
12761         * WorkArea.C (putClipboard): ditto
12762         * font.h (width): ditto
12763
12764         * BufferView2.C: use it-> instead of (*it). for iterators
12765         * texrow.C: ditto
12766         * paragraph_pimpl.C: ditto
12767         * paragraph.C: ditto
12768         * minibuffer.C: ditto
12769         * language.C: ditto
12770         * kbmap.C: ditto
12771         * encoding.C: ditto
12772         * counters.C: ditto
12773         * converter.C: ditto
12774         * chset.C: ditto
12775         * Variables.C: ditto
12776         * TextCache.C: ditto
12777         * MenuBackend.C: ditto
12778         * LyXAction.C: ditto
12779         * LColor.C: ditto
12780         * FloatList.C: ditto
12781         * DepTable.C: ditto
12782         * ColorHandler.C (LyXColorHandler): ditto
12783
12784 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12785
12786         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
12787
12788         * text2.C (openStuff): reintroduce this method (which had been
12789         nuked in NEW_INSETS frenzy).
12790
12791         * lyxfunc.C (Dispatch): when an action has not been handled, use
12792         its name in the error message, not its number.
12793
12794         * paragraph.C (inInset): change method name to begin with lowercase.
12795
12796         * undo_funcs.C:
12797         * text2.C: updates because of this.
12798
12799 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12800
12801         * ToolbarDefaults.C (add): add spaces in error message
12802
12803 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12804
12805         * buffer.C (readLyXformat2): initialize the ert comp. variables.
12806         (readLyXformat2): rename return_par to first_par, use lyxlex's
12807         pushToken and remove the manual push handling.
12808         (parseSingleLyXformat2Token): add another ert comp. variable:
12809         in_tabular, rename return_par to first_par. handle newlines better
12810
12811 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12812
12813         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12814
12815 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12816
12817         * text2.C (getParFromID): removed
12818
12819         * buffer.C (getParFromID): new method moved form lyxtext.
12820         * BufferView2.C (insertErrors): adjust
12821         (setCursorFromRow): adjust
12822         * BufferView_pimpl.C (restorePosition): adjust
12823         * lyxfunc.C (Dispatch): adjust
12824         * undo_funcs.C (textUndo): adjust
12825         (textRedo): adjust
12826         (textHandleUndo): adjust
12827         (textHandleUndo): adjust
12828
12829 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12830
12831         * buffer.C: up' the LYX_FORMAT
12832
12833         * lyxfont.h: turn NO_LATEX on as default
12834
12835         * buffer.C (insertErtContents): new methods of tex style compability.
12836         (parseSingleLyXformat2Token): use it several places.
12837         * tabular.C (OldFormatRead): and here
12838
12839 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12840
12841         * text2.C: remove some commented code.
12842         reindent file.
12843
12844         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12845         * trans.C: changes because of the above.
12846
12847 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
12848
12849         * text2.C (setCounter): Fix counters bug with bibliography layout.
12850
12851 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12852
12853         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12854         own member functions
12855         (simpleTeXSpecialChars): ditto
12856
12857 2001-07-06  Juergen Vigna  <jug@sad.it>
12858
12859         * a lot of files: changed the access to LyXText::status and the
12860         call of undo-functions.
12861
12862         * undo.[Ch]: added a inset_id to the undo informations.
12863
12864         * undo_funcs.[Ch]: added and moved here all undo functions.
12865
12866         * lyxtext.h: give the status enum a weight, made status_ a private
12867         variable and made accessor functions for it, removed the whole bunch
12868         of undo-functions as they are now in their own file, make some
12869         functions publically available. Added function ownerParagraph with
12870         int parameter.
12871
12872         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12873         made InInset() a const function, added getParFromID() function.
12874
12875         * buffer.[Ch]: added const version for inset_iterator functions,
12876         added getInsetFromID() function.
12877
12878         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12879         changed undo functions for new version.
12880
12881 2001-07-05  Juergen Vigna  <jug@sad.it>
12882
12883         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12884         unknow mechanism does not call the proper constructor but only this
12885         one also if I request the other!?
12886
12887 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12888
12889         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12890
12891         * text2.C (LyXText): use initialization lists.
12892
12893         * lyxtext.h (Selection): initialize set_ and mark_
12894         (init): remove method
12895
12896 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12897
12898         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12899
12900 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12901
12902         * screen.[Ch]: change method names to begin with lowercase
12903
12904         * BufferView_pimpl.C (updateScrollbar): simplify further and
12905         hopefully make it a bit faster.
12906
12907 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12908
12909         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12910         calling directly xforms functions.
12911
12912         * Painter.C (Painter):
12913         * lyx_cb.C (MenuWrite):
12914         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12915         fl_display.
12916
12917         * lyx_gui.C: remove bogus guiruntime extern declaration.
12918
12919 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12920
12921         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12922         in NEW_INSETS
12923         (redoDrawingOfParagraph): ditto
12924         (redoParagraphs): ditto
12925         (cutSelection): don't create a object for CutAndPaste use the
12926         static method directly
12927         (pasteSelection): ditto
12928
12929         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12930         LyXview (+ rename)
12931
12932 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12933
12934         * modifications to some other files because of this.
12935
12936         * Makefile.am (lyx_SOURCES): add XFormsView
12937
12938         * XFormsView.[Ch]: new files
12939
12940         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12941         the main window. Move the gui dependent stuff to XFormsView
12942
12943 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12944
12945         * tabular.C (GetCellInset): update cur_cell also in the row/col
12946         version of this function.
12947
12948         * lyxfunc.C: no need to include figure_form.h here.
12949
12950         * FontLoader.h:
12951         * lyxfunc.h:
12952         * lyxscreen.h:
12953         * text2.C:
12954         * lyxvc.C: no need to include forms.h here.
12955
12956 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12957
12958         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12959
12960         * lyxfunc.C (Dispatch):
12961         * Spacing.C (set):
12962         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12963         constructor argument.
12964
12965 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12966
12967         * paragraph.C (Paragraph): dont't clear, and just set layout.
12968         (makeSameLayout): use params's copy contructor.
12969
12970         * ParagraphParameters.[Ch] (makeSame): delete method
12971
12972 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12973
12974         * Variables.[Ch]: fix indentation, rename set to isSet
12975
12976 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12977
12978         * lyxfunc.C (Dispatch): fix typo
12979
12980 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12981
12982         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12983         upper_bound.
12984
12985         * bufferlist.C: include assert.h for emergencyWrite().
12986
12987 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12988
12989         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12990           give up at last (bug #425202) !
12991
12992 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12993
12994         * lyx_gui_misc.C:
12995         * sp_form.h:
12996         * sp_form.C:
12997         * spellchecker.h:
12998         * spellchecker.C: strip spellchecker options and bring up
12999           preferences tab instead
13000
13001 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13002
13003         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13004         the istringstream constructor
13005
13006 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13007
13008         * paragraph.C (getLayout): fix return value
13009
13010         * paragraph.h: do not declare getLayout as inline.
13011
13012         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13013
13014 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13015
13016         * lyxcursor.h (operator<): new func
13017         (operator>): new func
13018         (operator>=): new func
13019         (operator<=): new func
13020
13021         * text.C (changeCase): use selection.start and selection.end
13022         (changeRegionCase): require from to be <= to. Require par to be a
13023         valid paragraph.
13024
13025         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13026
13027 2001-06-27  Juergen Vigna  <jug@sad.it>
13028
13029         * text.C (cursorLeftOneWord): changed to return the cursor and added
13030         overlay with BufferView * parameter which calls this one.
13031         (getWord): added
13032         (selectWord): use new getWord function.
13033         (changeCase): renamed from changeWordCase as and extended to work
13034         also on selections.
13035
13036         * lyxtext.h: added enum word_location
13037
13038         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13039         changeCase as this operates now also on selections.
13040
13041 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
13042
13043         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13044
13045         * many files: send debug output to Debug::INFO instead of
13046         Debug::ANY.
13047
13048         * converter.C (View):
13049         (Convert):
13050         (Move): send debug output to Debug::FILES instead of console.
13051
13052 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
13053
13054         * lyxfunc.C (getStatus): use func_status
13055
13056         * func_status.h: new header, describing the results of
13057         LyXFunc::getStatus;
13058
13059         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13060         LFUN_MATH_HALIGN.
13061
13062 2001-06-25  The LyX Project  <jug@sad.it>
13063
13064         * buffer.C (sgmlOpenTag):
13065         (sgmlCloseTag):
13066         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
13067
13068 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13069
13070         * text2.C: remove some dead code
13071
13072         * tabular.C (GetCellInset): store the last cell checked (gotten)
13073
13074         * tabular.h: add the helper for the speedup
13075
13076         * lyxtext.h: remove some dead code
13077
13078 2001-06-26  The LyX Project  <Asger>
13079
13080         * paragraph.C: Change export to LaTeX of alignment to
13081         \begin{center} and family for better roundtrip work with reLyX.
13082
13083         * Tune the math drawing a bit.
13084
13085 2001-06-25  The LyX Project  <Asger>
13086
13087         * LColor.C (LColor): New color for math background. New color
13088         for buttons.
13089
13090 2001-06-25  The LyX Project  <jug@sad.it>
13091
13092         * lyxfunc.C (MenuNew): remove extra check for .lyx file
13093
13094         * lyxfunc.C (Open):
13095         * bufferlist.C (newFile): do not restrict to files ending with
13096         .lyx
13097
13098         * BufferView_pimpl.C (MenuInsertLyXFile):
13099
13100 2001-06-24  The LyX Project  <jug@sad.it>
13101
13102         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13103         of compare_no_case
13104
13105 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13106
13107         * lyxtext.h: rename most methods to begin with a small char.
13108         Lots of changes because of this.
13109
13110         * paragraph.C (Paragraph): do not call fitToSize
13111         (erase): call Pimpl::erase
13112         (insertChar): call Pimpl::insertChar
13113         (insertInset): call Pipl::insertInset
13114         (breakParagraph): do not call fitToSize
13115         (breakParagraphConservative): do not call fitToSize
13116         (fitToSize): remove method
13117
13118         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13119
13120 2001-06-24  The LyX Project  <Asger>
13121
13122         * Fix Qt compilation^2
13123
13124 2001-06-24  The LyX Project  <jug@sad.it>
13125
13126         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13127         depthHook(getDepth()-1).
13128
13129         * paragraph.h:
13130         * ParagraphParameters.h:
13131         * ParameterStruct.h: change type of depth to unsigned int ==
13132         depth_type. Many adaptations to other files before of that.
13133
13134 2001-06-24  The LyX Project  <Asger>
13135
13136         * Fix Qt compilation.
13137
13138 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13139
13140         * paragraph.h: renamed several methods to begin with small letter.
13141         several changes to many parts of the code because of this.
13142
13143 2001-06-23  The LyX Project  <jug@sad.it>
13144
13145         * text2.C (InsertStringAsLines): renamed from InsertStringA;
13146         rewritten to discard all double spaces when KeepEmpty is off
13147         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13148         to only handle newlines but not fiddle with spaces and friends.
13149
13150         * lyxfunc.C (MenuNew): when doing 'new from template', use
13151         template_path as default directory
13152
13153 2001-06-23  The LyX Project  <Asger>
13154
13155         * Clean-up of header file includes all over
13156         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13157
13158 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13159
13160         * paragraph.h: renamed from lyxparagraph.h
13161
13162 2001-06-23  Asger  <lyx@violet.home.sad.it>
13163
13164         * Buffer.h: Removed Buffer::resize
13165         * BufferList.h: Removed BufferList::resize
13166         * LyXView.h: Added LyXView::resize. This way, we will only reflow
13167         the document lazily when we change the width, or the font settings.
13168
13169 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13170
13171         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13172
13173 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13174
13175         * buffer.h: remove out of date comment
13176
13177 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13178
13179         * lyxscreen.h:
13180         * screen.C: fix "theoretical" GC leak
13181
13182 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13183
13184         * LaTeX.C (scanAuxFile):
13185         (deplog): remove trailing \r when reading stream (useful under
13186         win32)
13187
13188 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
13189
13190         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13191         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13192         and BufferView::theLockingInset(Inset*), so should use them and not
13193         access bv_->text->the_locking_inset directly.
13194
13195         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13196
13197 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13198
13199         * Makefile.am:
13200         * tex-defs.h: remove old unused file
13201
13202 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
13203
13204         * BufferView_pimpl.C: fix typo, remove minibuffer message
13205           when buffer has loaded
13206
13207 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13208
13209         * lyxfunc.C (Dispatch): use stringstream
13210         (MenuNew): use stringstream
13211         (Open): use stringstream
13212
13213         * importer.C (Import): use stringstream
13214
13215         * bufferview_funcs.C (CurrentState): use stringstream
13216
13217         * LaTeX.C (run): use stringstream
13218
13219         * BufferView_pimpl.C (savePosition): use stringstream
13220         (restorePosition): use stringstream
13221         (MenuInsertLyXFile): use stringstream
13222
13223 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
13224
13225         * BufferView.C:
13226         * Bullet.C:
13227         * ColorHandler.C:
13228         * FontInfo.C:
13229         * FontLoader.C:
13230         * LColor.C:
13231         * LaTeXFeatures.C:
13232         * Painter.C:
13233         * gettext.C:
13234         * lyx_gui_misc.C:
13235         * lyxserver.C:
13236         * vspace.C: removed // -*- C++ -*- as first line.
13237
13238         * lyxfind.h:
13239         * version.h: added // -*- C++ -*- as first line.
13240
13241 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13242
13243         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13244
13245         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13246         of string
13247
13248 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13249
13250         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13251         of floats.
13252
13253 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13254
13255         * gettext.C: include LString.h even when --disable-nls is on.
13256
13257 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
13258
13259         * converter.h (Get): changed argument type from int to
13260         FormatList::size_type to avoid unnecessary conversion.
13261
13262         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13263         before using it.
13264
13265 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13266
13267         * gettext.h: include LString.h even when --disable-nls is on.
13268
13269 2001-06-07  Juergen Vigna  <jug@sad.it>
13270
13271         * text.C (BreakAgain): subst spaces with tabs.
13272
13273         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13274         (resizeInsetsLyXText): set force on resizeLyXText.
13275
13276 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13277
13278         * gettext.h (gettext_init):
13279         (locale_init): use a real definition instead of a macro
13280
13281 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13282
13283         * Bufferview_pimpl.C:
13284         * LColor.h:
13285         * LColor.C: further lcolor tidies
13286
13287 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13288
13289         * BufferView_pimpl.C (updateScrollbar): simplify.
13290
13291         * BufferView2.C: don't include insets/insetinfo.h, change
13292         prototype for insertInset and call the Pimpl version. let
13293         updateInset call Pimpl version.
13294
13295         * BufferView.h: move inset_slept to BufferView::Pimpl, move
13296         gotoInset to BufferView::Pimpl
13297
13298 2001-06-01  Juergen Vigna  <jug@sad.it>
13299
13300         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13301         inside a LockingInset (is the update needed at all?).
13302
13303 2001-05-31  Juergen Vigna  <jug@sad.it>
13304
13305         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13306         here not the old one otherwise how should we compare it afterwards
13307         if it's the same!
13308
13309 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13310
13311         * lyxfont.C:
13312         * tabular.C:
13313         * tabular-old.C:
13314         * FontInfo.C: bring C functions into global namespace when
13315         necessary
13316
13317 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13318
13319         * LString.h: make sure config.h has been loaded before LString.h.
13320
13321         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13322         (one for each char read by EatLine!).
13323
13324         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13325         variables.
13326
13327 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13328
13329         * paragraph.C (BreakParagraph): set the inset_owner in the new par
13330         to the same as the par we break from
13331
13332 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13333
13334         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13335
13336         * MenuBackend.C (expand): also create menu entries for wide
13337         versions of the floats.
13338
13339         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13340
13341         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13342
13343         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13344         frontends/Makefile.am
13345
13346         * text2.C: adjust
13347         * text.C: adjust
13348
13349
13350         * tabular.C (getTokenValue): add std::
13351
13352         * tabular-old.C (getTokenValue): add std::
13353         (getTokenValue): ditto
13354         (getTokenValue): ditto
13355
13356         * screen.C (ToggleSelection): adjust
13357
13358         * lyxtext.h: put selection cursors inside a Selection struct.
13359
13360         * lyxfunc.C (moveCursorUpdate): adjust
13361
13362         * lyxfont.C (latexWriteStartChanges): add std::
13363
13364         * lyxfind.C: adjust
13365
13366         * font.h: delete with(char const *, LyXFont const &)
13367
13368         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13369
13370         * FontInfo.C (getFontname): add std::
13371
13372         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13373         (workAreaButtonPress): adjust
13374         (tripleClick): adjust
13375         (update): adjust
13376         (moveCursorUpdate): adjust
13377         (Dispatch): adjust
13378
13379         * BufferView2.C (gotoInset): adjust
13380
13381 2001-05-30  Juergen Vigna  <jug@sad.it>
13382
13383         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13384         to check pspell I add this as default as I now have new pspell
13385         libraries and they seem to use this.
13386
13387 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13388
13389         * text2.C (CutSelection): make the cursor valid before the call to
13390         ClearSelection.
13391
13392 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13393
13394         * kbsequence.C (parse): de-uglify a bit the parsing code, which
13395         relied on 0 terminated strings and other horrors. Bug found due to
13396         the new assert in lyxstring!
13397
13398         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13399         KP_ keys.
13400
13401 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13402
13403         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13404         to latinkeys.bind.
13405
13406         * lyxfunc.C (processKeySym): change method of getting to the
13407         self-insert char.
13408
13409         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13410         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13411         * BufferView_pimpl.[Ch]: here as private methods.
13412
13413 2001-05-28  Juergen Vigna  <jug@sad.it>
13414
13415         * text.C (SetHeightOfRow): added the update() call again as it is
13416         needed to initialize inset dimensions!
13417
13418 2001-05-16  Juergen Vigna  <jug@sad.it>
13419
13420         * text2.C (SetCharFont): Add new function with BufferView * and
13421         bool toggleall parameters for setting insets internal fonts.
13422         (SetFont): Freeze the undo as we may change fonts in Insets and
13423         all this change should be inside only one Undo!
13424
13425         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13426         setting font's in insets as for them we have the SetFont function!
13427
13428 2001-05-15  Juergen Vigna  <jug@sad.it>
13429
13430         * text2.C (ClearSelection): to be sure we REALLY don't have any
13431         selection anymore!
13432
13433         * tabular.C (TeXCellPreamble): fixed the left border problem for
13434         multicolumn cells.
13435
13436 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
13437
13438         * LaTeX.C (deplog): Make sure that the main .tex file is in the
13439         dependancy file
13440
13441 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13442
13443         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13444         LFUN_BREAKPARAGRAPH.
13445
13446         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13447         help test to "internal only", similar for LFUN_INSERT_URL
13448
13449         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13450         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13451         auto_region_delete and deadkeys.
13452
13453 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
13454
13455         * LColor.h:
13456         * LColor.C: remove some dead entries, tidy a little
13457
13458 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13459
13460         * lyxfunc.C (processKeySym): comment the Escape handling, remove
13461         commented code.
13462         (Dispatch): implement LFUN_ESCAPE
13463
13464         * commandtags.h: add LFUN_ESCAPE
13465
13466         * LyXAction.C (init): add entry for LFUN_ESCAPE
13467
13468         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13469         Remove commented code.
13470         (insertNote): moved here
13471         (open_new_inset): moved here
13472
13473         * BufferView[2].[Ch]: move insertNote and open_new_inset to
13474         BufferView_pimpl
13475
13476 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13477
13478         * kbmap.C (findbinding): clean it up and make it work correctly.
13479
13480         * lyx_main.C (init): do not pass argc and argv as parameters
13481
13482 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
13483
13484         * buffer.C: fix path for OS/2 & Win32
13485
13486         * lyx_gui.C:
13487         * lyx_main:
13488         * lyx_main.C: Added os:: class.
13489
13490         * os2_defines.h: update
13491
13492 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13493
13494         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13495         better by trying again with reduced state.
13496
13497 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13498
13499         * lyxrc.C (read): print error about invalid key sequence only when
13500         debugging (because not all latinX keysyms are known to some X
13501         servers)
13502
13503         * kbsequence.C (getiso): add a few std:: qualifiers
13504         (getiso): comment out extra return statement.
13505
13506 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13507
13508         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13509         handling.
13510         (Dispatch): enhance the accent inset a bit. (not perfect)
13511
13512 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13513
13514         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13515
13516 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13517
13518         * bufferlist.C (emergencyWrite): fix assert() call
13519
13520 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
13521
13522         * text.C (InsertChar): Added trivial patch to only send the "you
13523         can not do multiple spaces this way" message once during a
13524         session.
13525
13526 2001-05-08  Baruch Even  <baruch@lyx.org>
13527
13528         * Makefile.am: Changed order of libraries to get LyX to link properly
13529         with the gnome frontend.
13530
13531 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13532
13533         * LaTeXFeatures.h: add a std:: qualifier
13534
13535 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13536
13537         * paragraph.C (String): use stringstream
13538
13539 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13540
13541         * paragraph.C (writeFile): remove footflag arg
13542
13543         * buffer.C (makeLaTeXFile): use stringstream
13544         (latexParagraphs): remove footnot gurba
13545
13546         * LaTeXFeatures.C (getPackages): use stringstream
13547         (getMacros): likewise
13548         (getTClassPreamble): likewise
13549         (getFloatDefinitions): new method
13550
13551         * paragraph.C (writeFile): reindent
13552         (Erase): reindent
13553
13554         * WorkArea.h: revert the xpos + etc changes.
13555
13556         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13557
13558         * lyxparagraph.[Ch]: add copy constructor, remove Clone
13559
13560         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13561         (pasteSelection): likewise
13562         * text2.C (CreateUndo): likewise
13563
13564 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13565
13566         * minibuffer.C (peek_event): temporarily reduce the functionality
13567         of the minibuffer (to allow args on lfuns)
13568
13569         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13570         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13571
13572         * buffer.C (readInset): add compability reading of old float
13573         lists, add reading of new style float list.
13574         (readInset): avoid reevaluation of inscmd.getCmdName()
13575         (getLists): reindent
13576
13577         * MenuBackend.C (MenuItem): implement parsing of
13578         md_floatlistinsert and md_floatinsert.
13579         (expand::LastFiles): move initalizaton of iterators out of loop,
13580         avoid reevaluation.
13581         (expand::Documents): introduce typdedef vector<string> Strings,
13582         and use it.
13583         (expand::ExportFormats): introduce typedef vector<Format const *>
13584         Formats, and use it.
13585         (expand): implement FloatListInsert and FloatInsert.
13586
13587         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13588         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13589         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13590
13591         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13592         handling.
13593         (Dispatch::LFUN_FLOAT_LIST): implement
13594
13595 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13596
13597         * LaTeX.C (run): Fix problem with --export code.
13598
13599 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13600
13601         * BufferView.[Ch] (workarea): removed.
13602         (getClipboard) new method; wrapper for workarea()->getClipboard()
13603
13604         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13605         bug.
13606
13607         * WorkArea.h (width, height, xpos, ypos): These methods all
13608         returned the dimensions of the work_area sub-area of WorkArea,
13609         resulting in a position error if the WorkArea were resized. Now
13610         return the dimensions of the entire WorkArea.
13611
13612         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13613
13614 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13615
13616         * LaTeX.C (deplog): correct the syntax of regex reg1
13617
13618 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13619
13620         * undo.C: remove !NEW_INSETS cruft
13621
13622 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13623
13624         * text2.C: remove !NEW_INSETS cruft
13625
13626         * text.C: remove !NEW_INSETS cruft
13627
13628         * tabular.C: remove !NEW_INSETS cruft
13629
13630         * spellchecker.C: remove !NEW_INSETS cruft
13631
13632         * lyxtext.h: remove !NEW_INSETS cruft
13633
13634         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13635
13636         * lyxfunc.C: remove !NEW_INSETS cruft
13637
13638         * lyxfind.C: remove !NEW_INSETS cruft
13639
13640         * lyx_cb.C: remove !NEW_INSETS cruft
13641
13642         * figureForm.C: remove  !NEW_INSETS cruft
13643
13644         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13645
13646         * buffer.[Ch]: remove !NEW_INSETS cruft
13647
13648         * ToolbarDefaults.C: remove !NEW_INSETS cruft
13649
13650         * CutAndPaste.C: remove !NEW_INSETS cruft
13651
13652         * BufferView_pimpl.C: remove !NEW_INSETS cruft
13653
13654         * BufferView2.C: remove !NEW_INSETS cruft
13655
13656         * BufferView.h: remove !NEW_INSETS cruft
13657
13658 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13659
13660         * Lsstream.h: include LString.h before the sstream headers to
13661         fix problem with gcc 2.95.3 and lyxstring
13662
13663 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13664
13665         * lyx_main.C: add using directives when needed for C functions
13666         declared in std:: namespace.
13667
13668 2001-04-27  Juergen Vigna  <jug@sad.it>
13669
13670         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
13671         (SetHeightOfRow): comment out the update call should not be needed!
13672
13673 2001-04-13  Juergen Vigna  <jug@sad.it>
13674
13675         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
13676         (LyXTabular): tried to minimize operator= operations (and realized
13677         hopfully Lars wish).
13678
13679 2001-04-27  Juergen Vigna  <jug@sad.it>
13680
13681         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
13682
13683 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13684
13685         * lyxfunc.C (Dispatch): hack to make listof algorithm work
13686
13687         * buffer.C (readInset): hack to make listof algorithm work
13688
13689         * BufferView_pimpl.C: hack to make listof algorithm work
13690
13691 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13692
13693         * LyXAction.C: removed all !NEW_INSETS cruft
13694         (init): moved lfun_item in method
13695
13696         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
13697
13698 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13699
13700         * BufferView2.C (theLockingInset): white space.
13701
13702 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13703
13704         * minibuffer.C: include <iostream>
13705
13706         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
13707
13708         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
13709
13710         * commandtags.h: add LFUN_TRANSPOSE_CHARS
13711
13712         * text.[Ch] (TransposeChars): new method
13713
13714 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13715
13716         * call message directly through LyXView instead of through LyXFunc
13717         * BufferView2.C: adjust
13718         * BufferView_pimpl.C: adjust
13719         * FontLoader.C: adjust
13720         * buffer.C: adjust
13721         * bufferview_funcs.C: adjust
13722         * converter.C: adjust
13723         * figureForm.C: adjust
13724         * importer.C: adjust
13725         * lyx_cb.C: adjust
13726         * lyx_gui_misc.C: adjust
13727         * lyxfunc.C: adjust
13728         * lyxvc.C: adjust
13729         * text2.C: adjust
13730         + more files in subdirs
13731
13732         * lyxparagraph.h (size): move up int file
13733         (GetLayout): ditto
13734
13735         * adjust all uses of Assert to lyx::Assert.
13736
13737         * BufferView2.C (ChangeCitationsIfUnique): adjust for
13738         lyxfunctional in namespace lyx
13739         * layout.C (hasLayout): ditto
13740         (GetLayout): ditto
13741         (GetLayout): ditto
13742         (delete_layout): ditto
13743         (NumberOfClass): ditto
13744         * converter.C (GetFormat): ditto
13745         (GetNumber): ditto
13746         (Add): ditto
13747         (Delete): ditto
13748         (SetViewer): ditto
13749         * bufferlist.C (getFileNames): ditto
13750         (emergencyWriteAll): ditto
13751         (exists): ditto
13752         (getBuffer): ditto
13753         * MenuBackend.C (hasSubmenu): ditto
13754         (hasMenu): ditto
13755         (getMenu): ditto
13756         * BufferView_pimpl.C (getInsetByCode): ditto
13757
13758 2001-04-18  Juergen Vigna  <jug@sad.it>
13759
13760         * vspace.C (asLatexString): fixed the 100% problem.
13761
13762 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13763
13764         * lyxfunc.C (Dispatch):
13765         * minibuffer.C:
13766         * minibuffer.h: add a few std:: qualifiers
13767
13768 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13769
13770         * minibuffer.[Ch]: reimplement so that commands is initiated and
13771         run from lyxfunc, simplified som handling, and made the completion
13772         and history code for complete. wip.
13773
13774         * lyxfunc.C (processKeySym): call message
13775         (miniDispatch): new temporary method
13776         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
13777         (LFUN_MESSAGE): implement
13778         (LFUN_MESSAGE_PUSH): implement
13779         (LFUN_MESSAGE_POP): implement
13780         (initMiniBuffer): the initial/defualt minibuffer message.
13781
13782         * lyxfont.[Ch]: inline some more getters
13783
13784         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
13785
13786         * lyx_gui_misc.[Ch] (WriteStatus): remove method
13787
13788         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
13789         (AutoSave): use LFUN_MESSAGE
13790         (Reconfigure): ditto
13791
13792         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13793
13794         * figureForm.C: use LFUN_MESSAGE
13795
13796         * converter.C (runLaTeX): use LFUN_MESSAGE
13797
13798         * bufferview_funcs.C: use LFUN_MESSAGE
13799         (Melt): ditto
13800         (changeDepth): ditto
13801
13802         * bufferparams.h: use boost::
13803
13804         * bufferlist.h: inherit privately from noncopyable
13805
13806         * bufferlist.C (loadLyXFile): remove some commented code.
13807
13808         * buffer.C (runChktex): use LFUN_MESSAGE
13809
13810         * ShareContainer.h: inherit privately from noncopyable
13811
13812         * ParagraphParameters.[hC] (depth): inline it.
13813
13814         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13815         methods.
13816         (message): new method
13817         (messagePush): ditto
13818         (messagePop): ditto
13819         (show): init minibuffer
13820         (showState): direct call
13821
13822         * LaTeX.[Ch]: inherit privately from noncopyable
13823         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13824         instead of WriteStatus.
13825
13826         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13827
13828         * BufferView_pimpl.C (buffer): don't init minibuffer
13829         (workAreaButtonPress): use LFUN_MESSAGE
13830         (workAreaButtonRelease): ditto
13831         (savePosition): ditto
13832         (restorePosition): ditto
13833         (MenuInsertLyXFile): ditto
13834         (workAreaExpose): don't init minibuffer
13835         (update): remove commented code, simplify
13836
13837         * BufferView2.C (openStuff): use LFUN_MESSAGE
13838         (toggleFloat): ditto
13839         (menuUndo): ditto
13840         (menuRedo): ditto
13841         (copyEnvironment): ditto
13842         (pasteEnvironment): ditto
13843         (copy): ditto
13844         (cut): ditto
13845         (paste): ditto
13846         (gotoInset): ditto
13847         (updateInset): remove some commented code
13848
13849         * lastfiles.h: inherit privately from noncopyable
13850         * layout.h: ditto
13851         * lyx_gui.h: ditto
13852         * lyx_main.h: ditto
13853         * lyxlex.h: ditto
13854         * lyxlex_pimpl.h: ditto
13855
13856         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13857         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13858         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13859
13860         * LyXAction.h: inherit privately from noncopyable, add methods
13861         func_begin, func_end, returning iterators to the func map.
13862
13863         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13864         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13865         (func_begin): new method
13866         (func_end): new method
13867
13868         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13869         and not)
13870         (copySelection): ditto
13871         (pasteSelection): ditto
13872
13873         * BufferView.C: whitespace change
13874         * BufferView.h: inherit privately from noncopyable
13875
13876 2001-04-16  Allan Rae  <rae@lyx.org>
13877
13878         * tabular-old.C (l_getline):
13879         * spellchecker.C (sc_check_word):
13880         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13881         an unrecognised preprocessor directive.  So ensure they're wrapped.
13882
13883 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13884
13885         * src/exporter.C (Export): Give an error message when path to file
13886         contains spaces.
13887
13888 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13889
13890         * LaTeX.C (deplog): Always check that foundfile exists.
13891
13892 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13893
13894         * lyx_main.h:
13895         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13896
13897 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13898
13899         * tabular.[Ch] (getLabelList): implement new method
13900
13901         * minibuffer.h: comment ouf setTiimer
13902
13903         * minibuffer.C (ExecutingCB): constify res
13904         (peek_event): constify s
13905         (Set): constify ntext
13906         (Init): constify nicename
13907
13908         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13909
13910         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13911         (savePosition): use two params to Minibuffer::Set
13912         (restorePosition): ditto
13913
13914 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13915
13916         * lyx_main.C: include language.h
13917
13918         * Makefile.am (lyx_main.o): add language.h
13919
13920 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13921
13922         * exporter.C:
13923         * paragraph.C:
13924         * screen.C:
13925         * tabular.C:
13926         * CutAndPaste.C: include gettext.h
13927
13928         * lyxfont.h: remove old hack with ON and OFF.
13929
13930         * lyxparagraph.h:
13931         * lyxfont.h: do not include language.h...
13932
13933         * BufferView2.C:
13934         * LaTeXFeatures.C:
13935         * Painter.C:
13936         * bufferview_funcs.C:
13937         * font.C:
13938         * lyxfont.C:
13939         * text.C:
13940         * text2.C:
13941         * trans_mgr.C:
13942         * paragraph.C: ... but do it here instead
13943
13944 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13945
13946         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13947
13948         * tabular.C: small reformat
13949
13950         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13951         NEW_INSETS version
13952         (GetChar): ditto
13953         (BreakParagraph): ditto
13954         (SetOnlyLayout): ditto
13955         (SetLayout): ditto
13956
13957         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13958         with one arg less.
13959
13960         * lastfiles.C: removed most using decl, add std:: where needed
13961
13962         * buffer.C: ws changes
13963
13964         * MenuBackend.C (class compare_format): put into anon namespace
13965         (expand): constify label, names, action, action2
13966         (expand):
13967
13968         * text.C (SingleWidth): constify font
13969         (IsBoundary): constify rtl2
13970         (GetVisibleRow): constify ww
13971
13972         * LaTeX.C (deplog): constify logfile
13973
13974         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13975         start_x, end_x
13976         (workAreaExpose): constify widthChange, heightChange
13977
13978         * lyxrow.C (par): moved
13979         (height): moved
13980         (next): moved
13981         * lyxrow.h: as inlines here
13982
13983         * lyxfont.h (shape): moved from lyxfont.C
13984         (emph): moved from lyxfont.C
13985
13986         * lyxfont.C (LyXFont): use initialization list for all
13987         constructors
13988         (shape): move to lyxfont.h as inline
13989         (emph): move to lyxfont.h as inline
13990
13991
13992 2001-04-04  Juergen Vigna  <jug@sad.it>
13993
13994         * vspace.C: had to include stdio.h for use of sscanf
13995
13996 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
13997
13998         * BufferView.h:
13999         * BufferView_pimpl.h: remove xforms cruft. Both classes are
14000         independent of xforms.
14001
14002 2001-04-02  Juergen Vigna  <jug@sad.it>
14003
14004         * spellchecker.C: fixed namespace placing!
14005
14006 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
14007
14008         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14009         the LyXParagraph * is 0.
14010
14011 2001-03-29  Juergen Vigna  <jug@sad.it>
14012
14013         * vspace.C: added support for %, c%, p%, l%.
14014         (stringFromUnit): added helper function.
14015         (asLatexString): changed to give right results for the %-values.
14016
14017         * buffer.C: convert the widthp in a width%.
14018
14019 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
14020
14021         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14022         figureForm.[Ch].
14023
14024         * figureForm.[Ch]: stripped the FD_from_figure manipulation
14025         code out of lux_cb.[Ch], ready for its (imminent?) removal.
14026
14027         * lyx_cb.[Ch]: see above.
14028
14029         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14030         form1.[Ch].
14031
14032         * form1.[Ch]:
14033         * lyx.[Ch]: replaced by figure_form.[Ch].
14034
14035         * lyx_gui.C:
14036         * lyx_gui_misc.C:
14037         * lyxfunc.C: changed headers associated with above changes.
14038
14039 2001-03-27  Juergen Vigna  <jug@sad.it>
14040
14041         * BufferView_pimpl.C: set the temporary cursor right!
14042
14043 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
14044
14045         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14046
14047 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
14048
14049         * LString.h: removed "using std::getline"!
14050
14051         * BufferView_pimpl.C (Dispatch): changes due to changes in
14052         InsetInclude::Params.
14053
14054         * buffer.C (tag_name): removed redundant break statements as they were
14055         producing lots of warnings with my compiler.
14056
14057 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14058
14059         * LString.h: add "using std::getline" when using the real <string>.
14060
14061 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
14062
14063         * buffer.C: removed bitset usage.
14064         PAR_TAG moved to an anonymous name space.
14065         (tag_name): new funtion, also in the anonymous namespace.
14066         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14067         (makeDocBookFile): clean code. Completed transition from string arrays
14068         to string vectors.
14069         (SimpleDocBookOnePar): code clean.
14070
14071 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14072
14073         * tabular.C: add some comments.
14074
14075 2001-03-22  Juergen Vigna  <jug@sad.it>
14076
14077         * buffer.C (parseSingleLyXformat2Token): redone the minipage
14078         compatibility read a bit and fixed bug with minipage in different
14079         depth.
14080
14081 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
14082
14083         * buffer.C (pop_tag): removed.
14084         (push_tag): removed.
14085         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14086         array replaced with vector. Added support for CDATA sections.
14087         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14088         at any nest level.
14089         (makeDocBookFile): XML conformant declaration of CDATA section,
14090         fixed bug related to <emphasis> in the first paragraph char.
14091         (sgmlOpenTag): exclude empty tags.
14092         (sgmlCloseTag): ditto.
14093
14094         * buffer.h (pop_tag): removed.
14095         (push_tag): removed.
14096
14097 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
14098
14099         * language.h (Languages): added size_type and size().
14100
14101 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14102
14103         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14104         response on compability reading of minipages. One probliem is that
14105         the old usage of minipages was «flertydig»
14106
14107         * several files here and in subdirs: don't use static at file
14108         scope use anon namespaces instead.
14109
14110 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
14111
14112         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14113         LaTeX output. This is necessary for Literate document
14114         processing.
14115
14116 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14117
14118         * buffer.C: insert hfill when needed.
14119
14120         * tabular.C (l_getline): use string::erase, small whitespace change.
14121
14122         * BufferView_pimpl.C: try the anon namespace.
14123         * WorkArea.C: ditto
14124
14125 2001-03-16  Juergen Vigna  <jug@sad.it>
14126
14127         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14128         otherwise it won't open options-dialogs.
14129
14130         * buffer.C: honor pextraWidth(p) on converting minipages.
14131
14132         * tabular.C (l_getline): changed the functions to strip trailing \r.
14133
14134 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
14135
14136         * BufferView_pimpl.C:
14137         * minibuffer..C: added "using SigC::slot" declaration.
14138
14139 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14140
14141         * lyxlex_pimpl.h: noncopyable is in namespace boost.
14142
14143         * text2.C: ditto
14144
14145         * text.C: ditto
14146
14147         * paragraph.C: ditto
14148
14149         * lyxtext.h: NO_PEXTRA
14150
14151         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14152
14153         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14154         * ParameterStruct.h: ditto
14155         * ParagraphParameters.h: ditto
14156         * lyxparagraph.h: ditto
14157
14158 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14159
14160         * buffer.C: add compability for minipage alignment.
14161         (latexParagraphs): remove unwanted pextra check.
14162
14163         * several files: remove CXX_WORKING_NAMESPACES
14164
14165         * buffer.C (pop_tag): tie is in namespace boost
14166
14167         * BufferView.h: noncopyable is in namespace boost
14168         * lyxlex.h: ditto
14169         * lyx_main.h: ditto
14170         * lyx_gui.h: ditto
14171         * layout.h: ditto
14172         * lastfiles.h: ditto
14173         * bufferlist.h: ditto
14174         * ShareContainer.h: ditto
14175         * LyXView.h: ditto
14176         * LyXAction.h: ditto
14177         * LaTeX.h: ditto
14178
14179 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14180
14181         * Merging changes from BRANCH_MVC back into HEAD.
14182
14183         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14184
14185 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
14186
14187         * BufferView_pimpl.C: change from intl.C
14188
14189         * combox.h:
14190         * combox.C:
14191         * Makefile.am: move combox.*
14192
14193         * form1.h:
14194         * form1.C:
14195         * lyx_gui.C:
14196         * intl.h:
14197         * intl.C: remove dialog (covered by prefs)
14198
14199 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14200
14201         * lyxfunc.C (Dispatch): removed redundant break statement.
14202
14203 2001-03-14  Juergen Vigna  <jug@sad.it>
14204
14205         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14206
14207 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14208
14209         * buffer.C: add hack to fix compability reading of minipages.
14210
14211 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
14212
14213         * buffer.C (getLists): Cleanup.
14214
14215 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14216
14217         * lyxfont.C (update): don't honor toggleall on font size.
14218
14219 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
14220
14221         * bmtable.c:
14222         * bmtable.h:
14223         * Makefile.am: moved to frontends/xforms/
14224
14225         * lyx_gui_misc.C:
14226         * lyxfunc.C:
14227         * BufferView_pimpl.C: changes for moved mathpanel
14228
14229 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14230
14231         * gettext.h: fix gettext_init() in --disable-nls
14232
14233 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14234
14235         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14236
14237 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
14238
14239         * lyx.C:
14240         * lyx.h: strip external form
14241
14242 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14243
14244         * BufferView_pimpl.C: add comment, destroySplash()
14245
14246 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14247
14248         * BufferView_pimpl.C:
14249         * LyXAction.C:
14250         * buffer.C:
14251         * commandtags.h:
14252         * lyxfunc.C: use re-worked insetinclude
14253
14254 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14255
14256         * buffer.C: add using std::stringstream.
14257
14258         * lyx_cb.C: readd using std::ios.
14259
14260         * buffer.C: add using std::map.
14261
14262         * BufferView_pimpl.C: add using std::vector.
14263
14264         * ShareContainer.h: add std:: to swap.
14265
14266         * buffer.h: add some typedefs
14267         * buffer.C (getLists): use them
14268         (getLists): renamed from getTocList.
14269         add a counter for the different float types and use it in the
14270         generated string.
14271         (getLists): use the same counter for the NEW_INSETS and the "non"
14272         NEW_INSETS
14273
14274         * lyx_cb.h: remove unused items, includes, using etc.
14275
14276         * ShareContainer.h: remove some commented code, add more comments
14277         and "documentation".
14278
14279 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14280
14281         * buffer.C (getTocList): make the list also when NEW_INSETS is
14282         defined.
14283
14284         * buffer.h: remove TocType
14285
14286         * buffer.C (getTocList): change to return a map<string,
14287         vector<TocItem> >, implement for dynamic number of list.
14288
14289         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14290         * text2.C (PasteSelection): adjust
14291         * CutAndPaste.C (pasteSelection): adjust
14292
14293         * FloatList.C (FloatList): update from the new_insets branch.
14294         * Floating.[Ch]: ditto
14295         * LaTeXFeatures.C: ditto
14296         * buffer.C: ditto
14297         * lyxlex_pimpl.C: ditto
14298
14299         * paragraph.C (Last): remove when NEW_INSETS is defined.
14300
14301         * other file: changes because of the above.
14302
14303 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14304
14305         * lyxparagraph.h: rename next to next_, previous to previous_,
14306         make them private for NEW_INSETS. Rename Next() to next(),
14307         Previous() to previous().
14308
14309         * other files: changes because of the above.
14310
14311 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
14312
14313         * BufferView.h:
14314         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14315         problem.
14316
14317 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14318
14319         * main.C (main): pass lyx_localedir to gettext_init().
14320
14321         * gettext.h: remove locale_init and gettext_init macros
14322
14323         * gettext.C (locale_init): new function
14324         (gettext_init): new function
14325
14326         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14327         setlocale().
14328
14329 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
14330
14331         * Moved credits to frontends:
14332         * credits.[Ch]: removed
14333         * credits_form.[Ch]: removed
14334         * lyx_gui_misc.C: remove credits stuff
14335         * Makefile.am:
14336
14337 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14338
14339         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14340
14341         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14342         unneeded destructor.
14343
14344         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14345         a standalone pointer again.
14346
14347         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14348
14349 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
14350
14351         * Makefile.am:
14352         * filedlg.h:
14353         * filedlg.C:
14354         * LyXAction.C:
14355         * ToolbarDefaults.C:
14356         * bufferlist.C:
14357         * commandtags.h:
14358         * form1.C:
14359         * form1.h:
14360         * lyx_cb.C:
14361         * lyx_cb.h:
14362         * lyxfunc.h:
14363         * lyxfunc.C:
14364         * BufferView_pimpl.C: use new file dialog in GUII
14365
14366         * lyx_cb.h:
14367         * lyx_cb.C: remove LayoutsCB to Toolbar
14368
14369 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14370
14371         * ShareContainer.h (get): add std:: qualifier
14372
14373 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14374
14375         * ShareContainer.h: define a proper ShareContainer::value_type
14376         type (and use typename to please compaq cxx)
14377
14378 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14379
14380         * lyxparagraph.h: move serveral local vars to
14381         ParameterStruct/ParagraphParameters., use ShareContainer in
14382         FontTable., make vars in FontTable private and add getter and
14383         setter.
14384
14385         * paragraph.C: changes because of the above.
14386
14387         * lyxfont.h: remove copy constructor and copy assignment. (the
14388         default ones is ok), move number inside FontBits. move inlines to
14389         lyxfont.C
14390
14391         * lyxfont.C: add number to initializaton of statics, move several
14392         inlines here. constify several local vars. some whitespace
14393         cleanup. Dont hide outerscope variables.
14394
14395         * Spacing.h: add two new constructors to match the set methods.
14396
14397         * ShareContainer.h: new file, will perhaps be moved to support
14398
14399         * ParameterStruct.h: new file
14400
14401         * ParagraphParameters.h: new file
14402
14403         * ParagraphParameters.C: new file
14404
14405         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14406         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14407
14408         * BufferView_pimpl.C: ParagraphParameter changes.
14409         * buffer.C: Likewise.
14410         * bufferview_funcs.C: Likewise.
14411         * text.C: Likewise.
14412         * text2.C: Likewise.
14413
14414 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14415
14416         * lyxfind.C (LyXReplace): do not redefine default argument in
14417         implementation.
14418         (IsStringInText): ditto
14419         (SearchForward): ditto
14420         (SearchBackward): ditto
14421
14422 2001-03-06  Juergen Vigna  <jug@sad.it>
14423
14424         * lyxfind.C (IsStringInText): put parentes around expressions.
14425
14426 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
14427
14428         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14429
14430 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
14431
14432         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14433
14434         * stl_string_fwd.h: add comment
14435
14436         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14437
14438         * tabular.h:
14439         * tabular.C: remove unused DocBook methods
14440
14441         * intl.C:
14442         * language.C:
14443         * paragraph.C:
14444         * buffer.C:
14445         killed DO_USE_DEFAULT_LANGUAGE
14446
14447 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14448
14449         * lyx_gui.C: do not include language.h.
14450
14451         * bufferview_funcs.C (ToggleAndShow): do not provide optional
14452         arguments in function implementation.
14453
14454 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14455
14456         * BufferView_pimpl.C: add <ctime>
14457
14458 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14459
14460         * BufferView_pimpl.C: add using std::find_if
14461
14462 2001-02-27  José Matos  <jamatos@fep.up.pt>
14463
14464         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14465         by OnlyPath.
14466
14467 2001-02-11  José Matos  <jamatos@fep.up.pt>
14468
14469         * buffer.C (makeDocBookFile): command styles now have a parameter as
14470         "title" by default.
14471
14472 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
14473
14474         * layout_forms.[Ch]: removed
14475         * lyx_cb.[Ch]: out character
14476         * lyx_gui.C: out character
14477         * lyx_gui_misc.C: out character
14478         * bufferview_funcs.C: : out character,
14479         added toggleall as parameter in ToggleAndShow
14480
14481 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
14482
14483         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14484
14485         * text2.C (SetCurrentFont): Disable number property at boundary.
14486
14487 2001-02-26  Juergen Vigna  <jug@sad.it>
14488
14489         * lyxfunc.C (getStatus): added a string argument override function so
14490         that this is correctly called from LyXFunc::Dispatch if it contains a
14491         do_not_use_argument which is used!
14492         (Dispatch): added check for "custom" export and call appropriate func.
14493
14494 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
14495
14496         * lyxrc.C: Add language_command_local, language_use_babel and
14497         language_global_options.
14498
14499         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14500
14501         * buffer.C (makeLaTeXFile): Use language_use_babel and
14502         language_global_options.
14503
14504 2001-02-23  Juergen Vigna  <jug@sad.it>
14505
14506         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14507         which works with LyXText and putted it inside BufferView. Here now we
14508         only call for that part the BufferView::Dispatch() function.
14509
14510         * BufferView.C (Dispatch): added.
14511
14512         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14513         functions which needs to use a LyXText over from LyXFunc.
14514         (MenuInsertLyXFile): added
14515         (getInsetByCode): added
14516         (moveCursorUpdate): added
14517         (static TEXT): added
14518
14519 2001-02-22  Juergen Vigna  <jug@sad.it>
14520
14521         * BufferView_pimpl.C (update): call a status update to see if LyXText
14522         needs it.
14523
14524 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14525
14526         * vc-backend.C (revert): implement for CVS
14527         (getLog): implement for CVS
14528
14529 2001-02-20  Juergen Vigna  <jug@sad.it>
14530
14531         * text2.C (ClearSelection): added BufferView param for inset_owner call
14532
14533         * lyxfunc.C (TEXT): added this function and use it instead of
14534         directly owner->view()-text of getLyXText().
14535
14536 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
14537
14538         * src/layout_forms.C: out preamble
14539         * src/layout_forms.h: out preamble
14540         * src/lyx_cb.C: out preamble
14541         * src/lyx_cb.h: out preamble
14542         * src/lyx_gui.C: out preamble
14543         * src/lyx_gui_misc.C: out preamble
14544         * src/lyxfunc.C: connect with guii preamble
14545
14546 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
14547
14548         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14549
14550 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
14551
14552         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14553         whether to run bibtex.
14554
14555 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
14556
14557         * Makefile.am (lyx_SOURCES): Remove BackStack.h
14558
14559 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14560
14561         * Makefile.am (lyx_SOURCES): removed bibforms.h
14562
14563         * vspace.h: doxygen
14564
14565         * text.C (GetVisibleRow): make several local vars const
14566
14567         * tabular.C: small cleanup.
14568
14569         * lyxserver.C (callback): use compare instead of strncmp
14570
14571         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14572         inlines to after class or to paragraph.C
14573
14574         * lyxfont.h: remove friend operator!=
14575
14576         * converter.h: move friend bool operator< to non friend and after
14577         class def.
14578
14579         * combox.h: small cleanup
14580
14581         * buffer.h: doxygen, remove unused constructor, move inclas inlies
14582         to inlines after class def.
14583
14584         * buffer.C (pop_tag): use string operations instead of strcmp
14585
14586         * bmtable.c: doxygen, small cleanup
14587
14588         * LaTeX.h: remove friend operator==
14589
14590 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
14591
14592         * screen.C:
14593         * lyxrc.[Ch]:
14594         * lyxfunc.C:
14595         * lyxfont.[Ch]:
14596         * lyx_cb.C:
14597         * intl.[Ch]:
14598         * commandtags.h:
14599         * buffer.C:
14600         * WorkArea.[Ch]:
14601         * LyXAction.C:
14602         * BufferView_pimpl.C:
14603         * BufferView.[Ch]: remove cruft
14604
14605 2001-02-14  Juergen Vigna  <jug@sad.it>
14606
14607         * lyxfunc.C: removed #if 0 unused code
14608
14609         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14610
14611         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14612
14613         * text2.C (SetSelection): added a BufferView * parameter
14614
14615 2001-02-13  Juergen Vigna  <jug@sad.it>
14616
14617         * lyxfunc.C (Dispatch): fixed protected blank problem.
14618         * BufferView2.C (protectedBlank): added LyxText * parameter.
14619
14620         * tabular.C (AppendRow): forgot to set row_info of newly added row.
14621         (AppendColumn): same as above for column_info.
14622
14623         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14624         (moveCursorUpdate): use a LyXText param for support of InsetText.
14625
14626         * BufferView_pimpl.C (doubleClick): added support for InsetText.
14627         (tripleClick): ditto
14628
14629         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14630
14631         * BufferView_pimpl.C (update): added LyXText param to honor insets.
14632
14633         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14634
14635         * text2.C (SetSelection): set correct update status if inset_owner
14636         (ToggleFree): ditto
14637
14638 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
14639
14640         * tabular.C: remove some commented code.
14641
14642 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
14643
14644         * BufferView_pimpl.C: call hideSplash()
14645
14646         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14647
14648         * include_form.h:
14649         * bibforms.h: remove
14650
14651         * lyxfunc.C:
14652         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14653           add LFUN_CHILD_CREATE
14654
14655         * counters.h: fix tiny typo
14656
14657         * lyx_cb.C:
14658         * lyx.h:
14659         * lyx_gui.C:
14660         * lyx.C: move splash to frontends/xforms/
14661
14662         * lyx_gui_misc.C: move Include and Bibform to frontends
14663
14664         * lyxvc.h: clarify comment
14665
14666         * vspace.C: tiny housekeeping
14667
14668 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
14669
14670         * text.C (PrepareToPrint): RTL Fix.
14671
14672         * paragraph.C (GetUChar): New method.
14673         (String):  Use GetUChar.
14674
14675         * buffer.C (asciiParagraph): Use GetUChar.
14676
14677 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
14678
14679         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
14680
14681 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
14682
14683         * buffer.h:
14684         * buffer.C: rename to getLogName(), handle
14685           build log / latex log nicely
14686
14687 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14688
14689         * MenuBackend.C:
14690         * MenuBackend.h: remove support for reference menuitem type.
14691
14692 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
14693
14694         * BufferView_pimpl.C: housekeeping
14695         * BufferView_pimpl.h:
14696         * LyXView.h:
14697         * Makefile.am:
14698         * Timeout.C:
14699         * Timeout.h:
14700         * minibuffer.h: move Timeout GUI-I
14701
14702 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
14703
14704         * lyxrc.C (read): Update converters data-structures.
14705
14706 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
14707
14708         * LaTeX.h (operator!=): add operator != for Aux_Info
14709
14710 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
14711
14712         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
14713
14714         * LaTeXLog.C: deleted, useful code moved to Buffer
14715
14716         * buffer.h:
14717         * buffer.C: new function getLatexLogName()
14718
14719         * lyx_gui_misc.C:
14720         * lyx_gui.C:
14721         * lyxvc.C:
14722         * lyxvc.h:
14723         * lyxfunc.C: use frontends for LaTeX and VC logs
14724
14725 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14726
14727         * LaTeX.h: yet another std:: that Allan forgot.
14728
14729         * Variables.C (set): renamed from isset(), because this clashes
14730         with some HP-UX macros (grr).
14731
14732 2001-02-06  Allan Rae  <rae@lyx.org>
14733
14734         * LaTeX.h: Another bug fix.  Missing std:: this time.
14735
14736 2001-02-04  Allan Rae  <rae@lyx.org>
14737
14738         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
14739         floats problem. I've left it commented out because it's not quite
14740         correct.  It should also test that the current object is a table or
14741         figure inset.  But I haven't gotten around to figuring out how to do
14742         that.  I *think* it'll be something like: "table" == inset.type()
14743
14744         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
14745         bool.
14746
14747 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
14748
14749         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
14750         all the citation/databases/styles in the auxilary file.
14751         (run): Rerun latex if there was a babel language error.
14752
14753 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
14754
14755         * text.C (Backspace): Preserve the font when changing newline char
14756         with a space.
14757         (BreakParagraph): If the cursor is before a space, delete the space.
14758
14759         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
14760
14761 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
14762
14763         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
14764         new argument (code).
14765         (ChangeCitationsIfUnique): New method.
14766
14767         * paragraph.C (GetPositionOfInset): Handle bibkey.
14768
14769 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14770
14771         * BufferView_pimpl.h: change type of Position::par_pos to
14772         LyXParagraph::size_type.
14773
14774 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
14775
14776         * BufferView_pimpl.C (savePosition, restorePosition): Write
14777         messages to minibuffer.
14778
14779 2001-01-28  José Matos  <jamatos@fep.up.pt>
14780
14781         * buffer.C (makeDocBookFile): adds support for document language.
14782         A silly restriction on the name of LatexCommand types where removed.
14783         Added support for CDATA sections, allows to chars unescaped, used
14784         among others in code, to avoid escape < and >.
14785
14786 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14787
14788         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
14789         saved positions instrad of a stack. Furthermore, a position is
14790         stored using paragraph id/paragraph position.
14791
14792         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14793         Remove LFUN_REF_BACK.
14794
14795 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14796
14797         * converter.C (dvipdfm_options): New method.
14798
14799 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14800
14801         * vspace.C (isValidLength): Fix for empty input string.
14802
14803 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14804
14805         * LyXAction.C (init): change description of LFUN_FIGURE to
14806         "Insert Graphics"
14807
14808 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14809
14810         * LaTeX.C: add using directive
14811
14812 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14813
14814         * MenuBackend.C (expand): Fix the sorting of the formats.
14815
14816 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14817
14818         * lyx_main.C: tiny error message fix
14819
14820 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14821
14822         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14823         calling fl_initialize(). This fixes the problem with ',' as
14824         decimal separator in text files.
14825
14826 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14827
14828         * trans.C (process): Fix the keymap bug.
14829
14830 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
14831
14832         * LaTeX.C (scanAuxFiles): New method. Provides support for
14833         multiple bibliographies (when using the bibtopic/bibunits pacakges).
14834         (scanLogFile) Scan for "run BibTeX" messages.
14835
14836         * buffer.C (makeLaTeXFile): Do not load the ae package when using
14837         OT1 font encoding. Also, load the aecompl package if the ae
14838         package is loaded.
14839
14840         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14841
14842 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14843
14844         * texrow.C (increasePos): turn two error messages into debug
14845         messages.
14846
14847 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
14848
14849         * LaTeX.C (scanAux): Handle the \@input macro.
14850         (runBibTeX): Use scanAux().
14851
14852         * language.C (latex_options_): New field.
14853
14854         * LaTeXFeatures.C (getMacros): Add language macros.
14855
14856         * buffer.C (makeLaTeXFile): Small fix.
14857
14858 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14859
14860         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14861
14862         * text2.C: add a using directive.
14863
14864 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14865
14866         * BufferView2.C:
14867         * lyx_gui_misc.h:
14868         * lyxfr1.C:
14869         * lyxfunc.C: kill LyXBell.
14870
14871 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14872
14873         * text.C (IsBoundary): Remove the error message
14874
14875         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14876
14877         * lyxrc.C (setDefaults): Correct initialization value for
14878         font_norm_type.
14879
14880 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14881
14882         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14883         gotoError().
14884
14885         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14886         and GotoNextNote().
14887
14888         * src/LyXAction.C: Added reference-next.
14889
14890         * text.C (InsertChar): Use contains instead of strchr.
14891
14892         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14893
14894 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14895
14896         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14897         alignment commands (when needed).
14898
14899         * text.C (InsertChar): Add ':' to number separator chars.